include "config.php"; include "includes/functions.php"; if($_GET['cat'] == '0') $article_url=base64_decode(str_replace("ZAE","%20",$_GET['url'])); else $article_url=str_replace("ZAE","%20",$_GET['url']); $article=mysql_fetch_array(mysql_query(" select *,a.ID as aID,cc.Name as cName,a.Url as aUrl from prc_articles a LEFT JOIN prc_images i ON a.Img_ID=i.ID LEFT JOIN prc_categories cc ON a.Cat_ID = cc.ID where a.Url='".$article_url."' limit 1 ")); if(file_exists("article_cache/".str_replace("/","***",$article_url).".gz")==0){ $meta_title=str_replace('"','',ucfirst($article['Meta_Title'])).' '.ucwords($City).' - @ '.ucfirst($site_name); $meta_description=str_replace('"','',$article['Meta_Desc']); $meta_keywords=str_replace('"','',$article['Meta_Key']); if($_GET['cat'] == '0') $bread = ' '.ucwords($article['Title']).''; else $bread = ' '.ucfirst($article['cName']).' » '.ucwords($article['Title']).''; include "includes/header.php"; include "includes/article_body.php"; include "includes/article_side.php"; include "includes/footer.php"; }else{//echo $article_url; $firstLetter = substr(trim($article['aUrl']),0,1); /*$data = file_get_contents("event_cache/".$firstLetter.'.txt'); $rep = ''; $tab = unserialize($data); if(count($tab) > 0){ $rep .= '