|
<P>显示现金和魅力的办法
风格界面模板总管理--->
分页面模板(page_dispbbs)
template.html(2)内找到
{$usertitle}
&nbsp;&nbsp;等级:{$userclass} <BR>
{$userpower}
&nbsp;&nbsp;文章:{$article}<br>
&nbsp;&nbsp;积分:{$userep}<br>
改成
{$usertitle}
&nbsp;&nbsp;等级:{$userclass} <BR>
{$userpower}
&nbsp;&nbsp;文章:{$article}<br></P>
<P>
&nbsp;&nbsp;现金:{$userwealth}<br>
&nbsp;&nbsp;魅力:{$usercp}<br></P>
<P>
&nbsp;&nbsp;积分:{$userep}<br>
template.html(4)内寻找
str = str.replace(/{\$userclass}/gi,userclass);
str = str.replace(/{\$article}/gi,article);
str = str.replace(/{\$userep}/gi,userEP);
str = str.replace(/{\$regdate}/gi,addDate);
str = str.replace(/{\$dateandtime}/gi,dateandtime);
str = str.replace(/{\$ip}/gi,ip);
str = str.replace(/{\$fontsize}/gi,fontsize);
str = str.replace(/{\$lineheight}/gi,lineheight);
str = str.replace(/{\$tablebody}/gi,tablebody);
str = str.replace(/{\$birthday}/gi,astro(birthday));
str = str.replace(/{\$onlinepic}/gi,OnlinePic(isOnline,***));
str = str.replace(/{\$tableline}/gi,mainsetting[12]);
str = str.replace(/{\$namestyle}/gi,namestyle(UserGroupID));
改成
str = str.replace(/{\$userclass}/gi,userclass);
str = str.replace(/{\$article}/gi,article);</P>
<P>
str = str.replace(/{\$userwealth}/gi,userWealth);
str = str.replace(/{\$usercp}/gi,userCP);</P>
<P>
str = str.replace(/{\$userep}/gi,userEP);
str = str.replace(/{\$regdate}/gi,addDate);
str = str.replace(/{\$dateandtime}/gi,dateandtime);
str = str.replace(/{\$ip}/gi,ip);
str = str.replace(/{\$fontsize}/gi,fontsize);
str = str.replace(/{\$lineheight}/gi,lineheight);
str = str.replace(/{\$tablebody}/gi,tablebody);
str = str.replace(/{\$birthday}/gi,astro(birthday));
str = str.replace(/{\$onlinepic}/gi,OnlinePic(isOnline,***));
str = str.replace(/{\$tableline}/gi,mainsetting[12]);
str = str.replace(/{\$namestyle}/gi,namestyle(UserGroupID));
</P>
[此贴子已经被作者于2006-3-10 17:17:24编辑过]
|
|