📄 index.asp
字号:
<!--#include file="main.asp"-->
<%set rs=server.createobject("adodb.recordset")
'商机
rs.open "select * from SMT_sca where SMT_key=1 and SMT_key1=1 and SMT_key2=1",conn,1,1
scacount=rs.recordcount
rs.close
'产品
rs.open "select * from SMT_cp where SMT_key=1 and SMT_key1=1 and SMT_key2=1",conn,1,1
cpcount=rs.recordcount
rs.close
'招聘
rs.open "select * from SMT_job_zp where SMT_key=1 and SMT_key1=1 and SMT_key2=1",conn,1,1
zpcount=rs.recordcount
rs.close
'求职
rs.open "select * from SMT_job_qz where SMT_key=1 and SMT_key1=1 and SMT_key2=1 and SMT_iname is not null",conn,1,1
qzcount=rs.recordcount
rs.close
'企业
rs.open "select * from SMT_yp where SMT_key<>0 and SMT_key<>2 and SMT_key1=1",conn,1,1
ypcount=rs.recordcount
rs.close
'展会
rs.open "select * from SMT_exhibit where SMT_key<>0 and SMT_key2=1",conn,1,1
zhcount=rs.recordcount
rs.close
'信息
rs.open "select * from SMT_xxnews where SMT_key=1 and SMT_key1=1 and SMT_key2=1",conn,1,1
newscount=rs.recordcount
rs.close
'信息
rs.open "select * from SMT_news where SMT_key=1 and SMT_key1=1 and SMT_key2=1",conn,1,1
newscount=rs.recordcount+newscount
rs.close%>
<title><%=citytitle%></title>
<body topmargin="0">
<%SMT_top%>
<!--医药,医药招商,中国医药网,医疗器械,保健品,药品,药品招标,医疗器械,保健品招商-->
<%randomize timer
regjm=left(int(rnd*9998)+1000,4)
if len(regjm)>4 then regjm=len(regjm&9999,4)%>
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="195" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px #666666 solid">
<tr>
<td height=25 bgcolor=#666666 background="img/tit_4.GIF"> <font color=#ffffff><strong>会员中心</strong></font></td>
</tr>
<%if session("useradmin")<>"" then
goname=session("useradmin")
goid=session("id")%>
<!--#include file="dns/dns.asp"-->
<tr>
<td height=94 bgcolor="efefef"><p style="line-height:180%"> 欢迎光临:<font color=red><strong><%=session("useradmin")%></strong>
<%=vipjbzt%></font> <br>
级别:<font color=red><%=vipjb%></font> <br>
有效期:<font color=red>
<%if tian<1 then%>
<strong>已过期</strong>
<%else%>
<%=tian%> 天
<%end if%>
<%if tian<30 then%>
(请尽快续费)
<%end if%>
</font> <br>
<a href=<%=usertwourl%> target=_blank>我的网站</a><strong> </strong><a href=user/admin.asp target="_blank"><font color="#009933"><strong>管理中心</strong></font></a><strong> </strong><a href=user/logout.asp>登出</a></td>
</tr>
<%else%>
<script language="JavaScript">
<!--
function on_forgetpwd()
{
if (document.Login.Typ(0).checked ==true)
{
document.Login.action="individual/Chkadmin.asp";
document.Login.submit();
}
else
{
document.Login.action="user/Chkadmin.asp";
document.Login.submit();
}
return false;
}
// -->
</script>
<form name="Login" method="post" action="">
<input name="regjm" type="hidden" value="<%=regjm%>">
<input name="ction" type="hidden" value="index">
<tr align=center bgcolor="efefef">
<td height=23><strong>用户名</strong>:
<input type="text" name="user" style="width:53" class=input2> <input name="Typ" type="radio" value="JobSek" class=radio>
个人</td>
</tr>
<tr align=center bgcolor="efefef">
<td height=23><strong>密 码</strong>:
<input type="password" name="pass" style="width:53" class=input2>
<input type="radio" name="Typ" value="comp" class=radio checked>
企业</td>
</tr>
<tr align=center bgcolor="efefef">
<td height=23><strong>认证码</strong>:
<input type="text" name="regjm1" size="7" style="width:80" class=input2>
<font color=red><b><%=regjm%></b></font></td>
</tr>
<tr align=center bgcolor="efefef">
<td height=21>
<input type="submit" name="Submit3" onclick="return on_forgetpwd();" value=" 提 交 " class=input1>
<a href=reg.asp target="_blank"><strong>注册</strong></a> <a href=help.asp?id=3 target="_blank"><strong>忘记密码?</strong></a></td>
</tr>
</form>
<%end if%>
</table></td>
<td width="565" valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="63" colspan="3">
<div align="center"> </div>
<div align="center"><script language=javascript src=ads.asp?priceid=1&place=6></script> </div></td>
<td width="25%">
<div align="center">
<script language=javascript src=ads.asp?priceid=1&place=6></script>
</div></td>
<td width="25%"><div align="center">
<script language=javascript src=ads.asp?priceid=1&place=6></script>
</div></td>
<td width="25%"><div align="center">
<script language=javascript src=ads.asp?priceid=1&place=6></script>
</div></td>
</tr>
<tr>
<td height="52" colspan="3">
<div align="center">
<script language=javascript src=ads.asp?priceid=1&place=6></script>
</div></td>
<td>
<div align="center">
<script language=javascript src=ads.asp?priceid=1&place=6></script>
</div></td>
<td><div align="center">
<script language=javascript src=ads.asp?priceid=1&place=6></script>
</div></td>
<td><div align="center">
<script language=javascript src=ads.asp?priceid=1&place=6></script>
</div></td>
</tr>
</table> </td>
</tr>
<tr>
<td colspan=2 height=2></td>
</tr>
</table>
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top">
<!--医药,医药招商,中国医药网,医疗器械,保健品,药品,药品招标,医疗器械,保健品招商-->
<table width="100%" border="0" cellspacing="0" cellpadding="5" style="border:1px #666666 solid">
<tr>
<td height=25 colspan=3 background="img/tit_4.GIF"> <font color=white><strong class=f14>最新供求</strong> 企业:<%=ypcount%> 商机:<%=scacount%> 产品:<%=cpcount%> 工作:<%=zpcount+qzcount%> 展会:<%=zhcount%> 信息:<%=newscount%></font></td>
</tr>
<tr>
<td width=33%><script language=javascript src=Include/sca.asp?aid=3&bid=10&cid=22&did=1&eid=1&fid=0></script></td>
<td width=33%><script language=javascript src=Include/sca.asp?aid=2&bid=10&cid=22&did=1&eid=1&fid=0></script></td>
<td width=34%><script language=javascript src=Include/sca.asp?aid=4&bid=10&cid=22&did=1&eid=1&fid=0></script></td>
</tr>
</table>
<!--医药,医药招商,中国医药网,医疗器械,保健品,药品,药品招标,医疗器械,保健品招商-->
</td>
</tr>
<tr>
<td height=5></td>
</tr>
</table>
<!--医药,医药招商,中国医药网,医疗器械,保健品,药品,药品招标,医疗器械,保健品招商-->
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="480" valign=top>
<!--医药,医药招商,中国医药网,医疗器械,保健品,药品,药品招标,医疗器械,保健品招商-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align=center>
<td height=30 width=90 background="img/tit_4.GIF" class=f14><strong><font color=#ffffff>商贸机会</font></strong></td>
<td width=5></td>
<td width=90 background="img/tit_2.GIF" class=f14 style="border-top:1px #FFA800 solid;border-left:1px #FFA800 solid;border-right:1px #FFA800 solid"><strong><a href=yp.asp class=black>公司名录</a></strong></td>
<td width=5></td>
<td width=90 background="img/tit_2.GIF" class=f14 style="border-top:1px #FFA800 solid;border-left:1px #FFA800 solid;border-right:1px #FFA800 solid"><strong><a href=cp.asp class=black>产
品</a></strong></td>
<td width=200><font color=990000>
<SCRIPT language=javascript>
<!--hide
var enable=0; today=new Date();
var day; var date;
if(today.getDay()==0) day=" 星期日"
if(today.getDay()==1) day=" 星期一"
if(today.getDay()==2) day=" 星期二"
if(today.getDay()==3) day=" 星期三"
if(today.getDay()==4) day=" 星期四"
if(today.getDay()==5) day=" 星期五"
if(today.getDay()==6) day=" 星期六"
date=(today.getFullYear())+"年"+(today.getMonth()+1)+"月"+today.getDate()+"日 ";
document.write(date + day);
//--hide-->
</SCRIPT>
</font></td>
</tr>
<tr>
<td height=6 colspan=6 background="img/tit_3.GIF"></td>
</tr>
<tr>
<td height=22 colspan=6 bgcolor=#efefef style="border-right:1px #B44001 solid;border-left:1px #B44001 solid;border-bottom:2px #999999 solid">
<!--医药,医药招商,中国医药网,医疗器械,保健品,药品,药品招标,医疗器械,保健品招商-->
<table width="478" border="0" cellspacing="0" cellpadding="0">
<tr align=center>
<%set rs=Server.CreateObject("Adodb.Recordset")
sql="select * from SMT_scasort order by SMT_date desc"
rs.open sql,conn,1,1
do while not rs.eof
set rs1=server.createobject("adodb.recordset")
sql1="select * from SMT_sca where SMT_scasort="&rs("SMT_id")&" and SMT_key=1 and SMT_key1=1 and SMT_key2=1"
rs1.open sql1,conn,1,1%>
<td width=80 background="img/bg.jpg" style="border-right:1px #cccccc solid"><a href=sca_tlist.asp?scasort=<%=rs("SMT_id")%>><%=rs("SMT_scasort")%></a><font color=red>(<%=rs1.recordcount%>)</font></td>
<%rs1.close
rs.movenext
loop
rs.close
set rs=nothing%>
<%set rs1=server.createobject("adodb.recordset")
sql1="select * from SMT_sca where SMT_scasort=0 and SMT_key=1 and SMT_key1=1 and SMT_key2=1"
rs1.open sql1,conn,1,1%>
<td width=78 background="img/bg.jpg"><a href=sca_tlist.asp?scasort=0>其它</a><font color=red>(<%=rs1.recordcount%>)</font></td>
<%rs1.close
set rs1=nothing%>
</tr>
</table>
<!--医药,医药招商,中国医药网,医疗器械,保健品,药品,药品招标,医疗器械,保健品招商-->
</td>
</tr>
<tr>
<td style="border-bottom:1px #B44001 solid;border-right:1px #B44001 solid;border-left:1px #B44001 solid" colspan=6>
<!--==-->
<table width="96%" border="0" cellspacing="0" cellpadding="0" align=center>
<tr>
<td height=10></td>
</tr>
<tr>
<%set rs=server.createobject("adodb.recordset")
sql="select * from SMT_ypxxone order by SMT_date desc"
rs.open sql,conn,1,1
n=0
nn=rs.recordcount
do while not rs.eof
n=n+1
set rs1=server.createobject("adodb.recordset")
sql1="select * from SMT_sca where SMT_ypxxone_id="&rs("SMT_ypxxone_id")
rs1.open sql1,conn,1,1
onecount=rs1.recordcount
rs1.close%>
<td height=70 width=235 valign=top><p style="line-height:150%"><strong><a href=sca_list.asp?id=<%=rs("SMT_ypxxone_id")%> class="black"><font class=f14 color=#da251c><%=rs("SMT_ypxxone")%></font></a></strong>
<font color=red>(<%=onecount%>)</font><br>
<%set rs1=server.createobject("adodb.recordset")
sql1="select top 4 * from SMT_ypxxtwo where SMT_ypxxone_id="&rs("SMT_ypxxone_id")&" order by SMT_date desc"
rs1.open sql1,conn,1,1
do while not rs1.eof%>
<a href=sca_vlist.asp?id=<%=rs1("SMT_ypxxtwo_id")%>><%=rs1("SMT_ypxxtwo")%></a>
<%rs1.movenext
loop
rs1.close%>
<a href=sca_list.asp?id=<%=rs("SMT_ypxxone_id")%>>...</a></td>
<%if n mod 2<>0 then response.write("<td width=10></td>")
if n mod 2=0 and nn<>n then response.write("</tr><tr>")
rs.movenext
loop
rs.close%>
</tr>
<%if webkey6=0 then%>
<tr>
<td colspan=3 align=right height=35><a href=free_ad.asp target=_blank class=red><strong class=f14>发布免费商机
>></strong></a></td>
</tr>
<%end if%>
</table>
</td>
</tr>
</table>
<!--==========left end==============-->
</td>
<td width="280" valign=top>
<!--==========right==============-->
<table width="270" border="0" cellspacing="0" cellpadding="0" align=right>
<tr>
<td height=125 valign=top bgcolor=#ffffff style="border:1px #666666 solid">
<!--===================-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/newyp.gif" alt="医药"></td>
</tr>
<tr>
<td> <marquee onmouseover=this.stop(); onmouseout=this.start(); direction=up scrollamount=1 height=100 scrolldelay=1 width=98%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><script language=javascript src=Include/yp.asp?aid=40&bid=28&cid=0&did=1&eid=0></script></td>
</tr>
</table>
</marquee> </td>
</tr>
</table>
<!--===================-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -