{"id":5032,"date":"2022-01-24T12:24:56","date_gmt":"2022-01-24T04:24:56","guid":{"rendered":"https:\/\/www.baishitou.cn\/?p=5032"},"modified":"2022-01-24T12:24:56","modified_gmt":"2022-01-24T04:24:56","slug":"%e5%b8%9d%e5%9b%bdcms%e5%a6%82%e4%bd%95%e6%89%b9%e9%87%8f%e4%bf%ae%e6%94%b9%e4%bf%a1%e6%81%af%e6%a0%87%e9%a2%98","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/5032.html","title":{"rendered":"\u5e1d\u56fdCMS\u5982\u4f55\u6279\u91cf\u4fee\u6539\u4fe1\u606f\u6807\u9898"},"content":{"rendered":"
\u4f5c\u4e3a\u7f51\u7ad9\u7f16\u8f91\uff0c\u7ecf\u5e38\u9700\u8981\u4fee\u6539\u6587\u7ae0\u6807\u9898\uff0c\u5982\u4f55\u5feb\u901f\u4fee\u6539\u5462\uff1f\u6279\u91cf\u4fee\u6539\u4fe1\u606f\u6807\u9898\u5c31\u662f\u4e0d\u9519\u7684\u4e3b\u610f\u3002\u4e0b\u9762\u5c31\u6765\u4ecb\u7ecd\u5b9e\u73b0\u6279\u91cf\u4fee\u6539\u4fe1\u606f\u6807\u9898\u65b9\u6cd5\u3002<\/p>\n
\u4ee5\u4e0b\u4fee\u6539\u65b9\u6cd5\u53ef\u4ee5\u540c\u65f6\u7528\u4e8e e\/data\/html\/list\/alllistinfo.php\u6587\u4ef6 \u548c e\/data\/html\/list\/listinfo.php\u6587\u4ef6\uff0c\u6216\u8005\u81ea\u5b9a\u4e49\u7684\u7cfb\u7edf\u6a21\u578b\u5217\u8868\u6587\u4ef6\u3002<\/p>\n
function dp_editmoreinfotitle($add,$userid,$username){\r\n\tglobal $empire,$dbtbpre,$class_r;\r\n\t$classid=(int)$add['classid'];\r\n\t$infoid=$add['infoid'];\r\n\t$n1=$add['title'];\r\n\t$count=count($infoid);\r\n\t$tbname=$class_r[$classid]['tbname'];\r\n\tif(!$classid||!$tbname||!$count)\r\n\t{\r\n\t\tprinterror(\"\u8bf7\u9009\u62e9\u9700\u8981\u4fee\u6539\u7684\u4fe1\u606f\",'history.go(-1)',1,0,1);\r\n\t}\r\n\t\/\/\u64cd\u4f5c\u6743\u9650\r\n\t$doselfinfo=CheckLevel($userid,$username,$classid,\"news\");\r\n\tif(!$doselfinfo['doeditinfo'])\/\/\u7f16\u8f91\u6743\u9650\r\n\t{\r\n\t\tprinterror(\"\u6ca1\u6709\u8db3\u591f\u7684\u6743\u9650\",'history.go(-1)',1,0,1);\r\n\t}\r\n\t$dopubid=0;\r\n\t$donum=0;\r\n\t$dolog='';\r\n\t\/\/\u4e3b\u8868\r\n\t$infotb='';\r\n\tfor($i=0;$i<$count;$i++)\r\n\t{\r\n\t\t$doinfoid=(int)$infoid[$i];\r\n\t\tif(empty($infotb))\r\n\t\t{\r\n\t\t\t\/\/\u7d22\u5f15\u8868\r\n\t\t\t$index_r=$empire->fetch1(\"select classid,checked from {$dbtbpre}ecms_\".$tbname.\"_index where id='$doinfoid' limit 1\");\r\n\t\t\tif(!$index_r['classid'])\r\n\t\t\t{\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\t\/\/\u8fd4\u56de\u8868\r\n\t\t\t$infotb=ReturnInfoMainTbname($tbname,$index_r['checked']);\r\n\t\t}\r\n\t\t$do1=$n1[$i];\r\n\t\t$empire->query(\"update \".$infotb.\" set title='$do1' where id='$doinfoid'\");\r\n\t}\r\n\tprinterror(\"\u4fee\u6539\u6210\u529f\",$_SERVER['HTTP_REFERER'],1,0,1);\r\n}\r\n$enews=$_POST['enews'];\r\nif($enews==\"EditMoreInfoTitle\"){\r\n\thCheckEcmsRHash();\r\n\tdp_editmoreinfotitle($_POST,$logininid,$loginin);\r\n}\r\n<\/code><\/pre>\n <\/p>\n
\u7b2c\u4e8c\u6b65 \u67e5\u627e\u00a0<?=$r[title]?>\u00a0 \u627e\u5230\u540e\u5982\u4e0b\u64cd\u4f5c<\/h4>\n
\u5c06<?=$r[title]?>\u00a0\u548c\u4e0a\u4e0b\u4e00\u884c\u7684 <a >\u548c<\/a>\u5220\u9664\uff08\u4e00\u5171\u5220\u96643\u884c\uff09\uff0c\u6362\u6210\u4ee3\u7801\uff1a<\/p>\n
<input type=\"text\" name=\"title[]\" value=\"<?=$oldtitle?>\" style=\"width:99%\">\r\n<\/code><\/pre>\n\u7b2c\u4e09\u6b65 \u67e5\u627e <span id=\"moveclassnav\"><\/span><\/h4>\n
\u5728\u5176\u4e0a\u63d2\u5165\u4e00\u884c\uff0c\u8f93\u5165\u4ee3\u7801\uff1a<\/p>\n
<input type=\"submit\" name=\"Submit7\" value=\"\u6279\u91cf\u4fee\u6539\u6807\u9898\" onclick=\"document.listform.enews.value='EditMoreInfoTitle';document.listform.action='ListAllInfo.php';\">\r\n<\/code><\/pre>\n <\/p>\n
\u8865\u5145\u8bf4\u660e<\/h4>\n
1\u3001\u4fee\u6539\u5b8c\u6210\u540e\u6837\u5f0f\u53ef\u80fd\u4e0d\u662f\u4eba\u4eba\u559c\u6b22\uff0c\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u559c\u597d\u505a\u6837\u5f0f\u4fee\u6539\u3002<\/p>\n
2\u3001\u7f51\u7ad9\u5907\u4efd\u65f6\u8bf7\u5907\u4efde\/data\/html\/list\u6587\u4ef6\u5939\u3002<\/p>\n
3\u3001\u53ef\u4ee5\u6269\u5c55\u6210\u6279\u91cf\u4fee\u6539\u4f5c\u8005\u3001\u6765\u6e90\u3001\u56fe\u7247\u3001tag\u3001\u5173\u952e\u5b57\u7b49\u7b49\u3002<\/p>\n
\u00a0\u66f4\u591a\u6279\u91cf\u4fee\u6539\u7684\u4f8b\u5b50<\/h4>\n
1\u3001\u6279\u91cf\u4fee\u6539\u4f1a\u5458\u4fe1\u606f<\/p>\n
<\/a><\/p>\n2\u3001\u6279\u91cf\u4fee\u6539tag\u5c5e\u6027<\/p>\n
<\/a><\/p>\n3\u3001\u6279\u91cf\u4fee\u6539\u4fe1\u606f\u6807\u9898\u3001\u6587\u4ef6\u540d<\/p>\n