新闻、文章-文栏内容页面添加当前位置
作者:cmscn 日期:2005-09-09
新闻 (con_news.asp)
将
引用内容
function news_view1(v_id,v_topic,v_tim,v_comto,v_pic,v_ispic)
dim n_pic,temp1
if v_ispic=true and v_pic<>"" and var_null(v_pic)<>"" then n_pic="<tr><td align=center><img src='"&pic_url(v_pic,0)&"' border=0 onload=""javascript:if(this.width>"&max_w&")this.width="&max_w&";""></td></tr>"
temp1=temp1&vbcrlf&"<table border=0 width='98%' cellspacing=0 cellpadding=0 align=center>" & _
vbcrlf&"<tr><td align=center height=50><font class=red_3 size=3><b>"&v_topic&"</b></font></td></tr>" & _
vbcrlf&"<tr><td align=center class=gray>"&v_tim&" "&joekoe_cms.web_name&" 出处:"&v_comto&"</td></tr>" & _
vbcrlf&"<tr><td height=10></td></tr>" & _
vbcrlf&"<tr><td valign=top>" & _
vbcrlf&" <table border=0 class=tablew>"&n_pic&"<tr><td>" & _
vbcrlf&" <table border=0 width='100%' class=tf><tr><td class=bw>"
news_view1=temp1
end function
dim n_pic,temp1
if v_ispic=true and v_pic<>"" and var_null(v_pic)<>"" then n_pic="<tr><td align=center><img src='"&pic_url(v_pic,0)&"' border=0 onload=""javascript:if(this.width>"&max_w&")this.width="&max_w&";""></td></tr>"
temp1=temp1&vbcrlf&"<table border=0 width='98%' cellspacing=0 cellpadding=0 align=center>" & _
vbcrlf&"<tr><td align=center height=50><font class=red_3 size=3><b>"&v_topic&"</b></font></td></tr>" & _
vbcrlf&"<tr><td align=center class=gray>"&v_tim&" "&joekoe_cms.web_name&" 出处:"&v_comto&"</td></tr>" & _
vbcrlf&"<tr><td height=10></td></tr>" & _
vbcrlf&"<tr><td valign=top>" & _
vbcrlf&" <table border=0 class=tablew>"&n_pic&"<tr><td>" & _
vbcrlf&" <table border=0 width='100%' class=tf><tr><td class=bw>"
news_view1=temp1
end function
替换为
引用内容
function news_view1(v_id,v_topic,v_tim,v_comto,v_pic,v_ispic)
dim n_pic,temp1
if v_ispic=true and v_pic<>"" and var_null(v_pic)<>"" then n_pic="<tr><td align=center><img src='"&pic_url(v_pic,0)&"' border=0 onload=""javascript:if(this.width>"&max_w&")this.width="&max_w&";""></td></tr>"
temp1=temp1&vbcrlf&"<table border=0 width='100%' cellspacing=0 cellpadding=0 align=center>" & _
vbcrlf&"<tr class=bg_td><td align=left height="&m_hei&" class=gray>当前位置:<a href='./'>首页</a> → <a href='"&index_url&".asp'>"&tit_fir&"</a> → <font title='"&joekoe_cms.code_html(tit,1,0)&"'>"&joekoe_cms.code_html(tit,1,20)&"</font></td></tr>" & _
vbcrlf&"<tr><td align=center height=50><font class=red_3 size=3><b>"&v_topic&"</b></font></td></tr>" & _
vbcrlf&"<tr><td align=center class=gray>"&v_tim&" "&joekoe_cms.web_name&" 出处:"&v_comto&"</td></tr>" & _
vbcrlf&"<tr><td height=10></td></tr>" & _
vbcrlf&"<tr><td valign=top>" & _
vbcrlf&" <table border=0 class=tablew>"&n_pic&"<tr><td>" & _
vbcrlf&" <table border=0 width='100%' class=tf><tr><td class=bw>"
news_view1=temp1
end function
dim n_pic,temp1
if v_ispic=true and v_pic<>"" and var_null(v_pic)<>"" then n_pic="<tr><td align=center><img src='"&pic_url(v_pic,0)&"' border=0 onload=""javascript:if(this.width>"&max_w&")this.width="&max_w&";""></td></tr>"
temp1=temp1&vbcrlf&"<table border=0 width='100%' cellspacing=0 cellpadding=0 align=center>" & _
vbcrlf&"<tr class=bg_td><td align=left height="&m_hei&" class=gray>当前位置:<a href='./'>首页</a> → <a href='"&index_url&".asp'>"&tit_fir&"</a> → <font title='"&joekoe_cms.code_html(tit,1,0)&"'>"&joekoe_cms.code_html(tit,1,20)&"</font></td></tr>" & _
vbcrlf&"<tr><td align=center height=50><font class=red_3 size=3><b>"&v_topic&"</b></font></td></tr>" & _
vbcrlf&"<tr><td align=center class=gray>"&v_tim&" "&joekoe_cms.web_name&" 出处:"&v_comto&"</td></tr>" & _
vbcrlf&"<tr><td height=10></td></tr>" & _
vbcrlf&"<tr><td valign=top>" & _
vbcrlf&" <table border=0 class=tablew>"&n_pic&"<tr><td>" & _
vbcrlf&" <table border=0 width='100%' class=tf><tr><td class=bw>"
news_view1=temp1
end function
文章 (con_article.asp)
将
引用内容
function article_view1(v_id,v_topic,v_tim,v_comto,v_author)
dim temp1
temp1=temp1&vbcrlf&"<table cellspacing=0 cellpadding=1 class=table0>" & _
vbcrlf&"<tr><td class=td> "+img_skin(web_img_m)+" "+v_topic+"</td></tr>" & _
vbcrlf&"<tr class=bg_tds><td align=right height="&m_hei&" class=gray>作者:"&v_author&" 出处:"&v_comto&" 更新时间: "&v_tim&" </td></tr>" & _
vbcrlf&"<tr class=bg_td><td align=center>" & _
vbcrlf&" <table border=0 class=tablew><tr><td>" & _
vbcrlf&" <table border=0 width='100%' class=tf><tr><td class=bw>"
article_view1=temp1
end function
dim temp1
temp1=temp1&vbcrlf&"<table cellspacing=0 cellpadding=1 class=table0>" & _
vbcrlf&"<tr><td class=td> "+img_skin(web_img_m)+" "+v_topic+"</td></tr>" & _
vbcrlf&"<tr class=bg_tds><td align=right height="&m_hei&" class=gray>作者:"&v_author&" 出处:"&v_comto&" 更新时间: "&v_tim&" </td></tr>" & _
vbcrlf&"<tr class=bg_td><td align=center>" & _
vbcrlf&" <table border=0 class=tablew><tr><td>" & _
vbcrlf&" <table border=0 width='100%' class=tf><tr><td class=bw>"
article_view1=temp1
end function
替换为
引用内容
function article_view1(v_id,v_topic,v_tim,v_comto,v_author)
dim temp1
temp1=temp1&vbcrlf&"<table cellspacing=0 cellpadding=1 class=table0>" & _
vbcrlf&"<tr class=bg_td><td align=left height="&m_hei&" class=gray>当前位置:<a href='./'>首页</a> → <a href='"&index_url&".asp'>"&tit_fir&"</a> → <font title='"&joekoe_cms.code_html(tit,1,0)&"'>"&joekoe_cms.code_html(tit,1,20)&"</font></td></tr>" & _
vbcrlf&"<tr><td align=center height=50><font class=red_3 size=3><b>"&v_topic&"</b></font></td></tr>" & _
vbcrlf&"<tr><td align=center class=gray>"&v_tim&" "&joekoe_cms.web_name&" 出处:"&v_comto&"</td></tr>" & _
vbcrlf&"<tr><td height=10></td></tr>" & _
vbcrlf&"<tr><td align=center>" & _
vbcrlf&" <table border=0 class=tablew><tr><td>" & _
vbcrlf&" <table border=0 width='100%' class=tf><tr><td class=bw>"
article_view1=temp1
end function
dim temp1
temp1=temp1&vbcrlf&"<table cellspacing=0 cellpadding=1 class=table0>" & _
vbcrlf&"<tr class=bg_td><td align=left height="&m_hei&" class=gray>当前位置:<a href='./'>首页</a> → <a href='"&index_url&".asp'>"&tit_fir&"</a> → <font title='"&joekoe_cms.code_html(tit,1,0)&"'>"&joekoe_cms.code_html(tit,1,20)&"</font></td></tr>" & _
vbcrlf&"<tr><td align=center height=50><font class=red_3 size=3><b>"&v_topic&"</b></font></td></tr>" & _
vbcrlf&"<tr><td align=center class=gray>"&v_tim&" "&joekoe_cms.web_name&" 出处:"&v_comto&"</td></tr>" & _
vbcrlf&"<tr><td height=10></td></tr>" & _
vbcrlf&"<tr><td align=center>" & _
vbcrlf&" <table border=0 class=tablew><tr><td>" & _
vbcrlf&" <table border=0 width='100%' class=tf><tr><td class=bw>"
article_view1=temp1
end function
评论: 8 | 引用: 0 | 查看次数: 758
发表评论