Exemplo n.º 1
0
 public function __construct($nModule = COOLXIU_TYPE_THEMES)
 {
     parent::__construct();
     $this->strType = 'themes';
     $this->bHavePaid = true;
     $this->_nModule = $nModule;
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     $this->strType = 'lockscreens';
     $this->bHavePaid = true;
 }
Exemplo n.º 4
0
 public function __construct()
 {
     parent::__construct();
     $this->strType = 'alarm';
 }
Exemplo n.º 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;
 }
Exemplo n.º 6
0
 public function __construct()
 {
     parent::__construct();
     $this->strType = 'fonts';
     $this->bHavePaid = true;
 }
Exemplo n.º 7
0
 public function __construct()
 {
     parent::__construct();
 }