|
@@ -6297,6 +6297,19 @@ class Whlabel extends Start_Controller
|
|
exit;
|
|
exit;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ if(isset($_SESSION['api']))
|
|
|
|
+ {
|
|
|
|
+ $user = $this->user->get_api($_SESSION['api']);
|
|
|
|
+ if(in_array($user['power'],[1,27])){
|
|
|
|
+ $vip = 1;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ else
|
|
|
|
+ {
|
|
|
|
+ $vip = 0;
|
|
|
|
+ header('Location: /');exit;
|
|
|
|
+ }
|
|
|
|
+ $this->data['vip'] = $vip;
|
|
$this->_Template('whlabel_printck', $this->data);
|
|
$this->_Template('whlabel_printck', $this->data);
|
|
}
|
|
}
|
|
|
|
|