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

📄 admin_newsadd.asp

📁 一套企业全站
💻 ASP
字号:
<!--#include file=inc/conn.asp-->
<!--#include file=../../inc/checkadmin.asp-->




<!--#include file=../../../ajaxLIB/ajaxLIB.asp-->


<link rel="stylesheet" href="../../css/mycss1.css" type="text/css">




<%
AJAXshowLoader()
AJAXshowSweetTitles2()
%>









<div  id="nnn" style="filter:blendTrans(duration=1); position:absolute;visibility:hidden; width:774px; z-index:-1; left: 3px; top: 20px; height: 121px;">





<form method="POST" name="myform" action="admin_newsAdd_chk.asp" target="_self">
<table width="650" border="0" align="center" cellpadding="0" cellspacing="1" class="TABLEBORDER">
  <tr align="center">
    <th colspan="2">添加产品</th>
  </tr>
    <tr bgcolor="#FFFFFF">
    <td width="87" height="30" align="right">产品名称:</td>
    <td width="560">&nbsp;&nbsp;<input name="title" type="text" id="title"></td>
  </tr>





    <tr bgcolor="#FFFFFF">
    <td width="87" height="30" align="right">产品缩略图:</td>
    <td width="560" align="left">



<input type="hidden" name="simagePath">

&nbsp;&nbsp;<iframe name=ad1 frameborder=0 width=90% height=25  scrolling=no src="sUpimgdododo.htm"></iframe><br>(图片大小在200*200左右)

</td>




  </tr>



  <tr bgcolor="#FFFFFF">
    <td width="87" height="30" align="right">产品类别:</td>
    <td width="560">

&nbsp;&nbsp;<select name="newsClass">
		 <%
set rs=server.CreateObject("adodb.recordset")

 rs.open "select * from sys_data_xxprod_class order by id desc",conn,1,1
do while not rs.eof
%>


<option value="<%=rs("id")%>a">┣<%=rs("news_type_name")%></option>

<%
set rs2=server.CreateObject("adodb.recordset")

 rs2.open "select * from sys_data_xxprod_di2cen_class where di1_parent_id='"&rs("id")&"'",conn,1,1
do while not rs2.eof
%>


<option value="<%=rs2("id")%>b"> ┃&nbsp;&nbsp;┣<%=rs2("class_name")%></option>


<%




set rs3=server.CreateObject("adodb.recordset")
 rs3.open "select * from sys_data_xxprod_di3cen_class where parent_id_of_di2='"&rs2("id")&"'",conn,1,1
do while not rs3.eof
%>



<option value="<%=rs3("id")%>c"> ┃&nbsp;&nbsp;┃&nbsp;┣<%=rs3("class_name")%></option>


<%


rs3.movenext
loop


rs2.movenext
loop


rs.movenext
loop%>
      </select>



</td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td height="30" align="right">添加人:</td>
    <td>&nbsp;&nbsp;<input name="adder" type="text" id="adder"></td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td height="30" align="right">产品介绍:</td>
    <td><input name="connect" type="hidden" id="connect">      
      <iframe ID="eWebEditor1" src="../../../ewebeditor/ewebeditor.asp?id=connect&style=s_coolblue1" frameborder="0" scrolling="no" width="550" HEIGHT="350"></iframe></td></tr>
  <tr bgcolor="#FFFFFF">
    <td height="30" align="right">&nbsp;</td>
    <td>&nbsp;&nbsp;
    <input type="submit" name="Submit" value=" 添  加 "></td>
  </tr>
</table>
</form>


</div>




<script language=javascript>
AJAXfade(1,'nnn')
</script>



<%
AJAXcloseLoader()
%>

⌨️ 快捷键说明

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