<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.user_user_adv_list" %>
<%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="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/style.css" rel="stylesheet" type="text/css" />
<title>我发布的广告</title>
<script type="Text/JavaScript" language="JavaScript">
//提示信息
function Working(URL,Msg){
	if(confirm(Msg)){
		window.location=URL;
	}
}
</script>
</head>
<body>
<table style="width:100%"  border="0" cellspacing="0" cellpadding="0">
</table>
  <table style="width:100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><table style="width:700" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td style="width:100"><div align="center"><a href="user_adv_list.aspx"><img src="images/adv_01.gif" width="50" height="48" border="0" /></a></div></td>
          <td style="width:100"><div align="center"><a href="user_adv_sendphoto.aspx"><img src="images/adv_02.gif" width="50" height="48" border="0" /></a><a href="user_Friend_add.aspx"></a><a href="User_guest_company.aspx"></a></div></td>
          <td style="width:100"><div align="center"><a href="user_adv_sendkeyword.aspx"><img src="images/adv_03.gif" width="50" height="48" border="0" /></a><a href="user_Friend_class.aspx"></a><a href="User_guest_Send.aspx"></a></div></td>
          <td style="width:100"><div align="center">
              <div align="center"><a href="user_adv_site.aspx"><img height="48" src="images/adv_04.gif" width="50" border="0" /></a></div>
            <a href="User_work_search.aspx"></a></div></td>
          <td style="width:100"><div align="center">
              <div align="center"><a href="user_adv_sendinfo.aspx"><img height="48" src="images/adv_05.gif" width="50" border="0" /></a></div>
            <a href="User_work_favorite.aspx"></a></div></td>
          <td style="width:90"><div align="center">
              <div align="center"><a href="user_adv_sendproduct.aspx"><img height="48" src="images/adv_06.gif" width="50" border="0" /></a></div>
            <a href="User_work_person.aspx"></a></div></td>
          <td style="width:110"><div align="center">
              <div align="center"><a href="user_adv_sendcompany.aspx"><img height="48" src="images/adv_07.gif" width="50" border="0" /></a><a href="User_system_main.aspx"></a><a href="User_products_add.aspx"></a></div>
            <a href="User_work_search.aspx"></a></div></td>
        </tr>
        <tr>
          <td style="width:100"><div align="center"><strong>我发布的广告</strong></div></td>
          <td style="width:100"><div align="center">
              <p><strong>发布图片广告</strong></p>
          </div></td>
          <td style="width:100"><div align="center"><strong>发布关键词广告</strong></div></td>
          <td style="width:100"><div align="center"><strong>查看图片广告位</strong><strong></strong></div></td>
          <td style="width:100"><div align="center"><strong>发布商机广告</strong></div></td>
          <td style="width:90"><div align="center"><strong>发布产品广告</strong></div></td>
          <td style="width:110"><div align="center"><strong>发布企业大全广告</strong></div></td>
        </tr>
      </table></td>
    </tr>
  </table>
  <table style="width:100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td>&nbsp;</td>
    </tr>
  </table>
  <table style="width:100%; height:24" cellspacing="0" cellpadding="0"  border="0">
    <tr>
      <td style="background-color:#FFF1EB; height:24; width:142" align="center" valign="bottom" class="TDBG1"><strong><span #invalid_attr_id="none"><strong>我发布的广告</strong></span></strong></td>
      <td class="bottom"><div align="right">注意：广告删除后不能恢复，请谨慎使用！</div></td>
    </tr>
  </table>
  <table style="width:100%"  border="0" cellpadding="0" cellspacing="0" class="topnone">
    <tr>
      <td style="background-color:#FFFFFF"><table style="width:100%; height:50" bordercolor="#FFF1EB" cellspacing="0" cellpadding="4" align="center" border="6">
          <tr>
            <td style="height:50" valign="middle" bordercolor="#EDD6CA" class="0008"><table style="width:100%"  border="0" cellpadding="2" cellspacing="1">
              <tr style="background-color:#FEE8DA">
                <td style="height:22" colspan="5"><img src="../images/icon_point.gif" width="18" height="19" /> 图片广告</td>
              </tr>
              <tr style="background-color:#FDF5F0">
                <td style="height:22" bordercolor="#FFFFFF"><div align="center">广告名称</div></td>
                <td style="width:10%"><div align="center">扣除积分</div></td>
                <td style="width:10%"><div align="center">投放时间</div></td>
                <td style="width:10%"><div align="center">到期时间</div></td>
                <td style="width:10%"><div align="center">操 作</div></td>
              </tr>
              <%If photoRs.EOF Then%><tr bgcolor=#FFFFFF><td height=22 colspan=5>没有数据...</td></tr><%End if%>
              <%Do while not photoRs.eof%>
              <tr style="background-color:#FFFFFF" onmouseover="this.style.backgroundColor='#EEEEEE'" onmouseout="this.style.backgroundColor='#FFFFFF'">
                <td style="height:22"><div align="center"><%=photoRs("S_sortname").Value%> | <a href="../Ad/Systemad/<%=photoRs("a_pic").Value%>" target="_blank"><img src="../images/img.gif" alt="点击查看广告图片" width="16" height="14" border="0" /></a><%If (photoRs("A_endtime").Value <= Now()) Then%> | <font color="#FF0000">已过期</font><%End If%>
                </div></td>
                <td><div align="center"><%=photoRs("A_jifen").Value%></div></td>
                <td><div align="center"><%=FormatDateTime(photoRs("A_starttime").Value, 2)%></div></td>
                <td><div align="center"><%=FormatDateTime(photoRs("A_endtime").Value, 2)%></div></td>
                <td><div align="center">
                    <%If (photoRs("A_endtime").Value <= Now()) Then%>
					<a href="javascript:Working('?action=dell&id=<%=photoRs("id").Value%>','您确定要删除这条广告吗，这将是不可撤消的？')" >删 除</a>
                    <%Else%>
                    <font color="#999999">删 除</font>
                    <%End If%>
                </div></td>
              </tr>
              <%photoRs.movenext() : loop%>
            </table>
              <table style="width:100%"  border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td>&nbsp;</td>
                </tr>
              </table>
              <table style="width:100%"  border="0" cellpadding="2" cellspacing="1">
                <tr style="background-color:#FEE8DA">
                  <td style="height:22" colspan="7"><img src="../images/icon_point.gif" width="18" height="19" /> 行业关键词广告提交</td>
                </tr>
                <tr style="background-color:#FDF5F0">
                  <td style="height:22"><div align="center">关键词</div></td>
                  <td style="height:22"><div align="center">广告类型</div></td>
                  <td style="height:22"><div align="center">投放位置</div></td>
                  <td style="width:10%"><div align="center">扣除积分</div></td>
                  <td style="width:10%"><div align="center">投放时间</div></td>
                  <td style="width:10%"><div align="center">到期时间</div></td>
                  <td style="width:10%"><div align="center">操 作</div></td>
                </tr>
                <%If keyRs.EOF Then%><tr bgcolor=#FFFFFF><td height=22 colspan=5>没有数据...</td></tr><%End If%>
                <%Do While Not keyRs.EOF%>
                <tr style="background-color:#FFFFFF" onmouseover="this.style.backgroundColor='#EEEEEE'" onmouseout="this.style.backgroundColor='#FFFFFF'">
                  <td style="height:22"><div align="center">
                        <%=keyRs("keyword").Value%><%If (keyRs("datatimed").Value<=now()) Then%>&nbsp;|&nbsp;<font color="#FF0000">已过期</font><%End If%>
                      </div>
                  </td>
                  <td align="center">行业词<%=",banner,擎天柱".Split(",")(keyRs("typeid").Value)%>广告</td>
                  <td align="center"><%=",商业机会,产品展厅,企业大全".Split(",")(keyRs("menuid").Value)%>广告</td>
                  <td><div align="center"><%=keyRs("jifeng").Value%></div></td>
                  <td><div align="center"><%=formatdatetime(keyRs("datatimet").Value,2)%></div></td>
                  <td><div align="center"><%=formatdatetime(keyRs("datatimed").Value,2)%></div></td>
                  <td><div align="center">
                      <%If (keyRs("datatimed").Value<=now()) Then%>
                      <a href="?action=delll&id=<%=keyRs("id").Value%>">删 除</a>
                      <%Else%>
                      <font color="#999999">删 除</font>
                      <%End If%>
                  </div></td>
                </tr>
                <%keyRs.movenext() : loop%>
              </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
</body>
<%Page_Loaded()%>
</html>
