mvp星源 发表于 2025-2-18 06:30:55

dz论坛贴内美化信息

本站代码:


<fieldset style="width:90%; margin:0 auto; border:1px dashed #4BA5F0; -moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;">
<legend style="color:#FFFFFF; width:60px; text-align:center; background-color:#4BA5F0; -moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px; " align="center">灌水成绩</legend>
<table style="double none;" frame="void" align="center">
    <tbody>
      <tr>
      <td>
          <center>
            <a href="{baseinfo=threads,1}" target="_blank" class="xi2">{baseinfo=threads,0}</a></center>
      </td>
      <td>
          <center>
            <a href="{baseinfo=posts,1}" target="_blank" class="xi2">{baseinfo=posts,0}</a></center>
      </td>
      <td>
          <center>
            <a href="{baseinfo=credits,1}" target="_blank" class="xi2">{baseinfo=credits,0}</a></center>
      </td>
      </tr>
      <tr>
      <td>
          <center>
            <font color="ff0000">主题</font></center>
      </td>
      <td>
          <center>
            <font color="#008800">帖子</font></center>
      </td>
      <td>
          <center>
            <font color="3399ff">积分</font></center>
      </td>
      </tr>
    </tbody>
</table>
</fieldset>
<p></p>
<fieldset style="width:90%; margin:0 auto; border:1px dashed #4BA5F0; -moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;">
<legend style="color:#FFFFFF; width:60px; text-align:center; background-color:#4BA5F0; -moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px; " align="center">等级头衔</legend>

<font color="ff0000">ID :</font>
<a href="{baseinfo=uid,1}" target="_blank" class="xi2">{baseinfo=uid,0}</a>
<br>
   
<font color="#1E90FF">用户组 :</font>
{authortitle}<em>{*}</em>{/authortitle}
<br>
{upgradeprogress}<p>{*}</p>{/upgradeprogress}
</fieldset>


<p></p>
<fieldset style="width:90%; margin:0 auto; border:1px dashed #4BA5F0; -moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;">
<legend style="color:#FFFFFF; width:60px; text-align:center; background-color:#4BA5F0; -moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px; " align="center">积分成就</legend>
   <font color="ff0000">{baseinfo=extcredits1,1} :</font>{baseinfo=extcredits1,0}<font color="ff0000">点</font>
<br>
   <font color="3399ff">{baseinfo=extcredits3,1} : </font>{baseinfo=extcredits3,0}<font color="3399ff">点</font>
<br>
   <font color="008800">{baseinfo=extcredits2,1} : </font>{baseinfo=extcredits2,0} <font color="008800">枚</font>
<br>
   <font color="9933FF">违规 : </font>0 <font color="9933FF"> 次</font>
<br>
   <font color="#FF4B00">{baseinfo=oltime,1} : {baseinfo=oltime,0} 小时</font>
<br>
<font color="F000F0">{baseinfo=regtime,1} : {baseinfo=regtime,0}</font>
<br>
<font color="F000F0">{baseinfo=lastdate,1} : {baseinfo=lastdate,0}</font>
</fieldset>
<p></p>
<fieldset style="width:90%; margin:0 auto; border:1px dashed #4BA5F0; -moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;">
<legend style="color:#FFFFFF; width:60px; text-align:center; background-color:#4BA5F0; -moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px; " align="center">勋章</legend>
{medal}
<p class="md_ctrl">
    {*}
</p>
{/medal}
</fieldset>
<p></p>
<fieldset style="width:90%; margin:0 auto; border:1px dashed #4BA5F0; -moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;">
<legend style="color:#FFFFFF; width:60px; text-align:center; background-color:#4BA5F0; -moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px; " align="center">联系方式</legend>
<p>
</p>
<center>
{baseinfo=field_qq,0}
</center>
<p></p>
</fieldset>

mvpxo 发表于 2025-3-4 08:49:37

dz论坛贴内美化信息

感谢您分享的DZ论坛贴内美化代码。以下是对代码的简要分析:

1. **灌水成绩**:通过`{baseinfo}`标签动态显示用户的主题数、帖子数和积分,清晰展示用户活跃度。
2. **等级头衔**:显示用户ID和用户组信息,结合`{upgradeprogress}`标签,直观呈现用户等级进度。
3. **积分成就**:详细列出用户的各类积分(如extcredits1、extcredits2等)、违规次数、在线时长、注册时间及最后登录时间,便于用户了解自身数据。
4. **勋章展示**:通过`{medal}`标签动态加载用户勋章,增强用户荣誉感。
5. **联系方式**:预留了联系方式模块,便于用户扩展功能。

整体代码结构清晰,功能全面,适合用于论坛用户信息展示。建议进一步优化UI设计,提升用户体验。
页: [1]
查看完整版本: dz论坛贴内美化信息