📄 editpublictemp.php
字号:
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<input type="submit" name="Submit4" value="修改">
<input name="enews" type="hidden" id="enews" value="EditOtherLinkTemp">
<input name="tempname" type="hidden" id="tempname" value="otherlinktemp">
<input type="reset" name="Submit22" value="重置">
<input name="gid" type="hidden" id="gid3" value="<?=$gid?>">
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><p><strong>模板格式:</strong>列表头[!--empirenews.listtemp--]列表内容[!--empirenews.listtemp--]列表尾<br>
<strong>模板变量说明:</strong><br>
标题: [!--title--],标题alt:[!--oldtitle--], 标题链接: [!--titleurl--] <br>
发布时间: [!--newstime--], 标题图片: [!--titlepic--]</p></td>
</tr>
</table>
</form>
<?
}
if($tname=="printtemp"||empty($tname))
{
?>
<form name="formprint" method="post" action="../enews.php">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=printtemp>
<tr class="header">
<td height="25"><div align="center">信息打印模板</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><div align="center">请将模板内容<a href="#ecms" onclick="window.clipboardData.setData('Text',document.formprint.temptext.value);document.formprint.temptext.select()" title="点击复制模板内容"><strong>复制到Dreamweaver(推荐)</strong></a>或者使用<a href="#ecms" onclick="window.open('editor.php?getvar=opener.document.formprint.temptext.value&returnvar=opener.document.formprint.temptext.value&fun=ReturnHtml','edittemp','width=880,height=600,scrollbars=auto,resizable=yes');"><strong>模板在线编辑</strong></a>进行可视化编辑</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<textarea name="temptext" cols="110" rows="27" id="temptext" wrap="OFF" style="WIDTH: 100%"><?=htmlspecialchars(stripSlashes($r[printtemp]))?></textarea>
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> [<a href="#ecms" onclick="tempturnit(printshowtempvar);">显示模板变量说明</a>]
[<a href="#ecms" onclick="window.open('../ListClass.php','','width=800,height=600,scrollbars=yes,resizable=yes');">查看JS调用地址</a>]
[<a href="#ecms" onclick="window.open('ListTempvar.php','','width=800,height=600,scrollbars=yes,resizable=yes');">查看公共模板变量</a>]</td>
</tr>
<tr id="printshowtempvar" style="display:none">
<td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
<tr bgcolor="#FFFFFF">
<td width="33%" height="25"><input name="textfield45" type="text" value="[!--id--]">
:信息ID</td>
<td width="34%"><input name="textfield46" type="text" value="[!--classid--]">
:栏目ID</td>
<td width="33%"><input name="textfield47" type="text" value="[!--title--]">
:标题</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25"><input name="textfield48" type="text" value="[!--writer--]">
:作者</td>
<td><input name="textfield49" type="text" value="[!--newstime--]">
:发布时间</td>
<td><input name="textfield50" type="text" value="[!--befrom--]">
:信息来源</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25"><input name="textfield51" type="text" value="[!--newstext--]">
:新闻内容</td>
<td><input name="textfield52" type="text" value="[!--smalltext--]">
:新闻简介</td>
<td><input name="textfield53" type="text" value="[!--username--]">
:发布者</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25"><input name="textfield30222" type="text" value="[!--url--]">
:导航条</td>
<td><input name="textfield54" type="text" value="[!--titlelink--]">
:标题链接</td>
<td><strong>支持公共模板变量</strong></td>
</tr>
</table></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="EditPrintTemp">
<input name="tempname" type="hidden" id="tempname" value="printtemp">
<input type="reset" name="Submit22" value="重置">
<input name="gid" type="hidden" id="gid3" value="<?=$gid?>">
</div></td>
</tr>
</table>
</form>
<?
}
if($tname=="downsofttemp"||empty($tname))
{
?>
<form name="form1" method="post" action="../enews.php">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=downsofttemp>
<tr class="header">
<td height="25"><div align="center">软件下载地址模板</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<textarea name="temptext" cols="110" rows="18" id="temptext" wrap="OFF" style="WIDTH: 100%"><?=htmlspecialchars(stripSlashes($r[downsofttemp]))?></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="EditPrintTemp">
<input name="tempname" type="hidden" id="tempname" value="downsofttemp">
<input type="reset" name="Submit22" value="重置">
<input name="gid" type="hidden" id="gid3" value="<?=$gid?>">
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><p><strong>模板变量说明:</strong><br>
下载名称:[!--down.name--],弹出下载地址:[!--down.url--],文件真实地址:[!--true.down.url--]<br>
下载地址号:[!--pathid--],栏目ID:[!--classid--],信息ID:[!--id--],扣除积分:[!--fen--],下载等级:[!--group--]
</p></td>
</tr>
</table>
</form>
<?
}
if($tname=="onlinemovietemp"||empty($tname))
{
?>
<form name="form1" method="post" action="../enews.php">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=onlinemovietemp>
<tr class="header">
<td height="25"><div align="center">在线播放地址模板</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<textarea name="temptext" cols="110" rows="18" id="temptext" wrap="OFF" style="WIDTH: 100%"><?=htmlspecialchars(stripSlashes($r[onlinemovietemp]))?></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="EditPrintTemp">
<input name="tempname" type="hidden" id="tempname" value="onlinemovietemp">
<input type="reset" name="Submit22" value="重置">
<input name="gid" type="hidden" id="gid3" value="<?=$gid?>">
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><p><strong>模板变量说明:</strong><br>
观看名称:[!--down.name--],弹出观看地址:[!--down.url--],文件真实地址:[!--true.down.url--]<br>
观看地址号:[!--pathid--],栏目ID:[!--classid--],信息ID:[!--id--],扣除积分:[!--fen--],下载等级:[!--group--]</p></td>
</tr>
</table>
</form>
<?
}
if($tname=="listpagetemp"||empty($tname))
{
?>
<form name="form1" method="post" action="../enews.php">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=listpagetemp>
<tr class="header">
<td height="25"><div align="center">列表分页模板</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<textarea name="temptext" cols="110" rows="18" id="temptext" wrap="OFF" style="WIDTH: 100%"><?=htmlspecialchars(stripSlashes($r[listpagetemp]))?></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="EditPrintTemp">
<input name="tempname" type="hidden" id="tempname" value="listpagetemp">
<input type="reset" name="Submit22" value="重置">
<input name="gid" type="hidden" id="gid3" value="<?=$gid?>">
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><p><strong>模板变量说明:</strong><br>
本页页码:[!--thispage--], 总页数:[!--pagenum--], 每页显示条数:[!--lencord--] <br>
总条数:[!--num--], 分页链接:[!--pagelink--], 下拉分页:[!--options--] </p>
</td>
</tr>
</table>
</form>
<?
}
if($tname=="loginiframe"||empty($tname))
{
?>
<form name="form1" method="post" action="../enews.php">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=loginiframe>
<tr class="header">
<td height="25"><div align="center">登陆状态模板 (<a href="../../member/iframe" target="_blank">预览</a>)</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<textarea name="temptext" cols="110" rows="25" id="temptext" style="WIDTH: 100%"><?=htmlspecialchars(stripSlashes($r[loginiframe]))?></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="EditLoginIframe">
<input name="tempname" type="hidden" id="tempname" value="loginiframe">
<input type="reset" name="Submit22" value="重置">
<input name="gid" type="hidden" id="gid3" value="<?=$gid?>">
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><p><strong>模板格式:</strong>登陆前显示内容[!--empirenews.template--]登陆后显示内容<br>
<strong>模板变量说明: </strong><br>
用户ID:[!--userid--],用户名:[!--username--],网站地址:[!--news.url--]<br>
会员等级:[!--groupname--],现金:[!--money--],帐户有效天数:[!--userdate--]<br>
有新信息:[!--havemsg--],积分:[!--userfen--]</p>
</td>
</tr>
</table>
</form>
<?
}
if($tname=="loginjstemp"||empty($tname))
{
?>
<form name="form1" method="post" action="../enews.php">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=loginjstemp>
<tr class="header">
<td height="25"><div align="center">JS调用登陆状态模板</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"> <div align="center">
<textarea name="temptext" cols="110" rows="25" id="temptext" style="WIDTH: 100%"><?=htmlspecialchars(stripSlashes($r[loginjstemp]))?></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="EditLoginJstemp">
<input name="tempname" type="hidden" id="tempname" value="loginjstemp">
<input type="reset" name="Submit22" value="重置">
<input name="gid" type="hidden" id="gid3" value="<?=$gid?>">
</div></td>
</tr>
<tr>
<td height="25" bgcolor="#FFFFFF"><p><strong>模板格式:</strong>登陆前显示内容[!--empirenews.template--]登陆后显示内容<br>
<strong>模板变量说明:</strong> <br>
用户ID:[!--userid--],用户名:[!--username--],网站地址:[!--news.url--]<br>
会员等级:[!--groupname--],现金:[!--money--],帐户有效天数:[!--userdate--]<br>
有新信息:[!--havemsg--],积分:[!--userfen--]<br>
<br>
<strong>调用地址:</strong>
<input name="textfield132" type="text" id="textfield132" size="60" value="<script src="<?=$public_r[newsurl]."e/member/login/loginjs.php";?>"></script>">
[<a href="../view/js.php?classid=1&js=<?=$public_r[newsurl]."e/member/login/loginjs.php";?>" target="_blank">预览</a>]
</p>
</td>
</tr>
</table>
</form>
<?
}
?>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -