<!--#include file="../prohead.asp"-->
<script language="javascript">
function show_sader(mylink)
{
window.open(mylink,'','top=50,left=120,width=457,height=450,scrollbars=yes')
}
</script>
<%
const MaxPerPage=17
dim totalPut 
dim CurrentPage
dim TotalPages
dim i
if Chkrequest(request("page")) then
currentPage=request("page")
else
currentPage=1
end if
dim sql
dim rs
dim gsid,qymc
gsid=session("id")
sql="select * from work where gsid="&gsid&" order by info_ID desc"
set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1 
if rs.eof and rs.bof then 
response.write "<script language='javascript'>"
response.write "alert('您还没有发布招聘信息，请发布！');"
response.write"this.location.href='work.asp';</SCRIPT>"
response.end 
else 
totalPut=rs.recordcount 
if currentpage<1 then 
currentpage=1 
end if 
if (currentpage-1)*MaxPerPage>totalput then 
if (totalPut mod MaxPerPage)=0 then 
currentpage= totalPut \ MaxPerPage 
else 
currentpage= totalPut \ MaxPerPage + 1 
end if 
end if 
if currentPage=1 then 
showContent 
showpage totalput,MaxPerPage,"edit.asp"
content 
else 
if (currentPage-1)*MaxPerPage<totalPut then 
rs.move (currentPage-1)*MaxPerPage 
dim bookmark 
bookmark=rs.bookmark 
showContent 
showpage totalput,MaxPerPage,"edit.asp"
content 
else 
currentPage=1 
showContent 
showpage totalput,MaxPerPage,"edit.asp"
content 
end if 
end if 
end if 
sub showContent 
%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
 
<TABLE cellSpacing=0 cellPadding=0 width=778 border=0>
  <TBODY>
  <TR>
    <TD vAlign=top align=middle width=150>
      <SCRIPT LANGUAGE='JavaScript' SRC='../images/left.js' TYPE='text/javascript'></script>

      <TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
        <TBODY>
        <TR>
          <TD vAlign=top align=middle width=150 
          background=../images/leftmanu_bg.gif>
            <TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
              <TBODY>
              <TR>
                <TD width=150 
                  background=../images/leftmanu_topbg.gif><IMG height=30 
                  src="../images/leftmanu_top.gif" 
              width=150></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
              <TBODY>
              <TR>
                <TD class=leftmenu1 
                onclick="location.href='../index.asp'"><IMG 
                  height=18 src="../images/leftmanu_home.gif" width=16 
                  align=absMiddle> 商务助手首页</TD></TR><TR>
                <TD class=leftmenu1 
                onclick=javascript:menu_display(table1,img1);><IMG id=img1 
                  height=16 src="../images/fold_2.gif" width=16 
                  align=absMiddle> 发布商业信息</TD></TR>
              <TBODY id=table1><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../tradeinfo/add_info.asp">发布供求信息</A> </TD>
                    </TR><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../tradeinfo/edit.asp">管理供求信息</A> </TD>
                    </TR><!-- 正常情况下  -->
			  <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../productshow/add_product.asp">发布产品信息</A> </TD>
                    </TR><!-- 正常情况下  -->
			   <TR>

                      <TD class=leftmenu2><IMG src="../images/plus.gif"> 

					  <A 

                  class=linkstyle2 

                  href="../productshow/edit.asp">管理产品信息</A></TD>

                    </TR><!-- 正常情况下  --><TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../modify/modify_mine.asp">展会信息管理</A> </TD>
                    </TR>



              



              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../corporation/company_edit.asp">公司介绍</A></TD>
                    </TR><!-- 正常情况下  -->
					<TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../bizre/index.asp">商贸通档案</A></TD>
                    </TR><!-- 正常情况下  --></TBODY>
              <TBODY>
              <TR>
                <TD class=leftmenu1 onclick=menu_display(table2,img2)><IMG 
                  id=img2 height=16 src="../images/fold_2.gif" width=16 
                  align=absMiddle> 查看商业往来</TD></TR>
              <TBODY id=table2><!-- 正常情况下  -->
               <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../getprice/receivemessagelist.asp">我收到的留言</A> </TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../getprice/sendmessagelist.asp">我发出的留言</A> </TD>
                    </TR>
					              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../getprice/sendnewmessage.asp">发新留言</A> </TD>
                    </TR><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../myemail/index.asp">我订阅的信息</A></TD>
                    </TR><!-- 正常情况下  -->
              <TR>

                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 

                  class=linkstyle2 

                  href="../myfriend/index.asp">我的商业伙伴</A> </TD>

                    </TR><TR>

                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 

                  class=linkstyle2 

                  href="../trust/index.asp">会员评价</A> </TD>

                    </TR></TBODY>
              
              <TR>
                    <TD class=leftmenu1 onclick=menu_display(table3,img3)><IMG 
                  id=img3 height=16 src="../images/fold_1.gif" width=14 
                  align=absMiddle> 我的会员资料</TD>
                  </TR>
              <TBODY id=table3 style="DISPLAY: none"><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../modify/modify_info.asp">修改注册信息</A> </TD>
                    </TR><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../modify/modify_pass.asp">修改密码</A> </TD>
                    </TR><!-- 正常情况下  -->
                    <TD class=leftmenu1 onclick=menu_display(table4,img4)><IMG 
                  id=img4 height=16 src="../images/fold_1.gif" width=14 
                  align=absMiddle> 我的自助网站</TD>
                  </TR>
              <TBODY id=table4 style="DISPLAY: none">
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../corporation/webmod.asp">网站模板选择</A></TD>
                    
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../corporation/cimg_add.asp?id=<%=session("id")%>">上传公司图片</A> </TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../feedback/contact_edit.asp?id=<%=session("id")%>">客户反馈管理</A></TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="work.asp">发布招聘信息</A></TD>
                    </TR>
			  <TR>
                   <TD class=leftmenu3 height=29><IMG src="../images/minus.gif"> 
					  <A 
                  class=linkstyle3 
                  href="edit.asp"><STRONG>管理招聘信息</STRONG></a> <IMG src="../images/now.gif"></TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../../companyweb.asp" 
                  target=_blank>浏览我的网站</A></TD>
                    </TR></TBODY>
              <TBODY>
              <TR>
                <TD class=leftmenu1 
                onclick="javascript:window.open('../../help/index.asp')"><IMG 
                  id=img5 src="../images/leftmenu_help.gif" 
                  align=absMiddle> 帮助</TD></TR></TBODY></TABLE>
            <IMG height=6 
            src="../images/leftmanu_bottom.gif" width=150><BR><BR>
            
            <!--#include file="../guestsubmit.asp"-->
            <BR><BR></TD></TR>
        </TABLE><BR><BR><BR></TD>
    <TD 
    style="BACKGROUND-POSITION: right 50%; BACKGROUND-IMAGE: url(i../mages/bg1.gif); BACKGROUND-REPEAT: repeat-y; BACKGROUND-COLOR: #ffffff" 
    vAlign=top align=middle width=628>
      <TABLE cellSpacing=0 cellPadding=0 width=628 border=0>
        <TBODY>
        <TR>
          <TD width=459><IMG height=30 
            src="../images/leftmanu_top1.gif" width=459></TD>
          <TD vAlign=top width=141 
          background=../images/top_nav_bg2.gif></TD>
          <TD width=28><IMG height=30 src="../images/top_nav_5.gif" 
            width=28></TD></TR></TBODY></TABLE><BR>
      <TABLE cellSpacing=0 cellPadding=0 width=578 border=0>
        <TBODY>
        <TR>
              <TD><IMG height=32 src="../images/edit_work.gif" width=578 
            border=0></TD>
            </TR></TBODY></TABLE>
        <TABLE align="center" cellSpacing=0 cellPadding=0 width="100%" border=0 style="border-collapse: collapse">
          <TBODY>
<tr>
<TD width="100%" bgcolor="#FFFFFF" height="75" valign="top">

<table align="center" border="0" cellspacing="0" style="border-collapse: collapse" width="578" id="AutoNumber1" cellpadding="0">
                  <tr>
<TD align=middle width="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" id="AutoNumber1">
<tr>
<td width="100%"> 

<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse"> 
<tr>
<td align="center" width="100%" valign="top"> 
<table border="0" cellspacing="0" style="border-collapse: collapse" width="578" id="AutoNumber6" cellpadding="0">
                                      <tr>
<td align="center" width="100%" bgcolor="#FBFDFF"> 

<table border="0" cellspacing="0" cellpadding="0" width="100%" style="border-collapse: collapse" height="15"> 
<TR><TD height="10" width="100%" bgcolor="#FBFDFF"></TD></TR>
</TABLE> 
                                        <table border="1" style="border-collapse: collapse" bordercolor="#111111" width="98%" id="AutoNumber7" height="50" bordercolorlight="#ACD6FF" cellspacing="1" cellpadding="3" bordercolordark="#ACD6FF">
                                          <tr> 
                                            <td width="26%" bgcolor="#DDEEFF" height="23"> 
                                              <div align="center"> <span style="LETTER-SPACING: 5px">招聘职位</span></div></td>
                                            <td width="12%" bgcolor="#DDEEFF" height="23"> 
                                              <p align="center">发布日期</td>
                                            <td height="23" colspan="2" bgcolor="#DDEEFF"> 
                                              <p align="center">操作</td>
                                          </tr>
                                          <%do while not rs.eof%>
                                          <tr> 
                                            <td width="26%" height="23" bgcolor="#FFFFFF"> 
                                              &nbsp;<a style="text-decoration: none" href="javascript:show_sader(&quot;work_info.asp?info_id=<%=rs("info_id")%>&quot;)"><%=rs("showname")%></a></td>
                                            <td width="12%" height="23" bgcolor="#FFFFFF"> 
                                              <p align="left"><%=rs("dateandtime")%></td>
                                            <td width="9%" height="23" bgcolor="#FFFFFF"> 
                                              <p align="center"> <a href="edit1.asp?info_id=<%=rs("info_id")%>"> 
                                                <img border="0" src="../IMAGES/Edit_2.gif"></a></td>
                                            <td width="7%" height="23" bgcolor="#FFFFFF"> 
                                              <p align="center"> <a href="del.asp?ID=<%=rs("info_id")%>"> 
                                                <img border="0" src="../IMAGES/A_delete.gif"></a></td>
                                          </tr>
                                          <% 
i=i+1
if i>=MaxPerPage then exit do 
rs.movenext 
loop 
rs.close 
set rs=nothing 
%>
                                        </table>
<%
end sub 
function showpage(totalnumber,maxperpage,filename) 
dim n 
if totalnumber mod maxperpage=0 then 
n= totalnumber \ maxperpage 
else 
n= totalnumber \ maxperpage+1 
end if 
response.write "<form method=Post action="&filename&">" 
if CurrentPage<2 then 
response.write "<table border=0 width=98% cellspacing=0 cellpadding=0>"
response.write "<tr height=0><td colspan=2></td></tr>"
response.write "<tr height=0>"
response.write "<td align=left valign=top>"
response.write "<font color=red><b>共"&n&"页&nbsp;第"&CurrentPage&"页 " 
response.write "共发布"&totalnumber&"&nbsp;条信息</b></font>" 
response.write "</td>"
response.write "<td VALIGN=middle align=right >"
response.write "【最前页】【上一页】" 
else 
response.write "<table border=0 width=98% cellspacing=0 cellpadding=0>"
response.write "<tr height=0><td colspan=2></td></tr>"
response.write "<tr height=0>"
response.write "<td align=left valign=top>"
response.write "<font color=red><b>共"&n&"页&nbsp;第"&CurrentPage&"页 " 
response.write "共发布"&totalnumber&"&nbsp条信息</b></font>" 
response.write "</td>"
response.write "<td VALIGN=center align=right >"
response.write "【<a href="&filename&"?page=1&id="&gsid&">最前页</a>】" 
response.write "【<a href="&filename&"?page="&CurrentPage-1&"&id="&gsid&">上一页</a>】" 
end if 
if n-currentpage<1 then 
response.write "【下一页】【最后页】" 
else 
response.write "【<a href="&filename&"?page="&(CurrentPage+1)&"&id="&gsid&">" 
response.write "下一页</a>】【 <a href="&filename&"?page="&n&"&id="&gsid&">最后页</a>】" 
end if 
response.write "</form>" 
response.write "</td>"
response.write "</tr>"
response.write "</table>"
end function
%>
</tr>
</table>
</table>
</center>
</td> 
<%sub content%> 
</tr> 
</table> 
<%end sub%>
</td>
</tr>
</table>

</TD>
</tr>
</TBODY></TABLE>
<BR><BR></TD></TR>
  </TABLE><IMG 
height=10 src="../images/bottom.gif" width=778><BR>
<!--#include file="../end.asp"-->
