コード例 #1
0
ファイル: DisplayHelper.php プロジェクト: vishald13/aheadzen
function ul($array)
{
    $string = begin_ul();
    foreach ($array as $item) {
        $string .= li($item);
    }
    return $string . end_ul();
}
コード例 #2
0
echo $relationship_calculator->female_ascendant_lord, " is in the ", $relationship_calculator->female_houses['ASCL'], " house from the Ascendant. ", $relationship_calculator->female_positionals['ASCL'], br(), br();
foreach (array('Moon', 'Sun', 'Venus') as $planet) {
    echo h4($planet, " Analysis"), h5($planet, " Position"), $planet, " is in the ", $relationship_calculator->female_houses[$planet], " house from the Ascendant. ", $relationship_calculator->female_positionals[$planet], h5("Planets Influencing ", $planet), ul($relationship_calculator->female_influences[$planet]), ul($relationship_calculator->female_natures_influencing[$planet]);
}
echo h4("Marriage and Partnership Analysis");
echo h5("7th House: ", $relationship_calculator->female_seventh_house);
echo h5("7th Lord: ", $relationship_calculator->female_seventh_house_lord);
echo h5("Planets Influencing 7th House");
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]);