本帖最后由 banish 于 2009-7-25 19:06 编辑
1.把附件的文件夹传到根目录
2.修改文件
增加首页的资料完整度
效果图:
修改文件 :space_feed.htm文件
在- <!--{if $_SGLOBAL[magic][invisible]}-->
- <!--{if $_SGLOBAL[session][magichidden]}-->
- <img src="image/magic/invisible.small.gif" class="magicicon"><a id="a_magic_appear" href="cp.php?ac=magic&op=appear" onclick="ajaxmenu(event,this.id)" class="gray">我要在线</a>
- <!--{else}-->
- <img src="image/magic/invisible.small.gif" alt="{$_SGLOBAL[magic][invisible]}" class="magicicon"><a id="a_magic_invisible" href="magic.php?mid=invisible" onclick="ajaxmenu(event,this.id,1)" class="gray">我要隐身</a>
- <!--{/if}-->
- <!--{/if}-->
- </div>
- <a href="space.php?uid=$space[uid]"<!--{eval g_color($space[groupid]);}-->>{$_SN[$space[uid]]}</a>
- <!--{eval g_icon($space[groupid]);}-->
- <a href="cp.php?ac=credit">$space[star]</a>
- </h3>
- <div class="index_note">
- 已有 $space[viewnum] 人次访问, $space[credit] 个积分
- </div>
复制代码 下面输入- <p>
- <!--{if $space[groupid]==3}-->
- <img border=0 src="images/vip_l.gif" alt="VIP会员">
- <!--{else}-->
- <span class="sl">
- <img border=0 src="images/vip_g.gif" alt="非VIP会员"></a></span>
- <!--{/if}-->
- <!--{if $space[theme]}-->
- <img border=0 src="images/home_l.gif" alt="装饰达人">
- <!--{else}-->
- <span class="sl">
- <a href="cp.php?ac=theme"><img border=0 src="images/home_g.gif" alt="未装饰空间"></a></span>
- <!--{/if}-->
- <!--{if $space[namestatus]}-->
- <img border=0 src="images/name_l.gif" alt="实名认证">
- <!--{else}-->
- <span class="sl">
- <a href="cp.php?ac=profile"><img border=0 src="images/name_g.gif" alt="未通过实名"></a></span>
- <!--{/if}-->
- <!--{if $_SCONFIG['videophoto'] && $space[videostatus]}-->
- <a href="space.php?uid=$space[uid]&do=videophoto" id="a_space_videophoto" onclick="ajaxmenu(event, this.id, 1)"><img src="images/v_l.gif" align "absmiddle" alt="视频认
- 证"></a>
- <!--{elseif $_SCONFIG['videophoto']}-->
- <a href="cp.php?ac=videophoto"><img src="images/v_g.gif" align="absmiddle" alt="视频认证"></a>
- <!--{/if}-->
- <!--{if $space[updatetime]}-->
- <img border=0 src="images/avatar_l.gif" alt="头像认证">
- <!--{else}-->
- <span class="sl">
- <a href="cp.php?ac=avatar"><img border=0 src="images/avatar_g.gif" alt="未上传头像"></a></span>
- <!--{/if}-->
- <!--{if $space[credit]}-->
- <img border=0 src="images/album_l.gif" alt="相册达人">
- <!--{else}-->
- <span class="sl">
- <a href="cp.php?ac=upload"><img border=0 src="images/album_g.gif" alt="未使用相册"></a></span>
- <!--{/if}-->
- <!--{if empty($space['emailcheck'])}-->
- <a href="cp.php?ac=profile"><img border=0 src="images/email_g.gif" alt="Email未填写"></a>
- <!--{else}-->
- <span class="sl">
- <img border=0 src="images/email_l.gif" alt="Email认证"></span>
- <!--{/if}-->
- <!--{if empty($space[birthday])}-->
- <a href="cp.php?ac=profile"><img border=0 src="images/birthday_g.gif" alt="生日未填写"></a>
- <!--{else}-->
- <span class="sl">
- <img border=0 src="images/birthday_l.gif" alt="生日认证"></span>
- <!--{/if}-->
- <!--{if empty($space[qq])}-->
- <a href="cp.php?ac=profile&op=contact"><img border=0 src="images/qq_g.gif" alt="QQ未填写"></a>
- <!--{else}-->
- <span class="sl">
- <img border=0 src="images/qq_l.gif" alt="QQ认证"></span>
- <!--{/if}-->
- <!--{if empty($space[mobile])}-->
- <a href="cp.php?ac=profile&op=contact"><img border=0 src="images/mod_g.gif" alt="手机未填写"></a>
- <!--{else}-->
- <span class="sl">
- <img border=0 src="images/mod_l.gif" alt="手机认证"></span>
- <!--{/if}-->
- <!--{if empty($space[msn])}-->
- <a href="cp.php?ac=profile&op=contact"><img border=0 src="images/msn_g.gif" alt="MSN未填写"></a>
- <!--{else}-->
- <span class="sl">
- <img border=0 src="images/msn_l.gif" alt="MSN认证"></span><!--{/if}-->
- <!--{if $task}-->
- <span class="sl">
- <a href="cp.php?ac=task"><img border=0 src="images/zuan_g.gif" alt="有未完成任务"></a></span>
- <!--{else}-->
- <img border=0 src="images/zuan_l.gif" alt="任务达人">
- <!--{/if}-->
- </p>
复制代码 增加个人页面的资料完整度
效果图:
修改文件:space_index.htm
找到:- <h3 class="spaceindex_name">
- <!--{if $_SCONFIG[realname] && $space[name] && $space[namestatus]}--><!--{eval echo stripslashes($space['name']);}--> <em>(用户名:<!--{eval echo stripslashes($space['username']);}-->)</em><!--{else}--><!--{eval echo stripslashes($space['username']);}--><!--{if $space[name]}--> <em>(姓名:<!--{eval echo stripslashes($space['name']);}-->)</em><!--{/if}--><!--{/if}-->
- <!--{if $_SCONFIG['videophoto'] && $space[videostatus]}-->
- <a href="space.php?uid=$space[uid]&do=videophoto" id="a_space_videophoto" onclick="ajaxmenu(event, this.id, 1)"><img src="image/videophoto.gif" align="absmiddle"><span style="padding-left:5px;color:red;font-weight:bold;font-size:12px;">已通过视频认证</span></a>
- <!--{elseif $_SCONFIG['videophoto']}-->
- <img src="image/videophoto.gif" align="absmiddle">
- <span class="gray"><a href="cp.php?ac=videophoto">未通过视频认证</a></span>
- <!--{/if}-->
- $space[star]
复制代码 在下面添加:- <p>
- <!--{if $space[groupid]==3}-->
- <img border=0 src="images/vip_l.gif" alt="VIP会员">
- <!--{else}-->
- <span class="sl">
- <img border=0 src="images/vip_g.gif" alt="非VIP会员"></a></span>
- <!--{/if}-->
- <!--{if $space[theme]}-->
- <img border=0 src="images/home_l.gif" alt="装饰达人">
- <!--{else}-->
- <span class="sl">
- <a href="cp.php?ac=theme"><img border=0 src="images/home_g.gif" alt="未装饰空间"></a></span>
- <!--{/if}-->
- <!--{if $space[namestatus]}-->
- <img border=0 src="images/name_l.gif" alt="实名认证">
- <!--{else}-->
- <span class="sl">
- <a href="cp.php?ac=profile"><img border=0 src="images/name_g.gif" alt="未通过实名"></a></span>
- <!--{/if}-->
- <!--{if $_SCONFIG['videophoto'] && $space[videostatus]}-->
- <a href="space.php?uid=$space[uid]&do=videophoto" id="a_space_videophoto" onclick="ajaxmenu(event, this.id, 1)"><img src="images/v_l.gif" align "absmiddle" alt="视频认
- 证"></a>
- <!--{elseif $_SCONFIG['videophoto']}-->
- <a href="cp.php?ac=videophoto"><img src="images/v_g.gif" align="absmiddle" alt="视频认证"></a>
- <!--{/if}-->
- <!--{if $space[updatetime]}-->
- <img border=0 src="images/avatar_l.gif" alt="头像认证">
- <!--{else}-->
- <span class="sl">
- <a href="cp.php?ac=avatar"><img border=0 src="images/avatar_g.gif" alt="未上传头像"></a></span>
- <!--{/if}-->
- <!--{if $space[credit]}-->
- <img border=0 src="images/album_l.gif" alt="相册达人">
- <!--{else}-->
- <span class="sl">
- <a href="cp.php?ac=upload"><img border=0 src="images/album_g.gif" alt="未使用相册"></a></span>
- <!--{/if}-->
- <!--{if empty($space['emailcheck'])}-->
- <a href="cp.php?ac=profile"><img border=0 src="images/email_g.gif" alt="Email未填写"></a>
- <!--{else}-->
- <span class="sl">
- <img border=0 src="images/email_l.gif" alt="Email认证"></span>
- <!--{/if}-->
- <!--{if empty($space[birthday])}-->
- <a href="cp.php?ac=profile"><img border=0 src="images/birthday_g.gif" alt="生日未填写"></a>
- <!--{else}-->
- <span class="sl">
- <img border=0 src="images/birthday_l.gif" alt="生日认证"></span>
- <!--{/if}-->
- <!--{if empty($space[qq])}-->
- <a href="cp.php?ac=profile&op=contact"><img border=0 src="images/qq_g.gif" alt="QQ未填写"></a>
- <!--{else}-->
- <span class="sl">
- <img border=0 src="images/qq_l.gif" alt="QQ认证"></span>
- <!--{/if}-->
- <!--{if empty($space[mobile])}-->
- <a href="cp.php?ac=profile&op=contact"><img border=0 src="images/mod_g.gif" alt="手机未填写"></a>
- <!--{else}-->
- <span class="sl">
- <img border=0 src="images/mod_l.gif" alt="手机认证"></span>
- <!--{/if}-->
- <!--{if empty($space[msn])}-->
- <a href="cp.php?ac=profile&op=contact"><img border=0 src="images/msn_g.gif" alt="MSN未填写"></a>
- <!--{else}-->
- <span class="sl">
- <img border=0 src="images/msn_l.gif" alt="MSN认证"></span><!--{/if}-->
- <!--{if $task}-->
- <span class="sl">
- <a href="cp.php?ac=task"><img border=0 src="images/zuan_g.gif" alt="有未完成任务"></a></span>
- <!--{else}-->
- <img border=0 src="images/zuan_l.gif" alt="任务达人">
- <!--{/if}-->
- </p>
复制代码 附件文件:
演示地址:http://www.zzol.cc/blog/?2 |