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

📄 admin_templetmodify.asp

📁 新闻发布系统
💻 ASP
📖 第 1 页 / 共 3 页
字号:
              <% Call FontColor%>
            </td>
            <td width="2%"> 
              <% Call FontBackColor%>
            </td>
            <td width="90%"> 
              <div align="center">使用HTML代码: 
                <input onClick="setTempletMode(this.checked);" name=viewhtml type="checkbox" value="ON">
              </div></td>
          </tr>
          <tr> 
            <td colspan="6"><table width="100%" height="99" border="0" cellpadding="3" cellspacing="1" bgcolor="#339900">
                <tr bgcolor="#F7FFF4"> 
                  <td height="22" colspan="4"> <table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/wordline.gif">
                      <tr> 
                        <td height="7" bgcolor="#F7FFF4"></td>
                      </tr>
                    </table>
                    <font color="#FF6600"><strong>在需要的地方插入相应的标签</strong></font></td>
                </tr>
                <tr bgcolor="#F7FFF4"> 
                  <td height="24"> <div align="left">新闻JS: [newsJS]</div></td>
                  <td> <div align="center">新闻搜索: [newssearch]</div></td>
                  <td> <div align="center">推荐新闻: [recommendnews]</div></td>
                  <td> <div align="center">热点新闻:[hotnews]</div></td>
                </tr>
                <tr bgcolor="#F7FFF4"> 
                  <td height="24"> <div align="left">导航条设置:[Navigation] </div></td>
                  <td height="24"><div align="center">本类Top排行榜:[sTopNews]</div></td>
                  <td height="24"><div align="center">本类推荐:[srecommend]</div></td>
                  <td height="24"><div align="center">相关图片:[CoPic]</div></td>
                </tr>
                <tr bgcolor="#F7FFF4"> 
                  <td height="24">本类最新新闻:[sLastNews]</td>
                  <td height="24"><div align="center">页面标题:[stitle]</div></td>
                  <td height="24"><div align="center">分页[PageNum]</div></td>
                  <td height="24"><div align="center"></div></td>
                </tr>
              </table></td>
          </tr>
        </table></td>
    </tr>
    <tr> 
      <td height="364" bgcolor="#FFFFFF" width="81%"> <script language="JavaScript">
           document.write ('<iframe src="templet_textbox.asp?action=Modify&ID=<%=request.form("TempletID")%>" " id="message" width=100% height=100% align=center></iframe>')
           frames.message.document.designMode = "On";
        
</script> </td>
    </tr>
    <tr align="center"> 
      <td height="2" bgcolor="#F7FFF4"> 
        <input type="Hidden" value=<%=rs("ID")%> name=TempletID> 
        <input type="Hidden" value=<%=rs("TempletName")%> name=OldTempletName> 
        <input type="submit" value=" 修 改 " OnClick="document.form.TempletContent.value = frames.message.document.body.innerHTML;return modify()"> 
        <input type="hidden" name="TempletContent" value=""> <input type="reset" value=" 还 原 "> 
        <input type=button value=' 预 览 ' onclick=topreview()>
        <!--#include file = name.asp-->
      </td>
    </tr>
  </table>
  </form>
  <%
  case "MTCp"
    TempletID=request.form("TempletID")
    if TempletID="" then response.redirect"admin_TempletManage.asp"
    set rs=Server.CreateObject("Adodb.RecordSet")
    rs.source="select * from Templet where ID="&TempletID
    rs.open rs.source,conn,1,1
%>
<form name="form" method="POST" action="admin_TempletGo.asp?o=MTCp" onsubmit="return CheckTemplet()">
  <table width="99%" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="#339900">
    <tr> 
      <td width="81%" height="94" valign="top" bgcolor="D4D0C8"> <table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="7" bgcolor="#F7FFF4"></td>
          </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr bgcolor="#F7FFF4"> 
            <td width="1%" height="22">&nbsp;</td>
            <td width="99%">模板名称 
              <input name="TempletName" type="text" id="TempletName" value=<%=rs("TempletName")%> size="60"> 
            </td>
          </tr>
        </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/wordline.gif">
          <tr> 
            <td height="7" bgcolor="#F7FFF4"></td>
          </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr bgcolor="D4D0C8"> 
            <td colspan="6"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr bgcolor="#F7FFF4"> 
                  <td width="1%">&nbsp;</td>
                  <td width="99%"> 
                    <%Call img%>
                  </td>
                </tr>
              </table> 
              <table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/wordline.gif">
                <tr> 
                  <td height="7" bgcolor="#F7FFF4"></td>
                </tr>
              </table></td>
          </tr>
          <tr bgcolor="#F7FFF4"> 
            <td width="1%">&nbsp;</td>
            <td width="3%"> 
              <% Call FontFace%>
            </td>
            <td width="2%"> 
              <% Call FontSize%>
            </td>
            <td width="2%"> 
              <% Call FontColor%>
            </td>
            <td width="2%"> 
              <% Call FontBackColor%>
            </td>
            <td width="90%"> 
              <div align="center">使用HTML代码: 
                <input onClick="setTempletMode(this.checked);" name=viewhtml type="checkbox" value="ON">
              </div></td>
          </tr>
          <tr> 
            <td colspan="6"><table width="100%" height="99" border="0" cellpadding="3" cellspacing="1" bgcolor="#339900">
                <tr bgcolor="#F7FFF4"> 
                  <td height="22" colspan="4"> <table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/wordline.gif">
                      <tr> 
                        <td height="7" bgcolor="#F7FFF4"></td>
                      </tr>
                    </table>
                    <font color="#FF6600"><strong>在需要的地方插入相应的标签</strong></font></td>
                </tr>
                <tr bgcolor="#F7FFF4"> 
                  <td height="24"> <div align="left">新闻JS: [newsJS]</div></td>
                  <td> <div align="center">新闻搜索: [newssearch]</div></td>
                  <td> <div align="center">推荐新闻: [recommendnews]</div></td>
                  <td> <div align="center">热点新闻:[hotnews]</div></td>
                </tr>
                <tr bgcolor="#F7FFF4"> 
                  <td height="24"> <div align="left">导航条设置:[Navigation] </div></td>
                  <td height="24"><div align="center">本类Top排行榜:[sTopNews]</div></td>
                  <td height="24"><div align="center">本类推荐:[srecommend]</div></td>
                  <td height="24"><div align="center">本类最新新闻:[sLastNews]</div></td>
                </tr>
                <tr bgcolor="#F7FFF4"> 
                  <td height="24">页面标题:[stitle]</td>
                  <td height="24"><div align="center"></div></td>
                  <td height="24"><div align="center"></div></td>
                  <td height="24"><div align="center"></div></td>
                </tr>
              </table></td>
          </tr>
        </table></td>
    </tr>
    <tr> 
      <td height="364" bgcolor="#FFFFFF" width="81%"> <script language="JavaScript">
           document.write ('<iframe src="templet_textbox.asp?action=Modify&ID=<%=request.form("TempletID")%>" " id="message" width=100% height=100% align=center></iframe>')
           frames.message.document.designMode = "On";
        
</script> </td>
    </tr>
    <tr align="center"> 
      <td height="2" bgcolor="#F7FFF4"> 
        <input type="Hidden" value=<%=rs("ID")%> name=TempletID> 
        <input type="Hidden" value=<%=rs("TempletName")%> name=OldTempletName> 
        <input type="submit" value=" 修 改 " OnClick="document.form.TempletContent.value = frames.message.document.body.innerHTML;return modify()"> 
        <input type="hidden" name="TempletContent" value=""> <input type="reset" value=" 还 原 "> 
        <input type=button value=' 预 览 ' onclick=topreview()>
        <!--#include file = name.asp-->
      </td>
    </tr>
  </table>
  </form>
  <%
  case "MTBC"
    TempletID=request.form("TempletID")
    if TempletID="" then response.redirect"admin_TempletManage.asp"
    set rs=Server.CreateObject("Adodb.RecordSet")
    rs.source="select * from Templet where ID="&TempletID
    rs.open rs.source,conn,1,1
%>
<form name="form" method="POST" action="admin_TempletGo.asp?o=MTBC" onsubmit="return CheckTemplet()">
  <table width="99%" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="#339900">
    <tr> 
      <td width="81%" height="94" valign="top" bgcolor="#F7FFF4"> 
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="7" bgcolor="#F7FFF4"></td>
          </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr bgcolor="#F7FFF4"> 
            <td width="1%" height="21">&nbsp;</td>
            <td width="99%">模板名称 
              <input name="TempletName" type="text" id="TempletName" value=<%=rs("TempletName")%> size="60"> 
            </td>
          </tr>
        </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/wordline.gif">
          <tr> 
            <td height="7" bgcolor="#F7FFF4"></td>
          </tr>
        </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#339900">
          <tr> 
            <td colspan="6" bgcolor="D4D0C8"> 
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr bgcolor="#F7FFF4"> 
                  <td width="1%">&nbsp;</td>
                  <td width="99%"> 
                    <%Call img%>
                  </td>
                </tr>

⌨️ 快捷键说明

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