الصفحة الرئيسية
المزايا
المشروع
روابط مفيدة
حولنا
تنزيل
النسخة القديمة



Related Class Documentation

<?php
    date_default_timezone_set
('UTC');
    
    include(
'Arabic.php');
    
$Ar = new Arabic('Salat');

    
$Ar->setLocation(33.513,36.292,2);
    
$Ar->setDate(date('j'), 
                 
date('n'), 
                 
date('Y'));

    
$times $Ar->getPrayTime();

    echo 
'<b>Damascus, Syria</b><br />';
    echo 
date('l F j, Y').'<br /><br />';
    echo 
"<b class=hilight>Fajr:</b>
          {$times[0]}<br />
          <b class=hilight>Sunrise:</b> 
          {$times[1]}<br />
          <b class=hilight>Zuhr:</b> 
          {$times[2]}<br />
          <b class=hilight>Asr:</b> 
          {$times[3]}<br />
          <b class=hilight>Maghrib:</b> 
          {$times[4]}<br />
          <b class=hilight>Isha:</b> 
          {$times[5]}<br /><br />"
;

    
$direction $Ar->getQibla();
    echo 
"<b class=hilight>Qibla Direction 
          </b>(from the north direction): 
          <br />$direction<br />"
;
?>


Damascus, Syria
Friday March 12, 2010

Fajr: 4:36
Sunrise: 6:01
Zuhr: 11:55
Asr: 15:16
Maghrib: 17:49
Isha: 19:15

Qibla Direction (from the north direction):
-21.998694670557
Nobody listens until you say something wrong.
لن يصغي إليك أحدا حتى تقول شيئا خاطئا
Index | Features | ArPHP Project | Useful Links | About Us | Download | PHP4!!!

Copyright © 2006 - 2010 Ar-PHP. All Rights Reserved | Sourceforge.net | Terms Of Use

 

  If not now when? If not you and me who else? | إن لم يكن الآن فمتى؟ إن لم تكن أنت وأنا فمن غيرنا؟