⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 editpublictemp.php

📁 不错的一个网站管理系统
💻 PHP
📖 第 1 页 / 共 3 页
字号:
              :所在位置导航条</td>
            <td width="34%"><input name="textfield31" type="text" value="[!--news.url--]">
              :网站地址</td>
            <td width="33%"><strong>支持公共模板变量</strong></td>
          </tr>
        </table></td>
    </tr>
    <tr> 
      <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
          <input type="submit" name="Submit4" value="修改">
          &nbsp;&nbsp; 
          <input name="enews" type="hidden" id="enews" value="EditCptemp">
          <input name="templatename" type="hidden" id="templatename" value="cptemp">
          <input type="reset" name="Submit22" value="重置">
          <input name="gid" type="hidden" id="gid3" value="<?=$gid?>">
        </div></td>
    </tr>
    <tr> 
      <td height="25" bgcolor="#FFFFFF">说明: 在要显示内容的地方(如注册,登陆等)加上“[!--empirenews.template--]”</td>
    </tr>
  </table>
</form>
<?
}
if($tname=="gbooktemp"||empty($tname))
{
?>
<form name="formgbook" method="post" action="../enews.php">
  <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=pltemp>
    <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.formgbook.temptext.value);document.formgbook.temptext.select()" title="点击复制模板内容"><strong>复制到Dreamweaver(推荐)</strong></a>或者使用<a href="#ecms" onclick="window.open('editor.php?getvar=opener.document.formgbook.temptext.value&returnvar=opener.document.formgbook.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['gbooktemp']))?></textarea>
        </div></td>
    </tr>
    <tr>
      <td height="25" bgcolor="#FFFFFF">&nbsp;&nbsp;[<a href="#ecms" onclick="tempturnit(gbookshowtempvar);">显示模板变量说明</a>] 
        &nbsp;&nbsp;[<a href="#ecms" onclick="window.open('../ListClass.php','','width=800,height=600,scrollbars=yes,resizable=yes');">查看JS调用地址</a>] 
        &nbsp;&nbsp;[<a href="#ecms" onclick="window.open('ListTempvar.php','','width=800,height=600,scrollbars=yes,resizable=yes');">查看公共模板变量</a>]</td>
    </tr>
    <tr id="gbookshowtempvar" style="display:none">
      <td height="25" bgcolor="#FFFFFF"><strong>1、整体页面支持的变量</strong><br> 
        <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
          <tr bgcolor="#FFFFFF"> 
            <td width="33%" height="25">
<input name="textfield32" type="text" value="[!--url--]">
              :所在位置导航条</td>
            <td width="34%"> 
              <input name="textfield33" type="text" value="[!--news.url--]">
              :网站地址</td>
            <td width="33%">
<input name="textfield34" type="text" value="[!--bname--]">
              :留言分类名称</td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="25"><input name="textfield35" type="text" value="[!--bid--]">
              :留言分类ID</td>
            <td><input name="textfield36" type="text" value="[!--listpage--]">
              :分页导航</td>
            <td><input name="textfield37" type="text" value="[!--num--]">
              :总记录数</td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="25"><strong>支持公共模板变量</strong></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
        </table>
        <br>
        <strong>2、列表内容支持的变量</strong><br> 
        <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
          <tr bgcolor="#FFFFFF"> 
            <td width="33%" height="25">
<input name="textfield38" type="text" value="[!--lyid--]">
              :留言ID</td>
            <td width="34%"> 
              <input name="textfield39" type="text" value="[!--name--]">
              :留言者</td>
            <td width="33%">
<input name="textfield40" type="text" value="[!--email--]">
              :留言者邮箱</td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="25"><input name="textfield41" type="text" value="[!--call--]">
              :留言者电话</td>
            <td><input name="textfield42" type="text" value="[!--lytime--]">
              :留言时间</td>
            <td><input name="textfield43" type="text" value="[!--lytext--]">
              :留言内容</td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="25"><input name="textfield44" type="text" value="[!--retext--]">
              :回复内容</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
        </table></td>
    </tr>
    <tr> 
      <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
          <input type="submit" name="Submit" value="修改">
          &nbsp;&nbsp; 
          <input name="enews" type="hidden" id="enews" value="EditGbooktemp">
          <input name="templatename" type="hidden" id="templatename" value="gbooktemp">
          <input type="reset" name="Submit2" value="重置">
          <input name="gid" type="hidden" id="gid" value="<?=$gid?>">
        </div></td>
    </tr>
    <tr> 
      <td height="25" bgcolor="#FFFFFF"><p><strong>页面格式:</strong> 列表头[!--empirenews.listtemp--]列表内容[!--empirenews.listtemp--]列表尾<br>
          <strong>回复显示格式:</strong>[!--start.regbook--]回复显示格式内容[!--end.regbook--]</p></td>
    </tr>
  </table>
</form>
<?
}
if($tname=="searchformtemp"||empty($tname))
{
?>
<form name="formsearchform" method="post" action="../enews.php">
  <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=searchtemp>
    <tr class="header"> 
      <td height="25"><div align="center">高级搜索表单模板 (<a href="../../../search/" target="_blank">预览</a>)</div></td>
    </tr>
    <tr> 
      <td height="25" bgcolor="#FFFFFF"><div align="center">请将模板内容<a href="#ecms" onclick="window.clipboardData.setData('Text',document.formsearchform.temptext.value);document.formsearchform.temptext.select()" title="点击复制模板内容"><strong>复制到Dreamweaver(推荐)</strong></a>或者使用<a href="#ecms" onclick="window.open('editor.php?getvar=opener.document.formsearchform.temptext.value&returnvar=opener.document.formsearchform.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[searchtemp]))?></textarea>
        </div></td>
    </tr>
    <tr> 
      <td height="25" bgcolor="#FFFFFF">&nbsp;&nbsp;[<a href="#ecms" onclick="tempturnit(searchformshowtempvar);">显示模板变量说明</a>] 
        &nbsp;&nbsp;[<a href="#ecms" onclick="window.open('../ListClass.php','','width=800,height=600,scrollbars=yes,resizable=yes');">查看JS调用地址</a>] 
        &nbsp;&nbsp;[<a href="#ecms" onclick="window.open('ListTempvar.php','','width=800,height=600,scrollbars=yes,resizable=yes');">查看公共模板变量</a>]</td>
    </tr>
    <tr id="searchformshowtempvar" 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="textfield302" type="text" value="[!--class--]">
              :搜索栏目列表</td>
            <td width="34%"><input name="textfield312" type="text" value="[!--news.url--]">
              :网站地址</td>
            <td width="33%"><input name="textfield3122" type="text" value="[!--bgcolor--]">
              :表格颜色</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td height="25"><input name="textfield3022" type="text" value="[!--url--]">
              :导航条</td>
            <td><strong>支持公共模板变量</strong></td>
            <td>&nbsp;</td>
          </tr>
        </table></td>
    </tr>
    <tr> 
      <td height="25" bgcolor="#FFFFFF"> <div align="center"> 
          <input type="submit" name="Submit4" value="修改">
          &nbsp;&nbsp; 
          <input name="enews" type="hidden" id="enews" value="EditSearchTemp">
          <input name="tempname" type="hidden" id="tempname" value="searchtemp">
          <input type="reset" name="Submit22" value="重置">
          <input name="gid" type="hidden" id="gid3" value="<?=$gid?>">
          </div></td>
    </tr>
  </table>
</form>
<?
}
if($tname=="searchformjs"||empty($tname))
{
?>
<form name="form1" method="post" action="../enews.php">
  <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=searchjstemp>
    <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="18" id="temptext" style="WIDTH: 100%"><?=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="重置">
          <input name="gid" type="hidden" id="gid3" value="<?=$gid?>">
        </div></td>
    </tr>
    <tr> 
      <td height="25" bgcolor="#FFFFFF"><p><strong>模板变量说明:</strong> <br>
          站点地址: [!--newsurl--],搜索栏目列表: [!--class--] <br>
          <br>
          <strong>调用地址:</strong> 
          <input name="textfield1322" type="text" id="textfield1322" size="60" value="&lt;script src=&quot;<?=$public_r[newsurl]."d/js/js/search_news1.js";?>&quot;&gt;&lt;/script&gt;">
          [<a href="../view/js.php?classid=1&js=<?=$public_r[newsurl]."d/js/js/search_news1.js";?>" target="_blank">预览</a>] 
        </p></td>
    </tr>
  </table>
</form>
<?
}
if($tname=="searchformjs1"||empty($tname))
{
?>
<form name="form1" method="post" action="../enews.php">
  <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=searchjstemp1>
    <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="18" id="temptext" style="WIDTH: 100%"><?=htmlspecialchars(stripSlashes($r[searchjstemp1]))?></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="searchjstemp1">
          <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>
          站点地址: [!--newsurl--],搜索栏目列表: [!--class--] <br>
          <br>
          <strong>调用地址:</strong> 
          <input name="textfield13222" type="text" id="textfield13222" size="60" value="&lt;script src=&quot;<?=$public_r[newsurl]."d/js/js/search_news2.js";?>&quot;&gt;&lt;/script&gt;">
          [<a href="../view/js.php?classid=1&js=<?=$public_r[newsurl]."d/js/js/search_news2.js";?>" target="_blank">预览</a>] 
        </p>
        </td>
    </tr>
  </table>
</form>
<?
}
if($tname=="otherlinktemp"||empty($tname))
{
?>
<form name="form1" method="post" action="../enews.php">
  <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" id=otherlinktemp>
    <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[otherlinktemp]))?></textarea>
        </div></td>
    </tr>
    <tr>
      <td height="25" bgcolor="#FFFFFF"><div align="center">标题截取字数:
          <input name="otherlinktempsub" type="text" id="otherlinktempsub" value="<?=$r[otherlinktempsub]?>">
          ,时间格式:
          <input name="otherlinktempdate" type="text" id="otherlinktempdate" value="<?=$r[otherlinktempdate]?>">
        </div></td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -