Astrologia, Carta Astral
 
Carta astral
Inicio
¿Que es la Astrología?
¿Que es la Carta Astral?
  Carta Astral - Lineal
  Carta Astral - Circular
  Carta Astral - Circular 2
  Carta Astral - Con Grados Sabianos
  Sinastría de parejas - Lineal
  Sinastría de parejas - Circular
  Carta Astral parejas - Lineal
  Carta Astral parejas - Circular
  Carta Astral Davison - Lineal
  Carta Astral Davison - Circular
  Tránsitos - Ahora (Lineal)
  Tránsitos - Ahora (Circular)
  Tránsitos - Cualquier fecha Lineal
  Tránsitos - Cualquier fecha Circular
  Progresiones - Lineal
  Progresiones - Circular
  Tránsitos y progresiones - Circular
  Arco Solar - Lineal
  Arco Solar - Circular
  Tránsitos + Arco Solar - Circular
  Situación de los Planetas
  Aspectos lunares
  Horas planetarias
  Conjunciones en astrología

Carta Astral para parejas - Circular

 

     La Carta Compuesta o Carta astral para parejas muestra la estructura esencial de una relación en una única Carta. Para ello se calcula el punto medio por parejas de planetas dibujando una carta nueva y diferente.

     La Carta Compuesta es el resultado de la unión de las cartas individuales de dos personas en una única carta.
El resultado de la Carta Compuesta no muestra una situación astronómica real ya que su composición es abstracta y viene marcada por los puntos medios derivados de dos cartas individuales. Este factor hace que algunos astrólogos la consideren poco fiable aunque si se le reconocen aciertos en la descripción de las relaciones que permiten afirmar que su interpretación es recomendable.

 

'Elija el mes', 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'); $my_error = ""; $no_interps = True; //set this to False when you want interpretations // check if the form has been submitted if (isset($_POST['submitted']) Or isset($_POST['h_sys_submitted'])) { $h_sys = safeEscapeString($_POST["h_sys"]); // get all variables from form - Person #1 $name1 = safeEscapeString($_POST["name1"]); $month1 = safeEscapeString($_POST["month1"]); $day1 = safeEscapeString($_POST["day1"]); $year1 = safeEscapeString($_POST["year1"]); $hour1 = safeEscapeString($_POST["hour1"]); $minute1 = safeEscapeString($_POST["minute1"]); $timezone1 = safeEscapeString($_POST["timezone1"]); $long_deg1 = safeEscapeString($_POST["long_deg1"]); $long_min1 = safeEscapeString($_POST["long_min1"]); $ew1 = safeEscapeString($_POST["ew1"]); $lat_deg1 = safeEscapeString($_POST["lat_deg1"]); $lat_min1 = safeEscapeString($_POST["lat_min1"]); $ns1 = safeEscapeString($_POST["ns1"]); // set cookie containing natal data here setcookie ('name', stripslashes($name1), time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('month', $month1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('day', $day1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('year', $year1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('hour', $hour1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('minute', $minute1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('timezone', $timezone1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('long_deg', $long_deg1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('long_min', $long_min1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('ew', $ew1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('lat_deg', $lat_deg1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('lat_min', $lat_min1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('ns', $ns1, time() + 60 * 60 * 24 * 30, '/', '', 0); // include ('header_composite.html'); //here because of setting cookies above include("validation_class.php"); //error check $my_form = new Validate_fields; $my_form->check_4html = true; $my_form->add_text_field("Name #1", $name1, "text", "y", 40); $my_form->add_text_field("Month #1", $month1, "text", "y", 2); $my_form->add_text_field("Day #1", $day1, "text", "y", 2); $my_form->add_text_field("Year #1", $year1, "text", "y", 4); $my_form->add_text_field("Hour #1", $hour1, "text", "y", 2); $my_form->add_text_field("Minute #1", $minute1, "text", "y", 2); $my_form->add_text_field("Time zone #1", $timezone1, "text", "y", 4); $my_form->add_text_field("Longitude degree #1", $long_deg1, "text", "y", 3); $my_form->add_text_field("Longitude minute #1", $long_min1, "text", "y", 2); $my_form->add_text_field("Longitude E/W #1", $ew1, "text", "y", 2); $my_form->add_text_field("Latitude degree #1", $lat_deg1, "text", "y", 2); $my_form->add_text_field("Latitude minute #1", $lat_min1, "text", "y", 2); $my_form->add_text_field("Latitude N/S #1", $ns1, "text", "y", 2); // additional error checks on user-entered data if ($month1 != "" And $day1 != "" And $year1 != "") { if (!$date = checkdate($month1, $day1, $year1)) { $my_error .= "La fecha de nacimiento que ha introducido no es válida.
"; } } if (($year1 < 1900) Or ($year1 >= 2100)) { $my_error .= "Por favor entra un año entre 1900 y 2099.
"; } if (($hour1 < 0) Or ($hour1 > 23)) { $my_error .= "Hora de nacimiento debe estar entre 0 y 23.
"; } if (($minute1 < 0) Or ($minute1 > 59)) { $my_error .= "Minuto de nacimiento debe estar entre 0 y 59.
"; } if (($long_deg1 < 0) Or ($long_deg1 > 179)) { $my_error .= "Los grados de longitud deben estar entre 0 y 179.
"; } if (($long_min1 < 0) Or ($long_min1 > 59)) { $my_error .= "Los minutos de longitud deben estar entre 0 y 59.
"; } if (($lat_deg1 < 0) Or ($lat_deg1 > 65)) { $my_error .= "Los grados de la latitud deben estar entre 0 y 65 años.
"; } if (($lat_min1 < 0) Or ($lat_min1 > 59)) { $my_error .= "Los minutos de la latitud deben estar entre 0 y 59.
"; } if (($ew1 == '-1') And ($timezone1 > 2)) { $my_error .= "Has seleccionado una longitud WEST pero el huso horario es del EAST.
"; } if (($ew1 == '1') And ($timezone1 < 0)) { $my_error .= "Has seleccionado una longitud EAST pero el huso horario es del WEST.
"; } if ($ew1 < 0) { $ew1_txt = "w"; } else { $ew1_txt = "e"; } if ($ns1 > 0) { $ns1_txt = "n"; } else { $ns1_txt = "s"; } // get all variables from form - Person #2 $name2 = safeEscapeString($_POST["name2"]); $month2 = safeEscapeString($_POST["month2"]); $day2 = safeEscapeString($_POST["day2"]); $year2 = safeEscapeString($_POST["year2"]); $hour2 = safeEscapeString($_POST["hour2"]); $minute2 = safeEscapeString($_POST["minute2"]); $timezone2 = safeEscapeString($_POST["timezone2"]); $long_deg2 = safeEscapeString($_POST["long_deg2"]); $long_min2 = safeEscapeString($_POST["long_min2"]); $ew2 = safeEscapeString($_POST["ew2"]); $lat_deg2 = safeEscapeString($_POST["lat_deg2"]); $lat_min2 = safeEscapeString($_POST["lat_min2"]); $ns2 = safeEscapeString($_POST["ns2"]); // set cookie containing natal data here setcookie ('name2', stripslashes($name2), time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('month2', $month2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('day2', $day2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('year2', $year2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('hour2', $hour2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('minute2', $minute2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('timezone2', $timezone2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('long_deg2', $long_deg2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('long_min2', $long_min2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('ew2', $ew2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('lat_deg2', $lat_deg2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('lat_min2', $lat_min2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie ('ns2', $ns2, time() + 60 * 60 * 24 * 30, '/', '', 0); include ('header_composite.html'); //here because of setting cookies above //error check $my_form->add_text_field("Name #2", $name2, "text", "y", 40); $my_form->add_text_field("Month #2", $month2, "text", "y", 2); $my_form->add_text_field("Day #2", $day2, "text", "y", 2); $my_form->add_text_field("Year #2", $year2, "text", "y", 4); $my_form->add_text_field("Hour #2", $hour2, "text", "y", 2); $my_form->add_text_field("Minute #2", $minute2, "text", "y", 2); $my_form->add_text_field("Time zone #2", $timezone2, "text", "y", 4); $my_form->add_text_field("Longitude degree #2", $long_deg2, "text", "y", 3); $my_form->add_text_field("Longitude minute #2", $long_min2, "text", "y", 2); $my_form->add_text_field("Longitude E/W #2", $ew2, "text", "y", 2); $my_form->add_text_field("Latitude degree #2", $lat_deg2, "text", "y", 2); $my_form->add_text_field("Latitude minute #2", $lat_min2, "text", "y", 2); $my_form->add_text_field("Latitude N/S #2", $ns2, "text", "y", 2); // additional error checks on user-entered data if ($month2 != "" And $day2 != "" And $year2 != "") { if (!$date = checkdate($month2, $day2, $year2)) { $my_error .= "La fecha de nacimiento que ha introducido no es válida.
"; } } if (($year2 < 1900) Or ($year2 >= 2100)) { $my_error .= "Birth year person #2 - Por favor, introduzca un año entre 1900 y 2099.
"; } if (($hour2 < 0) Or ($hour2 > 23)) { $my_error .= "Hora de nacimiento debe estar entre 0 y 23.
"; } if (($minute2 < 0) Or ($minute2 > 59)) { $my_error .= "Minuto de nacimiento debe estar entre 0 y 59.
"; } if (($long_deg2 < 0) Or ($long_deg2 > 179)) { $my_error .= "Los grados de longitud deben estar entre 0 y 179.
"; } if (($long_min2 < 0) Or ($long_min2 > 59)) { $my_error .= "Los minutos de longitud deben estar entre 0 y 59.
"; } if (($lat_deg2 < 0) Or ($lat_deg2 > 65)) { $my_error .= "Los grados de la latitud deben estar entre 0 y 65 años.
"; } if (($lat_min2 < 0) Or ($lat_min2 > 59)) { $my_error .= "Los minutos de la latitud deben estar entre 0 y 59.
"; } if (($ew2 == '-1') And ($timezone2 > 2)) { $my_error .= "Has seleccionado una longitud WEST pero el huso horario es del EAST.
"; } if (($ew2 == '1') And ($timezone2 < 0)) { $my_error .= "Has seleccionado una longitud EAST pero el huso horario es del WEST.
"; } if ($ew2 < 0) { $ew2_txt = "w"; } else { $ew2_txt = "e"; } if ($ns2 > 0) { $ns2_txt = "n"; } else { $ns2_txt = "s"; } $validation_error = $my_form->validation(); if ((!$validation_error) || ($my_error != "")) { $error = $my_form->create_msg(); echo "

"; echo "Se han detectado los siguientes errores:
"; if ($error) { echo $error . $my_error; } else { echo $error . "
" . $my_error; } echo ""; echo "
Por favor, introduzca sus datos de su zona horaria. GRACIAS.

"; echo "
"; echo "
"; } else { // no errors in filling out form, so process form $swephsrc = 'sweph'; $sweph = 'sweph'; putenv("PATH=$PATH:$swephsrc"); if (strlen($h_sys) != 1) { $h_sys = "p"; } //Person 1 calculations // Unset any variables not initialized elsewhere in the program unset($PATH,$out,$pl_name,$longitude1,$house_pos1); $inmonth = $month1; $inday = $day1; $inyear = $year1; $inhours = $hour1; $inmins = $minute1; $insecs = "0"; $intz = $timezone1; $my_longitude = $ew1 * ($long_deg1 + ($long_min1 / 60)); $my_latitude = $ns1 * ($lat_deg1 + ($lat_min1 / 60)); if ($intz >= 0) { $whole = floor($intz); $fraction = $intz - floor($intz); } else { $whole = ceil($intz); $fraction = $intz - ceil($intz); } $inhours = $inhours - $whole; $inmins = $inmins - ($fraction * 60); // adjust date and time for minus hour due to time zone taking the hour negative $utdatenow = strftime("%d.%m.%Y", mktime($inhours, $inmins, $insecs, $inmonth, $inday, $inyear)); $utnow = strftime("%H:%M:%S", mktime($inhours, $inmins, $insecs, $inmonth, $inday, $inyear)); exec ("swetest -edir$sweph -b$utdatenow -ut$utnow -p0123456789DAttt -eswe -house$my_longitude,$my_latitude,$h_sys -flsj -g, -head", $out); //add a planet // Each line of output data from swetest is exploded into array $row, giving these elements: // 0 = longitude // 1 = speed // 2 = house position // planets are index 0 - index (LAST_PLANET), house cusps are index (LAST_PLANET + 1) - (LAST_PLANET + 12) foreach ($out as $key => $line) { $row = explode(',',$line); $longitude1[$key] = $row[0]; $speed1[$key] = $row[1]; $house_pos1[$key] = $row[2]; }; include("constants.php"); // this is here because we must rename the planet names //calculate the Part of Fortune //is this a day chart or a night chart? if ($longitude1[LAST_PLANET + 1] > $longitude1[LAST_PLANET + 7]) { if ($longitude1[0] <= $longitude1[LAST_PLANET + 1] And $longitude1[0] > $longitude1[LAST_PLANET + 7]) { $day_chart = True; } else { $day_chart = False; } } else { if ($longitude1[0] > $longitude1[LAST_PLANET + 1] And $longitude1[0] <= $longitude1[LAST_PLANET + 7]) { $day_chart = False; } else { $day_chart = True; } } if ($day_chart == True) { $longitude1[SE_POF] = $longitude1[LAST_PLANET + 1] + $longitude1[1] - $longitude1[0]; } else { $longitude1[SE_POF] = $longitude1[LAST_PLANET + 1] - $longitude1[1] + $longitude1[0]; } if ($longitude1[SE_POF] >= 360) { $longitude1[SE_POF] = $longitude1[SE_POF] - 360; } if ($longitude1[SE_POF] < 0) { $longitude1[SE_POF] = $longitude1[SE_POF] + 360; } //add a planet - maybe some code needs to be put here //capture the Vertex longitude $longitude1[LAST_PLANET] = $longitude1[LAST_PLANET + 16]; //Asc = +13, MC = +14, RAMC = +15, Vertex = +16 //get POSICIONES DE LA CASA DE LOS PLANETAS here for ($x = 1; $x <= 12; $x++) { for ($y = 0; $y <= LAST_PLANET; $y++) { $pl = $longitude1[$y] + (1 / 36000); if ($x < 12 And $longitude1[$x + LAST_PLANET] > $longitude1[$x + LAST_PLANET + 1]) { If (($pl >= $longitude1[$x + LAST_PLANET] And $pl < 360) Or ($pl < $longitude1[$x + LAST_PLANET + 1] And $pl >= 0)) { $house_pos1[$y] = $x; continue; } } if ($x == 12 And ($longitude1[$x + LAST_PLANET] > $longitude1[LAST_PLANET + 1])) { if (($pl >= $longitude1[$x + LAST_PLANET] And $pl < 360) Or ($pl < $longitude1[LAST_PLANET + 1] And $pl >= 0)) { $house_pos1[$y] = $x; } continue; } if (($pl >= $longitude1[$x + LAST_PLANET]) And ($pl < $longitude1[$x + LAST_PLANET + 1]) And ($x < 12)) { $house_pos1[$y] = $x; continue; } if (($pl >= $longitude1[$x + LAST_PLANET]) And ($pl < $longitude1[LAST_PLANET + 1]) And ($x == 12)) { $house_pos1[$y] = $x; } } } //Person 2 calculations // Unset any variables not initialized elsewhere in the program unset($out,$longitude2,$house_pos2); //assign data from database to local variables $inmonth = $month2; $inday = $day2; $inyear = $year2; $inhours = $hour2; $inmins = $minute2; $insecs = "0"; $intz = $timezone2; $my_longitude = $ew2 * ($long_deg2 + ($long_min2 / 60)); $my_latitude = $ns2 * ($lat_deg2 + ($lat_min2 / 60)); if ($intz >= 0) { $whole = floor($intz); $fraction = $intz - floor($intz); } else { $whole = ceil($intz); $fraction = $intz - ceil($intz); } $inhours = $inhours - $whole; $inmins = $inmins - ($fraction * 60); // adjust date and time for minus hour due to time zone taking the hour negative $utdatenow = strftime("%d.%m.%Y", mktime($inhours, $inmins, $insecs, $inmonth, $inday, $inyear)); $utnow = strftime("%H:%M:%S", mktime($inhours, $inmins, $insecs, $inmonth, $inday, $inyear)); exec ("swetest -edir$sweph -b$utdatenow -ut$utnow -p0123456789DAttt -eswe -house$my_longitude,$my_latitude,$h_sys -flsj -g, -head", $out); //add a planet // Each line of output data from swetest is exploded into array $row, giving these elements: // 0 = longitude // 1 = speed // 2 = house position // planets are index 0 - index (LAST_PLANET), house cusps are index (LAST_PLANET + 1) - (LAST_PLANET + 12) foreach ($out as $key => $line) { $row = explode(',',$line); $longitude2[$key] = $row[0]; $speed2[$key] = $row[1]; $house_pos2[$key] = $row[2]; }; //calculate the Part of Fortune //is this a day chart or a night chart? if ($longitude2[LAST_PLANET + 1] > $longitude2[LAST_PLANET + 7]) { if ($longitude2[0] <= $longitude2[LAST_PLANET + 1] And $longitude2[0] > $longitude2[LAST_PLANET + 7]) { $day_chart = True; } else { $day_chart = False; } } else { if ($longitude2[0] > $longitude2[LAST_PLANET + 1] And $longitude2[0] <= $longitude2[LAST_PLANET + 7]) { $day_chart = False; } else { $day_chart = True; } } if ($day_chart == True) { $longitude2[SE_POF] = $longitude2[LAST_PLANET + 1] + $longitude2[1] - $longitude2[0]; } else { $longitude2[SE_POF] = $longitude2[LAST_PLANET + 1] - $longitude2[1] + $longitude2[0]; } if ($longitude2[SE_POF] >= 360) { $longitude2[SE_POF] = $longitude2[SE_POF] - 360; } if ($longitude2[SE_POF] < 0) { $longitude2[SE_POF] = $longitude2[SE_POF] + 360; } //add a planet - maybe some code needs to be put here //capture the Vertex longitude $longitude2[LAST_PLANET] = $longitude2[LAST_PLANET + 16]; //get POSICIONES DE LA CASA DE LOS PLANETAS here for ($x = 1; $x <= 12; $x++) { for ($y = 0; $y <= LAST_PLANET; $y++) { $pl = $longitude2[$y] + (1 / 36000); if ($x < 12 And $longitude2[$x + LAST_PLANET] > $longitude2[$x + LAST_PLANET + 1]) { If (($pl >= $longitude2[$x + LAST_PLANET] And $pl < 360) Or ($pl < $longitude2[$x + LAST_PLANET + 1] And $pl >= 0)) { $house_pos2[$y] = $x; continue; } } if ($x == 12 And ($longitude2[$x + LAST_PLANET] > $longitude2[LAST_PLANET + 1])) { if (($pl >= $longitude2[$x + LAST_PLANET] And $pl < 360) Or ($pl < $longitude2[LAST_PLANET + 1] And $pl >= 0)) { $house_pos2[$y] = $x; } continue; } if (($pl >= $longitude2[$x + LAST_PLANET]) And ($pl < $longitude2[$x + LAST_PLANET + 1]) And ($x < 12)) { $house_pos2[$y] = $x; continue; } if (($pl >= $longitude2[$x + LAST_PLANET]) And ($pl < $longitude2[LAST_PLANET + 1]) And ($x == 12)) { $house_pos2[$y] = $x; } } } //display natal data $secs = "0"; if ($timezone1 < 0) { $tz1 = $timezone1; } else { $tz1 = "+" . $timezone1; } if ($timezone2 < 0) { $tz2 = $timezone2; } else { $tz2 = "+" . $timezone2; } $name_without_slashes = stripslashes($name1); echo "
"; echo "$name_without_slashes
"; echo 'Nacid@ ' . strftime("%A, %B %d, %Y
%X (Zona Horaria = GMT $tz1 hours)

\n", mktime($hour1, $minute1, $secs, $month1, $day1, $year1)); echo "" . $long_deg1 . $ew1_txt . $long_min1 . ", " . $lat_deg1 . $ns1_txt . $lat_min1 . "

"; $name2_without_slashes = stripslashes($name2); echo "$name2_without_slashes
"; echo 'Nacid@ ' . strftime("%A, %B %d, %Y
%X (Zona Horaria = GMT $tz2 hours)

\n", mktime($hour2, $minute2, $secs, $month2, $day2, $year2)); echo "" . $long_deg2 . $ew2_txt . $long_min2 . ", " . $lat_deg2 . $ns2_txt . $lat_min2 . "

"; echo "
"; ?>
"; $hr_ob1 = $hour1; $min_ob1 = $minute1; $ubt1 = 0; if (($hr_ob1 == 12) And ($min_ob1 == 0)) { $ubt1 = 1; // this person has an unknown birth time } $hr_ob2 = $hour2; $min_ob2 = $minute2; $ubt2 = 0; if (($hr_ob2 == 12) And ($min_ob2 == 0)) { $ubt2 = 1; // this person has an unknown birth time } if ($ubt1 == 1 Or $ubt2 == 1) { $ubt1 = 1; $ubt2 = 1; } $rx1 = ""; for ($i = 0; $i <= SE_TNODE; $i++) { if ($speed1[$i] < 0) { $rx1 .= "R"; } else { $rx1 .= " "; } } $rx2 = ""; for ($i = 0; $i <= SE_TNODE; $i++) { if ($speed2[$i] < 0) { $rx2 .= "R"; } else { $rx2 .= " "; } } $rx3 = ""; for ($i = 0; $i <= SE_TNODE; $i++) { $rx3 .= " "; } // calculate midpoints for ($i = 0; $i <= LAST_PLANET; $i++) { $L3[$i] = ($longitude1[$i] + $longitude2[$i]) / 2; $diff = abs($longitude1[$i] - $longitude2[$i]); if ($diff >= 180 And Abs($L3[$i] - $longitude1[$i]) > 90 And Abs($L3[$i] - $longitude2[$i]) > 90) { $L3[$i] = $L3[$i] + 180; } $L3[$i] = sprintf("%.3f", Crunch($L3[$i])); } // save house cusp data for ($i = 1; $i <= 12; $i++) { $hc1[$i] = $longitude1[LAST_PLANET + $i]; $hc2[$i] = $longitude2[LAST_PLANET + $i]; } // rearrange house cusps so house 10 is 1st house for ($i = 10; $i <= 12; $i++) { $hc1x[$i - 9] = $hc1[$i]; $hc2x[$i - 9] = $hc2[$i]; } for ($i = 1; $i <= 9; $i++) { $hc1x[$i + 3] = $hc1[$i]; $hc2x[$i + 3] = $hc2[$i]; } for ($i = 1; $i <= 12; $i++) { $hc3x[$i] = ($hc1x[$i] + $hc2x[$i]) / 2; if (abs($hc3x[$i] - $hc1x[$i]) > 90 Or abs($hc3x[$i] - $hc2x[$i]) > 90) { $hc3x[$i] = $hc3x[$i] + 180; } if ($hc3x[$i] >= 360) { $hc3x[$i] = $hc3x[$i] - 360; } if ($i >= 2) { if (abs($hc3x[$i] - $hc3x[$i - 1]) > 90 And abs($hc3x[$i] - $hc3x[$i - 1]) < 270) { $hc3x[$i] = Crunch($hc3x[$i] + 180); } } } // put the house cusps back in their original order - house cusp 1 is array element 1 for ($i = 1; $i <= 9; $i++) { $hc3[$i] = sprintf("%.3f", $hc3x[$i + 3]); } for ($i = 10; $i <= 12; $i++) { $hc3[$i] = sprintf("%.3f", $hc3x[$i - 9]); } $hc3[13] = $hc3[1]; //get house positions of composite planets here for ($x = 1; $x <= 12; $x++) { for ($y = 0; $y <= LAST_PLANET; $y++) { $pl = $L3[$y] + (1 / 36000); if ($x < 12 And $hc3[$x] > $hc3[$x + 1]) { If (($pl >= $hc3[$x] And $pl < 360) Or ($pl < $hc3[$x + 1] And $pl >= 0)) { $house_pos3[$y] = $x; continue; } } if ($x == 12 And ($hc3[$x] > $hc3[1])) { if (($pl >= $hc3[$x] And $pl < 360) Or ($pl < $hc3[1] And $pl >= 0)) { $house_pos3[$y] = $x; } continue; } if (($pl >= $hc3[$x]) And ($pl < $hc3[$x + 1]) And ($x < 12)) { $house_pos3[$y] = $x; continue; } if (($pl >= $hc3[$x]) And ($pl < $hc3[1]) And ($x == 12)) { $house_pos3[$y] = $x; } } } // no need to urlencode unless perhaps magic quotes is ON (??) $ser_L1 = serialize($L3); $ser_L2 = serialize($L3); $ser_hc1 = serialize($hc3); echo "
"; //echo ""; echo ""; echo "

"; echo ""; echo "
"; echo "
"; // display composite data - planets echo '
',"\n"; echo ''; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ''; for ($i = 0; $i <= LAST_PLANET; $i++) { echo ''; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; $hse = floor($house_pos3[$i]); if ($hse < 10) { echo ""; } else { echo ""; } echo ''; } echo ''; echo ""; echo ""; echo ""; echo ""; echo ''; // display composite data - house cusps if ($ubt1 == 0 And $ubt2 == 0) { echo ''; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ''; for ($i = 1; $i <= 12; $i++) { echo ''; if ($i == 1) { echo ""; } elseif ($i == 10) { echo ""; } else { echo ""; } echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ''; } } echo '
Planets 1 Longitude 1 Planets 2 Longitude 2 Composite Comp. Long. Comp House
" . $pl_name[$i] . "" . Convert_Longitude($longitude1[$i]) . " " . Mid($rx1, $i + 1, 1) . "" . $pl_name[$i] . "" . Convert_Longitude($longitude2[$i]) . " " . Mid($rx2, $i + 1, 1) . "" . $pl_name[$i] . "" . Convert_Longitude($L3[$i]) . " " . Mid($rx3, $i + 1, 1) . "     " . $hse . "   " . $hse . "
       
Name Longitude 1   Longitude 2   Comp. Long.  
Ascendant MC (Midheaven) House " . ($i) . "" . Convert_Longitude($hc1[$i]) . "   " . Convert_Longitude($hc2[$i]) . "   " . Convert_Longitude($hc3[$i]) . "  
',"\n"; echo "

"; // display composite data - aspect table $asp_name[1] = "Conjunction"; $asp_name[2] = "Opposition"; $asp_name[3] = "Trine"; $asp_name[4] = "Square"; $asp_name[5] = "Quincunx"; $asp_name[6] = "Sextile"; echo '
',"\n"; echo ''; echo ""; echo ""; echo ""; echo ""; echo ''; // include Ascendant and MC $longitude1[LAST_PLANET + 1] = $hc1[1]; $longitude1[LAST_PLANET + 2] = $hc1[10]; $pl_name[LAST_PLANET + 1] = "Ascendant"; $pl_name[LAST_PLANET + 2] = "Midheaven"; $longitude2[LAST_PLANET + 1] = $hc2[1]; $longitude2[LAST_PLANET + 2] = $hc2[10]; $L3[LAST_PLANET + 1] = $hc3[1]; $L3[LAST_PLANET + 2] = $hc3[10]; if ($ubt1 == 1) { $a1 = SE_TNODE; } else { $a1 = LAST_PLANET + 2; } for ($i = 0; $i <= $a1; $i++) { echo ""; for ($j = 0; $j <= $a1; $j++) { $q = 0; $da = Abs($L3[$i] - $L3[$j]); if ($da > 180) { $da = 360 - $da; } // set orb - 8 if Sun or Moon, 6 if not Sun or Moon if ($i == SE_POF Or $j == SE_POF) { $orb = 2; } elseif ($i == SE_LILITH Or $j == SE_LILITH) { $orb = 3; } elseif ($i == SE_TNODE Or $j == SE_TNODE) { $orb = 3; } elseif ($i == SE_VERTEX Or $j == SE_VERTEX) { $orb = 3; } elseif ($i == 0 Or $i == 1 Or $j == 0 Or $j == 1) { $orb = 8; } else { $orb = 6; } // is there an aspect within orb? if ($da <= $orb) { $q = 1; $dax = $da; } elseif (($da <= (60 + $orb)) And ($da >= (60 - $orb))) { $q = 6; $dax = $da - 60; } elseif (($da <= (90 + $orb)) And ($da >= (90 - $orb))) { $q = 4; $dax = $da - 90; } elseif (($da <= (120 + $orb)) And ($da >= (120 - $orb))) { $q = 3; $dax = $da - 120; } elseif (($da <= (150 + $orb)) And ($da >= (150 - $orb))) { $q = 5; $dax = $da - 150; } elseif ($da >= (180 - $orb)) { $q = 2; $dax = 180 - $da; } if ($q > 0 And $i != $j) { // aspect exists echo ''; echo ""; echo ""; echo ""; echo ""; echo ''; } } } echo '
Planet Aspect Planet Orb
 
" . $pl_name[$i] . "" . $asp_name[$q] . "" . $pl_name[$j] . "" . sprintf("%.2f", abs($dax)) . "
',"\n"; echo "

"; if (EMAIL_enabled == True) { @mail(EMAIL, "Composite", ""); } //display the composite chart report if ($no_interps == True) { include ('footer.html'); exit(); } else { echo '
'; echo ''; echo '
'; //display philosophy of astrology echo "
MI FILOSOFIA DE LA ASTROLOGIA
"; $file = "natal_files/philo.txt"; $fh = fopen($file, "r"); $string = fread($fh, filesize($file)); fclose($fh); $philo = nl2br($string); echo "" . $philo . ""; if ($ubt1 == 0) { //display planet in house interpretation //get header first echo "
POSICIONES DE LA CASA DE LOS PLANETAS
"; $file = "natal_files/house.txt"; $fh = fopen($file, "r"); $string = fread($fh, filesize($file)); fclose($fh); $string = nl2br($string); $house_interp = $string; // loop through each planet for ($i = 0; $i <= 9; $i++) { $h_pos = $house_pos1[$i]; $phrase_to_look_for = $pl_name[$i] . " in"; $file = "natal_files/house_" . trim($h_pos) . ".txt"; $string = Find_Specific_Report_Paragraph($phrase_to_look_for, $file); $string = nl2br($string); $house_interp .= $string; } echo "" . $house_interp . ""; } //display planetary aspect interpretations //get header first echo "
LOS ASPECTOS PLANETARIOS
"; $file = "natal_files/aspect.txt"; $fh = fopen($file, "r"); $string = fread($fh, filesize($file)); fclose($fh); $string = nl2br($string); $p_aspect_interp = $string; echo "" . $p_aspect_interp . ""; // loop through each planet for ($i = 0; $i <= 9; $i++) { for ($j = 0; $j <= 9; $j++) { if (($i == 1 Or $j == 1 Or $j == 10) And $ubt1 == 1) { continue; // do not allow Moon aspects or Ascendant aspects if birth time is unknown } $da = Abs($longitude1[$i] - $longitude2[$j]); if ($da > 180) { $da = 360 - $da; } // set orb - 8 if Sun or Moon, 6 if not Sun or Moon if ($i == SE_POF Or $j == SE_POF) { $orb = 2; } elseif ($i == SE_LILITH Or $j == SE_LILITH) { $orb = 3; } elseif ($i == SE_TNODE Or $j == SE_TNODE) { $orb = 3; } elseif ($i == SE_VERTEX Or $j == SE_VERTEX) { $orb = 3; } elseif ($i == 0 Or $i == 1 Or $j == 0 Or $j == 1) { $orb = 8; } else { $orb = 6; } // are planets within orb? $q = 1; if ($da <= $orb) { $q = 2; } elseif (($da <= 60 + $orb) And ($da >= 60 - $orb)) { $q = 3; } elseif (($da <= 90 + $orb) And ($da >= 90 - $orb)) { $q = 4; } elseif (($da <= 120 + $orb) And ($da >= 120 - $orb)) { $q = 5; } elseif ($da >= 180 - $orb) { $q = 6; } if ($q > 1) { if ($q == 2) { $aspect = " blending with "; } elseif ($q == 3 Or $q == 5) { $aspect = " harmonizing with "; } elseif ($q == 4 Or $q == 6) { $aspect = " discordant to "; } $phrase_to_look_for = $pl_name[$i] . $aspect . $pl_name[$j]; $file = "natal_files/" . strtolower($pl_name[$i]) . ".txt"; $string = Find_Specific_Report_Paragraph($phrase_to_look_for, $file); $string = nl2br($string); echo "" . $string . ""; } } } //display closing echo "
COMENTARIOS DE CIERRE
"; if ($ubt1 == 1) { $file = "natal_files/closing_unk.txt"; } else { $file = "natal_files/closing.txt"; } $fh = fopen($file, "r"); $string = fread($fh, filesize($file)); fclose($fh); $closing = nl2br($string); echo "" . $closing . ""; echo '
'; echo "

"; include ('footer.html'); exit(); } } } else { include ('header_composite.html'); //here because of cookies $name1 = stripslashes($_COOKIE['name']); $month1 = $_COOKIE['month']; $day1 = $_COOKIE['day']; $year1 = $_COOKIE['year']; $hour1 = $_COOKIE['hour']; $minute1 = $_COOKIE['minute']; $timezone1 = $_COOKIE['timezone']; $long_deg1 = $_COOKIE["long_deg"]; $long_min1 = $_COOKIE["long_min"]; $ew1 = $_COOKIE["ew"]; $lat_deg1 = $_COOKIE["lat_deg"]; $lat_min1 = $_COOKIE["lat_min"]; $ns1 = $_COOKIE["ns"]; $name2 = stripslashes($_COOKIE['name2']); $month2 = $_COOKIE['month2']; $day2 = $_COOKIE['day2']; $year2 = $_COOKIE['year2']; $hour2 = $_COOKIE['hour2']; $minute2 = $_COOKIE['minute2']; $timezone2 = $_COOKIE['timezone2']; $long_deg2 = $_COOKIE["long_deg2"]; $long_min2 = $_COOKIE["long_min2"]; $ew2 = $_COOKIE["ew2"]; $lat_deg2 = $_COOKIE["lat_deg2"]; $lat_min2 = $_COOKIE["lat_min2"]; $ns2 = $_COOKIE["ns2"]; } ?>
 

Carta Astral Parejas Circular - Persona #1

  

Todos los campos son obligatorios


Nombre #1:

 

F.Nacimiento #1:

de '; foreach ($months as $key => $value) { echo "\n"; } echo ''; ?> de (Sólo son válidos los años entre 1900 hasta 2099)

H.Nacimiento #1:

:
(Formato de 24 horas. Si no conoce la Hora de Nacimiento, escriba 12:00)
(Si nació justo a las 12:00, escriba 11:59 ó 12:01. Las 12:00 es para horas desconocidas)

IMPORTANTE: En Zonas Horarias del Oeste,  las longitudes son menores (-).
                         En Zonas Horarias del Este, las longitudes son mayores (+).

Zona Horaria #1:


(ejemplo: Madrid-España está en "GMT +01:00 hrs" (Horario de Verano).
Sume 1 hora si el Horario de verano estaba operativo cuando nació.

 

Longitud #1:

, (ejemplo: Barcelona está en 2,11 E, Sydney está en 151,13 E

Latitud #1:

, (ejemplo: Barcelona está en 41,23 N, Sydney está en 33,52 S)



Persona

#2

 

Nombre #2:

 

F.Nacimiento #2:

de '; foreach ($months as $key => $value) { echo "\n"; } echo ''; ?> de (Sólo son válidos los años entre 1900 hasta 2099)

H.Nacimiento #2:

:
(Formato de 24 horas. Si no conoce la Hora de Nacimiento, escriba 12:00)
(Si nació justo a las 12:00, escriba 11:59 ó 12:01. Las 12:00 es para horas desconocidas)

IMPORTANTE : En Zonas Horarias del Oeste,  las longitudes son menores (-).
                           En Zonas Horarias del Este, las longitudes son mayores (+).

Zona Horaria #2:


(ejemplo: Madrid-España está en "GMT +01:00 hrs" (Horario de Verano).
Sume 1 hora si el Horario de verano estaba operativo cuando nació.

 

Longitud #2:

, (ejemplo: Barcelona está en 2,11 E, Sydney está en 151,13 E

Latitud #2:

, (ejemplo: Barcelona está en 41,23 N, Sydney está en 33,52 S)


Muchas personas se equivocan con la selección de la Zona Horaria y en la Longitud y la Latitud.

Para que los datos sean exactos esté seguro que su selección es correcta.


= 30) { $lng = $lng - 30; } return $lng; } Function Convert_Longitude($longitude) { $signs = array (0 => 'Ari', 'Tau', 'Gem', 'Can', 'Leo', 'Vir', 'Lib', 'Sco', 'Sag', 'Cap', 'Aqu', 'Pis'); $sign_num = floor($longitude / 30); $pos_in_sign = $longitude - ($sign_num * 30); $deg = floor($pos_in_sign); $full_min = ($pos_in_sign - $deg) * 60; $min = floor($full_min); $full_sec = round(($full_min - $min) * 60); if ($deg < 10) { $deg = "0" . $deg; } if ($min < 10) { $min = "0" . $min; } if ($full_sec < 10) { $full_sec = "0" . $full_sec; } return $deg . " " . $signs[$sign_num] . " " . $min . "' " . $full_sec . chr(34); } Function mid($midstring, $midstart, $midlength) { return(substr($midstring, $midstart-1, $midlength)); } Function safeEscapeString($string) { // replace HTML tags '<>' with '[]' $temp1 = str_replace("<", "[", $string); $temp2 = str_replace(">", "]", $temp1); // but keep
or
// turn
into
so later it will be turned into "" // using just
will add extra blank lines $temp1 = str_replace("[br]", "
", $temp2); $temp2 = str_replace("[br /]", "
", $temp1); if (get_magic_quotes_gpc()) { return $temp2; } else { return mysql_escape_string($temp2); } } Function Find_Specific_Report_Paragraph($phrase_to_look_for, $file) { $string = ""; $len = strlen($phrase_to_look_for); //put entire file contents into an array, line by line $file_array = file($file); // look through each line searching for $phrase_to_look_for for($i = 0; $i < count($file_array); $i++) { if (left(trim($file_array[$i]), $len) == $phrase_to_look_for) { $flag = 0; while (trim($file_array[$i]) != "*") { if ($flag == 0) { $string .= "" . $file_array[$i] . ""; } else { $string .= $file_array[$i]; } $flag = 1; $i++; } break; } } return $string; } Function Crunch($x) { if ($x >= 0) { $y = $x - floor($x / 360) * 360; } else { $y = 360 + ($x - ((1 + floor($x / 360)) * 360)); } return $y; } ?>



www.mundoastrologia.com  - Copyright © - Todos los derechos reservados- © - Protección de datos- Política de privacidad   Sitemap      Diseño Web