if ($_GET['g'] === "vchera") {
$date = $xml->date->attributes()->yesterday;
$aries = array("aries.gif", "Овен", $xml->aries->yesterday);
$taurus = array("taurus.gif", "Телец", $xml->taurus->yesterday);
$gemini = array("gemini.gif", "Близнецы", $xml->gemini->yesterday);
$cancer = array("cancer.gif", "Рак", $xml->cancer->yesterday);
$leo = array("leo.gif", "Лев", $xml->leo->yesterday);
$virgo = array("virgo.gif", "Дева", $xml->virgo->yesterday);
$libra = array("libra.gif", "Весы", $xml->libra->yesterday);
$scorpio = array("scorpio.gif", "Скорпион", $xml->scorpio->yesterday);
$sagittarius = array("sagittarius.gif", "Стрелец", $xml->sagittarius->yesterday);
$capricorn = array("capricorn.gif", "Козерог", $xml->capricorn->yesterday);
$aquarius = array("aquarius.gif", "Водолей", $xml->aquarius->yesterday);
$pisces = array("pisces.gif", "Рыбы", $xml->pisces->yesterday);
}
if ($_GET['g'] === "segodnya") {
$date = $xml->date->attributes()->today;
$aries = array("aries.gif", "Овен", $xml->aries->today);
$taurus = array("taurus.gif", "Телец", $xml->taurus->today);
$gemini = array("gemini.gif", "Близнецы", $xml->gemini->today);
$cancer = array("cancer.gif", "Рак", $xml->cancer->today);
$leo = array("leo.gif", "Лев", $xml->leo->today);
$virgo = array("virgo.gif", "Дева", $xml->virgo->today);
$libra = array("libra.gif", "Весы", $xml->libra->today);
$scorpio = array("scorpio.gif", "Скорпион", $xml->scorpio->today);
$sagittarius = array("sagittarius.gif", "Стрелец", $xml->sagittarius->today);
$capricorn = array("capricorn.gif", "Козерог", $xml->capricorn->today);
$aquarius = array("aquarius.gif", "Водолей", $xml->aquarius->today);
$pisces = array("pisces.gif", "Рыбы", $xml->pisces->today);
}
if ($_GET['g'] === "zavtra") {
$date = $xml->date->attributes()->tomorrow;
$aries = array("aries.gif", "Овен", $xml->aries->tomorrow);
$taurus = array("taurus.gif", "Телец", $xml->taurus->tomorrow);
$gemini = array("gemini.gif", "Близнецы", $xml->gemini->tomorrow);
$cancer = array("cancer.gif", "Рак", $xml->cancer->tomorrow);
$leo = array("leo.gif", "Лев", $xml->leo->tomorrow);
$virgo = array("virgo.gif", "Дева", $xml->virgo->tomorrow);
$libra = array("libra.gif", "Весы", $xml->libra->tomorrow);
$scorpio = array("scorpio.gif", "Скорпион", $xml->scorpio->tomorrow);
$sagittarius = array("sagittarius.gif", "Стрелец", $xml->sagittarius->tomorrow);
$capricorn = array("capricorn.gif", "Козерог", $xml->capricorn->tomorrow);
$aquarius = array("aquarius.gif", "Водолей", $xml->aquarius->tomorrow);
$pisces = array("pisces.gif", "Рыбы", $xml->pisces->tomorrow);
}
if ($_GET['g'] === "poslezavtra") {
$date = $xml->date->attributes()->tomorrow02;
$aries = array("aries.gif", "Овен", $xml->aries->tomorrow02);
$taurus = array("taurus.gif", "Телец", $xml->taurus->tomorrow02);
$gemini = array("gemini.gif", "Близнецы", $xml->gemini->tomorrow02);
$cancer = array("cancer.gif", "Рак", $xml->cancer->tomorrow02);
$leo = array("leo.gif", "Лев", $xml->leo->tomorrow02);
$virgo = array("virgo.gif", "Дева", $xml->virgo->tomorrow02);
$libra = array("libra.gif", "Весы", $xml->libra->tomorrow02);
$scorpio = array("scorpio.gif", "Скорпион", $xml->scorpio->tomorrow02);
$sagittarius = array("sagittarius.gif", "Стрелец", $xml->sagittarius->tomorrow02);
$capricorn = array("capricorn.gif", "Козерог", $xml->capricorn->tomorrow02);
$aquarius = array("aquarius.gif", "Водолей", $xml->aquarius->tomorrow02);
$pisces = array("pisces.gif", "Рыбы", $xml->pisces->tomorrow02);
}