Permalink
Browse files

index.php

Signed-off-by: thinksaas <qiniao@vip.qq.com>
  • Loading branch information...
thinksaas
thinksaas committed Feb 17, 2012
1 parent b79a73c commit f8b070592095b703022cf6f77d2294160b73b22f
Showing with 9 additions and 4 deletions.
  1. +2 −2 app/group/action/index.php
  2. BIN app/message/skins/default/imbox.psd
  3. +7 −2 public/html/header.html
@@ -10,7 +10,7 @@
$url = SITE_URL.tsurl('group','all',array('page'=>''));
$lstart = $page*20-20;
- $arrGroups = $new['group']->findAll('group',null,'isrecommend','groupid',$lstart.',20');
+ $arrGroups = $new['group']->findAll('group',null,'isrecommend desc','groupid',$lstart.',20');
foreach($arrGroups as $key=>$item){
$arrData[] = $new['group']->getOneGroup($item['groupid']);
@@ -29,7 +29,7 @@
$arrNewGroup = $new['group']->getNewGroup('10');
//热门帖子
- $arrTopic = $new['group']->findAll('group_topics',null,'count_comment','topicid,title,count_comment',10);
+ $arrTopic = $new['group']->findAll('group_topics',null,'count_comment desc','topicid,title,count_comment',10);
//小组分类
$arrCate = $new['group']->getCates();
Binary file not shown.
View
@@ -19,18 +19,23 @@
<!--{/if}-->
<link rel="shortcut icon" href="{SITE_URL}public/images/favicon.png" />
<style>
+<!--{if is_file('theme/'.$site_theme.'/base.css')}-->
@import url({SITE_URL}theme/{$site_theme}/base.css);
+<!--{/if}-->
+<!--{if is_file('app/'.$app.'/skins/'.$skin.'/style.css')}-->
@import url({SITE_URL}app/{$app}/skins/{$skin}/style.css);
+<!--{/if}-->
</style>
<script>var siteUrl = '{SITE_URL}';</script>
<script src="{SITE_URL}public/js/jquery.js" type="text/javascript"></script>
<script src="{SITE_URL}public/js/dialog/jquery.artDialog.js?skin=blue" type="text/javascript"></script>
<script src="{SITE_URL}public/js/dialog/artDialog.iframeTools.js" type="text/javascript"></script>
+<!--{if is_file('app/'.$app.'/js/extend.func.js')}-->
<script src="{SITE_URL}app/{$app}/js/extend.func.js" type="text/javascript"></script>
-
+<!--{/if}-->
{php doAction('pub_header_top')}
</head>
-<body {php doAction('pub_body')}>
+<body>
<!--header-->
<div class="header">
<div class="hc">

0 comments on commit f8b0705

Please sign in to comment.