// Set Cache-Control header header('Cache-Control: max-age=2628000'); $page_current="index"; include_once("header.php"); ?> include_once("dist/photoswipe/photoswipe_init.php");?> $sql="select value from content where page='homemain' and type='link'"; $res=mysqli_query($dbcon,$sql); if($row=mysqli_fetch_array($res)) $homemainlink=$row["value"]; $sql="select value from content where page='homemain' and type='title_".$language."'"; $res=mysqli_query($dbcon,$sql); if($row=mysqli_fetch_array($res)) $homemaintitle=$row["value"]; $sql="select value from content where page='homemain' and type='title2_".$language."'"; $res=mysqli_query($dbcon,$sql); if($row=mysqli_fetch_array($res)) $homemaintitle2=$row["value"]; $sql="select value from content where page='homemain' and type='title3_".$language."'"; $res=mysqli_query($dbcon,$sql); if($row=mysqli_fetch_array($res)) $homemaintitle3=$row["value"]; $sql="select value from content where page='homemain' and type='description_".$language."'"; $res=mysqli_query($dbcon,$sql); if($row=mysqli_fetch_array($res)) $homemaindescription=$row["value"]; ?>