Lines Matching +full:0 +full:- +full:9 +full:-

25       'date'   => '2011-02-17',
34 $controller->register_hook(
38 $controller->register_hook
44 if($this->_ismoderator()) {
47 echo '<form action="'.wl().'" method="post" accept-charset="utf-8"><div class="no">'.NL;
48 …echo '<input type="submit" value="'.$this->getLang('moderator').'" name="moderat" class="button" /…
86 $this->detect_browser($user_agent); //load browser and OS
91 // $this->get_perm(); //load actual rules from transl.php
93 $best = $this->find_best(); //find best rule for host
95 if($best != -1) //some rule is accepting, log in like $best
98 $info = $auth->getUserData($best);
109 echo '<br><h3>'.$this->getLang('refresh_page').'</h3><br>'.NL;
114 $this->write_to_visit();
132 $ip=0;
133 $is=0;
134 $max = 0;
135 $best = -1;
136 $this->get_perm(); //load actual rules from transl.php
138 if(empty($this->acl)) // no rule is set
139 return -1;
141 foreach($this->acl as $stranka => $n1)
144 if(!$this->_is_page($ID,$stranka))
149 $numb=0;
150 $count = 0;
154 if($numb == 0)
183 if((SubStr($match,0,3)) == 'EP='){
195 $ip = 0;
200 $ip=0;
202 $numb=0;
227 $datum = StrFTime("%d/%m/%Y-%H:%M:%S", Time());
241 if(($this->_exist($line)) == 1){ //exist the same host?
251 // is exist host whit the same criteria and same $ID return -1
265 return -1;
281 if($count>0) for($i=0; $i<$count; $i++){
303 //0 is pege, 1 kriterium, 2 alias, 3 is acl
306 $acl_config[$acl[0]][$acl[1]][$acl[2]] = $acl[3];
308 $this->acl = $acl_config;
318 $info = $auth->getUserData($user);
332 return 0;
345 //--- Browser, Robot, crawler, spider & Download Managers ---
346 if(preg_match("~(Offline Explorer)/([0-9]{1}.[0-9]{1})~",$user_agent,$match))
350 if(preg_match("~WebCopier v ([0-9]{1}.[0-9]{1}.{0,1}[0-9]{0,1})~",$user_agent,$match))
354 elseif(preg_match("~(Web Downloader)/([0-9]{1}.[0-9]{1})~",$user_agent,$match))
358 elseif(preg_match("~(Mass Downloader)/([0-9]{1}.[0-9]{1})~",$user_agent,$match))
394 elseif(preg_match("~(Opera Mini)/([0-9]{1,2}.[0-9]{1,2})~",$user_agent,$match))
398 elseif(preg_match("~(Opera) ([0-9]{1,2}.[0-9]{1,3}){0,1}~",$user_agent,$match)
399 || preg_match("~(Opera/)([0-9]{1,2}.[0-9]{1,3}){0,1}~",$user_agent,$match))
404 preg_match("~([0-9]{1,2}.[0-9]{1,3}){0,1}$~",$user_agent,$match);
409 elseif( preg_match("~(NetCaptor) ([0-9]{1,2}.[0-9]{1,3}.[0-9]{1,3})~",$user_agent,$match)
410 || preg_match("~(NetCaptor) ([0-9]{1,2}.[0-9]{1,3})~",$user_agent,$match))
418 elseif(preg_match("~(Camino)/([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2})~",$user_agent,$match))
422 elseif(preg_match("~(Epiphany)/([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2})~",$user_agent,$match)
423 || preg_match("~(Epiphany)/([0-9]{1,2}.[0-9]{1,2})~",$user_agent,$match))
427 …elseif(preg_match("~(Flock)/([0-9]{1,2}.[0-9]{1,2}.{0,1}[0-9]{0,3}.{0,1}[0-9]{0,3})~",$user_agent,…
431 elseif(preg_match("~(Galeon)/([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2})~",$user_agent,$match))
435 elseif(preg_match("~(Chimera)/([0-9]{1,2}.[0-9]{1,2})~",$user_agent,$match))
439 … elseif(preg_match("~(Chrome)/([0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3})~",$user_agent,$match))
447 elseif(preg_match("~(K-Meleon)/([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2})~",$user_agent,$match))
449 $BName = "K-Meleon"; $Version=$match[2];
451 elseif(preg_match("~(konqueror)/([0-9]{1,2}.[0-9]{1,3})~",$user_agent,$match))
455 elseif(preg_match("~(Lunascape) ([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2})~",$user_agent,$match))
459 elseif(preg_match("~(links) / ([0-9]{1,2}.[0-9]{1,3})~",$user_agent,$match))
467 elseif(preg_match("~(lynx)/([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2})~",$user_agent,$match))
479 elseif( preg_match("~(Safari)/([0-9]{1,3})~",$user_agent,$match) )
482 if ( preg_match("~(Version)/([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2})~",$user_agent,$match)
483 || preg_match("~(Version)/([0-9]{1,2}.[0-9]{1,2})~",$user_agent,$match)
486 …elseif(preg_match("~(SeaMonkey)/([0-9]{1,2}.[0-9]{1,2}.{0,1}[0-9]{0,3}.{0,1}[0-9]{0,3})~",$user_ag…
490 …elseif(preg_match("~(Sleipnir)/([0-9]{1,2}.[0-9]{1,2}.{0,1}[0-9]{0,3}.{0,1}[0-9]{0,3})~",$user_age…
494 elseif(preg_match("~(Songbird)/([0-9]{1,2}.[0-9]{1,2})~",$user_agent,$match))
498 elseif(preg_match("~(Sylera)/([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2})~",$user_agent,$match))
502 …elseif(preg_match("~(Firefox)/([0-9]{1,2}.[0-9]{1,2}.{0,1}[0-9]{0,3}.{0,1}[0-9]{0,3})~",$user_agen…
511 elseif(preg_match("~(MSIE) ([0-9]{1,2}.[0-9]{1,3})~",$user_agent,$match))
515 elseif(preg_match("~(netscape6)/(6.[0-9]{1,3})~",$user_agent,$match))
519 elseif(preg_match("~(netscape)/(7.[0-9]{1,2})~",$user_agent,$match))
523 elseif(preg_match("~(Gecko)/([0-9]{1,8})~",$user_agent,$match))
527 if (preg_match("(rv):([0-9]{1,2}.[0-9]{1,3}.[0-9]{1,3})",$user_agent,$match))
531 if (preg_match("(rv):([0-9]{1,2}.[0-9]{1,3})",$user_agent,$match))
540 elseif(preg_match("~(mozilla)/([0-9]{1,2}.[0-9]{1,3})~",$user_agent,$match))
550 //--- Detekce Syst� mu ------------------------------------------------
590 elseif((preg_match("(win)([0-9]{4})",$user_agent,$match))
591 || (preg_match("(windows) ([0-9]{4})",$user_agent,$match)))
595 elseif((preg_match("(win)([0-9]{2})",$user_agent,$match))
596 || (preg_match("(windows) ([0-9]{2})",$user_agent,$match)))
600 elseif(preg_match("(winnt)([0-9]{1,2}.[0-9]{1,2}){0,1}",$user_agent,$match))
604 elseif(preg_match("(windows nt)( ){0,1}([0-9]{1,2}.[0-9]{1,2}){0,1}",$user_agent,$match))
608 elseif(preg_match("(sunos) ([0-9]{1,2}.[0-9]{1,2}){0,1}",$user_agent,$match))
612 elseif(preg_match("(beos) r([0-9]{1,2}.[0-9]{1,2}){0,1}",$user_agent,$match))
616 elseif(preg_match("(CentOS)/([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2})",$user_agent))
624 elseif(preg_match("(Fedora)/([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2})",$user_agent,$match))
628 elseif(preg_match("hp-ux",$user_agent))
630 $Platform = "HP-Unix";
644 elseif(preg_match("(Mandriva)/([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2})",$user_agent))
664 elseif(preg_match("(Red Hat)/([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2})",$user_agent,$match))
668 elseif(preg_match("(SUSE)/([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2})",$user_agent))