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





 
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
Saturday July 31, 2010

Fajr: 2:58
Sunrise: 4:38
Zuhr: 11:39
Asr: 15:27
Maghrib: 18:40
Isha: 20:20

Qibla Direction (from the north direction):
-21.998694670557
Everything takes longer than you think.
كل شيء يتطلب وقتا أطول مما توقعته
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? | إن لم يكن الآن فمتى؟ إن لم تكن أنت وأنا فمن غيرنا؟