Файл: user/anketa/character_type.php
Строк: 247
<?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 "<div class = 'list-group-item'>";
echo "<a href = '/user/anketa/?name=$ank[nick]'><i class='material-icons'>accessibility</i> Типаж</a>";
echo "<div class = 'hr'></div>";
if ($ank['ank_hair'] == NULL) {
$ank_hair = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=character_type&ank_hair'>?</a>";
} else {
$ank_hair = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=character_type&ank_hair'>$ank[ank_hair]</a>";
}
if ($ank['ank_eye'] == NULL) {
$ank_eye = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=character_type&ank_hair'>?</a>";
} else {
$ank_eye = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=character_type&ank_hair'>$ank[ank_eye]</a>";
}
if ($ank['ank_height'] == 10) {
$ank_height = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=character_type&ank_hair'>?</a>";
} else {
$ank_height = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=character_type&ank_hair'>$ank[ank_height]</a>";
}
if ($ank['ank_weight'] == 10) {
$ank_weight = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=character_type&ank_hair'>?</a>";
} else {
$ank_weight = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=character_type&ank_hair'>$ank[ank_weight]</a>";
}
if ($ank['ank_physique'] == 0) {
$ank_physique = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=character_type&ank_hair'>?</a>";
}
if ($ank['ank_physique'] == 1) {
$ank_physique = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=character_type&ank_hair'>Обычное</a>";
}
if ($ank['ank_physique'] == 2) {
$ank_physique = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=character_type&ank_hair'>Худощавое</a>";
}
if ($ank['ank_physique'] == 3) {
$ank_physique = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=character_type&ank_hair'>Спортивное</a>";
}
if ($ank['ank_physique'] == 4) {
$ank_physique = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=character_type&ank_hair'>Мускулистое</a>";
}
if ($ank['ank_physique'] == 5) {
$ank_physique = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=character_type&ank_hair'>Плотное</a>";
}
if ($ank['ank_physique'] == 6) {
$ank_physique = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=character_type&ank_hair'>Полное</a>";
}
echo "Цвет волос: $ank_hair<br />";
echo "Цвет глаз: $ank_eye<br />";
echo "Рост: $ank_height<br />";
echo "Вес: $ank_weight<br />";
echo "Телосложение: $ank_physique<br />";
echo "</div>";
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>";