From 625626c9c1d3b28e355ad3b7e931df432b5cd6b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E8=AF=9A=E8=AF=9A?= Date: Thu, 3 Mar 2022 11:54:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=88=86=E6=9E=90=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- e.php | 204 ++++++++++ echarts/.htaccess | 1 + echarts/config/autoload.php | 116 ++++++ echarts/config/config.php | 362 +++++++++++++++++ echarts/config/constants.php | 41 ++ echarts/config/database.php | 62 +++ echarts/config/doctypes.php | 15 + echarts/config/foreign_chars.php | 64 +++ echarts/config/hooks.php | 16 + echarts/config/index.html | 10 + echarts/config/mimes.php | 106 +++++ echarts/config/profiler.php | 17 + echarts/config/routes.php | 46 +++ echarts/config/smileys.php | 66 ++++ echarts/config/user_agents.php | 178 +++++++++ echarts/controllers/index.html | 10 + echarts/controllers/welcome.php | 86 +++++ echarts/core/index.html | 10 + echarts/errors/error_404.php | 34 ++ echarts/errors/error_db.php | 34 ++ echarts/errors/error_general.php | 34 ++ echarts/errors/error_php.php | 10 + echarts/errors/index.html | 10 + echarts/helpers/index.html | 10 + echarts/hooks/index.html | 10 + echarts/index.html | 10 + echarts/language/english/index.html | 10 + echarts/libraries/index.html | 10 + echarts/logs/index.html | 10 + echarts/models/index.html | 10 + echarts/third_party/index.html | 10 + echarts/views/echarts/dashboard.php | 24 ++ echarts/views/echarts/inchina_customers.php | 363 ++++++++++++++++++ echarts/views/echarts/mobile_deal.php | 165 ++++++++ echarts/views/echarts/potential_customers.php | 360 +++++++++++++++++ echarts/views/echarts/regular_customers.php | 363 ++++++++++++++++++ echarts/views/echarts/test.php | 39 ++ echarts/views/index.html | 10 + echarts/views/welcome_message.php | 34 ++ 39 files changed, 2970 insertions(+) create mode 100644 e.php create mode 100644 echarts/.htaccess create mode 100644 echarts/config/autoload.php create mode 100644 echarts/config/config.php create mode 100644 echarts/config/constants.php create mode 100644 echarts/config/database.php create mode 100644 echarts/config/doctypes.php create mode 100644 echarts/config/foreign_chars.php create mode 100644 echarts/config/hooks.php create mode 100644 echarts/config/index.html create mode 100644 echarts/config/mimes.php create mode 100644 echarts/config/profiler.php create mode 100644 echarts/config/routes.php create mode 100644 echarts/config/smileys.php create mode 100644 echarts/config/user_agents.php create mode 100644 echarts/controllers/index.html create mode 100644 echarts/controllers/welcome.php create mode 100644 echarts/core/index.html create mode 100644 echarts/errors/error_404.php create mode 100644 echarts/errors/error_db.php create mode 100644 echarts/errors/error_general.php create mode 100644 echarts/errors/error_php.php create mode 100644 echarts/errors/index.html create mode 100644 echarts/helpers/index.html create mode 100644 echarts/hooks/index.html create mode 100644 echarts/index.html create mode 100644 echarts/language/english/index.html create mode 100644 echarts/libraries/index.html create mode 100644 echarts/logs/index.html create mode 100644 echarts/models/index.html create mode 100644 echarts/third_party/index.html create mode 100644 echarts/views/echarts/dashboard.php create mode 100644 echarts/views/echarts/inchina_customers.php create mode 100644 echarts/views/echarts/mobile_deal.php create mode 100644 echarts/views/echarts/potential_customers.php create mode 100644 echarts/views/echarts/regular_customers.php create mode 100644 echarts/views/echarts/test.php create mode 100644 echarts/views/index.html create mode 100644 echarts/views/welcome_message.php diff --git a/e.php b/e.php new file mode 100644 index 00000000..aa9594b1 --- /dev/null +++ b/e.php @@ -0,0 +1,204 @@ + '', + 'xhtml1-strict' => '', + 'xhtml1-trans' => '', + 'xhtml1-frame' => '', + 'html5' => '', + 'html4-strict' => '', + 'html4-trans' => '', + 'html4-frame' => '' + ); + +/* End of file doctypes.php */ +/* Location: ./application/config/doctypes.php */ \ No newline at end of file diff --git a/echarts/config/foreign_chars.php b/echarts/config/foreign_chars.php new file mode 100644 index 00000000..14b0d737 --- /dev/null +++ b/echarts/config/foreign_chars.php @@ -0,0 +1,64 @@ + 'ae', + '/ö|œ/' => 'oe', + '/ü/' => 'ue', + '/Ä/' => 'Ae', + '/Ü/' => 'Ue', + '/Ö/' => 'Oe', + '/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ/' => 'A', + '/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª/' => 'a', + '/Ç|Ć|Ĉ|Ċ|Č/' => 'C', + '/ç|ć|ĉ|ċ|č/' => 'c', + '/Ð|Ď|Đ/' => 'D', + '/ð|ď|đ/' => 'd', + '/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě/' => 'E', + '/è|é|ê|ë|ē|ĕ|ė|ę|ě/' => 'e', + '/Ĝ|Ğ|Ġ|Ģ/' => 'G', + '/ĝ|ğ|ġ|ģ/' => 'g', + '/Ĥ|Ħ/' => 'H', + '/ĥ|ħ/' => 'h', + '/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ/' => 'I', + '/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı/' => 'i', + '/Ĵ/' => 'J', + '/ĵ/' => 'j', + '/Ķ/' => 'K', + '/ķ/' => 'k', + '/Ĺ|Ļ|Ľ|Ŀ|Ł/' => 'L', + '/ĺ|ļ|ľ|ŀ|ł/' => 'l', + '/Ñ|Ń|Ņ|Ň/' => 'N', + '/ñ|ń|ņ|ň|ʼn/' => 'n', + '/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ/' => 'O', + '/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º/' => 'o', + '/Ŕ|Ŗ|Ř/' => 'R', + '/ŕ|ŗ|ř/' => 'r', + '/Ś|Ŝ|Ş|Š/' => 'S', + '/ś|ŝ|ş|š|ſ/' => 's', + '/Ţ|Ť|Ŧ/' => 'T', + '/ţ|ť|ŧ/' => 't', + '/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ/' => 'U', + '/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ/' => 'u', + '/Ý|Ÿ|Ŷ/' => 'Y', + '/ý|ÿ|ŷ/' => 'y', + '/Ŵ/' => 'W', + '/ŵ/' => 'w', + '/Ź|Ż|Ž/' => 'Z', + '/ź|ż|ž/' => 'z', + '/Æ|Ǽ/' => 'AE', + '/ß/'=> 'ss', + '/IJ/' => 'IJ', + '/ij/' => 'ij', + '/Œ/' => 'OE', + '/ƒ/' => 'f' +); + +/* End of file foreign_chars.php */ +/* Location: ./application/config/foreign_chars.php */ \ No newline at end of file diff --git a/echarts/config/hooks.php b/echarts/config/hooks.php new file mode 100644 index 00000000..a4ad2be6 --- /dev/null +++ b/echarts/config/hooks.php @@ -0,0 +1,16 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/echarts/config/mimes.php b/echarts/config/mimes.php new file mode 100644 index 00000000..8065794f --- /dev/null +++ b/echarts/config/mimes.php @@ -0,0 +1,106 @@ + 'application/mac-binhex40', + 'cpt' => 'application/mac-compactpro', + 'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'text/x-csv', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel'), + 'bin' => 'application/macbinary', + 'dms' => 'application/octet-stream', + 'lha' => 'application/octet-stream', + 'lzh' => 'application/octet-stream', + 'exe' => array('application/octet-stream', 'application/x-msdownload'), + 'class' => 'application/octet-stream', + 'psd' => 'application/x-photoshop', + 'so' => 'application/octet-stream', + 'sea' => 'application/octet-stream', + 'dll' => 'application/octet-stream', + 'oda' => 'application/oda', + 'pdf' => array('application/pdf', 'application/x-download'), + 'ai' => 'application/postscript', + 'eps' => 'application/postscript', + 'ps' => 'application/postscript', + 'smi' => 'application/smil', + 'smil' => 'application/smil', + 'mif' => 'application/vnd.mif', + 'xls' => array('application/excel', 'application/vnd.ms-excel', 'application/msexcel'), + 'ppt' => array('application/powerpoint', 'application/vnd.ms-powerpoint'), + 'wbxml' => 'application/wbxml', + 'wmlc' => 'application/wmlc', + 'dcr' => 'application/x-director', + 'dir' => 'application/x-director', + 'dxr' => 'application/x-director', + 'dvi' => 'application/x-dvi', + 'gtar' => 'application/x-gtar', + 'gz' => 'application/x-gzip', + 'php' => 'application/x-httpd-php', + 'php4' => 'application/x-httpd-php', + 'php3' => 'application/x-httpd-php', + 'phtml' => 'application/x-httpd-php', + 'phps' => 'application/x-httpd-php-source', + 'js' => 'application/x-javascript', + 'swf' => 'application/x-shockwave-flash', + 'sit' => 'application/x-stuffit', + 'tar' => 'application/x-tar', + 'tgz' => array('application/x-tar', 'application/x-gzip-compressed'), + 'xhtml' => 'application/xhtml+xml', + 'xht' => 'application/xhtml+xml', + 'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed'), + 'mid' => 'audio/midi', + 'midi' => 'audio/midi', + 'mpga' => 'audio/mpeg', + 'mp2' => 'audio/mpeg', + 'mp3' => array('audio/mpeg', 'audio/mpg', 'audio/mpeg3', 'audio/mp3'), + 'aif' => 'audio/x-aiff', + 'aiff' => 'audio/x-aiff', + 'aifc' => 'audio/x-aiff', + 'ram' => 'audio/x-pn-realaudio', + 'rm' => 'audio/x-pn-realaudio', + 'rpm' => 'audio/x-pn-realaudio-plugin', + 'ra' => 'audio/x-realaudio', + 'rv' => 'video/vnd.rn-realvideo', + 'wav' => 'audio/x-wav', + 'bmp' => 'image/bmp', + 'gif' => 'image/gif', + 'jpeg' => array('image/jpeg', 'image/pjpeg'), + 'jpg' => array('image/jpeg', 'image/pjpeg'), + 'jpe' => array('image/jpeg', 'image/pjpeg'), + 'png' => array('image/png', 'image/x-png'), + 'tiff' => 'image/tiff', + 'tif' => 'image/tiff', + 'css' => 'text/css', + 'html' => 'text/html', + 'htm' => 'text/html', + 'shtml' => 'text/html', + 'txt' => 'text/plain', + 'text' => 'text/plain', + 'log' => array('text/plain', 'text/x-log'), + 'rtx' => 'text/richtext', + 'rtf' => 'text/rtf', + 'xml' => 'text/xml', + 'xsl' => 'text/xml', + 'mpeg' => 'video/mpeg', + 'mpg' => 'video/mpeg', + 'mpe' => 'video/mpeg', + 'qt' => 'video/quicktime', + 'mov' => 'video/quicktime', + 'avi' => 'video/x-msvideo', + 'movie' => 'video/x-sgi-movie', + 'doc' => 'application/msword', + 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', + 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + 'word' => array('application/msword', 'application/octet-stream'), + 'xl' => 'application/excel', + 'eml' => 'message/rfc822', + 'json' => array('application/json', 'text/json') + ); + + +/* End of file mimes.php */ +/* Location: ./application/config/mimes.php */ \ No newline at end of file diff --git a/echarts/config/profiler.php b/echarts/config/profiler.php new file mode 100644 index 00000000..f8a5b1a1 --- /dev/null +++ b/echarts/config/profiler.php @@ -0,0 +1,17 @@ + array('grin.gif', '19', '19', 'grin'), + ':lol:' => array('lol.gif', '19', '19', 'LOL'), + ':cheese:' => array('cheese.gif', '19', '19', 'cheese'), + ':)' => array('smile.gif', '19', '19', 'smile'), + ';-)' => array('wink.gif', '19', '19', 'wink'), + ';)' => array('wink.gif', '19', '19', 'wink'), + ':smirk:' => array('smirk.gif', '19', '19', 'smirk'), + ':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'), + ':-S' => array('confused.gif', '19', '19', 'confused'), + ':wow:' => array('surprise.gif', '19', '19', 'surprised'), + ':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'), + ':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'), + '%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'), + ';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'), + ':P' => array('raspberry.gif', '19', '19', 'raspberry'), + ':blank:' => array('blank.gif', '19', '19', 'blank stare'), + ':long:' => array('longface.gif', '19', '19', 'long face'), + ':ohh:' => array('ohh.gif', '19', '19', 'ohh'), + ':grrr:' => array('grrr.gif', '19', '19', 'grrr'), + ':gulp:' => array('gulp.gif', '19', '19', 'gulp'), + '8-/' => array('ohoh.gif', '19', '19', 'oh oh'), + ':down:' => array('downer.gif', '19', '19', 'downer'), + ':red:' => array('embarrassed.gif', '19', '19', 'red face'), + ':sick:' => array('sick.gif', '19', '19', 'sick'), + ':shut:' => array('shuteye.gif', '19', '19', 'shut eye'), + ':-/' => array('hmm.gif', '19', '19', 'hmmm'), + '>:(' => array('mad.gif', '19', '19', 'mad'), + ':mad:' => array('mad.gif', '19', '19', 'mad'), + '>:-(' => array('angry.gif', '19', '19', 'angry'), + ':angry:' => array('angry.gif', '19', '19', 'angry'), + ':zip:' => array('zip.gif', '19', '19', 'zipper'), + ':kiss:' => array('kiss.gif', '19', '19', 'kiss'), + ':ahhh:' => array('shock.gif', '19', '19', 'shock'), + ':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'), + ':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'), + ':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'), + ':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'), + ':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'), + ':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'), + ':vampire:' => array('vampire.gif', '19', '19', 'vampire'), + ':snake:' => array('snake.gif', '19', '19', 'snake'), + ':exclaim:' => array('exclaim.gif', '19', '19', 'excaim'), + ':question:' => array('question.gif', '19', '19', 'question') // no comma after last item + + ); + +/* End of file smileys.php */ +/* Location: ./application/config/smileys.php */ \ No newline at end of file diff --git a/echarts/config/user_agents.php b/echarts/config/user_agents.php new file mode 100644 index 00000000..e2d3c3af --- /dev/null +++ b/echarts/config/user_agents.php @@ -0,0 +1,178 @@ + 'Windows Longhorn', + 'windows nt 5.2' => 'Windows 2003', + 'windows nt 5.0' => 'Windows 2000', + 'windows nt 5.1' => 'Windows XP', + 'windows nt 4.0' => 'Windows NT 4.0', + 'winnt4.0' => 'Windows NT 4.0', + 'winnt 4.0' => 'Windows NT', + 'winnt' => 'Windows NT', + 'windows 98' => 'Windows 98', + 'win98' => 'Windows 98', + 'windows 95' => 'Windows 95', + 'win95' => 'Windows 95', + 'windows' => 'Unknown Windows OS', + 'os x' => 'Mac OS X', + 'ppc mac' => 'Power PC Mac', + 'freebsd' => 'FreeBSD', + 'ppc' => 'Macintosh', + 'linux' => 'Linux', + 'debian' => 'Debian', + 'sunos' => 'Sun Solaris', + 'beos' => 'BeOS', + 'apachebench' => 'ApacheBench', + 'aix' => 'AIX', + 'irix' => 'Irix', + 'osf' => 'DEC OSF', + 'hp-ux' => 'HP-UX', + 'netbsd' => 'NetBSD', + 'bsdi' => 'BSDi', + 'openbsd' => 'OpenBSD', + 'gnu' => 'GNU/Linux', + 'unix' => 'Unknown Unix OS' + ); + + +// The order of this array should NOT be changed. Many browsers return +// multiple browser types so we want to identify the sub-type first. +$browsers = array( + 'Flock' => 'Flock', + 'Chrome' => 'Chrome', + 'Opera' => 'Opera', + 'MSIE' => 'Internet Explorer', + 'Internet Explorer' => 'Internet Explorer', + 'Shiira' => 'Shiira', + 'Firefox' => 'Firefox', + 'Chimera' => 'Chimera', + 'Phoenix' => 'Phoenix', + 'Firebird' => 'Firebird', + 'Camino' => 'Camino', + 'Netscape' => 'Netscape', + 'OmniWeb' => 'OmniWeb', + 'Safari' => 'Safari', + 'Mozilla' => 'Mozilla', + 'Konqueror' => 'Konqueror', + 'icab' => 'iCab', + 'Lynx' => 'Lynx', + 'Links' => 'Links', + 'hotjava' => 'HotJava', + 'amaya' => 'Amaya', + 'IBrowse' => 'IBrowse' + ); + +$mobiles = array( + // legacy array, old values commented out + 'mobileexplorer' => 'Mobile Explorer', +// 'openwave' => 'Open Wave', +// 'opera mini' => 'Opera Mini', +// 'operamini' => 'Opera Mini', +// 'elaine' => 'Palm', + 'palmsource' => 'Palm', +// 'digital paths' => 'Palm', +// 'avantgo' => 'Avantgo', +// 'xiino' => 'Xiino', + 'palmscape' => 'Palmscape', +// 'nokia' => 'Nokia', +// 'ericsson' => 'Ericsson', +// 'blackberry' => 'BlackBerry', +// 'motorola' => 'Motorola' + + // Phones and Manufacturers + 'motorola' => "Motorola", + 'nokia' => "Nokia", + 'palm' => "Palm", + 'iphone' => "Apple iPhone", + 'ipad' => "iPad", + 'ipod' => "Apple iPod Touch", + 'sony' => "Sony Ericsson", + 'ericsson' => "Sony Ericsson", + 'blackberry' => "BlackBerry", + 'cocoon' => "O2 Cocoon", + 'blazer' => "Treo", + 'lg' => "LG", + 'amoi' => "Amoi", + 'xda' => "XDA", + 'mda' => "MDA", + 'vario' => "Vario", + 'htc' => "HTC", + 'samsung' => "Samsung", + 'sharp' => "Sharp", + 'sie-' => "Siemens", + 'alcatel' => "Alcatel", + 'benq' => "BenQ", + 'ipaq' => "HP iPaq", + 'mot-' => "Motorola", + 'playstation portable' => "PlayStation Portable", + 'hiptop' => "Danger Hiptop", + 'nec-' => "NEC", + 'panasonic' => "Panasonic", + 'philips' => "Philips", + 'sagem' => "Sagem", + 'sanyo' => "Sanyo", + 'spv' => "SPV", + 'zte' => "ZTE", + 'sendo' => "Sendo", + + // Operating Systems + 'symbian' => "Symbian", + 'SymbianOS' => "SymbianOS", + 'elaine' => "Palm", + 'palm' => "Palm", + 'series60' => "Symbian S60", + 'windows ce' => "Windows CE", + + // Browsers + 'obigo' => "Obigo", + 'netfront' => "Netfront Browser", + 'openwave' => "Openwave Browser", + 'mobilexplorer' => "Mobile Explorer", + 'operamini' => "Opera Mini", + 'opera mini' => "Opera Mini", + + // Other + 'digital paths' => "Digital Paths", + 'avantgo' => "AvantGo", + 'xiino' => "Xiino", + 'novarra' => "Novarra Transcoder", + 'vodafone' => "Vodafone", + 'docomo' => "NTT DoCoMo", + 'o2' => "O2", + + // Fallback + 'mobile' => "Generic Mobile", + 'wireless' => "Generic Mobile", + 'j2me' => "Generic Mobile", + 'midp' => "Generic Mobile", + 'cldc' => "Generic Mobile", + 'up.link' => "Generic Mobile", + 'up.browser' => "Generic Mobile", + 'smartphone' => "Generic Mobile", + 'cellphone' => "Generic Mobile" + ); + +// There are hundreds of bots but these are the most common. +$robots = array( + 'googlebot' => 'Googlebot', + 'msnbot' => 'MSNBot', + 'slurp' => 'Inktomi Slurp', + 'yahoo' => 'Yahoo', + 'askjeeves' => 'AskJeeves', + 'fastcrawler' => 'FastCrawler', + 'infoseek' => 'InfoSeek Robot 1.0', + 'lycos' => 'Lycos' + ); + +/* End of file user_agents.php */ +/* Location: ./application/config/user_agents.php */ \ No newline at end of file diff --git a/echarts/controllers/index.html b/echarts/controllers/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/echarts/controllers/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/echarts/controllers/welcome.php b/echarts/controllers/welcome.php new file mode 100644 index 00000000..00c0c2bb --- /dev/null +++ b/echarts/controllers/welcome.php @@ -0,0 +1,86 @@ + + * @see http://codeigniter.com/user_guide/general/urls.html + */ + public function index() + { + $this->load->view('welcome_message'); + } + + public function dashboard() + { + $data = array(); + //$data['boards'][] = $this->load->view('echarts/test', $data, true); + + $data['boards'][] = $this->load->view('echarts/potential_customers', $data, true); + $data['boards'][] = $this->load->view('echarts/regular_customers', $data, true); + $data['boards'][] = $this->load->view('echarts/inchina_customers', $data, true); + $data['boards'][] = $this->load->view('echarts/mobile_deal', $data, true); + $this->load->view('echarts/dashboard', $data); + } + + public function show_me_the_data() + { + //转发到后端的HT2.0服务器,解决js跨域问题和隐藏后端服务器 + $url = $this->input->post('url'); + echo $this->GET_HTTP('https://p9axztuwd7x8a7.mycht.cn' . $url); + } + + function GET_HTTP($url, $data = '', $method = 'GET') + { + $curl = curl_init(); // 启动一个CURL会话 + curl_setopt($curl, CURLOPT_URL, $url); // 要访问的地址 + curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0); // 对认证证书来源的检查 + curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0); // 从证书中检查SSL加密算法是否存在 + if (isset($_SERVER['HTTP_USER_AGENT'])) { + $HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT']; + } else { + $HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36'; + } + curl_setopt($curl, CURLOPT_USERAGENT, $HTTP_USER_AGENT); // 模拟用户使用的浏览器 + curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1); // 使用自动跳转 + curl_setopt($curl, CURLOPT_AUTOREFERER, 1); // 自动设置Referer + if ($method == 'POST' && !empty($data)) { + curl_setopt($curl, CURLOPT_POST, 1); // 发送一个常规的Post请求 + curl_setopt($curl, CURLOPT_POSTFIELDS, $data); // Post提交的数据包 + } + curl_setopt($curl, CURLOPT_TIMEOUT, 45); // 设置超时限制防止死循环 + curl_setopt($curl, CURLOPT_HEADER, 0); // 显示返回的Header区域内容 + curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); // 获取的信息以文件流的形式返回 + $tmpInfo = curl_exec($curl); // 执行操作 + $httpCode = curl_getinfo($curl, CURLINFO_HTTP_CODE); + if ($httpCode >= 400) {//页面状态,如果大于400说明页面打不开 + log_message('error', " curl {$httpCode} {$url} "); + return false; + } + $errno = curl_errno($curl); + if ($errno !== 0) { + return false; + $error_message = $errno . ' ' . curl_error($curl); //记录错误日志 + log_message('error', "train/get_http curl {$error_message}"); + } + curl_close($curl); //关闭CURL会话 + return $tmpInfo; //返回数据 + } + +} + + +/* End of file welcome.php */ +/* Location: ./application/controllers/welcome.php */ \ No newline at end of file diff --git a/echarts/core/index.html b/echarts/core/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/echarts/core/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/echarts/errors/error_404.php b/echarts/errors/error_404.php new file mode 100644 index 00000000..a304f456 --- /dev/null +++ b/echarts/errors/error_404.php @@ -0,0 +1,34 @@ + + +404 Page Not Found + + + +
+

+ +
+ + \ No newline at end of file diff --git a/echarts/errors/error_db.php b/echarts/errors/error_db.php new file mode 100644 index 00000000..181de960 --- /dev/null +++ b/echarts/errors/error_db.php @@ -0,0 +1,34 @@ + + +Database Error + + + +
+

+ +
+ + \ No newline at end of file diff --git a/echarts/errors/error_general.php b/echarts/errors/error_general.php new file mode 100644 index 00000000..7734d34c --- /dev/null +++ b/echarts/errors/error_general.php @@ -0,0 +1,34 @@ + + +Error + + + +
+

+ +
+ + \ No newline at end of file diff --git a/echarts/errors/error_php.php b/echarts/errors/error_php.php new file mode 100644 index 00000000..f085c203 --- /dev/null +++ b/echarts/errors/error_php.php @@ -0,0 +1,10 @@ +
+ +

A PHP Error was encountered

+ +

Severity:

+

Message:

+

Filename:

+

Line Number:

+ +
\ No newline at end of file diff --git a/echarts/errors/index.html b/echarts/errors/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/echarts/errors/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/echarts/helpers/index.html b/echarts/helpers/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/echarts/helpers/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/echarts/hooks/index.html b/echarts/hooks/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/echarts/hooks/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/echarts/index.html b/echarts/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/echarts/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/echarts/language/english/index.html b/echarts/language/english/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/echarts/language/english/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/echarts/libraries/index.html b/echarts/libraries/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/echarts/libraries/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/echarts/logs/index.html b/echarts/logs/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/echarts/logs/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/echarts/models/index.html b/echarts/models/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/echarts/models/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/echarts/third_party/index.html b/echarts/third_party/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/echarts/third_party/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/echarts/views/echarts/dashboard.php b/echarts/views/echarts/dashboard.php new file mode 100644 index 00000000..18872bd1 --- /dev/null +++ b/echarts/views/echarts/dashboard.php @@ -0,0 +1,24 @@ + + + + + 仪表盘 + + + + + + + + + +
+
+ +
+
+ + + \ No newline at end of file diff --git a/echarts/views/echarts/inchina_customers.php b/echarts/views/echarts/inchina_customers.php new file mode 100644 index 00000000..63eeca5b --- /dev/null +++ b/echarts/views/echarts/inchina_customers.php @@ -0,0 +1,363 @@ +
+

在华客人

+
+
+
    +
  • + +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
+
+
+ +
+
+
    +
  • + +
  • +
  • +
  • +
  • + +
  • +
  • + +
  • + +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • + +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ + + + + + + + + + + + + + +
统计条目订单数成行数成行率毛利人数(含成人+儿童)
+
+
+
+ +

订单列表 显示|隐藏

+ + +
+ + diff --git a/echarts/views/echarts/mobile_deal.php b/echarts/views/echarts/mobile_deal.php new file mode 100644 index 00000000..60357a32 --- /dev/null +++ b/echarts/views/echarts/mobile_deal.php @@ -0,0 +1,165 @@ +
+

移动成交

+
+
+
    +
  • + +
  • +
  • +
  • +
  • + +
  • +
  • + +
  • + +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • + +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+ + + + + + + + + + + + +
市场移动订单/总订单移动成交/总成交移动毛利/总毛利
+
+
+
+ +
+ + + diff --git a/echarts/views/echarts/potential_customers.php b/echarts/views/echarts/potential_customers.php new file mode 100644 index 00000000..7e769edc --- /dev/null +++ b/echarts/views/echarts/potential_customers.php @@ -0,0 +1,360 @@ +
+

潜力客户

+
+
+
    +
  • + +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
+
+
+ +
+
+
    +
  • + +
  • +
  • +
  • +
  • + +
  • +
  • + +
  • + +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • + +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ + + + + + + + + + + + + +
订单数成行数成行率毛利人数(含成人+儿童)
+
+
+
+ +

订单列表 显示|隐藏

+ + +
+ + + diff --git a/echarts/views/echarts/regular_customers.php b/echarts/views/echarts/regular_customers.php new file mode 100644 index 00000000..167c68e9 --- /dev/null +++ b/echarts/views/echarts/regular_customers.php @@ -0,0 +1,363 @@ +
+

老客户

+
+
+
    +
  • + +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
+
+
+ +
+
+
    +
  • + +
  • +
  • +
  • +
  • + +
  • +
  • + +
  • + +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • + +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ + + + + + + + + + + + + + +
统计条目订单数成行数成行率毛利人数(含成人+儿童)
+
+
+
+ +

订单列表 显示|隐藏

+ + +
+ + diff --git a/echarts/views/echarts/test.php b/echarts/views/echarts/test.php new file mode 100644 index 00000000..00a88fb5 --- /dev/null +++ b/echarts/views/echarts/test.php @@ -0,0 +1,39 @@ + +
+ + + diff --git a/echarts/views/index.html b/echarts/views/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/echarts/views/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/echarts/views/welcome_message.php b/echarts/views/welcome_message.php new file mode 100644 index 00000000..22484e18 --- /dev/null +++ b/echarts/views/welcome_message.php @@ -0,0 +1,34 @@ + + + + + echarts统计 + + + + + + + + + +
+
+
Welcome
+
+
+ + + \ No newline at end of file