Commit efd55674d26cb8068e26ab926b0496650ca25ce4

Authored by season
1 parent 7103d67a

去掉公告

application/admin/controller/Index.php
... ... @@ -60,17 +60,7 @@ class Index extends Base {
60 60 $this->assign('iskefu', 0);
61 61 }
62 62  
63   - //平台公告信息 TOP1
64   -
65   -// $topnews=M('news')->where('is_open=1 and publish_time<='.time().' and publish_etime>='.time())->order('add_time desc')->field('article_id,title,description')->find();
66   -// if ($topnews) {
67   -// $readnews=M('news_readlist')->where(array('store_id'=>getAdmStoId(),'admin_id'=>getAdminId(),'news_id'=>$topnews['article_id']))->find();
68   -// if (empty($readnews)) {
69   -// $gettopnew_des = str_replace("\r\n", "<br>", $topnews['description']);
70   -// $this->assign('topnews', $topnews);
71   -// $this->assign('gettopnew_des', $gettopnew_des);
72   -// }
73   -// }
  63 +
74 64 $admin_id=getAdminId();
75 65 $this->assign('admin_id',$admin_id);
76 66  
... ...