<?php if($cu_array[USER_CLASS] & ADM_BAN) { ?> <input type="button" class="input_button" value="<?=trim($w_roz_announce);?>" onClick=run_cmd('do_announce')> <?php } ?>
<input type="button" class="input_button" value="<?=trim($w_roz_announce);?>" onClick=run_cmd('do_announce')>
if($cu_array[USER_CLASS] & ADM_BAN)
.hs { background-color: #dadada; } .hu { background-color: #BDD6A9; } .ha { background-color: #FFB9A1; }
var hdrLine4 = '.hs { background-color: #dadada; } .hu { background-color: #BDD6A9;} .ha { background-color: #FFB9A1;} .topic { font-size:16px; font-weight:bold; color:#555555;}\n';
$messages_to_show[] = array(MESG_TIME=>my_time(), MESG_ROOM=>$room_id, MESG_FROM=>$w_rob_name, MESG_FROMWOTAGS=>$w_rob_name, MESG_FROMSESSION=>"", MESG_FROMID=>0, MESG_TO=>"", MESG_TOSESSION=>"", MESG_TOID=>"", MESG_BODY=>"<span class=ha><font color=\"$def_color\"><b>".$announce."</b></font></span>");
$default_color = 23; #000000;
$registered_colors[23][0] = "Чёрный"; $registered_colors[23][1] = "#000000";
$registered_colors[23][0] = "Белый"; $registered_colors[23][1] = "#ffffff";
$messages_to_show[] = array(MESG_TIME=>my_time(), MESG_ROOM=>$room_id, MESG_FROM=>$bot_htmlnick, MESG_FROMWOTAGS=>$bot_nick, MESG_FROMSESSION=>0, MESG_FROMAVATAR=>"", MESG_FROMID=>0, MESG_TO=>"", MESG_TOSESSION=>"", MESG_TOID=>0, MESG_BODY=>'<font color="'.$registered_colors[$default_color][1].'">'.$w_quiz_smoke_text.' '.$correct_answer.'</font>');
<?echo $nagrad?> <? if($current_user->nagrada_1) echo '<img src="./pasha_nagrady/umnyj.png" border=\"0\">'; if($current_user->nagrada_2) echo '<img src="./pasha_nagrady/obtshitelnyj.png" border=\"0\">'; if($current_user->nagrada_3) echo '<img src="./pasha_nagrady/veselyj.png" border=\"0\">'; if($current_user->nagrada_4) echo '<img src="./pasha_nagrady/privlekatelnyj.png" border=\"0\">'; if($current_user->nagrada_5) echo '<img src="./pasha_nagrady/ideya.png" border=\"0\">'; if($current_user->nagrada_6) echo '<img src="./pasha_nagrady/pomotsh.png" border=\"0\">'; if($current_user->nagrada_7) echo '<img src="./pasha_nagrady/1mesto.png" border=\"0\">'; if($current_user->nagrada_8) echo '<img src="./pasha_nagrady/2mesto.png" border=\"0\">'; if($current_user->nagrada_9) echo '<img src="./pasha_nagrady/3mesto.png" border=\"0\"><br>'; if($current_user->nagrada_10) echo '<img src="./pasha_nagrady/admin.png" border=\"0\">'; if($current_user->nagrada_11) echo '<img src="./pasha_nagrady/shaman.png" border=\"0\">'; if($current_user->nagrada_12) echo '<img src="./pasha_nagrady/moder.png" border=\"0\">'; if($current_user->nagrada_13) echo '<img src="./pasha_nagrady/polzovatelju.png" border=\"0\">'; if($current_user->nagrada_14) echo '<img src="./pasha_nagrady/semechki.png" border=\"0\">'; if($current_user->nagrada_15) echo '<img src="./pasha_nagrady/soska.png" border=\"0\">'; if($current_user->nagrada_16) echo '<img src="./pasha_nagrady/vantus.png" border=\"0\">'; if($current_user->nagrada_17) echo '<img src="./pasha_nagrady/megapolzovatel.png" border=\"0\">'; ?>
<?php define("EDIT_LIMIT", 10); include("../../inc_common.php"); include($engine_path."users_get_list.php"); set_variable("page"); $page = intval($page); include($file_path."events.php"); $IsModer = false; if($cu_array[USER_CLASS] > 0) $IsModer = true; $IsAdmin = false; if($cu_array[USER_CLASS] & ADM_BAN_MODERATORS) $IsAdmin = true; if(!$is_regist_complete) $session = ""; if(!$exists) $session = ""; else { $is_regist_old = $is_regist; } set_variable("user_id"); $user_id = intval($user_id); if($user_id == $is_regist) $IsMyProfile = true; else $IsMyProfile = false; include($file_path."inc_user_class.php"); include($ld_engine_path."users_get_object.php"); if($is_regist) include($file_path."user_validate.php"); $userPoints = $current_user->points; if($current_user->registered) { if($current_user->is_member) $IsMember = true; else $IsMember = false; } else $IsMember = false; set_variable ("plus_friend"); if ($plus_friend!="") { $current_user->friends[]=$plus_friend; include($ld_engine_path."user_info_update.php"); riseEvent(EVENT_EDT_USER, $current_user->nickname, $current_user->user_class); } unset($plus_friend); set_variable ("minus_friend"); if ($minus_friend!="") { foreach ($current_user->friends as $key=>$value) { if ($value==$minus_friend) { unset ($current_user->friends[$key]); include($ld_engine_path."user_info_update.php"); riseEvent(EVENT_EDT_USER, $current_user->nickname, $current_user->user_class); } } } unset ($minus_friend); $Friends = $current_user->friends; $nick=$current_user->nickname; $is_regist = $user_id; if ($is_regist) { include($ld_engine_path."users_get_object.php"); } else { $error_text = str_replace("~","",$w_search_no_found); include($file_path."designes/".$design."/error_page.php"); exit; } //actions set_variable("act"); switch($act) { case "add_post": if (!$exists or !$is_regist_complete) { $error_text = "$w_no_user"; include($file_path."designes/".$design."/error_page.php"); exit; } $is_regist = $is_regist_old; include($ld_engine_path."users_get_object.php"); if($current_user->online_time < 25000) { if($current_user->credits < 5) { $error_text = "$w_no_credits (25 000)"; include($file_path."designes/".$design."/error_page.php"); exit; } } if(intval($current_user->plugin_info["chaos_start"]) + intval($current_user->plugin_info["chaos_time"]) > my_time()) { $MsgToPass = $w_user_chaos; $MsgToPass = str_replace("~", date("d.m.Y H:i:s", intval($current_user->plugin_info["chaos_start"]) + intval($current_user->plugin_info["chaos_time"])), $MsgToPass); $error_text = $MsgToPass; include($file_path."designes/".$design."/error_page.php"); exit; } if(my_time() - $current_user->plugin_info["last_comment_time"] < 200) { $error_text = "$w_flood"; include($file_path."designes/".$design."/error_page.php"); exit; } $current_user->plugin_info["last_comment_time"] = my_time(); include($ld_engine_path."user_info_update.php"); set_variable("message"); set_variable("subject"); set_variable("user_id"); $user_id = intval($user_id); set_variable("send_to_id"); $send_to_id = intval($send_to_id); if(strlen($message) > 256) $message = substr($message, 0, 1024); if(strlen($subject) > 50) $subject = substr($message, 0, 52); $message = fixup_contributions($message); $message = htmlspecialchars($message); $message = str_replace("\n","<br>",$message); $message = str_replace("\r","",$message); $message = str_replace("\t"," ",$message); $message = str_replace(" "," ",$message); $subject = htmlspecialchars($subject); $subject = str_replace("\n","<br>",$subject); $subject = str_replace("\r","",$subject); $subject = str_replace("\t"," ",$subject); $subject = str_replace(" "," ",$subject); $subject = str_replace("\t"," ",$subject); $info_message = ""; $subject = fixup_contributions($subject); riseEvent(EVENT_POST_COMMENT, $user_name, $message); riseEvent(EVENT_POST_COMMENT, $user_name, $subject); include($ld_engine_path."board_post_message.php"); ?><script> this.location.href = '<?php echo $current_design;?>profile_content.php?session=<?php echo $session; ?>&user_id=<?php echo $send_to_id; ?>'; </script> <?php exit(); break; case "make_member": if (!$exists or !$is_regist_complete or !$IsMember) { $error_text = "$w_no_user"; include($file_path."designes/".$design."/error_page.php"); exit; } if(!$current_user->is_member and $current_user->registered and $IsMember and $IsModer) { $current_user->is_member = true; $current_user->membered_by = $user_name; } include($ld_engine_path."user_info_update.php"); break; case "del_posts": if(!$exists or !$is_regist_complete) { $error_text = "$w_no_user"; include($file_path."designes/".$design."/error_page.php"); exit; } set_variable("mess_to_del"); set_variable("user_id"); $user_id = intval($user_id); if($user_id != $is_regist and !$IsModer) exit; include($ld_engine_path."board_delete.php"); ?><script> this.location.href = '<?php echo $current_design;?>profile_content.php?session=<?php echo $session; ?>&user_id=<?php echo $is_regist; ?>'; </script> <?php exit(); break; case "add_personal": if($IsModer) { set_variable("moder_message"); set_variable("moder_user_id"); $moder_user_id = intval($moder_user_id); if (!$exists) { $error_text = "$w_no_user"; include($file_path."designes/".$design."/error_page.php"); exit; } $moder_message = htmlspecialchars($moder_message); $moder_message = str_replace("\n","",$moder_message); $moder_message = str_replace("\r","",$moder_message); $moder_message = str_replace("\t"," ",$moder_message); $moder_message = str_replace(" "," ",$moder_message); $moder_message = fixup_contributions($moder_message); if(strlen($moder_message) > 256) $moder_message = substr($moder_message, 0, 256); include($ld_engine_path."user_log.php"); WriteToUserLog($moder_message, $is_regist, $user_name); } break; } $pic_name = "" . floor($is_regist/2000) . "/" . $is_regist . ".big.gif"; if (!file_exists($file_path."photos/$pic_name")) $pic_name=""; if ($pic_name == ""){ $pic_name = "" . floor($is_regist/2000) . "/" . $is_regist . ".big.jpg"; if (!file_exists($file_path."photos/$pic_name")) $pic_name=""; if ($pic_name == ""){ $pic_name = "" . floor($is_regist/2000) . "/" . $is_regist . ".big.jpeg"; if (!file_exists($file_path."photos/$pic_name")) $pic_name=""; } } $sex = $current_user->sex; $sexStr = $w_unknown; switch ($sex) { case 1: $sexStr = $w_male; break; case 2: $sexStr = $w_female; break; } include($file_path."designes/".$design."/common_title.php"); include($file_path."designes/".$design."/common_browser_detect.php"); $current_user->show_group_1 = 1; $current_user->show_group_2 = 1; ?> <style> td { font-family: Georgia, Garamond, Verdana, Tahoma, Arial; font-size: 12 pt; } </style> <script type="text/javascript" src="<?=$current_design?>tooltip.js"></script> <body onload="initToolTips('SPAN','IMG', 'DIV');"> <style type="text/css" media="all">@import url(<?php echo $modules_url;?>highslide/highslide.css);</style> <script type="text/javascript" src="<?php echo $modules_url;?>highslide/highslide.js"></script> <script language="javascript" type="text/javascript"> <!-- hs.graphicsDir = '<?php echo $modules_url;?>highslide/graphics/'; hs.outlineType = 'rounded-white'; hs.showCredits = false; hs.headingEval = 'this.a.title'; //hs.wrapperClassName = 'controls-in-heading'; hs.lang = { loadingText : 'Загрузка...', playTitle : 'Просмотр слайдшоу (пробел)', pauseTitle: 'Пауза', previousTitle : 'Предыдущее изображение', nextTitle : 'Следующее изображение', moveTitle : 'Переместить', closeTitle : 'Закрыть (Esc)', fullExpandTitle : 'Развернуть до полного размера', restoreTitle : 'Кликните для закрытия картинки, нажмите и удерживайте для перемещения', focusTitle : 'Сфокусировать', loadingTitle : 'Нажмите для отмены' }; hs.align = 'center'; hs.transitions = ['expand', 'crossfade']; if (hs.addSlideshow) hs.addSlideshow({ //slideshowGroup: 'group1', interval: 5000, repeat: false, useControls: false, fixedControls: false, overlayOptions: { opacity: 1, position: 'top right', hideOnMouseOut: false } }); //--> </script> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <table border="0" cellpadding="0" cellspacing="0"> <tr> <?php if($current_user->is_member) {?> <td width="125" align="center"> <img src="<?=$current_design?>main/vip_big.jpg"> </td> <?php } ?> <td width="100%" align="center"> <table align="center" border="0" cellpadding="0" cellspacing="0"> <!-- userinfo table --> <tr><td colspan="2"> </td></tr> <?php if($current_user->show_group_1 == 1) { ?> <tr> <td align=right><font color=black><?php echo $w_name; ?>:</td> <td><font color="#bf0d0d"><b> <?php echo $current_user->firstname; ?></b></font></td> </tr> <tr> <td align=right><font color=black><?php echo $w_surname; ?>:</font></td> <td><font color="#bf0d0d"><b> <?php echo $current_user->surname; ?></b></font></td> </tr> <tr> <td align=right><font color=black><?php echo $w_gender; ?>:</td> <td><font color="#bf0d0d"><b> <?php echo $sexStr; ?></b></font></td> </tr> <tr> <td align=right><font color=black><?php echo $w_birthday; ?>:</td> <td><font color="#bf0d0d"><b> <?php echo $current_user->b_day ."." . $current_user->b_month .".".$current_user->b_year; ?></b></font></td> </tr> <tr> <td align=right><font color=black><?php echo $w_city; ?>:</td> <td><font color="#bf0d0d"><b> <?php echo $current_user->city; ?></b></font></td> </tr> <?php } ?> <?php if($current_user->is_member == false and $current_user->registered == true and $IsMember and $IsModer) { ?> <tr><td colspan="2"> </td></tr> <tr> <td align="center" colspan="2"> <form action="<?=$current_design?>profile_content.php" method="POST"> <input type="hidden" name="session" value="<?=$session?>"> <input type="hidden" name="user_id" value="<?=intval($user_id)?>"> <input type="hidden" name="act" value="make_member"> <input type="Submit" class="input_button" value="<?=$w_grant_access?>"> </form> </td> </tr> <tr><td colspan="2"> </td></tr> <?php } ?> <tr><td colspan="2"> </td></tr> </table> </td> <td width="200" valign="top"><br> <?php include_once($file_path."designes/".$design."/zodiac.php"); $zpic = getZodiac($current_user->b_day, $current_user->b_month); echo "<img src=\"".$current_design."zodiac/$zpic\" width=\"200\" height=\"150\">"; ?> </td> </tr> </table> </td> </tr> <?php //ban check include($file_path."inc_to_canon_nick.php"); include($ld_engine_path."ban_check.php"); $banStr = ""; $LbanType = ""; $LbanUntil = ""; $b_users = get_all_bans(); for($i = 0; $i < count($b_users); $i++) { if((strcasecmp("un|".to_canon_nick($current_user->nickname), $b_users[$i]["who"])==0)) { $LbanType = "NICK"; $LbanUntil = date("d.m.Y H:i:s",intval(intval($b_users[$i]["until"]) + $time_offset*3600)); break; } else if((strcasecmp("ip|".$current_user->IP, $b_users[$i]["who"])==0)) { $LbanType = "IP"; $LbanUntil = date("d.m.Y H:i:s",intval(intval($b_users[$i]["until"]) + $time_offset*3600)); break; } else if((strcasecmp("ch|".$current_user->cookie_hash, $b_users[$i]["who"])==0)) { $LbanType = "COOKIE"; $LbanUntil = date("d.m.Y H:i:s",intval(intval($b_users[$i]["until"]) + $time_offset*3600)); break; } else if((strcasecmp("bh|".$current_user->browser_hash, $b_users[$i]["who"])==0)) { $LbanType = $w_roz_browser_id; $LbanUntil = date("d.m.Y H:i:s",intval(intval($b_users[$i]["until"]) + $time_offset*3600)); break; } else if((strcasecmp("sn|".substr($current_user->IP, 0 , strrpos($current_user->IP,".")), $b_users[$i]["who"])==0)) { $LbanType = "NETWORK"; $LbanUntil = date("d.m.Y H:i:s",intval(intval($b_users[$i]["until"])+ $time_offset*3600)); break; } } if($LbanType != "") { $banStr = str_replace("#", $LbanType, $w_roz_user_banned); $banStr = str_replace("*", $LbanUntil, $banStr); } if(intval($current_user->plugin_info["silence_start"]) + intval($current_user->plugin_info["silence_time"]) > my_time()) { if($banStr != "") $banStr .= "<br>"; $banStr .= $w_roz_silenced_mess.date("d.m.Y H:i:s",intval(intval($current_user->plugin_info["silence_start"]) + intval($current_user->plugin_info["silence_time"]))); } if(intval($current_user->plugin_info["chaos_start"]) + intval($current_user->plugin_info["chaos_time"]) > my_time()) { if($banStr != "") $banStr .= "<br>"; $banStr .= $w_roz_chaos_mess.date("d.m.Y H:i:s",intval(intval($current_user->plugin_info["chaos_start"]) + intval($current_user->plugin_info["chaos_time"]))); } if(intval($current_user->plugin_info["jail_start"]) + intval($current_user->plugin_info["jail_time"]) > my_time()) { if($banStr != "") $banStr .= "<br>"; $banStr .= $w_roz_jailed_mess.date("d.m.Y H:i:s",intval(intval($current_user->plugin_info["jail_start"]) + intval($current_user->plugin_info["jail_time"]))); } if($banStr != "") { ?> <tr> <td> <table bgcolor="#fcc1c1" style="border: solid 1 #ff0000" width="90%" align="center" cellspacing="3" cellpadding="3"> <tr> <td width="50" align="center" valign="middle"> <img src="<?=$current_design?>main/s_warn.png"> </td> <td><font color="Red"><b><?=$banStr?></b></font> <td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> <?php } ?> <?php if($current_user->clan_id > 0) { $current_clan = new Clan(); $is_regist_clan = $current_user->clan_id; include($ld_engine_path."clan_get_object.php"); ?> <tr> <td> <table bgcolor="#EAEAEA" style="border: solid 1 #666666" width="90%" align="center"> <tr> <td> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td align="CENTER"><?=$w_roz_clan.":"?> <b><font color="#bf0d0d"><?php echo $current_clan->name; ?></font></b></td></tr> <?php if(is_file($file_path."clans-logos/".floor($is_regist_clan/2000)."/".$is_regist_clan.".gif")) { $pic = $file_path."clans-logos/".floor($is_regist_clan/2000)."/".$is_regist_clan.".gif"; $pic_url = $chat_url."clans-logos/".floor($is_regist_clan/2000)."/".$is_regist_clan.".gif"; } else if(is_file($file_path."clans-logos/".floor($clan_id/2000)."/".$is_regist_clan.".jpg")) { $pic = $file_path."clans-logos/".floor($clan_id/2000)."/".$is_regist_clan.".jpg"; $pic_url = $chat_url."clans-logos/".floor($is_regist_clan/2000)."/".$is_regist_clan.".jpg"; } list($roz_width, $roz_height, $type, $attr) = getimagesize($pic); if($roz_width > 200 or $roz_height > 200) { if($roz_width > 200) { $ratio = 200 / $roz_width; $roz_width = 200; $roz_height = $roz_height * $ratio; } if($roz_height > 200) { $ratio = 200 / $roz_height; $roz_height = 200; $roz_width = $roz_width * $ratio; } } ?> <tr><td align=CENTER valign=middle><img src="<?php echo $pic_url;?>" width="<?=$roz_width?>" height="<?=$roz_height?>" border="<?php echo $current_clan->border; ?>"></td></tr> <?php if($current_user->clan_status == "0") $current_user->clan_status = ""; if($current_user->clan_status != "") { ?> <tr><td align="CENTER"><?=$w_roz_clan_status.":"?> <b><font color="#bf0d0d"><?php echo $current_user->clan_status; ?></font></b></td></tr> <?php } ?> </table> </td> <td valign="middle" align="center"> <?php echo $w_roz_clan_email ?>:<br> <nobr><font color="#bf0d0d"><?=str_replace("@", " [at] ", $current_clan->email)?></font></nobr><br> <?php echo $w_roz_clan_url ?>:<br> <nobr><?php echo "<a href=\"".$chat_url."go.php?url=".urlencode($current_clan->url)."\" target=\"_blank\">";?><font color="#bf0d0d"><?=$current_clan->url?></font></a></nobr><br> </td> </tr> </table> </td> </tr> </table> </td> </tr> <?php } if($act == "view_personal" and $IsModer) { ?> <tr><td> </td></tr> <tr><td> <table style="border: solid 1 #666666" width="90%" align="center"> <tr> <td> <?php set_variable("moder_user_id"); $moder_user_id = intval($moder_user_id); if (!$exists) { $error_text = "$w_no_user"; include($file_path."designes/".$design."/error_page.php"); exit; } $old_reg = $is_regist; $is_regist = $moder_user_id; if($IsModer) { echo "<table cellspacing=2 cellpadding=2>\n"; echo "<tr><td colspan=4><FONT color=#bf0d0d><b>$w_roz_personal_file</b></FONT></td></tr>\n"; echo "<tr><td colspan=4 align=CENTER> </td></tr>\n"; include($ld_engine_path."moder_board_get_messages.php"); $MaxModerMsgs = count($moder_board_messages); for($i = 0; $i < $MaxModerMsgs; $i++){ echo "<tr><td></td><td><font size=-1>".$moder_board_messages[$i]["date"]."</font></td><td></td><td><b>"; if(trim($moder_board_messages[$i]["from"]) != "") echo "<font color=Red>".trim($moder_board_messages[$i]["from"]).": "; echo $moder_board_messages[$i]["body"]."</b>"; if(trim($moder_board_messages[$i]["from"]) != "") echo "</font>"; echo "</td></tr>\n"; } ?> <form method="post" action="profile_content.php"> <input type="hidden" name="session" value="<?php echo $session;?>"> <input type="hidden" name="act" value="add_personal"> <input type="hidden" name="moder_user_id" value="<?php echo $is_regist;?>"> <input type="hidden" name="user_id" value="<?php echo $user_id; ?>"> <?php echo "<tr><td colspan=2>\n"; ?> <input type="text" size=25 name="moder_message" class="input"></td> <?php echo "<td colspan=2>\n"; ?> <input type="submit" value="<?php echo $w_roz_add_personal; ?>" class="input_button"></td></tr> </form> <?php echo "</table>"; } $is_regist = $old_reg; ?> </td> </tr> </table> </td> </tr> <?php include($file_path."designes/".$design."/common_body_end.php"); exit(); } ?> <tr><td> </td></tr> <table align=center border=0><tr><td align=center> <? for ($k=1;$k<13;$k++) { if (!file_exists ("../../photos/albom/".$is_regist."/".$is_regist."_".$k.".gif")) echo '<img src="'.$images_url.'photo_albom/index.png" width="64" height="64" border="0" alt=""/>'; else echo '<a href="'.$images_url.'photos/albom/'.$is_regist.'/'.$is_regist.'_'.$k.'.gif"'.$session.'&photo='.$k.' onclick="return hs.expand(this)" ><img src="'.$images_url.'photos/albom/'.$is_regist.'/'.$is_regist.'_'.$k.'.gif" border=0 alt="" style="border:0px #066AC2 solid; width:64px; height:64px;"/> '; } ?> <tr> <tr><td><table align=center border=0> <tr> <tr><td><table align=center border=0> <? if ($current_user->status_pic==0 or $current_user->status_pic=="") { echo ""; } else { ?> <br> <img src=/powmod/xstatus/img/<? echo $current_user->status_pic;?>.gif> <font color=#D50000 size=2><b><? echo $current_user->statmess;?></b> <? echo $current_user->statmess2;?></font><br> <? } ?> <tr> <td align="right"><font color=black><?php echo $w_email; ?>:</font></td> <td><font color="#bf0d0d"><?=str_replace("@", " [at] ",$current_user->email);?></font></td> </tr> <tr> <td align="right"><font color=black>ICQ:</td> <td><font color="#bf0d0d"> <?php echo $current_user->icquin; ?></font> <?php if($current_user->icquin != "") {?> <img src="http://status.icq.com/online.gif?icq=<?=preg_replace("/[^0-9]/", "", $current_user->icquin)?>&img=5"> <?php } ?> <tr> <td align="right"><font color=black><?php echo $w_registr; ?>Пользователь привёл:</td> <td><b><?php echo count ($current_user->ref_arr); ?></b> чатлан</td> </tr> </td> </tr> <tr> <td align="right"><font color=black><b><?=$w_adm_reffer_menu?></b></td> </tr> <?php for($i = 0; $i < count($current_user->ref_arr); $i++) { ?> <TR> <td colspan="2" align="center"> <a href="<?=$chat_url?>fullinfo.php?session=<?=$session?>&user_id=<?=$current_user->ref_arr[$i]["id"]?>"><?=$current_user->ref_arr[$i]["nick"]?></a> </TD> </TR><? } ?> <tr> <td align="right"><font color=black><?php echo $w_homepage; ?>:</td> <td><font color=black> <?php echo "<a href=\"".$chat_url."go.php?url=".urlencode($current_user->url)."\" target=\"_blank\"><font color=\"#bf0d0d\">".$current_user->url."</font></a>"; ?></td> </tr> <?php $r_days = intval($current_user->online_time / (24*3600)); $r_hours = intval(($current_user->online_time - $r_days*24*3600) / 3600); $r_minutes = intval(($current_user->online_time - $r_days*24*3600 - $r_hours*3600)/60); $r_seconds = intval($current_user->online_time - $r_days*24*3600 - $r_hours*3600 - $r_minutes * 60); $current_user->damneds = intval(trim($current_user->damneds)); $current_user->rewards = intval(trim($current_user->rewards)); ?> <?php if($IsMyProfile or $IsModer) { ?> <tr> <td align="right"><font color=black><?php echo $w_money; ?>:</td> <td><font color="#bf0d0d"><b><?php echo $current_user->credits; ?></b></font></td> </tr> <?php } if($IsMember and $current_user->is_member) { ?> <tr> <td align="right"><font color=black><?php echo $w_membered_by; ?> :</td> <td><font color="#bf0d0d"><b><?php echo $current_user->membered_by; ?></b></font></td> </tr> <?php } ?> <tr> <td align="right"><font color=black><?php echo $w_roz_reiting; ?> :</td> <td><font color="#bf0d0d"><b><?php echo "$r_days $w_days $r_hours:$r_minutes:$r_seconds / ".$current_user->online_time; ?></b></font></td> </tr> <?php if ($current_user->registered) { require_once $data_path.'quiz/init.php'; require_once $quiz_config_file; $link = mysqli_connect($quiz_config['db_server'], $quiz_config['db_user'], $quiz_config['db_pass'], $quiz_config['db_name']) or die("Could not connect: ". mysql_error()); if ($link) { $sql = 'SELECT cnt, fastest FROM '.$quiz_config['db_prefix'].'quiz_full_stat WHERE user_id='.intval($user_id).' LIMIT 1'; $res = mysqli_query($link, $sql); $row = mysqli_fetch_array($res); } if($row["cnt"] !="") { ?> <tr> <td align="right"><font color=black><?php echo $w_quiz_answer; ?> :</td> <td><font color="#bf0d0d"> <b><?php echo $row['cnt']; ?></b></font></td> </tr> <tr> <td align="right"><font color=black><?php echo $w_quiz_fastest_answer; ?> :</td> <td><font color="#bf0d0d"> <b><?php echo $row['fastest']; ?> сек.</b></font></td> </tr> <?php } mysqli_close($link); } ?> <tr> <td align="right"><font color=black><?php echo $w_roz_points; ?> :</td> <td><font color="#bf0d0d"><b><?php echo $current_user->points; ?></b></font></td> </tr> <tr> <td align=right><font color=black><?php echo $w_roz_reward; ?>:</td> <td><font color="#bf0d0d"><?php echo $current_user->rewards; ?></font></td> </tr> <tr> <td align=right><font color=black><?php echo $w_roz_damneds; ?>:</td> <td><font color="#bf0d0d"><?php echo $current_user->damneds; ?></font></td> </tr> <tr> <td align=right><font color=black><?php echo $w_roz_last_action_tim; ?>:</td> <td><font color="#bf0d0d"> <?php echo date("d.m.Y H:i:s",intval(intval($current_user->last_actiontime)+ $time_offset*3600)); ?></font></td> </tr> <tr> <td align=right><font color=black><?php echo $w_roz_family; ?>:</td> <td><font color="#bf0d0d"><b> <?php if($current_user->married_with != "") { if($current_user->sex == 1) { echo $w_roz_marr_man_yes; } else if($current_user->sex == 2) { echo $w_roz_marr_wom_yes; } else { echo $w_roz_marr_it_yes; } $user_to_search = $current_user->married_with; $u_ids = array(); include($ld_engine_path."users_search.php"); echo " "; if (count($u_ids)) { for($i = 0; $i < count($u_ids); $i++) { if(strcasecmp($u_names[$i], $user_to_search) == 0){ echo "<a target=_parent href='".$chat_url."fullinfo.php?session=$session&user_id=".$u_ids[$i]."'>"; break; } } } echo "<b>".$current_user->married_with."</b>"; if (count($u_ids)) { echo "</a>"; } } else { if($current_user->sex == 1) { echo $w_roz_marr_man_no; } else if($current_user->sex == 2) { echo $w_roz_marr_wom_no; } else { echo $w_roz_marr_it_no; } } ?> </b></font></td> <?echo $alf?> <? if($current_user->nagrada_1) echo "<img src=".$chat_url."status/1.jpg border=\"0\">"; if($current_user->nagrada_2) echo "<img src=".$chat_url."status/2.jpg border=\"0\">"; if($current_user->nagrada_3) echo "<img src=".$chat_url."status/3.jpg border=\"0\">"; if($current_user->nagrada_4) echo "<img src=".$chat_url."status/4.jpg border=\"0\">"; if($current_user->nagrada_5) echo "<img src=".$chat_url."status/5.jpg border=\"0\">"; if($current_user->nagrada_6) echo "<img src=".$chat_url."status/6.jpg border=\"0\">"; if($current_user->nagrada_7) echo "<img src=".$chat_url."status/7.jpg border=\"0\">"; if($current_user->nagrada_8) echo "<img src=".$chat_url."status/8.jpg border=\"0\">"; if($current_user->nagrada_9) echo "<img src=".$chat_url."status/9.jpg border=\"0\">"; if($current_user->nagrada_10) echo "<img src=".$chat_url."status/10.jpg border=\"0\">"; if($current_user->nagrada_11) echo "<img src=".$chat_url."status/11.jpg border=\"0\">"; if($current_user->nagrada_12) echo "<img src=".$chat_url."status/12.jpg border=\"0\">"; if($current_user->nagrada_13) echo "<img src=".$chat_url."status/13.jpg border=\"0\">"; if($current_user->nagrada_14) echo "<img src=".$chat_url."status/14.jpg border=\"0\">"; if($current_user->nagrada_15) echo "<img src=".$chat_url."status/15.jpg border=\"0\">"; if($current_user->nagrada_16) echo "<img src=".$chat_url."status/16.jpg border=\"0\">"; ?> <?php if($current_user->quiz !="") {?> <tr> <td align="right"><font color=black><?php echo $w_quiz_answer; ?> :</td> <td><font color="#f7941d"> <b><?php echo $current_user->quiz; ?></b></font></td> </tr> <tr> <td align="right"><font color=black><?php echo $w_quiz_fastest_answer; ?> :</td> <td><font color="#f7941d"> <b><?php echo $current_user->quiz_fastest_answer; ?> сек.</b></font></td> </tr> <?php }?> <tr><td><font color="#bf0d0d" size=+1><b><?=$w_blok?>:</b></font></td></tr> <tr> <td align="right"><font color=black><?php echo $w_papa; ?> :</td> <td><font color="#bf0d0d"><b><?php echo $current_user->papa; ?></b></font></td> </tr> <tr> <td align="right"><font color=black><?php echo $w_mama; ?> :</td> <td><font color="#bf0d0d"><b><?php echo $current_user->mama; ?></b></font></td> </tr> <tr> <td align="right"><font color=black><?php echo $w_brat; ?> :</td> <td><font color="#bf0d0d"><b><?php echo $current_user->brat; ?></b></font></td> </tr> <tr> <td align="right"><font color=black><?php echo $w_sester; ?> :</td> <td><font color="#bf0d0d"><b><?php echo $current_user->sester; ?></b></font></td> </tr> <tr> <td align="right"><font color=black><?php echo $w_kresn; ?> :</td> <td><font color="#bf0d0d"><b><?php echo $current_user->kresn; ?></b></font></td> </tr> <tr> <td align="right"><font color=black><?php echo $w_kresnuy; ?> :</td> <td><font color="#bf0d0d"><b><?php echo $current_user->kresnuy; ?></b></font></td> </tr> <tr> <td align="right"><font color=black><?php echo $w_sin; ?> :</td> <td><font color="#bf0d0d"><b><?php echo $current_user->sin; ?></b></font></td> </tr> <tr> <td align="right"><font color=black><?php echo $w_doch; ?> :</td> <td><font color="#bf0d0d"><b><?php echo $current_user->doch; ?></b></font></td> </tr> </tr> </table></td></tr> <tr><td> </td></tr> <table align="center" border="0"> <tr> <?php if ($nick!=$current_user->nickname) { ?> <form method="post"> <?php if (in_array($current_user->nickname,$Friends)) { ?> <td><font color="#bf0d0d"><b>Удалить из друзей?</b></font></td> <input name="minus_friend" type="hidden" value="<?php echo $current_user->nickname; ?>"> <td><input type="submit" class="input_button" value="Да"></td> <?php } else { ?> <td><font color="#bf0d0d"><b>Добавить в друзья?</b></font></td> <input name="plus_friend" type="hidden" value="<?php echo $current_user->nickname; ?>"> <td><input type="submit" class="input_button" value="Да"> <?php } ?> </form> <?php } ?> </tr> <tr><td><div align="center"><font color="#bf0d0d"><b>Список друзей пользователя</b></font></td></tr> <tr><td> <?php foreach ($current_user->friends as $value) { echo "<a href=\"".$chat_url."profiler.php?user_to_search=".$value."\" target=\"_blank\">".$value."</a>"; echo ", "; } ?> </td></tr> </table> </table></td></tr> <tr><td> </td></tr> <tr><td><font color="#bf0d0d" size=+1><b><?=$w_addit_info?>:</b></font></td></tr> <tr><td> </td></tr> <tr><td><blockquote><font color=black><?=$current_user->about?></blockquote></td></tr> <tr><td> </td></tr> <tr><td align=center><a href="<?php echo $chat_url; ?>presents_profile.php?session=<?php echo $session; ?>&user_id=<?php echo $user_id; ?>" style="font-size:130%;font-weight:bold;COLOR:green;"><?php echo $w_roz_do_seepresents; ?></a><BR></td></tr> <tr><td> </td></tr> <tr><td><align=center><font color="#bf0d0d" size=+1><b><?= $w_feedback?>:</b></font></td></tr> <?php //content-messages $is_regist = $user_id; if(isset($board_messages)) unset($board_messages); include($ld_engine_path."board_get_messages.php"); echo "<b>".$info_message."</b>"; ?> <form method="post" action="profile_content.php"> <input type="hidden" name="session" value="<?php echo $session;?>"> <input type="hidden" name="act" value="del_posts"> <input type="hidden" name="page" value="<?php echo $page;?>"> <input type="hidden" name="user_id" value="<?php echo $user_id;?>"> <input type="hidden" name="send_to_id" value = "<?php echo $is_regist; ?>"> <?php echo "<table border=0>"; if($page == "") $page = 0; $NumRecs = count($board_messages); for ($i=$page*EDIT_LIMIT;$i< ($page+1)*EDIT_LIMIT;$i++) { if($i >= $NumRecs) break; $commId = $board_messages[$i]["from_id"]; $commPic = "" . floor($commId/2000) . "/" . $commId . ".big.gif"; if (!file_exists($file_path."photos/$commPic")) $commPic=""; if ($commPic == ""){ $commPic = "" . floor($commId/2000) . "/" . $commId . ".big.jpg"; if (!file_exists($file_path."photos/$commPic")) $commPic=""; if ($commPic == ""){ $commPic = "" . floor($commId/2000) . "/" . $commId . ".big.jpeg"; if (!file_exists($file_path."photos/$commPic")) $commPic=""; }} if($commPic == "") $commPic = "no_photo.gif"; ?> <tr><td width><font color=black><b><a target="_top" href="<?php echo $current_design; ?>profiler.php?session=<?php echo $session ?>&user_to_search=<?php echo $board_messages[$i]["from"]; ?>"><font color=black><?php echo $board_messages[$i]["from"];?></a></b></td><td><font color=black>[ <?php echo $board_messages[$i]["subject"];?> ]</td><td><font color=black><b><?php echo $board_messages[$i]["date"];?></b></td> <td> <?php if ($is_regist_old == $user_id or $cu_array[USER_CLASS] > 0) { ?> <input type="checkbox" name="mess_to_del[]" value="<?php echo $board_messages[$i]["id"];?>"> <?php } ?> </td></tr> <tr><td><img width=75 style="border-color: #000000" src=<?php echo $images_url."photos/".$commPic; ?> border=1></td><td colspan=4><font color=black><?php echo $board_messages[$i]["body"];?></td></tr> <tr><td colspan=4> </td></tr> <?php } if ($is_regist_old == $user_id or $cu_array[USER_CLASS] > 0) { ?> <tr><td> </td></tr> <tr><td colspan=4><input type="submit" value="<?php echo $w_del_checked;?>" class="input_button"></td></tr> <?php } echo "</table>"; echo "</form>"; /// pages $NumRecs = count($board_messages); echo "<p align=CENTER>"; for($i = 0; $i < $NumRecs/EDIT_LIMIT; $i++) { if(isset($page)) { if($i != $page) { echo "[<a href=\"".$current_design."profile_content.php?session=$session&user_id=$user_id&page=".$i."\">".($i+1)."</a>] \n"; } else { echo "<b>[".($i+1)."]</b> "; } } else { if($i > 0) { echo "[<a href='".$current_design."profile_content.php?session=$session&user_id=$user_id&page=".$i."'>".($i+1)."</a>] \n"; } else { echo "<b>[".($i+1)."]</b> \n"; } } } echo "</p>"; ?> </blockquote> </td></tr> </table> <table align=center border = 0> <?php if($exists and $session and $is_regist) { echo "<tr><td colspan=\"2\" align=CENTER><font color=\"#BC0000\" size=+1><b>$w_send_mes:</b></font><hr width=60% height=1 noshade>"; echo "</td></tr>"; echo "<tr><td colspan=\"2\" align=CENTER>"; ?> <form method="post" action="profile_content.php"> <input type="hidden" name="session" value="<?php echo $session;?>"> <input type="hidden" name="act" value="add_post"> <input type="hidden" name="user_id" value="<?php echo $user_id;?>"> <input type="hidden" name="page" value="<?php echo $page;?>"> <input type="hidden" name="send_to_id" value = "<?php echo $is_regist; ?>"> <font color=black><?php echo $w_subject;?>: <input type="text" name="subject" size="20" maxlength="50" value="<?php echo $tmp_subject;?>" class="input"><br> <a href=<? echo $chat_url;?>powmod/graffiti/graffiti.php?session=<? echo $session;?>&user_id=<? echo $user_id;?>><img src=<? echo $chat_url;?>powmod/graffiti/include/graffiti.png border=0 alt="Нарисовать граффити" title="Нарисовать граффити"></a> <font color=black><?php echo $w_message_text;?>:<br> <textarea cols="60" rows="10" name="message" class="input"> <?php echo $tmp_body;?> </textarea> <br> <input type="submit" value="<?php echo $w_send;?>" class="input_button"> </form> </table> <?php } ?> <?php if($IsModer) { if(is_file($file_path."designes/".$design."/browser/phpSniff.class.php")) { $IsSniff = true; include ($file_path."designes/".$design."/browser/phpSniff.class.php"); $sniffer_settings = array('check_cookies'=>false, 'default_language'=>"", 'allow_masquerading'=>false); $sniff = new phpSniff($current_user->user_agent, $sniffer_settings); } else $IsSniff = false; ?> <tr> <td> <table bgcolor="#EAEAEA" style="border: solid 1 #666666" width="90%" align="center"> <tr> <td> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><b><?=$w_classified_info?>:</b></td></tr> <tr><td colspan="2"> </td></tr> <?php if($IsSniff) { ?> <tr><td><?=$w_info_browser?>:</td><td><?php $br_name = ""; $br_type = $sniff->property('browser'); foreach ($sniff->_browsers as $key => $value) { if(!strcasecmp($value, $br_type)) { $br_name = ucwords($key); break; } } if($br_name == "") $br_name = $sniff->property('long_name'); echo $br_name." ".$sniff->property('version'); ?></td></tr> <tr><td><?=$w_info_os?>:</td><td><?=ucwords($sniff->property('platform'))." ".ucwords($sniff->property('os'));?></td></tr> <?php } ?> <tr><td>IP:</td><td><b><font color="#bf0d0d"><?=$current_user->IP?></font> / (WHOIS)</b></td></tr> <tr><td><?=$w_info_user_agent?>:</td><td><?=$current_user->user_agent?></td></tr> <tr><td>ID:</td><td><b><?php echo $is_regist; ?></b></td></tr> <tr><td><?php echo $w_roz_browser_id;?>:</td><td><?php echo $current_user->browser_hash; ?></td></tr> <tr><td><?php echo $w_roz_registered_at;?>:</td><td> <?php echo date("d.m.Y H:i:s",intval($current_user->registered_at)); ?></td></tr> <?php if($IsAdmin) { ?> <tr><td>Cookie:</td><td><?php echo $current_user->cookie_hash; ?></td></tr> <tr><td>Session:</td><td><?php echo $current_user->session; ?></td></tr> <?php } if($current_user->reffered_by > 0) {?> <tr><td><?php echo $w_reffered_by;?>:</td><td><?php echo "<b><a target=_parent href='".$chat_url."fullinfo.php?session=$session&user_id=".$current_user->reffered_by."'>".$current_user->reffered_by_nick."</a></b>"; ?></td></tr> <?php } ?> </table> </td> </tr> </table> </td> </tr> <?php } ?> <tr><td> </td></tr> <tr> <td align=CENTER> <?php if (@include($phpAdsNew_path."phpadsnew.inc.php")) { if (!isset($phpAds_context)) $phpAds_context = array(); $phpAds_raw = view_raw ('', 0, '', '', '1', $phpAds_context); } // Assign the $phpAds_raw['html'] variable to your template echo $phpAds_raw['html']; ?> </td> </tr> <tr><td> </td></tr> <?php if($IsModer) { ?> <tr><td> <table style="border: solid 1 #666666" width="90%" align="center"> <tr> <td> <?php echo "<table cellspacing=2 cellpadding=2 align=CENTER bgcolor=#FFFFFF>\n"; echo "<tr><td colspan=4><FONT color=#bf0d0d><b>$w_roz_personal_file</b></FONT></td></tr>\n"; echo "<tr><td colspan=4> </td></tr>\n"; include($ld_engine_path."moder_board_get_messages.php"); $MaxModerMsgs = count($moder_board_messages); $ModerViewed = 0; for($i = 0; $i < $MaxModerMsgs; $i++){ if($ModerViewed > (MODER_LOG_LIMIT-1)) break; echo "<tr><td></td><td><font size=-1>".$moder_board_messages[$i]["date"]."</font></td><td></td><td><b>"; if(trim($moder_board_messages[$i]["from"]) != "") echo "<font color=Red>".$moder_board_messages[$i]["from"].": "; echo $moder_board_messages[$i]["body"]."</b>"; if(trim($moder_board_messages[$i]["from"]) != "") echo "</font>"; echo "</td></tr>\n"; $ModerViewed++; } if(count($moder_board_messages) > MODER_LOG_LIMIT) { echo "<tr><td colspan=4 align=right><a href='".$current_design."profile_content.php?session=$session&moder_user_id=$is_regist&user_id=$user_id&act=view_personal'><b>$w_roz_more_personal</b></a></td></tr>\n"; } ?> <form method="post" action="profile_content.php"> <input type="hidden" name="session" value="<?php echo $session;?>"> <input type="hidden" name="act" value="add_personal"> <input type="hidden" name="moder_user_id" value="<?php echo $is_regist;?>"> <input type="hidden" name="user_id" value="<?php echo $user_id;?>"> <?php echo "<tr><td colspan=4 align=CENTER>\n"; ?> <input type="text" size=25 name="moder_message" class="input"> <input type="submit" value="<?php echo $w_roz_add_personal; ?>" class="input_button"></td></tr> </form> <?php echo "</table>"; ?> </td></tr></table> </td></tr> <?php } ?> </body></html>
<?echo $alf?>
<?echo $nagrad?>
'<img src="../../pasha_nagrady/umnyj.png" border="0">'
<?echo $alf?> <? if($current_user->nagrada_1) echo "<img src=".$chat_url."status/1.jpg border=\"0\">"; if($current_user->nagrada_2) echo "<img src=".$chat_url."status/2.jpg border=\"0\">"; if($current_user->nagrada_3) echo "<img src=".$chat_url."status/3.jpg border=\"0\">"; if($current_user->nagrada_4) echo "<img src=".$chat_url."status/4.jpg border=\"0\">"; if($current_user->nagrada_5) echo "<img src=".$chat_url."status/5.jpg border=\"0\">"; if($current_user->nagrada_6) echo "<img src=".$chat_url."status/6.jpg border=\"0\">"; if($current_user->nagrada_7) echo "<img src=".$chat_url."status/7.jpg border=\"0\">"; if($current_user->nagrada_8) echo "<img src=".$chat_url."status/8.jpg border=\"0\">"; if($current_user->nagrada_9) echo "<img src=".$chat_url."status/9.jpg border=\"0\">"; if($current_user->nagrada_10) echo "<img src=".$chat_url."status/10.jpg border=\"0\">"; if($current_user->nagrada_11) echo "<img src=".$chat_url."status/11.jpg border=\"0\">"; if($current_user->nagrada_12) echo "<img src=".$chat_url."status/12.jpg border=\"0\">"; if($current_user->nagrada_13) echo "<img src=".$chat_url."status/13.jpg border=\"0\">"; if($current_user->nagrada_14) echo "<img src=".$chat_url."status/14.jpg border=\"0\">"; if($current_user->nagrada_15) echo "<img src=".$chat_url."status/15.jpg border=\"0\">"; if($current_user->nagrada_16) echo "<img src=".$chat_url."status/16.jpg border=\"0\">"; ?>