Файл: user/anketa/position.php
Строк: 882
<?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'><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'>";
echo "<a href = '/user/anketa/?name=$ank[nick]'><span class='fa fa-child fa-fw'></span> Жизненная позиция</a>";
echo "<div class = 'hr'></div>";
if ($ank['ank_inspiration'] == NULL) {
$ank_inspiration = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=position&ank_inspiration'>?</a>";
} else {
$ank_inspiration = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>$ank[ank_inspiration]</a>";
}
if ($ank['ank_political'] == 0) {
$ank_political = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=position&ank_inspiration'>?</a>";
} elseif ($ank['ank_political'] == 1) {
$ank_political = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Индифферентные</a>";
} elseif ($ank['ank_political'] == 2) {
$ank_political = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Коммунистические</a>";
} elseif ($ank['ank_political'] == 3) {
$ank_political = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Социалистические</a>";
} elseif ($ank['ank_political'] == 4) {
$ank_political = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Умеренные</a>";
} elseif ($ank['ank_political'] == 5) {
$ank_political = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Либеральные</a>";
} elseif ($ank['ank_political'] == 6) {
$ank_political = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Консервативные</a>";
} elseif ($ank['ank_political'] == 7) {
$ank_political = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Монархические</a>";
} elseif ($ank['ank_political'] == 8) {
$ank_political = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Ультраконсервативные</a>";
} elseif ($ank['ank_political'] == 9) {
$ank_political = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Либертарианские</a>";
}
if ($ank['ank_world_view'] == 0) {
$ank_world_view = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=position&ank_inspiration'>?</a>";
} elseif ($ank['ank_world_view'] == 1) {
$ank_world_view = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Иудаизм</a>";
} elseif ($ank['ank_world_view'] == 2) {
$ank_world_view = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Православие</a>";
} elseif ($ank['ank_world_view'] == 3) {
$ank_world_view = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Католицизм</a>";
} elseif ($ank['ank_world_view'] == 4) {
$ank_world_view = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Протестантизм</a>";
} elseif ($ank['ank_world_view'] == 5) {
$ank_world_view = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Ислам</a>";
} elseif ($ank['ank_world_view'] == 6) {
$ank_world_view = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Буддизм</a>";
} elseif ($ank['ank_world_view'] == 7) {
$ank_world_view = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Конфуцианство</a>";
} elseif ($ank['ank_world_view'] == 8) {
$ank_world_view = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Светский гуманизм</a>";
} elseif ($ank['ank_world_view'] == 9) {
$ank_world_view = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Пастафарианство</a>";
}
if ($ank['ank_important_life'] == 0) {
$ank_important_life = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=position&ank_inspiration'>?</a>";
} elseif ($ank['ank_important_life'] == 1) {
$ank_important_life = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Семья и дети</a>";
} elseif ($ank['ank_important_life'] == 2) {
$ank_important_life = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Карьера и деньги</a>";
} elseif ($ank['ank_important_life'] == 3) {
$ank_important_life = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Развлечения и отдых</a>";
} elseif ($ank['ank_important_life'] == 4) {
$ank_important_life = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Наука и исследования</a>";
} elseif ($ank['ank_important_life'] == 5) {
$ank_important_life = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Совершенствование мира</a>";
} elseif ($ank['ank_important_life'] == 6) {
$ank_important_life = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Саморазвитие</a>";
} elseif ($ank['ank_important_life'] == 7) {
$ank_important_life = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Красота и искусство</a>";
} elseif ($ank['ank_important_life'] == 8) {
$ank_important_life = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Слава и влияние</a>";
}
if ($ank['ank_important_people'] == 0) {
$ank_important_people = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=position&ank_inspiration'>?</a>";
} elseif ($ank['ank_important_people'] == 1) {
$ank_important_people = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Ум и креативность</a>";
} elseif ($ank['ank_important_people'] == 2) {
$ank_important_people = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Доброта и честность</a>";
} elseif ($ank['ank_important_people'] == 3) {
$ank_important_people = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Красота и здоровье</a>";
} elseif ($ank['ank_important_people'] == 4) {
$ank_important_people = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Власть и богатство</a>";
} elseif ($ank['ank_important_people'] == 5) {
$ank_important_people = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Смелость и упорство</a>";
} elseif ($ank['ank_important_people'] == 6) {
$ank_important_people = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Юмор и жизнелюбие</a>";
}
if ($ank['ank_smoking'] == 0) {
$ank_smoking = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=position&ank_inspiration'>?</a>";
} elseif ($ank['ank_smoking'] == 1) {
$ank_smoking = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Резко негативное</a>";
} elseif ($ank['ank_smoking'] == 2) {
$ank_smoking = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Негативное</a>";
} elseif ($ank['ank_smoking'] == 3) {
$ank_smoking = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Компромиссное</a>";
} elseif ($ank['ank_smoking'] == 4) {
$ank_smoking = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Нейтральное</a>";
} elseif ($ank['ank_smoking'] == 5) {
$ank_smoking = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Положительное</a>";
}
if ($ank['ank_alcohol'] == 0) {
$ank_alcohol = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=position&ank_inspiration'>?</a>";
} elseif ($ank['ank_alcohol'] == 1) {
$ank_alcohol = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Резко негативное</a>";
} elseif ($ank['ank_alcohol'] == 2) {
$ank_alcohol = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Негативное</a>";
} elseif ($ank['ank_alcohol'] == 3) {
$ank_alcohol = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Компромиссное</a>";
} elseif ($ank['ank_alcohol'] == 4) {
$ank_alcohol = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Нейтральное</a>";
} elseif ($ank['ank_alcohol'] == 5) {
$ank_alcohol = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=position&ank_inspiration'>Положительное</a>";
}
echo "Полит. предпочтения: $ank_political<br />";
echo "Мировоззрение: $ank_world_view<br />";
echo "Главное в жизни: $ank_important_life<br />";
echo "Главное в людях: $ank_important_people<br />";
echo "Отношение к курению: $ank_smoking<br />";
echo "Отношение к алкоголю: $ank_alcohol<br />";
echo "Источники вдохновения: $ank_inspiration<br />";
echo "</div>";