Current Path : /home/sudancam/.trash/quran/includes/ |
Current File : /home/sudancam/.trash/quran/includes/setting.php |
<?php $sitename = 'القرآن الكريم - نشوت ريد '; // عنوان الموقع بالعربي $sitename_en = 'Quran Nshwat Reed'; // عنوان الموقع بالانجليزي $siteurl = 'http://www.nshwat-reed.com/quran'; // رابط السكربت في موقعك $site_description = 'القرآن الكريم لأكثر من أربعين لغه سواء كانت ترجمة المعاني صوتي او مقروء بأكثر من 40 قاريء'; // وصف الموقع $site_keywords = 'القرآن الكريم,mp3,quran mp3, verse, verse by verse, translate quran'; // كلمات مفتاحية للموقع $htmlorphp = 1; // تفعيل خاصية المورايت $folder_tafseer = 'includes/tafseer'; // مسار مجلد ملفات التفسير $folder_translate = "includes/translate"; // مسار مجلد ملفات ترجمات معاني القرآن $addthis_allow = 1; // تفعيل ايقونة المشاركه $addthis_style = 1; // نوع الاستايل الخاص بأقونة المشاركه 0,1,2 $allw_savealltafseer = 1; // خاص بتفعيل خاصية حفظ السورة كامله مع اختيار التفسير $allw_formchangesoran = 1; // خاص في تفعيل فورم تغيير السوره وتحديد عدد الآيات التي ستعرض بالمتصفح $allw_listensora = 1; // خاص في تفعيل خاصية الاستماع للسور $allw_readerform = 1; // خاص في تفعيل خاصية اختيار القاريء $allw_optionsave = 1; // خاص في تفعيل او اخفاء خيارات الحفظ والطباعة في صفحات عرض الآيات مع تفسيرها $allw_save_word = 1; // خاص في تفعيل خاصية حفظ التفسير كملف وورد $allw_save_txt = 1; // خاص في تفعيل خاصية حفظ التفسير كملف نوت باد او ملف نصي $allw_save_html = 1; // خاص في تفعيل خاصية حفظ التفسير كملف هتمل او html $allw_print = 1; // خاص في تفعيل خاصية الطباعة $loop_sora_ar = 3; // عدد الأعمده في عرض سور القرآن الكريم في اللغة العربية $loop_sora_en = 2; // عدد الأعمده في عرض سور القرآن الكريم في اللغات الأجنبيه $tafseer_all_sora_loop = 3; //عدد عرض الأعمده في صفحة التفسير لسور القرآن الكريم $default_reader = 40; // اكتب القاريء الذي سيكون افتراضيا عند فتح السور وتجد القراء في ملف readers.php من داخل مجلد include $default_reader_aya = 24; // القاريء الافتراضي للقرآن الكريم آية آية $booksnumber = 5; // عدد الكتب العشوائية $booksview = 1; // عرض الكتب في الصفحات $booksviewinmenu = 1; // عرض الكتب في الصناديق الجانبيه $booksnumberinmenu = 5; // عدد الكتب العشوائية في الصناديق الجانبيه $textfooter = ''; // كود يظهر في ذيل الصفحات $headercode = ''; // كود الهيدر وتستطيع اضافة google-analytics OR JS $textheader = ''; // اضافة كود في الهيدر مثل اعلانات او ماشابه لك $bodycode = ''; // كود في جسم الصفحه اي تحت الهيدر مباشره $menu_nav = ''; $closesite = 0; // ضع رقم 1 لإغلاق البرنامج ورقم صفر سيكون مفتوحا $closesitetext = ''; // اكتب سبب الإغلاق $default_lang = 0; // اللغه الافتراضيه للموقع if($default_lang != 0 AND preg_match('/index.php/i', $_SERVER['SCRIPT_FILENAME'])){ if(!isset($_GET['l'])){ $_GET['l'] = $default_lang; } } if(isset($_GET['l']) AND intval($_GET['l']) != 0){ $folder = themefolder(intval($_GET['l'])); $q = quransurah(intval($_GET['l'])); $tafseers = tafseernames(intval($_GET['l'])); if(file_exists("includes/language/".intval($_GET['l']).".php")){ include("language/".intval($_GET['l']).".php"); }else{ include("language/1.php"); } $function_sora_menu = sorahmenu(intval($_GET['l'])); }else{ $folder = themefolder(0); $q = quransurah(0); $tafseers = tafseernames(0); include("language/0.php"); $function_sora_menu = sorahmenu(0); } include("tpl.php"); include("player.php"); if(file_exists("includes/function-db.php")){ include("function-db.php"); } $language = array( "1"=>array("English - Transliteration","إنجليزي معرّب","English - Transliteration","http://www.qurandownload.com/quran-transliteration.pdf","http://www.islamhouse.com/d/files/ar/ih_quran/ar_Mashari_With_English/Mashari_with_English_",""), "2"=>array("English - Sahih International","إنجليزي - صحيح انترناشيونال","English - Sahih International","http://www.qurandownload.com/english-quran(alhilali-khan).pdf","http://www.islamhouse.com/d/files/ar/ih_quran/ar_Mashari_With_English/Mashari_with_English_",""), "3"=>array("English - Yusuf Ali","إنجليزي - يوسف علي","English - Yusuf Ali","http://www.qurandownload.com/english-quran-with-commentaries(yusuf-ali).pdf","http://www.islamhouse.com/d/files/ar/ih_quran/ar_Mashari_With_English/Mashari_with_English_",""), "4"=>array("French","فرنسي","Français","http://www.qurandownload.com/french-quran.pdf","http://www.mp3qurantranslation.com/quran/french/",""), "5"=>array("Dutch","هولندي","Nederlands","http://www.qurandownload.com/dutch-quran.pdf","",""), "6"=>array("Turkish","تركي","Türkçe","http://www.qurandownload.com/turkish-quran-wb.pdf","http://www.islamhouse.com/d/files/ar/ih_quran/ar_SaadAlGhamidi_With_Turkish_Trans/ar_SaadAlGhamidi_With_Turkish_Trans_",""), "7"=>array("Malay","ماليزي","Melayu","http://www.qurandownload.com/malay-quran-wb.pdf","",""), "8"=>array("Indonesian","اندونيسي","Indonesia","http://www.qurandownload.com/indonesian-quran.pdf","",""), "9"=>array("Chinese","صيني","中文","http://www.qurandownload.com/chinese-quran.pdf","http://www.islamhouse.com/d/files/ar/ih_quran/Translation_Of_quran_In_Chinese/Translation_Of_quran_In_Chinese-",""), "10"=>array("Japanese","ياباني","日本語","http://www.qurandownload.com/japanese-quran-wb.pdf","",""), "11"=>array("Italian","ايطالي","Italiano","http://www.qurandownload.com/italian-quran-wb.pdf","",""), "12"=>array("Korean","كوري","한국어","http://www.qurandownload.com/korean-quran.pdf","http://www.mp3qurantranslation.com/quran/Korean/",""), "13"=>array("Malayalam","مالايالام","മലയാളം","http://www.qurandownload.com/malayalam-quran-t2.pdf","http://www.mp3qurantranslation.com/quran/Malayalam/",""), "14"=>array("Portuguese","برتغالي","Português","http://www.qurandownload.com/portuguese-quran(helmi-nasr).pdf","http://www.islamhouse.com/d/files/pt/ih_sounds/chain/pt_Quran_audio/alcorao_",""), "15"=>array("Spanish","إسباني","Español","http://www.qurandownload.com/spanish-quran.pdf","http://www.islamhouse.com/d/files/ar/ih_quran/Mashari_Espani/es_Mashari_Espani_",""), "16"=>array("Urdu","أردو","اردو","http://www.qurandownload.com/urdu-quran.pdf","http://www.islamhouse.com/d/files/ar/ih_quran/Sudais_Shuraim_with_Urdu_Translation/Sudais_Shuraim_Urdu_",""), "17"=>array("Bangali","بنغالي","বাংলা","http://www.qurandownload.com/bangla-quran-pdfs.rar","http://www.mp3qurantranslation.com/quran/Banglay/",""), "18"=>array("Tamil","تاميلي","தமிழ்","http://www.qurandownload.com/tamil-quran.pdf","http://www.mp3qurantranslation.com/quran/tami/",""), "19"=>array("Czech","تشيكي","České","","",""), "20"=>array("German","الماني","Deutsch","http://www.qurandownload.com/german-quran(bubenheim-elyas)p.pdf","http://www.mp3qurantranslation.com/quran/De/",""), "21"=>array("Persian","فارسي","فارسى","http://www.qurandownload.com/persian-quran.pdf","",""), "22"=>array("Romanian","روماني","Română","","",""), "23"=>array("Russian","روسي","Русский","http://www.qurandownload.com/russian-quran-t1.pdf","http://www.islamhouse.com/d/files/ru/ih_sounds/chain/ru_Quran_Russian/",""), "24"=>array("Swedish","سويدي","Svenska","http://www.qurandownload.com/swedish-quran-wb.pdf","",""), "25"=>array("Albanian","الباني","Shqip","http://www.qurandownload.com/albanian-quran.pdf","",""), "26"=>array("Azerbaijani","أذري","Azərbaycanca","http://www.qurandownload.com/azerbaijani-juzu-amma.pdf","",""), "27"=>array("Bosnian","بوسني","Bosanski","http://www.qurandownload.com/bosnian-quran(besim-korkut).pdf","http://www.mp3qurantranslation.com/quran/Bosnian/",""), "28"=>array("Bulgarian","بلغاري","Български","http://www.qurandownload.com/bulgarian-quran.pdf","",""), "29"=>array("Hausa","الهاوسا","Hausa","http://www.qurandownload.com/hausa-quran.pdf","",""), "30"=>array("Kurdish","كردي","كوردی","","http://www.islamhouse.com/d/files/ar/ih_quran/Saad_Al_Ghamedi_with_Kurdish_Translation/Saad_Al_Ghamedi_with_Kurdish_Translation_",""), "31"=>array("Norwegian","نرويجي","Norske","","",""), "32"=>array("Polish","بولندا","Polski","http://www.qurandownload.com/polish-quran-wb.pdf","",""), "33"=>array("Somali","صومالي","soomaali","http://www.qurandownload.com/somali-quran.pdf","",""), "34"=>array("Swahili","كيني","Swahili","http://www.qurandownload.com/swahili-quran-wb.pdf","",""), "35"=>array("Tajik","طاجيكي","Тоҷики","","",""), "36"=>array("Tatar","تتاري","Татарча","","",""), "37"=>array("Thailand","تايلندي","ไทย","http://www.qurandownload.com/thailand-quran.pdf","",""), "38"=>array("Uyghur","أيغوري","ئۇيغۇرچە","http://www.qurandownload.com/uyghur-quran.pdf","http://www.mp3qurantranslation.com/quran/Uyghur/",""), "39"=>array("Uzbek","أوزبكي","Ўзбек","","",""), "40"=>array("Divehi","مالديفي","ދިވެހި","","",""), "41"=>array("Sindhi","سندي","Sindhi","http://www.qurandownload.com/sindhi-quran.pdf","","") ); $qn = array('0', '7', '286', '200', '176', '120', '165', '206', '75', '129', '109', '123', '111', '43', '52', '99', '128', '111', '110', '98', '135', '112', '78', '118', '64', '77', '227', '93', '88', '69', '60', '34', '30', '73', '54', '45', '83', '182', '88', '75', '85', '54', '53', '89', '59', '37', '35', '38', '29', '18', '45', '60', '49', '62', '55', '78', '96', '29', '22', '24', '13', '14', '11', '11', '18', '12', '12', '30', '52', '52', '44', '28', '28', '20', '56', '40', '31', '50', '40', '46', '42', '29', '19', '36', '25', '22', '17', '19', '26', '30', '20', '15', '21', '11', '8', '8', '19', '5', '8', '8', '11', '11', '8', '3', '9', '5', '4', '7', '3', '6', '3', '5', '4', '5', '6'); $tafseers_en = tafseernames(1); $q_english = quransurah(1); $language_cp = array('اللغة', 'إنجليزي معرّب', 'إنجليزي - صحيح انترناشيونال', 'إنجليزي - يوسف علي', 'فرنسي', 'هولندي', 'تركي', 'مالايو', 'اندونيسي', 'صيني', 'ياباني', 'ايطالي', 'كوري', 'مالايالام', 'برتغالي', 'اسباني', 'أوردو', 'بنغالي', 'تاميلي', 'تشيكي', 'الماني', 'فارسي', 'روماني', 'روسي', 'سويدي','الباني','أذربجاني','بوسني','بلغاري','نيجيري','كردي','نرويجي','بولندا','صومالي','كيني','طاجاكستاني','Tatar','تايلندي','تركمانستاني','اوزباكستاني','مالديفي','باكستاني'); function url($type,$id,$more=""){ global $htmlorphp; if($type==1){ if ($htmlorphp=="1"){ $url = "index.html"; }else{ $url = "index.php"; } }elseif($type==2){ if ($htmlorphp=="1"){ $url = "doc_m.php"; }else{ $url = "doc_m.php"; } }elseif($type==3){ if ($htmlorphp=="1"){ $url = "reader.html"; }else{ $url = "reader-location.php"; } }elseif($type==4){ if ($htmlorphp=="1"){ $url = '<ul> <li><a href="index.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/sa.png" alt="عربي" title="عربي" /></a></li> <li><a href="language-2.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/us.png" alt="English" title="English" /></a></li> <li><a href="language-4.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/fr.png" alt="Français" title="Français" /></a></li> <li><a href="language-20.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/de.png" alt="Deutsch" title="Deutsch" /></a></li> <li><a href="language-15.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/es.png" alt="Español" title="Español" /></a></li> <li><a href="language-14.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/pt.png" alt="Português" title="Português" /></a></li> <li><a href="language-23.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/ru.png" alt="Русский" title="Русский" /></a></li> <li><a href="language-9.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/cn.png" alt="中文" title="中文" /></a></li> <li><a href="language-10.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/jp.png" alt="日本語" title="日本語" /></a></li> <li><a href="language-8.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/id.png" alt="Indonesia" title="Indonesia" /></a></li> <li><a href="language-17.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/bd.png" alt="বাংলা" title="বাংলা" /></a></li> <li><a href="language.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/other.png" alt="المزيد من اللغات" title="المزيد من اللغات" /></a></li> </ul>'; }else{ $url = '<ul> <li><a href="index.php"><img src="'.themefolder(intval($_GET['l'])).'/flags/sa.png" alt="عربي" title="عربي" /></a></li> <li><a href="translate.php?l=2"><img src="'.themefolder(intval($_GET['l'])).'/flags/us.png" alt="English" title="English" /></a></li> <li><a href="translate.php?l=4"><img src="'.themefolder(intval($_GET['l'])).'/flags/fr.png" alt="Français" title="Français" /></a></li> <li><a href="translate.php?l=20"><img src="'.themefolder(intval($_GET['l'])).'/flags/de.png" alt="Deutsch" title="Deutsch" /></a></li> <li><a href="translate.php?l=15"><img src="'.themefolder(intval($_GET['l'])).'/flags/es.png" alt="Español" title="Español" /></a></li> <li><a href="translate.php?l=14"><img src="'.themefolder(intval($_GET['l'])).'/flags/pt.png" alt="Português" title="Português" /></a></li> <li><a href="translate.php?l=23"><img src="'.themefolder(intval($_GET['l'])).'/flags/ru.png" alt="Русский" title="Русский" /></a></li> <li><a href="translate.php?l=9"><img src="'.themefolder(intval($_GET['l'])).'/flags/cn.png" alt="中文" title="中文" /></a></li> <li><a href="translate.php?l=10"><img src="'.themefolder(intval($_GET['l'])).'/flags/jp.png" alt="日本語" title="日本語" /></a></li> <li><a href="translate.php?l=8"><img src="'.themefolder(intval($_GET['l'])).'/flags/id.png" alt="Indonesia" title="Indonesia" /></a></li> <li><a href="translate.php?l=17"><img src="'.themefolder(intval($_GET['l'])).'/flags/bd.png" alt="বাংলা" title="বাংলা" /></a></li> <li><a href="language.php"><img src="'.themefolder(intval($_GET['l'])).'/flags/other.png" alt="المزيد من اللغات" title="المزيد من اللغات" /></a></li> </ul>'; } $url .= mobile(); }elseif($type==5){ if ($htmlorphp=="1"){ $url = '<ul> <li><a href="index.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/sa.png" alt="عربي" title="عربي" /></a></li> <li><a href="language-2.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/us.png" alt="English" title="English" /></a></li> <li><a href="language-4.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/fr.png" alt="Français" title="Français" /></a></li> <li><a href="language-20.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/de.png" alt="Deutsch" title="Deutsch" /></a></li> <li><a href="language-15.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/es.png" alt="Español" title="Español" /></a></li> <li><a href="language-14.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/pt.png" alt="Português" title="Português" /></a></li> <li><a href="language-23.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/ru.png" alt="Русский" title="Русский" /></a></li> <li><a href="language-9.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/cn.png" alt="中文" title="中文" /></a></li> <li><a href="language-10.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/jp.png" alt="日本語" title="日本語" /></a></li> <li><a href="language-8.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/id.png" alt="Indonesia" title="Indonesia" /></a></li> <li><a href="language-17.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/bd.png" alt="বাংলা" title="বাংলা" /></a></li> <li><a href="language.html"><img src="'.themefolder(intval($_GET['l'])).'/flags/other.png" alt="Other Languages" title="Other Languages" /></a></li> </ul>'; }else{ $url = '<ul> <li><a href="index.php"><img src="'.themefolder(intval($_GET['l'])).'/flags/sa.png" alt="عربي" title="عربي" /></a></li> <li><a href="translate.php?l=2"><img src="'.themefolder(intval($_GET['l'])).'/flags/us.png" alt="English" title="English" /></a></li> <li><a href="translate.php?l=4"><img src="'.themefolder(intval($_GET['l'])).'/flags/fr.png" alt="Français" title="Français" /></a></li> <li><a href="translate.php?l=20"><img src="'.themefolder(intval($_GET['l'])).'/flags/de.png" alt="Deutsch" title="Deutsch" /></a></li> <li><a href="translate.php?l=15"><img src="'.themefolder(intval($_GET['l'])).'/flags/es.png" alt="Español" title="Español" /></a></li> <li><a href="translate.php?l=14"><img src="'.themefolder(intval($_GET['l'])).'/flags/pt.png" alt="Português" title="Português" /></a></li> <li><a href="translate.php?l=23"><img src="'.themefolder(intval($_GET['l'])).'/flags/ru.png" alt="Русский" title="Русский" /></a></li> <li><a href="translate.php?l=9"><img src="'.themefolder(intval($_GET['l'])).'/flags/cn.png" alt="中文" title="中文" /></a></li> <li><a href="translate.php?l=10"><img src="'.themefolder(intval($_GET['l'])).'/flags/jp.png" alt="日本語" title="日本語" /></a></li> <li><a href="translate.php?l=8"><img src="'.themefolder(intval($_GET['l'])).'/flags/id.png" alt="Indonesia" title="Indonesia" /></a></li> <li><a href="translate.php?l=17"><img src="'.themefolder(intval($_GET['l'])).'/flags/bd.png" alt="বাংলা" title="বাংলা" /></a></li> <li><a href="language.php"><img src="'.themefolder(intval($_GET['l'])).'/flags/other.png" alt="Other Languages" title="Other Languages" /></a></li> </ul>'; } $url .= mobile(); }elseif($type==6){ if ($htmlorphp=="1"){ $url = "tafseer-".$id.".html"; }else{ $url = "tafseer.php?type=".$id.""; } }elseif($type==7){ if ($htmlorphp=="1"){ $url = "t-".$id."-1-".$more.".html"; }else{ $url = "tafseer.php?sora=".$id."&type=1&aya=".$more.""; } }elseif($type==8){ if ($htmlorphp=="1"){ $url = "translate-".$id."-".$more.".html"; }else{ $url = "translate.php?sora=".$id."&l=".$more.""; } }elseif($type==9){ if ($htmlorphp=="1"){ $url = "sora-".$id.".html"; }else{ $url = "index.php?sora=".$id.""; } }elseif($type==10){ if ($htmlorphp=="1"){ $url = "language-".$id.".html"; }else{ $url = "translate.php?l=".$id.""; } }elseif($type==11){ if ($htmlorphp=="1"){ $url = "book-details-".$id."-".$more.".html"; }else{ $url = "book.php?id=".$id."&l=".$more.""; } }elseif($type==12){ if ($htmlorphp=="1"){ $url = "books-".$id.".html"; }else{ $url = "book.php?l=".$id.""; } }elseif($type==13){ if ($htmlorphp=="1"){ $url = "tafseer-".$id."-".$more.".html"; }else{ $url = "tafseer.php?sora=".$id."&type=".$more.""; } }elseif($type==14){ if ($htmlorphp=="1"){ $url = 'location.html'; }else{ $url = 'location.php'; } }elseif($type==15){ if ($htmlorphp=="1"){ $url = "listen-".$id."-".$more."-0.html"; }else{ $url = "listen.php?sora=".$id."&aya=".$more."&l=0"; } }elseif($type==16){ $url = 'contact.php?send=1'; }elseif($type==17){ $url = 'listen.php'; }elseif($type==18){ if ($htmlorphp=="1"){ $url = "reader-".$id."-".$more.".html"; }else{ $url = "index.php?sora=".$id."&x=".$more.""; } } return $url; } ?>