0) { mysql_query("update ".$prefix."_referer set count=count+1 where url='$referer'"); list($rid) = mysql_fetch_row($res_count); } else { mysql_query("insert into ".$prefix."_referer values (NULL, '$referer','1')"); $rid = mysql_insert_id(); } mysql_query("insert into $prefix"._referer_ip." values (NULL, '$ip', '".time()."', '$rid')"); } if ($collect_agent == 1) mysql_query("insert into $prefix"._server_agent." values (NULL, '".$_SERVER["HTTP_USER_AGENT"]."', '$ip', '".time()."')"); if ($spideraid_trap == 1 || $spideraid_trap_map == 1) { mysql_close(); mysql_connect($dbhostbridge, UnPao($dbunamebridge), UnPao($dbpassbridge)); @mysql_select_db(UnPao($dbnamebridge)) or die ("Unable to select database"); $spresult = mysql_query("select spider_agent from $prefixbridge"._spider_agent.""); $go_spider = false; while(list($spider_agent) = mysql_fetch_row($spresult)) { if (eregi($spider_agent, $_SERVER["HTTP_USER_AGENT"])) $go_spider = true; } if ($go_spider) { $spideraid_trap_map == 1 ? $url_spider = "map/index.htm" : list($url_spider) = mysql_fetch_row(mysql_query("select url from $prefixbridge"._spider_advise." where active='1' and trap='1' limit 1")); if ($url_spider != "") { mysql_query("insert into $prefixbridge"._spider_trap." values (NULL, '".getenv("REMOTE_ADDR")."', '".$_SERVER["HTTP_USER_AGENT"]."', '".time()."', '$nukebaseurl', '$url_spider')"); header("location: $url_spider"); die(); } } mysql_close(); } ?> <? global $sitename, $slogan; echo "$sitename - $slogan"; ?> <body> <center> <br><br> <font face="Arial, Helvetica, sans-serif" size="2"><b>To view this page, you need a browser that supports frames.</b> <br><br><b>La pagina corrente utilizza i frame. Questa caratteristica non supportata dal browser in uso.</b> <br><br> mail to:&nbsp;<a href="mailto:info@fvsoftware.com">FVsoftware</a> <br><br> <? mysql_connect($dbhostbridge, UnPao($dbunamebridge), UnPao($dbpassbridge)); @mysql_select_db(UnPao($dbnamebridge)) or die ("Unable to select database"); include("$fvs_advice_url"); mysql_close(); ?> </font></center> </body>