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





 
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 September 11, 2010

Fajr: 4:03
Sunrise: 5:31
Zuhr: 11:49
Asr: 15:23
Maghrib: 18:07
Isha: 19:34

Qibla Direction (from the north direction):
-21.998694670557
Anyone can do any amount of work provided it isn't the work he is supposed to be doing.
يمكن لأي شخص القيام بأي قدر من العمل الذي يعطى له طالما لم يكن هو العمل المفترض به أن ينجزه
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? | إن لم يكن الآن فمتى؟ إن لم تكن أنت وأنا فمن غيرنا؟