首页调用新闻按点击量排行方法

打开“include/action.class.php” 搜索 “function get_article_list” 修改其下第五六行左右,找到 “id DESC” 改为 “click DESC”(即:从大到小排序) 或者 [size=14.3999996185303px]“click ASC”(即:从小到大排序)

导航调用并判断点亮

<li<!– {if $index.cur} –> class=”nav_a hover”<!– {/if} –>><a href=”{$site.root_url}” class=”nav_a”>{$lang.home}</a>
</li>
<!– {foreach from=$nav_middle_list name=nav_middle_list item=nav} –>

<li{if $nav.cur} class=”nav_a hover”{/if} class=”nav_a”><a href=”{$nav.url}” rel=”nofollow”>{$nav.nav_name}</a> </li>
<!– {/foreach} –>

发表评论

共有 3 条评论

  1. vach ngan ve sinh

    Howdy! I realize this is somewhat off-topic however I needed to ask.
    Does running a well-established website like yours require a massive amount work?
    I’m completely new to operating a blog but I do write in my journal every day.
    I’d like to start a blog so I will be able to share my experience and feelings
    online. Please let me know if you have any suggestions or tips
    for brand new aspiring blog owners. Thankyou!

  2. vách ngăn vệ sinh

    Howdy I am so thrilled I found your blog, I really found you
    by error, while I was browsing on Aol for
    something else, Regardless I am here now and would just like to say thanks a lot
    for a tremendous post and a all round entertaining blog
    (I also love the theme/design), I don’t have time to read it all at the moment but I have saved it and
    also added in your RSS feeds, so when I have time I will
    be back to read more, Please do keep up the great b.

  3. http://beasiswa.mercubuana.ac.id/

    Just desire to say your article is as amazing. The clearness
    in your post is simply spectacular and i can assume you are an expert on this subject.
    Well with your permission allow me to grab your feed to keep up to date with forthcoming post.

    Thanks a million and please keep up the gratifying work.