Файл: user/anketa/family.php
Строк: 417
<?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 "<div class = 'list-group-item'>";
echo "<a href = '/user/anketa/?name=$ank[nick]'><i class='material-icons'>child_friendly</i> Семья и отношения</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 "<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 "<a class = 'list-group-item' href = '/user/anketa/?name=$ank[nick]&mod=character_type'><i class='material-icons'>accessibility</i> Типаж</a>";
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>";