<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.Admin_Ad_hdp_add" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="inc/admin_style.css" rel="stylesheet" type="text/css" />
<link href="inc/style.css" rel="stylesheet" type="text/css" />
<title><%=AppConst.SiteName%></title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<script type="Text/JavaScript" language="javascript">
function selectall(){
	for(i=0;i!=document.news.elements.length;i++){
		document.news.elements[i].checked=!document.news.elements[i].checked;
	}
}
</script>
</head>
<body>
<table style="width:100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table style="height:22; width:100%" border="0" cellpadding="0" cellspacing="1">
      <tr class="topbg">
        <td style="height:22" align="center" class="topbg"><strong>幻 灯 广 告 添 加 管 理</strong></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table style="width:100%"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td style="height:27; width:30" align="center"><img src="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/gojump01.gif" width="16" height="16" /></td>
        <td><a href="Admin_site_config.aspx">网站信息配置</a> | <a href="channel_manage.aspx">文章频道管理</a> | <a href="Admin_Classlist.aspx">行业类别管理</a> | <a href="Ad_hdp_add.aspx">幻灯广告管理</a> | <a href="Admin_xunjialist.aspx">留言询价管理</a><a href="Ad_hdp_add.aspx"></a> | <a href="Links_manger.aspx">友情链接管理</a> | 

 
    <a href="Ad_info_tuijian.aspx">信息推荐管理 </a> </td>
      </tr>
    </table>      <table style="height:399; width:100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border">
      <form name="form1" method="post" action="Ad_hdp_add.aspx?action=save">
        <tr>
          <td colspan="2" class="Title">　<strong>添加新图片[请上传JPG图片，目前不支持GIF，FLASH等文件]：</strong></td>
        </tr>
        <tr class="tdbg">
          <td style="width:18%" align="center"><strong>图片名称01:</strong></td>
          <td style="width:82%"><input name="shuomin01" type="text" size="20" style="width:300" /></td>
        </tr>
        <tr class="tdbg">
          <td style="width:18%" align="center"><strong>链接地址01:</strong></td>
          <td><input name="httpurl01" type="text" size="20" style="width:300" /></td>
        </tr>
        <tr class="tdbg">
          <td style="width:18%" align="center"><strong>图片地址01:</strong></td>
          <td><input name="picurl01" type="text" id="picurl" style="width:300" size="20" />
              　
              <input type="button" name="Submit2" value="上传图片" onclick="window.open('../../Include/load.aspx?formname=form1&editname=picurl01&uppath=/ad/ihdp/&imagename=&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')" />
              <font color="#FF0000">支持jpg</font></td>
        </tr>
        <tr class="tdbg">
          <td colspan="2" align="center"><hr width="100%" size="1"></td>
        </tr>
        <tr class="tdbg">
          <td style="width:18%" align="center"><strong>图片名称02:</strong></td>
          <td style="width:82%"><input name="shuomin02" type="text" size="20" style="width:300" /></td>
        </tr>
        <tr class="tdbg">
          <td style="width:18%" align="center"><strong>链接地址02:</strong></td>
          <td><input name="httpurl02" type="text" size="20" style="width:300" /></td>
        </tr>
        <tr class="tdbg">
          <td style="width:18%" align="center"><strong>图片地址02:</strong></td>
          <td><input name="picurl02" type="text" id="picurl" style="width:300" size="20" />
              　
              <input type="button" name="Submit2" value="上传图片" onclick="window.open('../../Include/load.aspx?formname=form1&editname=picurl02&uppath=/ad/ihdp/&imagename=&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')" />
              <font color="#FF0000">支持jpg</font></td>
        </tr>
        <tr class="tdbg">
          <td colspan="2" align="center"><hr width="100%" size="1"></td>
        </tr>
        <tr class="tdbg">
          <td style="width:18%" align="center"><strong>图片名称03:</strong></td>
          <td style="width:82%"><input name="shuomin03" type="text" size="20" style="width:300" /></td>
        </tr>
        <tr class="tdbg">
          <td style="width:18%" align="center"><strong>链接地址03:</strong></td>
          <td><input name="httpurl03" type="text" size="20" style="width:300" /></td>
        </tr>
        <tr class="tdbg">
          <td style="width:18%" align="center"><strong>图片地址03:</strong></td>
          <td><input name="picurl03" type="text" id="picurl" style="width:300" size="20" />
              　
              <input type="button" name="Submit2" value="上传图片" onclick="window.open('../../Include/load.aspx?formname=form1&editname=picurl03&uppath=/ad/ihdp/&imagename=&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')" />
              <font color="#FF0000">支持jpg</font></td>
        </tr>
        <tr class="tdbg">
          <td colspan="2" align="center"><hr width="100%" size="1"></td>
        </tr>
        <tr class="tdbg">
          <td style="width:18%" align="center"><strong>图片名称04:</strong></td>
          <td style="width:82%"><input name="shuomin04" type="text" size="20" style="width:300" /></td>
        </tr>
        <tr class="tdbg">
          <td style="width:18%" align="center"><strong>链接地址04:</strong></td>
          <td><input name="httpurl04" type="text" size="20" style="width:300" /></td>
        </tr>
        <tr class="tdbg">
          <td style="width:18%" align="center"><strong>图片地址04:</strong></td>
          <td><input name="picurl04" type="text" id="picurl" style="width:300" size="20" />
              　
              <input type="button" name="Submit2" value="上传图片" onclick="window.open('../../Include/load.aspx?formname=form1&editname=picurl04&uppath=/ad/ihdp/&imagename=&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')" />
              <font color="#FF0000">支持jpg</font></td>
        </tr>
        <tr class="tdbg">
          <td colspan="2" align="center"><hr width="100%" size="1"></td>
        </tr>
        <tr class="tdbg">
          <td style="width:18%" align="center"><strong>图片名称05:</strong></td>
          <td style="width:82%"><input name="shuomin05" type="text" size="20" style="width:300" /></td>
        </tr>
        <tr class="tdbg">
          <td style="width:18%" align="center"><strong>链接地址05:</strong></td>
          <td><input name="httpurl05" type="text" size="20" style="width:300" /></td>
        </tr>
        <tr class="tdbg">
          <td style="width:18%" align="center"><strong>图片地址05:</strong></td>
          <td><input name="picurl05" type="text" id="picurl" style="width:300" size="20" />
              　
              <input type="button" name="Submit2" value="上传图片" onclick="window.open('../../Include/load.aspx?formname=form1&editname=picurl05&uppath=/ad/ihdp/&imagename=&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')" />
              <font color="#FF0000">支持jpg</font></td>
        </tr>
        <tr class="tdbg">
          <td colspan="2" align="center"><hr width="100%" size="1"></td>
        </tr>
        <tr align="center" class="tdbg">
          <td colspan="2">备注信息：
              <input name="beizhu" type="text" size="20" style="width:300" /></td>
        </tr>
        <tr align="center" class="tdbg">
          <td colspan="2"><input type="submit" name="Submit2" value=" 添 加 幻 灯 广 告 图 片 " class="input" /></td>
        </tr>
      </form>
    </table></td>
  </tr>
</table>
<br>
<table style="width:100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table style="height:0; width:100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border">
    <form name="news" id="news" method="post" action="Ad_hdp_add.aspx?action=delall">
      <tr align="center" class="Title">
        <td style="width:40"><div align="center"><strong>ID</strong></div></td>
        <td style="width:150"><div align="center"><strong>图片备注</strong></div></td>
        <td style="width:350"><div align="center"><strong>图片地址</strong></div></td>
        <td><div align="center"><strong>代码(请将代码放到模板里)</strong></div></td>
        <td style="width:100"><div align="center"><strong>操作</strong></div></td>
      </tr>
      <%Do While Not Rs.EOF%>
      <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
        <td style="height:30; width:40"><div align="center"><%=rs("id").Value%></div></td>
        <td style="height:30; width:150"><div align="left"><%=rs("beizhu").Value%></div></td>
        <td style="height:30; width:350"><div align="left">
            <table style="height:80; width:100%"  border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td style="width:20%"><div align="center"><a href="<%=AppConst.SiteUrl%>/AD/IHDP/<%=rs("picurl01").Value%>" target="_blank"><img src="<%=AppConst.SiteUrl%>/AD/IHDP/<%=rs("picurl01").Value%>" alt="点击查看大图片" width="60" height="60" border="0" /></a></div></td>
                <td style="width:20%"><div align="center"><a href="<%=AppConst.SiteUrl%>/AD/IHDP/<%=rs("picurl02").Value%>" target="_blank"><img src="<%=AppConst.SiteUrl%>/AD/IHDP/<%=rs("picurl02").Value%>" alt="点击查看大图片" width="60" height="60" border="0" /></a></div></td>
                <td style="width:20%"><div align="center"><a href="<%=AppConst.SiteUrl%>/AD/IHDP/<%=rs("picurl03").Value%>" target="_blank"><img src="<%=AppConst.SiteUrl%>/AD/IHDP/<%=rs("picurl03").Value%>" alt="点击查看大图片" width="60" height="60" border="0" /></a></div></td>
                <td style="width:20%"><div align="center"><a href="<%=AppConst.SiteUrl%>/AD/IHDP/<%=rs("picurl04").Value%>" target="_blank"><img src="<%=AppConst.SiteUrl%>/AD/IHDP/<%=rs("picurl04").Value%>" alt="点击查看大图片" width="60" height="60" border="0" /></a></div></td>
                <td style="width:20%"><div align="center"><a href="<%=AppConst.SiteUrl%>/AD/IHDP/<%=rs("picurl05").Value%>" target="_blank"><img src="<%=AppConst.SiteUrl%>/AD/IHDP/<%=rs("picurl05").Value%>" alt="点击查看大图片" width="60" height="60" border="0" /></a></div></td>
              </tr>
            </table>
        </div></td>
        <td><div align="center">
            
            <table style="width:100%"  border="0" cellspacing="1" cellpadding="0">
              <tr>
                <td style="height:20"><div align="center"><textarea name="textarea" style="width:100%;height:50"><iframe marginheight="0" marginwidth="0" width="200" height="150" frameborder="0" scrolling="no" src="/ad/Flashad.aspx?id=<%=rs("id").Value%>"></iframe></textarea>
              </div></td>
              </tr>
            </table>
        </div></td>
        <td><div align="center"><a href="Ad_hdp_edit.aspx?id=<%=rs("id").Value%>">修改</a> <a href="Ad_hdp_add.aspx?action=del&id=<%=rs("id").Value%>">删除</a>&nbsp;<input type="checkbox" name="id" value="<%=rs("id").Value%>" class="box1" /></div></td>
      </tr>
      <%Rs.MoveNext() : Loop%>
        <tr>
          <td style="height:22" colspan="6"><div align="right"><input type="button" name="Submit22" value="反选" onclick="selectall()" />
            <input type="submit" name="Submit2" value="删除所选" /></div></td>
        </tr>
      </form>
    </table></td>
  </tr>
</table>
</body>
<%Page_Loaded()%>
</html>
