Beispiel #1
0
 public static function getInsertChargeSql($strExorder, $strCyid, $nCoolType, $strId, $strCpid)
 {
     $strExorder = sql_check_str($strExorder, 30);
     // 		$strCyid = sql_check_str($strCyid, 50);
     $sql = sprintf(SQL_INSERT_CHARGE_RECORD, $strExorder, $nCoolType, $strId, $strCpid, $strCyid, date('Y-m-d H:i:s'));
     return $sql;
 }
Beispiel #2
0
 public function checkParam()
 {
     $this->item = sql_check_str($this->item, 64);
     $this->cid = sql_check_str($this->cid, 64);
     $this->state = sql_check_str($this->state, 64);
     parent::checkParam();
 }
Beispiel #3
0
 public function checkParam()
 {
     $this->product = sql_check_str($this->product, 30);
     $this->cyid = sql_check_str($this->cyid, 50);
     $this->imsi = sql_check_str($this->imsi, 50);
     $this->meid = sql_check_str($this->meid, 50);
     $this->net = sql_check_str($this->net, 20);
 }
Beispiel #4
0
 public function getSelectInfoByIdSql($id, $nChannel = 0)
 {
     $id = sql_check_str($id, 64);
     if ($nChannel == REQUEST_CHANNEL_BANNER) {
         $sql = sprintf(SQL_SELECT_WLLPAPER_BANNER_LARGE_URL, $id);
         return $sql;
     }
     $sql = sprintf(SQL_SELECT_WLLPAPER_LARGE_URL, $id);
     return $sql;
 }
Beispiel #5
0
 public function getCoolShowDetailSql($strId)
 {
     $strId = sql_check_str($strId, 64);
     $sql = sprintf(SQL_SELECT_SCENE_DETAILS, $strId);
     return $sql;
 }
Beispiel #6
0
 public function getCountDesignerCoolShowSql($strCyid)
 {
     $strId = sql_check_str($strCyid, 64);
     $sql = sprintf(SQL_COUNT_DESIGNER_THEME_INFO, $this->_nWidth, $this->_nHeight, $strCyid);
     return $sql;
 }
Beispiel #7
0
 public function checkParam()
 {
     $this->id = sql_check_str($this->id, 64);
     $this->cpid = sql_check_str($this->cpid, 64);
     parent::checkParam();
 }
Beispiel #8
0
 public function getSelectInfoByIdSql($id, $nChannel = 0)
 {
     $id = sql_check_str($id, 64);
     $sql = sprintf(SQL_SELECT_ALARM_BY_ID, $id);
     return $sql;
 }
Beispiel #9
0
 public function checkParam()
 {
     $this->id = sql_check_str($this->id, 64);
     $this->cpid = sql_check_str($this->cpid, 64);
     $this->author = sql_check_str($this->author, 50);
 }
Beispiel #10
0
 public function checkParam()
 {
     $this->_product = sql_check_str($this->_product, 30);
     $this->_imeid = sql_check_str($this->_imeid, 50);
     $this->_imei = sql_check_str($this->_imei, 50);
     $this->_imsi = sql_check_str($this->_imsi, 50);
     $this->_net = sql_check_str($this->_net, 20);
     $this->_id = sql_check_str($this->_id, 64);
     $this->_cpid = sql_check_str($this->_cpid, 64);
 }