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

📄 adminaboutusadd.asp

📁 官方最新的南方数据v12生成静态商业版。全站生成静态。
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="admin.asp"-->
<%if Request.QueryString("mark")="southidc" then%>
<%
Title=Trim(Request("Title"))
Content=Request("Content")
Aboutusorder=Request("Aboutusorder")
%>
<%
If Title="" Then
response.write "SORRY <br>"
response.write "请输入栏目名称!<a href=""javascript:history.go(-1)"">返回重输</a>"
response.end
end if
If Content="" Then
response.write "SORRY <br>"
response.write "请输入栏目内容!<a href=""javascript:history.go(-1)"">返回重输</a>"
response.end
end if

Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from 0791idc_Aboutus"
rs.open sql,conn,1,3
rs.addnew
rs("Title")=Title
rs("Content")=Content
rs("Aboutusorder")=Aboutusorder
rs.update
rs.close
response.redirect "AdminAboutus.asp"
end if
%>
<!-- #include file="Inc/Head.asp" -->
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td align="center" valign="top"> <br> <table width="560" border="0" cellpadding="2" cellspacing="1" class="table_southidc">
        <tr> 
          <td height="25" class="back_southidc"> 
            <div align="center"><strong>添加栏目<br>
              </strong></div></td>
        </tr>
        <tr> 
        
            <td>
			  <form method="post" name="myform" action="AdminAboutusAdd.asp?mark=southidc">
                <table width="100%" border="0" cellspacing="1" cellpadding="0">
                  <tr bgcolor="#ECF5FF"> 
                    <td width="19%" height="23" bgcolor="#ECF5FF"> <div align="center">栏目名称:</div></td>
                    <td width="40%" height="25"> <input type="text" name="Title" maxlength="30" size="25"> 
                    </td>
                    <td width="14%"><div align="center">排序号:</div></td>
                    <td width="27%"><input name="Aboutusorder" type="text" id="Aboutusorder" size="4"></td>
                  </tr>
                  <tr bgcolor="#ECF5FF"> 
                    <td height="25" colspan="4"><div align="center">栏目内容</div></td>
                  </tr>
                  <tr bgcolor="#ECF5FF"> 
                    <td height="10" colspan="4"> 					
					 <input type="hidden" name="content" value=""> 
					<iframe ID="eWebEditor1" src="../SouthidcEditor/ewebeditor.htm?id=content&style=Southidc" frameborder="0" scrolling="no" width="550" HEIGHT="450"></iframe>			
                    </td>
                  </tr>
                  <tr bgcolor="#ECF5FF"> 
                    
                  <td colspan="4"> <div align="center">
                      <input name="Add" type="submit" value="确定">
                      &nbsp; 
                      <input name="About" type="reset" value="取消">
                    </div></td>
                  </tr>
                </table>
				</form>				
              </td>          
        </tr>
      </table>
      <br> </td>
  </tr>
</table>
<!-- #include file="Inc/Foot.asp" -->

⌨️ 快捷键说明

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