session_start(); include("../lib/sql_connect.php"); if(!$app["PHOTOGALLERY"]) header("location:index.php"); if($_GET["photogallery"]!=""){ $_GET["photogallery"]= intval($_GET["photogallery"]); if(mysql_num_rows(mysql_query("SELECT * FROM PHOTOGALLERY WHERE ATTIVA_PHOTOGALLERY AND ID_PHOTOGALLERY=".$_GET["photogallery"].""))==0) header("location:/index.php"); } switch ($lang){ case "ITA": $msgnull = "Nessuna galleria Presente"; break; case "ENG": $msgnull = "No gallery Found"; break; case "FRA": $msgnull = "No gallery Found"; break; case "TED": $msgnull = "No gallery Found"; break; } ?>
//-----BASE HREF------------ $baseref = "http://".$_SERVER["HTTP_HOST"].$_SERVER["SCRIPT_NAME"]; $baseref = str_replace("photogallery-page.php","",$baseref); //------------------------------------- ?>Web Design: Max-Media