📄 hp_top.js
字号:
document.write ('<table width="760" border="0" cellpadding="0" cellspacing="0" background="http://www.pconline.com.cn/images/toptitle_01.gif" ALIGN="CENTER">');
document.write (' <tr>');
document.write (' <td width="7"><img src="http://www.pconline.com.cn/images/toptitle_left.gif" width="7" height="35"></td>');
document.write (' <td width="401">');
document.write (' <table width="401" border="0" align="center" cellpadding="0" cellspacing="0">');
document.write (' <FORM METHOD="post" target=_blank ACTION="http://itbbs.pc.com.cn/common/user/login.jsp" NAME="bbs">');
document.write (' <INPUT TYPE="hidden" NAME="username" VALUE="">');
document.write (' <INPUT TYPE="hidden" NAME="password" VALUE="">');
document.write (' <input type=hidden name=return value="http://pcbbs.pconline.com.cn/bbs2/main.html" >');
document.write (' </FORM>');
document.write (' <FORM target=_blank METHOD="post" ACTION="http://emember.pconline.com.cn/member/login.do" NAME="cpy">');
document.write (' <INPUT TYPE="hidden" NAME="username" VALUE="">');
document.write (' <INPUT TYPE="hidden" NAME="password" VALUE="">');
document.write ('</FORM>');
document.write ('<FORM target=_blank METHOD="post" ACTION="http://pcjob.pconline.com.cn/pcjob/person/person_login.jsp" NAME="person1">');
document.write (' <INPUT TYPE="hidden" NAME="username" VALUE="">');
document.write (' <INPUT TYPE="hidden" NAME="password" VALUE="">');
document.write ('</FORM>');
document.write (' <tr>');
document.write (' <form id=mainform METHOD="get" onSubmit="return PConlineLogin(this);" > <td width="295">');
document.write (' <select name=online id=online onChange="url.href=u_reg[value]" class=pt9 style="font-size:12px;">');
document.write (' <option value="1" selected>论坛</option>');
document.write (' <option value="2">商家</option> ');
document.write (' <option value="3">求职</option> ');
document.write (' </select> ');
document.write ('用户 <input name=username size=12 style="HEIGHT: 20px;" class=pt9 VALUE="guest" onClick="if(this.value==\'guest\')this.value=\'\';password.value=\'\'" >');
document.write ('密码 <input name=password size=12 style="HEIGHT: 20px;" class=pt9 TYPE="PASSWORD" VALUE="guest">');
document.write ('</td>');
document.write (' <td width="53" align="center"><input type=image src=http://www.pconline.com.cn/images/bot_login.gif width="42" height="18"></td></FORM>');
document.write (' <td width="53" align="center">');
var u_guest= new Array(3);
var u_reg= new Array(3);
u_guest[1]="http://pcbbs.pconline.com.cn/bbs2/main.html"
u_guest[2]="http://www.pconline.com.cn/yp/"
u_guest[3]="http://pcjob.pconline.com.cn/pcjob/person/person_search_result.jsp?publishdate=30"
u_reg[1]="http://itbbs.pc.com.cn/common/user/apply/register.jsp?return=../../../index.html"
u_reg[2]="http://cyp.pconline.com.cn/cyp/register.jsp"
u_reg[3]="http://pcjob.pconline.com.cn/pcjob/user_reg.htm"
function PConlineLogin()
{
if (mainform.username.value == "" || mainform.username.value == "guest")
{
window.open(u_guest[mainform.online.value]);
return false;
}
if (mainform.password.value == "")
{
alert("请输入您的密码");
mainform.password.focus();
return false;
}
if (mainform.online.value=="1"){
bbs.username.value =mainform.username.value;
bbs.password.value =mainform.password.value;
bbs.submit();
}
if (mainform.online.value=="2"){
cpy.username.value =mainform.username.value;
cpy.password.value =mainform.password.value;
cpy.submit();
}
if (mainform.online.value=="3"){
person1.username.value =mainform.username.value;
person1.password.value =mainform.password.value;
person1.submit();
}
return false;
}
document.write (" <a id=url href='http://itbbs.pc.com.cn/common/user/apply/register.jsp?return=../../../index.html' target=_blank><img src=http://www.pconline.com.cn/images/bot_reg.gif width=42 height=18 border=0></a>");
document.write ('</td>');
document.write (' </tr>');
document.write (' </table></td>');
document.write (' <td width="45"><img src="http://www.pconline.com.cn/images/toptitle_02.gif" width="45" height="35"></td>');
document.write (' <td width="300" background="http://www.pconline.com.cn/images/toptitle_03.gif">');
document.write (' <table height="30" border="0" align="center" cellpadding="0" cellspacing="0" WIDTH="98%">');
document.write (' <tr>');
document.write (' <td class="font4" ALIGN="RIGHT" HEIGHT="25" VALIGN="BOTTOM">太平洋系列网站:<a href="http://www.pcauto.com.cn" target="_blank" class=p1>汽车网</a> | <a href="http://www.pcgames.com.cn" target="_blank" class=p1>游戏网</a> | <a href="http://www.pclady.com.cn" target="_blank" class=p1>时尚女性</a></td>');
document.write (' </tr>');
document.write (' </table>');
document.write ('</td>');
document.write (' <td width="7"><img src="http://www.pconline.com.cn/images/toptitle_right.gif" width="7" height="35"></td>');
document.write (' </tr>');
document.write ('</table>');
document.write ('<TABLE WIDTH="760" BORDER="0" ALIGN="center" CELLPADDING="0" CELLSPACING="0" BGCOLOR="#FFFFFF">');
document.write (' <TR> ');
document.write (' <TD WIDTH="760"> ');
document.write (' <TABLE WIDTH="760" BORDER="0" CELLSPACING="0" CELLPADDING="0" HEIGHT="75">');
document.write (' <TR> ');
document.write (' <TD WIDTH="190" HEIGHT="75" ALIGN="center" CLASS="dingwei"><A HREF="http://www.pconline.com.cn/" TARGET="_top"><IMG SRC="http://www.pconline.com.cn/images/newlogo1.gif" WIDTH="172" HEIGHT="90" BORDER="0"></A></TD>');
document.write (' <TD ALIGN="center" HEIGHT="97" VALIGN="MIDDLE">');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -