Example #1
0
function ul($array)
{
    $string = begin_ul();
    foreach ($array as $item) {
        $string .= li($item);
    }
    return $string . end_ul();
}
echo ul($relationship_calculator->female_influences[7]);
echo ul($relationship_calculator->female_natures_influencing[7]);
echo h5("Planets Influencing 7th Lord- ", $relationship_calculator->female_seventh_house_lord);
echo ul($relationship_calculator->female_influences['7L']);
echo ul($relationship_calculator->female_natures_influencing['7L']);
echo h5("7th Lord Position");
echo $relationship_calculator->female_seventh_house_lord, " is in the ", $relationship_calculator->female_houses['7L'], " house from the 7th. ", $relationship_calculator->female_positionals['7L'];
echo h3("Interplay of Relationship"), h4("Relative House Position of each other's Ascendant, Sun, Moon and Venus."), begin_ul();
foreach ($relationship_calculator->relative_positionals as $planet => $positional) {
    $positional_text = '';
    if ($positional) {
        $positional_text = ", " . $positional;
    }
    echo li($planet, "- house ", $relationship_calculator->relative_houses[$planet], $positional_text);
}
echo end_ul();
echo h4("Deeper Synastry Analysis of each other's Ascendant, Sun, Moon and Venus."), h5("Influences to ", $female_data['report_name'], "'s Planets in ", $male_data['report_name'], "'s chart.");
foreach (array('Ascendant', 'Sun', 'Moon', 'Venus') as $planet) {
    echo h5($planet), ul($relationship_calculator->female_male_influences[$planet]);
}
echo h5("Influences to ", $male_data['report_name'], "'s Planets in ", $female_data['report_name'], "'s chart.");
foreach (array('Ascendant', 'Sun', 'Moon', 'Venus') as $planet) {
    echo h5($planet), ul($relationship_calculator->male_female_influences[$planet]);
}
echo h4("Marriage Compatibility Based on Indian Astrology");
echo "Male Nakshatra: ";
echo $kuta_calculator->male_nakshatra, br();
echo "Female Nakshatra: ";
echo $kuta_calculator->female_nakshatra, br(), br();
echo "Nadi Kuta Score: ";
echo $kuta_calculator->nadiKutaScore;