public function setRecord() { $nCoolType = isset($_GET['type']) ? $_GET['type'] : ''; $this->setCoolType($nCoolType); parent::setParam(); $this->checkParam(); }
public function setRecord() { $this->width = isset($_GET['width']) ? $_GET['width'] : 720; $this->height = isset($_GET['height']) ? $_GET['height'] : 1280; $this->type = isset($_GET['type']) ? $_GET['type'] : 0; $this->subtype = (int) (isset($_GET['subtype']) ? $_GET['subtype'] : 0); $this->keyword = isset($_GET['keyword']) ? $_GET['keyword'] : ''; parent::setParam(); }
public function setRecord() { $this->product = trim(isset($_GET['product']) ? $_GET['product'] : ''); // $this->width = isset($_GET['width'])?$_GET['width']:720; // $this->height = isset($_GET['height'])?$_GET['height']:1280; $this->vercode = (int) (isset($_GET['versionCode']) ? $_GET['versionCode'] : 0); parent::setParam(); $this->checkParam(); }
public function setRecord() { $this->product = trim(isset($_GET['product']) ? $_GET['product'] : ''); $this->width = (int) (isset($_GET['width']) ? $_GET['width'] : 720); $this->height = (int) (isset($_GET['height']) ? $_GET['height'] : 1280); $this->channel = (int) (isset($_GET['channel']) ? $_GET['channel'] : 5); $this->cpid = isset($_GET['id']) ? $_GET['id'] : ''; $nCoolType = (int) (isset($_GET['type']) ? $_GET['type'] : 0); $this->setCoolType($nCoolType); parent::setParam(); $this->checkParam(); }
public function setRecord() { if (isset($_POST['statis'])) { $json_param = isset($_POST['statis']) ? $_POST['statis'] : ''; $json_param = stripslashes($json_param); $arr_param = json_decode($json_param, true); $this->item = isset($arr_param['settingItem']) ? $arr_param['settingItem'] : ''; $this->state = isset($arr_param['state']) ? $arr_param['state'] : 0; $this->cid = isset($arr_param['cid']) ? $arr_param['cid'] : 0; } parent::setParam(); $this->checkParam(); }
public function setRecord() { $this->product = trim(isset($_GET['product']) ? $_GET['product'] : ''); $this->width = (int) (isset($_GET['width']) ? $_GET['width'] : 720); $this->height = (int) (isset($_GET['height']) ? $_GET['height'] : 1280); $this->type = (int) (isset($_GET['reqType']) ? $_GET['reqType'] : 0); $this->type = (int) (isset($_GET['code']) ? $_GET['code'] : $this->type); //兼容旧版本未做动态分类的代码,新版本实际类型为code字段值 $this->channel = (int) (isset($_GET['channel']) ? $_GET['channel'] : 5); $this->vercode = (int) (isset($_GET['versionCode']) ? $_GET['versionCode'] : 0); $nCoolType = (int) (isset($_GET['type']) ? $_GET['type'] : 4); $this->setCoolType($nCoolType); parent::setParam(); $this->checkParam(); }
public function setRecord() { $this->id = isset($_GET['id']) ? $_GET['id'] : ''; $this->cpid = isset($_GET['cpid']) ? $_GET['cpid'] : ''; if (empty($this->cpid)) { $this->cpid = $this->id; } $this->url = ''; //isset($_GET['url'])?$_GET['url']:''; $this->type = (int) (isset($_GET['type']) ? $_GET['type'] : 0); $this->channel = (int) (isset($_GET['channel']) ? $_GET['channel'] : 0); $this->page = (int) (isset($_GET['pageno']) ? $_GET['pageno'] : 0); $this->position = (int) (isset($_GET['position']) ? $_GET['position'] : 0); $nCoolType = isset($_GET['moduletype']) ? $_GET['moduletype'] : ''; $this->setCoolType($nCoolType); parent::setParam(); $this->checkParam(); }
public function setRecord() { $this->id = isset($_GET['id']) ? $_GET['id'] : ''; $this->cpid = isset($_GET['cpid']) ? $_GET['cpid'] : ''; $this->applytype = (int) (isset($_GET['applytype']) ? $_GET['applytype'] : 0); $nCoolType = isset($_GET['moduletype']) ? $_GET['moduletype'] : ''; $this->setCoolType($nCoolType); if ($nCoolType == COOLXIU_TYPE_THEMES_CONTACT) { $this->applytype = REQUEST_CHANNEL_CONTACT; } if ($nCoolType == COOLXIU_TYPE_THEMES_ICON) { $this->applytype = REQUEST_CHANNEL_ICON; } if ($nCoolType == COOLXIU_TYPE_LIVE_WALLPAPER) { $this->applytype = REQUEST_CHANNEL_LIVEWP; } parent::setParam(); $this->checkParam(); }
public function setRecord() { $this->product = trim(isset($_GET['product']) ? $_GET['product'] : ''); $this->width = (int) (isset($_GET['width']) ? $_GET['width'] : 720); $this->height = (int) (isset($_GET['height']) ? $_GET['height'] : 1280); $this->type = (int) (isset($_GET['reqType']) ? $_GET['reqType'] : 0); $this->type = (int) (isset($_GET['type']) ? $_GET['type'] : $this->type); $this->subtype = (int) (isset($_GET['code']) ? $_GET['code'] : $this->type); //兼容旧版本未做动态分类的代码,新版本实际类型为code字段值 $this->subtype = (int) (isset($_GET['subtype']) ? $_GET['subtype'] : $this->subtype); $this->channel = (int) (isset($_GET['chanel']) ? $_GET['chanel'] : 0); $this->vercode = (int) (isset($_GET['versionCode']) ? $_GET['versionCode'] : 0); $nSort = (int) (isset($_GET['sort']) ? $_GET['sort'] : 0); $nCharge = (int) (isset($_GET['charge']) ? $_GET['charge'] : 2); if ($nSort == COOLXIU_SEARCH_CHOICE) { $this->channel = REQUEST_CHANNEL_CHOICE; } if ($nCharge == 0) { $this->channel = REQUEST_CHANNEL_CHARGE_NO; } if ($nCharge == 1) { $this->channel = REQUEST_CHANNEL_CHARGE_YES; } $nCoolType = (int) (isset($_GET['moduletype']) ? $_GET['moduletype'] : ''); if ($nCoolType == COOLXIU_TYPE_THEMES_CONTACT) { $this->channel = REQUEST_CHANNEL_CONTACT; } if ($nCoolType == COOLXIU_TYPE_THEMES_ICON) { $this->channel = REQUEST_CHANNEL_ICON; } if ($nCoolType == COOLXIU_TYPE_LIVE_WALLPAPER) { $this->channel = REQUEST_CHANNEL_LIVEWP; } $this->setCoolType($nCoolType); parent::setParam(); $this->checkParam(); }