Файл: user/anketa/character_type.php
Строк: 256
<?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'>";
echo "<a href = '/user/anketa/?name=$ank[nick]'><span class='fa fa-user-secret fa-fw'></span> Типаж</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 "<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>";