예제 #1
0
파일: Theme.class.php 프로젝트: vvcumt/zk
 public function __construct($nModule = COOLXIU_TYPE_THEMES)
 {
     parent::__construct();
     $this->strType = 'themes';
     $this->bHavePaid = true;
     $this->_nModule = $nModule;
 }
예제 #2
0
 protected function _resetRatio()
 {
     parent::_resetRatio();
     if ($this->_nWidth == 960 && $this->_nHeight == 800 || $this->_nWidth == 960 && $this->_nHeight == 854) {
         $this->_nWidth = 1080;
         $this->_nHeight = 960;
     }
     if ($this->_nWidth == 1440 && $this->_nHeight == 1280 || $this->_nWidth == 2400 && $this->_nHeight == 1920) {
         $this->_nWidth = 2160;
         $this->_nHeight = 1920;
     }
 }
예제 #3
0
파일: Scene.class.php 프로젝트: vvcumt/zk
 public function __construct()
 {
     parent::__construct();
     $this->strType = 'lockscreens';
     $this->bHavePaid = true;
 }
예제 #4
0
파일: Alarm.class.php 프로젝트: vvcumt/zk
 public function __construct()
 {
     parent::__construct();
     $this->strType = 'alarm';
 }
예제 #5
0
 private function _getWebProtocol(CoolShow $coolshow, $strSql, $strCountSql)
 {
     $rows = $this->_getDb()->getCoolShow($strSql);
     if ($rows === false) {
         Log::write('CoolShowSearch::_getWebProtocol():getCoolShow() failed, SQL:' . $strSql, 'log');
         return false;
     }
     $arrProtocol = $coolshow->getWebProtocol($rows);
     if ($arrProtocol === false) {
         Log::write('CoolShowSearch::_getWebProtocol():getWebProtocol() failed', 'log');
         return false;
     }
     $count = $this->_getDb()->getCoolShowCount($strCountSql);
     if ($count === false) {
         Log::write('CoolShowSearch::_getWebProtocol():getCoolShowCount() failed, SQL:' . $strCountSql, 'log');
         return false;
     }
     $result = array('total_number' => $count, 'ret_number' => count($arrProtocol), $coolshow->strType => $arrProtocol);
     return $result;
 }
예제 #6
0
파일: Font.class.php 프로젝트: vvcumt/zk
 public function __construct()
 {
     parent::__construct();
     $this->strType = 'fonts';
     $this->bHavePaid = true;
 }
예제 #7
0
파일: Album.class.php 프로젝트: vvcumt/zk
 public function __construct()
 {
     parent::__construct();
 }