query("update {$dbtbpre}enewspublic set wapopen=$wapopen,wapdefstyle=$wapdefstyle,wapshowmid='$wapshowmid',waplistnum=$waplistnum,wapsubtitle=$wapsubtitle,wapshowdate='$add[wapshowdate]',wapchar='$wapchar',wapchstyle='$add[wapchstyle]' limit 1"); //操作日志 insert_dolog(""); printerror("SetWapSuccess","SetWap.php".hReturnEcmsHashStrHref2(1)); } $enews=$_POST['enews']; if($enews) { hCheckEcmsRHash(); } if($enews=='SetWap') { SetWap($_POST,$logininid,$loginin); } $r=$empire->fetch1("select wapopen,wapdefstyle,wapshowmid,waplistnum,wapsubtitle,wapshowdate,wapchar from {$dbtbpre}enewspublic limit 1"); //wap模板 $wapdefstyles=''; $stylesql=$empire->query("select styleid,stylename from {$dbtbpre}enewswapstyle order by styleid"); while($styler=$empire->fetch($stylesql)) { $select=''; if($styler['styleid']==$r['wapdefstyle']) { $select=' selected'; } $wapdefstyles.=""; } db_close(); $empire=null; ?>
位置:WAP设置 |