diff --git a/pc/api/phpsso.php b/pc/api/phpsso.php index 2a373c4cb6ee18e7afe7604519fe229f91976083..3dc74171074b0f2ea6e4f813b40dc2a4b8be2c44 100644 --- a/pc/api/phpsso.php +++ b/pc/api/phpsso.php @@ -34,8 +34,14 @@ * 添加用户 */ if ($action == 'member_add') { + //验证 + if(isset($arr['password']) && !preg_match("/^[a-zA-Z0-9]{32}/", $arr['password'])) exit('0'); + if(isset($arr['random']) && !preg_match("/^[a-zA-Z0-9]{6}/", $arr['random'])) exit('0'); + if(isset($arr['username']) && !is_username($arr['username'])) exit('0'); + if(isset($arr['email']) && !is_email($arr['email'])) exit('0'); + if(isset($arr['regip']) && !preg_match("/^[\d\.]{7,15}/", $arr['regip'])) exit('0'); $userinfo = array(); - $userinfo['phpssouid'] = isset($arr['uid']) ? $arr['uid'] : exit('0'); + $userinfo['phpssouid'] = isset($arr['uid']) ? intval($arr['uid']) : exit('0'); $userinfo['encrypt'] = isset($arr['random']) ? $arr['random'] : exit('0'); $userinfo['username'] = isset($arr['username']) ? $arr['username'] : exit('0'); $userinfo['password'] = isset($arr['password']) ? $arr['password'] : exit('0'); @@ -58,8 +64,9 @@ */ if ($action == 'member_delete') { $uidarr = $arr['uids']; + $uidarr = array_map("intval",$uidarr); $where = to_sqls($uidarr, '', 'phpssouid'); - + $status = $db->delete($where); if($status) { exit('1'); @@ -74,12 +81,16 @@ */ if ($action == 'member_edit') { if(!isset($arr['uid'])) exit('0'); + $arr['uid'] = intval($arr['uid']); $userinfo = array(); if(isset($arr['password'])) { + if(!preg_match("/^[a-zA-Z0-9]{32}$/", $arr['password'])) exit('0'); + if(!preg_match("/^[a-zA-Z0-9]{6}$/", $arr['random'])) exit('0'); $userinfo['password'] = $arr['password']; $userinfo['encrypt'] = $arr['random']; } if(isset($arr['email']) && !empty($arr['email'])) { + if(!is_email($arr['email'])) exit('0'); $userinfo['email'] = $arr['email']; } if(empty($userinfo)) exit('1'); @@ -114,7 +125,7 @@ if ($action == 'synlogin') { if(!isset($arr['uid'])) exit('0'); - + $arr['uid'] = intval($arr['uid']); $phpssouid = $arr['uid']; $userinfo = $db->get_one(array('phpssouid'=>$phpssouid)); diff --git a/pc/caches/caches_commons/caches_data/category_content.cache.php b/pc/caches/caches_commons/caches_data/category_content.cache.php index 5a5310d4e3a05251f50104949ac64b120060afc2..c874942d9a0094bb9c074e88fa758889144aab7a 100644 --- a/pc/caches/caches_commons/caches_data/category_content.cache.php +++ b/pc/caches/caches_commons/caches_data/category_content.cache.php @@ -8,7 +8,6 @@ return array ( 3 => '1', 8 => '1', 4 => '1', - 5 => '1', 10 => '1', 11 => '1', 12 => '1', @@ -16,8 +15,8 @@ return array ( 14 => '1', 16 => '1', 17 => '1', + 31 => '1', 18 => '1', - 19 => '1', 20 => '1', 21 => '1', 22 => '1', @@ -27,7 +26,6 @@ return array ( 27 => '1', 28 => '1', 29 => '1', - 30 => '1', - 31 => '1', + 33 => '1', ); ?> \ No newline at end of file diff --git a/pc/caches/caches_commons/caches_data/category_content_1.cache.php b/pc/caches/caches_commons/caches_data/category_content_1.cache.php index 7def8df74216c85e0eeb54f86fe44decbd3ef9c5..99eda9057fdfe86cf95d9e65fa388c0c811051fe 100644 --- a/pc/caches/caches_commons/caches_data/category_content_1.cache.php +++ b/pc/caches/caches_commons/caches_data/category_content_1.cache.php @@ -16,7 +16,7 @@ return array ( 'description' => '', 'parentdir' => '', 'catdir' => 'about', - 'url' => 'http://localhost/pc/html/about/', + 'url' => 'http://203.195.230.23/html/about/', 'items' => '0', 'hits' => '0', 'setting' => 'array ( @@ -59,7 +59,7 @@ return array ( 'description' => '', 'parentdir' => 'about/', 'catdir' => 'aboutus', - 'url' => 'http://localhost/pc/html/about/aboutus/', + 'url' => 'http://203.195.230.23/html/about/aboutus/', 'items' => '0', 'hits' => '0', 'setting' => 'array ( @@ -94,18 +94,18 @@ return array ( 'modelid' => '1', 'parentid' => '0', 'arrparentid' => '0', - 'child' => '1', - 'arrchildid' => '6,30,31', + 'child' => '0', + 'arrchildid' => '6', 'catname' => '公司概况', 'style' => '', 'image' => '', 'description' => '', 'parentdir' => '', 'catdir' => 'company_status', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=6', - 'items' => '1', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=6', + 'items' => '16', 'hits' => '0', - 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', + 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '1', 'ismenu' => '1', 'sethtml' => '0', @@ -135,7 +135,7 @@ return array ( 'description' => '', 'parentdir' => 'about/', 'catdir' => 'contactus', - 'url' => 'http://localhost/pc/html/about/contactus/', + 'url' => 'http://203.195.230.23/html/about/contactus/', 'items' => '0', 'hits' => '0', 'setting' => 'array ( @@ -167,19 +167,19 @@ return array ( 'catid' => '7', 'siteid' => '1', 'type' => '0', - 'modelid' => '1', + 'modelid' => '2', 'parentid' => '0', 'arrparentid' => '0', 'child' => '1', - 'arrchildid' => '7,16,17,18,19,20,21', + 'arrchildid' => '7,16,17,31,18,20,21', 'catname' => '新闻中心', 'style' => '', 'image' => '', 'description' => '', 'parentdir' => '', 'catdir' => 'news_center', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=7', - 'items' => '0', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=7', + 'items' => '1', 'hits' => '0', 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '2', @@ -211,7 +211,7 @@ return array ( 'description' => '这是新闻栏目', 'parentdir' => '', 'catdir' => 'party_work', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=9', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=9', 'items' => '0', 'hits' => '0', 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', @@ -244,7 +244,7 @@ return array ( 'description' => '', 'parentdir' => 'about/', 'catdir' => 'copyright', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=4', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=4', 'items' => '0', 'hits' => '0', 'setting' => 'array ( @@ -276,7 +276,7 @@ return array ( 'catid' => '8', 'siteid' => '1', 'type' => '0', - 'modelid' => '1', + 'modelid' => '3', 'parentid' => '0', 'arrparentid' => '0', 'child' => '1', @@ -287,10 +287,10 @@ return array ( 'description' => '', 'parentdir' => '', 'catdir' => 'project_manager', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=8', - 'items' => '0', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=8', + 'items' => '2', 'hits' => '0', - 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', + 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list_picture","show_template":"","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '3', 'ismenu' => '1', 'sethtml' => '0', @@ -304,49 +304,6 @@ return array ( 'workflowid' => '', 'isdomain' => '0', ), - 5 => - array ( - 'catid' => '5', - 'siteid' => '1', - 'type' => '1', - 'modelid' => '0', - 'parentid' => '1', - 'arrparentid' => '0,1', - 'child' => '0', - 'arrchildid' => '5', - 'catname' => '招聘信息', - 'style' => '', - 'image' => '', - 'description' => '', - 'parentdir' => 'about/', - 'catdir' => 'hr', - 'url' => 'http://localhost/pc/html/about/hr/', - 'items' => '0', - 'hits' => '0', - 'setting' => 'array ( - \'ishtml\' => \'1\', - \'template_list\' => \'default\', - \'page_template\' => \'page\', - \'meta_title\' => \'\', - \'meta_keywords\' => \'\', - \'meta_description\' => \'\', - \'category_ruleid\' => \'1\', - \'show_ruleid\' => \'\', - \'repeatchargedays\' => \'1\', -)', - 'listorder' => '4', - 'ismenu' => '1', - 'sethtml' => '0', - 'letter' => 'zhaopinxinxi', - 'usable_type' => '', - 'create_to_html_root' => NULL, - 'ishtml' => '1', - 'content_ishtml' => NULL, - 'category_ruleid' => '1', - 'show_ruleid' => '', - 'workflowid' => NULL, - 'isdomain' => '0', - ), 10 => array ( 'catid' => '10', @@ -363,8 +320,8 @@ return array ( 'description' => '', 'parentdir' => 'party_work/', 'catdir' => 'party_building', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=10', - 'items' => '19', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=10', + 'items' => '28', 'hits' => '0', 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '10', @@ -396,8 +353,8 @@ return array ( 'description' => '国际新闻', 'parentdir' => 'party_work/', 'catdir' => 'jijian_jiancha', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=11', - 'items' => '9', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=11', + 'items' => '19', 'hits' => '0', 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '11', @@ -431,7 +388,7 @@ return array ( 员工活动|worker_activity', 'parentdir' => '', 'catdir' => 'save_help', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=12', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=12', 'items' => '0', 'hits' => '0', 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', @@ -464,8 +421,8 @@ return array ( 'description' => '', 'parentdir' => '', 'catdir' => 'technology', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=13', - 'items' => '11', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=13', + 'items' => '0', 'hits' => '0', 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '13', @@ -497,10 +454,10 @@ return array ( 'description' => '', 'parentdir' => '', 'catdir' => 'savehelp', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=14', - 'items' => '9', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=14', + 'items' => '0', 'hits' => '0', - 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', + 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '14', 'ismenu' => '1', 'sethtml' => '0', @@ -530,10 +487,10 @@ return array ( 'description' => '', 'parentdir' => 'news_center/', 'catdir' => 'company_news', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=16', - 'items' => '12', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=16', + 'items' => '27', 'hits' => '0', - 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"","list_template":"","show_template":"","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', + 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"","show_template":"","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '16', 'ismenu' => '1', 'sethtml' => '0', @@ -563,8 +520,8 @@ return array ( 'description' => '', 'parentdir' => 'news_center/', 'catdir' => 'group_news', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=17', - 'items' => '10', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=17', + 'items' => '20', 'hits' => '0', 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '17', @@ -580,30 +537,30 @@ return array ( 'workflowid' => '', 'isdomain' => '0', ), - 18 => + 31 => array ( - 'catid' => '18', + 'catid' => '31', 'siteid' => '1', 'type' => '0', - 'modelid' => '11', + 'modelid' => '1', 'parentid' => '7', 'arrparentid' => '0,7', 'child' => '0', - 'arrchildid' => '18', - 'catname' => '视频新闻', + 'arrchildid' => '31', + 'catname' => '会议纪要', 'style' => '', 'image' => '', 'description' => '', 'parentdir' => 'news_center/', - 'catdir' => 'video_news', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=18', + 'catdir' => 'conference_abstract', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=31', 'items' => '1', 'hits' => '0', 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '18', 'ismenu' => '1', 'sethtml' => '0', - 'letter' => 'shipinxinwen', + 'letter' => 'huiyijiyao', 'usable_type' => '', 'create_to_html_root' => '0', 'ishtml' => '0', @@ -613,30 +570,30 @@ return array ( 'workflowid' => '', 'isdomain' => '0', ), - 19 => + 18 => array ( - 'catid' => '19', + 'catid' => '18', 'siteid' => '1', 'type' => '0', - 'modelid' => '3', + 'modelid' => '11', 'parentid' => '7', 'arrparentid' => '0,7', 'child' => '0', - 'arrchildid' => '19', - 'catname' => '图片新闻', + 'arrchildid' => '18', + 'catname' => '视频新闻', 'style' => '', 'image' => '', 'description' => '', 'parentdir' => 'news_center/', - 'catdir' => 'picture_news', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=19', - 'items' => '3', + 'catdir' => 'video_news', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=18', + 'items' => '0', 'hits' => '0', 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '19', 'ismenu' => '1', 'sethtml' => '0', - 'letter' => 'tupianxinwen', + 'letter' => 'shipinxinwen', 'usable_type' => '', 'create_to_html_root' => '0', 'ishtml' => '0', @@ -662,10 +619,10 @@ return array ( 'description' => '', 'parentdir' => 'news_center/', 'catdir' => 'jiceng_dynamic', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=20', - 'items' => '10', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=20', + 'items' => '20', 'hits' => '0', - 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"","list_template":"","show_template":"","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', + 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"","show_template":"","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '20', 'ismenu' => '1', 'sethtml' => '0', @@ -695,10 +652,10 @@ return array ( 'description' => '', 'parentdir' => 'news_center/', 'catdir' => 'notification', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=21', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=21', 'items' => '2', 'hits' => '0', - 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"","list_template":"","show_template":"","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', + 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"","show_template":"","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '21', 'ismenu' => '1', 'sethtml' => '0', @@ -728,7 +685,7 @@ return array ( 'description' => '这是新闻栏目', 'parentdir' => 'party_work/', 'catdir' => 'xuanchuan_work', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=22', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=22', 'items' => '0', 'hits' => '0', 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', @@ -750,7 +707,7 @@ return array ( 'catid' => '24', 'siteid' => '1', 'type' => '0', - 'modelid' => '1', + 'modelid' => '3', 'parentid' => '8', 'arrparentid' => '0,8', 'child' => '0', @@ -761,10 +718,10 @@ return array ( 'description' => '', 'parentdir' => 'project_manager/', 'catdir' => 'project_building', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=24', - 'items' => '10', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=24', + 'items' => '15', 'hits' => '0', - 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', + 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list_picture","show_template":"","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '24', 'ismenu' => '1', 'sethtml' => '0', @@ -783,7 +740,7 @@ return array ( 'catid' => '25', 'siteid' => '1', 'type' => '0', - 'modelid' => '1', + 'modelid' => '3', 'parentid' => '8', 'arrparentid' => '0,8', 'child' => '0', @@ -794,10 +751,10 @@ return array ( 'description' => '', 'parentdir' => 'project_manager/', 'catdir' => 'safety_quality', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=25', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=25', 'items' => '0', 'hits' => '0', - 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', + 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list_picture","show_template":"","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '25', 'ismenu' => '1', 'sethtml' => '0', @@ -827,10 +784,10 @@ return array ( 'description' => '', 'parentdir' => 'project_manager/', 'catdir' => 'project_fengcai', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=26', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=26', 'items' => '9', 'hits' => '0', - 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', + 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"","show_template":"","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '26', 'ismenu' => '1', 'sethtml' => '0', @@ -860,7 +817,7 @@ return array ( 'description' => '', 'parentdir' => 'save_help/', 'catdir' => 'company_honor', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=27', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=27', 'items' => '0', 'hits' => '0', 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', @@ -893,7 +850,7 @@ return array ( 'description' => '', 'parentdir' => 'save_help/', 'catdir' => 'company_guannian', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=28', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=28', 'items' => '0', 'hits' => '0', 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', @@ -926,8 +883,8 @@ return array ( 'description' => '', 'parentdir' => 'save_help/', 'catdir' => 'worker_activity', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=29', - 'items' => '10', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=29', + 'items' => '0', 'hits' => '0', 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', 'listorder' => '29', @@ -943,63 +900,30 @@ return array ( 'workflowid' => '', 'isdomain' => '0', ), - 30 => + 33 => array ( - 'catid' => '30', + 'catid' => '33', 'siteid' => '1', 'type' => '0', 'modelid' => '1', - 'parentid' => '6', - 'arrparentid' => '0,6', - 'child' => '0', - 'arrchildid' => '30', - 'catname' => '公司介绍', - 'style' => '', - 'image' => '', - 'description' => '', - 'parentdir' => 'company_status/', - 'catdir' => 'company_introduce', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=30', - 'items' => '14', - 'hits' => '0', - 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', - 'listorder' => '30', - 'ismenu' => '1', - 'sethtml' => '0', - 'letter' => 'gongsijieshao', - 'usable_type' => '', - 'create_to_html_root' => '0', - 'ishtml' => '0', - 'content_ishtml' => '0', - 'category_ruleid' => '6', - 'show_ruleid' => '16', - 'workflowid' => '', - 'isdomain' => '0', - ), - 31 => - array ( - 'catid' => '31', - 'siteid' => '1', - 'type' => '0', - 'modelid' => '1', - 'parentid' => '6', - 'arrparentid' => '0,6', + 'parentid' => '0', + 'arrparentid' => '0', 'child' => '0', - 'arrchildid' => '31', - 'catname' => '处室职责', + 'arrchildid' => '33', + 'catname' => '专题专栏', 'style' => '', 'image' => '', 'description' => '', - 'parentdir' => 'company_status/', - 'catdir' => 'party_reponsibility', - 'url' => 'http://localhost/pc/index.php?m=content&c=index&a=lists&catid=31', - 'items' => '10', + 'parentdir' => '', + 'catdir' => 'column', + 'url' => 'http://203.195.230.23/index.php?m=content&c=index&a=lists&catid=33', + 'items' => '0', 'hits' => '0', 'setting' => '{"workflowid":"","ishtml":"0","content_ishtml":"0","create_to_html_root":"0","template_list":"anneng","category_template":"category","list_template":"list","show_template":"show","meta_title":"","meta_keywords":"","meta_description":"","presentpoint":"1","defaultchargepoint":"0","paytype":"0","repeatchargedays":"1","category_ruleid":"6","show_ruleid":"16"}', - 'listorder' => '31', + 'listorder' => '33', 'ismenu' => '1', 'sethtml' => '0', - 'letter' => 'chushizhize', + 'letter' => 'zhuantizhuanlan', 'usable_type' => '', 'create_to_html_root' => '0', 'ishtml' => '0', diff --git a/pc/caches/caches_commons/caches_data/category_items_1.cache.php b/pc/caches/caches_commons/caches_data/category_items_1.cache.php index 0f44facfc04f84d0c28eb66d7cdd6716c87901d3..4ae51f0f5e21f14e5554cb4b9294da6c78d767a9 100644 --- a/pc/caches/caches_commons/caches_data/category_items_1.cache.php +++ b/pc/caches/caches_commons/caches_data/category_items_1.cache.php @@ -1,25 +1,21 @@ '1', - 7 => '0', - 8 => '0', + 6 => '16', 9 => '0', - 10 => '19', - 11 => '9', + 10 => '28', + 11 => '19', 12 => '0', - 13 => '11', - 14 => '9', + 13 => '0', + 14 => '0', 27 => '0', 28 => '0', - 30 => '14', - 16 => '12', - 17 => '10', - 20 => '10', + 16 => '27', + 17 => '20', + 33 => '1', + 20 => '20', 21 => '2', 22 => '0', - 31 => '10', - 24 => '10', - 25 => '0', - 29 => '10', + 29 => '0', + 31 => '1', ); ?> \ No newline at end of file diff --git a/pc/caches/caches_commons/caches_data/category_items_11.cache.php b/pc/caches/caches_commons/caches_data/category_items_11.cache.php index 2d5bbb3aa5621590c2850046bfdb05122e49edb8..d43b5e139565d524871b986d075815b1f0b8c9ed 100644 --- a/pc/caches/caches_commons/caches_data/category_items_11.cache.php +++ b/pc/caches/caches_commons/caches_data/category_items_11.cache.php @@ -1,5 +1,5 @@ '1', + 18 => '0', ); ?> \ No newline at end of file diff --git a/pc/caches/caches_commons/caches_data/category_items_2.cache.php b/pc/caches/caches_commons/caches_data/category_items_2.cache.php index 68bf9fbed4bea8540c77bfd691407a0672cc8567..ba4cd3f5e7a57f2cc3129fac8e734b2a2f2e4172 100644 --- a/pc/caches/caches_commons/caches_data/category_items_2.cache.php +++ b/pc/caches/caches_commons/caches_data/category_items_2.cache.php @@ -1,4 +1,5 @@ '1', ); ?> \ No newline at end of file diff --git a/pc/caches/caches_commons/caches_data/category_items_3.cache.php b/pc/caches/caches_commons/caches_data/category_items_3.cache.php index 1060b9580793177b38259052b76365e4144af54f..d47225fd2c05e6cc309b4a4885b9b3e9067cdbe8 100644 --- a/pc/caches/caches_commons/caches_data/category_items_3.cache.php +++ b/pc/caches/caches_commons/caches_data/category_items_3.cache.php @@ -1,6 +1,8 @@ '3', + 8 => '2', + 24 => '15', + 25 => '0', 26 => '9', ); ?> \ No newline at end of file diff --git a/pc/caches/caches_commons/caches_data/common.cache.php b/pc/caches/caches_commons/caches_data/common.cache.php index 15d9c59432f016b204be37b4a6a4c58bf3e28208..47365d6f8053606553d6229e6d7ee4383357fe2f 100644 --- a/pc/caches/caches_commons/caches_data/common.cache.php +++ b/pc/caches/caches_commons/caches_data/common.cache.php @@ -1,13 +1,12 @@ 'phpcms@phpcms.cn', - 'adminaccessip' => '0', 'maxloginfailedtimes' => '8', - 'maxiplockedtime' => '15', 'minrefreshtime' => '2', 'mail_type' => '1', 'mail_server' => 'smtp.qq.com', 'mail_port' => '25', + 'category_ajax' => '0', 'mail_user' => 'phpcms.cn@foxmail.com', 'mail_auth' => '1', 'mail_from' => 'phpcms.cn@foxmail.com', diff --git a/pc/caches/caches_commons/caches_data/modules.cache.php b/pc/caches/caches_commons/caches_data/modules.cache.php index 9440542f93ccf951e70f12caeeb543995f1b35a3..7be28f327f4f38c51e4ffce85de6200b8a4eec2a 100644 --- a/pc/caches/caches_commons/caches_data/modules.cache.php +++ b/pc/caches/caches_commons/caches_data/modules.cache.php @@ -8,21 +8,7 @@ return array ( 'iscore' => '1', 'version' => '1.0', 'description' => '', - 'setting' => 'array ( - \'admin_email\' => \'phpcms@phpcms.cn\', - \'adminaccessip\' => \'0\', - \'maxloginfailedtimes\' => \'8\', - \'maxiplockedtime\' => \'15\', - \'minrefreshtime\' => \'2\', - \'mail_type\' => \'1\', - \'mail_server\' => \'smtp.qq.com\', - \'mail_port\' => \'25\', - \'mail_user\' => \'phpcms.cn@foxmail.com\', - \'mail_auth\' => \'1\', - \'mail_from\' => \'phpcms.cn@foxmail.com\', - \'mail_password\' => \'\', - \'errorlog_size\' => \'20\', -)', + 'setting' => '{"admin_email":"phpcms@phpcms.cn","maxloginfailedtimes":"8","minrefreshtime":"2","mail_type":"1","mail_server":"smtp.qq.com","mail_port":"25","category_ajax":"0","mail_user":"phpcms.cn@foxmail.com","mail_auth":"1","mail_from":"phpcms.cn@foxmail.com","mail_password":"","errorlog_size":"20"}', 'listorder' => '0', 'disabled' => '0', 'installdate' => '2010-10-18', @@ -317,20 +303,6 @@ return array ( 'installdate' => '2018-12-27', 'updatedate' => '2018-12-27', ), - 'comment' => - array ( - 'module' => 'comment', - 'name' => '评论', - 'url' => 'comment/', - 'iscore' => '0', - 'version' => '1.0', - 'description' => '评论', - 'setting' => '', - 'listorder' => '0', - 'disabled' => '0', - 'installdate' => '2018-12-27', - 'updatedate' => '2018-12-27', - ), 'link' => array ( 'module' => 'link', diff --git a/pc/caches/caches_commons/caches_data/position.cache.php b/pc/caches/caches_commons/caches_data/position.cache.php index 8ded036d6d6cff49b6eda65813d1a81cd86dcc82..7c4d40a045047854a44767accfa29b1729016620 100644 --- a/pc/caches/caches_commons/caches_data/position.cache.php +++ b/pc/caches/caches_commons/caches_data/position.cache.php @@ -7,19 +7,19 @@ return array ( 'catid' => '0', 'name' => '首页头条推荐', 'maxnum' => '20', - 'extention' => NULL, + 'extention' => '', 'listorder' => '4', - 'siteid' => '1', + 'siteid' => '0', 'thumb' => '', ), 1 => array ( 'posid' => '1', - 'modelid' => '0', + 'modelid' => '3', 'catid' => '0', 'name' => '首页焦点图推荐', 'maxnum' => '20', - 'extention' => NULL, + 'extention' => '', 'listorder' => '1', 'siteid' => '1', 'thumb' => '', diff --git a/pc/caches/caches_commons/caches_data/sitelist.cache.php b/pc/caches/caches_commons/caches_data/sitelist.cache.php index 21a6093df1daa58f9fd6e643b29a460f5f435899..75d1d8091f3bcb4fb5097b6f5966b58b571fe45d 100644 --- a/pc/caches/caches_commons/caches_data/sitelist.cache.php +++ b/pc/caches/caches_commons/caches_data/sitelist.cache.php @@ -3,18 +3,18 @@ return array ( 1 => array ( 'siteid' => '1', - 'name' => '文小飞网站', + 'name' => '中国安能第四公司', 'dirname' => '', - 'domain' => 'http://localhost/pc/', - 'site_title' => 'PHPCMS演示站文小飞网站标题', - 'keywords' => 'PHPCMS演示站文小飞网站关键字', - 'description' => 'PHPCMS演示站文小飞网站描述', + 'domain' => 'http://203.195.230.23/', + 'site_title' => '中国安能第四公司', + 'keywords' => '中国安能第四公司', + 'description' => '中国安能第四公司', 'release_point' => '', 'default_style' => 'anneng', 'template' => 'anneng', - 'setting' => '{"upload_maxsize":"2048","upload_allowext":"jpg|jpeg|gif|bmp|png|doc|docx|xls|xlsx|ppt|pptx|pdf|txt|rar|zip|swf","watermark_enable":"1","watermark_minwidth":"300","watermark_minheight":"300","watermark_img":"statics\\/images\\/water\\/\\/mark.png","watermark_pct":"85","watermark_quality":"80","watermark_pos":"9"}', + 'setting' => '{"upload_maxsize":"102400","upload_allowext":"jpg|jpeg|gif|bmp|png|doc|docx|xls|xlsx|ppt|pptx|pdf|txt|rar|zip|swf","watermark_enable":"0","watermark_minwidth":"300","watermark_minheight":"300","watermark_img":"statics\\/images\\/water\\/\\/mark.png","watermark_pct":"85","watermark_quality":"80","watermark_pos":"9"}', 'uuid' => '4d344a78-098a-11e9-a075-00ffcefc2af3', - 'url' => 'http://localhost/pc/', + 'url' => 'http://203.195.230.23/', ), ); ?> \ No newline at end of file diff --git a/pc/caches/caches_commons/caches_data/special.cache.php b/pc/caches/caches_commons/caches_data/special.cache.php index 4d9f65bd1a6efd13f69684734e5a284b3ef0d29a..a7666937e4f3a4e1eda2259a128a67413bfdcf45 100644 --- a/pc/caches/caches_commons/caches_data/special.cache.php +++ b/pc/caches/caches_commons/caches_data/special.cache.php @@ -5,9 +5,9 @@ return array ( 'id' => '1', 'siteid' => '1', 'title' => 'abc', - 'url' => 'http://localhost/pc/html/special/test_zhuanti/', - 'thumb' => 'http://localhost/pc/uploadfile/2018/1227/20181227012423554.png', - 'banner' => 'http://localhost/pc/uploadfile/2018/1227/20181227012423554.png', + 'url' => 'http://203.195.230.23/html/special/test_zhuanti/', + 'thumb' => 'http://203.195.230.23/uploadfile/2018/1227/20181227012423554.png', + 'banner' => 'http://203.195.230.23/uploadfile/2018/1227/20181227012423554.png', 'ishtml' => '1', ), ); diff --git a/pc/caches/caches_model/caches_data/content_form.class.php b/pc/caches/caches_model/caches_data/content_form.class.php index 7fc856d61bba9ecc739873ead7721dfb6540439e..4126a14865a836ed970170fd6c9b446c2fb1ebe5 100644 --- a/pc/caches/caches_model/caches_data/content_form.class.php +++ b/pc/caches/caches_model/caches_data/content_form.class.php @@ -155,7 +155,7 @@ class content_form { break; case 'multiple': - $string = form::select($option,$value,"name='info[$field][]' id='$field ' size=2 multiple='multiple' style='height:60px;' $fieldinfo[formattribute]"); + $string = form::select($option,$value,"name='info[$field][]' id='$field' size=2 multiple='multiple' style='height:60px;' $fieldinfo[formattribute]"); break; } return $string; @@ -211,7 +211,7 @@ class content_form { define('IMAGES_INIT', 1); } $authkey = upload_key("$upload_number,$upload_allowext,$isselectimage"); - $string .= $str."
catid','{$authkey}')\"/> ".L('select_pic')."
"; + $string .= $str."
catid','{$authkey}')\"/> ".L('select_pic')."
"; return $string; } function number($field, $value, $fieldinfo) { extract($fieldinfo); diff --git a/pc/caches/caches_model/caches_data/content_output.class.php b/pc/caches/caches_model/caches_data/content_output.class.php index b734a4aad2b33dc221e53ce7e9602b53d3a57c04..78602afb52c564322338b62fe27e5a575de9f99c 100644 --- a/pc/caches/caches_model/caches_data/content_output.class.php +++ b/pc/caches/caches_model/caches_data/content_output.class.php @@ -193,7 +193,7 @@ class content_output { if($value && is_array($sel_server) && in_array($_k,$sel_server)) { $downloadurl = $_v[siteurl].$fileurl; if($downloadlink) { - $a_k = urlencode(sys_auth("i=$this->id&s=$_v[siteurl]&m=1&f=$fileurl&d=$downloadtype&modelid=$this->modelid&catid=$this->catid", 'ENCODE', pc_base::load_config('system','auth_key'))); + $a_k = urlencode(sys_auth("i=$this->id&s=$_v[siteurl]&m=1&f=$fileurl&d=$downloadtype&modelid=$this->modelid&catid=$this->catid", 'ENCODE', md5(PC_PATH.'down').pc_base::load_config('system','auth_key'))); $list_str[] = "{$_v[sitename]}"; } else { $list_str[] = "{$_v[sitename]}"; @@ -214,7 +214,7 @@ class content_output { if($_v[fileurl]){ $filename = $_v[filename] ? $_v[filename] : L('click_to_down'); if($downloadlink) { - $a_k = urlencode(sys_auth("i=$this->id&s=&m=1&f=$_v[fileurl]&d=$downloadtype&modelid=$this->modelid&catid=$this->catid", 'ENCODE', pc_base::load_config('system','auth_key'))); + $a_k = urlencode(sys_auth("i=$this->id&s=&m=1&f=$_v[fileurl]&d=$downloadtype&modelid=$this->modelid&catid=$this->catid", 'ENCODE', md5(PC_PATH.'down').pc_base::load_config('system','auth_key'))); $list_str[] = "{$filename}"; } else { $list_str[] = "{$filename}"; diff --git a/pc/caches/caches_template/anneng/content/category.php b/pc/caches/caches_template/anneng/content/category.php index d2e0a318abbb823b4ceab850bb9d208f6ff88d68..1705e068af4cc3d7bd5b65d4336f66cfdd0e2cff 100644 --- a/pc/caches/caches_template/anneng/content/category.php +++ b/pc/caches/caches_template/anneng/content/category.php @@ -1,6 +1,11 @@ - + diff --git a/pc/caches/caches_template/anneng/content/category2.php b/pc/caches/caches_template/anneng/content/category2.php index a2f6d1ebc77d58b2835bea12b840403b4dfc0c13..33fb7c6489687fcc8b3c7e12340d6d55d6fd574f 100644 --- a/pc/caches/caches_template/anneng/content/category2.php +++ b/pc/caches/caches_template/anneng/content/category2.php @@ -1,5 +1,10 @@ +
@@ -42,7 +47,9 @@