$t_cookie[9]=="") $t_cookie[9]=$Default_Theme; if(isset($theme)) $t_cookie[9]=$theme; if(!$tfile=@opendir("themes/$t_cookie[9]")) { $ThemeSel = $Default_Theme; } else { $ThemeSel = $t_cookie[9]; } } else { $ThemeSel = $Default_Theme; } $ThemeSelSave = $ThemeSel; return($ThemeSel); } //fin mod function removecrlf($str) { // Function for Security Fix by Ulf Harnhammar, VSU Security 2002 // Looks like I don't have so bad track record of security reports as Ulf believes // He decided to not contact me, but I'm always here, digging on the net return strtr($str, "\015\012", ' '); } function bots(){ global $user, $cookie, $prefix, $db, $module_name, $ora, $REMOTE_ADDR, $HTTP_CLIENT_IP; cookiedecode($user); $url = $_SERVER["REQUEST_URI"]; $ipa = $HTTP_CLIENT_IP; $ipb = $_SERVER["REMOTE_ADDR"]; if($ipa==""){ $ipa=$ipb;} $ip = $ipa; $host=gethostbyaddr($ip); $result = $db->sql_query("SELECT nombre from ".$prefix."_bots where ver='1'"); $a=1; $lista=""; while(list($nombre) = $db->sql_fetchrow($result)){ if($a==1){ $lista .= "($host==$nombre)"; }else{ $lista .= " OR ($host==$nombre)"; } $a++; } if($lista){$acceso=1;}else{$acceso=0;} if($lista==""){$acceso=0;} return($acceso); } ?>sta==""){$acceso=0;} return($acceso); } ?>
Todos los logos y marcas son propiedad de sus respectivos dueños. Los comentarios son propiedad de quienes los escriban, lo demás 2002 por mi. Web site engine code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license. Nuke ET Copyright © 2004-2006 por Truzone. Página Generada en: 0.304 segundos 92 llamadas a la base de datos
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||