<!--#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 SQL,Rs,i,CompanyName,Comid

Ncid = Replace_Text(Request("Param"))
SQL = "Select * From [pH_Educate_Demand] Where Ncid="&Cstr(Ncid)
Set Rs = Conn.Execute(SQL)
If Not Rs.Eof Then
 Title				= Rs("Title")
 Type1				= Rs("Type")
 Userid				= Rs("Userid")
 Name				= Rs("Name")
 Phone				= Rs("Phone")
 Fax				= Rs("Fax")
 Email				= Rs("Email")
 Zipcode			= Rs("Zipcode")
 Locus_Area			= Rs("Locus_Area")
 Locus_City			= Rs("Locus_City")
 Address			= Rs("Address")
 Properity			= Rs("Properity")
 Formats			= Rs("Formats")
 Number1			= Rs("Number")
 Price1				= Rs("Price1")
 Price2				= Rs("Price2")
 BeginDate			= Rs("BeginDate")
 EndDate			= Rs("EndDate")
 DemandMemo			= Rs("DemandMemo")
 TeacherMemo		= Rs("TeacherMemo")
 MubiaoMemo			= Rs("MubiaoMemo")
 OtherMemo			= Rs("OtherMemo")

Else
 Response.Write "没有找到指定的信息"
 Response.end()
End if
Rs.Close

If Number1 = 0 Then Number1 = "若干"
 %>
<!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&"站" %> -- 培训需求</title>
</head>
<script language="JavaScript" src="../js/jsdate.js"></script>
<script language="JavaScript" src="../js/Educate_demandadd.js"></script>
<script language="JavaScript">
 function login_check()
 {

 if (document.login.username.value==""){
  alert("-请输入用户名-");
  document.login.username.focus();
  return false;
 }
  if (document.login.password.value==""){
  alert("-请输入登陆密码-");
  document.login.password.focus();
  return false;
 }
 }
 function search_check(){
 if (document.theForm.key.value=="请输入高校/培训机构名称"){
  alert("-请输入高校/培训机构名称-");
  document.theForm.key.focus();
  return false;
 }
 }
</script>

<body>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td><!--#include file="../c_Header/Educate_Index.asp" --></td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td>
	<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="4"></td>
        </tr>
      </table>
	  <table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="180" valign="top" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="25" align="left" valign="bottom" background="../Images/Educate/left10_bg.jpg" style="padding-left:10px;"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="65" height="20" align="center" valign="bottom" bgcolor="#FFFFFF"><strong>会员登录</strong></td>
                      <td>&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td style="BORDER-RIGHT: #418D8B 1px solid; BORDER-LEFT: #418D8B 1px solid;BORDER-bottom: #418D8B 1px solid;padding-top:2px;padding-bottom:2px;"> 
                  <!--#include file="../c_Public/Educate_MemberSession.asp" -->
                </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="25" align="left" valign="bottom" background="../Images/Educate/left10_bg.jpg" style="padding-left:10px;"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="65" height="20" align="center" valign="bottom" bgcolor="#FFFFFF"><strong>需求搜索</strong></td>
                      <td>&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td style="BORDER-RIGHT: #418D8B 1px solid; BORDER-LEFT: #418D8B 1px solid;BORDER-bottom: #418D8B 1px solid;padding-top:2px;padding-bottom:2px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <form action="Demand_Search.asp" method="post" target="_blank" name="theForm">
                      <tr> 
                        <td height="5" align="center"></td>
                      </tr>
                      <tr> 
                        <td height="25" align="center"> <SELECT name=properity class=txtfield id="properity" style="width:140px;">
                            <OPTION value=""  selected>--选择需求领域--</OPTION>
                            <OPTION value="企业内训">企业内训</OPTION>
                            <OPTION value="资格认证">资格认证</OPTION>
                            <OPTION value="IT培训">IT培训</OPTION>
                            <OPTION value="语言培训">语言培训</OPTION>
                            <OPTION value="学历招生">学历招生</OPTION>
                            <OPTION value="公开课">公开课</OPTION>
                          </SELECT> </td>
                      </tr>
                      <tr> 
                        <td height="25" align="center"> <input 
                  name=key style="width:140px;"  id=txt_keyword2 size="16" maxlength=50 value="输入关键字" onClick="this.value='';"></td>
                      </tr>
                      <tr> 
                        <td height="25" align="center"><input type="submit" name="Submit3" value=" 开 始 搜 索 "> 
                        </td>
                      </tr>
                    </form>
                  </table></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="25" align="left" valign="bottom" background="../Images/Educate/left10_bg.jpg" style="padding-left:10px;"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="65" height="20" align="center" valign="bottom" bgcolor="#FFFFFF"><strong>培训课程</strong></td>
                      <td>&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td style="BORDER-RIGHT: #418D8B 1px solid; BORDER-LEFT: #418D8B 1px solid;BORDER-bottom: #418D8B 1px solid;padding-top:2px;padding-bottom:2px;"> 
                  <div id=demo style=overflow:hidden;height:110> 
                    <div id=demo1> <%= Cls_Lesson_New_City(30,13,c_City) %> </div>
                    <div id=demo2></div>
                  </div>
                  <script>
<!--
  var speed		= 15;//滚动速度
  var rows		= 22;//每行高度
  var stim		= 80; //停留时间倍数 * speed
  var stop		= 0; //初始化值，不管
  demo2.innerHTML	= demo1.innerHTML
  function Marquee(){
    if(demo.scrollTop%rows==0 && stop<=stim){
      stop++;
      return;
    }
    stop = 0;
    if(demo2.offsetTop-demo.scrollTop<=0)
      demo.scrollTop-=demo1.offsetHeight
    else{
      demo.scrollTop++
    }
  }
  var MyMar	   = setInterval(Marquee,speed)
  demo.onmouseover = function() {clearInterval(MyMar)}
  demo.onmouseout  = function() {MyMar=setInterval(Marquee,speed)}
-->
</script> </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="25" align="left" valign="bottom" background="../Images/Educate/left10_bg.jpg" style="padding-left:10px;"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="65" height="20" align="center" valign="bottom" bgcolor="#FFFFFF"><strong>合作伙伴</strong></td>
                      <td>&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td style="BORDER-RIGHT: #418D8B 1px solid; BORDER-LEFT: #418D8B 1px solid;BORDER-bottom: #418D8B 1px solid;padding-top:2px;padding-bottom:2px;"><table width="90%"  border="0" align="center" cellpadding="2" cellspacing="0">
                    <%
	  
Set Rs1 = Conn.Execute("Select Top 5 LinkName,LinkUrl From [pH_FriendLink] Where State=1 And Class=0 And Cityid="&c_City&" Order By ordernum Asc")
  if not rs1.eof then
  do while not rs1.eof %>
                    <tr> 
                      <td height="15" align="left"> <a href="<%=rs1("LinkUrl")%>" target="_blank"><%=rs1("LinkName")%></a></td>
                    </tr>
                    <%rs1.movenext

loop
end if
rs1.close
%>
                  </table></td>
              </tr>
            </table></td>
          <td width="5">&nbsp;</td>
          <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="17"><img src="../Images/Educate/right1_left.jpg" width="17" height="24"></td>
                <td background="../Images/Educate/right1_bg.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="50%"><strong><font color="#333333">培训需求信息</font></strong></td>
                      <td align="right"><a href="Demand_Add.asp"></a></td>
                    </tr>
                  </table>
                  <strong></strong></td>
                <td width="11"><img src="../Images/Educate/right1_right.jpg" width="11" height="24"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td>&nbsp;</td>
              </tr>
            </table>
            <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="dddddd">
                    <tr> 
                      <td bgcolor="#FFFFFF"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr> 
                            <td height="2"></td>
                          </tr>
                        </table>
                        <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1">
                          <tr> 
                            <td width="18%" height="25" align="right" bgcolor="f9f9f9">标 
                              题：</td>
                            <td height="25" bgcolor="f9f9f9"> <%= title %> </td>
                          </tr>
                          <tr> 
                            <td width="18%" height="25" align="right">需求领域：</td>
                            <td height="25"><%= properity %></td>
                          </tr>
                          <tr> 
                            <td height="25" align="right" bgcolor="f9f9f9">培训形式：</td>
                            <td height="25" bgcolor="f9f9f9"> <%= formats %> </td>
                          </tr>
                          <tr> 
                            <td height="25" align="right">参加人数：</td>
                            <td height="25"> <%= number1 %>人</td>
                          </tr>
                          <tr> 
                            <td height="25" align="right" bgcolor="f9f9f9"> 培训费用：</td>
                            <td height="25" bgcolor="f9f9f9">希望在 <%= price1 %> 元至 <%= price2 %> 元之间</td>
                          </tr>
                          <tr> 
                            <td height="25" align="right"> 培训时间：</td>
                            <td height="25"> <%= begindate %> 到 <%= enddate %> 之间 </td>
                          </tr>
                          <tr> 
                            <td height="25" align="right" bgcolor="f9f9f9">所在地区：</td>
                            <td height="25" bgcolor="f9f9f9"> <%= Locus_Area&Locus_City %></td>
                          </tr>
                          <tr> 
                            <td height="25" align="right">需求描述：</td>
                            <td height="25"> <%= demandmemo %></td>
                          </tr>
                          <tr> 
                            <td height="25" align="right" bgcolor="f9f9f9">师资要求：</td>
                            <td height="25" bgcolor="f9f9f9"> <%= teachermemo %></td>
                          </tr>
                          <tr> 
                            <td height="25" align="right">培训目标：</td>
                            <td height="25"> <%= mubiaomemo %></td>
                          </tr>
                          <tr> 
                            <td height="25" align="right" bgcolor="f9f9f9"> 其他需求：</td>
                            <td height="25" bgcolor="f9f9f9"> <%= othermemo %> </td>
                          </tr>
                          <tr> 
                            <td height="25" align="right">联系人：</td>
                            <td height="25"> <%= name %></td>
                          </tr>
                          <% 
If IsArray(Session("Educate")) And Session("Nc_Vip") = 1  Then
 %>
                          <tr> 
                            <td 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"> <%= zipcode %></td>
                          </tr>
                          <tr> 
                            <td height="25" align="right" bgcolor="f9f9f9">联系地址：</td>
                            <td height="25" bgcolor="f9f9f9"> <%= address %></td>
                          </tr>
                          <% 
Else
 %>
                          <tr align="center"> 
                            <td height="25" colspan="2" bgcolor="f9f9f9">高级(收费)会员才能查看培训需求发布者的联系方式！<a href="Sch_AccountVip.asp">请点击这里申请帐号升级</a>... 
                            </td>
                          </tr>
                          <% 
End if
 %>
                        </table>
                        <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr> 
                            <td height="2"></td>
                          </tr>
                        </table></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/Footer.asp" --></td>
  </tr>
</table>
</body>
</html>
<% 

CloseDB
 %>
