Файл: user/anketa/contacts.php
Строк: 190
<?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'>";
echo "<a href = '/user/anketa/?name=$ank[nick]'><span class='fa fa-phone-square fa-fw'></span> Контакты и ссылки</a>";
echo "<div class = 'hr'></div>";
if ($ank['ank_icq'] == NULL && $ank['ank_icq'] == 0) {
$ank_icq = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=contacts&ank_icq'>?</a>";
} else {
$ank_icq = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=contacts&ank_icq'><img src = "http://web.icq.com/whitepages/online?icq=$ank[ank_icq]&img=27" alt="icq" height="16" width="16" /> $ank[ank_icq]</a>";
}
if ($ank['ank_n_tel'] == NULL) {
$ank_n_tel = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=contacts&ank_icq'>?</a>";
} else {
$ank_n_tel = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=contacts&ank_icq'>$ank[ank_n_tel]</a>";
}
if ($ank['ank_n_tel_home'] == NULL) {
$ank_n_tel_home = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:grey;' href = '?mod=contacts&ank_icq'>?</a>";
} else {
$ank_n_tel_home = "<a style = 'cursor:pointer;text-decoration:underline;color:#069;background-color:transparent;border:0;color:green;' href = '?mod=contacts&ank_icq'>$ank[ank_n_tel_home]</a>";
}
if ($ank['ank_mail'] != NULL && ($ank['set_show_mail'] == 1 || isset($user) && ($user['level'] > $ank['level'] || $user['level'] == 4))) {
if ($ank['set_show_mail'] == 0) {
$hide_mail = ' (скрыт)';
} else {
$hide_mail = NULL;
}
if (preg_match("#(@mail.ru$)|(@bk.ru$)|(@inbox.ru$)|(@list.ru$)#", $ank['ank_mail'])) {
echo "<img src="http://status.mail.ru/?$ank[ank_mail]" width="13" height="13" alt="" /> <a href="mailto:$ank[ank_mail]" title="Написать письмо">$ank[ank_mail]</a>$hide_mail<br />n";
} else {
echo "E-mail: <a href="mailto:$ank[ank_mail]" title="Написать письмо">$ank[ank_mail]</a>$hide_mail<br />n";
}
}
echo "Телефон (Дом): $ank_n_tel_home<br />";
echo "Телефон (Моб): $ank_n_tel<br />n";
echo "ICQ: $ank_icq<br />";
echo "</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'><a href = '/user/anketa/?name=$ank[nick]&mod=position'><span class='fa fa-child fa-fw'></span> Жизненная позиция</a></div>";