Current Path : /proc/self/root/home/sudancam/.trash/quran/mobile/ |
Current File : //proc/self/root/home/sudancam/.trash/quran/mobile/tafseer.php |
<?php include("../includes/function.php"); include("includes/function.php"); include("../includes/ayat.php"); include("../includes/function-tafseer.php"); $xy = 1; $sorax = intval($_GET['sora']); $ayax = intval($_GET['aya']); $typex = intval($_GET['type']); if(isset($sorax) AND $sorax != 0 AND $sorax <= 114){ $sora = $sorax; $soratitle = '» '.$q[$sora].''; }else{ $sora = 1; $soratitle = ''; } if(isset($ayax) AND $ayax != 0){ $aya = $ayax; }else{ $aya = 1; } if(isset($typex) AND $typex != 0 AND isset($sorax) AND $sorax != 0){ $type = $typex; $txt = tafseer_select($sora,$aya,$type); if ($htmlorphp=="1"){ $linksxx = "tafseer-".$type.".html"; }else{ $linksxx = "tafseer.php?type=".$type.""; } $soratitle = '» <a href="'.$linksxx.'">'.$tafseers[$type].'</a> '.$Q_W[29].' '.$q[$sora].''; }else{ if(isset($typex) AND $typex != 0){ $type = $typex; if($typex > count($tafseers)-1){ $type = 1; } $txt = tafseer_all_sora_loop($tafseer_all_sora_loop,$type); $soratitle = '» '.$tafseers[$type].''; }else{ $type = 1; $txt = tafseer_all_sora_loop($tafseer_all_sora_loop,$type); $soratitle = '» '.$tafseers[$type].''; } } $texts = preg_replace('/ّ|َ|ً|ُ|ٌ|ِ|ٍ|ْ/', '', $QURAN[$sora][$aya]); $m1 = $tafseers[$type]." - ".$texts; $m2 = str_replace(" ",",",$texts).", ".$tafseers[$type]; $Template->TemplateType = 2; $Template->description = $m1; $Template->keywords = $m2; $Template->title = $tafseers[$type]." $Q_W[26] ".$q[$sora]; $Template->Templatefolder = $folder; $content = $Template->tpl_content("<a href='".$siteurl."'>".$sitename."</a> ".$soratitle."",$txt); if($booksview==1){ $content .= $Template->tpl_content($Q_W[78],books(0,$booksnumber)); } $menu = $Template->tpl_menu_ar($Q_W[22],tafseer_ul($type)); $menu .= $Template->tpl_menu_ar($Q_W[21],$function_sora_menu); $menu .= $Template->tpl_menu_ar($Q_W[23],language_ul()); if($addthis_allow==1){ $menu .= $Template->tpl_menu_ar($Q_W[24],addthis($addthis_style)); } echo $Template->Template_view($content); ?>