Файл: user/anketa/locations.php
Строк: 161
<?php
/* DCMS S (Special)
* Версия файла 0.0.1
* Дата последнего редактирования 12.11.2015
* Модифицировал densnet
*/
only_reg();
if ($ank['country'] == NULL) {
$country = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=information&country'>?</a>";
} else {
$country = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&country'>$ank[country]</a>";
}
if ($ank['region'] == NULL) {
$region = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=information&country'>?</a>";
} else {
$region = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&country'>$ank[region]</a>";
}
if ($ank['ank_city'] == NULL) {
$ank_city = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=information&country'>?</a>";
} else {
$ank_city = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&country'>$ank[ank_city]</a>";
}
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'>";
echo "<a href = '/user/anketa/?name=$ank[nick]'><span class='fa fa-building fa-fw'></span> Место проживания</a>";
echo "<div class = 'hr'></div>";
echo "Страна: $country ";
echo "" . country($ank['id']) . "<br />";
echo "Область (Край): $region<br />";
echo "Город: $ank_city<br />";
echo "</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'><a href = '/user/anketa/?name=$ank[nick]&mod=hobbies'><span class='fa fa-futbol-o fa-fw'></span> Интересы и увлечения</a></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>";