$page_current="news"; $page_subcurrent="news"; include_once("header.php"); ?> $sql="select value from content where page='news' and type='title_".$language."'"; $res=mysqli_query($dbcon,$sql); if($row=mysqli_fetch_array($res)) $newstitle=$row["value"]; $sql="select value from content where page='news' and type='title2_".$language."'"; $res=mysqli_query($dbcon,$sql); if($row=mysqli_fetch_array($res)) $newstitle2=$row["value"]; ?> $sql="select value from content where page='news' and type='description_".$language."'"; $res=mysqli_query($dbcon,$sql); if($row=mysqli_fetch_array($res)) $hdescription=$row["value"]; $sql="select value from content where page='news' and type='image1'"; $res=mysqli_query($dbcon,$sql); if($row=mysqli_fetch_array($res)) $himage1=$row["value"]; $sql="SELECT title_".$language." as title, seo_title, short_title_".$language." as short_title, subtitle_".$language." as subtitle, description_".$language." as description, image,date_format(news_date,'%d %M %y') as news_date_display,date_format(expired_date,'%d %M %y') as expired_date_display, author FROM article where 1 and type='News' and hide_status=0 order by priority asc, news_date desc, id desc";//echo($sql); $res=mysqli_query($dbcon,$sql); ?>
