Файл: user/anketa/family.php
Строк: 426
<?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'>";
echo "<a href = '/user/anketa/?name=$ank[nick]'><span class='fa fa-female fa-fw'></span> Семья и отношения</a>";
echo "<div class = 'hr'></div>";
echo "Цель знакомств: ";
if ($ank['ank_goal_dating'] == 0 && $ank['ank_goal_dating2'] == 0 && $ank['ank_goal_dating3'] == 0 && $ank['ank_goal_dating4'] == 0 && $ank['ank_goal_dating5'] == 0 && $ank['ank_goal_dating6'] == 0 && $ank['ank_goal_dating7'] == 0 && $ank['ank_goal_dating'] == 0) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=information&love'>?</a>";
}
if ($ank['ank_goal_dating'] == 1) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>Дружба и общение,</a> ";
}
if ($ank['ank_goal_dating2'] == 1) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>Флирт, СМС-переписка,</a> ";
}
if ($ank['ank_goal_dating3'] == 1) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>Любовь, отношения,</a> ";
}
if ($ank['ank_goal_dating4'] == 1) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>Брак, создание семьи,</a> ";
}
if ($ank['ank_goal_dating5'] == 1) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>Виртуальный секс,</a> ";
}
if ($ank['ank_goal_dating6'] == 1) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>Секс в реале,</a> ";
}
if ($ank['ank_goal_dating7'] == 1) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>Ищу спонсора,</a> ";
}
if ($ank['ank_goal_dating8'] == 1) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>Стану спонсором,</a> ";
}
echo "<br />Семейное положение: ";
if ($ank['ank_marriage'] == 0) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=information&love'>?</a>";
}
if ($ank['ank_marriage'] == 1) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>Без пары</a>";
}
if ($ank['ank_marriage'] == 2) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>Встречается</a>";
}
if ($ank['ank_marriage'] == 3) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>" . ($ank['sex'] ? 'Помолвлен' : 'Помолвлена') . "</a>";
}
if ($ank['ank_marriage'] == 4) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>В браке</a>";
}
if ($ank['ank_marriage'] == 5) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>В гражданском браке</a>";
}
if ($ank['ank_marriage'] == 6) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>В домашнем партнерстве</a>";
}
if ($ank['ank_marriage'] == 7) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>В свободных отношениях</a>";
}
if ($ank['ank_marriage'] == 8) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>Все сложно</a>";
}
if ($ank['ank_marriage'] == 9) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>Раздельное проживание</a>";
}
if ($ank['ank_marriage'] == 10) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>В разводе</a>";
}
if ($ank['ank_marriage'] == 11) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>" . ($ank['sex'] ? 'Вдовец' : 'Вдова') . "</a>";
}
if ($ank['ank_marriage'] == 12) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>" . ($ank['sex'] ? 'Влюблен' : 'Влюблена') . "</a>";
}
echo "<br />Ориентация: ";
if ($ank['ank_orientation'] == 0) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=information&love'>?</a>";
}
if ($ank['ank_orientation'] == 1) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>Гетеро</a>";
}
if ($ank['ank_orientation'] == 2) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>Гей/лесби</a>";
}
if ($ank['ank_orientation'] == 3) {
echo "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=information&love'>Би</a>";
}
echo "</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'><a href = '/user/anketa/?name=$ank[nick]&mod=position'><span class='fa fa-child fa-fw'></span> Жизненная позиция</a></div>";