require_once("./bluadmin/flash/databaseinfo.php"); include('./bluadmin/browserdetect.php'); $dir = './v1site_images/'; $query = "SELECT MetaTitle, MetaKey, MetaDescription, MetaExtra FROM v1Settings"; $result = mysql_query($query); $row = mysql_fetch_array($result); extract($row); $query = "SELECT MetaStats FROM Settings"; $result = mysql_query($query); $row = mysql_fetch_array($result); extract($row); $bgColor = "000000"; $txtColor = "FFFFFF"; $accentColor = "FFFFFF"; $frameColor = "666666"; $query2 = "SELECT * FROM Splash"; $result2 = mysql_query($query2); $row2 = mysql_fetch_array($result2, MYSQL_BOTH); extract($row2); $bgColor = $row2["BackColor"]; $txtColor = $row2["TextColor"]; $accentColor = $row2["AccentColor"]; $frameColor = $row2["FrameColor"]; for ($i=1; $i<=4; $i++){ if ($row2["URL".$i] == "index2.php"){ //$new_url = "index2.php?v=v1"; //$query3 = "update Splash set URL".$i." = '$new_url'"; //$result3 = mysql_query($query3); } } $query2 = "SELECT * FROM Splash"; $result2 = mysql_query($query2); $row2 = mysql_fetch_array($result2, MYSQL_BOTH); extract($row2); $logo_path = $dir."splash_logo.".$LogoExt; if ($SplashType == 'custom' && file_exists($logo_path)){ $logo_size = getimagesize($logo_path); $logo_w = $logo_size[0]; $logo_h = $logo_size[1]; } $TextFont = "Arial, Helvetica, sans-serif"; function is_mobile(){ $regex_match="/(nokia|iphone|android|motorola|^mot\-|softbank|foma|docomo|kddi|up\.browser|up\.link|"; $regex_match.="htc|dopod|blazer|netfront|helio|hosin|huawei|novarra|CoolPad|webos|techfaith|palmsource|"; $regex_match.="blackberry|alcatel|amoi|ktouch|nexian|samsung|^sam\-|s[cg]h|^lge|ericsson|philips|sagem|wellcom|bunjalloo|maui|"; $regex_match.="symbian|smartphone|midp|wap|phone|windows ce|iemobile|^spice|^bird|^zte\-|longcos|pantech|gionee|^sie\-|portalmmm|"; $regex_match.="jig\s browser|hiptop|^ucweb|^benq|haier|^lct|opera\s*mobi|opera\*mini|320x320|240x320|176x220"; $regex_match.=")/i"; return isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE']) or preg_match($regex_match, strtolower($_SERVER['HTTP_USER_AGENT'])); } if ($UseSplash == "flash1"){ if (is_mobile() && file_exists("./mobile/index.php")) { header("location: ./mobile/index.php?v=v1"); } else { header("location: index2.php"); } exit(); } else if ($UseSplash == "flash2"){ if (is_mobile() && file_exists("./mobile/index.php")) { header("location: ./mobile/index.php?v=v2"); } else { header("location: index2.php?v=v2"); } exit(); } ?>


 
   
   
 
 

GET FLASH PLAYER