function forum_list_istop_top()
{
var temp1="";
temp1+="";
temp1+="";
temp1+="图";
temp1+="例";
temp1+="总固顶及本版固顶的主题";
temp1+=" ";
temp1+="发布时间及发布人";
temp1+="";
document.write(temp1);
}
function forum_list_body_istop(l_id,l_forum_id,l_username,l_topic,l_tcolor,l_tbb,l_icon,l_tim,l_istop,l_isvote)
{
var temp1="";
var l_istop_var="istop";
var new_win="new_win";
var folder_istop=base_forum_istop(l_istop,l_isvote);
var topic_head=" "
var topic_color="";
if (l_tcolor!="") { topic_color="> var topic_bb="";
if (l_tbb==1 || l_tbb=="1") { topic_bb=""; }
if (topic_is_new(l_tim)=="new") new_win="new";
temp1+="";
temp1+=""+folder_istop+"";
temp1+="";
temp1+=""+topic_head+topic_bb+""+code_html(l_topic,1,0)+"";
temp1+="";
//temp1+=" "+l_tim.substring(5,16)+" "+format_user_name(l_username,1,'')+"";
temp1+=" "+l_tim.substring(0,16)+" by "+format_user_name(l_username,0,'')+" ";
temp1+="";
document.write(temp1);
}
function forum_list_istop_end()
{
var temp1=""+ukong;
document.write(temp1);
}
function forum_list_top(l_nummer)
{
var temp1="";
temp1+="";
temp1+="";
temp1+="";
temp1+="";
temp1+="主题(每页 "+l_nummer+" 贴 点击 可展开贴子列表)";
temp1+="发布人";
temp1+="回复";
temp1+="浏览";
temp1+=" ";
temp1+="最后回复信息";
temp1+="";
if (action=="manage") {temp1+="";}
document.write(temp1);
}
function forum_list_body(l_istop_var,l_id,l_forum_id,l_username,l_topic,l_tcolor,l_tbb,l_icon,l_tim,l_counter,l_re_username,l_re_counter,l_re_tim,l_istop,l_islock,l_isgood,l_isvote,l_vote_num)
{
var temp1="";
var folder_is=base_forum_is(l_re_counter,l_istop,l_islock,l_isgood,l_isvote,l_vote_num);
var new_win="new_win";
var icon_type="";
var topic_head=""
var topic_color="";
if (l_tcolor!="") { topic_color="> var topic_bb="";
if (l_tbb==1 || l_tbb=="1") { topic_bb=""; }
if (action=="manage" && forumid==l_forum_id) icon_type="";
if (topic_is_new(l_tim)=="new") new_win="new";
if (l_re_counter>0) topic_head=""
temp1+="";
temp1+=""+folder_is+"";
temp1+=""+icon_type+"";
temp1+=""+topic_head+topic_bb+""+code_html(l_topic,1,25)+""+list_pagecute('forum_view.asp?forum_id='+l_forum_id+'&view_id='+l_id,(l_re_counter+1),page_num)+"";
temp1+=""+format_user_name(l_username,0,'')+""+l_tim.substring(0,10)+"";
if (l_isvote==1)
{
temp1+="共 "+l_vote_num+" 票";
}
else
{
temp1+=""+l_re_counter+"";
temp1+=""+l_counter+"";
}
temp1+="";
temp1+=" "+l_re_tim.substring(0,16)+" by "+format_user_name(l_re_username,0,'')+" ";
temp1+="";
temp1+=" 正在读取关于本主题的跟贴,请稍侯……";
document.write(temp1);
}
function list_pagecute(viewurl,replynum,pagecutenum)
{
var pagecutepage=0;
var pagecutei=0;
var temp1="";
var pagecutecolor="red2"
pagecutepage=replynum/pagecutenum;
pagecutepage=Math.round(pagecutepage);
if ((pagecutepage*pagecutenum) if (pagecutepage>1)
{
for (pagecutei=2;pagecutei {
if (pagecutei>pagecutepage) break;
temp1+="["+pagecutei+"]";
}
if (pagecutepage>3)
{
if (pagecutepage==4)
{ temp1+="[4]"; }
else
{ temp1+="… ["+pagecutepage+"]"; }
}
temp1=" "+temp1;
}
return temp1;
}
function forum_list_end()
{
var temp1="";
if (action=="manage")
{
temp1+="";
temp1+="";
temp1+=" ";
temp1+=" ";
temp1+=" 版面管理:";
temp1+=" 选中所有";
temp1+=" 还原";
temp1+=" 修复";
temp1+=" 奖惩";
temp1+=" 转移";
temp1+=" 固顶";
temp1+=" 总固顶";
temp1+=" 精华";
temp1+=" 锁定";
temp1+=" 删除";
//temp1+=" 删除回贴";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+="";
temp1+="";
}
temp1+=""+ukong;
document.write(temp1);
}
function forum_list_pagecute(p_nummer,p_rssum,p_viewpage,p_thepages,p_pageurl)
{
var temp1="";
temp1+="";
temp1+="";
temp1+="";
temp1+=" 主题:"+forumtopicnum+" ";
temp1+="页次:"+p_viewpage+"/"+p_thepages+" ";
temp1+=" 分页:"+format_pagecute(p_viewpage,p_thepages,p_pageurl,8);
temp1+="";
temp1+=""+ukong;
document.write(temp1);
}
function topic_is_new(t_time)
{
var isnew="";
var tmptoday=now_time;
tmptoday=tmptoday.replace(/-/ig,"/");
var todays=new Date(tmptoday);
tmptoday=t_time;
tmptoday=tmptoday.replace(/-/ig,"/");
var nows=new Date(tmptoday);
if ((todays.getTime()-nows.getTime()) return isnew;
}
function load_tree(f_id,v_id,istop_var)
{
var targetImg=eval("document.all.followImg"+istop_var+v_id);
var targetDiv=eval("document.all.follow"+istop_var+v_id);
if (targetImg.src.indexOf("nofollow")!=-1) {return false;}
if ("object"==typeof(targetImg))
{
if (targetDiv.style.display!='block')
{
targetDiv.style.display="block";
targetImg.src=web_dir_skin+"small/fk_minus.gif";
if (targetImg.loaded=="no") { document.frames["hiddenframe"].location.replace("forum_loadtree.asp?forum_id="+f_id+"&view_id="+v_id+"&istop_var="+istop_var); }
}
else
{
targetDiv.style.display="none";
targetImg.src=web_dir_skin+"small/fk_plus.gif";
}
}
}