opts['lang'] . '.php'); } $lbsizes = array(); $lbsizes[] = array('desc' => '728 x 15', 'text' => '728x15'); $lbsizes[] = array('desc' => '468 x 15', 'text' => '468x15'); $lbsizes[] = array('desc' => '200 x 90', 'text' => '200x90'); $lbsizes[] = array('desc' => '180 x 90', 'text' => '180x90'); $lbsizes[] = array('desc' => '160 x 90', 'text' => '160x90'); $lbsizes[] = array('desc' => '120 x 90', 'text' => '120x90'); if(isset($_POST["adsensexplosion_update"])){$this->opts = $this->ripulisci_parametri($_POST['adsensexplosion'], $sizes, $lbsizes);$this->save_opts();} $this->opts['is_only_tagged'] = $this->opts['only_tagged'] ? 'checked' : ''; $this->opts['is_omit_page'] = $this->opts['omit_page'] ? 'checked' : ''; $this->opts['is_policy_protect'] = $this->opts['policy_protect'] ? 'checked' : ''; $this->opts['is_omit_home'] = $this->opts['omit_home'] ? 'checked' : ''; $this->opts['is_omit_search'] = $this->opts['omit_search'] ? 'checked' : ''; $this->opts['is_omit_category'] = $this->opts['omit_category'] ? 'checked' : ''; $this->opts['is_omit_tag'] = $this->opts['omit_tag'] ? 'checked' : ''; $this->opts['is_omit_date'] = $this->opts['omit_date'] ? 'checked' : ''; $this->opts['is_omit_author'] = $this->opts['omit_author'] ? 'checked' : ''; $this->opts['is_overrule'] = $this->opts['overrule'] ? 'checked' : ''; $this->opts['is_omit_css'] = $this->opts['omit_css'] ? 'checked' : ''; $this->opts['is_mobile'] = $this->opts['mobile'] ? 'checked' : ''; $this->opts['is_async'] = $this->opts['async'] ? 'checked' : ''; $this->opts['is_smd'] = $this->opts['smd'] ? 'checked' : ''; for($i = 1; $i <= 8; $i++){ if(!isset($this->opts['responsive_rectangle'][$i])){$this->opts['responsive_rectangle'][$i]=0;} if(!isset($this->opts['responsive_vertical'][$i])){$this->opts['responsive_vertical'][$i]=0;} if(!isset($this->opts['responsive_horizontal'][$i])){$this->opts['responsive_horizontal'][$i]=0;} if(!isset($this->opts['json'][$i])){$this->opts['json'][$i]='[{\"w\":1024,\"sw\":336,\"sh\":280},{\"w\":640,\"sw\":300,\"sh\":250},{\"w\":320,\"sw\":180,\"sh\":150}]';} $this->opts['is_responsive_rectangle'][$i] = $this->opts['responsive_rectangle'][$i] ? 'checked' : ''; $this->opts['is_responsive_vertical'][$i] = $this->opts['responsive_vertical'][$i] ? 'checked' : ''; $this->opts['is_responsive_horizontal'][$i] = $this->opts['responsive_horizontal'][$i] ? 'checked' : ''; } ?>