<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.user_User_classad_list" %>
<%On Error Resume Next%>
<script type="Text/JavaScript" language="JavaScript">
//提示信息
function Working(URL,Msg){
	if(confirm(Msg)){
		window.location=URL;
	}
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>我发布的分类信息</title>
<link href="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/style.css" rel="stylesheet" type="text/css" />
<meta http-equiv=Content-Type content="text/html; charset=gb2312" />
</head>
<body>
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table style="width:600" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td style="width:100"><div align="center"><a href="User_classad_list.aspx"><img src="images/classad_02.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100"><div align="center"><a href="User_classad_add.aspx"><img src="images/classad_01.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100">
            <div align="center"><a href="user_info_list.aspx"><img height="48" src="images/j_resume_modify.gif" width="50" border="0" /></a></div></td>
        <td style="width:100">
            <div align="center"><a href="user_info_add.aspx"><img height="48" src="images/j_position_supply.gif" width="50" border="0" /></a></div></td>
        <td style="width:100">
            <div align="center"><a href="User_products_list.aspx"><img height="48" src="images/photo_all.gif" width="50" border="0" /></a></div></td>
        <td style="width:100">
            <div align="center"><a href="User_products_add.aspx"><img height="48" src="images/photo_add.gif" width="50" border="0" /></a></div></td>
      </tr>
      <tr>
        <td style="width:100"><div align="center"><strong>我的分类信息</strong></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:100"><div align="center"><strong>我的产品</strong></div></td>
        <td style="width:100"><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" align="center" cellpadding="0" cellspacing="0">
          <tr valign="top">
            <td colspan="2" class="tableBorder06" style="padding:1px"><table style="width:100%"  border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td valign="top"><table style="width:100%" border="0" cellpadding="4" cellspacing="0">
                    <tr>
                      <td style="width:100%">(可发布的产品信息总数 <span class="00002"><strong><%=GetMemberClassadnum()%></strong></span> 条) (您已经成功发布 <u class="00002"><%=Rs.RecordCount%></u> 条分类信息！)(<span class="00002"><U><%=CountClassadElapse()%></u></span> 条已过期) (<span class="00002"><U><%=CountClassadChecking()%></u></span> 条未审核) </td>
                                                        <td style="width:125" align="right"><a href="javascript:Working('User_Info_action.aspx?S=refreshad','您确定要刷新所有的供求信息吗？')"><img src="images/refresh_info.gif" width="110" height="22" border="0" /></a></td>
                    </tr>
                  </table>
                  <table style="width:100%"  border="0" cellspacing="1" cellpadding="1">
                      <tr style="background-color:#FFEFD7">
                        <td style="height:25; width:90"><div align="center"><strong>信息图片</strong></div></td>
                        <td><strong>信息标题</strong></td>
                        <td style="width:60"><div align="center"><strong>信息类别</strong></div></td>
                        <td style="height:25; width:60"><div align="center"><strong>生效日期</strong></div></td>
                        <td style="width:60"><div align="center"><strong>截止日期</strong></div></td>
                        <td style="width:60"><div align="center"><strong>审核状态</strong></div></td>
                        <td style="width:80"><div align="center"><strong>管理操作</strong></div></td>
                        </tr>
                        <%If Rs.EOF Then%><tr><td align=center colspan=3><font color='#ff0000'>还没有任何分类信息......</font></td></tr><%End If%>
                      <%Dim i = 1 : Do While Not Rs.EOF AndAlso i <= Rs.PageSize%>
                      <tr style="background-color:<%="#f7f7f7,#ffffff".Split(",")(i Mod 2)%>"  onmouseover="this.style.backgroundColor='#f2f2f2'" onmouseout="this.style.backgroundColor=''">
                        <td style="height:25; width:90"><div align="center"><%If Not IsNull(rs("pic").Value) Then%>
              <table style="background-color:#CCCCCC; height:80; width:80" border="0" cellpadding="1" cellspacing="1" bordercolor="#CCCCCC">
                <tr>
                  <td style="background-color:#FFFFFF"><div align="center"><img src="<%=AppConst.SiteUrl%>/upload/classad/<%=rs("pic").Value%>" width="75" height="75" /></div></td>
                </tr>
              </table>
              <%Else%>
              <table style="background-color:#CCCCCC; height:80; width:80" border="0" cellpadding="1" cellspacing="1" bordercolor="#CCCCCC">
                <tr>
                  <td style="background-color:#FFFFFF"><div align="center">无图</div></td>
                </tr>
              </table><%End If%></div></td>
                        <td style="height:25">&nbsp;<%If (rs("mark").Value=1) Then%><a target="_blank" href="<%=GetDetailUrl(rs("adid").Value, "classad")%>" title="此广告信息已经审核通过，点击查看"><%Else%><a href="user_classad_edit.aspx?id=<%=rs("adid").Value%>" title="此广告信息未审核，点击修改"><%End If%><%=rs("title").Value%></a>
                <%If (rs("ispic").Value="yes") Then%>
                <font color="#FF0000">图</font>
                <%End If%></td>
                        <td style="height:25; width:60"><div align="center"><%=rs("type").Value%></div></td>
                        <td style="height:25; width:60"><div align="center"><%=String.Format("{0:yyyy-MM-dd}", rs("time").Value)%></div></td>
                        <td style="height:25; width:60"><div align="center"><%=String.Format("{0:yyyy-MM-dd}", rs("stop").Value)%></div></td>
                        <td style="height:25; width:60"><div align="center"><%If (rs("mark").Value=1) Then%>
                <font color="#008000">已审</font>
                <%Else%>
                <font color="#FF0000">未审</font>
                <%End If%></div></td>
                        <td style="height:25; width:80"><div align="center"><a href="user_classad_edit.aspx?id=<%=rs("adid").Value%>"><font color="green">修改</font></a>　<a href="javascript:Working('?send=Del&id=<%=Rs("adid").Value%>','您确定要删除这条信息吗，这将是不可撤消的？')" >删除</a></div></td>
                        </tr>
                      <%i=i+1 : rs.movenext() : loop%>
                    </table>
                    <table style="width:100%" border="0" cellpadding="3" cellspacing="0">
                        <tbody>
                          <tr style="background-color:#EFEFEF">
                            <td style="background-color:#F6F6F6; height:18" align="middle"><%=Pagination(rs.pagecount,IsNull(Request("page"),1),rs.recordcount,rs.pagesize,"")%></td>
                          </tr>
                        </tbody>
                    </table></td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td style="height:4" colspan="2"></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
<%Page_Loaded()%>
</html>
