⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 模版更新.txt

📁 一个asp写的论坛源代码,论坛所需要的功能都有
💻 TXT
📖 第 1 页 / 共 3 页
字号:
模版更新说明:

模版的更新方法:
 用户进入 后台管理 - 编辑模板 - 模板基本设置及调用模版
 找到对应的模版名称代码, 如 “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}&quote=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(' >保密&nbsp;');} 
	else 
	if(i==1)
	{ document.write(' >男&nbsp;');}
	else
	{ document.write(' >女&nbsp;');}
                 }
       </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 + -