function forum_view_top()
{
var temp1="";
temp1+="";
temp1+=" 主题:"+code_html(fir_topic,1,38)+"";
temp1+="";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+="";
temp1+="";
temp1+="";
document.write(temp1);
}
function forum_view_body(v_i,v_rnum,v_id,v_topic,v_icon,v_word,v_tim,v_ip,v_sys,u_username,u_nname,u_sex,u_whe,u_qq,u_email,u_url,u_face,u_face_w,u_face_h,u_tim,u_remark,u_emoney,u_integral,u_power,u_last_time,u_bbs_counter)
{
var bg_var="bg_td";
var a,b;
a=Math.round(v_i/2);
if ((a*2)==v_i) bg_var="bg_tds"
var n_user=code_html(u_username,1,0);
var temp1="";
temp1+="";
temp1+=" ";
temp1+=" "+n_user+""+user_view_sex(u_sex,u_last_time)+"";
temp1+=" "+format_user_face(u_face,u_face_w,u_face_h)+"";
temp1+=" "+forum_user_power_grade(u_bbs_counter,u_power);
if (u_nname!="" && u_nname!=null) temp1+=" 头衔:"+code_html(u_nname,1,0);
temp1+=" 贴子:"+u_bbs_counter+" 积分:"+u_integral+" "+m_unit+":"+u_emoney
if (u_whe!="" && u_whe!=null) temp1+=" 来自:"+code_html(u_whe,1,0);
temp1+=" 注册:"+u_tim.substring(0,10)+"";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+="";
temp1+="";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" ";
if (u_email!="" && u_email!==null) temp1+=" ";
if (u_url!="" && u_url!==null) temp1+=" ";
if (u_qq!="" && u_qq!==null) temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+="";
temp1+=" ";
temp1+=" 第 "+v_i+" 楼";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" "+code_html(v_topic,1,38)+"";
temp1+=" "+v_word+""; //帖子美化部分
//temp1+=" "+v_word+"";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" "+u_remark+"";
temp1+=" ";
temp1+="";
temp1+="";
temp1+="";
temp1+=" "+v_tim.substring(0,16)+"";
temp1+="";
temp1+=" ";
temp1+=" ";
temp1+=" "+ads_txt_type(v_rnum,1)+"";
temp1+=" ";
if (v_i>1 && (manage=="True" || manage=="true")) { temp1+=" "; }
temp1+="";
temp1+=" ";
temp1+=" ";
temp1+="";
temp1+="";
temp1+="";
document.write(temp1);
web_branch();
}
function forum_view_end()
{
var temp1="";
temp1+="";
if (manage=="True" || manage=="true")
{
temp1+="";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" 状态:";
temp1+=" "+base_forum_isview(fir_isvote,fir_islock,re_counter,fir_istop,fir_isgood)+"";
temp1+=" 管理:";
temp1+=" 还原";
temp1+=" 修复";
temp1+=" 奖惩";
temp1+=" 转移";
temp1+=" 固顶";
temp1+=" 总固顶";
temp1+=" 精华";
temp1+=" 锁定";
temp1+=" 删除";
//temp1+=" 删除回贴";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+=" ";
temp1+="";
}
temp1+="";
temp1+=" ";
temp1+=" ";
temp1+=" 本主题回复"+re_counter+"贴,浏览"+counter+"人次,分页:"+format_pagecute(viewpage,thepages,'?forum_id='+forumid+'&view_id='+viewid+'&',5)+"";
temp1+=" "+forum_go()+"";
temp1+=" ";
temp1+=" ";
temp1+="";
temp1+="";
temp1+="";
document.write(temp1);
web_branch();
}
function forum_view_reply(vtext)
{
var temp1="";
temp1+=" → 快速回复:"+fir_topic+"";
if (login_mode=="")
{ temp1+=" "+web_nologin+""; }
else if(fir_islock==1)
{ temp1+=" 主题已被锁定,不能再对其进行回复。"; }
else
{
temp1+="";
temp1+="";
temp1+="";
temp1+=vtext;
temp1+="";
temp1+="当前心情:";
temp1+=""+sy_icon(0)+"";
temp1+="";
temp1+="";
temp1+="";
temp1+="贴子内容:"+web_frm_word+"长度 temp1+="";
temp1+="";
temp1+="";
temp1+="E M 贴图:";
temp1+=" "+sy_em('write_frm','sy_word')+"";
temp1+="";
temp1+="";
temp1+="上传文件:";
temp1+="";
temp1+="";
temp1+="";
temp1+="";
temp1+="";
temp1+="快速回复:";
temp1+=" (按 Ctrl + Enter 可快速回复)";
temp1+="";
temp1+="";
}
temp1+="";
document.write(temp1+ukong);
}