Файл: user/anketa/hobbies.php
Строк: 312
<?php
/* DCMS Special
* Дата последнего редактирования 21.12.2015
* Модифицировал densnet
*/
only_reg();
echo "<div class='collection'>";
echo "<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&mod=information'><i class='material-icons'>chat</i> Общие сведения</a>";
echo "<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&mod=work'><i class='material-icons'>work</i> Работа и образование</a>";
echo "<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&mod=locations'><i class='material-icons'>location_city</i> Место проживания</a>";
echo "<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&mod=contacts'><i class='material-icons'>contact_phone</i> Контакты и ссылки</a>";
echo "<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&mod=family'><i class='material-icons'>child_friendly</i> Семья и отношения</a>";
echo "<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&mod=events'><i class='material-icons'>event</i> События из жизни</a>";
echo "<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&mod=activity'><i class='material-icons'>important_devices</i> Активность</a>";
echo "<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&mod=character_type'><i class='material-icons'>accessibility</i> Типаж</a>";
echo "<div class = 'list-group-item'>";
echo "<a href = '/user/anketa/?name=$ank[nick]'><i class='material-icons'>pool</i> Интересы и увлечения</a>";
echo "<div class = 'hr'></div>";
if ($ank['ank_music'] == NULL) {
$ank_music = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=hobbies&ank_hobbies'>?</a>";
} else {
$ank_music = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=hobbies&ank_hobbies'>$ank[ank_music]</a>";
}
if ($ank['ank_films'] == NULL) {
$ank_films = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=hobbies&ank_hobbies'>?</a>";
} else {
$ank_films = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=hobbies&ank_hobbies'>$ank[ank_films]</a>";
}
if ($ank['ank_books'] == NULL) {
$ank_books = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=hobbies&ank_hobbies'>?</a>";
} else {
$ank_books = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=hobbies&ank_hobbies'>$ank[ank_books]</a>";
}
if ($ank['ank_course'] == NULL) {
$ank_course = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=hobbies&ank_hobbies'>?</a>";
} else {
$ank_course = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=hobbies&ank_hobbies'>$ank[ank_course]</a>";
}
if ($ank['ank_passion'] == NULL) {
$ank_passion = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=hobbies&ank_hobbies'>?</a>";
} else {
$ank_passion = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=hobbies&ank_hobbies'>$ank[ank_passion]</a>";
}
if ($ank['ank_activities'] == NULL) {
$ank_activities = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=hobbies&ank_hobbies'>?</a>";
} else {
$ank_activities = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=hobbies&ank_hobbies'>$ank[ank_activities]</a>";
}
if ($ank['ank_teleshow'] == NULL) {
$ank_teleshow = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=hobbies&ank_hobbies'>?</a>";
} else {
$ank_teleshow = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=hobbies&ank_hobbies'>$ank[ank_teleshow]</a>";
}
if ($ank['ank_citates'] == NULL) {
$ank_citates = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=hobbies&ank_hobbies'>?</a>";
} else {
$ank_citates = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=hobbies&ank_hobbies'>$ank[ank_citates]</a>";
}
if ($ank['ank_games'] == NULL) {
$ank_games = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=hobbies&ank_hobbies'>?</a>";
} else {
$ank_games = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=hobbies&ank_hobbies'>$ank[ank_games]</a>";
}
if ($ank['ank_about_me'] == NULL) {
$ank_about_me = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=hobbies&ank_hobbies'>?</a>";
} else {
$ank_about_me = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=hobbies&ank_hobbies'>$ank[ank_about_me]</a>";
}
echo "Деятельность: $ank_activities<br />";
echo "Любимая музыка: $ank_music<br />";
echo "Любимые фильмы: $ank_films<br />";
echo "Любимые телешоу: $ank_teleshow<br />";
echo "Любимые книги: $ank_books<br />";
echo "Любимые игры: $ank_games<br />";
echo "Любимые цитаты: $ank_citates<br />";
echo "Любимое блюдо: $ank_course<br />";
echo "Интересы: $ank_passion<br />";
echo "О себе: $ank_about_me<br />";
echo "</div>";
echo "<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&mod=position'><i class='material-icons'>local_library</i> Жизненная позиция</a>";
echo "</div>";