$deg = floor(Reduce_below_30($longitude1[LAST_PLANET + 1])) + 1; //add 1 to degree $phrase_to_look_for = trim($name_of_sign[$s_pos]) . " " . $deg; $file = "natal_files/sabian_" . trim($s_pos) . ".txt"; $string = Find_Specific_Report_Paragraph($phrase_to_look_for, $file); $string = nl2br($string); $sign_interp .= "Ascendant in " . $string; } //MC if ($ubt1 == 0) { $s_pos = floor($longitude1[LAST_PLANET + 10] / 30) + 1; $deg = floor(Reduce_below_30($longitude1[LAST_PLANET + 10])) + 1; //add 1 to degree $phrase_to_look_for = trim($name_of_sign[$s_pos]) . " " . $deg; $file = "natal_files/sabian_" . trim($s_pos) . ".txt"; $string = Find_Specific_Report_Paragraph($phrase_to_look_for, $file); $string = nl2br($string); $sign_interp .= "MC in " . $string; } echo "<font size=2>" . $sign_interp . "</font>"; //display closing echo "<br><center><font size='+1' color='#0000ff'><b>CLOSING COMMENTS</b></font></center>"; $file = "natal_files/closing_sabian.txt"; $fh = fopen($file, "r"); $string = fread($fh, filesize($file)); fclose($fh); $closing = nl2br($string); echo "<font size=2>" . $closing . "</font>"; echo '</font></td></tr>'; echo '</table></center>'; echo "<br /><br />";
} if ($q > 1) { if ($q == 2) { $aspect = " Conjunct "; } elseif ($q == 6) { $aspect = " Opposite "; } elseif ($q == 3) { $aspect = " Sextile "; } elseif ($q == 4) { $aspect = " Square "; } elseif ($q == 5) { $aspect = " Trine "; } $phrase_to_look_for = $pl_name[$i] . $aspect . $pl_name[$j]; $file = "transit_files/" . strtolower($pl_name[$i]) . "_tr.txt"; $string = Find_Specific_Report_Paragraph($phrase_to_look_for, $file, $pl_name[$i], $aspect, $pl_name[$j], $L2[$i], $speed2[$i]); $string = nl2br($string); echo "<font size=2>" . $string . "</font>"; } } } //display closing $file = "transit_files/closing.txt"; $fh = fopen($file, "r"); $string = fread($fh, filesize($file)); fclose($fh); $closing = nl2br($string); echo "<font size=2>" . $closing . "</font>"; echo '</font></td></tr>'; echo '</table></center>'; echo "<br /><br />";