📄 editpublictemp.php
字号:
<?
require("../../class/connect.php");
include("../../class/db_sql.php");
include("../../class/config.php");
include("../../class/functions.php");
$link=db_connect();
$empire=new mysqlquery();
$logininid=$_COOKIE['enewsloginuserid'];
$loginin=$_COOKIE['enewsloginusername'];
$loginrnd=$_COOKIE['enewsloginrnd'];
$loginlevel=$_COOKIE['enewsloginlevel'];
$editor=1;
is_login($logininid,$loginin,$loginrnd);
//验证权限
CheckLevel($logininid,$loginin,$classid,"template");
$r=$empire->fetch1("select * from phome_enewspublic limit 1");
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=gb2312">
<title>修改模板</title>
<link href="../../data/images/css.css" rel="stylesheet" type="text/css">
</head>
<body>
<form name="form1" method="post" action="../enews.php">
<table width="100%%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=indextemp>
<tr class="header">
<td height="25"><div align="center"><strong><font color="#FFFFFF">修改首页模板(<a href="../../../" target="_blank">预览</a>)</font></strong></div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<textarea name="temptext" cols="70" rows="25" id="temptext"><?=htmlspecialchars(stripSlashes($r[indextemp]))?></textarea>
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<input type="submit" name="Submit" value="修改">
<input name="enews" type="hidden" id="enews" value="EditPublicTemp">
<input name="templatename" type="hidden" id="templatename" value="indextemp">
<input type="reset" name="Submit2" value="重置">
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF">说明:具体标签介绍请点
<input type="button" name="Submit3" value="这里" onclick="window.open('EnewsBq.php','','width=600,height=500,scrollbars=yes');">
或JS调用点
<input type="button" name="Submit322" value="这里" onclick="window.open('../ListClass.php','','width=800,height=600,scrollbars=yes');">
。</td>
</tr>
</table>
</form>
<form name="form1" method="post" action="../enews.php">
<table width="100%%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=pltemp>
<tr class="header">
<td height="25"><div align="center"><strong><font color="#FFFFFF">评论列表模板</font></strong></div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<textarea name="temptext" cols="70" rows="25" id="temptext"><?=htmlspecialchars(stripSlashes($r[pllisttemp]))?></textarea>
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<input type="submit" name="Submit" value="修改">
<input name="enews" type="hidden" id="enews" value="EditPltemp">
<input name="templatename" type="hidden" id="templatename" value="pllisttemp">
<input type="reset" name="Submit2" value="重置">
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><p>说明:格式:列表头[!--empirenews.listtemp--]列表内容[!--empirenews.listtemp--]列表尾<br>
评论ID:[!--plid--]<br>
评论内容:[!--pltext--]<br>
评论时间:[!--pltime--]<br>
评论IP:[!--plip--]<br>
信息ID:[!--id--]<br>
分类ID:[!--classid--] <br>
评论发表者:[!--username--]<br>
标题:[!--title--]<br>
标题链接:[!--titleurl--]<br>
验证码地址:[!--key.url--]<br>
站点地址:[!--news.url--] </p>
</td>
</tr>
</table>
</form>
<form name="form1" method="post" action="../enews.php">
<table width="100%%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=cptemp>
<tr class="header">
<td height="25"><div align="center"><strong><font color="#FFFFFF">控制面板模板</font></strong></div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<textarea name="temptext" cols="70" rows="25" id="temptext"><?=htmlspecialchars(stripSlashes($r[cptemp]))?></textarea>
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<input type="submit" name="Submit4" value="修改">
<input name="enews" type="hidden" id="enews" value="EditCptemp">
<input name="templatename" type="hidden" id="templatename" value="cptemp">
<input type="reset" name="Submit22" value="重置">
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><p>说明:在要显示内容的地方(如注册,登陆等)加上“[!--empirenews.template--]”,显示导航条的地方加上:“[!--newsnav--]”</p></td>
</tr>
</table>
</form>
<form name="form1" method="post" action="../enews.php">
<table width="100%%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=searchtemp>
<tr class="header">
<td height="25"><div align="center"><strong><font color="#FFFFFF">搜索表单模板</font></strong></div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<textarea name="temptext" cols="70" rows="25" id="temptext"><?=htmlspecialchars(stripSlashes($r[searchtemp]))?></textarea>
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<input type="submit" name="Submit4" value="修改">
<input name="enews" type="hidden" id="enews" value="EditSearchTemp">
<input name="tempname" type="hidden" id="tempname" value="searchtemp">
<input type="reset" name="Submit22" value="重置">
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><p>说明:<br>
在显示表格颜色的地方加上:[!--bgcolor--]<br>
在显示站点地址的地方加上:[!--newsurl--]<br>
在显示搜索栏目的地方加上:[!--class--]</p></td>
</tr>
</table>
</form>
<form name="form1" method="post" action="../enews.php">
<table width="100%%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=searchjstemp>
<tr class="header">
<td height="25"><div align="center"><strong><font color="#FFFFFF">搜索JS模板(横向)</font></strong></div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<textarea name="temptext" cols="70" rows="25" id="temptext"><?=htmlspecialchars(stripSlashes($r[searchjstemp]))?></textarea>
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<input type="submit" name="Submit4" value="修改">
<input name="enews" type="hidden" id="enews" value="EditSearchTemp">
<input name="tempname" type="hidden" id="tempname" value="searchjstemp">
<input type="reset" name="Submit22" value="重置">
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><p>说明:<br>
在显示站点地址的地方加上:[!--newsurl--]<br>
在显示搜索栏目的地方加上:[!--class--] </p></td>
</tr>
</table>
</form>
<form name="form1" method="post" action="../enews.php">
<table width="100%%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=searchjstemp1>
<tr class="header">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -