Lines Matching refs:this

35        $this->helper = $this->loadHelper('quickstats', true);    
36 $this->cache = $this->helper->getCache();
37 $this->cc_arrays = $this->helper->get_cc_arrays();
38 $this->meta_path = $this->helper->metaFilePath(true) ;
39 $this->page_totals = unserialize(io_readFile($this->meta_path . 'page_totals.ser'));
40 if(!$this->page_totals) $this->page_totals = array();
41 if(!empty($this->page_totals)) {
42 foreach($this->page_totals as $ttl) {
43 $this->page_accessesTotal+=$ttl;
44 $this->page_accessesCurrent=$ttl;
46 $this->misc_data_setup();
47 $this->uniq_ip();
50 $this->script_max_time = $this->getConf('max_exec_time') ? $this->getConf('max_exec_time') : 60;
58 $this->countries = array();
60 $this->user_agents = array();
62 $data_dirs = array_reverse(array_keys($this->page_totals));
77 …$this->user_agents = array_merge ($this->user_agents, array_keys($misc_data['browser'])); …
84 $this->countries[$cc]=$this->cc_arrays->get_country_name($cc) ;
87 asort($this->countries);
88 $this->user_agents = array_unique($this->user_agents);
89 natcasesort($this->user_agents);
95 $dirs = array_keys($this->page_totals);
100 if(file_exists($uniq_data_file) && !$this->getConf('rebuild_uip')) {
132 $this->uniqIPCurrent=$ip_data['uniq'];
136 $this->uniqIPTotal = $uniq_data['uniq'];
152 $this->output ="";
154 $this->deletions = array();
161 $this->deletions = $_REQUEST['del'];
162 $this->to_confirm = implode(',',array_keys($this->deletions));
165 $this->deletions = array();
166 $this->to_confirm = array();
170 $this->cache=$this->helper->pruneCache($_REQUEST['confirm'],$_REQUEST['del']);
185 ptln( $this->locale_xhtml('general_intro'));
187 …ptln('<button class="button" onclick=" toggle_panel(' . "'qs_cache_panel'" . ');">' . $this->getLa…
188 …ton class="button" onclick="toggle_panel(' . "'quick__stats'" . ');">' . $this->getLang("btn_queri…
189 …ry_info_button" onclick="qs_open_info(' . "'qs_query_intro'" . ');">' . $this->getLang("btn_qinfo…
190 …click="qs_download_GeoLite(\'' . $this->getConf('geoip_local') . '\');" title = "download Maxmind…
195 if(isset($this->deletions) || isset($this->to_confirm)) {
202 ptln( $this->locale_xhtml('intro'));
207 ptln(' <input type="hidden" name="page" value="'.$this->getPluginName().'" />');
208 ptln(' <input type="hidden" name="confirm" value="'.$this->to_confirm .'" />');
212 foreach($this->cache as $key=>$id) {
213 $this->get_item($key,$id);
217 …ptln(' <input type="submit" name="cmd[delete]" class="button" value="'.$this->getLang('btn_delet…
218 …ptln(' <input type="submit" name="cmd[restore]" class="button" value="'.$this->getLang('btn_rest…
219 …ptln(' <input type="submit" name="cmd[confirm]" class="button" value="'.$this->getLang('btn_conf…
226 ptln('<div class="qs_query_intro" id="qs_query_intro">' . $this->locale_xhtml('query'));
227 …ptln('<button class="button" onclick="qs_close_panel(' . "'qs_query_intro'" . ');">' . $this->getL…
231 ptln('<input type="hidden" name="meta_path" value="'.$this->meta_path.'" />');
232 …ptln('<input type="hidden" id="qs_script_max_time" name="qs_script_max_time" value="'.$this->scrip…
237 …'<tr><th class="thead">&nbsp;' . $this->getLang('label_qs_pages') .' &nbsp;</th><th class="thead" …
239 …ptln('<td></td><th class="thead">' . $this->getLang('user_agent') .'</th><td></td><th class="thead…
240 ptln('<th class="thead">' . $this->getLang('country') .'</th></tr>');
245 $this->get_Options('popups');
250 $this->get_Options('months',$today['mon']) ;
256 $this->get_Options('ua') ;
258 …le="text-decoration:underline; font-weight:normal;line-height:200%;">' . $this->getLang('search_li…
261 …ptln('<td class="padded" nowrap>&nbsp;' . $this->getLang('label_ip') . ':&nbsp;<input type="text" …
265 $this->get_Options('country') ;
271 …ptln('<tr><td class="padded" nowrap>&nbsp;' . $this->getLang('label_page') . ':&nbsp;<input type="…
274 …ptln('<tr><td class="padded place_holder">&nbsp;' . $this->getLang('label_brief'). ': <input type…
279 …ptln($this->getLang('label_page') .'<input type="radio" checked value="page" name="qs_priority" id…
281 …ptln('&nbsp;' . $this->getLang('country') .'<input type="radio" value="country" name="qs_priority"…
282 …ptln('&nbsp;' . $this->getLang('user_agent') . ':<input type="radio" value="agent" name="qs_prior…
287 …ptln('<td class="padded">&nbsp;' . $this->getLang('year') . '&nbsp;<input type="text" onchange="…
289 …ptln('<td class="padded" valign="bottom" >&nbsp;' . $this->getLang('label_no_secondary') . ':&nbsp…
290 …="javascript:qs_country_search();" style="text-decoration:underline">' . $this->getLang('search_li…
293 …etExtendedData(this.form,\''. DOKU_INC . '\');" class="button" value="'.$this->getLang('btn_submi…
294 … ptln('&nbsp;<input type="reset" class="button" value="' . $this->getLang('btn_reset') . '">');
295this->getLang('label_uniq_ip') . '</b>&nbsp;&nbsp;' . $this->getLang('label_total') . ': ' . $th…
296this->getLang('label_page_access') . '</b>&nbsp;&nbsp;' . $this->getLang('label_total') . ': ' . $
309 ptln(htmlspecialchars($this->output));
311 if($this->deletions && count($this->deletions)) {
312 $this->deletions_str = print_r($this->deletions,true);
313 ptln($this->deletions_str);
323 if(isset($this->deletions) && array_key_exists($key,$this->deletions)) {
345 … ptln("<option value='0' selected> &nbsp;". $this->getLang('click_to_view') . "&nbsp;" . NL);
346 foreach($this->cache as $id) {
351 …ptln("<option value='0' selected> &nbsp; <b>" . $this->getLang('sel_country') ."</b> &nbsp;" . NL)…
352 foreach($this->countries as $cc => $country) {
357 …ptln("<option value='0' selected> &nbsp; <b>" . $this->getLang('sel_user_agent') ."</b> &nbsp;" . …
358 foreach($this->user_agents as $ua) {