예제 #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;
 }
예제 #2
0
파일: Setting.class.php 프로젝트: vvcumt/zk
 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();
 }
예제 #3
0
파일: Record.class.php 프로젝트: vvcumt/zk
 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);
 }
예제 #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;
 }
예제 #5
0
파일: Scene.class.php 프로젝트: vvcumt/zk
 public function getCoolShowDetailSql($strId)
 {
     $strId = sql_check_str($strId, 64);
     $sql = sprintf(SQL_SELECT_SCENE_DETAILS, $strId);
     return $sql;
 }
예제 #6
0
파일: Theme.class.php 프로젝트: vvcumt/zk
 public function getCountDesignerCoolShowSql($strCyid)
 {
     $strId = sql_check_str($strCyid, 64);
     $sql = sprintf(SQL_COUNT_DESIGNER_THEME_INFO, $this->_nWidth, $this->_nHeight, $strCyid);
     return $sql;
 }
예제 #7
0
파일: Apply.class.php 프로젝트: vvcumt/zk
 public function checkParam()
 {
     $this->id = sql_check_str($this->id, 64);
     $this->cpid = sql_check_str($this->cpid, 64);
     parent::checkParam();
 }
예제 #8
0
파일: Alarm.class.php 프로젝트: vvcumt/zk
 public function getSelectInfoByIdSql($id, $nChannel = 0)
 {
     $id = sql_check_str($id, 64);
     $sql = sprintf(SQL_SELECT_ALARM_BY_ID, $id);
     return $sql;
 }
예제 #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);
 }
예제 #10
0
파일: Statis.class.php 프로젝트: vvcumt/zk
 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);
 }