Файл: user/anketa/locations.php
Строк: 152
<?php
/* DCMS Special
* Дата последнего редактирования 21.12.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='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 "<div class = 'list-group-item'>";
echo "<a href = '/user/anketa/?name=$ank[nick]'><i class='material-icons'>location_city</i> Место проживания</a>";
echo "<div class = 'hr'></div>";
echo "Страна: $country ";
echo "" . country($ank['id']) . "<br />";
echo "Область (Край): $region<br />";
echo "Город: $ank_city<br />";
echo "</div>";
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 "<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&mod=hobbies'><i class='material-icons'>pool</i> Интересы и увлечения</a>";
echo "<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&mod=position'><i class='material-icons'>local_library</i> Жизненная позиция</a>";
echo "</div>";