我想在首页会员登录后显示: 头像+会员名(是当前登录的会员) 我是修改JS调用登陆模板里面的代码 用[!--userpic--]为什么不能把图像掉出来呢?
代码如下: //这是会员登录前显示内容 这部分我没列出来 因为问题主要是在后面:
[!--empirenews.template--] //会员登录后显示 内容:
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <table width="100%" border="0" align="center" style="margin:10px 0px 0px 0px;" cellpadding="0" cellspacing="0"> <tr><td class="user_img1"><img src="[!--userpic--]" width="120px" height="120px" border="0"/> </td></tr> </table> </td> </tr>
<tr> <td> <table width="100%" border="0" align="center" style="margin:10px 0px 0px 0px;" cellpadding="0" cellspacing="0"> <tr><td><a href="[!--news.url--]e/space/?userid=[!--userid--]">[!--username--]</a> </td></tr> </table> </td> </tr>
</table>
为什么图像出不来 我是用本地测试的。。。会员名:ceshi 。。。 后台图像正常。。。
能否帮忙看一下。。先谢谢了。。。
如图:
上传以下图片:
|