uawdijnntqw1x1x1
IP : 18.226.181.82
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
.trash
/
tyblue.6
/
..
/
quran
/
includes
/
..
/
includes
/
function.php
/
/
<?php header("Content-Type: text/html; charset=utf-8"); include("setting.php"); function savesorawithtafseer($sora) { global $htmlorphp,$_GET,$tafseers,$Q_W; $tafseercount = count($tafseers); $n=0; $s = '<div class="changesoraform"> <p>'.$Q_W[70].'</p> <form name="formname" action="'.url(2,0,"").'" method="get"> <input type="hidden" name="sora" value="'.$sora.'" /> <select size="1" name="type" class="se">'; for($i=1; $i<$tafseercount; $i++){ ++$n; $s .= '<option value="'.$i.'"> '.$tafseers[$i].'</option>'; } $s .= '</select> '; $s .= ' <input type="submit" value=" '.$Q_W[71].' " class="ser" />'; $s .= '</form></div>'; return $s; } function readers_form($sora,$l,$x){ global $q,$readers_sora,$htmlorphp,$Q_W,$_GET; $links = url(3,0,""); $s_number = count($readers_sora); if($l != 0){ $inputhedden = '<input name="l" type="hidden" value="'.$l.'" /> <input name="translate" type="hidden" value="1" />'; }else{ $inputhedden = ''; } $s = '<div class="selectbox_sound"> <form name="FormName" action="'.$links.'" method="post"> <input name="sora" type="hidden" value="'.$sora.'" />'; $s .= $inputhedden; $s .= '<select size="1" name="x" class="se">'; for($i=1; $i<$s_number+1; $i++){ if(isset($_GET['l']) AND intval($_GET['l']) != 0){ $names = $readers_sora[$i][1]; $title = ''.$readers_sora[$i][1].' '.$readers_sora[$i][4].''; }else{ $names = $readers_sora[$i][0]; $title = ''.$readers_sora[$i][0].' '.$readers_sora[$i][3].''; } if($x==$i){ $s .= '<option value="'.$i.'" selected="selected" title="'.$title.'">'.$names.'</option>'; }else{ $s .= '<option value="'.$i.'" title="'.$title.'">'.$names.'</option>'; } } $s .= '</select><br />'; $s .= ' <input type="submit" value=" '.$Q_W[37].' " class="ser" />'; $s .= '</form></div>'; return $s; } function sound_check_sora($sora,$n,$translatesound=""){ global $readers_sora; $sora_number = strlen($sora); if($sora_number==1){ $s1 = '00'.$sora.''; }elseif($sora_number==2){ $s1 = '0'.$sora.''; }elseif($sora_number==3){ $s1 = $sora; } if($translatesound == ""){ if(preg_match('/:N:/i', $readers_sora[$n][2])) { $s = str_replace(":N:",$s1,$readers_sora[$n][2]).".mp3"; }else{ $s = ''.$readers_sora[$n][2].''.$s1.'.mp3'; } }else{ if(preg_match('/:N:/i', $translatesound)) { $s = str_replace(":N:",$s1,$translatesound).".mp3"; }else{ $s = ''.$translatesound.''.$s1.'.mp3'; } } //$s = mp3player($pathfile,290,24,1); return $s; } function sorahmenu($lang=0){ if($lang == 0 OR $lang==16 OR $lang==21 OR $lang==30 OR $lang==38){ $menu = sora_overflow(); }elseif($lang == 1){ $menu = sora_overflow_en(); }else{ $menu = sora_overflow_en(); } return $menu; } function tafseernames($lang=0){ if($lang == 0 OR $lang==16 OR $lang==21 OR $lang==30 OR $lang==38){ $tafseers = array('','تفسير ابن كثر','تفسير الجلالين','تفسير الطبري','تفسير القرطبي','تفسير السعدي'); }elseif($lang == 1){ $tafseers = array('','Tafseer Ibn Khatheer','Tafseer Aljlalin','Tafseer Altabari','Tafseer Alqurtubi','Tafseer Alsaadi'); }else{ $tafseers = array('','Tafseer Ibn Khatheer','Tafseer Aljlalin','Tafseer Altabari','Tafseer Alqurtubi','Tafseer Alsaadi'); } return $tafseers; } function quransurah($lang=0){ if($lang == 0){ $q = array('القرآن الكريم','الفاتحة','البقرة','آل عمران','النساء','المائدة','الأنعام','الأعراف','الأنفال','التوبة','يونس' ,'هود','يوسف','الرعد','إبراهيم','الحجر','النحل','الإسراء','الكهف','مريم','طه','الأنبياء','الحج','المؤمنون','النور','الفرقان','الشعراء','النمل' ,'القصص','العنكبوت','الروم','لقمان','السجدة','الأحزاب','سبأ','فاطر','يس','الصافات','ص','الزمر','غافر','فصلت','الشورى','الزخرف','الدخان','الجاثية','الأحقاف' ,'محمد','الفتح','الحجرات','ق','الذاريات','الطور','النجم','القمر','الرحمن','الواقعة','الحديد','المجادلة','الحشر','الممتحنة','الصف','الجمعة','المنافقون','التغابن','الطلاق' ,'التحريم','الملك','القلم','الحاقة','المعارج','نوح','الجن','المزمل','المدثر','القيامة','الإنسان','المرسلات','النبأ','النازعات','عبس','التكوير','الانفطار','المطففين','الانشقاق','البروج','الطارق','الأعلى' ,'الغاشية','الفجر','البلد','الشمس','الليل','الضحى','الشرح','التين','العلق','القدر','البينة','الزلزلة','العاديات','القارعة','التكاثر','العصر','الهمزة','الفيل','قريش','الماعون','الكوثر','الكافرون','النصر','المسد','الإخلاص','الفلق','الناس'); }elseif($lang == 1 OR $lang == 2 OR $lang == 3){ $q = array('Quran','Al-Fatihah ( The Opening )','Al-Baqarah ( The Cow )','Al-Imran ( The Famiy of Imran )','An-Nisa ( The Women )','Al-Maidah ( The Table spread with Food )','Al-An\'am ( The Cattle )','Al-A\'raf (The Heights )','Al-Anfal ( The Spoils of War )','At-Taubah ( The Repentance )','Yunus ( Jonah )' ,'Hud','Yusuf (Joseph )','Ar-Ra\'d ( The Thunder )','Ibrahim ( Abraham )','Al-Hijr ( The Rocky Tract )','An-Nahl ( The Bees )','Al-Isra ( The Night Journey )','Al-Kahf ( The Cave )','Maryam ( Mary )','Taha','Al-Anbiya ( The Prophets )','Al-Hajj ( The Pilgrimage )','Al-Mu\'minoon ( The Believers )','An-Noor ( The Light )','Al-Furqan (The Criterion )','Ash-Shuara ( The Poets )','An-Naml (The Ants )' ,'Al-Qasas ( The Stories )','Al-Ankaboot ( The Spider )','Ar-Room ( The Romans )','Luqman','As-Sajdah ( The Prostration )','Al-Ahzab ( The Combined Forces )','Saba ( Sheba )','Fatir ( The Orignator )','Ya-seen','As-Saaffat ( Those Ranges in Ranks )','Sad ( The Letter Sad )','Az-Zumar ( The Groups )','Ghafir ( The Forgiver God )','Fussilat ( Explained in Detail )','Ash-Shura (Consultation )','Az-Zukhruf ( The Gold Adornment )','Ad-Dukhan ( The Smoke )','Al-Jathiya ( Crouching )','Al-Ahqaf ( The Curved Sand-hills )' ,'Muhammad','Al-Fath ( The Victory )','Al-Hujurat ( The Dwellings )','Qaf ( The Letter Qaf )','Adh-Dhariyat ( The Wind that Scatter )','At-Tur ( The Mount )','An-Najm ( The Star )','Al-Qamar ( The Moon )','Ar-Rahman ( The Most Graciouse )','Al-Waqi\'ah ( The Event )','Al-Hadid ( The Iron )','Al-Mujadilah ( She That Disputeth )','Al-Hashr ( The Gathering )','Al-Mumtahanah ( The Woman to be examined )','As-Saff ( The Row )','Al-Jumu\'ah ( Friday )','Al-Munafiqoon ( The Hypocrites )','At-Taghabun ( Mutual Loss & Gain )','At-Talaq ( The Divorce )' ,'At-Tahrim ( The Prohibition )','Al-Mulk ( Dominion )','Al-Qalam ( The Pen )','Al-Haaqqah ( The Inevitable )','Al-Ma\'arij (The Ways of Ascent )','Nooh','Al-Jinn ( The Jinn )','Al-Muzzammil (The One wrapped in Garments)','Al-Muddaththir ( The One Enveloped )','Al-Qiyamah ( The Resurrection )','Al-Insan ( Man )','Al-Mursalat ( Those sent forth )','An-Naba\' ( The Great News )','An-Nazi\'at ( Those who Pull Out )','Abasa ( He frowned )','At-Takwir ( The Overthrowing )','Al-Infitar ( The Cleaving )','Al-Mutaffifin (Those Who Deal in Fraud)','Al-Inshiqaq (The Splitting Asunder)','Al-Burooj ( The Big Stars )','At-Tariq ( The Night-Comer )','Al-A\'la ( The Most High )' ,'Al-Ghashiya ( The Overwhelming )','Al-Fajr ( The Dawn )','Al-Balad ( The City )','Ash-Shams ( The Sun )','Al-Layl ( The Night )','Ad-Dhuha ( The Forenoon )','As-Sharh ( The Opening Forth)','At-Tin ( The Fig )','Al-\'alaq ( The Clot )','Al-Qadr ( The Night of Decree )','Al-Bayyinah ( The Clear Evidence )','Az-Zalzalah ( The Earthquake )','Al-\'adiyat ( Those That Run )','Al-Qari\'ah ( The Striking Hour )','At-Takathur ( The piling Up )','Al-Asr ( The Time )','Al-Humazah ( The Slanderer )','Al-Fil ( The Elephant )','Quraish','Al-Ma\'un ( Small Kindnesses )','Al-Kauther ( A River in Paradise)','Al-Kafiroon ( The Disbelievers )','An-Nasr ( The Help )','Al-Masad ( The Palm Fibre )','Al-Ikhlas ( Sincerity )','Al-Falaq ( The Daybreak )','An-Nas ( Mankind )'); }elseif($lang == 4){ $q = array('Quran', 'Al-Fatiha (l\'ouverture)', 'La Vache', 'La Famille d\'Imrane', 'Les Femmes', 'La Table Servie', 'Les Bestiaux', 'Al-Aarâf', 'Le Butin', 'Le Repentir', 'Younous', 'Houd', 'Youssouf', 'Le Tonnerre', 'Ibrahim', 'Al-Hijr', 'Les Abeilles', 'Le Voyage Nocturne', 'La Caverne', 'Maryam', 'Ta-Ha', 'Les Prophètes', 'Le Pèlerinage', 'Les Croyants', 'La Lumière', 'Le Discernement', 'Les Poètes', 'La Fourmi', 'Le Récit', 'L\'Araignée', 'Les Romains', 'Louqman', 'La Prosternation', 'Les Coalisés', 'Saba', 'Le Créateur', 'Ya-Sine', 'Les Rangés', 'Sad', 'Les Groupes', 'Le Pardonneur', 'Les Versets détaillés', 'La Consultation', 'L\'Ornement', 'La Fumée', 'L\'Agenouillée', 'Al-Ahqaf', 'Muhammad', 'La Victoire éclatante', 'Les Appartements', 'Qaf', 'Qui Eparpillent', 'Le Mont Tour', 'L\'Etoile', 'La Lune', 'Le Tout-Miséricordieux', 'L\'Evénement', 'Le Fer', 'La Discussion', 'L\'Exode', 'L\'Eprouvée', 'Le Rang', 'Le Vendredi', 'Les Hypocrites', 'La Grande Perte', 'Le Divorce', 'L\'Interdiction', 'La Royauté', 'La Plume', 'Celle qui montre la vérité', 'Les Voies d\'Ascension', 'Noé', 'Les Djinns', 'L\'Enveloppé', 'Le Revêtu d\'un manteau', 'La Résurrection', 'L\'Homme', 'Les Envoyés', 'La Nouvelle', 'Les Anges qui arrachent les âmes', 'Il s\'est renfrogné', 'L\'Obscurcissement', 'La Rupture', 'Les Fraudeurs', 'La Déchirure', 'Les Constellations', 'L\'Astre nocturne', 'Le Très-Haut', 'L\'Enveloppante', 'L\'Aube', 'La Cité', 'Le Soleil', 'La Nuit', 'Le Jour montant', 'L\'Ouverture', 'Le Figuier', 'L\'Adhérence', 'La Destinée', 'La Preuve', 'La Secousse', 'Les Coursiers', 'Le Fracas', 'La Course aux richesses', 'Le Temps', 'Les Calomniateurs', 'L\'Eléphant', 'Les Couraïch', 'L\'Ustensile', 'L\'Abondance', 'Les Infidèles', 'Le Secours', 'Les Fibres', 'Le Monothéisme pur', 'L\'Aube naissante', 'Les Hommes'); }elseif($lang == 6){ $q = array('Kur\'an-ı Kerim', 'Fâtiha Sûresi', 'Bakara Sûresi', 'Al-i İmran Suresi', 'Nisa Suresi', 'Maide Suresi', 'En\'am Suresi', 'A\'raf Suresi', 'Enfal Suresi', 'Tevbe Suresi', 'Yunus Suresi', 'Hud Suresi', 'Yusuf Suresi', 'Ra\'d Suresi', 'İbrahim Suresi', 'Hicr Suresi', 'Nahl Suresi', 'İsra Suresi', 'Kehf Suresi', 'Meryem Suresi', 'Taha Suresi', 'Enbiya Suresi', 'Hac Suresi', 'Mü\'minun Suresi', 'Nur Suresi', 'Furkan Suresi', 'Şuara Suresi', 'Neml Suresi', 'Kasas Suresi', 'Ankebut Suresi', 'Rum Suresi', 'Lokman Suresi', 'Secde Suresi', 'Ahzab Suresi', 'Sebe Suresi', 'Fatır Suresi', 'Yasin Suresi', 'Saffat Suresi', 'Sad Suresi', 'Zümer Suresi', 'Ğafir (Mü\'min) Suresi', 'Fussilet Suresi', 'Şura Suresi', 'Zuhruf Suresi', 'Duhan Suresi', 'Casiye Suresi', 'Ahkaf Suresi', 'Muhammed Suresi', 'Fetih Suresi', 'Hucurat Suresi', 'Kaf Suresi', 'Zariyat Suresi', 'Tur Suresi', 'Necm Suresi', 'Kamer Suresi', 'Rahman Suresi', 'Vakia Suresi', 'Hadid Suresi', 'Mücadele Suresi', 'Haşr Suresi', 'Mümtehine Suresi', 'Saf Suresi', 'Cuma Suresi', 'Münafikun Suresi', 'Teğabun Suresi', 'Talak Suresi', 'Tahrim Suresi', 'Mülk Suresi', 'Kalem Suresi', 'Hakka Suresi', 'Mearic Suresi', 'Nuh Suresi', 'Cin Suresi', 'Müzzemmil Suresi', 'Müddessir Suresi', 'Kıyamet Suresi', 'İnsan Suresi', 'Mürselat Suresi', 'Nebe Suresi', 'Naziat Suresi', 'Abese Suresi', 'Tekvir Suresi', 'İnfitar Suresi', 'Mutaffifin Suresi', 'İnşikak Suresi', 'Buruc Suresi', 'Tarık Suresi', 'A\'la Suresi', 'Ğaşiye Suresi', 'Fecr Suresi', 'Beled Suresi', 'Şems Suresi', 'Leyl Suresi', 'Duha Suresi', 'İnşirah (Şerh) Suresi', 'Tin Suresi', 'Alak Suresi', 'Kadir Suresi', 'Beyyine Suresi', 'Zilzal (Zelzele) Suresi', 'Adiyat Suresi', 'Karia Suresi', 'Tekasür Suresi', 'Asr Suresi', 'Hümeze Suresi', 'Fil Suresi', 'Kureyş Suresi', 'Maun Suresi', 'Kevser Suresi', 'Kafirun Suresi', 'Nasr Suresi', 'Mesed Suresi', 'İhlas Suresi', 'Felak Suresi', 'Nas Suresi'); }elseif($lang == 9){ $q = array('古兰经', '《开端章》', '《黄牛章》', '《伊姆兰的家属章》', '《妇女章》', '《筵席章》', '《牲畜章》', '《高处章》', '《战利品章》', '《忏悔章》', '《优努斯章》', '《呼德章》', '《优素福章》', '《雷霆章》', '《伊布拉欣章》', '《石谷章》', '《蜜蜂章》', '《夜行章》', '《山洞章》', '《麦尔彦章》', '《塔哈章》', '《众先知章》', '《朝觐章》', '《信士章》', '《光明章》', '《准则章》', '《众诗人章》', '《蚂蚁章》', '《故事章》', '《蜘蛛章》', '《罗马章》', '《鲁格曼章》', '《叩头章》', '《同盟军章》', '《赛柏邑章》', '《创造者章》', '《雅辛章》', '《列班者章》', '《萨德章》', '《队伍章》', '《赦宥章》', '《奉绥来特章》', '《协商章》', '《金饰章》', '《烟雾章》', '《屈膝章》', '《沙丘章》', '《穆罕默德章》', '《胜利章》', '《寝室章》', '《戛弗章》', '《播种者章》', '《山岳章》', '《星宿章》', '《月亮章》', '《至仁主章》', '《大事章》', '《铁章》', '《辩诉者章》', '《放逐章》', '《受考验的妇人章》', '《列阵章》', '《主麻章》', '《伪信者章》', '《相欺章》', '《离婚章》', '《禁戒章》', '《国权章》', '《笔章》', '《真灾章》', '《天梯章》', '《努哈章》', '《精灵章》', '《披衣的人章》', '《盖被的人章》', '《复活章》', '《人章》', '《天使章》', '《消息章》', '《急掣的章》', '《皱眉章》', '《黯黜章》', '《破裂章》', '《称量不公章》', '《绽裂章》', '《十二宫章》', '《启明星章》', '《至尊章》', '《大灾章》', '《黎明章》', '《地方章》', '《太阳章》', '《黑夜章》', '《上午章》', '《开拓章》', '《无花果章》', '《血块章》', '《高贵章》', '《明证章》', '《地震章》', '《奔驰的马队章》', '《大难章》', '《竞赛富庶章》', '《时光章》', '《诽谤者章》', '《象章》', '《古来氏章》', '《什物章》', '《多福章》', '《不信道的人们章》', '《援助章》', '《火焰章》', '《忠诚章》', '《曙光章》', '《世人章》'); }elseif($lang == 12){ $q = array('꾸란', '개경장', '알-바까라(암소)장', '알루 이므란(이므란의 가족) 장', '안-니사(여성) 장', '알-마이다(잘 차려진 식탁) 장', '알-안암(가축) 장', '알-아으라프 장', '알-안팔(전리품) 장', '앗-타우바(참회) 장', '유누스(요나) 장', '후드 장', '유수프(요셉) 장', '알-라으드(천둥) 장', '이브라힘(아브라함) 장', '알-히즈르 장', '안-나흘(꿀벌) 장', '알-이스라 장', '알-카흐프(동굴) 장', '마르얌(마리아) 장', '따하 장', '알-안비야(예언자들) 장', '알-핫즈(성지순례) 장', '알-무으미눈(신앙인들) 장', '안-누르(빛) 장', '알-푸르깐(분별) 장', '앗-슈아라(시인들) 장', '안-나믈(개미) 장', '알-까싸쓰(이야기) 장', '알-안카부트(거미) 장', '알-룸(로마) 장', '루끄만 장', '앗-싸즈다(부복) 장', '알-아흐잡(동맹군) 장', '싸바 장', '파띠르(창조자) 장', '야씬 장', '앗-쌋파트(대열을 갖춘 무리) 장', '싸드 장', '앗-주마르(무리, 떼) 장', '알-가피르(용서하시는 분) 장', '풋씰라트(상세히 설명된) 장', '앗-슈라(협의회) 장', '앗-주크루프(화려한 장식) 장', '앗-두칸(연기) 장', '알-자씨야(엎드린) 장', '알-아흐까프(모래언덕) 장', '무함마드 장', '알-파트흐(승리) 장', '알-후주라트(방들) 장', '까프 장', '앗-다리야트(흩뜨리는 바람) 장', '앗-뚜르(산) 장', '안-나즘(별) 장', '알-까마르(달) 장', '알-라흐만(자비로우신 분) 장', '알-와끼아(피할 수 없는 날) 장', '알-하디드(철) 장', '알-무자딜라(탄원하는 여성) 장', '알-하슈르(추방) 장', '알-뭄타하나(시험받는 여성) 장', '앗-쌋프(대열) 장', '알-주므아(금요합동예배) 장', '알-무나피꾼(위선자들) 장', '앗-타가분(서로 주고받음) 장', '앗-딸라끄(이혼) 장', '앗-타흐림(금지) 장', '알-물크(주권) 장', '알-깔람(펜) 장', '알-학까(진실) 장', '알-마아리즈(하늘로 올라가는 길) 장', '누흐 장', '알-진 장', '알-뭇잠밀(이불에 덮힌 자) 장', '알-뭇닷씨르(담요로 덮힌 자) 장', '알-끼야마(부활) 장', '알-인싼(사람) 장', '알-무르쌀라트(연이은 바람)', '안-나바(소식) 장', '안-나지아트(잡아끄는 자들) 장', '아바싸(찌푸리다) 장', '앗-타크위르(말아올림) 장', '알-인피따르(갈라짐) 장', '알-무땃피핀(속여 파는 자들) 장', '알-인쉬까끄(쪼개짐) 장', '알-부루즈(커다른 별들) 장', '앗-따리끄(저녁에 솟는 별) 장', '알-아을라(지고하신) 장', '알-가쉬야(압도하는)', '알-파즈르(여명) 장', '알-발라드(도시) 장', '앗-샴스(태양) 장', '알-라일(밤) 장', '앗-두하(아침) 장', '앗-샤르흐(열어넓힘) 장', '앗-틴(무화과) 장', '알-알라끄(들러붙은 것) 장', '알-까드르(운명) 장', '알-바이이나(명백한 증거) 장', '앗-잘잘라(지진) 장', '알-아디야트(달리는 것들)장', '알-까리야(치명적 재앙) 장', '앗-타카쑤르(재산을 위한 경쟁)', '알-아쓰르(시간) 장', '알-후마자(비방하는 자) 장', '알-필(코끼리) 장', '꾸라이쉬 장', '알-마운(사소한 필수품) 장', '알-카우싸르(천국의 호수) 장', '알-카피룬(불신자들) 장', '안-나쓰르(도움) 장', '알-마사드(동아줄) 장', '알-이클라쓰(진실성) 장', '알-팔라끄(새벽) 장', '안-나스(인류) 장'); }elseif($lang == 13){ $q = array('വിശുദ്ധ ഖുര്ആന്', 'ഫാതിഹ', 'ബഖറ', 'ആലു ഇംറാന്', 'സൂറ:ന്നിസാഅ്', 'മാഇദ', 'അന്ആം', 'അഅ്റാഫ്', 'അന്ഫാല്', 'തൗബ:', 'യൂനുസ്', 'ഹൂദ്', 'യൂസുഫ്', 'റഅ്ദ്', 'ഇബ്റാഹീം.', 'ഹിജ്റ്', 'നഹ്ല്', 'ഇസ്റാഅ്', 'അല് കഹ്ഫ്', 'മര്യം', 'ത്വാഹാ', 'അന്ബിയാ', 'ഹജ്ജ്', 'മുഅ്മിനൂന്', 'നൂര്', 'ഫുര്ഖാന്', 'ശുഅറാ', 'നംല്', 'ഖസസ്', 'അന്കബൂത്', 'റൂം', 'ലുഖ്മാന്', 'സജദ:', 'അഹ്സാബ്', 'സബഅ്', 'ഫാത്വിര്', 'യാസീന്', 'സ്വാഫാത്ത്', 'സ്വാദ്', 'സുമര്', 'ഗാഫിര്', 'ഫുസ്സിലത്ത്', 'ഷൂറാ', 'സുഖ്റുഫ്', 'ദുഖാന്', 'ജാഥിയ', 'അഹ്ഖാഫ്', 'മുഹമ്മദ്', 'ഫത്ഹ്', 'ഹുജറാത്ത്', 'ഖാഫ്', 'ദ്ദാരിയാത്ത്', 'ത്വൂര്', 'സൂറ:ന്നജ്മ്', 'ഖമര്', 'റഹ്മാന്', 'വാഖിഅ', 'സൂറ:ഹദീദ്', 'മുജാദല', 'ഹഷര്', 'മുംതഹിന', 'സ്വഫ്', 'ജുമുഅ', 'മുനാഫിഖൂം', 'തഗാബുന്', 'സൂറ:ത്വലാഖ്', 'തഹ് രീം', 'മുല്ക്', 'ഖലം', ' ഹാഖ്ഖ', 'മആരിജ്', 'നൂഹ്', 'ജിന്ന്', 'മുസ്സമ്മില്', 'മുദ്ദസിര്', 'ഖിയാമ', 'ഇന്സാന്', 'മുര്സലാത്', 'നബഹ്', 'നാസിആത്ത്', 'അബസ', 'തക് വീര്', 'ഇന്ഫിത്വാര്', 'മുത്വഫ്ഫിഫീന്', 'ഇന്ഷിഖാഖ്', 'ബുറൂജ്', 'ത്വാരിഖ്', 'അഹ് ലാ', 'ഗാഷിയ', 'ഫജ് റ്', 'ബലദ്', 'ശംസ്', 'ലൈല്', 'ദ്വുഹാ', 'ശര്ഹ്', 'ത്തീന്', 'അലഖ്', 'ഖദ് റ്', 'ബയ്യിന', 'സല് സല', 'ആദിആത്ത്', 'ഖരിഅ', 'തകാസുര്', 'അസ്വര്', 'ഹുമസ', 'ഫീല്', 'ഖുറൈശ്', 'മാഊന്', 'കൌസര്', 'കാഫിറൂന്', 'നസ്വര്', 'മസദ്', 'ഇഖ്\'ലാസ്വ്', 'ഫലഖ്', 'ന്നാസ'); }elseif($lang == 15){ $q = array('Corán', 'apertura', 'vaca', 'familia de ‘imrán', 'Las mujeres', 'mesa servida', 'Los ganados', 'El muro divisorio', 'Los botines', 'El arrepentimiento', 'Jonás', 'Hud', 'José', 'El Trueno', 'Abraham', 'Al-Hiyr', 'Las Abejas', 'El viaje nocturno', 'caverna', 'María', 'Ta Ha', 'Los Profetas', 'peregrinación', 'Los creyentes', 'Luz', 'El criterio', 'Los Poetas', 'Las Hormigas', 'Los Relatos', 'Araña', 'Los Bizantinos', 'Luqmán', 'prosternación', 'Los aliados', 'Saba', 'Originador', 'ia sin', 'Los ordenados en filas', 'Sad', 'Los tropeles', 'El remisorio', 'Los preceptos detallados', 'consulta', 'Los Ornamentos', 'El Humo', 'Arrodillada', 'Las Dunas', 'Muhámmad', 'Victoria', 'Las Moradas', 'Qáf', 'Los Vientos', 'El Monte', 'Estrella', 'Luna', 'El Clemente', 'El Suceso', 'El Hierro', 'Discusión', 'El Destierro', 'Examinada', 'Fila', 'El Viernes', 'Los Hipócritas', 'El Desengaño', 'El Divorcio', 'Prohibición', 'El Reino', 'El Cálamo', 'Verdad', 'Las Vías de Ascensión', 'Noé', 'Los Genios', 'El Cobijado', 'El Envuelto en el Manto', 'Resurrección', 'El Ser Humano', 'Los Ángeles Enviados', 'Noticia', 'Los Ángeles Arrancadores', 'El Ceño', 'El Arrollamiento', 'Hendidura', 'Los Defraudadores', 'Rasgadura', 'Las Constelaciones', 'Los Astros Nocturnos', 'El Altísimo', 'El Día Angustiante', 'Aurora', 'Ciudad', 'El Sol', 'Noche', 'Media Mañana', 'pacificación del Corazón', 'Higuera', 'El Cigoto', 'Predestinación', 'Evidencia', 'El Terremoto', 'Los Corceles', 'El Evento Aterrador', 'Codicia', 'El Tiempo', 'Burdel Prójimo', 'El Elefante', 'Tribu de Quraish', 'ayuda Mínima', 'Abundancia', 'Los Incrédulos', 'El Socorro', 'Las Fibras de Palmera', 'El Monoteísmo', 'Alborada', 'Los seres humanos'); }elseif($lang == 16){ $q = array('قرآن کریم', 'فاتحہ', 'بقرہ', 'آل عمران', 'نساء', 'مائدہ', 'انعام', 'سوررہ اعراف', 'انفال', 'توبہ', 'یونس', 'ہود', 'یوسف', 'رعد', 'ابراھیم', 'حجر', 'نحل', 'اسراء', 'کہف', 'مریم', 'طہ', 'انبیاء', 'حج', 'مومنون', 'نور', 'فرقان', 'شعراء', 'نمل', 'قصص', 'عنکبوت', 'روم', 'لقمان', 'سجدہ', 'احزاب', 'سبا', 'فاطر', 'یس', 'صافات', 'ص', 'زمر', 'غافر', 'فصلت', 'شورى', 'زخرف', 'دخان', 'جاثیہ', 'احقاف', 'محمد', 'فتح', 'حجرات', 'ق', 'ذاریات', 'طور', 'نجم', 'قمر', 'رحمن', 'واقعہ', 'حدید', 'مجادلہ', 'حشر', 'ممتحنہ', 'صف', 'جمعہ', 'منافقون', 'تغابن', 'طلاق', 'تحریم', 'ملک', 'قلم', 'حاقہ', 'معارج', 'نوح', 'جن', 'مزمل', 'مدثر', 'قیامہ', 'انسان(دھر)', 'مرسلات', 'نبا', 'نازعات', 'عبس', 'تکویر', 'انفطار', 'مطففین', 'انشقاق', 'بروج', 'طارق', 'اعلى', 'غاشیہ', 'فجر', 'بلد', 'شمس', 'لیل', 'ضحى', 'شرح', 'تین', 'علق', 'قدر', 'بینہ', 'زلزلہ', 'عادیات', 'قارعہ', 'تکاثر', 'عصر', 'ھمرہ', 'فیل', 'قریش', 'ماعون', 'کوثر', 'کافرون', 'نصر', 'مسد', 'اخلاص', 'فلق', 'ناس'); }elseif($lang == 17){ $q = array('আল-ফাতেহা', 'আল-বাকারা', 'আলে ইমরান', 'আন-নিসা', 'আল-মায়েদা', 'আল-আনআম', 'আল-আরাফ', 'আল-আনফাল', 'আত-তাওবা', 'ইউনূছ', 'হুদ', 'ইউসূফ', 'আর-রাদ', 'ইবরাহীম', 'আল-হিজর', 'আন-নাহল', 'আল- ইসরা', 'আল-কাহাফ', 'মারইয়াম', 'ত্বা-হা', 'আল-আম্বিয়া', 'আল-হজ্ব', 'আল-মুমিনুন', 'আন-নূর', 'আল-ফোরকান', 'আশ-শুআরা', 'আন-নামল', 'আল-কাসাস', 'আল-আনকাবুত', 'আর-রূম', 'লুকমান', 'আস-সাজদাহ', 'আল-আহযাব', 'সাবা', 'ফাতির', 'ইয়াসীন', 'আস-সাফফাত', 'সা-দ', 'আয-যুমার', 'গাফের', 'ফুসসিলাত', 'আশ-শুরা', 'আয-যুখরুফ', 'আদ-দুখান', 'আল-জাসিয়া', 'আল-আহকাফ', 'মুহাম্মাদ', 'আল-ফাতহ', 'আল-হুজুরাত', 'ক্বাফ', 'আজ-জারিয়াত', 'আত-তূর', 'আন-নাজম', 'আল-কামার', 'আর-রাহমান', 'আল-ওয়াকিয়াহ', 'আল-হাদীদ', 'আল-মুজাদালাহ', 'আল-হাশর', 'আল-মুমতাহিনাহ', 'আস-সাফ', 'আল-জুমুআ', 'আল-মুনাফিকুন', 'আত-তাগাবুন', 'আত-তালাক', 'আত-তাহরীম', 'আল-মুলক', 'আল-কলম', 'আল-হাক্কাহ', 'আল-মাআরিজ', 'নূহ', 'আল-জীন', 'আল-মুযযাম্মিল', 'আল-মুদ্দাসসির', 'আল-কিয়ামাহ', 'আল-ইনসান', 'আল-মুরসালাত', 'আন-নাবা', 'আন-নাযেআত', 'আবাসা', 'আত-তাকবীর', 'আল-ইনফিতার', 'আল-মুতাফফিফীন', 'আল-ইনশিকাক', 'আল-বুরুজ', 'আত-তারেক', 'আল-আলা', 'আল-গাশিয়াহ', 'আল-ফাজর', 'আল-বালাদ', 'আশ-শামস', 'আল-লাইল', 'আদ-দুহা', 'আশ শারহ', 'আত-তীন', 'আল-আলাক', 'আল-কদর', 'আল-বাইয়েনাহ', 'আয-যালযালাহ', 'আল-আদিয়াত', 'আল-কারিআহ', 'আত-তাকাসুর', 'আল-আসর', 'আল-হুমাযাহ', 'আল-ফীল', 'কুরাইশ', 'আল-মাউন', 'আল-কাউসার', 'আল-কাফেরূন', 'আন-নাসর', 'আল-মাসাদ', 'আল-ইখলাছ', 'আল-ফালাক', 'আন-নাস'); }elseif($lang == 20){ $q = array('Der Edle Qur\'an', 'al-Fatiha (Die Eröffnende)', 'al-Baqara (Die Kuh)', 'Al-i Imran (Das Haus Imrans)', 'an-Nisa (Die Frauen)', 'al-Ma\'ida (Der Tisch)', 'al-An\'am (Das Vieh)', 'al-A\'raf (Die Höhen)', 'al-Anfal (Die Beute)', 'at-Tauba (Die Reue)', 'Yunus (Jonas)', 'Hud', 'Yusuf', 'ar-Ra\'d (Der Donner)', 'Ibrahim (Abraham)', 'al-Hijr (Das Felsengebirge)', 'an-Nahl (Die Bienen)', 'al-Isra\' (Die Nachtreise)', 'al-Kahf (Die Höhle)', 'Maryam (Maria)', 'Ta-Ha', 'al-Anbiya\' (Die Propheten)', 'Al-Hajj (Die Pilgerfahrt)', 'al-Mu\'minun (Die Gläubigen)', 'an-Nur (Das Licht)', 'al-Furqan (Die Unterscheidung)', 'Asch-Schu\'ara (Die Dichter)', 'an-Naml (Die Ameisen)', 'Al-Qasas (Die Geschichten)', 'al-\'Ankabut (Die Spinne)', 'ar-Ruum (Die Römer)', 'Luqman', 'as-Sajda (Die Niederwerfung)', 'al-Ahzaab (Verbündeten)', 'Saba\' (Die Stadt Saba\')', 'Fatir (Der Erschaffer)', 'Ya-Sin', 'as-Saffat (Die sich Reihenden)', 'Sad', 'az-Zumar (Die Gruppen)', 'Ghafir (Der Vergebende)', 'Fussilat (Ausführlich dargelegt)', 'ash-Shura (Die Beratung)', 'az-Zukhruf (Die Verzierung)', 'ad-Dukhan (Der Rauch)', 'al-Jathia (Die Kniende)', 'al-Ahqaf', 'Muhammad', 'al-Fath (Der Sieg)', 'al-Hujurat (Die Gemächer)', 'Qaf', 'adh-Dhadiyat (Die Zerstörenden)', 'at-Tur (Der Berg)', 'an-Najm (Der Stern)', 'al-Qamar (Der Mond)', 'ar-Rahman (Der Erbarmer)', 'al-Uaqi\'a (Das eintreffende Ereignis)', 'al-Hadid (Das Eisen)', 'al-Mujadala (Die Diskussion)', 'al-Haschr (Die Versammlung)', 'al-Mumtahana (Die Geprüfte)', 'as-Saff (Die Reihe)', 'al-Jumu\'a (Der Freitag)', 'al-Munafiqun (die Heuchler)', 'at-Taghabun (Die Übervorteilung)', 'at-Talaq (Die Scheidung)', 'at-Tahrim (Das Verbot)', 'al-Mulk (Die Herrschaft)', 'al-Qalam (Der Stift)', 'al-Haqqa (Die fällig Werdende)', 'al-Ma\'arij (die Aufstiegswege)', 'Nuh (Noah)', 'al-Jinn', 'al-Muzzammil (Der Eingehüllte)', 'al-Muddathir (Der Zugedeckte)', 'al-Qiyama (Die Auferstehung)', 'al-Insan (Der Mensch)', 'al-Mursalat (Die Entsandten)', 'an-Naba\' (Die Kunde)', 'an-Nazi\'at (Die Entreißenden)', '\'Abasa (Der die Stirn runzelt)', 'at-Takuir (Das Umschlingen)', 'al-Infitar (Das Zerbrechen)', 'al-Mutaffifin (Die das Maß Kürzenden)', 'al-Inschiqaq (Das Spalten)', 'al-Buruj (Die Türme)', 'at-Tariq (Der Pochende)', 'al-A\'la (Der Höchste)', 'al-Ghashiya (Die Überdeckende)', 'al-Fajr (Die Morgendämmerung)', 'al-Balad (Die Ortschaft)', 'asch-Schams (Die Sonne)', 'al-Lail (Die Nacht)', 'ad-Duha (Die Morgenhelle)', 'asch-Scharh (Das Auftun)', 'at-Tin (Die Feige)', 'al-\'Alaq (Das Anhängsel)', 'al-Qadar (Die Bestimmung)', 'al-Bayyina (Der klare Beweis)', 'az-Zalzala (Das Beben)', 'al-\'Adiyat (Die Rennenden)', 'al-Qari\'a (Das Verhängnis)', 'at-Takathur (Die Vermehrung)', 'al-\'Asr (Das Zeitalter)', 'al-Humaza (Der Stichler)', 'al-Fil (Der Elefant)', 'Quraish', 'al-Ma\'un (Die Hilfeleistung)', 'al-Kauthar (Der Überfluss)', 'al-Kafirun (Die Ungläubigen)', 'an-Nasr (Die Hilfe)', 'al-Masad (Die Palmfasern)', 'al-Ikhlas (Die Aufrichtigkeit)', 'al-Falaq (Der Tagesanbruch)', 'an-Nas (Die Menschen)'); }elseif($lang == 21){ $q = array('قرآن كريم', 'فاتحه', 'بقره', 'آل عمران', 'نساء', 'مائده', 'انعام', 'اعراف', 'انفال', 'توبه', 'يونس', 'هود', 'يوسف', 'رعد', 'ابراهيم', 'حجر', 'نحل', 'اسراء', 'كهف', 'مريم', 'طه', 'انبياء', 'حج', 'مؤمنون', 'نور', 'فرقان', 'شعراء', 'نمل', 'قصص', 'عنكبوت', 'روم', 'لقمان', 'سجده', 'احزاب', 'سبأ', 'فاطر', 'يس', 'صافات', 'ص', 'زمر', 'غافر', 'فصلت', 'شورى', 'زخرف', 'دخان', 'جاثيه', 'احقاف', 'محمد', 'فتح', 'حجرات', 'ق', 'ذاريات', 'طور', 'نجم', 'قمر', 'رحمن', 'واقعه', 'حديد', 'مجادله', 'حشر', 'ممتحنه', 'صف', 'جمعه', 'منافقون', 'تغابن', 'طلاق', 'تحريم', 'ملك', 'قلم', 'حاقه', 'معارج', 'نوح', 'جن', 'مزمل', 'مدثر', 'قيامه', 'انسان', 'مرسلات', 'نبأ', 'نازعات', 'عبس', 'تكوير', 'انفطار', 'مطففين', 'انشقاق', 'بروج', 'طارق', 'اعلى', 'غاشيه', 'فجر', 'بلد', 'شمس', 'ليل', 'ضحى', 'شرح', 'تين', 'علق', 'قدر', 'بينه', 'زلزله', 'عاديات', 'قارعه', 'تكاثر', 'عصر', 'همزه', 'فيل', 'قريش', 'ماعون', 'كوثر', 'كافرون', 'نصر', 'مسد', 'اخلاص', 'فلق', 'ناس'); }elseif($lang == 23){ $q = array('Священный Коран', 'Открывающая Книгу', 'Корова', 'Семейство Имрана', 'Женщины', 'Трапеза', 'Скот', 'Преграды', 'Добыча', 'Покаяние', 'Йунус', 'Худ', 'Йуcуф', 'Гром', 'Ибpaxим', 'Aл-Xиджp', 'Пчелы', 'Перенес Ночью', 'Пещера', 'Мapйaм', 'Тa Xa', 'Пророки', 'Xaдж', 'Верующие', 'Свет', 'Различение', 'Поэты', 'Муравьи', 'Рассказ', 'Паук', 'Pумы', 'Лукмaн', 'Поклон', 'Сонмы', 'Caбa', 'Ангелы', 'Йa Cин', 'Стоящие в ряд', 'Сод', 'Толпы', 'Верующий', 'Разъяснены', 'Совет', 'Украшения', 'Дым', 'Коленопреклоненная', 'Пески', 'Муxaммaд', 'Победа', 'Комнаты', 'Кaф', 'Рассеивающие', 'Гора', 'Звезда', 'Месяц', 'Милостивый', 'Падающая', 'Железо', 'Препирательство', 'Собрание', 'Испытуемая', 'Ряды', 'аль-Джума', 'Лицемеры', 'Взаимное обманывание', 'Развод', 'Запрещение', 'Власть', 'Письменная трость', 'Неизбежное', 'Ступени', 'Нуx', 'Джинны', 'Закутавшийся', 'Завернувшийся', 'Воскресение', 'Человек', 'Посылаемые', 'Весть', 'Вырывающие', 'Нахмурился', 'Скручивание', 'Раскалывание', 'Обвешивающие', 'Развержение', 'Башни', 'Идущий ночью', 'Высочайший', 'Покрывающее', 'Заря', 'Город', 'Солнце', 'Ночь', 'Утро', 'Разве Мы не раскрыли', 'Смоковница', 'Сгусток', 'Ночь предопределения', 'Ясное знамение', 'Землетрясение', 'Мчащиеся', 'Великое бедствие', 'Страсть к приумножению', 'Предвечернее время', 'Хулитель', 'Слон', 'Куpaйш', 'Подаяние', 'Изобилие', 'Неверные', 'Помощь', 'Пальмовые волокна', 'Очищение (Веры)', 'Рассвет', 'Люди'); }elseif($lang == 25){ $q = array('Kurani Fisnik', 'El Fatiha', 'El Bekare', 'Ali Imran', 'En Nisa', 'El Maide', 'El Enam', 'El A\'raf', 'El Enfal', 'Et Tevbe', 'Junus', 'Hud', 'Jusuf', 'Er Rad', 'Ibrahim', 'El Hixhr', 'En Nahl', 'El Isra', 'El Kehf', 'Merjem', 'Taha', 'El Enbija', 'El Haxh', 'El Muminun', 'En Nur', 'El Furkan', 'Esh Shuara', 'En Neml', 'El Kasas', 'El Ankebut', 'Er Rrum', 'Lukman', 'Es Sexhde', 'El Ahzab', 'Sebe \'Fatir', 'Jasin', 'Es Saffat', 'Sad', 'Zumer', 'Gafir', 'Fussilet', 'Esh Shura', 'Ez Zuhruf', 'Ed Duhan', 'El Xhathije', 'El Ahkaf', 'Muhamed', 'El Fet-h', 'El Huxhurat', 'Kaf', 'Edh Dharijat', 'Et Tur', 'En Nexhm', 'El Kamer', 'Err Rrahman', 'El Vakia', 'El Hadid', 'El Muxhadele', 'El Hashr', 'El Mumtehine', 'Es Saff', 'El Xhumua', 'El Munafikun', 'Et Tegabun', 'Et Talak', 'Et Tahrim', 'El Mulk', 'El Kalem', 'El Hakkah', 'El Mearixh', 'Nuh', 'El Xhinn', 'El Muzzemmil', 'El Mudethir', 'El Kijame', 'Kaptina El Insan', 'El Murselat', 'En Nebe \'En Naziat', 'Abese', 'Et Tekvir', 'El Infitar', 'El Mutaffifin', 'El Inshikak', 'El Buruxh', 'Et Tarik', 'El A\'la', 'El Gashije', 'El Fexhr', 'El Beled', 'Esh Shems', 'El Lejl', 'Ed Duha', 'Esh Sherh', 'Et Tin', 'El Alak', 'El Kadr', 'El Bejjine', 'Ez Zelzele', 'El Adijat', 'El Karia', 'Et Tekathur', 'El Asr', 'El Hemze', 'El Fil', 'Kurejsh', 'El Maun', 'El Kevther', 'El Kafirun', 'En Nasr', 'El Mesed', 'El Ihlas', 'El Felek', 'En Nas'); }elseif($lang == 27){ $q = array('Časni Kur\'an', 'El Fatiha', 'El Bekara', 'Ali Imran', 'En Nisa', 'El Maida', 'El En\'am', 'El A\'raf', 'El Enfal', 'Et Tewba', 'Junus', 'Hud', 'Jusuf', 'Er Ra\'d', 'Ibrahim', 'El Hidžr', 'En Nahl', 'El Isra', 'El Kehf', 'Merjem', 'Ta Ha', 'El Enbija', 'El Hadždž', 'El Mu\'minun', 'En Nur', 'El Furkan', 'Eš Šu\'ara', 'En Neml', 'El Kasas', 'El \'Ankebut', 'Er Rum', 'Lukman', 'Es Sedžde', 'El Ahzab', 'Sebe', 'Fatir', 'Ja Sin', 'Es Saffat', 'Sad', 'Ez Zumer', 'Gafir', 'Fussilet', 'Eš Šura', 'Ez Zuhruf', 'Ed Duhan', 'El Džasije', 'El Ahkaf', 'Muhammed', 'El Feth', 'El Hudžurat', 'Kaf', 'Ez Zarijat', 'Et Tur', 'En Nedžm', 'El Kamer', 'Er Rahman', 'El Vakia', 'El Hadid', 'El Mudžadela', 'El Hašr', 'El Mumtehina', 'Es Saff', 'El Džumu\'a', 'El Munafikun', 'Et Tegabun', 'Et Talak', 'Et Tahrim', 'Mulk', 'El Kalem', 'El Hakka', 'El Mea\'ridž', 'Nuh', 'El Džin', 'El Muzemmil', 'El Muddesir', 'El Kijama', 'El Insan', 'El Murselat', 'En Nebe', 'En Nazi\'at', '\'Abese', 'Et Tekvir', 'El Infitar', 'El Mutaffifun', 'El Inšikak', 'El Burudž', 'Et Tarik', 'El \'Ala', 'El Gašija', 'El Fedžr', 'El Beled', 'Eš Šems', 'El Lejl', 'Ed Duha', 'Eš Šerh', 'Et Tin', 'El \'Alek', 'El Kadr', 'El Bejjine', 'Ez Zelzele', 'El \'Adijat', 'El Kari\'ah', 'Et Tekasur', 'El \'Asr', 'El Humeze', 'El Fil', 'Kurejš', 'El Ma\'un', 'El Kevser', 'El Kafirun', 'En Nasr', 'El Mesed', 'El Ihlas', 'El Felek', 'En Nas'); }elseif($lang == 30){ $q = array('قرآن کریم', 'الفاتحة', 'البقرة', 'آل عمران', 'النساء', 'المائدة', 'الأنعام', 'الأعراف', 'الأنفال', 'التوبة', 'يونس', 'هود', 'يوسف', ' الرعد', 'إبراهيم', 'الحجر', 'النحل', 'الإسراء', 'الكهف', 'مريم', 'طه', 'الأنبياء', 'الحج', 'المؤمنون', 'النور', 'الفرقان', 'الشعراء', 'النمل', 'القصص', 'العنكبوت', 'الروم', 'لقمان', 'السجدة', 'الأحزاب', 'سبأ', 'فاطر', 'يس', 'الصافات', 'ص', 'الزمر', 'غافر', 'فصلت', 'الشورى', 'سورهتی( الزخرف', 'الدخان', 'الجاثية', ' الأحقاف', 'محمد', 'الفتح', 'الحجرات', 'ق', 'الذاريات', 'الطور', 'النجم', 'القمر', 'الرحمن', 'الواقعة', 'الحديد', 'المجادلة', 'الحشر', 'الممتحنة', 'الصف', 'الجمعة', 'المنافقون', 'التغابن', 'الطلاق', 'التحریم', 'الملك', 'القلم', 'الحاقة', 'المعارج', 'نوح', 'الجن', 'المزمل', 'المدثر', 'القيامة', 'الإنسان', 'المرسلات', 'النبأ', 'النازعات', 'عبس', 'التكویر', 'الإنفطار', ' سورهتی( المطففين', 'الانشقاق', 'البروج', 'الطارق', 'الأعلى', 'الغاشية', 'الفجر', 'البلد', 'الشمس', 'اللیل', 'الضحى', 'الشرح', 'التین', 'العلق', 'القدر', 'البينة', 'الزلزلة', 'العادیات', 'القارعة', 'التكاثر', 'العصر', 'الهمزة', 'الفیل', 'قریش', 'الماعون', 'الكوثر', 'الكافرون', 'النصر', 'المسد', 'الإخلاص', 'الفلق', 'الناس'); }elseif($lang == 37){ $q = array('อัลกุรอาน', 'อัล-ฟาติหะฮฺ', 'อัล-บะเกาะเราะฮ', 'อาล อิมรอน', 'อัน-นิสาอ์', 'อัล-มาอิดะฮฺ', 'อัล-อันอาม', 'อัล-อะอฺรอฟ', 'อัล-อันฟาล', 'อัต-เตาบะฮฺ', 'ยูนุส', 'ฮูด', 'ยูสุฟ', 'อัร-เราะอฺด์', 'อิบรอฮีม', 'อัล-หิจญ์รฺ', 'อัน-นะห์ลฺ', 'อัล-อิสรออ์', 'อัล-กะฮ์ฟฺ', 'มัรยัม', 'ฏอฮา', 'อัล-อันบิยาอ์', 'อัล-หัจญ์', 'อัล-มุอ์มินูน', 'อัน-นูร', 'อัล-ฟุรกอน', 'อัช-ชุอะรออ์', 'อัน-นัมล์', 'อัล-เกาะศ็อศ', 'อัล-อันกะบูต', 'อัร-รูม', 'ลุกมาน', 'อัส-สัจญ์ดะฮฺ', 'อัล-อะห์ซาบ', 'สะบะอ์', 'ฟาฏิร', 'ยาสีน', 'อัศ-ศอฟฟาต', 'ศอด', 'อัซ-ซุมัร', 'ฆอฟิร', 'ฟุศศิลัต', 'อัช-ชูรอ', 'อัช-ซุครุฟ', 'อัด-ดุคอน', 'อัล-ญาษิยะฮฺ', 'อัล-อะห์กอฟ', 'มุหัมมัด', 'อัล-ฟัตห์', 'อัล-หุญุรอต', 'กอฟ', 'อัซ-ซาริยาต', 'อัฏ-ฏูร', 'อัน-นัจญ์มฺ', 'อัล-เกาะมัร', 'อัร-เราะห์มาน', 'อัล-วากิอะฮฺ', 'อัล-หะดีด', 'อัล-มุญาดิละฮฺ', 'อัล-หัชร์', 'อัล-มุมตะหะนะฮฺ', 'อัศ-ศ็อฟ', 'อัล-ญุมุอะฮฺ', 'อัล-มุนาฟิกูน', 'อัต-ตะฆอบุน', 'อัฏ-เฏาะลาก', 'อัต-ตะห์รีม', 'อัล-มุลก์', 'อัล-เกาะลัม', 'อัล-ห๊ากเกาะฮฺ', 'อัล-มะอาริจญ์', 'นูหฺ', 'อัล-ญิน', 'อัล-มุซซัมมิล', 'อัล-มุดดัษษิร', 'อัล-กิยามะฮฺ', 'อัล-อินซาน', 'อัล-มุรสะลาต', 'อัน-นะบะอ์', 'อัน-นาซิอาต', 'อะบะสะ', 'อัต-ตักวีร', 'อัล-อินฟิฏอร', 'อัล-มุฏ็อฟฟิฟีน', 'อัล-อินชิกอก', 'อัล-บุรูจญ์', 'อัฏ-ฏอริก', 'อัล-อะอฺลา', 'อัล-ฆอชิยะฮฺ', 'อัล-ฟัจญ์รฺ', 'อัล-บะลัด', 'อัช-ชัมส์', 'อัล-ลัยล์', 'อัฎ-ฎุหา', 'อัช-ชัรห์', 'อัต-ตีน', 'อัล-อะลัก', 'อัล-ก็อดรฺ', 'อัล-บัยยินะฮฺ', 'อัซ-ซัลซะละฮฺ', 'อัล-อาดิยาต', 'อัล-กอริอะฮฺ', 'อัต-ตะกาษุร', 'อัล-อัศร์', 'อัล-ฮุมะซะฮฺ', 'อัล-ฟีล', 'กุร็อยช์', 'อัล-มาอูน', 'อัล-เกาษัร', 'อัล-กาฟิรูน', 'อัน-นัศร์', 'อัล-มะสัด', 'อัล-อิคลาศ', 'อัล-ฟะลัก', 'อัน-นาส'); }elseif($lang == 38){ $q = array(' قۇرئان كەرىم', 'پاتىھە', 'بەقەرە', 'ئال ئىمران', 'نىسا', 'مائىدە', 'ئەنئام', 'ئەئراپ', 'ئەنپال', 'تەۋبە', 'يۇنۇس', 'ھۇد', 'يۈسۈپ', 'رەئد', 'ئىبراھىم', 'ھىجر', 'نەھل', 'ئىسرا', 'كەھپ', 'مەريەم', 'تاھا', 'ئەنبىيا', 'ھەج', 'مۆمىنۇن', 'نۇر', 'پۇرقان', 'شۇئەرا', 'نەمل', 'قەسەس', 'ئەنكەبۇت', 'رۇم', 'لوقمان', 'سەجدە', 'ئەھزاب', 'سەبەئ', 'پاتىر', 'ياسىن', 'ساپپات', 'ساد', 'زۇمەر', 'غاپىر', 'پۇسسىلەت', 'شۇرا', 'زۇخرۇپ', 'دۇخان', 'جاسىيە', 'ئەھقاپ', 'مۇھەممەد', 'پەتىھ', 'ھۇجۇرات', 'قاپ', 'زارىيات', 'تۇر', 'نەجم', 'قەمەر', 'رەھمان', 'ۋاقىئە', 'ھەدىد', 'مۇجادەلە', 'ھەشر', 'مۇمتەھىنە', 'سەپ', 'جۇمۇئە', 'مۇناپىقۇن', 'تەغابۇن', 'تەلاق', 'تەھرىم', 'مۈلك', 'قەلەم', 'ھاققە', 'مائارىج', 'نۇھ', 'جىن', 'مۇزەممىل', 'مۇدەسسىر', 'قىيامەت', 'ئىنسان', 'مۇرسەلات', 'نەبەئ', 'نازىئات', 'ئەبەسە', 'تەكۋىر', 'ئىنپىتار', 'مۇتەپپىپىن', 'ئىنشىقاق', 'بۇرۇج', 'تارىق', 'ئەئلا', 'غاشىيە', 'پەجر', 'بەلەد', 'شەمس', 'لەيل', 'زۇھا', 'شەرھ', 'تىن', 'ئەلەق', 'قەدر', 'بەييىنە', 'زەلزەلە', 'ئادىيات', 'قارىئە', 'تەكاسۇر', 'ئەسر', 'ھۈمەزە', 'پىل', 'قۇرەيش', 'مائۇن', 'كەۋسەر', 'كاپىرۇن', 'نەسر', 'مەسەد', 'ئىخلاس', 'پەلەق', 'ناس'); }else{ $q = array('Quran','Al-Fatihah ( The Opening )','Al-Baqarah ( The Cow )','Al-Imran ( The Famiy of Imran )','An-Nisa ( The Women )','Al-Maidah ( The Table spread with Food )','Al-An\'am ( The Cattle )','Al-A\'raf (The Heights )','Al-Anfal ( The Spoils of War )','At-Taubah ( The Repentance )','Yunus ( Jonah )' ,'Hud','Yusuf (Joseph )','Ar-Ra\'d ( The Thunder )','Ibrahim ( Abraham )','Al-Hijr ( The Rocky Tract )','An-Nahl ( The Bees )','Al-Isra ( The Night Journey )','Al-Kahf ( The Cave )','Maryam ( Mary )','Taha','Al-Anbiya ( The Prophets )','Al-Hajj ( The Pilgrimage )','Al-Mu\'minoon ( The Believers )','An-Noor ( The Light )','Al-Furqan (The Criterion )','Ash-Shuara ( The Poets )','An-Naml (The Ants )' ,'Al-Qasas ( The Stories )','Al-Ankaboot ( The Spider )','Ar-Room ( The Romans )','Luqman','As-Sajdah ( The Prostration )','Al-Ahzab ( The Combined Forces )','Saba ( Sheba )','Fatir ( The Orignator )','Ya-seen','As-Saaffat ( Those Ranges in Ranks )','Sad ( The Letter Sad )','Az-Zumar ( The Groups )','Ghafir ( The Forgiver God )','Fussilat ( Explained in Detail )','Ash-Shura (Consultation )','Az-Zukhruf ( The Gold Adornment )','Ad-Dukhan ( The Smoke )','Al-Jathiya ( Crouching )','Al-Ahqaf ( The Curved Sand-hills )' ,'Muhammad','Al-Fath ( The Victory )','Al-Hujurat ( The Dwellings )','Qaf ( The Letter Qaf )','Adh-Dhariyat ( The Wind that Scatter )','At-Tur ( The Mount )','An-Najm ( The Star )','Al-Qamar ( The Moon )','Ar-Rahman ( The Most Graciouse )','Al-Waqi\'ah ( The Event )','Al-Hadid ( The Iron )','Al-Mujadilah ( She That Disputeth )','Al-Hashr ( The Gathering )','Al-Mumtahanah ( The Woman to be examined )','As-Saff ( The Row )','Al-Jumu\'ah ( Friday )','Al-Munafiqoon ( The Hypocrites )','At-Taghabun ( Mutual Loss & Gain )','At-Talaq ( The Divorce )' ,'At-Tahrim ( The Prohibition )','Al-Mulk ( Dominion )','Al-Qalam ( The Pen )','Al-Haaqqah ( The Inevitable )','Al-Ma\'arij (The Ways of Ascent )','Nooh','Al-Jinn ( The Jinn )','Al-Muzzammil (The One wrapped in Garments)','Al-Muddaththir ( The One Enveloped )','Al-Qiyamah ( The Resurrection )','Al-Insan ( Man )','Al-Mursalat ( Those sent forth )','An-Naba\' ( The Great News )','An-Nazi\'at ( Those who Pull Out )','Abasa ( He frowned )','At-Takwir ( The Overthrowing )','Al-Infitar ( The Cleaving )','Al-Mutaffifin (Those Who Deal in Fraud)','Al-Inshiqaq (The Splitting Asunder)','Al-Burooj ( The Big Stars )','At-Tariq ( The Night-Comer )','Al-A\'la ( The Most High )' ,'Al-Ghashiya ( The Overwhelming )','Al-Fajr ( The Dawn )','Al-Balad ( The City )','Ash-Shams ( The Sun )','Al-Layl ( The Night )','Ad-Dhuha ( The Forenoon )','As-Sharh ( The Opening Forth)','At-Tin ( The Fig )','Al-\'alaq ( The Clot )','Al-Qadr ( The Night of Decree )','Al-Bayyinah ( The Clear Evidence )','Az-Zalzalah ( The Earthquake )','Al-\'adiyat ( Those That Run )','Al-Qari\'ah ( The Striking Hour )','At-Takathur ( The piling Up )','Al-Asr ( The Time )','Al-Humazah ( The Slanderer )','Al-Fil ( The Elephant )','Quraish','Al-Ma\'un ( Small Kindnesses )','Al-Kauther ( A River in Paradise)','Al-Kafiroon ( The Disbelievers )','An-Nasr ( The Help )','Al-Masad ( The Palm Fibre )','Al-Ikhlas ( Sincerity )','Al-Falaq ( The Daybreak )','An-Nas ( Mankind )'); } return $q; } function themefolder($lang=0){ if($lang == 0){ $folder = 'style/default'; }elseif($lang == 1){ $folder = 'style/default'; }else{ $folder = 'style/default'; } return $folder; } function navbar($lang=0){ if($lang == 0){ $navbar = '<div class="navbar">'.url(4,0,"").'</div>'; }elseif($lang == 1){ $navbar = '<div style="text-align:left;" class="navbar">'.url(5,0,"").'</div>'; }else{ $navbar = '<div style="text-align:left;" class="navbar">'.url(5,0,"").'</div>'; } return $navbar; } function Chromefix($text){ global $_SERVER; if(preg_match('/Chrome/i', $_SERVER['HTTP_USER_AGENT'])) { $re = str_replace('ۛ','',$text); $re = str_replace(' ۖ','',$re); $re = str_replace(' ۗ','',$re); $re = str_replace(' ۚ','',$re); $re = str_replace(' ۙ','',$re); $re = str_replace(' ۘ','',$re); $re = str_replace(' ۜ','',$re); }else{ /* $re = str_replace('ۛ','<span style="color:#ff0000; padding-right:5px;">ۛ</span>',$text); $re = str_replace(' ۖ','<span style="color:#ff0000; padding-right:5px;">ۖ</span>',$re); $re = str_replace(' ۗ','<span style="color:#ff0000; padding-right:5px;">ۗ</span>',$re); $re = str_replace(' ۚ','<span style="color:#ff0000; padding-right:5px;">ۚ</span>',$re); $re = str_replace(' ۙ','<span style="color:#ff0000; padding-right:5px;">ۙ</span>',$re); $re = str_replace(' ۘ','<span style="color:#ff0000; padding-right:5px;">ۘ</span>',$re); */ $re = $text; } return $re; } function save4html($name,$content,$pagelink){ global $siteurl,$Q_W; $dates = date("j/n/Y g:i:s",time()); $doc = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html dir="rtl" xmlns="http://www.w3.org/1999/xhtml" xml:lang="ar" lang="ar"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>'.$name.'</title> <style type="text/css"> <!-- * { margin: 0; padding: 0; } body { margin: 0; font: bold 15px Arial, Helvetica, sans-serif; background-color: #fff; } a { color:#333; text-decoration:none; } a:hover {text-decoration:underline; } #wrap { margin: 0 auto; width: 800px; } .title { padding: 10px; margin: 15px 0 15px 0; text-align:center; border: 1px solid #a1cd3a; background-color:#fff; } .title h1 { padding: 10px; margin: 0; text-align:center; font: bold 30px arial,tahoma; } div.ayat4tafseer { padding: 10px; margin: 15px 0 15px 0; border: 1px solid #a1cd3a; background-color:#fff; color:#333; font: bold 15px arial,tahoma; line-height:25px; text-align:justify; } div.ayat4tafseer span { font: normal 12px tahoma; color:#A3B926; } div.footer p{ text-align:center; padding: 10px 0 10px 0; } div.copyright { padding: 15px 0 15px 0; margin: 0; text-align:center; font: normal 12px tahoma; clear:both; } --> </style> </head> <body> <div id="wrap"> <div class="title"><h1>'.$name.'</h1></div> <div class="tafseer"> <div class="ayat4tafseer">'.$content.'</div> </div> <div style="text-align:center; padding:50px 0 10px 0;">'.$Q_W[30].' '.$dates.'</div> <div style="text-align:center; padding:10px 0 10px 0;">'.$Q_W[31].' <a href="'.$pagelink.'">'.$pagelink.'</a></div> <div class="footer"><p><a href="'.$siteurl.'">'.$siteurl.'</a></p></div> </div> </body> </html>'; return $doc; } function save4doc($name,$content,$pagelink){ global $siteurl; $dates = date("j/n/Y g:i:s",time()); $doc = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>'.$name.'</title> </head> <body> <div style="width:800px; margin:0 auto; padding:20px; font:normal 12px tahoma; line-height:22px; direction: rtl;"> <h1 style="font:bold 30px arial; text-align:center; padding:20px 0 50px 0;">'.$name.'</h1> <div style="font:bold 15px arial; padding:20px 0 20px 0; line-height:30px; text-align:justify;">'.$content.'</div> <div style="text-align:center; padding:50px 0 20px 0;">'.$dates.'</div> <div style="text-align:center; padding:0 0 20px 0;"><a href="'.$siteurl.'">'.$siteurl.'</a></div> </div> </body> </html>'; return $doc; } function addthis($style){ if($style==1){ $addthis = '<div style="text-align:center; padding-top:10px;"><a class="addthis_button" href="#"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div> <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4cd8ea6f48cf5c15"></script>'; }elseif($style==2){ $addthis = '<div style="text-align:center;" class="addthis_toolbox addthis_default_style"> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_preferred_3"></a> <a class="addthis_button_preferred_4"></a> <a class="addthis_button_compact"></a> </div> <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4cd8ea504ce0f5ed"></script>'; }elseif($style==3){ $addthis = '<div style="text-align:center;"><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&username=xa-4cd8ebc07fa1967e"><img src="http://s7.addthis.com/static/btn/sm-share-en.gif" width="83" height="16" alt="Bookmark and Share" style="border:0"/></a></div> <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4cd8ebc07fa1967e"></script>'; }else{ $addthis = '<div style="text-align:center;"><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&username=xa-4cd8ea6f48cf5c15"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div> <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4cd8ea6f48cf5c15"></script>'; } $s = $addthis; return $s; } function mp3player($url,$width=290,$height=24,$auto){ global $xy; if($xy==1){ $pppxppp = '../'; }else{ $pppxppp = ''; } if($auto==1){ $au = 'yes'; }else{ $au = 'no'; } $bg = 'cccccc'; $leftbg = 'ffffff'; $lefticon = '333333'; $rightbg = 'ffffff'; $rightbghover = 'cccccc'; $righticon = '333333'; $righticonhover = '415306'; $text = '333333'; $slider = '333333'; $track = 'FFFFFF'; $border = 'cccccc'; $loader = '333333'; $loop = 'yes'; $op = 'playerID=audioplayer1&bg=0x'.$bg.'&leftbg=0x'.$leftbg.'&lefticon=0x'.$lefticon.'&rightbg=0x'.$rightbg.'&rightbghover=0x'.$rightbghover.'&righticon=0x'.$righticon.'&righticonhover=0x'.$righticonhover.'&text=0x'.$text.'&slider=0x'.$slider.'&track=0x'.$track.'&border=0x'.$border.'&loader=0x'.$loader.'&loop='.$loop.'&autostart='.$au.'&soundFile='.$url.''; $s = '<script language="javaScript" src="'.$pppxppp.'js/audio-player.js"></script> <object type="application/x-shockwave-flash" data="'.$pppxppp.'js/player.swf" id="audioplayer1" height="'.$height.'" width="'.$width.'"> <param name="movie" value="'.$pppxppp.'js/player.swf" /> <param name="FlashVars" value="playerID='.$op.'" /> <param name="quality" value="high" /> <param name="menu" value="false" /> <param name="wmode" value="transparent" /> </object>'; return $s; } function tafseer_ul($type) { global $htmlorphp,$_GET,$tafseers; $tafseercount = count($tafseers); $n=0; $s = '<ul>'; for($i=1; $i<$tafseercount; $i++){ ++$n; if(intval($_GET['type'])==$i){ $op = 'class="act"'; }else{ $op = ''; } $s .= '<li '.$op.'><a href="'.url(6,$i,"").'">'.$tafseers[$i].'</a></li>'; } $s .= '</ul>'; return $s; } function index_sora($sora,$from=1,$to=7){ global $htmlorphp,$_GET,$QURAN,$xy,$Q_W,$q; if($xy==1){ $pathx = '../'; }else{ $pathx = ''; } $ayatnumbers = count($QURAN[$sora]); if($from >= $to){ $from=1; } if($from==0){ $from=1; } if($from == $to){ $to=7; } if($to==0){ $to=7; } if($to > $ayatnumbers){ $to = $ayatnumbers; } $s = ''; for($i=$from; $i<=$to; ++$i){ $s .= '<a href="'.url(7,$sora,$i).'"><span class="ayat">'.$QURAN[$sora][$i].'</span></a><img class="ayatnumber" src="'.$pathx.'images/numbers/'.$i.'.gif" alt="'.$Q_W[20].' '.$q[$sora].' - '.$Q_W[72].' '.$ayatnumbers.' - '.$Q_W[35].' '.$i.'" title="'.$Q_W[20].' '.$q[$sora].' - '.$Q_W[72].' '.$ayatnumbers.' - '.$Q_W[35].' '.$i.'" />'; } return $s; } function all_sora_loop($loop,$l) { global $htmlorphp,$q,$_GET,$Q_W,$qn; if($l==0 || $l==16 || $l==21 || $l==30 || $l==38 || $l==40 || $l==41){ $classname = 'translatesoeah_rtl'; }else{ $classname = 'translatesoeah_ltr'; } if($loop=="1"){$width = "100%";} elseif($loop=="2"){$width = "50%";} elseif($loop=="3"){$width = "33%";} elseif($loop=="4"){$width = "25%";} elseif($loop=="5"){$width = "20%";} elseif($loop=="6"){$width = "16%";} else{$width = "";} $prints = '<div class="'.$classname.'">'; $prints .= '<table id="t1"><tr>'; $tr = 0; for($i=1; $i<=114; $i++){ ++$tr; if($i==114){ $trxtr = "</tr>"; }else{ $trxtr = "</tr><tr>"; } if($tr==$loop){ $trx = $trxtr; $tr = "0"; }else{ $trx = ""; } if(isset($_GET['l']) AND intval($_GET['l']) != 0){ $links = url(8,$i,intval($_GET['l'])); }else{ $links = url(9,$i,""); } $prints .= '<td style="width:'.$width.'"><a title="'.$Q_W[20].' '.$q[$i].' - '.$Q_W[72].' '.$qn[$i].'" href="'.$links.'" >'.$i.'- '.$Q_W[20].' '.$q[$i].'</a></td>'.$trx.''; } $prints .= '</table>'; $prints .= '</div>'; return $prints; } function sora_overflow() { global $htmlorphp,$_GET,$q,$Q_W; $s = '<div class="soraoverflow">'; $n=0; for($i=1; $i<=114; $i++){ ++$n; $s .= '<div class="links4sora"><a title="'.$Q_W[20].' '.$q[$i].'" href="'.url(9,$i,"").'">'.$i.'- '.$q[$i].'</a></div>'; } $s .= '</div>'; return $s; } function sora_overflow_en() { global $htmlorphp,$_GET,$q,$Q_W; if(isset($_GET['l']) AND intval($_GET['l']) != 0){ $l = intval($_GET['l']); }else{ $l = 1; } $s = '<div class="soraoverflow_en">'; $n=0; for($i=1; $i<=114; $i++){ ++$n; $s .= '<div class="links4sora"><a title="'.$Q_W[20].' '.$q[$i].'" href="'.url(8,$i,$l).'">'.$i.'- '.$q[$i].'</a></div>'; } $s .= '</div>'; return $s; } function language_ul() { global $htmlorphp,$_GET,$language; $languagecount = count($language); $s = '<div class="sorabox_en"> <select size="1" onchange="changeSurah(this.value);"> <option value="#"> Select language ...</option>'; $n=0; for($i=1; $i<=$languagecount; $i++){ ++$n; if(intval($_GET['l'])==$i){ $op = 'selected="selected"'; }else{ $op = ''; } $s .= '<option title="'.$language[$i][0].' - '.$language[$i][1].'" value="'.url(10,$i,"").'" '.$op.'> '.$language[$i][2].'</option>'; } $s .= '</select></div>'; return $s; } function language_ul_x() { global $htmlorphp,$_GET,$language; $languagecount = count($language); $n=0; $s = '<ul>'; for($i=1; $i<=$languagecount; $i++){ ++$n; if(intval($_GET['l'])==$i){ $op = 'class="act"'; }else{ $op = ''; } $s .= '<li '.$op.' title="'.$language[$i][0].' - '.$language[$i][1].'"><a href="'.url(10,$i,"").'">'.$language[$i][2].'</a></li>'; } $s .= '</ul>'; return $s; } function form_index($sora,$from,$to){ global $q,$_GET,$QURAN,$Q_W,$htmlorphp; if(!isset($_GET['x']) OR intval($_GET['x'])==0){ $reader = ''; }else{ $reader = '<input type="hidden" name="x" value="'.intval($_GET['x']).'" />'; } $ayatnumbers = count($QURAN[''.$sora.'']); $s = '<div class="changesoraform"> <form name="formname" action="'.url(1,0,"").'" method="post"> <input type="hidden" name="change" value="1" /> <input type="hidden" name="sora" value="'.$sora.'" /> '.$reader.''; $s .= '<label for="qq1">'.$Q_W[59].'</label> <select id="qq1" size="1" name="soraurl" class="se" onchange="changeurl(this.value);">'; for($i=1; $i<=114; $i++){ if($sora==$i){ $s .= '<option value="'.url(9,$i,"").'" selected="selected">'.$q[$i].'</option>'; }else{ $s .= '<option value="'.url(9,$i,"").'">'.$q[$i].'</option>'; } } $s .= '</select> '; $s .= '<label for="qq2">'.$Q_W[60].'</label> <select id="qq2" size="1" name="f" class="se2">'; for($i2=1; $i2<$ayatnumbers+1; $i2++){ if(intval($from)==$i2){ $s .= '<option value="'.$i2.'" selected="selected">'.$i2.'</option>'; }else{ $s .= '<option value="'.$i2.'">'.$i2.'</option>'; } } $s .= '</select> '; $s .= '<label for="qq3">'.$Q_W[61].'</label> <select id="qq3" size="1" name="t" class="se2">'; for($i3=1; $i3<$ayatnumbers+1; $i3++){ if(intval($to)==$i3){ $s .= '<option value="'.$i3.'" selected="selected">'.$i3.'</option>'; }else{ $s .= '<option value="'.$i3.'">'.$i3.'</option>'; } } $s .= '</select> '; $s .= ' <input type="submit" value=" '.$Q_W[62].' " class="ser" />'; $s .= '</form></div>'; return $s; } function text($type,$text) { if($type==1){ if (!get_magic_quotes_gpc()) { $text = addslashes($text); } $text = trim($text); return $text; }elseif($type==2){ $text = stripslashes($text); $text = trim($text); return $text; }elseif($type==3){ $text = stripslashes($text); $text = str_replace("<","<",$text); $text = str_replace(">",">",$text); $text = str_replace("\","\\",$text); $text = str_replace("'","'",$text); $text = str_replace("!","!",$text); $text = str_replace("$","$",$text); $text = str_replace("|","|",$text); $text = str_replace("&","&",$text); $text = str_replace('"','"',$text); $text = str_replace("™","(tm)",$text); $text = str_replace(" "," ",$text); $text2 = htmlspecialchars($text); return $text2; } } function checkfiles(){ global $folder_tafseer; $MSG = ''; /* Start Check Tafseer Files (1) */ if(!file_exists("".$folder_tafseer."/1-1.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/1-1.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/1-2.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/1-2.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/1-3.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/1-3.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/1-4.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/1-4.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/1-5.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/1-5.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/1-6.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/1-6.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/1-7.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/1-7.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/1-8.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/1-7.php</li>'; $err = 1; } /* End Check Tafseer Files (1) */ /* Start Check Tafseer Files (2) */ if(!file_exists("".$folder_tafseer."/2.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/2.php</li>'; $err = 1; } /* End Check Tafseer Files (2) */ /* Start Check Tafseer Files (3) */ if(!file_exists("".$folder_tafseer."/3-1-1.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/3-1-1.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/3-1-2.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/3-1-2.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/3-3.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/3-3.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/3-4.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/3-4.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/3-5.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/3-5.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/3-6.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/3-6.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/3-7.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/3-7.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/3-8.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/3-8.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/3-9.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/3-9.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/3-10.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/3-10.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/3-11.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/3-11.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/3-12.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/3-12.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/3-13.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/3-13.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/3-14.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/3-14.php</li>'; $err = 1; } /* End Check Tafseer Files (3) */ /* Start Check Tafseer Files (4) */ if(!file_exists("".$folder_tafseer."/4-1-1.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/4-1-1.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/4-1-2.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/4-1-2.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/4-2.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/4-2.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/4-3.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/4-3.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/4-4.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/4-4.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/4-5.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/4-5.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/4-6.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/4-6.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/4-7.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/4-7.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/4-8.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/4-8.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/4-9.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/4-9.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/4-10.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/4-10.php</li>'; $err = 1; } if(!file_exists("".$folder_tafseer."/4-11.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/4-11.php</li>'; $err = 1; } /* End Check Tafseer Files (4) */ /* Start Check Tafseer Files (5) */ if(!file_exists("".$folder_tafseer."/5.php")){ $MSG .= '<li>Not Found This File '.$folder_tafseer.'/5.php</li>'; $err = 1; } /* End Check Tafseer Files (5) */ if($err==1){ $txt = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>E R R O R</title> <style type="text/css"> body { margin: 0; padding:15px 0 15px 0; font: bold 15px Arial, Helvetica, sans-serif; background-color: #fff; } #wrap { margin: 0 auto; padding:15px; width: 800px; border: 5px solid #cccccc; background-color: #f2f2f2; } h2 { padding: 10px; margin: 0; font: bold 22px arial,tahoma; text-align:center; color:red; } ul { padding: 10px; margin: 0; font: normal 15px arial,tahoma; } li { padding: 5px; margin: 0; } </style> </head> <body><div id="wrap"><h2>الملفات التاليه غير موجوده على موقعك ويجب عليك رفعها الى موقعك حتى يعمل السكربت بدون مشاكل</h2><ul>'; $txt .= $MSG; $txt .= '</ul></div></body></html>'; echo $txt; exit; }else{ echo $txt = ''; } } function include_tafseerfilse($sora,$aya,$type){ global $folder_tafseer; if(!isset($type) OR $type == 0){ $type = 1; } if($type==1){ if($sora >= 1 AND $sora <= 2){ $includepath = "".$folder_tafseer."/1-1.php"; }elseif($sora >= 3 AND $sora <= 5){ $includepath = "".$folder_tafseer."/1-2.php"; }elseif($sora >= 6 AND $sora <= 10){ $includepath = "".$folder_tafseer."/1-3.php"; }elseif($sora >= 11 AND $sora <= 20){ $includepath = "".$folder_tafseer."/1-4.php"; }elseif($sora >= 21 AND $sora <= 30){ $includepath = "".$folder_tafseer."/1-5.php"; }elseif($sora >= 31 AND $sora <= 50){ $includepath = "".$folder_tafseer."/1-6.php"; }elseif($sora >= 51 AND $sora <= 80){ $includepath = "".$folder_tafseer."/1-7.php"; }elseif($sora >= 81 AND $sora <= 114){ $includepath = "".$folder_tafseer."/1-8.php"; }else{ $includepath = "".$folder_tafseer."/1-1.php"; } }elseif($type==2){ $includepath = "".$folder_tafseer."/2.php"; }elseif($type==3){ if($sora >= 1 AND $sora <= 2){ if($aya >=1 AND $aya <= 159){ $includepath = "".$folder_tafseer."/3-1-1.php"; }elseif($aya >=160 AND $aya <= 286){ $includepath = "".$folder_tafseer."/3-1-2.php"; } }elseif($sora == 3){ $includepath = "".$folder_tafseer."/3-2.php"; }elseif($sora == 4){ $includepath = "".$folder_tafseer."/3-3.php"; }elseif($sora == 5){ $includepath = "".$folder_tafseer."/3-4.php"; }elseif($sora == 6 OR $sora <= 7){ $includepath = "".$folder_tafseer."/3-5.php"; }elseif($sora >= 8 AND $sora <= 10){ $includepath = "".$folder_tafseer."/3-6.php"; }elseif($sora >= 11 AND $sora <= 16){ $includepath = "".$folder_tafseer."/3-7.php"; }elseif($sora >= 17 AND $sora <= 20){ $includepath = "".$folder_tafseer."/3-8.php"; }elseif($sora >= 21 AND $sora <= 25){ $includepath = "".$folder_tafseer."/3-9.php"; }elseif($sora >= 26 AND $sora <= 36){ $includepath = "".$folder_tafseer."/3-10.php"; }elseif($sora >= 37 AND $sora <= 44){ $includepath = "".$folder_tafseer."/3-11.php"; }elseif($sora >= 45 AND $sora <= 55){ $includepath = "".$folder_tafseer."/3-12.php"; }elseif($sora >= 56 AND $sora <= 75){ $includepath = "".$folder_tafseer."/3-13.php"; }elseif($sora >= 76 AND $sora <= 114){ $includepath = "".$folder_tafseer."/3-14.php"; }else{ $includepath = "".$folder_tafseer."/3-1-1.php"; } }elseif($type==4){ if($sora >= 1 AND $sora <= 2){ if($aya >=1 AND $aya <= 159){ $includepath = "".$folder_tafseer."/4-1-1.php"; }elseif($aya >=160 AND $aya <= 286){ $includepath = "".$folder_tafseer."/4-1-2.php"; } }elseif($sora == 3 OR $sora == 4){ $includepath = "".$folder_tafseer."/4-2.php"; }elseif($sora == 5 OR $sora == 6){ $includepath = "".$folder_tafseer."/4-3.php"; }elseif($sora == 7 OR $sora == 8 OR $sora == 9){ $includepath = "".$folder_tafseer."/4-4.php"; }elseif($sora >= 10 AND $sora <= 15){ $includepath = "".$folder_tafseer."/4-5.php"; }elseif($sora >= 16 AND $sora <= 19){ $includepath = "".$folder_tafseer."/4-6.php"; }elseif($sora >= 20 AND $sora <= 24){ $includepath = "".$folder_tafseer."/4-7.php"; }elseif($sora >= 25 AND $sora <= 33){ $includepath = "".$folder_tafseer."/4-8.php"; }elseif($sora >= 34 AND $sora <= 43){ $includepath = "".$folder_tafseer."/4-9.php"; }elseif($sora >= 44 AND $sora <= 63){ $includepath = "".$folder_tafseer."/4-10.php"; }elseif($sora >= 64 AND $sora <= 114){ $includepath = "".$folder_tafseer."/4-11.php"; }else{ $includepath = "".$folder_tafseer."/4-1-1.php"; } }elseif($type==5){ $includepath = "".$folder_tafseer."/5.php"; }else{ $includepath = "".$folder_tafseer."/1-1.php"; } return $includepath; } function typefile($url,$name){ global $folder; $exx = explode(".",$url); $typefile = $exx[count($exx)-1]; if($typefile == 'pdf' OR $typefile == 'PDF'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/pdf.gif" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'doc' OR $typefile == 'DOC' OR $typefile == 'docx' OR $typefile == 'DOCX'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/doc.gif" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'mp3' OR $typefile == 'MP3'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/mp3.gif" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'ram' OR $typefile == 'ra'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/ram.gif" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == '3gp'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/3gp.png" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'rm' OR $typefile == 'RM'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/audios.gif" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'exe' OR $typefile == 'EXE'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/exe.gif" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'zip' OR $typefile == 'ZIP'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/zip.gif" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'rar' OR $typefile == 'RAR'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/rar.gif" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'jpg' OR $typefile == 'JPG' OR $typefile == 'jpeg' OR $typefile == 'JPEG'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/jpg.png" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'gif' OR $typefile == 'GIF'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/image.gif" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'png' OR $typefile == 'PNG'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/image.gif" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'html' OR $typefile == 'HTML' OR $typefile == 'htm' OR $typefile == 'HTM'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/html.gif" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'swf' OR $typefile == 'SWF'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/swf.png" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'txt' OR $typefile == 'TXT'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/txt.gif" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'psd' OR $typefile == 'PSD'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/psd.gif" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'pps' OR $typefile == 'PPS'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/pps.png" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'wav' OR $typefile == 'WAV'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/audios.gif" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }elseif($typefile == 'chm' OR $typefile == 'CHM'){ $filetypeimage = '<img src="'.$folder.'/icons/typefile/chm.png" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; }else{ $filetypeimage = '<img src="'.$folder.'/icons/typefile/other.gif" alt="'.$name.'"title="'.$name.'" class="iconstypefile" />'; } return $filetypeimage; } function booksdownload($links,$name){ global $Q_W; $url = explode(",",$links); $files = count($url); $download = '<p class="downloadicons">'.$Q_W[84].''; for($i=0;$i<$files;$i++){ if ($i >= 2) { break; } $download .= '<a target="_blank" rel="nofollow" href="'.$url[$i].'">'.typefile($url[$i],$name).'</a>'; } $download .= '</p>'; return $download; } function books($idlang,$number,$types=0) { global $htmlorphp,$BOOKS,$Q_W; if($types == 1){ $paths = '../'; $paths2 = '../includes/'; }else{ $paths = ''; $paths2 = ''; } $lang = intval($idlang); if($lang==0 OR $lang==16 OR $lang==21 OR $lang==30 OR $lang==38){ $bookclass = 'books_ar'; }else{ $bookclass = 'books'; } if(file_exists("".$paths."includes/books/".$lang.".php")){ include("".$paths2."books/".$lang.".php"); }else{ include("".$paths2."books/1.php"); } $bookscount = count($BOOKS); $n=0; $s = '<div class="'.$bookclass.' borderbox">'; $s .= '<ul>'; for($i=1; $i<=$number; $i++){ ++$n; /* Code In includes/books/x.php Files 'Array ID'=>array( 'Book ID', 'Language Name', 'Book Title (ar)', 'Book Description (ar)', 'Book Title (en)', 'Book Description (en)', 'Source URL', 'Download Links (insert , between links)', 'Formation', 'Translators', 'Reveiwers', 'From Issues'), */ /* $bookscount[0] -> Numbers $bookscount[1] -> Language Name $bookscount[2] -> Title AR $bookscount[3] -> Description AR $bookscount[4] -> Title EN $bookscount[5] -> Description EN $bookscount[6] -> Source (URL) $bookscount[7] -> Download (URL) $bookscount[8] -> Formation $bookscount[9] -> Translators $bookscount[10] -> Reveiwers $bookscount[11] -> Fromissues */ $random = $BOOKS[rand(1,$bookscount)]; if($number == $i){ $border = ''; }else{ $border = '<div class="booksborder"></div>'; } if($random[5] == ""){ $description = ''; }else{ $description = '<span class="description">'.$random[5].'</span>'; } if($random[3] == ""){ $descriptionxx = ''; }else{ $descriptionxx = '<span class="description">'.$random[3].'</span>'; } if($random[3] == ""){ $description_ar = ''; }else{ $description_ar = "\n".$random[3]; } if($random[6] == ""){ $source = ''; }else{ $source = '<p>'.$Q_W[73].' <a target="_blank" href="'.$random[6].'">'.$random[6].'</a></p>'; } if($random[8] == ""){ $formation = ''; }else{ $formation = '<p>'.$Q_W[74].' '.$random[8].'</p>'; } if($random[9] == ""){ $translators = ''; }else{ $translators = '<p>'.$Q_W[75].' '.$random[9].'</p>'; } if($random[10] == ""){ $reveiwers = ''; }else{ $reveiwers = '<p>'.$Q_W[76].' '.$random[10].'</p>'; } if($random[11] == ""){ $fromissues = ''; }else{ $fromissues = '<p>'.$Q_W[77].' '.$random[11].'</p>'; } if($idlang == 0){ $s .= '<li>'; $s .= '<a title="'.$random[2].''.$description_ar.'" href="'.url(11,$random[0],$lang).'" class="bookstitle">'.$random[2].'</a>'; $s .= $descriptionxx; $s .= $formation; $s .= $reveiwers; $s .= $translators; $s .= $fromissues; $s .= $source; $s .= booksdownload($random[7],$random[4]); $s .= $border; $s .= '</li>'; }else{ if($random[4] != ""){ $s .= '<li>'; $s .= '<a title="'.$random[2].''.$description_ar.'" href="'.url(11,$random[0],$lang).'" class="bookstitle">'.$random[4].'</a>'; $s .= $description; $s .= $formation; $s .= $reveiwers; $s .= $translators; $s .= $fromissues; $s .= $source; $s .= booksdownload($random[7],$random[4]); $s .= $border; $s .= '</li>'; } } } $s .= '</ul>'; $s .= '</div>'; return $s; } function view_all_books($idlang,$types=0) { global $htmlorphp,$BOOKS,$Q_W; if($types == 1){ $paths = '../'; $paths2 = '../includes/'; }else{ $paths = ''; $paths2 = ''; } $lang = intval($idlang); if($lang==0 OR $lang==16 OR $lang==21 OR $lang==30 OR $lang==38){ $bookclass = 'books_ar'; }else{ $bookclass = 'books'; } if(file_exists("".$paths."includes/books/".$lang.".php")){ include("".$paths2."books/".$lang.".php"); }else{ include("".$paths2."books/1.php"); } $bookscount = count($BOOKS); $n=0; $s = '<div class="'.$bookclass.'">'; $s .= '<ul>'; for($i=1; $i<=$bookscount; $i++){ ++$n; $random = $BOOKS[$i]; if($bookscount == $i){ $border = ''; }else{ $border = '<div class="booksborder"></div>'; } if($random[5] == ""){ $description = ''; }else{ $description = '<span class="description">'.$random[5].'</span>'; } if($random[3] == ""){ $descriptionxx = ''; }else{ $descriptionxx = '<span class="description">'.$random[3].'</span>'; } if($random[3] == ""){ $description_ar = ''; }else{ $description_ar = "\n".$random[3]; } if($random[6] == ""){ $source = ''; }else{ $source = '<p>'.$Q_W[73].' <a target="_blank" href="'.$random[6].'">'.$random[6].'</a></p>'; } if($random[8] == ""){ $formation = ''; }else{ $formation = '<p>'.$Q_W[74].' '.$random[8].'</p>'; } if($random[9] == ""){ $translators = ''; }else{ $translators = '<p>'.$Q_W[75].' '.$random[9].'</p>'; } if($random[10] == ""){ $reveiwers = ''; }else{ $reveiwers = '<p>'.$Q_W[76].' '.$random[10].'</p>'; } if($random[11] == ""){ $fromissues = ''; }else{ $fromissues = '<p>'.$Q_W[77].' '.$random[11].'</p>'; } if($idlang == 0){ $s .= '<li>'; $s .= '<a title="'.$random[2].''.$description_ar.'" href="'.url(11,$random[0],$lang).'" class="bookstitle">'.$random[2].'</a>'; $s .= $descriptionxx; $s .= $formation; $s .= $reveiwers; $s .= $translators; $s .= $fromissues; $s .= $source; $s .= booksdownload($random[7],$random[4]); $s .= $border; $s .= '</li>'; }else{ if($random[4] != ""){ $s .= '<li>'; $s .= '<a title="'.$random[2].''.$description_ar.'" href="'.url(11,$random[0],$lang).'" class="bookstitle">'.$random[4].'</a>'; $s .= $description; $s .= $formation; $s .= $reveiwers; $s .= $translators; $s .= $fromissues; $s .= $source; $s .= booksdownload($random[7],$random[4]); $s .= $border; $s .= '</li>'; } } } $s .= '</ul>'; $s .= '</div>'; return $s; } function textcut($n,$text,$pagelink){ global $_GET,$Q_W; $numberchar = strlen($text); for ($i=0 ; $i<=$numberchar;$i++) { $a = $n-$i; if ($text[$a] == " "){$i=$numberchar;} if ($a == 0){$i=$numberchar;} } if ($a == 0){ for ($i=0 ; $i<=$numberchar;$i++) { $a = $n+$i; if ($text[$a] == " "){$i=$numberchar; } if ($a == $numberchar){$i=$numberchar;} } if ($a == $numberchar){$a=$n;} } $startchare = substr($text, 0, $a); $endchare = substr($text, $a, $numberchar); /* $numberchar = strlen($text); $numberchar2 = ceil($numberchar/2); $startchare = substr($text, 0, $numberchar2); $endchare = substr($text, $numberchar2, $numberchar); */ if($numberchar > $n){ $code = $startchare; $code .= '[stop]'; $code .= $endchare; /* Start Cut */ $cut = explode("[stop]", $code); $num = count($cut); $page = intval($_GET['page']); $page = ($page>$num - 1 || $page<0 ? 0 : $page); $textprint = trim($cut[$page])."<br />"; if($page == 1){ $textprint .= '<div class="tafsserpages"><a href="'.$pagelink.'&page=0#TAFSEER"><span>'.$Q_W[80].'</span></a> '; }else{ $textprint .= '<div class="tafsserpages"><span>'.$Q_W[79].'</span> '; } for($i=0; $i<$num; $i++){ if ($i != $page) { $textprint .= '[<a href="'.$pagelink.'&page='.$i.'#TAFSEER">'.$i.'</a>]'; } else { $textprint .= '[<u>'.$i.'</u>]'; } } $textprint .= '</div>'; /* End Cut */ }else{ $code = $text; $textprint = $text; } return $textprint; } function sidebarbooks($idlang,$number,$types=0) { global $htmlorphp,$BOOKS,$Q_W; if($types == 1){ $paths = '../'; $paths2 = '../includes/'; }else{ $paths = ''; $paths2 = ''; } $lang = intval($idlang); if($lang==0 OR $lang==16 OR $lang==21 OR $lang==30 OR $lang==38){ $bookclass = 'books_ar_sidebar'; }else{ $bookclass = 'books_sidebar'; } if(file_exists("".$paths."includes/books/".$lang.".php")){ include("".$paths2."books/".$lang.".php"); }else{ include("".$paths2."books/1.php"); } $bookscount = count($BOOKS); $n=0; $s = '<div class="'.$bookclass.'">'; $s .= '<ul>'; for($i=1; $i<=$number; $i++){ ++$n; $random = $BOOKS[rand(1,$bookscount)]; if($random[5] == ""){ $description = ''; }else{ $description = '<span class="description">'.$random[5].'</span>'; } if($random[3] == ""){ $descriptionxx = ''; }else{ $descriptionxx = '<span class="description">'.$random[3].'</span>'; } if($random[3] == ""){ $description_ar = ''; }else{ $description_ar = "\n".$random[3]; } if($random[5] == ""){ $description_en = ''; }else{ $description_en = "\n".$random[5]; } if($random[6] == ""){ $source = ''; }else{ $source = '<p>'.$Q_W[73].' <a target="_blank" href="'.$random[6].'">'.$random[6].'</a></p>'; } if($random[8] == ""){ $formation = ''; }else{ $formation = '<p>'.$Q_W[74].' '.$random[8].'</p>'; } if($random[9] == ""){ $translators = ''; }else{ $translators = '<p>'.$Q_W[75].' '.$random[9].'</p>'; } if($random[10] == ""){ $reveiwers = ''; }else{ $reveiwers = '<p>'.$Q_W[76].' '.$random[10].'</p>'; } if($random[11] == ""){ $fromissues = ''; }else{ $fromissues = '<p>'.$Q_W[77].' '.$random[11].'</p>'; } if($idlang == 0){ $s .= '<li>'; $s .= '<a title="'.$random[2].''.$description_ar.'" href="'.url(11,$random[0],$lang).'">'.$random[2].'</a>'; $s .= '</li>'; }else{ if($random[4] != ""){ $s .= '<li>'; $s .= '<a title="'.$random[2].''.$description_en.'" href="'.url(11,$random[0],$lang).'">'.$random[4].'</a>'; $s .= '</li>'; } } } $s .= '</ul>'; $s .= '</div>'; return $s; } function flags($loop) { global $htmlorphp,$_GET,$language,$xy; if($xy == 1){ $paths = '../'; }else{ $paths = ''; } if($loop=="1"){$width = "100%";} elseif($loop=="2"){$width = "50%";} elseif($loop=="3"){$width = "33%";} elseif($loop=="4"){$width = "25%";} elseif($loop=="5"){$width = "20%";} elseif($loop=="6"){$width = "16%";} else{$width = "";} $languagecount = count($language); $prints = '<table border="0" width="100%" id="aaa"><tr>'; $tr = 0; for($i=1; $i<=$languagecount; $i++){ ++$tr; if($i==$languagecount){ $trxtr = "</tr>";; }else{ $trxtr = "</tr><tr>"; } if($tr==$loop){ $trx = $trxtr; $tr = "0"; }else{ $trx = ""; } if(file_exists(''.$paths.'images/flags/'.$i.'.png')){ $flag = ''.$paths.'images/flags/'.$i.'.png'; }else{ $flag = ''.$paths.'images/flags/0.png'; } $prints .= '<td class="flags" style="width:'.$width.';;"><a title="'.$language[$i][0].' - '.$language[$i][1].'" href="'.url(10,$i,"").'" ><img title="'.$language[$i][0].' - '.$language[$i][1].'" alt="'.$language[$i][0].' - '.$language[$i][1].'" src="'.$flag.'" /><br />'.$language[$i][2].'</a></td>'.$trx.''; } $prints .= '</table>'; return $prints; } function language_keywords($type) { global $language; $languagecount = count($language); $s = ''; $n=0; for($i=1; $i<=$languagecount; $i++){ ++$n; if($languagecount == $n){ $sign = ''; }else{ $sign = ', '; } $s .= $language[$i][$type].$sign; } return $s; } function mobile() { global $siteurl,$_SERVER; if(isset($_GET['l']) AND intval($_GET['l']) != 0){ $classname = 'mobile_en'; }else{ $classname = 'mobile_ar'; } /* if(preg_match('/(apple|iphone|ipod)/i', $_SERVER['HTTP_USER_AGENT']) && preg_match('/mobile/i', $_SERVER['HTTP_USER_AGENT'])) { $mobile = '<meta http-equiv="refresh" content="1; url='.$siteurl.'/mobile" />'; } if (preg_match('/(blackberry|configuration\/cldc|hp |hp-|htc |htc_|htc-|iemobile|kindle|midp|mmp|motorola|mobile|nokia|opera mini|opera mobi|palm|palmos|pocket|portalmmm|ppc;|smartphone|sonyericsson|sqh|spv|symbian|treo|up.browser|up.link|vodafone|windows ce|xda |xda_)/i', $_SERVER['HTTP_USER_AGENT'])) { $mobile = '<meta http-equiv="refresh" content="1; url='.$siteurl.'/mobile" />'; } if (preg_match('/Googlebot-Mobile/i', $_SERVER['HTTP_USER_AGENT']) || preg_match('/YahooSeeker\/M1A1-R2D2/i', $_SERVER['HTTP_USER_AGENT'])) { $mobile = '<meta http-equiv="refresh" content="1; url='.$siteurl.'/mobile" />'; } */ if(preg_match('/(apple|iphone|ipod)/i', $_SERVER['HTTP_USER_AGENT']) && preg_match('/mobile/i', $_SERVER['HTTP_USER_AGENT'])) { $mobile = '<a href="'.$siteurl.'/mobile"><img class="'.$classname.'" src="'.themefolder(intval($_GET['l'])).'/icons/mobile.png" alt="Web Mobile" title="Web Mobile" /></a>'; }elseif(preg_match('/(blackberry|configuration\/cldc|hp |hp-|htc |htc_|htc-|iemobile|kindle|midp|mmp|motorola|mobile|nokia|opera mini|opera mobi|palm|palmos|pocket|portalmmm|ppc;|smartphone|sonyericsson|sqh|spv|symbian|treo|up.browser|up.link|vodafone|windows ce|xda |xda_)/i', $_SERVER['HTTP_USER_AGENT'])) { $mobile = '<a href="'.$siteurl.'/mobile"><img class="'.$classname.'" src="'.themefolder(intval($_GET['l'])).'/icons/mobile.png" alt="Web Mobile" title="Web Mobile" /></a>'; }else{ $mobile = ''; } return $mobile; } ?>
/home/sudancam/.trash/tyblue.6/../quran/includes/../includes/function.php