Related Class Documentation
<?php
date_default_timezone_set('UTC');
require('I18N/Arabic.php');
$Ar = new I18N_Arabic('Salat');
$Ar->setLocation(33.52, 36.31, 3, 691);
$Ar->setDate(date('j'),
date('n'),
date('Y'));
$times = $Ar->getPrayTime2();
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();
$qibla = 'I18N/Arabic/Examples/Qibla.php';
echo "<b class=hilight>Qibla Direction
</b>(from the north direction):
<br />$direction<br /><br /><a
href=$qibla?d=$direction target=_blank
class=hilight>Click here</a>";
?>
|
Damascus, SyriaThursday November 21, 2024 Fajr:
Sunrise:
Zuhr:
Asr:
Maghrib:
Isha:
Qibla Direction
(from the north direction):
164.70473621919 Click here
|
|