-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtestAshtakVarg.php
60 lines (52 loc) · 1.14 KB
/
testAshtakVarg.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
require_once 'orbit.php';
require_once 'planet.php';
require_once 'transit.php';
require_once 'astroreport.php';
require_once 'functions.php';
require_once 'ashtakvarg.php';
$birth_data = array (
'timezone' =>
array (
'hours' => 5,
'min' => 30,
'direction' => 'E',
),
'longitude' =>
array (
'degrees' => 75,
'min' => 49,
'direction' => 'E',
),
'latitude' =>
array (
'degrees' => 26,
'min' => 55,
'direction' => 'N',
),
'month' => 7,
'day' => 7,
'year' => 1986,
'hour' => 8,
'min' => 53,
'report_name' => 'Arpit Tambi',
'city' => 'Jaipur',
'country' => 'IN',
'am_pm' => 'am',
'has_all_info' => true,
);
$aa = new AstroReport( $birth_data );
$birthTS = getBirthTS( $birth_data );
$houses = $aa->getHouses();
$planets = $aa->getPlanets();
$my = new AshtakVarg( $planets, $houses['ASC']['sign_number'] );
$houses = $my->getHouseRating($houses);
$br = '<br />';
echo 'House Evaluation' . $br;
echo '----------------' . $br;
for($i = 1; $i < 13; $i++)
{
echo 'House ' . $i . ' - ' . $houses[$i]['Points'][0] . ' - ' . $houses[$i]['Points'][1] . $br;
}
var_dump( $houses );
?>