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

📄 bbs.js

📁 购物系统(本版为正式商业版
💻 JS
📖 第 1 页 / 共 2 页
字号:
function bbs(bid,bidname,logo,bidinfo,lasttopic,lastname,lasttime,str)
{
document.write("<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#73D1E9'>  ");
document.write("  <tr>");
document.write(" <td width='30%' bgcolor='#ffffff'> <table width='100%' border='0' cellpadding='3' cellspacing='1' bgcolor='#73D1E9'>  ");

document.write("  <tr >");
document.write(" <td width='10%' rowspan='3' bgcolor='#FFFFFF'> <div align='center'><img src="+logo+"></div></td>  ");
document.write(" <td width='44%' rowspan='3' bgcolor='#F7FEFF' valign='top'> <div align='left'>『 <a href=list.asp?bid="+bid+"><font color='#333333'><b>"+bidname+"</b></font></a> 』<a href=post.asp?bid="+bid+"><img src='images/mini_post.gif' border='0'></a> <a href=list.asp?bid="+bid+"><img src='images/mini_query.gif' border='0'></a> <a href=jinhua.asp?bid="+bid+"><img src='images/mini_votes.gif' border='0'></a><br>"+bidinfo+"");
document.write("  <br>  ");
document.write("</div></td>  ");
document.write(" <td width='6%' bgcolor='#EAFCFF'> <div align='right'>新帖: </div></td>  ");
document.write(" <td width='40%' height='20' bgcolor='#FFFFFF'> <div align='left'><img src='images/dot_04.gif' width='10' height='10' border='0'> "+lasttopic+"");
document.write("  <br>  ");
document.write("</div></td>  ");
document.write("  </tr>  ");
document.write("  <tr>");
document.write(" <td bgcolor='#EAFCFF'> <div align='right'>作者: </div></td>  ");
document.write(" <td bgcolor='#FFFFFF'> <div align='left'><img src='images/dot_04.gif' width='10' height='10' border='0'> <a href=Userlist_data.asp?username="+lastname+">"+lastname+"</a> <br>  ");
document.write("</div></td>  ");
document.write("  </tr>  ");
document.write("  <tr>");
document.write(" <td bgcolor='#EAFCFF'> <div align='right'>时间:<br>  ");
document.write("</div></td>  ");
document.write(" <td bgcolor='#FFFFFF'> <div align='left'><img src='images/dot_04.gif' width='10' height='10' border='0'> "+lasttime+"</div></td>  ");
document.write("  </tr>  ");
document.write("</table></td>  ");
document.write("  </tr>  ");
document.write("</table> ");
}

function new1(id,bid,bidname,username,title,hits,reply,wdate)
{
document.write(" <tr>");
document.write(" <td bgcolor='#FFFFFF' width='67'>");
document.write("<div align='center'><a href=list.asp?bid="+bid+">"+bidname+"</a></div></td>  ");
document.write(" <td bgcolor='#FFFFFF' width='50'>");
document.write("<div align='center'><a href=Userlist_data.asp?username="+username+">"+username+"</a></div></td>  ");
document.write(" <td bgcolor='#FFFFFF' width='170'> <div align='left'><a href=show.asp?id="+id+">"+title+"</a></div></td>  ");
document.write(" <td bgcolor='#FFFFFF' width='39'>");
document.write("<div align='center'>"+hits+"</div></td>  ");
document.write(" <td bgcolor='#FFFFFF' width='41'>");
document.write("<div align='center'>"+reply+"</div></td>  ");
document.write(" <td bgcolor='#FFFFFF' width='122'>");
document.write("<div align='center'>"+wdate+"</div></td>  ");
document.write("  </tr>  ");
}
function new2(id,bid,bidname,username,title,hits,reply,wdate)
{
document.write(" <tr>");
document.write(" <td bgcolor='#FFFFFF' width='67'>");
document.write("<a href=bbs/list.asp?bid="+bid+">"+bidname+"</a></td>  ");
document.write(" <td bgcolor='#FFFFFF' width='50'>");
document.write("<a href=bbs/Userlist_data.asp?username="+username+">"+username+"</a></td>  ");
document.write(" <td bgcolor='#FFFFFF' width='170'> <a href=bbs/show.asp?id="+id+">"+title+"</a></td>  ");
document.write(" <td bgcolor='#FFFFFF' width='39'>");
document.write(" "+hits+"</td>  ");
document.write(" <td bgcolor='#FFFFFF' width='41'>");
document.write(" "+reply+"</td>  ");
document.write(" <td bgcolor='#FFFFFF' width='122'>");
document.write(" "+wdate+"</td>  ");
document.write("  <tr>  ");
document.write("  <td height='1' background='images/xian_001.gif'></td>  ");
document.write("  <td height='1' background='images/xian_001.gif'></td>  ");
document.write("  <td height='1' background='images/xian_001.gif'></td>  ");
document.write("  <td height='1' background='images/xian_001.gif'></td>  ");
document.write("  <td height='1' background='images/xian_001.gif'></td>  ");
document.write("  <td height='1' background='images/xian_001.gif'></td>  ");

document.write("  </tr>  ");
}
function bbslist(id,faceimg,title,username,hits,reply,ldate,lastname,gd,good,lock,vote_title)
{	
if (lastname!="") {name=lastname}
else{name="----"}
if (gd == 2) {image="<img src=images/Order_16.gif>"}
else
if (gd == 1) {image="<img src=images/top.gif>"}
else
	{image="<img src=images/Order_13.gif>"}
if	(good == 1) {image="<img src=images/Order_18.gif>"}
else
if  (lock == 1)	{image="<img src=images/Order_15.gif>"}
else
if  (vote_title != ""){image="<img src=images/Order_19.gif>"}

//document.write("<tr> ");
document.write("<td bgcolor='#EAFCFF'> <div align='center'>"+image+"</div></td>  ");
document.write("<td> <div align='left'><img src=images/mood/"+faceimg+".gif><a href=show.asp?id="+id+">"+title+"</a></div></td>  ");
document.write("<td  bgcolor='#EAFCFF'> <div align='center'><a href=Userlist_data.asp?username="+username+">"+username+"</a></div></td>  ");
document.write(" <td bgcolor='#FFFFFF'> <div align='center'><font color='ff0000'>"+hits+"</font></div></td>  ");
document.write(" <td bgcolor='#FFFFFF'> <div align='center'>"+reply+"</div></td>  ");
document.write(" <td bgcolor='#FFFFFF'> <div align='left'>"+ldate+"|<a href=Userlist_data.asp?username="+name+">"+name+" </a> ");
document.write(" </div></td>  ");
//document.write(" </tr>");
}

 function online(name,ip,ltime)
{
	if (name!="") {name1=name}
else{name1="游客"}	  
document.write("<tr bgcolor='#ffffff'>");
document.write("<td width='186'>");
document.write("<p align='center'>"+name1+"</p>");
document.write("</td>");
document.write(" <td width='186'>");
document.write("<p align='center'>"+ip+"</p>");
document.write("</td> ");
document.write(" <td width='185'>");
document.write(" <p align='center'>"+ltime+"</p>");
document.write(" </td> </tr>  ");
}

  function user(username,reg_time,zjdlsj,topic,zw,oicq,email)
{

document.write(" <tr bgcolor='ffffff'> ");
document.write(" ");
document.write(" <td width='115'>  ");
document.write("<p align='center'><a href=Userlist_data.asp?username="+username+">"+username+"</a></p>");
document.write(" </td>  ");
document.write("");
document.write(" <td width='145'>");
document.write("<p align='center'>"+reg_time+"</p>");
document.write(" </td> ");
document.write("  ");
document.write(" <td width='125'> ");
document.write("<p align='center'>"+zjdlsj+"</p>");
document.write(" </td>");
document.write(" ");
document.write(" <td width='99'> ");
document.write("<p align='center'>"+topic+"</p> ");
document.write(" </td>  ");
document.write("");
document.write(" <td width='111'>");
document.write("<p align='center'>"+zw+"</p>  ");
document.write(" </td>  ");
document.write("");
document.write(" <td width='96'>");
document.write("<p align='center'>"+oicq+"</p>  ");
document.write(" </td>  ");
document.write("");
document.write(" <td width='83'>");
document.write("  ");
document.write(""+email+"");
document.write(" ");
document.write(" </td>");
document.write("  </tr> ");
}



function show_bbs(title,type,hits,page,number,username,pic,dj,zw,topic,reg_time,yucun,jifen,email,lock,body,qianming,regtime,wdate,id,bid,gd,lock,good,fid,weburl)

{
document.write("  <tr><td colspan='2' bgcolor='#C0E9F5' height='25'> <table width='100%' border='0' cellspacing='0' cellpadding='0'>  ");
document.write("  <tr>");
document.write(" <td class='listcontents3'><strong><font color='#3366FF'>&nbsp;&nbsp;帖子主题:"+title+"</font></strong></td> ");
document.write(" <td><div align='right'>  ");
if (type==0) {
document.write("  本主题点击统计:<font color='#FF3300'><strong>"+hits+"</strong></font>次");
document.write("");
document.write("  "); }
if (page=="" ) {page=1}
else{page=page}
document.write("<B>"+page+"</B>栋<B>"+number+"</b>楼  ");
document.write("&nbsp;&nbsp;");
document.write("  ");
document.write("");
document.write("</div></td> ");
document.write("  </tr> ");
document.write("</table></td> ");
document.write("  </tr> ");
document.write("  <tr bgcolor='#FFFFFF'>  ");
document.write(" <td width='22%' valign='top' > <div align='center'>  ");
document.write("  <table width='150' border='0' align='center' cellpadding='0' cellspacing='0'> ");
document.write(" <tr>  ");
document.write("<td>");
document.write("   ");
document.write("  <table width='100%' border='0' cellspacing='0' cellpadding='0'> ");
document.write(" <tr>  ");
document.write("<td height=6 bgcolor='ffffff'> <table width='120' border='0' align='center' cellpadding='2' cellspacing='1' bgcolor='ffffff'> ");

⌨️ 快捷键说明

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