Файл: user/anketa/hobbies.php
Строк: 321
<?php
/* DCMS S (Special)
* Версия файла 0.0.1
* Дата последнего редактирования 12.11.2015
* Модифицировал densnet
*/
only_reg();
echo "<div class = 'list-group-item'><a href = '/user/anketa/?name=$ank[nick]&mod=information'><span class='fa fa-sticky-note-o fa-fw'></span> Общие сведения</a></div>";
echo "<div class = 'list-group-item'><a href = '/user/anketa/?name=$ank[nick]&mod=work'><span class='fa fa-briefcase fa-fw'></span> Работа и образование</a></div>";
echo "<div class = 'list-group-item'><a href = '/user/anketa/?name=$ank[nick]&mod=locations'><span class='fa fa-building fa-fw'></span> Место проживания</a></div>";
echo "<div class = 'list-group-item'><a href = '/user/anketa/?name=$ank[nick]&mod=contacts'><span class='fa fa-phone-square fa-fw'></span> Контакты и ссылки</a></div>";
echo "<div class = 'list-group-item'><a href = '/user/anketa/?name=$ank[nick]&mod=family'><span class='fa fa-female fa-fw'></span> Семья и отношения</a></div>";
echo "<div class = 'list-group-item'><a href = '/user/anketa/?name=$ank[nick]&mod=events'><span class='fa fa-calendar-check-o fa-fw'></span> События из жизни</a></div>";
echo "<div class = 'list-group-item'><a href = '/user/anketa/?name=$ank[nick]&mod=activity'><span class='fa fa-commenting-o fa-fw'></span> Активность</a></div>";
echo "<div class = 'list-group-item'><a href = '/user/anketa/?name=$ank[nick]&mod=character_type'><span class='fa fa-user-secret fa-fw'></span> Типаж</a></div>";
echo "<div class = 'list-group-item'>";
echo "<a href = '/user/anketa/?name=$ank[nick]'><span class='fa fa-futbol-o fa-fw'></span> Интересы и увлечения</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 "<div class = 'list-group-item'><a href = '/user/anketa/?name=$ank[nick]&mod=position'><span class='fa fa-child fa-fw'></span> Жизненная позиция</a></div>";