AddTagF.php ( 文件浏览 )
文件源自:
帝国cms7.0_TAG静态化插件_简体GBK版
源码简介:
帝国cms7.0_TAG静态化插件_简体GBK版
- keepall 发布于 2016-12-09 21:17
- 浏览次数:438
- 下载次数: 3
- 下载需 100 积分
-
- 侵权举报
<?php define('EmpireCMSAdmin','1'); require("../../class/connect.php"); require("../../class/db_sql.php"); require("../../class/functions.php"); $link=db_connect(); $empire=new mysqlquery(); $editor=2; //验证用户 $lur=is_login(); $logininid=$lur['userid']; $loginin=$lur['username']; $loginrnd=$lur['rnd']; $loginlevel=$lur['groupid']; $loginadminstyleid=$lur['adminstyleid']; require("class/dp_config.php"); require("setconfig.php"); if($dp_r['isok']==0){ exit('请先配置当前插件目录下setconfig.php文件'); } $enews=$_GET['enews']; $postword='增加'; $r[myorder]=0; //修改字段 if($enews=="EditTagF") { $fid=(int)$_GET['fid']; $url="<a href=../ListTags.php>管理TAGS</a> > <a href='../ListTagF.php'>管理TAG字段</a> > 修改TAG字段"; $postword='修改'; $r=$empire->fetch1("select * from {$dbtbpre}enewstagsf where fid='$fid'"); if(!$r[fid]) { printerror("ErrorUrl","history.go(-1)"); } $oftype="type".$r[ftype]; $$oftype=" selected"; $ofform="form".$r[fform]; $$ofform=" selected"; } //页面标题 $thispage=$postword.'TAG字段'; //导航 $url='<a href="ListTags.php">TAGS管理</a> -> <a href="ListTagF.php">管理TAG字段</a> -> '.$thispage; db_close(); $empire=null; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?=$pagechar?>"> <link href="../../data/images/qcss.css" rel="stylesheet" type="text/css"> <title><?=$thispage?></title> </head> <body> <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1"> <tr> <td>当前位置:<?=$url?></td> </tr> </table> <form name="form1" method="post" action="do.php"> <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder"> <tr> <td height="25" colspan="2" class="header"> <?=$thispage?> <input name="fid" type="hidden" id="fid" value="<?=$fid?>"> <input name="enews" type="hidden" id="enews" value="<?=$enews?>"> <input name="oldfform" type="hidden" id="oldfform" value="<?=$r[fform]?>"> <input name="oldf" type="hidden" id="oldf" value="<?=$r[f]?>"> <input name="oldfvalue" type="hidden" id="oldfvalue" value="<?=$r[fvalue]?>"> <input name="oldfformsize" type="hidden" id="oldfformsize" value="<?=$r[fformsize]?>"></td> </tr> <tr bgcolor="#FFFFFF"> <td width="25%" height="25">字段名</td> <td width="75%" height="25"><input name="f" type="text" id="f" value="<?=$r[f]?>"> <font color="#666666">(比如:"title")</font></td> </tr> <tr bgcolor="#FFFFFF"> <td height="25">字段标识</td> <td height="25"><input name="fname" type="text" id="fname" value="<?=$r[fname]?>"> <font color="#666666">(比如:"标题")</font></td> </tr> <tr bgcolor="#FFFFFF"> <td height="25">字段类型</td> <td height="25"><select name="ftype" id="select"> [!==More==!]
...
展开> <收缩
Sponsored links
源码文件列表
温馨提示: 点击源码文件名可预览文件内容哦 ^_^ Sponsored links