Вход Регистрация
Файл: user/anketa/position.php
Строк: 873
<?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]&amp;mod=information'><i class='material-icons'>chat</i> Общие сведения</a>";
echo 
"<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&amp;mod=work'><i class='material-icons'>work</i> Работа и образование</a>";
echo 
"<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&amp;mod=locations'><i class='material-icons'>location_city</i> Место проживания</a>";
echo 
"<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&amp;mod=contacts'><i class='material-icons'>contact_phone</i> Контакты и ссылки</a>";
echo 
"<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&amp;mod=family'><i class='material-icons'>child_friendly</i> Семья и отношения</a>";
echo 
"<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&amp;mod=events'><i class='material-icons'>event</i> События из жизни</a>";
echo 
"<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&amp;mod=activity'><i class='material-icons'>important_devices</i> Активность</a>";
echo 
"<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&amp;mod=character_type'><i class='material-icons'>accessibility</i> Типаж</a>";
echo 
"<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&amp;mod=hobbies'><i class='material-icons'>pool</i> Интересы и увлечения</a>";
echo 
"<div class = 'list-group-item'>";
echo 
"<a href = '/user/anketa/?name=$ank[nick]'><i class='material-icons'>local_library</i> Жизненная позиция</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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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>";
echo 
"</div>";
Онлайн: 1
Реклама