".$key."-->".$val."
";} // while(list($key,$val)=each($_SESSION)){echo "".$key."-->".$val."
";} // besucher ####################################################################################### // uni_ref log #################################################################################### if($PHPSESSID!="") { $db = DB::connect("mysql://steam-rock.com:SMR14faf29!@localhost/steam-rock.com"); // $db->setFetchMode(DB_FETCHMODE_ASSOC); $sql = "INSERT INTO stat_portal (time,session,referer,portal) VALUES ('".mktime()."','$PHPSESSID','$_SERVER[HTTP_REFERER]','$_SERVER[HTTP_HOST]') "; if($debug == "Y") { echo "

$sql

"; } //$res=$db->getRow($sql); //$res=$db->getAll($sql); //$db->disconnect(); } // without setting the header in this way, cookies will not work, if this page is within a frame header("p3p: CP=\"CAO PSA OUR\""); // winlike-/winless-status // session_register("version_"); $version_=1; // set standard variables $lan="de"; $dir="winlike"; // GET-variables if ($HTTP_GET_VARS["lan"]) $lan = $HTTP_GET_VARS["lan"]; if ($HTTP_GET_VARS["dir"]) $dir = $HTTP_GET_VARS["dir"]; // set languages for MyWinLIKE if ($lan == "de") { $xlan = "en"; $_SESSION["lan_"] = "deu"; $flags = 'english'; } else { $xlan = "de"; $_SESSION["lan_"] = "eng"; $flags = 'deutsch'; } // set background /* if ($dir == "ceiton") { $bgpic = "dos"; } elseif ($dir == "workflow") { $bgpic = "uno"; } else { $bgpic = "tres"; } */ // set menu if ($lan != "de" && $lan != "en") {$lan = "en";} if ($lan == "de") { $menu[0] = "Home"; $menu[1] = "News"; $menu[2] = "Band"; $menu[20] = "Mattin"; $menu[21] = "Marco"; $menu[22] = "Henry"; $menu[23] = "Lou"; $menu[24] = "Mäuse"; $menu[25] = "Pazza"; $menu[26] = "Crew"; $menu[27] = "Bärchen"; $menu[3] = "Sounds"; $menu[4] = "Termine"; $menu[5] = "Info"; $menu[50] = "Kontakt"; $menu[51] = "Geschichte"; $menu[52] = "Fotos!"; $menu[53] = "Thanx"; $menu[54] = "Links"; $menu[55] = "Zubehör"; $menu[56] = "Equipment"; $menu[6] = "Gästebuch"; $menu[90] = "Hilfe"; $menu[91] = "Tipp: Schliessen Sie überflüssige Fenster einfach mit dem kleinen x oben rechts!"; } else { $menu[0] = "home"; $menu[1] = "news"; $menu[2] = "band"; $menu[20] = "Mattin"; $menu[21] = "Marco"; $menu[22] = "Henry"; $menu[23] = "Lou"; $menu[24] = "Mäuse"; $menu[25] = "Pazza"; $menu[26] = "crew"; $menu[27] = "Bärchen"; $menu[3] = "sounds"; $menu[4] = "dates"; $menu[5] = "info"; $menu[50] = "contact"; $menu[51] = "history"; $menu[52] = "gallery"; $menu[53] = "thanx"; $menu[54] = "links"; $menu[55] = "misc"; $menu[56] = "equipment"; $menu[6] = "guestbook"; $menu[90] = "Help"; $menu[91] = "Tip: Just close unnecessary windows with the litte x above on the right!"; } ?> [ steam-rock.com ] - Offizielle Website der Band STEAM [ steam-rock.com ] - official website of the berlin rockband STEAM
setFetchMode(DB_FETCHMODE_ASSOC); $sql = "SELECT id FROM stat_portal WHERE time >= '".(mktime()-60)."' AND portal='$_SERVER[HTTP_HOST]' AND session!='' GROUP BY session "; if($debug == "Y") { echo "

$sql

"; } //$res=$db->getRow($sql); $res=$db->getAll($sql); $uo = 0; foreach($res as $useronline) { $uo++; } $useronline = $uo; // -3600 1 Stunde // -1800 30 Minuten // -600 10 Minuten // -300 5 Minuten // -60 1 Minute // user gesamt ########################################################################## $db = DB::connect("mysql://web11:eLnygUeu@localhost/usr_web11_1"); $db->setFetchMode(DB_FETCHMODE_ASSOC); $sql = "SELECT id FROM stat_portal WHERE portal='$_SERVER[HTTP_HOST]' AND session!='' GROUP BY session "; if($debug == "Y") { echo "

$sql

"; } //$res=$db->getRow($sql); $res=$db->getAll($sql); $ug = 0; foreach($res as $usergesamt) { $ug++; } $usergesamt = $ug; // imp gesamt ########################################################################### $db = DB::connect("mysql://web11:eLnygUeu@localhost/usr_web11_1"); $db->setFetchMode(DB_FETCHMODE_ASSOC); $sql = "SELECT COUNT(id) AS userimp FROM stat_portal WHERE portal='$_SERVER[HTTP_HOST]' "; if($debug == "Y") { echo "

$sql

"; } $res=$db->getRow($sql); //$res=$db->getAll($sql); $userimp = $res["userimp"]; //*/ ?>