Salam, Qonaq
 Əsas Səhifə | GirişQeydiyyatDil seç: AZ  

Son Aktivlik

Master Forum | Skript / Komek | Komek Lazimdir
Axtarış | Başliq Fayllari (2)
  johncms kömek
1 2 >>
StarN!cK StarN!cK (SV!) [Off] [#] (23.05.2016 / 16:03)
Ne Olursan OL Önce İnsan OL...!!!
salam hamıya keçen gün maksi dostumu johncms nin Yaxsı skriptini paylaşım etmiwdi heç ne sevhi yoxdur demiwdi amma sevhlikler var meselen profilim e daxil oluram en üstde sevh görsenir bu nedendi bilen kömek etsin zehmet deyilse
Sistem Sistem [Off] [#] (23.05.2016 / 16:03)
WapUsta.Net :)
Təbriklər.! Yeni Mövzu uğurla yaradıldı. Mövzu qaydalara uyğun olmazsa silinəcək. Mövzuda təhqir edici vəya Dövlət əleyhinə olan sözlər və bu tip Şərhlər silinəcək unutmayın yazdığınız mətnlərə görə cavabdeh sizsiniz.!
StarN!cK StarN!cK (SV!) [Off] [#] (23.05.2016 / 16:03)
Ne Olursan OL Önce İnsan OL...!!!
sevh...
Fayl:
Şekile Baxış
(0 кб.)
Yüklenib: 41 defe
Sistem Sistem [Off] [#] (23.05.2016 / 16:09)
WapUsta.Net :)
StarN!cK Mövzunu uğurla 5 saatlıq ViP Mövzular siyahısına əlavə etdi.!
Mr_Elnur Mr_Elnur [Off] [#] (23.05.2016 / 16:17)
Yeqin incfiles/head_wap.php editlemisen
StarN!cK StarN!cK (SV!) [Off] [#] (23.05.2016 / 16:25)
Ne Olursan OL Önce İnsan OL...!!!
Mr_Elnur, qaqaw onu bilirem sevhlik hardadi deqiq onu bilmirem
FENOMEN FENOMEN [Off] [#] (23.05.2016 / 16:33)
Qeydiyyat tarixi: 02.03.2012
Həmin php də hansısa a teqi bağlanmıyıb.Məsəslən bax gör səhifə hara kimi açılır onan aşağı açılmayan hissəsinə bax orda link yazılan teq açıq qalıb yəni </a> bağlanmayıb
Dey. FENOMEN (23.05.2016 / 16:34) [1]
FENOMEN FENOMEN [Off] [#] (23.05.2016 / 16:36)
Qeydiyyat tarixi: 02.03.2012
Həmçinin span teqi
FENOMEN FENOMEN [Off] [#] (23.05.2016 / 16:41)
Qeydiyyat tarixi: 02.03.2012
İstəsən bazanı yaz mənə həll edim
_MaksI_ _MaksI_ [Off] [#] (23.05.2016 / 16:47)
Designer Elit.Az :)
23 səhifədə bağlanmamiş teq var
Ancaq profilə daxil olandə verir bu səhfi?
FENOMEN FENOMEN [Off] [#] (23.05.2016 / 16:54)
Qeydiyyat tarixi: 02.03.2012
_MaksI_, Hə mən lori dildə dedimdə
StarN!cK StarN!cK (SV!) [Off] [#] (23.05.2016 / 16:56)
Ne Olursan OL Önce İnsan OL...!!!
FENOMEN, <?php

define('_IN_JOHNCMS', 1);

$headmod = 'anketa';
require_once ('../incfiles/core.php');

if (!$user_id) {
require_once ('../incfiles/head.php');
display_error('Yalniz Qeydiyyatdan kecmisler ucundur');
require_once ('../incfiles/end.php');
exit;
}
////////////// nik ile bir basa
$name_lat = isset($_GET['us']) ? trim($_GET['us']) : '';
$name_lat = rus_lat (mb_strtolower ($name_lat));
if (!empty ($name_lat))
{
if (mysql_result (mysql_query ("SELECT COUNT(*) FROM `users`
WHERE `name_lat` = '" .mysql_real_escape_string($name_lat). "' LIMIT 1;"), 0) != 0)
$id = mysql_result (mysql_query ("SELECT `id` FROM `users`
WHERE `name_lat` = '" .mysql_real_escape_string($name_lat). "' LIMIT 1;"), 0);
}
////////////// son

if ($id && $id != $user_id) {
// Е�&#65533;ли был запро�&#65533; на юзера, то получаем его данные
$req = mysql_query("SELECT * FROM `users` WHERE `id` = '$id' LIMIT 1");
if (mysql_num_rows($req)) {
$user = mysql_fetch_assoc($req);
$textl = 'Anket : ' . $user['name'];

if (mysql_result(mysql_query("SELECT COUNT(*) FROM `filefor` WHERE `id` = '" . $user['id'] . "'"), 0) == 0)
mysql_query("INSERT INTO `filefor` SET
`id`='" . $user['id'] . "',
`type`='a'");

}
else {
require_once ('../incfiles/head.php');
echo display_error('Axtardiginiz seyahetci tapilmadi');
require_once ("../incfiles/end.php");
exit;
}
///////////////modul
if ($user['dostup']== 1 && $rights <=7 ) {
$query = mysql_query("SELECT * FROM `friends` WHERE `user` = '" . $user_id . "' AND `to`='" . $user['id'] . "'");
if(mysql_num_rows($query) != 0) {
$row = mysql_fetch_assoc($query);
}else {
require_once('../incfiles/head.php');
echo display_error('Anketine Yalniz Dostlari baxa biler');
$friends = mysql_query("SELECT * FROM `friends` WHERE `user`='" . $user_id . "' AND `to`='" . $user['id'] . "';");
$friend = mysql_num_rows($friends);
{
echo '<li><div class="rmenu"><a href="friends.php?act=add&amp;id=' . $id . '"><font color="#FFFFFF"><b>Dostluq teklifi gonder</b></font></a></div></li>';
}

require_once("../incfiles/end.php");
exit;
}
}
//////// modul son
}else {
$id = false;
$textl = 'Sexsi anket';
$user = $datauser;
}

require_once ('../incfiles/head.php');

$type = mysql_query("SELECT * FROM `filefor` WHERE `id` = '".$user['id']."' AND `type` = 'a' LIMIT 1");
$use = mysql_fetch_array($type);
echo '<div class="gmenu">';
if ($user['dostlar']== 1 && $id ) {
echo '<script type="text/javascript">
sitePath = "'.$home.'/let-it-snow/";
sflakesMax = 64;
sflakesMaxActive = 64;
svMaxX = 2;
svMaxY = 3;
ssnowStick = 1;
sfollowMouse = 0;
</script>
<script type="text/javascript" src="'.$home.'/let-it-snow/script/snowstorm.js">
</script>';
}
////////////////////////////////////////////////////////////
// Выводим анкету пользовател�&#65533; //
////////////////////////////////////////////////////////////
/*//////////////// gizli omaq
if ($user['gizli'] == 1){
require_once ('../incfiles/head.php');
echo '<div class="phdr">' . (!$id || $id == $user_id || $rights >= 7 ? '<a href="my_data.php' . ($id ? '?id=' . $id : '') . '"><b>Anketi Deyişdir</b></a></div>' : '&nbsp;</div>');



echo '<div class="bmenu"><img src="../theme/' . $set_user['skin'] . '/images/' . ($user['sex'] == 'm' ? 'm' : 'w') . ($user['datereg'] > $realtime - 86400 ? '_new' : '') . '.png" width="16" height="16" class="left" />&nbsp;';


echo '<font color="#000000"><b>**Gizli*** (id: ***)</b></font>';
if ($realtime > $user['lastdate'] + 300) {
echo ' <img src="../images/off.png"/><br/>';
$lastvisit = date("d.m.Y (H:i)", $user['lastdate']);
} else {
echo ' <img src="../images/onn.png"/><br/>';
}

echo '<ul>';
//==============================

echo '<li><b>Status: </b>********</li>';

//==============================


////////////////////////////////////////////


//////////////////////////
// Показываем аватар (е�&#65533;ли е�&#65533;ть)
echo '<li>Avatar:<br /><img src="../images/gizli.gif" width="32" height="32" alt="" /></li>';
// Показываем фотографию (е�&#65533;ли е�&#65533;ть))
echo '<li>Foto:<br /><img src="../images/gizli.gif" alt="" border="0" /></li>';
//=========================================
echo '</ul></div>';

echo '<div class="footer">' . (!$id || $id == $user_id || $rights >= 7 ? '<a href="my_data.php' . ($id ? '?id=' . $id : '') . '"><b>Anketi deyisdir</b></a>' : '');
if ($id && !$user['immunity'] && $id != $user_id && $rights > $user['rights']) {
if ($rights >= 7)
echo ' | ';
echo '<a href="users_ban.php?act=ban&amp;id=' . $user['id'] . '">Ban et</a>';
if ($rights >= 9)
echo ' | <a href="../' . $admp . '/index.php?act=usr_del&amp;id=' . $user['id'] . '"> Sil</a><br/>';
}
echo '</div>';
//============================================================

require_once ('../incfiles/end.php');

exit;
}
*///////////////// gizli olmaq son
// anketi gizletmek! altda baglanir
$set_users = array();
$set_users = unserialize($user['set_user']);
////// if ($set_users['pokaz'] == 1 && $id){ ////// bunda admin baxa bilmir
if ($set_users['pokaz'] == 1 && $id && $set['mod_pokaz']==1 && $rights <=8){
require_once ('../incfiles/head.php');
echo '<div class="rmenu"><b>Bu istifadecinin Anketi gizlidir</b></div></br> <a href="../index.php?act=cab">Kabinete don</a>';
require_once ('../incfiles/end.php');
exit;
}
///// gizli anket son
echo '<div class="footer"><b>' . ($id ? 'Anketi' : 'Anketim') . '</b> ' . (!$id || $id == $user_id || $rights >= 7 ? ' | <a href="my_data.php' . ($id ? '?id=' . $id : '') . '"><b> Deyisdir </b></a>' : '');
echo '</div>';
if ($user['dayb'] == $day && $user['monthb'] == $mon) {
echo '<div class="rmenu"><b>Bugun bu istifadecinin dogum gunudur.Onu Tebrik etmeyi unutmayin !!</b></div>';
}
echo '<div class="menu">';
///
echo '<table cellpadding="0" cellspacing="0"><tr><td>';
if (file_exists(('../files/avatar/' . $user['id'] . '.png')))
echo'<p><div class="avatar"><b>Avatar:</b><img src="../files/avatar/' . $user['id'] . '.png" width="32" height="32" alt="' . $user['name'] . '" />&nbsp;</div></p>';
else
echo '<p><div class="avatar"><b>Avatar:</b><img src="../images/empty.png" width="32" height="32" alt="' . $user['name'] . '" />&nbsp;</div></p>';
echo' </td><td> ';
if (!empty($user['znak'])){
$znak = '<img src="../znak/'. $user['znak'] .'.gif" class="right" />';
}else $znak = '';
if ($user['sex'])
echo ' <img src="../theme/' . $set_user['skin'] . '/images/' . ($user['sex'] == 'm' ? 'm' : 'w') . ($user['datereg'] > $realtime - 86400 ? '_new' : '') . '.png" width="16" height="16" align="middle" />&nbsp;';
else
echo'<img src="../images/del.png" width="12" height="12" align="middle" />&nbsp;';
$colornick = mysql_fetch_assoc(mysql_query("select `colornick` from `users` where `id`='".$user_id."';"));//выборка цвета ника из базы
$colornickk = mysql_fetch_assoc(mysql_query("select `colornick` from `users` where `id`='".$user['id']."';"));//выборка цвета ника из базы
$colornick = mysql_fetch_assoc(mysql_query("select `colornick`,`colornick2` from `users` where `id`='".$user_id."';"));
$colornickk = mysql_fetch_assoc(mysql_query("select `colornick`,`colornick2` from `users` where `id`='".$user['id']."';"));
echo '<b>' . $znak. ''.gradient('' . $user['name'] . '', '' . $colornickk['colornick'] . '',''.$colornickk['colornick2'].'').' (id: ' . $user['id'] . ')</b>';
echo ($realtime > $user['lastdate'] + 300 ? '<img src="../images/of.png" alt="."/>' : '<img src="../images/on.png" alt="."/>');
if (!empty ($user['status'])){
echo '<br/><img src="../theme/' . $set_user['skin'] . '/images/label.png" alt="" align="middle" />&nbsp;' . tags($user['status']) . '';
///////////leomc
$le=mysql_query("select * from stsbeyen where usid='".$user['id']."'");
$leo=mysql_fetch_assoc($le);
$say=mysql_num_rows($le);
$rsay=mysql_num_rows(mysql_query("select * from stsrey where usid='".$user['id']."'"));

echo '&nbsp;&nbsp;<a href="../str/status.php?act=beyen&amp;id='.$user['id'].'"><img src="../images/slike.png"/></a> <font color="green"><a href="../str/status.php?act=likes&amp;id='.$user['id'].'&amp;s=1">'.$say.'</a></font> | <a href="../str/status.php?act=rey&amp;id='.$user['id'].'&amp;s=1"><img src="../images/comment.png" alt="leomc"/> <font color="red">'.$rsay.'</font></a>';
//echo'</div>';
//////////leomc
}
echo '</td></tr></table>';
///
if ($realtime > $user['lastdate'] + 300) {
$lastvisit = date("d.m.Y / H:i", $user['lastdate']);
if (isset($lastvisit))
echo ' <small>Son giri&#351;: ' . $lastvisit . '</small>';
} else {
echo ' <small>Hal hazirda saytdadir</small>';
}

// &#1056;�&#1056;�&#1056;&#1109;&#1056;&#1108; &#1056;&#1113;&#1056;�&#1057;&#1026;&#1056;&#1112;&#1057;�
if ($set_karma['on']) {
echo '<div class="list2">';
$exp = explode('|', $user['plus_minus']);
if ($exp[0] > $exp[1]) {
$karma = $exp[1] ? ceil($exp[0] / $exp[1]) : $exp[0];
$images = $karma > 10 ? '2' : '1';
} else if ($exp[1] > $exp[0]) {
$karma = $exp[0] ? ceil($exp[1] / $exp[0]) : $exp[1];
$images = $karma > 10 ? '-2' : '-1';
} else {
$images = 0;
}
echo '<table width="100%"><tr><td width="22" valign="top"><img src="../images/k_' . $images . '.gif"/></td><td>';
echo '<b>Xarizma (' . $user['karma'] . ')</b><div class="sub">
<span class="green"><a href="karma.php?id=' . $id . '&amp;type=1">+ (' . $exp[0] . ')</a></span> | <span class="red"><a href="karma.php?id=' . $id . '&amp;type=2">- (' . $exp[1] . ')</a></span>';
if ($id) {
if (!$datauser['karma_off'] && (!$user['rights'] || ($user['rights'] && !$set_karma['adm'])) && $user['ip'] != $datauser['ip']) {
$sum = mysql_result(mysql_query("SELECT SUM(`points`) FROM `karma_users` WHERE `user_id` = '$user_id' AND `time` >= '" . $datauser['karma_time'] . "'"), 0);
$count =
mysql_result(mysql_query("SELECT COUNT(*) FROM `karma_users` WHERE `user_id` = '$user_id' AND `karma_user` = '$id' AND `time` > '" . ($realtime - 86400) . "'"), 0);
if ($datauser['postforum'] >= $set_karma['forum'] && $datauser['total_on_site'] >= $set_karma['karma_time'] && ($set_karma['karma_points'] - $sum) > 0 && !$count) {
echo '<br /><a href="karma.php?act=user&amp;id=' . $id . '">ses ver</a>';
}
}
} else {
$total_karma = mysql_result(mysql_query("SELECT COUNT(*) FROM `karma_users` WHERE `karma_user` = '$user_id' AND `time` > " . ($realtime - 86400)), 0);
if ($total_karma > 0)
echo '<br /><a href="karma.php?act=new">Yeni Sesler</a> (' . $total_karma . ')';
}
echo '</div></td></tr></table></div>';
}

// Показываем фотографию (е�&#65533;ли е�&#65533;ть)
if (file_exists(('../files/photo/' . $user['id'] . '_small.jpg'))) {
//echo '<div class="avatar"><li><b>Sekil:<a href="../files/photo/'.$user['id'].'.jpg"><img src="../files/photo/' . $user['id'] . '_small.jpg" alt="' . $user['name'] . '" border="0" /></b></a></li></div>';
/////////////
echo'<ul><table border="0" cellpadding="0" cellspacing="0"><tr><td width="17" background="/images/ramka/001.png" height="17"></td>
<td background="/images/ramka/002.png" height="17"></td>
<td width="17" background="/images/ramka/003.png" height="17"></td></tr>
<tr><td width="17" background="/images/ramka/004.png"></td><td>
<div class="avatar"><a href="../files/photo/'.$user['id'].'.jpg"><img src="../files/photo/' . $user['id'] . '_small.jpg" alt="' . $user['name'] . '" border="0" /></a></div>
</td><td width="17" background="../images/ramka/005.png"></td>
</tr><tr><td width="17" background="../images/ramka/006.png" height="17">
</td><td background="../images/ramka/007.png" height="17"></td>
<td width="17" background="../images/ramka/008.png" height="17"></td></tr></table></ul>';
//////////////

// sekile serh
$new = mysql_result(mysql_query("SELECT COUNT(*) FROM `sekileserh` WHERE `user_id`=" . $user['id'] . " AND `time`>'" . ($realtime - 259200) . "'"), 0);
$total = mysql_result(mysql_query("SELECT COUNT(*) FROM `sekileserh` WHERE `user_id`=" . $user['id'] . ""), 0);
if ($new > 0) {
$serh = $total . '/<span class="red">+' . $new . '</span>';
}
else {
$serh = $total;
}
echo "<li><a href='" .$home. "/str/serh.php?user=".$user['id']."'><span class='green'><b>Serhleri</b></span> ($serh)</a></li>";
// sekile serh son
}
//yeni mod foto albomun baslangici
if (file_exists(('../files/photo/' . $user['id'] . '_small.jpg'))) {
$total_photo = mysql_result(mysql_query("SELECT COUNT(*) FROM `cms_album_files` WHERE `user_id` = '$user[id]'"), 0);
echo '<li><a href="'.$home.'/albums/?act=list&amp;user='.$user['id'].'"><span class="red"><b>FotoAlbomu</b></a>&nbsp;(' . $total_photo . ')</span></li>';
}
if (!empty($user['vezife']))
echo '<li><span class="red"><b>' . tags($user['vezife']) . '</b></span></li>';
if (!empty($user['podpis']))
echo '<li><span class="green"><b>Microblok:</b> ' . smileys(tags($user['podpis'])) . '</span></li>';
//fotoalbomun sonu



if ($id && $id != $user_id) {
echo ' <li><a href="../munasibet/index.php?&amp;id=' .$user['id']. '"><img src="../munasibet/0.gif"/></a> ';
echo ' <a href="'.$home.'/str/opus.php?act=img&amp;kime='.$user['id'].'"><img src="../munasibet/1.gif"/></a> ';
echo ' <a href="'.$home.'/str/gulgonder.php?act=img&amp;kime='.$user['id'].'"><img src="../munasibet/2.gif"/></a> ';
echo ' <a href="'.$home.'/str/gozvur.php?act=img&amp;kime='.$user['id'].'"><img src="../munasibet/3.gif"/></a> ';
echo ' <a href="'.$home.'/str/beyen.php?act=img&amp;kime='.$user['id'].'"><img src="../munasibet/4.gif"/></a> </li>';
}


echo'</div>';
echo'<div class="menu">';
include ('../zvanie/index.php');
$stat = check(mb_substr(trim($_POST['stat']), 0, 100));
$idstat = check(mb_substr(trim($_POST['idstat']), 0, 20));
$status1 = array (0 => '', 1 => '<img src="../images/ehval/ev.gif"/> Evdeyem', 2 => '<img src="../images/ehval/musiqi.gif"/> Musiqiye qulaq asiram', 3 => '<img src="../images/ehval/is.gif"/> isleyirem', 4 => '<img src="../images/ehval/deniz.gif"/> Denize baxiram ', 5 => '<img src="../images/ehval/sevirem2.gif"/> Sevirem', 6 => '<img src="../images/ehval/restoran.gif"/> Restorandayam', 7 => '<img src="../images/ehval/tualet.gif"/> Tualetdeyem', 8 => '<img src="../images/ehval/hamam.gif"/> Hamamdayam', 9 => '<img src="../images/ehval/kus.gif"/> Darixiram', 10 => '<img src="../images/ehval/depresiya.gif"/> Depresiyadayam', 11 => '<img src="../images/ehval/sohbet.gif"/> Dostlarla Sohbet edirem', 12 => '<img src="../images/ehval/kofe.gif"/> Kofe icirem', 13 => '<img src="../images/ehval/siqaret.gif"/> Siqaret cekirem', 14 => '<img src="../images/ehval/qemliyem.gif"/> Qemliyem', 15 => '<img src="../images/ehval/hirsli.gif"/> Hirsliyem', 16 => '<img src="../images/ehval/sevirem.gif"/> Dilek.az-i cox sevirem', 17 => '<img src="../images/ehval/kusmusem.gif"/> Kusmusem Hamiya', 18 => '<img src="../images/ehval/baliqci.gif"/> Baliq TuTuram', 19 => '<img src="../images/ehval/yatib.gif"/> Yatmisam', 20 =>'<img src="../images/ehval/reqs.gif"/> Reqs edirem');
if ($user['stat'])
echo '<li><b>Ehvali:</b> '.$status1[$user['idstat']].' '.tags($user['stat']).'</li>';
if ($user['rights']) {
echo '<li><span class="gray"><b>Selahiyyeti:</b></span> ';
$rank = array(1 => 'Seyahetci', 2 => 'Chat.Moderatoru', 3 => 'Forum.Moderatoru', 4 => 'Oxu Zali.Moderatoru', 5 => 'Qonaq Otagi.Moderatoru', 6 => 'Super.Moderator', 7 =>
'Adminstrator', 8 => 'Bash Adminstrator', 9 => 'SuperVeyzer', 11 => 'Sayt sahibi');
echo '<span class="red"><b>' . $rank[$user['rights']] . '</b></span></li>';
}
////
//======================================================reyting
$qezet = mysql_query("SELECT * FROM `paper` WHERE `avtor` = '".$user['name']."'");
$r7 = mysql_num_rows($qezet);
$gundelik = mysql_query("SELECT * FROM `dnevniki` WHERE `userid` = '".$user['id']."'");
$r8 = mysql_num_rows($gundelik)*10;
$oxuzali = mysql_query("SELECT * FROM `lib` WHERE `avtor` = '".$user['name']."'");
$r9 = mysql_num_rows($oxuzali)*10;
$gelenler = mysql_query("SELECT * FROM `mail_msg` WHERE `id_kont` = '".$user['id']."'");
$r10 = mysql_num_rows($qezet);
$gedenler = mysql_query("SELECT * FROM `mail_msg` WHERE `id_user` = '".$user['id']."'");
$r11 = mysql_num_rows($qezet);
$qonaqlar = mysql_query("SELECT * FROM `my_guest` WHERE `my_id` = '".$user['id']."'");
$r12 = mysql_num_rows($qezet);
$r = $user['postforum'] ;
$r2 = $user['postchat'] ;
$r3 = $user['postguest'] ;
$r4 = $user['otvetov'] ;
$r5 = $user['balans'] ;
$r6 = $user['postchat'] ;
$reyt = $r+$r2+$r3+$r4+$r5+$r6+$r7+$r8 ;
$reytinq = ($r+$r2+$r3+$r4+$r5+$r6+$r7+$r8+$r9+$r10+$r11+$r12)/12 ;
$reytinq = round($reytinq ,0) ;
//=======================================================reyting son
////
echo '<li><b>Reytingi :</b> ' . $reytinq . ' </li>';
if ($user['balans'])
echo '<li><a href="konturbal.php"><b>Balansi :</b></a> ' . $user['balans'] . ' bal</li>';
if ($user['gorod_money'])
echo '<li><b>Pulu :</b> ' . $user['gorod_money'] . ' $ dollar</li>';
if ($user['xal'])
echo '<li><a href="shop.php?act=xalal"><b>Xali :</b></a> ' . $user['xal'] . ' </li>';
///

// music
if ($user['music'] == '') {} else {
echo '<li><object type="application/x-shockwave-flash" data="mp3player.swf" width="200" height="20" id="my players" name="mp3player">';
echo '<param name="movie" value="mp3player.swf" />';
echo '<param name="flashvars" value="mp3='.$user['music'].'" />';
echo '</object></li>';
}
// musicin sonu
echo'<div class="menu">';
echo'</div>';
////// burcs basliq
function zodiak($d, $m)
{
if ($m == 1)
{
if (21 <= $d)
{
$z = '1.Dolça';
}
else
{
$z = '2.Oğlaq';
}
}
if ($m == 2)
{
if (19 <= $d)
{
$z = '3.Balıqlar';
}
else
{
$z = '1.Dolça';
}
}
if ($m == 3)
{
if (21 <= $d)
{
$z = '4.Qoç';
}
else
{
$z = '3.Balıqlar';
}
}
if ($m == 4)
{
if (21 <= $d)
{
$z = '5.Buğa';
}
else
{
$z = '4.Qoç';
}
}
if ($m == 5)
{
if (21 <= $d)
{
$z = '6.�&#65533;kizlər';
}
else
{
$z = '5.Buğa';
}
}
if ($m == 6)
{
if (22 <= $d)
{
$z = 'Xərçəng';
}
else
{
$z = '6.�&#65533;kizlər';
}
}
if ($m == 7)
{
if (23 <= $d)
{
$z = '8.Şir';
}
else
{
$z = '7.Xərçəng';
}
}
if ($m == 8)
{
if (23 <= $d)
{
$z = '9.Qız';
}
else
{
$z = '8.Şir';
}
}
if ($m == 9)
{
if (23 <= $d)
{
$z = '10.Tərəzi';
}
else
{
$z = '9.Qız';
}
}
if ($m == 10)
{
if (23 <= $d)
{
$z = '11.�&#65533;qrəb';
}
else
{
$z = '10.Tərəzi';
}
}
if ($m == 11)
{
if (22 <= $d)
{
$z = '12.Oxatan';
}
else
{
$z = '11.�&#65533;qrəb';
}
}
if ($m == 12)
{
if (22 <= $d)
{
$z = '2.Oğlaq';
}
else
{
$z = '12.Oxatan';
}
}
list($im, $za) = split("[.]", $z);
return "<img src='../images/zodiak/$im.gif' alt='$za' /> $za<br />";
}
////// Burc son
/////О �&#65533;ебе
$out = '';
if (!empty($user['imname']))
$out .= '<li><b>Ad:</b> ' . smileys(tags($user['imname'])) . '</li>';
if (!empty($user['familya']))
$out .= '<li><b>Familya:</b> ' . smileys(tags($user['familya'])) . '</li>';
if (!empty($user['dayb']))
$out .= '<li><b>Dogum Tarixi:</b> ' . $user['dayb'] . '&nbsp;' . $mesyac[$user['monthb']] . '&nbsp;' . $user['yearofbirth'] . ' </li>';
//// Burc
if (!empty($user['dayb']))
$out .= '<li><b>Bürcü:</b> ' . zodiak($user['dayb'], $user['monthb']) . '</li>';
//// Burc son
if (!empty($user['live']))
$out .= '<li><b>Seher:</b> ' . smileys(tags($user['live'])) . '</li>';
if (!empty($user['mobilka']))
$out .= '<li><b>Telefon Modeli:</b> ' . smileys(tags($user['mobilka'])) . '</li>' ;
if (!empty($user['hobbi']))
$out .= '<li><b>Xobbisi:</b> ' . smileys(tags($user['hobbi'])) . '</li>' ;
if (!empty($user['muzika']))
$out .= '<li><b>Sevdiyi Musiqi:</b> ' . smileys(tags($user['muzika'])). '</li>' ;
if (!empty($user['jabber']))
$out .= '<li><b>Sevdiyi Film:</b>&nbsp;' . smileys(tags($user['jabber'])) . '</li>';
if (!empty($user['book']))
$out .= '<li><b>Sevdiyi Kitab:</b> ' . smileys(tags($user['book'])) . '</li>' ;
if (!empty($user['film']))
$out .= '<li><b>Aile Veziyyeti:</b> ' . smileys(tags($user['film'])) . '</li>' ;
if (!empty($user['mekteb']))
$out .= '<li><b>Oxudugu Mekteb:</b> ' . smileys(tags($user['mekteb'])) . '</li>' ;
if (!empty($user['citata']))
$out .= '<li><b>Tehsili:</b> ' . smileys(tags($user['citata'])) . '</li>' ;
if (!empty($user['meksed']))
$out .= '<li><b>Meksedi:</b> ' . smileys(tags($user['meksed'])) . '</li>' ;
if (!empty($user['about']))
$out .= '<li><b>Haqqinda:</b><ul> ' . smileys(tags($user['about'])) . '</ul></li>';
if (!empty($out)) {
echo '<p><h3><img src="../images/get_info.png" width="16" height="16" class="left" />&#160;Sexsi Melumatlari</h3>';
echo $out;
echo '</p>';
}

// Св�&#65533;зь
$out = '';
if (!empty($user['mibile']))
$out .= '<li><b>Tel.No :</b> ' . smileys(tags($user['mibile'])) . '</li>';
if (!empty($user['mail']) && (($id && $user['mailvis']) || !$id || $rights >= 7)) {
$out .= '<li><b>E-mail:</b> ' . smileys(tags($user['mail']));
$out .= ($user['mailvis'] ? '' : '<b> [Gizlidir]</b>') . '</li>';
}
if (!empty($user['icq']))
$out .= '<li><b>ICQ:</b>&nbsp;<img src="http://web.icq.com/whitepages/online?icq=' . $user['icq'] . '&amp;img=5" width="18" height="18" alt="icq" align="middle"/>&nbsp;' . $user['icq'] . '</li>';
if (!empty($user['skype']))
$out .= '<li><b>Skype:</b>&nbsp;' . smileys(tags($user['skype'])) . '</li>';
if (!empty($user['www']))
$out .= '<li><b>Sayt:</b> ' . tags($user['www']) . '</li>';
if (!empty($out)) {
echo '<p><h3><img src="../images/contacts.png" width="16" height="16" class="left" />&nbsp;Elaqe</h3>';
echo $out;
echo '</p>';
}
//statistika
echo '<p><img src="../images/rate.gif" width="16" height="16" class="left" /><span class="red"><b>&nbsp;Statistika</b></span></p>';
if ($rights >= 1 && $rights >= $user['rights']) {
echo '<li><b><span class="gray">Browser:</span> ' . $user['browser'] . '</li>';
$totalip = mysql_result(mysql_query("SELECT COUNT(*) FROM `iphistory` WHERE `user_id` = '" . $user['id'] . "'"), 0);
echo '<li><span class="gray">IP Adressi :</span> <a href="../' . $admp . '/index.php?act=usr_search_ip&amp;ip=' . $user['ip'] . '">' . long2ip($user['ip']) . '</a>&#187;<span class="gray"></span><a href="'.$home.'/str/iphistory.php?id=' . ($id ? '' . $id : ''.$user_id) . '">IP Tarixi: ('.$totalip.')</a></b></li>';
if ($user['immunity'])
echo '<li><span class="green"><b>Toxunulmaz istifadecidir!</b></span></li>';
}
if ($rights >= 7) {
if (!$user['preg'] && empty($user['regadm']))
echo '<li>Qeydiyyat tesdiqin gozleyir</li>';
elseif (!$user['preg'] && !empty($user['regadm']))
echo '<li>Qeydiyyati legv olub ' . $user['regadm'] . '</li>';
elseif ($user['preg'] && !empty($user['regadm']))
echo '<li>Gemiye ugurla qeyd olub ' . $user['regadm'] . '</li>';
}
if (isset ($lastvisit))
echo '<li><b>Sonuncu ' . ($user['sex'] == 'm' ? 'Ziyareti:' : 'Ziyareti:') . ' ' . $lastvisit . '</b></li>';
echo '<li><b>' . ($user['sex'] == 'm' ? 'Saytda' : 'Saytda') . ' kecirdiyi vaxt: ' . timecount($user['total_on_site']) . '</b></li>';
echo '<li><b>' . ($user['sex'] == 'm' ? 'Qeydiyyatdan kecib' : 'Qeydiyyatdan kecib') . ': ' . date("d.m.Y", $user['datereg']) . '</b></li>';
if (!empty($user['set_user']))
$set_user = unserialize($user['set_user']);
echo '<li><b>Secdiyi Thema:</b><a href="themes_top.php"><font color="#0000FF"><b> ' .$set_user['skin']. '</b></font></a></li>'; //
echo '<p><img src="../images/users.png" width="16" height="16" class="left" /><span class="red"><b>&nbsp;Munasibet &nbsp;&raquo;</b></span></p>';

///////////////
if ($user['dqebul']){
echo '<li><span style="color:red"><b>Mektub,MMS-i Yalniz Dostlardan Qebul edir.</b></span></li>';
}
// mesaj dostlardan
if ($id && $id != $user_id) {
$req4 = mysql_query("SELECT * FROM `friends` WHERE `user`='" . $user['id'] . "' AND `to` = '" . $user_id . "'");
$say = mysql_num_rows($req4) ;
if ( $user['dqebul'] == 0 || $say == 1 || $rights >=9){
if( $user['dqebul'] == 1 && $rights >= 9){
echo '<div class="menu"><form enctype="multipart/form-data" method="post" action="'.$home.'/str/pocta.php?act=add&amp;id='.$user['id'].'"><b>(SV-ler yazmaq ucun)</b><br />
<textarea rows="2" cols="20" name="text"></textarea><br/>
<input type="submit" name="submit" value="Yaz"/>
</form></div>';}}
}
// mesaj dostlardan son

if ($id && $id != $user_id) {
echo '<form enctype="multipart/form-data" method="post" action="' . $home . '/str/pochta.php?act=add' . (!$id?'':'&amp;id='.$id) . '"><div class="menu">';
echo '<strong>Mesaj yaz:</strong> (4-1024)<br />
<textarea rows="2" cols="19" name="text"></textarea><br/>';
echo '<input type="submit" name="submit" value="Gonder"/>
</div></form>';
echo '<li><a href="'.$home.'/str/pochta.php?act=history&amp;id=' .$user['id']. '">Aranizdaki Mesajlasma</a></li>';
if ($rights >= 9){
echo '<li><a href="'.$home.'/str/pochta.php?act=history_admin&amp;id=' .$user['id']. '">Mesaj Arxivi/SV</a></li>';
}
echo '<li><a href="pradd.php?act=write&amp;adr=' . $user['id'] . '">MMS gonder</a></li>';
echo '<li><a href="'.$home.'/str/gifts.php?act=img&amp;idout='.$user['id'].'">Hediyye Gonder</a></li>';
$tot = mysql_num_rows(mysql_query("select * from `gifts` where `idout` ='".$user['id']."' " . ($user_id == 0 ? "" : " AND `chek` = '0'"). " "));
if($tot){
echo '<li><a href="../present/present.php?&amp;id=' .$user['id']. '">Hediyyeleri</a> ('.$tot.')</li>';
}
//mukafat
if ($rights >= 3) {
echo '<li><a href="../nagrady/nagrady.php?id=' . $user['id']. '">Mukafat ver</a></li>';
}
//kodu
switch ($act)
{
default:
$us_id = intval ( $_GET['id'] );
$count3 = mysql_result( mysql_query ( "select count(*) from `nagrady_users` where `id_users` = '".$us_id."'"), 0);
}
echo'<li><a href="../nagrady/nagr.php?id='. $user['id'] .'">Mukafatlari</a> ('.$count3.')</li>';
//mukafatin sonu

//Lovhe
$new = mysql_result(mysql_query("SELECT COUNT(*) FROM `wall` WHERE `user_id`=" . $user['id'] . " AND `time`>'" . ($realtime - 259200) . "'"), 0);
$total = mysql_result(mysql_query("SELECT COUNT(*) FROM `wall` WHERE `user_id`=" . $user['id'] . ""), 0);
if ($new > 0) {
$wall = $total . '/<span class="red">+' . $new . '</span>';
}
else {
$wall = $total;
}
echo "<li><a href='" .$home. "/str/wall.php?user=".$user['id']."'>Lovhesine yaz</a> ($wall)</li>";

//sexsi fallari
$tot_dir = mysql_result(mysql_query("SELECT COUNT(*) FROM `zona_dir`WHERE `user_id_dir` = '".$user['id']."' "), 0);
$tot_file = mysql_result(mysql_query("SELECT COUNT(*) FROM `users_file_zona`WHERE `user_id` = '".$user['id']."' AND `mod`>'0' "), 0);
// Считаем новые файлы

$dni = 3;//количе�&#65533;тво дней

$old = $realtime - $dni*86400;
$new_file = mysql_result(mysql_query("SELECT COUNT(*) FROM `users_file_zona` WHERE `user_id` = '".$user['id']."' AND `time` > '".$old."' AND `mod` != '0' "), 0);

echo '<li><a href="../usersfile/index.php?id=' .$user['id'] . '">Şexsi fayllari</a> ('.$tot_dir.'/'.$tot_file.'';
if($new_file >0)
echo '/<span class="red">+'.$new_file.'</span>';
echo ')</li>';
///sonu fayllarin
echo '<li><a href="my_stat.php?id=' . $user['id'] . '">Aktivlik statistikasi</a></li>';
echo '<li><a href="../forum/user_theme.php?id=' . $id . '">Forumdaki Movzulari</a></li>';
echo '<li><a href="my_stat.php?act=forum' . ($id ? '&amp;id=' . $id : '') . '">Forumda son yazilari</a></li>';
$bibla = mysql_result(mysql_query("SELECT COUNT(*) FROM `lib` WHERE `avtor` = '" . $user['name'] . "' AND `type` = 'bk' AND `moder` = '1'"), 0);
echo '<li><a href="../library/?act=my&amp;name='.$user['name'].'">Oxu zalı meqaleleri ('.$bibla.')</a></li>';
}
echo '<p>' . (!$id ? '<li><a href="pochta.php?act=add' . ($id ? '?id=' . $id : '') . '">Mektub gonder</a></p></li>' : '');
echo '<p>' . (!$id ? '<li><a href="pradd.php?act=write' . ($id ? '?id=' . $id : '') . '">MMS gonder</a></p></li>' : '');
echo '<p>' . (!$id ? '<li><a href="wall.php' . ($id ? '?id=' . $id : '') . '">Lovhem</a></p></li>' : '');
echo '<p>' . (!$id ? '<li><a href="'.$home.'/blogs/?act=my' . ($id ? '?id=' . $id : '') . '">Gundeliyim</a></p></li>' : '');;

//Qonaqlara
if ($id && $id != $user_id) {
$g = mysql_result(mysql_query("SELECT * FROM `my_guests` WHERE `my_id` = '" . $id . "' AND `guest_id` = '" . $user_id . "' LIMIT 1;"), 0);
if (!empty($g)) {
@mysql_query("UPDATE `my_guests` SET `time` = '" . $realtime . "', `type` = '0' WHERE `my_id` = '" . $id . "' AND `guest_id` = '" . $user_id . "';");
} else {
@mysql_query("INSERT INTO `my_guests` SET
`my_id` = '" . $id . "',
`time` = '" . $realtime . "',
`guest_id` = '" . $user_id . "',
`type` = '0';");
}
//Фик�&#65533;аци�&#65533; про�&#65533;мотра анкеты
$p_ank = mysql_result(mysql_query("SELECT `prosm_ank` FROM `users` WHERE `id` = '" . $id . "';"), 0);
$i_ank = (int) $p_ank;
$r_ank = $i_ank + 1;
@mysql_query("UPDATE `users` SET `prosm_ank` = '" . $r_ank . "' WHERE `id` = '" . $id . "';");
echo '<li><span class="gray">Anketine baxilib (' . $r_ank . ')</span></li>';
} else {
//С�&#65533;ылка на �&#65533;траницу го�&#65533;тей дл�&#65533; владельца анкеты
$all_guests = @mysql_result(@mysql_query("SELECT COUNT(*) FROM `my_guests` WHERE `my_id` = '" . $user_id . "';"), 0);
$new_guests = @mysql_result(@mysql_query("SELECT COUNT(*) FROM `my_guests` WHERE `my_id` = '" . $user_id . "' AND `type` = '0';"), 0);
echo '<li><a href="' . $home . '/str/my_guests.php?">Qonaqlarim</a>&nbsp;(' . $all_guests . ($new_guests > 0 ? '/<span class="red">' . $new_guests . '</span>' : '') . ')</li>';
}
echo '<p>' . (!$id ? '<li><a href="'.$home.'/present/present.php?&amp;id='.$user_id.'">Hediyyelerim</a></p></li>' : '');
echo '<p>' . (!$id ? '<li><a href="../nagrady/nagr.php?id=' . $user['id'] . '">Mukafatlarim</a></p></li>' : '');
echo '<p>' . (!$id ? '<li><a href=favorites.php?id=' . ($id ? '?id=' . $id : '') . '">Secilmis sehivelerim</a></p></li>' : '');;
//echo '<p>' . (!$id ? '<li><a href="my_stat.php?id=' . $user['id'] . '">Aktivlik statistikam</a></p></li>' : '');
echo '<p>' . (!$id ? '<li><a href="my_stat.php?act=forum&id=' . $user['id'] . '">Forumda son yazilarim</a></p></li>' : '');
$bibla = mysql_result(mysql_query("SELECT COUNT(*) FROM `lib` WHERE `avtor` = '" . $user['name'] . "' AND `type` = 'bk' AND `moder` = '1'"), 0);
echo '</p>' . (!$id ? '<li><a href="../library/?act=my&amp;name='.$user['name'].'">Oxu zalı meqalelerim ('.$bibla.')</a></p></li>' : '');
// Е�&#65533;ли были нарушени�&#65533;, показываем �&#65533;�&#65533;ылку на их и�&#65533;торию
if ($id && $id != $user_id) {
echo'<div class="menu">';
echo'</div>';
echo '<p><img src="../images/users.png" width="16" height="16" class="left" /><span class="red"><b>&nbsp;Elaqeler</b></span></p>';
echo '<li><a href="../sud/new.php?act=new&amp;id=' . $user['id'] . '">Mehkemeye ver</a></li>';
//yeni dostluq fiends
$d = mysql_result(mysql_query("SELECT COUNT(*) FROM `friends` WHERE `user`='$id';"), 0);
echo '<li><a href="friends.php?id=' . $user['id'] . '">Dostlari</a> ('.$d.')</li>';
if ($rights >= 9) {
$total = mysql_result(mysql_query("SELECT COUNT(*) FROM `mail_konts` WHERE `id_user`='" . $id . "' AND `type`='2'"), 0);
echo '<li><a href="' . $home . '/str/iqnorlari.php?id=' . $user['id'] . '">iqnorlari (' .$total. ')</a></li>';
}
// teklif,ve sil
$friends = mysql_query("SELECT * FROM `friends` WHERE `user`='" . $user_id . "' AND `to`='" . $user['id'] . "';");
$friend = mysql_num_rows($friends);
if ($friend != 1)
echo "<li><a href='" . $home . "/str/friends.php?act=add&amp;id=" . $id . "'>Dost ol</a></li>";
else
echo "<li><a href='" . $home . "/str/friends.php?act=del&amp;id=" . $id . "'>Dostluqdan sil</a></li>";
}
// yeni dostluq friends son.
if ($id && $id != $user_id) {
$row = mysql_fetch_assoc(mysql_query("SELECT * FROM `mail_konts` WHERE `id_user` = '" . $user_id . "' AND `id_kont`='" . $user['id'] . "'"));
echo '<li><a href="' .($row['type']==2 ?''.$home.'/str/pochta.php?act=delete&amp;id='.$row['id'].'">iqnordan sil':''.$home.'/str/pochta.php?act=addignor&amp;id='.$user['id'].'">iqnor et') .'</a></li>';
}
$ban = mysql_result(mysql_query("SELECT COUNT(*) FROM `cms_ban_users` WHERE `user_id` = '" . $user['id'] . "'"), 0);
if ($ban)
echo '<li><a href="users_ban.php' . ($id && $id != $user_id ? '?id=' . $user['id'] : '') . '">Qayda pozuntulari</a>&nbsp;<span class="red">(' . $ban . ')</span></li>';
echo '<div class="footer">' . (!$id || $id == $user_id || $rights >= 7 ? '<a href="my_data.php' . ($id ? '?id=' . $id : '') . '"><b>Anketi deyisdir</b></a>' : '');
$amarelle = mysql_fetch_array(mysql_query("SELECT * FROM `pets` WHERE `user_id` = '".$user['id']."'"));
if (isset($amarelle['user_id']) AND $amarelle['pet_id'] >= 1) {
$ost = $realtime - $amarelle['time'];
if ($ost > 604800) mysql_query("UPDATE `pets` SET `pet_id` = '0', `time` = '0' WHERE `user_id` = '".$user['id']."'");
echo '<span style="float : right;"><a href="/pets/pet.php"><img src="/pets/img/' . $amarelle['pet_id'] . '.png" alt="" border="0"/></a></span>';
}

if ($id && !$user['immunity'] && $id != $user_id && $rights > $user['rights']) {
if ($rights >= 7)
echo ' | ';
echo '<a href="users_ban.php?act=ban&amp;id=' . $user['id'] . '">Ban et</a>';
if ($rights >= 9){
echo ' | <a href="../' . $admp . '/index.php?act=usr_del&amp;id=' . $user['id'] . '"> Sil</a><br/>';
}
}
echo '</div>';
echo '</div>';
require_once ('../incfiles/end.php');
?>
StarN!cK StarN!cK (SV!) [Off] [#] (23.05.2016 / 16:57)
Ne Olursan OL Önce İnsan OL...!!!
zehmet değilse hardandı komek et qaqaw
_MaksI_ _MaksI_ [Off] [#] (23.05.2016 / 17:00)
Designer Elit.Az :)
  1. <?php
  2.  
  3. define('_IN_JOHNCMS', 1);
  4.  
  5. $headmod = 'anketa';
  6. require_once ('../incfiles/core.php');
  7.  
  8. if (!$user_id) {
  9. require_once ('../incfiles/head.php');
  10. display_error('Yalniz Qeydiyyatdan kecmisler ucundur');
  11. require_once ('../incfiles/end.php');
  12. }
  13. ////////////// nik ile bir basa
  14. $name_lat = isset($_GET['us']) ? trim($_GET['us']) : '';
  15. $name_lat = rus_lat (mb_strtolower ($name_lat));
  16. if (!empty ($name_lat))
  17. {
  18. if (mysql_result (mysql_query ("SELECT COUNT(*) FROM `users`
  19. WHERE `name_lat` = '" .mysql_real_escape_string($name_lat). "' LIMIT 1;"), 0) != 0)
  20. $id = mysql_result (mysql_query ("SELECT `id` FROM `users`
  21. WHERE `name_lat` = '" .mysql_real_escape_string($name_lat). "' LIMIT 1;"), 0);
  22. }
  23. ////////////// son
  24.  
  25. if ($id && $id != $user_id) {
  26. // ЕÑ&#65533;ли был запроÑ&#65533; на юзера, то получаем его данные
  27. $req = mysql_query("SELECT * FROM `users` WHERE `id` = '$id' LIMIT 1");
  28. if (mysql_num_rows($req)) {
  29. $user = mysql_fetch_assoc($req);
  30. $textl = 'Anket : ' . $user['name'];
  31.  
  32. if (mysql_result(mysql_query("SELECT COUNT(*) FROM `filefor` WHERE `id` = '" . $user['id'] . "'"), 0) == 0)
  33. mysql_query("INSERT INTO `filefor` SET
  34. `id`='" . $user['id'] . "',
  35. `type`='a'");
  36.  
  37. }
  38. else {
  39. require_once ('../incfiles/head.php');
  40. echo display_error('Axtardiginiz seyahetci tapilmadi');
  41. require_once ("../incfiles/end.php");
  42. }
  43. ///////////////modul
  44. if ($user['dostup']== 1 && $rights <=7 ) {
  45. $query = mysql_query("SELECT * FROM `friends` WHERE `user` = '" . $user_id . "' AND `to`='" . $user['id'] . "'");
  46. if(mysql_num_rows($query) != 0) {
  47. $row = mysql_fetch_assoc($query);
  48. }else {
  49. require_once('../incfiles/head.php');
  50. echo display_error('Anketine Yalniz Dostlari baxa biler');
  51. $friends = mysql_query("SELECT * FROM `friends` WHERE `user`='" . $user_id . "' AND `to`='" . $user['id'] . "';");
  52. $friend = mysql_num_rows($friends);
  53. {
  54. echo '<li><div class="rmenu"><a href="friends.php?act=add&amp;id=' . $id . '"><font color="#FFFFFF"><b>Dostluq teklifi gonder</b></font></a></div></li>';
  55. }
  56.  
  57. require_once("../incfiles/end.php");
  58. }
  59. }
  60. //////// modul son
  61. }else {
  62. $id = false;
  63. $textl = 'Sexsi anket';
  64. $user = $datauser;
  65. }
  66.  
  67. require_once ('../incfiles/head.php');
  68.  
  69. $type = mysql_query("SELECT * FROM `filefor` WHERE `id` = '".$user['id']."' AND `type` = 'a' LIMIT 1");
  70. $use = mysql_fetch_array($type);
  71. echo '<div class="gmenu">';
  72. if ($user['dostlar']== 1 && $id ) {
  73. echo '<script type="text/javascript">
  74. sitePath = "'.$home.'/let-it-snow/";
  75. sflakesMax = 64;
  76. sflakesMaxActive = 64;
  77. svMaxX = 2;
  78. svMaxY = 3;
  79. ssnowStick = 1;
  80. sfollowMouse = 0;
  81. </script>
  82. <script type="text/javascript" src="'.$home.'/let-it-snow/script/snowstorm.js">
  83. </script>';
  84. }
  85. ////////////////////////////////////////////////////////////
  86. // Выводим анкету пользователÑ&#65533; //
  87. ////////////////////////////////////////////////////////////
  88. /*//////////////// gizli omaq
  89. if ($user['gizli'] == 1){
  90.   require_once ('../incfiles/head.php');
  91. echo '<div class="phdr">' . (!$id || $id == $user_id || $rights >= 7 ? '<a href="my_data.php' . ($id ? '?id=' . $id : '') . '"><b>Anketi DeyiÅŸdir</b></a></div>' : '&nbsp;</div>');
  92.  
  93.  
  94.  
  95. echo '<div class="bmenu"><img src="../theme/' . $set_user['skin'] . '/images/' . ($user['sex'] == 'm' ? 'm' : 'w') . ($user['datereg'] > $realtime - 86400 ? '_new' : '') . '.png" width="16" height="16" class="left" />&nbsp;';
  96.  
  97.  
  98. echo '<font color="#000000"><b>**Gizli*** (id: ***)</b></font>';
  99. if ($realtime > $user['lastdate'] + 300) {
  100.   echo ' <img src="../images/off.png"/><br/>';
  101.   $lastvisit = date("d.m.Y (H:i)", $user['lastdate']);
  102. } else {
  103.   echo ' <img src="../images/onn.png"/><br/>';
  104. }
  105.  
  106. echo '<ul>';
  107. //==============================
  108.  
  109.   echo '<li><b>Status: </b>********</li>';
  110.  
  111. //==============================
  112.  
  113.  
  114. ////////////////////////////////////////////////////////////////////////
  115. // Показываем аватар (еÑ&#65533;ли еÑ&#65533;Ñ‚ÑŒ)
  116.   echo '<li>Avatar:<br /><img src="../images/gizli.gif" width="32" height="32" alt="" /></li>';
  117. // Показываем фотографию (еÑ&#65533;ли еÑ&#65533;Ñ‚ÑŒ))
  118.   echo '<li>Foto:<br /><img src="../images/gizli.gif" alt="" border="0" /></li>';
  119. //=========================================
  120. echo '</ul></div>';
  121.  
  122. echo '<div class="footer">' . (!$id || $id == $user_id || $rights >= 7 ? '<a href="my_data.php' . ($id ? '?id=' . $id : '') . '"><b>Anketi deyisdir</b></a>' : '');
  123. if ($id && !$user['immunity'] && $id != $user_id && $rights > $user['rights']) {
  124.   if ($rights >= 7)
  125.   echo ' | ';
  126.   echo '<a href="users_ban.php?act=ban&amp;id=' . $user['id'] . '">Ban et</a>';
  127.   if ($rights >= 9)
  128.   echo ' | <a href="../' . $admp . '/index.php?act=usr_del&amp;id=' . $user['id'] . '"> Sil</a><br/>';
  129. }
  130. echo '</div>';
  131. //============================================================
  132.  
  133.   require_once ('../incfiles/end.php');
  134.  
  135.   exit;
  136. }
  137. *///////////////// gizli olmaq son
  138. // anketi gizletmek! altda baglanir
  139. $set_users = array();
  140. $set_users = unserialize($user['set_user']);
  141. ////// if ($set_users['pokaz'] == 1 && $id){ ////// bunda admin baxa bilmir
  142. if ($set_users['pokaz'] == 1 && $id && $set['mod_pokaz']==1 && $rights <=8){
  143. require_once ('../incfiles/head.php');
  144. echo '<div class="rmenu"><b>Bu istifadecinin Anketi gizlidir</b></div></br> <a href="../index.php?act=cab">Kabinete don</a>';
  145. require_once ('../incfiles/end.php');
  146. }
  147. ///// gizli anket son
  148. echo '<div class="footer"><b>' . ($id ? 'Anketi' : 'Anketim') . '</b> ' . (!$id || $id == $user_id || $rights >= 7 ? ' | <a href="my_data.php' . ($id ? '?id=' . $id : '') . '"><b> Deyisdir </b></a>' : '');
  149. echo '</div>';
  150. if ($user['dayb'] == $day && $user['monthb'] == $mon) {
  151. echo '<div class="rmenu"><b>Bugun bu istifadecinin dogum gunudur.Onu Tebrik etmeyi unutmayin !!</b></div>';
  152. }
  153. echo '<div class="menu">';
  154. ///
  155. echo '<table cellpadding="0" cellspacing="0"><tr><td>';
  156. if (file_exists(('../files/avatar/' . $user['id'] . '.png')))
  157. echo'<p><div class="avatar"><b>Avatar:</b><img src="../files/avatar/' . $user['id'] . '.png" width="32" height="32" alt="' . $user['name'] . '" />&nbsp;</div></p>';
  158. else
  159. echo '<p><div class="avatar"><b>Avatar:</b><img src="../images/empty.png" width="32" height="32" alt="' . $user['name'] . '" />&nbsp;</div></p>';
  160. echo' </td><td> ';
  161. if (!empty($user['znak'])){
  162. $znak = '<img src="../znak/'. $user['znak'] .'.gif" class="right" />';
  163. }else $znak = '';
  164. if ($user['sex'])
  165. echo ' <img src="../theme/' . $set_user['skin'] . '/images/' . ($user['sex'] == 'm' ? 'm' : 'w') . ($user['datereg'] > $realtime - 86400 ? '_new' : '') . '.png" width="16" height="16" align="middle" />&nbsp;';
  166. else
  167. echo'<img src="../images/del.png" width="12" height="12" align="middle" />&nbsp;';
  168. $colornick = mysql_fetch_assoc(mysql_query("select `colornick` from `users` where `id`='".$user_id."';"));//выборка цвета ника из базы
  169. $colornickk = mysql_fetch_assoc(mysql_query("select `colornick` from `users` where `id`='".$user['id']."';"));//выборка цвета ника из базы
  170. $colornick = mysql_fetch_assoc(mysql_query("select `colornick`,`colornick2` from `users` where `id`='".$user_id."';"));
  171. $colornickk = mysql_fetch_assoc(mysql_query("select `colornick`,`colornick2` from `users` where `id`='".$user['id']."';"));
  172. echo '<b>' . $znak. ''.gradient('' . $user['name'] . '', '' . $colornickk['colornick'] . '',''.$colornickk['colornick2'].'').' (id: ' . $user['id'] . ')</b>';
  173. echo ($realtime > $user['lastdate'] + 300 ? '<img src="../images/of.png" alt="."/>' : '<img src="../images/on.png" alt="."/>');
  174. if (!empty ($user['status'])){
  175. echo '<br/><img src="../theme/' . $set_user['skin'] . '/images/label.png" alt="" align="middle" />&nbsp;' . tags($user['status']) . '';
  176. ///////////leomc
  177. $le=mysql_query("select * from stsbeyen where usid='".$user['id']."'");
  178. $say=mysql_num_rows($le);
  179. $rsay=mysql_num_rows(mysql_query("select * from stsrey where usid='".$user['id']."'"));
  180.  
  181. echo '&nbsp;&nbsp;<a href="../str/status.php?act=beyen&amp;id='.$user['id'].'"><img src="../images/slike.png"/></a> <font color="green"><a href="../str/status.php?act=likes&amp;id='.$user['id'].'&amp;s=1">'.$say.'</a></font> | <a href="../str/status.php?act=rey&amp;id='.$user['id'].'&amp;s=1"><img src="../images/comment.png" alt="leomc"/> <font color="red">'.$rsay.'</font></a>';
  182. //echo'</div>';
  183. //////////leomc
  184. }
  185. echo '</td></tr></table>';
  186. ///
  187. if ($realtime > $user['lastdate'] + 300) {
  188. $lastvisit = date("d.m.Y / H:i", $user['lastdate']);
  189. if (isset($lastvisit))
  190. echo ' <small>Son giri&#351;: ' . $lastvisit . '</small>';
  191. } else {
  192. echo ' <small>Hal hazirda saytdadir</small>';
  193. }
  194.  
  195. // &#1056;‘&#1056;»&#1056;&#1109;&#1056;&#1108; &#1056;&#1113;&#1056;°&#1057;&#1026;&#1056;&#1112;&#1057;‹
  196. if ($set_karma['on']) {
  197. echo '<div class="list2">';
  198. $exp = explode('|', $user['plus_minus']);
  199. if ($exp[0] > $exp[1]) {
  200. $karma = $exp[1] ? ceil($exp[0] / $exp[1]) : $exp[0];
  201. $images = $karma > 10 ? '2' : '1';
  202. } else if ($exp[1] > $exp[0]) {
  203. $karma = $exp[0] ? ceil($exp[1] / $exp[0]) : $exp[1];
  204. $images = $karma > 10 ? '-2' : '-1';
  205. } else {
  206. $images = 0;
  207. }
  208. echo '<table width="100%"><tr><td width="22" valign="top"><img src="../images/k_' . $images . '.gif"/></td><td>';
  209. echo '<b>Xarizma (' . $user['karma'] . ')</b><div class="sub">
  210. <span class="green"><a href="karma.php?id=' . $id . '&amp;type=1">+ (' . $exp[0] . ')</a></span> | <span class="red"><a href="karma.php?id=' . $id . '&amp;type=2">- (' . $exp[1] . ')</a></span>';
  211. if ($id) {
  212. if (!$datauser['karma_off'] && (!$user['rights'] || ($user['rights'] && !$set_karma['adm'])) && $user['ip'] != $datauser['ip']) {
  213. $sum = mysql_result(mysql_query("SELECT SUM(`points`) FROM `karma_users` WHERE `user_id` = '$user_id' AND `time` >= '" . $datauser['karma_time'] . "'"), 0);
  214. $count = mysql_result(mysql_query("SELECT COUNT(*) FROM `karma_users` WHERE `user_id` = '$user_id' AND `karma_user` = '$id' AND `time` > '" . ($realtime - 86400) . "'"), 0);
  215. if ($datauser['postforum'] >= $set_karma['forum'] && $datauser['total_on_site'] >= $set_karma['karma_time'] && ($set_karma['karma_points'] - $sum) > 0 && !$count) {
  216. echo '<br /><a href="karma.php?act=user&amp;id=' . $id . '">ses ver</a>';
  217. }
  218. }
  219. } else {
  220. $total_karma = mysql_result(mysql_query("SELECT COUNT(*) FROM `karma_users` WHERE `karma_user` = '$user_id' AND `time` > " . ($realtime - 86400)), 0);
  221. if ($total_karma > 0)
  222. echo '<br /><a href="karma.php?act=new">Yeni Sesler</a> (' . $total_karma . ')';
  223. }
  224. echo '</div></td></tr></table></div>';
  225. }
  226.  
  227. // Показываем фотографию (еÑ&#65533;ли еÑ&#65533;Ñ‚ÑŒ)
  228. if (file_exists(('../files/photo/' . $user['id'] . '_small.jpg'))) {
  229. //echo '<div class="avatar"><li><b>Sekil:<a href="../files/photo/'.$user['id'].'.jpg"><img src="../files/photo/' . $user['id'] . '_small.jpg" alt="' . $user['name'] . '" border="0" /></b></a></li></div>';
  230. /////////////
  231. echo'<ul><table border="0" cellpadding="0" cellspacing="0"><tr><td width="17" background="/images/ramka/001.png" height="17"></td>
  232. <td background="/images/ramka/002.png" height="17"></td>
  233. <td width="17" background="/images/ramka/003.png" height="17"></td></tr>
  234. <tr><td width="17" background="/images/ramka/004.png"></td><td>
  235. <div class="avatar"><a href="../files/photo/'.$user['id'].'.jpg"><img src="../files/photo/' . $user['id'] . '_small.jpg" alt="' . $user['name'] . '" border="0" /></a></div>
  236. </td><td width="17" background="../images/ramka/005.png"></td>
  237. </tr><tr><td width="17" background="../images/ramka/006.png" height="17">
  238. </td><td background="../images/ramka/007.png" height="17"></td>
  239. <td width="17" background="../images/ramka/008.png" height="17"></td></tr></table></ul>';
  240. //////////////
  241.  
  242. // sekile serh
  243. $new = mysql_result(mysql_query("SELECT COUNT(*) FROM `sekileserh` WHERE `user_id`=" . $user['id'] . " AND `time`>'" . ($realtime - 259200) . "'"), 0);
  244. $total = mysql_result(mysql_query("SELECT COUNT(*) FROM `sekileserh` WHERE `user_id`=" . $user['id'] . ""), 0);
  245. if ($new > 0) {
  246. $serh = $total . '/<span class="red">+' . $new . '</span>';
  247. }
  248. else {
  249. $serh = $total;
  250. }
  251. echo "<li><a href='" .$home. "/str/serh.php?user=".$user['id']."'><span class='green'><b>Serhleri</b></span> ($serh)</a></li>";
  252. // sekile serh son
  253. }
  254. //yeni mod foto albomun baslangici
  255. if (file_exists(('../files/photo/' . $user['id'] . '_small.jpg'))) {
  256. $total_photo = mysql_result(mysql_query("SELECT COUNT(*) FROM `cms_album_files` WHERE `user_id` = '$user[id]'"), 0);
  257. echo '<li><a href="'.$home.'/albums/?act=list&amp;user='.$user['id'].'"><span class="red"><b>FotoAlbomu</b></a>&nbsp;(' . $total_photo . ')</span></li>';
  258. }
  259. if (!empty($user['vezife']))
  260. echo '<li><span class="red"><b>' . tags($user['vezife']) . '</b></span></li>';
  261. if (!empty($user['podpis']))
  262. echo '<li><span class="green"><b>Microblok:</b> ' . smileys(tags($user['podpis'])) . '</span></li>';
  263. //fotoalbomun sonu
  264.  
  265.  
  266.  
  267. if ($id && $id != $user_id) {
  268. echo ' <li><a href="../munasibet/index.php?&amp;id=' .$user['id']. '"><img src="../munasibet/0.gif"/></a> ';
  269. echo ' <a href="'.$home.'/str/opus.php?act=img&amp;kime='.$user['id'].'"><img src="../munasibet/1.gif"/></a> ';
  270. echo ' <a href="'.$home.'/str/gulgonder.php?act=img&amp;kime='.$user['id'].'"><img src="../munasibet/2.gif"/></a> ';
  271. echo ' <a href="'.$home.'/str/gozvur.php?act=img&amp;kime='.$user['id'].'"><img src="../munasibet/3.gif"/></a> ';
  272. echo ' <a href="'.$home.'/str/beyen.php?act=img&amp;kime='.$user['id'].'"><img src="../munasibet/4.gif"/></a> </li>';
  273. }
  274.  
  275.  
  276. echo'</div>';
  277. echo'<div class="menu">';
  278. include ('../zvanie/index.php');
  279. $stat = check(mb_substr(trim($_POST['stat']), 0, 100));
  280. $idstat = check(mb_substr(trim($_POST['idstat']), 0, 20));
  281. $status1 = array (0 => '', 1 => '<img src="../images/ehval/ev.gif"/> Evdeyem', 2 => '<img src="../images/ehval/musiqi.gif"/> Musiqiye qulaq asiram', 3 => '<img src="../images/ehval/is.gif"/> isleyirem', 4 => '<img src="../images/ehval/deniz.gif"/> Denize baxiram ', 5 => '<img src="../images/ehval/sevirem2.gif"/> Sevirem', 6 => '<img src="../images/ehval/restoran.gif"/> Restorandayam', 7 => '<img src="../images/ehval/tualet.gif"/> Tualetdeyem', 8 => '<img src="../images/ehval/hamam.gif"/> Hamamdayam', 9 => '<img src="../images/ehval/kus.gif"/> Darixiram', 10 => '<img src="../images/ehval/depresiya.gif"/> Depresiyadayam', 11 => '<img src="../images/ehval/sohbet.gif"/> Dostlarla Sohbet edirem', 12 => '<img src="../images/ehval/kofe.gif"/> Kofe icirem', 13 => '<img src="../images/ehval/siqaret.gif"/> Siqaret cekirem', 14 => '<img src="../images/ehval/qemliyem.gif"/> Qemliyem', 15 => '<img src="../images/ehval/hirsli.gif"/> Hirsliyem', 16 => '<img src="../images/ehval/sevirem.gif"/> Dilek.az-i cox sevirem', 17 => '<img src="../images/ehval/kusmusem.gif"/> Kusmusem Hamiya', 18 => '<img src="../images/ehval/baliqci.gif"/> Baliq TuTuram', 19 => '<img src="../images/ehval/yatib.gif"/> Yatmisam', 20 =>'<img src="../images/ehval/reqs.gif"/> Reqs edirem');
  282. if ($user['stat'])
  283. echo '<li><b>Ehvali:</b> '.$status1[$user['idstat']].' '.tags($user['stat']).'</li>';
  284. if ($user['rights']) {
  285. echo '<li><span class="gray"><b>Selahiyyeti:</b></span> ';
  286. $rank = array(1 => 'Seyahetci', 2 => 'Chat.Moderatoru', 3 => 'Forum.Moderatoru', 4 => 'Oxu Zali.Moderatoru', 5 => 'Qonaq Otagi.Moderatoru', 6 => 'Super.Moderator', 7 =>
  287. 'Adminstrator', 8 => 'Bash Adminstrator', 9 => 'SuperVeyzer', 11 => 'Sayt sahibi');
  288. echo '<span class="red"><b>' . $rank[$user['rights']] . '</b></span></li>';
  289. }
  290. ////
  291. //======================================================reyting
  292. $qezet = mysql_query("SELECT * FROM `paper` WHERE `avtor` = '".$user['name']."'");
  293. $r7 = mysql_num_rows($qezet);
  294. $gundelik = mysql_query("SELECT * FROM `dnevniki` WHERE `userid` = '".$user['id']."'");
  295. $r8 = mysql_num_rows($gundelik)*10;
  296. $oxuzali = mysql_query("SELECT * FROM `lib` WHERE `avtor` = '".$user['name']."'");
  297. $r9 = mysql_num_rows($oxuzali)*10;
  298. $gelenler = mysql_query("SELECT * FROM `mail_msg` WHERE `id_kont` = '".$user['id']."'");
  299. $r10 = mysql_num_rows($qezet);
  300. $gedenler = mysql_query("SELECT * FROM `mail_msg` WHERE `id_user` = '".$user['id']."'");
  301. $r11 = mysql_num_rows($qezet);
  302. $qonaqlar = mysql_query("SELECT * FROM `my_guest` WHERE `my_id` = '".$user['id']."'");
  303. $r12 = mysql_num_rows($qezet);
  304. $r = $user['postforum'] ;
  305. $r2 = $user['postchat'] ;
  306. $r3 = $user['postguest'] ;
  307. $r4 = $user['otvetov'] ;
  308. $r5 = $user['balans'] ;
  309. $r6 = $user['postchat'] ;
  310. $reyt = $r+$r2+$r3+$r4+$r5+$r6+$r7+$r8 ;
  311. $reytinq = ($r+$r2+$r3+$r4+$r5+$r6+$r7+$r8+$r9+$r10+$r11+$r12)/12 ;
  312. $reytinq = round($reytinq ,0) ;
  313. //=======================================================reyting son
  314. ////
  315. echo '<li><b>Reytingi :</b> ' . $reytinq . ' </li>';
  316. if ($user['balans'])
  317. echo '<li><a href="konturbal.php"><b>Balansi :</b></a> ' . $user['balans'] . ' bal</li>';
  318. if ($user['gorod_money'])
  319. echo '<li><b>Pulu :</b> ' . $user['gorod_money'] . ' $ dollar</li>';
  320. if ($user['xal'])
  321. echo '<li><a href="shop.php?act=xalal"><b>Xali :</b></a> ' . $user['xal'] . ' </li>';
  322. ///
  323.  
  324. // music
  325. if ($user['music'] == '') {} else {
  326. echo '<li><object type="application/x-shockwave-flash" data="mp3player.swf" width="200" height="20" id="my players" name="mp3player">';
  327. echo '<param name="movie" value="mp3player.swf" />';
  328. echo '<param name="flashvars" value="mp3='.$user['music'].'" />';
  329. echo '</object></li>';
  330. }
  331. // musicin sonu
  332. echo'<div class="menu">';
  333. echo'</div>';
  334. ////// burcs basliq
  335. function zodiak($d, $m)
  336. {
  337. if ($m == 1)
  338. {
  339. if (21 <= $d)
  340. {
  341. $z = '1.Dolça';
  342. }
  343. else
  344. {
  345. $z = '2.OÄŸlaq';
  346. }
  347. }
  348. if ($m == 2)
  349. {
  350. if (19 <= $d)
  351. {
  352. $z = '3.Balıqlar';
  353. }
  354. else
  355. {
  356. $z = '1.Dolça';
  357. }
  358. }
  359. if ($m == 3)
  360. {
  361. if (21 <= $d)
  362. {
  363. $z = '4.Qoç';
  364. }
  365. else
  366. {
  367. $z = '3.Balıqlar';
  368. }
  369. }
  370. if ($m == 4)
  371. {
  372. if (21 <= $d)
  373. {
  374. $z = '5.BuÄŸa';
  375. }
  376. else
  377. {
  378. $z = '4.Qoç';
  379. }
  380. }
  381. if ($m == 5)
  382. {
  383. if (21 <= $d)
  384. {
  385. $z = '6.Æ&#65533;kizlÉ™r';
  386. }
  387. else
  388. {
  389. $z = '5.BuÄŸa';
  390. }
  391. }
  392. if ($m == 6)
  393. {
  394. if (22 <= $d)
  395. {
  396. $z = 'Xərçəng';
  397. }
  398. else
  399. {
  400. $z = '6.Æ&#65533;kizlÉ™r';
  401. }
  402. }
  403. if ($m == 7)
  404. {
  405. if (23 <= $d)
  406. {
  407. $z = '8.Åžir';
  408. }
  409. else
  410. {
  411. $z = '7.Xərçəng';
  412. }
  413. }
  414. if ($m == 8)
  415. {
  416. if (23 <= $d)
  417. {
  418. $z = '9.Qız';
  419. }
  420. else
  421. {
  422. $z = '8.Åžir';
  423. }
  424. }
  425. if ($m == 9)
  426. {
  427. if (23 <= $d)
  428. {
  429. $z = '10.Tərəzi';
  430. }
  431. else
  432. {
  433. $z = '9.Qız';
  434. }
  435. }
  436. if ($m == 10)
  437. {
  438. if (23 <= $d)
  439. {
  440. $z = '11.Æ&#65533;qrÉ™b';
  441. }
  442. else
  443. {
  444. $z = '10.Tərəzi';
  445. }
  446. }
  447. if ($m == 11)
  448. {
  449. if (22 <= $d)
  450. {
  451. $z = '12.Oxatan';
  452. }
  453. else
  454. {
  455. $z = '11.Æ&#65533;qrÉ™b';
  456. }
  457. }
  458. if ($m == 12)
  459. {
  460. if (22 <= $d)
  461. {
  462. $z = '2.OÄŸlaq';
  463. }
  464. else
  465. {
  466. $z = '12.Oxatan';
  467. }
  468. }
  469. list($im, $za) = split("[.]", $z);
  470. return "<img src='../images/zodiak/$im.gif' alt='$za' /> $za<br />";
  471. }
  472. ////// Burc son
  473. /////О Ñ&#65533;ебе
  474. $out = '';
  475. if (!empty($user['imname']))
  476. $out .= '<li><b>Ad:</b> ' . smileys(tags($user['imname'])) . '</li>';
  477. if (!empty($user['familya']))
  478. $out .= '<li><b>Familya:</b> ' . smileys(tags($user['familya'])) . '</li>';
  479. if (!empty($user['dayb']))
  480. $out .= '<li><b>Dogum Tarixi:</b> ' . $user['dayb'] . '&nbsp;' . $mesyac[$user['monthb']] . '&nbsp;' . $user['yearofbirth'] . ' </li>';
  481. //// Burc
  482. if (!empty($user['dayb']))
  483. $out .= '<li><b>Bürcü:</b> ' . zodiak($user['dayb'], $user['monthb']) . '</li>';
  484. //// Burc son
  485. if (!empty($user['live']))
  486. $out .= '<li><b>Seher:</b> ' . smileys(tags($user['live'])) . '</li>';
  487. if (!empty($user['mobilka']))
  488. $out .= '<li><b>Telefon Modeli:</b> ' . smileys(tags($user['mobilka'])) . '</li>' ;
  489. if (!empty($user['hobbi']))
  490. $out .= '<li><b>Xobbisi:</b> ' . smileys(tags($user['hobbi'])) . '</li>' ;
  491. if (!empty($user['muzika']))
  492. $out .= '<li><b>Sevdiyi Musiqi:</b> ' . smileys(tags($user['muzika'])). '</li>' ;
  493. if (!empty($user['jabber']))
  494. $out .= '<li><b>Sevdiyi Film:</b>&nbsp;' . smileys(tags($user['jabber'])) . '</li>';
  495. if (!empty($user['book']))
  496. $out .= '<li><b>Sevdiyi Kitab:</b> ' . smileys(tags($user['book'])) . '</li>' ;
  497. if (!empty($user['film']))
  498. $out .= '<li><b>Aile Veziyyeti:</b> ' . smileys(tags($user['film'])) . '</li>' ;
  499. if (!empty($user['mekteb']))
  500. $out .= '<li><b>Oxudugu Mekteb:</b> ' . smileys(tags($user['mekteb'])) . '</li>' ;
  501. if (!empty($user['citata']))
  502. $out .= '<li><b>Tehsili:</b> ' . smileys(tags($user['citata'])) . '</li>' ;
  503. if (!empty($user['meksed']))
  504. $out .= '<li><b>Meksedi:</b> ' . smileys(tags($user['meksed'])) . '</li>' ;
  505. if (!empty($user['about']))
  506. $out .= '<li><b>Haqqinda:</b><ul> ' . smileys(tags($user['about'])) . '</ul></li>';
  507. if (!empty($out)) {
  508. echo '<p><h3><img src="../images/get_info.png" width="16" height="16" class="left" />&#160;Sexsi Melumatlari</h3>';
  509. echo $out;
  510. echo '</p>';
  511. }
  512.  
  513. // СвÑ&#65533;зь
  514. $out = '';
  515. if (!empty($user['mibile']))
  516. $out .= '<li><b>Tel.No :</b> ' . smileys(tags($user['mibile'])) . '</li>';
  517. if (!empty($user['mail']) && (($id && $user['mailvis']) || !$id || $rights >= 7)) {
  518. $out .= '<li><b>E-mail:</b> ' . smileys(tags($user['mail']));
  519. $out .= ($user['mailvis'] ? '' : '<b> [Gizlidir]</b>') . '</li>';
  520. }
  521. if (!empty($user['icq']))
  522. $out .= '<li><b>ICQ:</b>&nbsp;<img src="http://web.icq.com/whitepages/online?icq=' . $user['icq'] . '&amp;img=5" width="18" height="18" alt="icq" align="middle"/>&nbsp;' . $user['icq'] . '</li>';
  523. if (!empty($user['skype']))
  524. $out .= '<li><b>Skype:</b>&nbsp;' . smileys(tags($user['skype'])) . '</li>';
  525. if (!empty($user['www']))
  526. $out .= '<li><b>Sayt:</b> ' . tags($user['www']) . '</li>';
  527. if (!empty($out)) {
  528. echo '<p><h3><img src="../images/contacts.png" width="16" height="16" class="left" />&nbsp;Elaqe</h3>';
  529. echo $out;
  530. echo '</p>';
  531. }
  532. //statistika
  533. echo '<p><img src="../images/rate.gif" width="16" height="16" class="left" /><span class="red"><b>&nbsp;Statistika</b></span></p>';
  534. if ($rights >= 1 && $rights >= $user['rights']) {
  535. echo '<li><b><span class="gray">Browser:</span> ' . $user['browser'] . '</li>';
  536. $totalip = mysql_result(mysql_query("SELECT COUNT(*) FROM `iphistory` WHERE `user_id` = '" . $user['id'] . "'"), 0);
  537. echo '<li><span class="gray">IP Adressi :</span> <a href="../' . $admp . '/index.php?act=usr_search_ip&amp;ip=' . $user['ip'] . '">' . long2ip($user['ip']) . '</a>&#187;<span class="gray"></span><a href="'.$home.'/str/iphistory.php?id=' . ($id ? '' . $id : ''.$user_id) . '">IP Tarixi: ('.$totalip.')</a></b></li>';
  538. if ($user['immunity'])
  539. echo '<li><span class="green"><b>Toxunulmaz istifadecidir!</b></span></li>';
  540. }
  541. if ($rights >= 7) {
  542. if (!$user['preg'] && empty($user['regadm']))
  543. echo '<li>Qeydiyyat tesdiqin gozleyir</li>';
  544. elseif (!$user['preg'] && !empty($user['regadm']))
  545. echo '<li>Qeydiyyati legv olub ' . $user['regadm'] . '</li>';
  546. elseif ($user['preg'] && !empty($user['regadm']))
  547. echo '<li>Gemiye ugurla qeyd olub ' . $user['regadm'] . '</li>';
  548. }
  549. if (isset ($lastvisit))
  550. echo '<li><b>Sonuncu ' . ($user['sex'] == 'm' ? 'Ziyareti:' : 'Ziyareti:') . ' ' . $lastvisit . '</b></li>';
  551. echo '<li><b>' . ($user['sex'] == 'm' ? 'Saytda' : 'Saytda') . ' kecirdiyi vaxt: ' . timecount($user['total_on_site']) . '</b></li>';
  552. echo '<li><b>' . ($user['sex'] == 'm' ? 'Qeydiyyatdan kecib' : 'Qeydiyyatdan kecib') . ': ' . date("d.m.Y", $user['datereg']) . '</b></li>';
  553. if (!empty($user['set_user']))
  554. $set_user = unserialize($user['set_user']);
  555. echo '<li><b>Secdiyi Thema:</b><a href="themes_top.php"><font color="#0000FF"><b> ' .$set_user['skin']. '</b></font></a></li>'; //
  556. echo '<p><img src="../images/users.png" width="16" height="16" class="left" /><span class="red"><b>&nbsp;Munasibet &nbsp;&raquo;</b></span></p>';
  557.  
  558. ///////////////
  559. if ($user['dqebul']){
  560. echo '<li><span style="color:red"><b>Mektub,MMS-i Yalniz Dostlardan Qebul edir.</b></span></li>';
  561. }
  562. // mesaj dostlardan
  563. if ($id && $id != $user_id) {
  564. $req4 = mysql_query("SELECT * FROM `friends` WHERE `user`='" . $user['id'] . "' AND `to` = '" . $user_id . "'");
  565. $say = mysql_num_rows($req4) ;
  566. if ( $user['dqebul'] == 0 || $say == 1 || $rights >=9){
  567. if( $user['dqebul'] == 1 && $rights >= 9){
  568. echo '<div class="menu"><form enctype="multipart/form-data" method="post" action="'.$home.'/str/pocta.php?act=add&amp;id='.$user['id'].'"><b>(SV-ler yazmaq ucun)</b><br />
  569. <textarea rows="2" cols="20" name="text"></textarea><br/>
  570. <input type="submit" name="submit" value="Yaz"/>
  571. </form></div>';}}
  572. }
  573. // mesaj dostlardan son
  574.  
  575. if ($id && $id != $user_id) {
  576. echo '<form enctype="multipart/form-data" method="post" action="' . $home . '/str/pochta.php?act=add' . (!$id?'':'&amp;id='.$id) . '"><div class="menu">';
  577. echo '<strong>Mesaj yaz:</strong> (4-1024)<br />
  578. <textarea rows="2" cols="19" name="text"></textarea><br/>';
  579. echo '<input type="submit" name="submit" value="Gonder"/>
  580. </div></form>';
  581. echo '<li><a href="'.$home.'/str/pochta.php?act=history&amp;id=' .$user['id']. '">Aranizdaki Mesajlasma</a></li>';
  582. if ($rights >= 9){
  583. echo '<li><a href="'.$home.'/str/pochta.php?act=history_admin&amp;id=' .$user['id']. '">Mesaj Arxivi/SV</a></li>';
  584. }
  585. echo '<li><a href="pradd.php?act=write&amp;adr=' . $user['id'] . '">MMS gonder</a></li>';
  586. echo '<li><a href="'.$home.'/str/gifts.php?act=img&amp;idout='.$user['id'].'">Hediyye Gonder</a></li>';
  587. $tot = mysql_num_rows(mysql_query("select * from `gifts` where `idout` ='".$user['id']."' " . ($user_id == 0 ? "" : " AND `chek` = '0'"). " "));
  588. if($tot){
  589. echo '<li><a href="../present/present.php?&amp;id=' .$user['id']. '">Hediyyeleri</a> ('.$tot.')</li>';
  590. }
  591. //mukafat
  592. if ($rights >= 3) {
  593. echo '<li><a href="../nagrady/nagrady.php?id=' . $user['id']. '">Mukafat ver</a></li>';
  594. }
  595. //kodu
  596. switch ($act)
  597. {
  598. default:
  599. $us_id = intval ( $_GET['id'] );
  600. $count3 = mysql_result( mysql_query ( "select count(*) from `nagrady_users` where `id_users` = '".$us_id."'"), 0);
  601. }
  602. echo'<li><a href="../nagrady/nagr.php?id='. $user['id'] .'">Mukafatlari</a> ('.$count3.')</li>';
  603. //mukafatin sonu
  604.  
  605. //Lovhe
  606. $new = mysql_result(mysql_query("SELECT COUNT(*) FROM `wall` WHERE `user_id`=" . $user['id'] . " AND `time`>'" . ($realtime - 259200) . "'"), 0);
  607. $total = mysql_result(mysql_query("SELECT COUNT(*) FROM `wall` WHERE `user_id`=" . $user['id'] . ""), 0);
  608. if ($new > 0) {
  609. $wall = $total . '/<span class="red">+' . $new . '</span>';
  610. }
  611. else {
  612. $wall = $total;
  613. }
  614. echo "<li><a href='" .$home. "/str/wall.php?user=".$user['id']."'>Lovhesine yaz</a> ($wall)</li>";
  615.  
  616. //sexsi fallari
  617. $tot_dir = mysql_result(mysql_query("SELECT COUNT(*) FROM `zona_dir`WHERE `user_id_dir` = '".$user['id']."' "), 0);
  618. $tot_file = mysql_result(mysql_query("SELECT COUNT(*) FROM `users_file_zona`WHERE `user_id` = '".$user['id']."' AND `mod`>'0' "), 0);
  619. // Считаем новые файлы
  620.  
  621. $dni = 3;//количеÑ&#65533;тво дней
  622.  
  623. $old = $realtime - $dni*86400;
  624. $new_file = mysql_result(mysql_query("SELECT COUNT(*) FROM `users_file_zona` WHERE `user_id` = '".$user['id']."' AND `time` > '".$old."' AND `mod` != '0' "), 0);
  625.  
  626. echo '<li><a href="../usersfile/index.php?id=' .$user['id'] . '">Åžexsi fayllari</a> ('.$tot_dir.'/'.$tot_file.'';
  627. if($new_file >0)
  628. echo '/<span class="red">+'.$new_file.'</span>';
  629. echo ')</li>';
  630. ///sonu fayllarin
  631. echo '<li><a href="my_stat.php?id=' . $user['id'] . '">Aktivlik statistikasi</a></li>';
  632. echo '<li><a href="../forum/user_theme.php?id=' . $id . '">Forumdaki Movzulari</a></li>';
  633. echo '<li><a href="my_stat.php?act=forum' . ($id ? '&amp;id=' . $id : '') . '">Forumda son yazilari</a></li>';
  634. $bibla = mysql_result(mysql_query("SELECT COUNT(*) FROM `lib` WHERE `avtor` = '" . $user['name'] . "' AND `type` = 'bk' AND `moder` = '1'"), 0);
  635. echo '<li><a href="../library/?act=my&amp;name='.$user['name'].'">Oxu zalı meqaleleri ('.$bibla.')</a></li>';
  636. }
  637. echo '<p>' . (!$id ? '<li><a href="pochta.php?act=add' . ($id ? '?id=' . $id : '') . '">Mektub gonder</a></p></li>' : '');
  638. echo '<p>' . (!$id ? '<li><a href="pradd.php?act=write' . ($id ? '?id=' . $id : '') . '">MMS gonder</a></p></li>' : '');
  639. echo '<p>' . (!$id ? '<li><a href="wall.php' . ($id ? '?id=' . $id : '') . '">Lovhem</a></p></li>' : '');
  640. echo '<p>' . (!$id ? '<li><a href="'.$home.'/blogs/?act=my' . ($id ? '?id=' . $id : '') . '">Gundeliyim</a></p></li>' : '');;
  641.  
  642. //Qonaqlara
  643. if ($id && $id != $user_id) {
  644. $g = mysql_result(mysql_query("SELECT * FROM `my_guests` WHERE `my_id` = '" . $id . "' AND `guest_id` = '" . $user_id . "' LIMIT 1;"), 0);
  645. if (!empty($g)) {
  646. @mysql_query("UPDATE `my_guests` SET `time` = '" . $realtime . "', `type` = '0' WHERE `my_id` = '" . $id . "' AND `guest_id` = '" . $user_id . "';");
  647. } else {
  648. @mysql_query("INSERT INTO `my_guests` SET
  649. `my_id` = '" . $id . "',
  650. `time` = '" . $realtime . "',
  651. `guest_id` = '" . $user_id . "',
  652. `type` = '0';");
  653. }
  654. //ФикÑ&#65533;ациÑ&#65533; проÑ&#65533;мотра анкеты
  655. $p_ank = mysql_result(mysql_query("SELECT `prosm_ank` FROM `users` WHERE `id` = '" . $id . "';"), 0);
  656. $i_ank = (int) $p_ank;
  657. $r_ank = $i_ank + 1;
  658. @mysql_query("UPDATE `users` SET `prosm_ank` = '" . $r_ank . "' WHERE `id` = '" . $id . "';");
  659. echo '<li><span class="gray">Anketine baxilib (' . $r_ank . ')</span></li>';
  660. } else {
  661. //СÑ&#65533;ылка на Ñ&#65533;траницу гоÑ&#65533;тей длÑ&#65533; владельца анкеты
  662. $all_guests = @mysql_result(@mysql_query("SELECT COUNT(*) FROM `my_guests` WHERE `my_id` = '" . $user_id . "';"), 0);
  663. $new_guests = @mysql_result(@mysql_query("SELECT COUNT(*) FROM `my_guests` WHERE `my_id` = '" . $user_id . "' AND `type` = '0';"), 0);
  664. echo '<li><a href="' . $home . '/str/my_guests.php?">Qonaqlarim</a>&nbsp;(' . $all_guests . ($new_guests > 0 ? '/<span class="red">' . $new_guests . '</span>' : '') . ')</li>';
  665. }
  666. echo '<p>' . (!$id ? '<li><a href="'.$home.'/present/present.php?&amp;id='.$user_id.'">Hediyyelerim</a></p></li>' : '');
  667. echo '<p>' . (!$id ? '<li><a href="../nagrady/nagr.php?id=' . $user['id'] . '">Mukafatlarim</a></p></li>' : '');
  668. echo '<p>' . (!$id ? '<li><a href=favorites.php?id=' . ($id ? '?id=' . $id : '') . '">Secilmis sehivelerim</a></p></li>' : '');;
  669. //echo '<p>' . (!$id ? '<li><a href="my_stat.php?id=' . $user['id'] . '">Aktivlik statistikam</a></p></li>' : '');
  670. echo '<p>' . (!$id ? '<li><a href="my_stat.php?act=forum&id=' . $user['id'] . '">Forumda son yazilarim</a></p></li>' : '');
  671. $bibla = mysql_result(mysql_query("SELECT COUNT(*) FROM `lib` WHERE `avtor` = '" . $user['name'] . "' AND `type` = 'bk' AND `moder` = '1'"), 0);
  672. echo '</p>' . (!$id ? '<li><a href="../library/?act=my&amp;name='.$user['name'].'">Oxu zalı meqalelerim ('.$bibla.')</a></p></li>' : '');
  673. // ЕÑ&#65533;ли были нарушениÑ&#65533;, показываем Ñ&#65533;Ñ&#65533;ылку на их иÑ&#65533;торию
  674. if ($id && $id != $user_id) {
  675. echo'<div class="menu">';
  676. echo'</div>';
  677. echo '<p><img src="../images/users.png" width="16" height="16" class="left" /><span class="red"><b>&nbsp;Elaqeler</b></span></p>';
  678. echo '<li><a href="../sud/new.php?act=new&amp;id=' . $user['id'] . '">Mehkemeye ver</a></li>';
  679. //yeni dostluq fiends
  680. $d = mysql_result(mysql_query("SELECT COUNT(*) FROM `friends` WHERE `user`='$id';"), 0);
  681. echo '<li><a href="friends.php?id=' . $user['id'] . '">Dostlari</a> ('.$d.')</li>';
  682. if ($rights >= 9) {
  683. $total = mysql_result(mysql_query("SELECT COUNT(*) FROM `mail_konts` WHERE `id_user`='" . $id . "' AND `type`='2'"), 0);
  684. echo '<li><a href="' . $home . '/str/iqnorlari.php?id=' . $user['id'] . '">iqnorlari (' .$total. ')</a></li>';
  685. }
  686. // teklif,ve sil
  687. $friends = mysql_query("SELECT * FROM `friends` WHERE `user`='" . $user_id . "' AND `to`='" . $user['id'] . "';");
  688. $friend = mysql_num_rows($friends);
  689. if ($friend != 1)
  690. echo "<li><a href='" . $home . "/str/friends.php?act=add&amp;id=" . $id . "'>Dost ol</a></li>";
  691. else
  692. echo "<li><a href='" . $home . "/str/friends.php?act=del&amp;id=" . $id . "'>Dostluqdan sil</a></li>";
  693. }
  694. // yeni dostluq friends son.
  695. if ($id && $id != $user_id) {
  696. $row = mysql_fetch_assoc(mysql_query("SELECT * FROM `mail_konts` WHERE `id_user` = '" . $user_id . "' AND `id_kont`='" . $user['id'] . "'"));
  697. echo '<li><a href="' .($row['type']==2 ?''.$home.'/str/pochta.php?act=delete&amp;id='.$row['id'].'">iqnordan sil':''.$home.'/str/pochta.php?act=addignor&amp;id='.$user['id'].'">iqnor et') .'</a></li>';
  698. }
  699. $ban = mysql_result(mysql_query("SELECT COUNT(*) FROM `cms_ban_users` WHERE `user_id` = '" . $user['id'] . "'"), 0);
  700. if ($ban)
  701. echo '<li><a href="users_ban.php' . ($id && $id != $user_id ? '?id=' . $user['id'] : '') . '">Qayda pozuntulari</a>&nbsp;<span class="red">(' . $ban . ')</span></li>';
  702. echo '<div class="footer">' . (!$id || $id == $user_id || $rights >= 7 ? '<a href="my_data.php' . ($id ? '?id=' . $id : '') . '"><b>Anketi deyisdir</b></a>' : '');
  703. $amarelle = mysql_fetch_array(mysql_query("SELECT * FROM `pets` WHERE `user_id` = '".$user['id']."'"));
  704. if (isset($amarelle['user_id']) AND $amarelle['pet_id'] >= 1) {
  705. $ost = $realtime - $amarelle['time'];
  706. if ($ost > 604800) mysql_query("UPDATE `pets` SET `pet_id` = '0', `time` = '0' WHERE `user_id` = '".$user['id']."'");
  707. echo '<span style="float : right;"><a href="/pets/pet.php"><img src="/pets/img/' . $amarelle['pet_id'] . '.png" alt="" border="0"/></a></span>';
  708. }
  709.  
  710. if ($id && !$user['immunity'] && $id != $user_id && $rights > $user['rights']) {
  711. if ($rights >= 7)
  712. echo ' | ';
  713. echo '<a href="users_ban.php?act=ban&amp;id=' . $user['id'] . '">Ban et</a>';
  714. if ($rights >= 9){
  715. echo ' | <a href="../' . $admp . '/index.php?act=usr_del&amp;id=' . $user['id'] . '"> Sil</a><br/>';
  716. }
  717. }
  718. echo '</div>';
  719. echo '</div>';
  720. require_once ('../incfiles/end.php');
  721. ?>
_MaksI_ _MaksI_ [Off] [#] (23.05.2016 / 17:01)
Designer Elit.Az :)
Əvəz et mən atdiğim PHP ilə
StarN!cK StarN!cK (SV!) [Off] [#] (23.05.2016 / 17:05)
Ne Olursan OL Önce İnsan OL...!!!
_MaksI_, zehmet değilse bunu zip edip ata bilersen qaqa??

bele cetin kopiya edir menim tel med beyaq az az kopiya edib birlewdirip atmıwdım kodu bura
zehmet deyilse zip et at qa
FENOMEN FENOMEN [Off] [#] (23.05.2016 / 17:18)
Qeydiyyat tarixi: 02.03.2012
Buyur
Fayl:
anketaphp.zip (0 кб.)
Yüklenib: 3 defe
FENOMEN FENOMEN [Off] [#] (23.05.2016 / 17:19)
Qeydiyyat tarixi: 02.03.2012
StarN!cK, yüklə həmin koddu zip edib atdım.
StarN!cK StarN!cK (SV!) [Off] [#] (23.05.2016 / 17:22)
Ne Olursan OL Önce İnsan OL...!!!
FENOMEN, tsk qa sagol amma bu neydi??

<?php
<?php
StarN!cK StarN!cK (SV!) [Off] [#] (23.05.2016 / 17:39)
Ne Olursan OL Önce İnsan OL...!!!
# FENOMEN (23.05.2016 / 22:19)
StarN!cK, yüklə həmin koddu zip edib atdım.
senin gönderdiyin faylı atdım sevh düzelmedi qa


This page contains the following errors:
error on line 23 at column 292: Opening and ending tag mismatch: span line 0 and a
error on line 23 at column 292: Encoding error
Below is a rendering of the page up to the first error.
  Cemi: 23
1 2 >>

Mövzuya Baxanlar (3 nəfər)
Müellife göre filtreleme
Mövzunu YükleForuma Keç
Üst Yenilikler
Mobil porno indir
 Əsas Səhifə  Onlayn: 0 / 9 nəfər

WapUsta.Net - Wap Ustaların Mekanı

© WapUsta.Net