<!--#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 Schid,Username,Cmd,Rs,SQL
Param     = Replace_Text(Request.QueryString("Param"))
'//获取会员登陆的标记
Schid     = Param
'//调用存储过程
Set Cmd = Server.CreateObject("ADODB.Command")
Cmd.ActiveConnection = Conn
Cmd.CommandText = "Sch_View"
Cmd.CommandType = 4
Cmd.Parameters.Append Cmd.CreateParameter("@Schid",200,1,30)
Cmd.Parameters("@Schid") = Schid
Set Rs = Cmd.Execute
If Rs.Eof Then
 CloseRs
 Set Cmd = Nothing
 CloseDB
 Response.write "没有找到会员资料！"
 Response.End()
End if

Tmp = Rs.GetRows() '//将数据填充到数组
'//0院校名,1院校性质,2图片文件,3成立年份,4现有资产,5资金类型,6人员数目,7介绍,8联系人,9电话,10传真,11网站,12邮政编码,13邮件地址,14通信地址,15所在省份,16城市
'//关闭数据库对象
Rs.Close
Set Cmd = Nothing
'//更新显示次数
Conn.Execute("Update [pH_School_Base] Set ViewClicks=ViewClicks+1 Where Schid='"&Schid&"'")

SchoolName              = Tmp(0,0)
Properity               = Tmp(1,0)
BannerFile              = Tmp(2,0)
Set_Year                = Tmp(3,0)
Reg_Currency            = Tmp(4,0)
CurrencyType            = Tmp(5,0)
Workers                 = Tmp(6,0)
School_Memo             = Tmp(7,0)
ContactPerson           = Tmp(8,0)
Phone                   = Tmp(9,0)
Fax                     = Tmp(10,0)
WebHome                 = Tmp(11,0)
ZipCode                 = Tmp(12,0)
Email                   = Tmp(13,0)
Address                 = Tmp(14,0)
Locus_Area              = Tmp(15,0)
Locus_City              = Tmp(16,0)


SchoolType = Cls_SchoolType(Properity)
Currency_Str = Reg_Currency&"万元"&Cls_Currency(CurrencyType)

Locus = Locus_Area&Locus_City
%>

<!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><%= SchoolName&" -- "&Cls_WebName&" | "&c_Name&"站" %></title>
</head>
<body>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td>
      <!--#include file="../../c_Header/Info/School.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="100%" border="0" cellspacing="0" cellpadding="4">
              <tr> 
                <td align="center"><img src="../../Images/Company/welcome.gif" width="149" height="43"></td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="185" 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.gif" width="31" height="33"></td>
                      <td background="../../Images/mid_bg.gif"><strong><font color="#333333">毕业生推荐</font></strong></td>
                      <td width="30"><img src="../../Images/mid_right.gif" width="30" height="33"></td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td align="center">
<table width="90%" border="0" cellspacing="0" cellpadding="0">
                    <% 
SQL = "Select Top 20 S.Perid,I.RealName,I.Speciality From pH_School_Student As S,pH_Person_Info As I Where S.Schid='"&Schid&"' And  S.Perid=I.Perid Order By AddDate Desc"
Set Rs = Conn.Execute(SQL)
If Not Rs.Eof Then
 While Not Rs.Eof
  Perid       = Rs(0)
  RealName    = Rs(1)
  Speciality     = Rs(2)
  Response.write "<tr><td height=25><li><a href=""../../c_Person/Resume/Resume_2.asp?Param="&Perid&""" target=_blank>"&RealName&"</a> "&Speciality&"</td></tr>"
  Rs.Movenext
 Wend 
End if
Rs.Close
 %>
                    <tr> 
                      <td height="10"></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/ar.gif" width="7" height="7"></td>
                      <td height="30" class="font-14"><b><%= Tmp(0,0) %></b></td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td height="21">&nbsp;</td>
                      <td width="21" rowspan="2"><img src="../../Images/Company/company_left.gif" width="22" height="22"></td>
                      <td width="78" rowspan="2" align="center" valign="bottom" background="../../Images/Company/company_wbg.gif"><strong>院校简介</strong></td>
                      <td width="28" rowspan="2"><img src="../../Images/Company/company_middle.gif" width="28" height="22"></td>
                      <td width="80" rowspan="2" align="center" valign="bottom" background="../../Images/Company/company_ybg.gif"><a href="Student.asp?Param=<%= Schid %>">推荐毕业生</a></td>
                      <td width="24" rowspan="2"><img src="../../Images/Company/company_right.gif" width="24" height="22"></td>
                      <td width="30">&nbsp;</td>
                    </tr>
                    <tr> 
                      <td height=1 bgcolor=#ddddda></td>
                      <td height=1 bgcolor=#ddddda></td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td height="10"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td align="center" bgcolor="#FFFFFF"> 
                  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td height="6"></td>
                    </tr>
                  </table>
                  <table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="#eeeeee">
                    <tr bgcolor="f5f5f5"> 
                      <td width="70" height="25"><img src="../../Images/icon3.gif" width="12" height="16"> 
                        院校信息</td>
                      <td>&nbsp;</td>
                      <td width="150"> &nbsp;<img src="../../Images/icon3.gif" width="12" height="16"> 
                        图 标</td>
                    </tr>
                  </table>
                  <table width="98%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td><table width="100%" border="0" cellspacing="1" cellpadding="0">
                          <tr> 
                            <td width="70" height="25" align="right">院校名称：</td>
                            <td height="25"><%= SchoolName %></td>
                          </tr>
                          <tr> 
                            <td width="70" height="25" align="right" bgcolor="f9f9f9">成立日期：</td>
                            <td height="25" bgcolor="f9f9f9"><%= Set_Year %></td>
                          </tr>
                          <tr> 
                            <td width="70" height="25" align="right">院校性质：</td>
                            <td height="25"><%= SchoolType %></td>
                          </tr>
                          <tr> 
                            <td width="70" height="25" align="right">现有资产：</td>
                            <td height="25"><%= Currency_Str %></td>
                          </tr>
                          <tr> 
                            <td width="70" height="25" align="right" bgcolor="f9f9f9">员工人数：</td>
                            <td height="25" bgcolor="f9f9f9"><%= Workers %></td>
                          </tr>
                          <tr> 
                            <td width="70" height="25" align="right">所在地区：</td>
                            <td height="25"><%= Locus %></td>
                          </tr>
                        </table></td>
                      <td width="150" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td height="6"></td>
                          </tr>
                          <tr> 
                            <td align="center"> <% 

 If BannerFile <> Null or BannerFile <> "" Then
  Response.write "<img src=""../../UpLoadFiles/SchoolFile/"&BannerFile&""" width=""135"" height=""160"">"
 Else
  Response.write "<img src=""../../UpLoadFiles/DefaultFile/School.gif"" width=""135"" height=""160"">"
 End if


 %> </td>
                          </tr>
                          <tr> 
                            <td height="6"></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table>
                  <table width="98%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td height="5"></td>
                    </tr>
                  </table>
                  <table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="eeeeee">
                    <tr> 
                      <td height="25" bgcolor="f6f6f6"> &nbsp;<img src="../../Images/icon3.gif" width="12" height="16"> 
                        院校简介</td>
                    </tr>
                  </table>
                  <table width="98%" border="0" cellspacing="1" cellpadding="0">
                    <tr> 
                      <td height="5"></td>
                    </tr>
                    <tr> 
                      <td><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr> 
                            <td><%= School_Memo %></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td height="5"></td>
                    </tr>
                  </table>
                  <table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="eeeeee">
                    <tr> 
                      <td height="25" bgcolor="f6f6f6">&nbsp;<img src="../../Images/icon3.gif" width="12" height="16"> 
                        联系方式</td>
                    </tr>
                  </table>
                  <table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
                    <tr> 
                      <td width="70" height="25" align="right">联系人：</td>
                      <td height="25"><%= ContactPerson %></td>
                    </tr>
                    <tr> 
                      <td width="70" height="25" align="right" bgcolor="f9f9f9">联系电话：</td>
                      <td height="25" bgcolor="f9f9f9"><%= Phone %></td>
                    </tr>
                    <tr> 
                      <td height="25" align="right">传真号码：</td>
                      <td height="25"><%= Fax %></td>
                    </tr>
                    <tr> 
                      <td height="25" align="right" bgcolor="f9f9f9">邮箱地址：</td>
                      <td height="25" bgcolor="f9f9f9"><%= Email %></td>
                    </tr>
                    <tr> 
                      <td height="25" align="right">院校网址：</td>
                      <td height="25"><%= WebHome %></td>
                    </tr>
                    <tr> 
                      <td height="25" align="right" bgcolor="f9f9f9">邮政编码：</td>
                      <td height="25" bgcolor="f9f9f9"><%= ZipCode %></td>
                    </tr>
                    <tr> 
                      <td height="25" align="right">通讯地址：</td>
                      <td height="25"><%= Address %></td>
                    </tr>
                  </table>
                  <table width="98%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td height="5"></td>
                    </tr>
                  </table></td>
              </tr>
             
            </table> </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
 %>
