?? 模版更新.txt
字號:
模版更新說明:
模版的更新方法:
用戶進入 后臺管理 - 編輯模板 - 模板基本設置及調用模版
找到對應的模版名稱代碼, 如 “Team.HtmlNews (0)模板文件” ,將以下“=====”符合之間的模版文件的代碼復制到原文本框里面(不包括“=====”的符號)。
[模版更新時間:20061224]
Team.PostHtml (5)模板文件
===================================
<a name="{$nameid}"></a>
<div class="a4">
<table cellspacing="1" cellpadding="3" width="98%" align="center" border="0" class="a2">
<tr class="a3"><td align="center" colspan="2"> {$fortopuser} </td></tr>
<tr class="a4">
<td>
<table cellspacing="0" cellpadding="0" width="98%" border="0"><tr><td>
<a href="Profile.asp?username={$username}"> <span Style='{$stylename}' class="bold">{$username} </span> ({$levelname}) </a>
</td><td align="right"> {$usex}{$birthday} </td></tr></table>
</td>
<td>
<table cellspacing="0" cellpadding="0" width="98%" align="center" border="0">
<tr>
<td>
<a href="Command.asp?action=lookip&tid={$tid}&rid={$rid}" title="點擊查看用戶IP"><img src="{$Csslist}/ip.gif" border="0" align="absmiddle"></a>
{$maxi} </td>
<td>{$reward}</td>
<td align="right"> [ 字體:<a href="javascript:doZoom(25,{$rid})">大</a> <a href="javascript:doZoom(20,{$rid})">中</a> <a href="javascript:doZoom(15,{$rid})">小</a> ] [<a href="post.asp?newpage=edit&fid={$fid}&tid={$tid}&retopicid={$reid}"> 編輯 </a>] [<a href="Repot.asp?action=repot&tid={$tid}&retopicid={$reid}"> 報告 </a>] [<a href="Repot.asp?action=upext&tid={$tid}&retopicid={$reid}">評分</a>] </td></tr></table>
</td>
</tr>
<tr class="{$mod}">
<td width="20%" valign="top" style="word-break: break-all">
<table width="98%" border="0" cellspacing="0" cellpadding="3" style="table-layout: fixed; overflow: hidden">
<tr><td>
{$honor}
{$masterimg}
{$userimg}
UID {$uid} <br>
帖子 {$postcount} <br>
{$userext}{$mycity}
注冊 {$regtime} <br>
{$userMedals}
</td></tr>
</table>
</td>
<td width="80%" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td valign="top">
<table border="0" align="center" width="98%" style="table-layout:fixed;word-break:break-all">
<tr><td class="bold">{$smallimg} {$topic}</td></tr>
<tr>
<td> <div style="height:100px;width:97%;padding-right:0px; overflow-x: hidden;font-size:9pt;line-height:normal;text-indent:24px;margin-top:10px;word-wrap : break-word ;word-break : break-all ;" onload="this.style.overflowX='auto';"><span id="team{$rid}">{$content}</span></div></td>
</tr>
<tr><td> {$istags}</td></tr>
</table>
</td></tr>
<tr><td valign="bottom"><br><br><br> {$sign} </td></tr>
</table>
</td></tr>
<tr class="a3">
<td title="發表時間">{$online}{$lasttime}</td>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{$ismanage}</td>
<td align="right">
{$reaction}{$userqq}
[<a href="Profile.asp?username={$username}" title="查看{$username} 的資料"> 資料 </a>]
[<a href="msg.asp?action=sendpm&byname={$username}" title="發送短訊給{$username}"> 短信 </a>]
[<a href="Control.asp?action=edituserfriend&newfriend={$username}" title="加入好友"> 好友 </a>]
[<a href="salon.asp?username={$username}" title="查看{$username} 的個人文集"> 文集 </a>]
[<a href="Post.asp?newpage=reply&fid={$fid}&tid={$tid}"e=1&isrept={$isrept}" title="引用回復這個帖子"> 引用 </a>]
[<a href="Post.asp?newpage=reply&fid={$fid}&tid={$tid}" title="回復這個帖子"> 回復 </a>]
<a href="#top"><img src="{$Csslist}/totop.gif" border="0" alt='點擊返回頂部' align="absmiddle"></a>
</td></tr></table></td></tr></table><br>
</div>
=================================================
Team.UserHtml (1)模板文件
=================================
<!--用戶控制面板 -->
{$weburl}
<div Class="a4">
<table cellspacing="0" cellpadding="0" width="98%" align="center" border="0">
<tr><td width="20%" valign="top">
<table cellspacing="1" cellpadding="3" width="98%" align="center" class="a2">
<tr class="a1"><td align="center">控制面板</td></tr>
<tr class="tab4"><td><a href="Control.asp">控制面板首頁</a></td></tr>
<tr class="tab4"><td><a href="Control.asp?action=usercp">編輯個人資料</a></td></tr>
<tr class="a2"><td align="center">積分管理</td></tr>
<tr class="tab4"><td><a href="Control.asp?action=bank">積分轉賬管理</a></td></tr>
<tr class="a2"><td align="center">好友列表</td></tr>
<tr class="tab4"><td><a href="Control.asp?action=friend">好友列表管理</a></td></tr>
<tr class="a2"><td align="center">訂閱主題</td></tr>
<tr class="tab4"><td><a href="Control.asp?action=subscription">訂閱主題管理</a></td></tr>
</table>
<br>
<table cellspacing="1" cellpadding="3" width="98%" class="a2">
<tr class="a1"><td colspan="2">用戶資料</td></tr>
<tr class="a4"><td colspan="2">{$userMedals}</td></tr>
<tr class="a4"><td align="center" colspan="2">
<img src="{$userface}" border="0" onload="javascript:if(this.width>120)this.width=120;" onerror="javascript:this.src='images/face/error.gif'" alt="個人頭像" id="showface">
</td></tr>
<tr class="a3"><td width="50%">主頁:</td><td><a target="_blank" href="{$userhome}">{$userhome}</a></td></tr>
<tr class="a4"><td>Email:</td><td><a href="mailto:{$usermail}">{$usermail}</a></td></tr>
<tr class="a3"><td>QQ:</td><td>{$userqq}</td></tr>
<tr class="a4"><td>ICQ:</td><td><a target="_blank" href="http://web.icq.com/wwp?Uin={$icq}">{$icq}</a></td></tr>
<tr class="a3"><td>Yahoo:</td><td>{$yahoo}</td></tr>
<tr class="a4"><td>msn:</td><td>{$msn}</td></tr>
<tr class="a3"><td>淘寶旺旺:</td><td>{$taobao}</td></tr>
<tr class="a4"><td>支付寶賬號:</td><td>{$alipay}</td></tr>
<tr class="a1"><td colspan="2" align="center">簽名檔</td></tr>
<tr class="a4"><td colspan="2" align="center">{$sign}</script></td></tr>
</table>
</td><td width="80%" valign="top">
[uersinfo]
<script language="JavaScript">
function oCopy(obj){
obj.select();
var js=obj.createTextRange();
js.execCommand('Copy');
}
</script>
<table cellspacing="0" cellpadding="0" width="98%" align="center">
<tr> <td class="a4">
<img src="{$Csslist}/bin.gif" align="absmiddle" border="0"> 歡迎您{$username}進入管理面板,這里提供相關個人資料的修改. <br>
<img src="{$Csslist}/bin.gif" align="absmiddle" border="0"> 您的網站推廣代碼:<input onclick="oCopy(this)" value=" {$myurls}/ForumAdv.asp?Uid={$uid}" title="復制此地址" onmouseover="javascript:this.style.cursor='hand'" size="60">
</td></tr>
</table><br>
<table cellspacing="1" cellpadding="5" width="98%" align="center" class="a2">
<tr class="a1"> <td colspan="3">最近的5條短信</td></tr>
<tr class="tab3"><td width="60%">標題</td><td width="15%">來自</td><td width="25%">時間</td></tr>
{$newmsg}
</table>
<br>
<table cellspacing="1" cellpadding="5" width="98%" align="center" class="a2">
<tr class="a1"><td colspan="3">最近發表的5條主題</td></tr>
<tr class="tab3"><td width="60%">標題</td><td width="15%">查看/回復</td><td width="25%">最后回復</td></tr>
{$newtopic}
</table>
<br>
<table cellspacing="1" cellpadding="5" width="98%" align="center" class="a2">
<tr class="a1"><td colspan="3">最近參與的5條主題</td></tr>
<tr class="tab3"><td width="60%">標題</td><td width="15%">查看/回復</td><td width="25%">最后回復</td></tr>
{$newretopic}
</table>
[/uersinfo]
[usercp]
<script language="javascript" src="Js/calendar.Js"></script>
<form name="controls" method="post" action="?action=edituserinfo">
<table cellspacing="1" cellpadding="5" width="98%" align="center" class="a2">
<tr class="a1"><td colspan="2">編輯個人資料</td></tr>
<tr>
<td class="altbg1"><span class="bold">原密碼</span></td>
<td class="altbg2"><input type="password" name="oldpassword" size="25" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur"> 如不需要更改密碼或Email或安全提問,此處請留空</td>
</tr>
<tr>
<td class="altbg1"><span class="bold">新密碼</span></td>
<td class="altbg2"><input type="password" name="newpassword" size="25" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur"> 如不需要更改密碼,此處請留空</td>
</tr>
<tr>
<td class="altbg1"><span class="bold">確認新密碼</span></td>
<td class="altbg2"><input type="password" name="newpassword2" size="25" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur"> 如不需要更改密碼,此處請留空 </td>
</tr>
<tr>
<td class="altbg1" width="21%"><span class="bold">Email</span></td>
<td class="altbg2"><input type="text" name="emailnew" size="25" value="{$usermail}" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur"></td>
</tr>
<tr class="a3"><td colspan="2" height="5"></td></tr>
<tr>
<td class="altbg1" width="30%"><span class="bold">安全提問:</span></td>
<td class="altbg2"><select name="questionid">
{$userquest}
<option value="">無安全提問</option>
<option value="母親的名字">母親的名字</option>
<option value="爺爺的名字">爺爺的名字</option>
<option value="父親出生的城市">父親出生的城市</option>
<option value="您其中一位老師的名字">您其中一位老師的名字</option>
<option value="您個人計算機的型號">您個人計算機的型號</option>
<option value="您最喜歡的餐館名稱">您最喜歡的餐館名稱</option>
<option value="駕駛執照的最后四位數字">駕駛執照的最后四位數字</option>
</select>
<span class="a4"><b>如果您啟用安全提問,登錄時需填入相應的項目才能登錄</b></span> </td>
</tr>
<tr>
<td class="altbg1"><span class="bold">回答:</span></td>
<td class="altbg2"><input type="text" name="answer" size="25" value="{$answer}" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur"></td>
</tr>
<tr class="a1"><td colspan="2" height="5"></td></tr>
<tr>
<td class="altbg1">性別:</td>
<td class="altbg2">
<Script>
var issex = "{$sex}";
for (i=0;i<=2;i++)
{
document.write(' <input type="radio" name="usersex" value='+i+' class="radio" ');
if (issex==i){ document.write("checked") } ;
if (i==0)
{document.write(' >保密 ');}
else
if(i==1)
{ document.write(' >男 ');}
else
{ document.write(' >女 ');}
}
</script> </td>
</tr>
<tr>
<td class="altbg1">生日:</td>
<td class="altbg2"><input onclick="showcalendar(event, this)" name="birthday" size="25" value="{$brithday}" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur"></td>
</tr>
<tr>
<td class="altbg1">頭銜:</td>
<td class="altbg2"><input type="text" name="honor" size="25" value="{$honor}" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur"></td>
</tr>
<tr>
<td class="altbg1">來自:</td>
<td class="altbg2"><input type="text" name="usercity" size="25" value="{$usercity}" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur"></td>
</tr>
<tr>
<td class="altbg1">主頁:</td>
<td class="altbg2"><input type="text" name="userhome" size="25" value="{$userhome}" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur"></td>
</tr>
<tr>
<td class="altbg1">QQ:</td>
<td class="altbg2"><input type="text" name="qq" size="25" value="{$qq}" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur"></td>
</tr>
<tr>
<td class="altbg1">ICQ:</td>
<td class="altbg2"><input type="text" name="icq" size="25" value="{$icq}" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur"></td>
</tr>
<tr>
<td class="altbg1">Yahoo:</td>
<td class="altbg2"><input type="text" name="yahoo" size="25" value="{$yahoo}" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur"></td>
</tr>
<tr>
<td class="altbg1">MSN:</td>
<td class="altbg2"><input type="text" name="msn" size="25" value="{$msn}" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur"></td>
</tr>
<tr>
<td class="altbg1">淘寶旺旺:</td>
<td class="altbg2"><input type="text" name="taobao" size="25" value="{$taobao1}" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur"></td>
</tr>
<tr>
<td class="altbg1">支付寶賬號:</td>
<td class="altbg2"><input type="text" name="alipay" size="25" value="{$alipay}" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur"></td>
</tr>
<tr class="a1"><td colspan="2">論壇個性化設置</td></tr>
<tr>
<td class="altbg1">每頁主題數:</td>
<td class="altbg2">
<select name="tppnew">{$tppnew}
<option value="10" >10</option>
<option value="20" >20</option>
<option value="30" >30</option>
</select></td>
</tr>
<tr>
<td class="altbg1">每頁帖數:</td>
<td class="altbg2">
<select name="pppnew">{$pppnew}
<option value="5">5</option>
<option value="10">10</option>
<option value="15">15</option>
</select></td>
</tr>
<tr>
<td class="altbg1">短消息提示音:</td>
<td class="altbg2">
<Script>
var ismsg = "{$msgsound}";
for (i=1;i<=5;i++)
{
document.write(' <input type="radio" name="msgsound" value='+i+' class="radio" ');
if (ismsg==i){ document.write("checked") } ;
document.write(' ><a href="images/plus/pm'+i+'.wav">#'+i+'</a>');
}
</script>
</td>
</tr>
<tr>
<td class="altbg1" valign="top">頭像</td>
<td class="altbg2">
<input type="text" name="urlavatar" size="25" value="{$userface}" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur">
<select name="userface" onChange="$('showface').src=options[selectedIndex].value;$('urlavatar').value=options[selectedIndex].value;" >
<option value="">請選擇下列頭像</option>
<script>
for(i=1;i<={$allface};i++) {
document.write("<option value='images/face/"+i+".gif'>用戶頭像"+i+"</option>")
}
</script>
</select> <span id="statusid"></span>
<br> <iframe src="upload.asp" frameborder="0" width="350px" scrolling="no" height="25"></iframe> </td>
</tr>
<tr>
<td class="altbg1" valign="top">個人簽名({$signmax} 字節以內)</td>
<td class="altbg2"><textarea rows="6" cols="50" name="sign" onBlur="this.className='colorblur';" onfocus="this.className='colorfocus';" class="colorblur">{$sign}</textarea></td>
</tr>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -