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

📄 admin_newsadd.asp

📁 本文通过分析国内外网上购物系统的发展现状
💻 ASP
字号:
<!--#include file="Admin_Function.asp"-->
<!--#include file="Conn.asp"-->
<!--#include file=index_Top.asp-->
<%
if request.cookies("adminok")="" then
  response.redirect "shop_login.htm"
end if
%>
<script Language="JavaScript">
function Form_Validator(theForm) 
{ 
	if (theForm.News_Title.value == "") 
	{ 
		alert("标题必须填写"); 
		theForm.News_Title.focus(); 
		return (false); 
	} 
	if (theForm.News_Content.value == "") 
	{ 
		alert("内容必须填写"); 
		theForm.News_Content.focus(); 
		return (false); 
	} 
	return (true); 
} 
</script>
<table border="0" cellspacing="0" cellpadding="0" align="center" width="770">
  <tr> 
    <td width=1 valign=top background="../images/Line11.gif"><img src="../images/Line11.gif" width="1" height="3"> 
    </td>
    <td align=center width="600" valign="top"><br>
      <form name="Singer_add" method="post" action="Admin_Newssave.asp?action=add&News_Type=<%=request("News_Type")%>" onsubmit="return Form_Validator(this)">
        <table width="95%" border="0" cellspacing="1" cellpadding="2">
          <tr align="center" background="../images/topbg.gif"> 
            <td colspan="2"><font color="#FFFFFF">添加新闻</font></td>
          </tr>
          <tr> 
            <td width="28%" align="right" bgcolor="#FF6699">新闻标题:</td>
            <td width="72%" bgcolor="#FF6699"> 
              <input type="text" name="News_Title" size="60" maxlength="100">
            </td>
          </tr>
          <tr> 
            <td width="28%" align="right" bgcolor="#FF6699">新闻出处:</td>
            <td width="72%" bgcolor="#FF6699"> 
              <select name="News_From">
                <option value="作者:" selected>作者</option>
                <option value="摘自:">摘自</option>
              </select>
              <input type="text" name="News_Author" size="20" maxlength="20">
            </td>
          </tr>
          <tr> 
            <td width="28%" align="right" bgcolor="#FF6699">新闻图片:</td>
            <td width="72%" bgcolor="#FF6699"> 
              <input type="text" name="News_Images" size="60" maxlength="255">
            </td>
          </tr>
          <tr> 
            <td width="28%" align="right" bgcolor="#FF6699" valign="top">新闻内容:</td>
            <td width="72%" bgcolor="#FF6699"> 
              <textarea name="News_Content" cols="60" rows="10"></textarea>
            </td>
          </tr>
          <tr background="../images/topbg.gif"> 
            <td colspan="2" align="center"> 
              <input type="submit" name="Submit" value="提·交">
              <input type="submit" name="Submit2" value="清·空">
            </td>
          </tr>
        </table>
      </form>
    </td>
  </tr>
</table>

⌨️ 快捷键说明

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