function article_bar_top(tvar,tt)
{
var temp1="";
temp1+=" "+img_skin(web_img_m)+" "+tvar+"";
temp1+="";
if (tt==1) temp1+=" ";
document.write (temp1);
}
function article_bar_end(mvar,tt)
{
var temp1="";
if (tt==1) temp1+=" ";
temp1+="";
if (mvar!="" && mvar!=null) temp1+=""+mvar+" ";
temp1+="";
document.write (temp1+ukong);
}
function article_topic_type(b_c_num,b_id,b_username,b_topic,b_tim,b_counter,b_ispic,b_tim_type,b_emoney,b_power)
{
var n_url="article_view.asp?id="+b_id;
var n_jt=img_skin(web_img_h);
document.write ( format_article_topic_type(n_jt,b_username,b_topic,b_c_num,n_url,b_tim,b_counter,b_ispic,"文章标题","阅读次数",b_tim_type,b_emoney,b_power) );
}
function format_article_topic_type(b_jt,b_username,b_topic,b_c_num,b_url,b_tim,b_counter,b_ispic,b_tit,b_count,b_tim_type,b_emoney,b_power)
{
var n_img="";
var tim_type="";
var n_c_num=b_c_num;
if (vtrue(b_ispic))
{
n_img=" ";
n_c_num-=2;
}
if (b_tim_type>0)
{
if (b_tim_type==2) tim_type+="";
tim_type+=" "+b_tim.substring(2,10)+"";
}
var temp1=""+b_jt+""+code_html(b_topic,1,n_c_num)+""+n_img+tim_type+"";
return temp1;
}
function article_view_return(v_emoney,v_power,v_url)
{
if (note_emoney('浏览此文章',v_emoney,v_power))
{ open_view(v_url,1); }
}
function article_label()
{
var temp1="";
temp1+=" "+img_skin("label_"+m_channel)+" if (action=="good") temp1+=" class=red";
temp1+=">推荐文章";
temp1+=" "+img_skin("label_"+m_channel)+" if (action=="hot") temp1+=" class=red";
temp1+=">热门文章";
temp1+="";
document.write (temp1);
//return temp1;
}
function article_list_pagecute(p_nummer,p_rssum,p_viewpage,p_thepages,p_pageurl)
{
var temp1="";
temp1+="";
temp1+="";
temp1+="";
temp1+=" 本栏共有 "+p_rssum+" 篇文章";
temp1+="页次:"+p_viewpage+"/"+p_thepages+" ";
temp1+=" 分页:"+format_pagecute(p_viewpage,p_thepages,p_pageurl,5);
temp1+="";
temp1+=""+ukong;
document.write(temp1);
}
function article_search(stit)
{
var keyvar="请输入关键字";
var temp1="";
temp1+="";
temp1+="";
temp1+="";
temp1+=""+img_skin('new')+"";
temp1+="";
temp1+=""+select_type(stit,0,0)+"";
temp1+="";
temp1+=""+stit+"标题发布人";
temp1+="";
temp1+="满足所有条件满足一个条件";
temp1+="";
//temp1+="关键字:";
temp1+="";
temp1+="";
temp1+=" ";
//
temp1+=" ";
document.write(temp1);
return temp1;
}
function article_sea(stit)
{
if (document.article_sea_frm.keyword.value=="请输入关键字")
{
alert("请在搜索"+stit+"前先输入要查询的 关键字 !");
document.article_sea_frm.keyword.focus();
return false;
}
}
function article_view1(v_id,v_topic,v_tim,v_comto,v_author)
{
var temp1="";
temp1+=" "+img_skin(web_img_m)+" "+v_topic+"";
temp1+="作者:"+v_author+" 出处:"+v_comto+" 更新时间: "+v_tim+" ";
temp1+="";
temp1+=" ";
temp1+=" ";
document.write (temp1);
//return temp1;
}
function article_view2(v_id,v_sort,v_topic,v_counter,v_username,v_id1,v_topic1,v_id2,v_topic2)
{
var temp1=" (本文已被浏览 "+v_counter+" 次)";
temp1+=" ";
temp1+=" ";
temp1+="";
temp1+="";
temp1+=" ";
temp1+=" ";
temp1+=" 发布人:"+format_user_name(v_username,0,'')+" "+commend_friend(tit,v_topic,'article_view.asp?id='+v_id)+" "+commend_err(tit,v_topic,v_id,v_sort,'err.asp?id='+v_id)+"";
temp1+=" ";
temp1+="上篇文章:";
if (v_topic1!="" && v_topic1!=null)
{ temp1+=""+code_html(v_topic1,1,25)+""; }
else
{ temp1+="没有找到相关文章"; }
temp1+="下篇文章:";
if (v_topic2!="" && v_topic2!=null)
{ temp1+=""+code_html(v_topic2,1,25)+""; }
else
{ temp1+="没有找到相关文章"; }
temp1+=" ";
temp1+="";
temp1+="";
document.write (temp1+ukong);
//return temp1;
}