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

📄 admin_newsedit.asp

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







<%
AJAXshowLoader()
AJAXshowSweetTitles2()
%>






<%
id=request("id")
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from sys_data_piclunbo where id="&id&"",conn,1,1
%>
<link href="css/my.css" rel="stylesheet" type="text/css">

<!------------------------------------------------div:new------------------------>



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



<table width="400" height="400" border="1" cellpadding="0" cellspacing="0" bordercolor="#999999" bgcolor="#D1D1D1">


<tr>
 
<td width="350" height="20" bordercolor="#999999" background="../../images/titbg.gif">

   
</td>
  
<td width="44" align="center" bordercolor="#999999" background="../../images/titbg.gif">

</td>
</tr>

<tr><td colspan=2>








<form method="POST" name="myform" action="admin_newsEdit_chk.asp" target="_self">
<table width="650" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr align="center">
    <th height="30" colspan="2"><strong>图片轮播器的图片修改</strong>&nbsp;      </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" value="<%=rs("title")%>"></td>
  </tr>
    



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



<input type="hidden" name="simagePath" value="<%=rs("smallpic")%>">

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

</td>




  </tr>





<tr bgcolor="#FFFFFF">
    <td width="87" height="30" align="right">所属图片轮播器类别:</td>
    <td width="560">

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

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


<option <%if cstr(rs("class"))=cstr(rsy("id")) and cstr(rs("di2_class"))="no" and cstr(rs("di3_class"))="no" then response.write "selected"%> value="<%=rsy("id")%>a">┣<%=rsy("news_type_name")%></option>

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

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


<option <%if cstr(rs("class"))=cstr(rsy("id")) and cstr(rs("di2_class"))=cstr(rs2("id")) and cstr(rs("di3_class"))="no" then response.write "selected"%> value="<%=rs2("id")%>b"> ┃&nbsp;&nbsp;┣<%=rs2("class_name")%></option>


<%




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



<option <%if cstr(rs("class"))=cstr(rsy("id")) and cstr(rs("di2_class"))=cstr(rs2("id")) and cstr(rs("di3_class"))=cstr(rs3("id")) then response.write "selected"%> value="<%=rs3("id")%>c"> ┃&nbsp;&nbsp;┃&nbsp;┣<%=rs3("class_name")%></option>


<%


rs3.movenext
loop


rs2.movenext
loop


rsy.movenext
loop%>
      </select>



</td>
  </tr>
















  <tr bgcolor="#FFFFFF">
    <td height="30" align="right">添加人:</td>
    <td>&nbsp;&nbsp;<input name="adder" type="text" id="adder" value="<%=rs("adder")%>"></td>
  </tr>


 <tr bgcolor="#FFFFFF">
    <td height="30" align="right">图片链接地址:</td>
    <td>


<input name="connect" type="text" id="connect" size=40 value="<%=rs("connect")%>">      
     

</td></tr>


  <tr bgcolor="#FFFFFF">
    <td height="30" align="right"><input name="id" type="hidden" id="id" value="<%=id%>"></td>
    <td>&nbsp;&nbsp;
    <input type="submit" name="Submit" value=" 修  改 "></td>
  </tr>
</table>
</form>






</td></tr>
</table>

</div>
<!----------------------------end------div:new------------------------>









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



<%
AJAXcloseLoader()
%>






⌨️ 快捷键说明

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