⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.asp

📁 一个诚信信息港门户网 功能: 系统设置  企业会员  个人会员  商贸机会  产品管理  企业新闻  行业新闻  招聘信息  展会管理  模版管理
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#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%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<title><%=citytitle%></title>
</hand>


<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="580" valign="top"><script language=javascript src=ads.asp?priceid=1&place=1></script></td>
    <td width="180" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px #666666 solid">
  <tr>
    <td height=25 bgcolor=#666666 background="img/bgtitle.gif">&nbsp; <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%">
&nbsp;欢迎光临:<font color=red><strong><%=session("useradmin")%></strong> <%=vipjbzt%></font>
<br>&nbsp;级别:<font color=red><%=vipjb%></font>
<br>&nbsp;有效期:<font color=red><%if tian<1 then%><strong>已过期</strong><%else%><%=tian%> 天<%end if%> <%if tian<30 then%>(请尽快续费)<%end if%></font>
<br>&nbsp;<strong><a href=<%=usertwourl%> target=_blank>我的网站</a> <a href=user/admin.asp target="_blank">管理中心</a> <a href=user/logout.asp>登出</a></strong></td></tr>
<%else%>
<script>

    var delta=0.15
    var collection;
    function floaters() {
        this.items    = [];
        this.addItem    = function(id,x,y,content)
                  {
                    document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute;  width:80px; height:60px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+content+'</DIV>');
                    
                    var newItem                = {};
                    newItem.object            = document.getElementById(id);
                    newItem.x                = x;
                    newItem.y                = y;

                    this.items[this.items.length]        = newItem;
                  }
        this.play    = function()
                  {
                    collection                = this.items
                    setInterval('play()',10);
                  }
        }
        function play()
        {
            if(screen.width<=800)
            {
                for(var i=0;i<collection.length;i++)
                {
                    collection[i].object.style.display    = 'none';
                }
                return;
            }
            for(var i=0;i<collection.length;i++)
            {
                var followObj        = collection[i].object;
                var followObj_x        = (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
                var followObj_y        = (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);

                if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x)) {
                    var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
                    dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
                    followObj.style.left=followObj.offsetLeft+dx;
                    }

                if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) {
                    var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
                    dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
                    followObj.style.top=followObj.offsetTop+dy;
                    }
                followObj.style.display    = '';
            }
        }    
        
    var theFloaters  = new floaters();
    theFloaters.addItem('followDiv2',6,80,'<a href=#  target=_blank><img src=ad/left.gif border=1></a><br>');
    theFloaters.addItem('followDiv1','document.body.clientWidth-106',80,'<a href=#  target=_blank><img src=ad/right.gif border=1></a><br>');
    theFloaters.play();

</script>
<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> <%=regjm%></td></tr>
  <tr align=center bgcolor="efefef"><td height=25><input type="submit" name="Submit" 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>
  </tr>
  <tr><td colspan=2 height=5></td></tr>
</table>
<!--###################################################################-->
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="480" valign="top">
<!--===left=======-->
<table width="100%" border="0" cellspacing="0" cellpadding="5" style="border:1px #666666 solid">
  <tr>
    <td colspan=2 height=35 bgcolor=#666666 background="img/bgtitle.gif"><font color=white>&nbsp;<strong class=f14>最新供求</strong> 企业:<%=ypcount%> 商机:<%=scacount%> 产品:<%=cpcount%> 工作:<%=zpcount+qzcount%> 展会:<%=zhcount%> 信息:<%=newscount%></font></td>
  </tr>
  <tr>
    <td width=50%><script language=javascript src=Include/sca.asp?aid=3&bid=6&cid=22&did=1&eid=1&fid=1></script></td>
    <td width=50%><script language=javascript src=Include/sca.asp?aid=2&bid=6&cid=22&did=1&eid=1&fid=1></script></td>
  </tr>
</table>
<!--===left end=======-->
	</td>
    <td width="280" valign="top">
<!--===right=======-->
<table width="272" border="0" cellspacing="0" cellpadding="0" align=right style="border:1px #666666 solid">
  <tr>
    <td><p style="line-height:190%"><%set rs=server.createobject("adodb.recordset")
sql="select top 5 * from SMT_news where SMT_key=1 and SMT_key1=1 and SMT_key2=1 and SMT_key3=1 order by SMT_id desc"
rs.open sql,conn,1,1
do while not rs.eof
title=trim(rs("SMT_title"))
if cityHTML=1 then
webget="Html/news/"&year(rs("SMT_date"))&month(rs("SMT_date"))&"/"&replace(replace(replace(rs("SMT_date"),"-",""),":","")," ","")&".html"
else
webget="ypnew_view.asp?id="&rs("SMT_id")&""
end if
%>
·<a href=<%=webget%> target="_blank" class=f12><%=LeftT(title,34)%></a><br>  
<%rs.movenext
loop
rs.close%></td>
  </tr>
  <tr><td height=44 align=center>
<img src="img/help.gif" align=absmiddle><a href=help.asp?sort_id=7 target=_blank><strong>新手</strong></a>&nbsp;  
<img src="img/help.gif" align=absmiddle><a href=help.asp?sort_id=8 target=_blank class=red><strong>如何防骗</strong></a>&nbsp;  
<img src="img/icon_info_02.gif" align=absmiddle><a href=free_ad.asp target=_blank><strong>免费发布供求信息</strong></a></td></tr>
</table>
<!--===right end=======-->
	</td>
  </tr>
  <tr>
    <td colspan=2 height=5></td>
  </tr>
</table>
<!--###################################################################-->
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="480" valign=top>
<!--=========left===============-->
<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 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><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=60 width=235 valign=top><p style="line-height:150%"><strong><a href=sca_list.asp?id=<%=rs("SMT_ypxxone_id")%> class="black"><font class=f13><%=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
if not rs1.eof then Response.Write("<font color=""#999999"">|</font>")
loop
rs1.close%></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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -