- 程序使用的是zblog
- 主题模板none
- 使用的百度云加速
修改记录: - 1.首页、留言、读者墙页面头像修改index.php pagetimes.php post-page.php调用avatar头像
修改为本站上传图片尺寸120*120,地址/zb_users/upload/2015/02/12.png <img class="avatar" src="{avatar($zbp.members[1].Email,120)}" 改为<img class="avatar" src="/zb_users/upload/2015/02/121.png" - 2.首页不显示分类文章(现在两个分类,分类1跟分类2)-----(不成功)
修改index.php - {foreach $articles as $article}
- {if $article.IsTop}
- {template:post-istop}
- {else}
- {template:post-multi}
- {/if}
- {/foreach}
为 - {foreach $articles as $article}
- {if $article.IsTop}
- {template:post-istop}
- {else}
- {if $type=='index' && $page==1 && $article.Category.ID==1 && $article.Category.ID==2}
- {else}
- {template:post-multi}
- {/if}
- {/if}
- {/foreach}
|