|
@@ -84,7 +84,7 @@ Class Home extends Core
|
|
|
$this->data['user']['content'] = '';
|
|
|
if ($uid && $uid > 0) {
|
|
|
if (time() < $this->data['info']['act_end']){
|
|
|
- $count = Dever::db('active/order')->getNum(array('active_id'=>$this->data['info']['id'],'uid'=>$uid,'status'=>'1,2,4,5'));
|
|
|
+ $count = Dever::db('active/order')->getNum(array('active_id'=>$this->data['info']['id'],'uid'=>$uid,'status'=>'2,4,5'));
|
|
|
$code = Dever::db('active/code')->getNum(array('active_id'=>$this->data['info']['id'],'buy_uid'=>$uid,'status'=>'1,2'));
|
|
|
if ($count['total'] && $count['total'] > 0){
|
|
|
|