<!--#include file="../../Include/Class_Conn.asp" -->
<!--#include file="../../Include/Class_Main.asp" -->
<% 
'地区分站参数
Dim c_City,c_Name
If Session("c_City") = "" Then 
 Response.Redirect "../Index.asp"
 Response.End()
End if
c_City = Session("c_City")
c_Name = Session("c_Name")

Dim Param
Dim Corid,Username,Cmd,Rs,SQL

Corid     = Replace_Text(Request.QueryString("Param"))
Set Rs = Conn.Execute("Select CorpName From [pH_Intro_Base] Where Corid='"&Corid&"'")
If Rs.eof Then
 Response.write "没有找到会员资料！"
 Response.End()
Else
 CorpName = Rs("CorpName")
End if
Rs.Close

%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../../Css/Style.css" type=text/css rel=stylesheet>
<title><%= Cls_WebName&" | "&c_Name&"站" %> - <%= CorpName %> - 招聘职位</title>
</head>
<body>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td>
      <!--#include file="../../c_Header/Info/Intro.asp" -->
      <table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr> 
          <td height="4"></td>
        </tr>
      </table>
      <table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr valign="top"> 
          <td width="195"> <table width="185" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td width="31" height="33"><img src="../../Images/mid_left_intro.gif" width="31" height="33"></td>
                            <td background="../../Images/mid_bg.gif" class="font-14"><strong><font color="#aa0400">中介公司</font></strong></td>
                            <td width="30"><img src="../../Images/mid_right.gif" width="30" height="33"></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td height="45" align="center"><a href="Index.asp?Param=<%= Corid %>"><img src="../../Images/Intro/left.gif" width="149" height="44" border="0"></a></td>
                    </tr>
                    <tr> 
                      <td height="45" align="center"><a href="Jobs.asp?Param=<%= Corid %>"><img src="../../Images/Intro/left_2.gif" width="149" height="44" border="0"></a></td>
                    </tr>
                    <tr> 
                      <td height="45" align="center"><a href="GuestBook.asp?Param=<%= Corid %>"><img src="../../Images/Intro/left_4.gif" width="149" height="44" border="0"></a></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
          <td width="1" bgcolor="#cfd0cf"></td>
          <td width="10"></td>
          <td width="554" align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="25" align="center"><img src="../../Images/intro/arrow1.gif" width="13" height="9"></td>
                      <td height="25" class="font-14"><a href="Index.asp?Param=<%= Corid %>"><b><%= CorpName %></b></a></td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td height="10" background="../../Images/Company/bg.gif"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td bgcolor="#aa0400" height="2"></td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
              <tr align="center" bgcolor="f5f5f5"> 
                <td width="22%" height="25" bgcolor="f5f5f5">职位编号</td>
                <td height="25">职位名称</td>
                <td width="18%" height="25" bgcolor="f5f5f5">招聘人数</td>
                <td width="18%" height="25">发布日期</td>
              </tr>
              <% 
SQL = "Select Ncid,JobName,Number,AddDate From [pH_Intro_Job] Where Flag=1 And Corid='"&Corid&"' Order by AddDate Desc"

Set Rs = Server.CreateObject("ADODB.Recordset")
Rs.open SQL,Conn,1,1
Rs.Pagesize = 20
Psize       = Rs.PageSize
PCount      = Rs.PageCount
RCount      = Rs.RecordCount

PageNo = Cint(Request.QueryString("PageNo"))
If PageNo < 1 Then
 PageNo = 1
Elseif PageNo > PCount Then
 PageNo = PCount
End if
If Not Rs.Eof Then Rs.AbsolutePage = PageNo

For i = 1 to Psize
  If Rs.Eof Then Exit For
	Ncid = Rs("Ncid")
	JobName = Rs("JobName")
	Number = Rs("Number")
	AddDate = FormatDateTime(Rs("AddDate"),2)

	Id = Year(AddDate)&Month(AddDate)&Cls_Ncidstr(Ncid)
	If Number = 0 Then Number = "若干人"
 %>
              <tr align="center" bgcolor="#FFFFFF"> 
                <td height="25"><a href="Job.asp?Corid=<%= Corid %>&Param=<%= Ncid %>" target="_blank"><%= Id %></a></td>
                <td><%= JobName %></td>
                <td><%= Number %></td>
                <td><%= AddDate %></td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td height="1" colspan="4" bgcolor="#dddddd"></td>
              </tr>
              <% 
  Rs.Movenext
 Next

 %>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="4">
              <tr> 
                <td width="50%" height="25">共<Font color="#FF0000"><%= RCount %></Font>条 
                  分<Font color="#FF0000"><%= PCount %></Font>页 | 当前第<Font color="#FF0000"><%= PageNo %></Font>页</td>
                <td width="50%" align="right"> 
                  <% 
		  If PageNo > 1 Then
		   Response.write "<a href=""?PageNo=1&Param="&Corid&""">首页</a>&nbsp;"
		   Response.write "<a href=""?PageNo="&PageNo-1&"&Param="&Corid&""">上页</a>&nbsp;"    
		  Else
		   Response.write "首页&nbsp;"
		   Response.write "上页&nbsp;" 
		  End if
		 
		  If PageNo < PCount Then
		   Response.write "<a href=""?PageNo="&PageNo+1&"&Param="&Corid&""">下页</a>&nbsp;"
		   Response.write "<a href=""?PageNo="&PCount&"&Param="&Corid&""">尾页</a>"   
		  Else
		   Response.write "下页&nbsp;"
		   Response.write "尾页" 
		  End if
		   %>
                </td>
              </tr>
            </table> </td>
        </tr>
      </table>
      <table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="1" bgcolor="#eeeeee"></td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td>
      <!--#include file="../../c_Include/Info/Footer.asp" -->
    </td>
  </tr>
</table>
</body>
</html>
<% 

'//关闭数据库连接
Set Rs = Nothing
CloseDB
 %>
