📄 index.asp
字号:
<!--#include file="../Include/Class_Conn.asp" -->
<!--#include file="../Include/Class_Main.asp" -->
<%
Dim SQL,Rs,i,CompanyName,Comid
Set Rs = Server.CreateObject("Adodb.Recordset")
%>
<!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 %> -- 培训机构</title>
</head>
<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="768" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td><!--#include file="../Include/Header.asp" --></td>
</tr>
</table>
<table width="956" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="4"></td>
</tr>
</table>
<table width="956" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="270" valign="top">
<table width="270" border="0" cellspacing="0" cellpadding="0" class="table2">
<tr class="td_4">
<td height="29"><font class="td_4a">会员登陆</font></td>
</tr>
<tr>
<td valign="top">
<!--#include file="../Public/MemberSession.asp" -->
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"></td>
</tr>
<tr>
<tr>
<td height="100" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table2">
<form action="Sch_Search_Base.asp" method="post" target="_blank" name="theForm" onSubmit="return search_check()">
<tr>
<td align="center" height="25">
<select name="properity" id="select2" style="width:140px;">
<option value="0">性质不限</option>
<option value="10">国有企业</option>
<option value="20">民营企业</option>
<option value="30">外商独资企业</option>
<option value="40">合资企业</option>
<option value="50">股份制企业</option>
<option value="60">集体企业</option>
<option value="70">事业单位</option>
<option value="80">社会团体</option>
<option value="90">行政机关</option>
<option value="100">其他类别</option>
<option value="110">高等院校</option>
</select>
</td>
</tr>
<tr>
<td align="center" height="25">
<select style="width:140px;" name=publishdate>
<option value=0>更新日期不限</option>
<option value=1>近一天</option>
<option value=2>近二天</option>
<option value=3>近三天</option>
<option value=7>近一周</option>
<option value=14>近两周</option>
<option value=30>近一月</option>
<option value=60>近两月</option>
<option value=90>近三月</option>
</select>
</td>
</tr>
<tr>
<td align="center" height="25">
<input name=key style="width:140px;" id=key2 size="16" maxlength=50 value="请输入高校/培训机构名称" onClick="this.value='';">
</td>
</tr>
<tr>
<td align="center">
<input type="submit" name="Submit32" value=" 开 始 搜 索 ">
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="4">
<tr>
<td></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table2">
<tr class="td_4">
<td height="29"><font class="td_4a">职场眺望</font></td>
</tr>
<tr>
<td> <%= Cls_News_List(7,8,18) %></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="4">
<tr>
<td></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table2">
<tr class="td_4">
<td height="29"><font class="td_4a">面试指导</font></td>
</tr>
<tr>
<td> <%= Cls_News_List(8,8,18) %></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="4">
<tr>
<td></td>
</tr>
</table>
</td>
<td width="5"> </td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="38"><img src="../Images_Index/gr_search.jpg" width="38" height="34"></td>
<td background="../Images_Index/gr_search1.jpg">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="86%"><b>培训专区</b> </td>
<td width="14%"><a href="Sch_Search_New.asp" target="_blank">更多培训机构..</a></td>
</tr>
</table>
</td>
<td width="25"><img src="../Images_Index/gr_search4.jpg" width="25" height="34"></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">
<%
SQL = "Select Top 8 Ncid,Schid,SchoolName,Address,ContactPerson,Phone,ViewClicks From [pH_Educate_Base] Where VipFlag<>0 Order By LastUpdate_Time Desc"
Rs.Open SQL,Conn,1,1
For i = 1 to 4
If Rs.Eof Then Exit For
%>
<tr>
<%
For j = 1 to 2
If Rs.Eof Then Exit For
Ncid = Rs("Ncid")
Schid = Rs("Schid")
SchoolName = Rs("SchoolName")
Address = Rs("Address")
ContactPerson = Rs("ContactPerson")
Phone = Rs("Phone")
ViewClicks = Rs("ViewClicks")
'课程数
PerCount = 0
Set Re = Conn.Execute("Select Count(*) From [pH_Educate_Lesson] Where Schid='"&Schid&"'")
If Not Re.Eof Then PerCount = Re(0)
Re.Close
%>
<td width="50%">
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"><img src="../Images_Index/Icon1.gif" width="14" height="14"></td>
<td valign="bottom" width="478"><a href="Info/Index.asp?Param-<%= Schid %>.html" target="_blank"><font color="#FF6600"><strong><%= SchoolName %></strong></font></a></td>
<td valign="bottom" width="169">| <a href="Info/Index.asp?Param-<%= Schid %>.html" target="_blank">点次查看详情</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="3"></td>
</tr>
<tr>
<td height="2" bgcolor="#CCCCCC"></td>
</tr>
<tr>
<td height="25" style="BORDER-RIGHT: #CCCCCC 1px solid;BORDER-LEFT: #CCCCCC 1px solid;BORDER-BOTTOM: #CCCCCC 1px solid">
<table width="100%" border="0" align="center" cellpadding="4" cellspacing="2">
<tr>
<td height="25">地址:<%= Address %></td>
</tr>
<tr>
<td height="25">联系人:<%= ContactPerson %></td>
</tr>
<tr>
<td height="25">联系热线:<%= Phone %></td>
</tr>
<tr>
<td height="25">该机构现发布 <font color="#ff6600"><%= PerCount %></font> 门课程</td>
</tr>
<tr>
<td height="25">被访问次数:<%= ViewClicks %> 次</td>
</tr>
</table></td>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"></td>
</tr>
</table></td>
<%
Rs.Movenext
Next
%>
</tr>
<%
Next
Rs.Close
%>
</table>
</td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="1" bgcolor="#eeeeee"></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td><!--#include file="../Include/Footer.asp" --></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -