Ежедневный гороскоп для всех знаков



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

Вчера || Сегодня || Завтра || Послезавтра

'.$aries[1].' - '.$date.'
'.$aries[2].'
'.$taurus[1].' - '.$date.'
'.$taurus[2].'
'.$gemini[1].' - '.$date.'
'.$gemini[2].'
'.$cancer[1].' - '.$date.'
'.$cancer[2].'
'.$leo[1].' - '.$date.'
'.$leo[2].'
'.$virgo[1].' - '.$date.'
'.$virgo[2].'
'.$libra[1].' - '.$date.'
'.$libra[2].'
'.$scorpio[1].' - '.$date.'
'.$scorpio[2].'
'.$sagittarius[1].' - '.$date.'
'.$sagittarius[2].'
'.$capricorn[1].' - '.$date.'
'.$capricorn[2].'
'.$aquarius[1].' - '.$date.'
'.$aquarius[2].'
'.$pisces[1].' - '.$date.'
'.$pisces[2].'
'; ?>