<!--#include file="../../Include/Class_Conn.asp" -->
<!--#include file="../../Include/Class_Main.asp" -->
<% 
Dim Param
Dim Corid,Username,Cmd,Rs,SQL

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

'//更新企业的显示次数
Conn.Execute("Update [pH_Intro_Base] Set ViewClicks=ViewClicks+1 Where Corid='"&Corid&"'")

LogoUrl = Rs("LogoUrl")
LogoKeep = Rs("LogoKeep")

Person1 = 0
Job1 = 0
Headhunt1 = 0
PersonBest1 = 0
'人才数
Set Re = Conn.Execute("Select Count(*) From [pH_Person_Base] Where Usertype='Inr' And Comid='"&Corid&"'")
If Not Re.Eof Then Person1 = Re(0)
Re.Close
'职位数
Set Re = Conn.Execute("Select Count(*) From [pH_Intro_Job] Where Corid='"&Corid&"'")
If Not Re.Eof Then Job1 = Re(0)
Re.Close
'猎头职位数
Set Re = Conn.Execute("Select Count(*) From [pH_Headhunt_Base] Where Usertype='Cor' And Userid='"&Corid&"'")
If Not Re.Eof Then Headhunt1 = Re(0)
Re.Close
'高级人才数
Set Re = Conn.Execute("Select Count(*) From [pH_Person_Base] Where Usertype='Inr' And Comid='"&Corid&"' And Nc_Best_Flag=1")
If Not Re.Eof Then PersonBest1 = Re(0)
Re.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 %> -- <%= Rs("CorpName") %></title>
</head>
<body>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td>
      <!--#include file="../../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"><b><%= Rs("CorpName") %></b></td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td height="10" background="../../Images/Company/bg.gif"></td>
              </tr>
            </table>
            <table width="504" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><strong>机构信息：</strong></td>
              </tr>
              <tr> 
                <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr valign="top"> 
                      <td> <table width="100%" border="0" cellspacing="1" cellpadding="0">
                          <tr bgcolor="#FFFFFF"> 
                            <td height="25" align="left">机构名称：</td>
                            <td height="25"><%= Rs("CorpName") %></td>
                          </tr>
                          <tr bgcolor="#FFFFFF"> 
                            <td width="70" height="25" align="left">机构性质：</td>
                            <td height="25"><%= Rs("CorpType") %></td>
                          </tr>
                          <tr bgcolor="#FFFFFF"> 
                            <td height="25" align="left">猎头职位：</td>
                            <td height="25"><%= Headhunt1 %> 条</td>
                          </tr>
                          <tr bgcolor="#FFFFFF"> 
                            <td height="25" align="left">招聘职位：</td>
                            <td height="25"><%= Job1 %> 条</td>
                          </tr>
						   <tr bgcolor="#FFFFFF"> 
                            <td height="25" align="left">高级人才：</td>
                            <td height="25"><%= PersonBest1 %> 位</td>
                          </tr>
                          <tr bgcolor="#FFFFFF"> 
                            <td height="25" align="left">发布人才：</td>
                            <td height="25"><%= Person1 %> 位</td>
                          </tr>
                         
                          <tr bgcolor="#FFFFFF"> 
                            <td height="25" align="left">所在地区：</td>
                            <td height="25"><%= Rs("Locus_Area")&Rs("Locus_City") %></td>
                          </tr>
                        </table></td>
                      <td width="150" align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td height="4"></td>
                          </tr>
                          <tr> 
                            <td align="center"> 
                              <% 
If LogoKeep = 0 Then
 If LogoUrl <> Null or LogoUrl <> "" Then
  Response.write "<img src=""../../UpLoadFiles/IntroFile/"&LogoUrl&""" width=""135"" height=""160"">"
 Else
  Response.write "<img src=""../../UpLoadFiles/DefaultFile/Intro.gif"" width=""135"" height=""160"">"
 End if
End if
 %>
                            </td>
                          </tr>
                          <tr> 
                            <td height="4"></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td height="10"></td>
              </tr>
            </table>
            <table width="504" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><strong>机构简介：</strong></td>
              </tr>
              <tr> 
                <td><%= Rs("Content") %></td>
              </tr>
              <tr> 
                <td height="10"></td>
              </tr>
            </table>
            <table width="504" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><strong>联系方式：</strong></td>
              </tr>
              <% 
If IsArray(Session("Person")) or IsArray(Session("Company")) or IsArray(Session("Intro"))  or IsArray(Session("School")) Then
 %>
              <tr> 
                <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
                    <tr bgcolor="#FFFFFF"> 
                      <td width="80" height="25" align="left">联系人：</td>
                      <td height="25"><%= Rs("ContactPerson") %></td>
                    </tr>
                    <tr bgcolor="#FFFFFF"> 
                      <td width="80" height="25" align="left">移动电话：</td>
                      <td height="25"><%= Rs("Mt") %></td>
                    </tr>
                    <tr bgcolor="#FFFFFF"> 
                      <td width="80" height="25" align="left">联系电话：</td>
                      <td height="25"><%= Rs("Phone") %></td>
                    </tr>
                    <tr bgcolor="#FFFFFF"> 
                      <td width="80" height="25" align="left">传真号码：</td>
                      <td height="25"><%= Rs("Fax") %></td>
                    </tr>
                    <tr bgcolor="#FFFFFF"> 
                      <td width="80" height="25" align="left">QQ号码：</td>
                      <td height="25"><%= Rs("QQ") %></td>
                    </tr>
                    <tr bgcolor="#FFFFFF"> 
                      <td width="80" height="25" align="left">MSN号码：</td>
                      <td height="25"><%= Rs("MSN") %></td>
                    </tr>
                    <tr bgcolor="#FFFFFF"> 
                      <td width="80" height="25" align="left">邮箱地址：</td>
                      <td height="25"><%= Rs("Email") %></td>
                    </tr>
                    <tr bgcolor="#FFFFFF"> 
                      <td width="80" height="25" align="left">机构网址：</td>
                      <td height="25"><%= Rs("WebHome") %></td>
                    </tr>
                    <tr bgcolor="#FFFFFF"> 
                      <td width="80" height="25" align="left">邮政编码：</td>
                      <td height="25"><%= Rs("ZipCode") %></td>
                    </tr>
                    <tr bgcolor="#FFFFFF"> 
                      <td width="80" height="25" align="left">通讯地址：</td>
                      <td height="25"><%= Rs("Address") %></td>
                    </tr>
                  </table></td>
              </tr>
              <% 
Else 
 %>
              <tr> 
                <td height="25" align="center">注册并登录到网站后才能查看联系方式,现在开始[<a href="../../Public/Register.asp"><u>注册</u></a>]或者[<a href="../../Public/MemberLogin.asp"><u>登录</u></a>]</td>
              </tr>
              <% 
End if
 %>
              <tr> 
                <td height="10"></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="../../Include/Info/Footer.asp" -->
    </td>
  </tr>
</table>
</body>
</html>
<% 

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