Вход Регистрация
Файл: public_html/element_moder_user.php
Строк: 221
<?php
require_once './element_options/element_options.php';
if (!
$user) { header('Location: /'); exit; }
if (
$user['lost_privilege'] == 0) { header('Location: /'); exit; } 
$to = (isset($_GET['to'])) ? $_GET['to'] : false;
if (!
$id) {
    
$title 'Персонаж не найден';
    
$error1 '<span class="small">Выбранный Вами персонаж не существует, либо был удален';
    require_once 
'element_error_page.php';
    exit;
}

$profile_user cache_user($id);
    
if (!
$profile_user) {
    
$title 'Персонаж не найден';
    
$error1 '<span class="small">Выбранный Вами персонаж не существует, либо был удален';
    require_once 
'element_error_page.php';
    exit;
}
require_once 
'./element_function/element_function_moder.php';

// Регистрация / Посл. вход / Почта / Бан / Ник / Стихия / Пол
$profile_other explode(' '$profile_user['lost_other']);
$profile_exp explode(' '$profile_user['lost_exp']);    
$profile_energy explode(':'$profile_user['lost_params_energy']);    
$town_o explode(':'$profile_user['lost_town_other']);    
$subforum mysql_query("SELECT * FROM `element_forum_list_2` WHERE `lost_town` = '0' ORDER BY `lost_dostype` ASC");
    
$title 'Управление "'.$profile_user['lost_login'].'"';
require_once 
'./element_include/element_head.php';
require_once 
'./element_include/element_header_user_true.php';

    if (
$go == 'race' AND $to >= AND $go == 'race' AND $to <= 4) {
        
$profile_user['lost_race'] = $to;
        
writecache('element_users_id_'.$id,$profile_user);
        
user_list_update($id);
    }
    

    
    
    

    

    if (isset(
$_GET['client_info'])) {
        
$exp_ip explode('**'$profile_user['lost_ip']);
        
krsort($exp_ip);
        echo 
'<div class="nfl p5 mb5 mlra small">';    
        echo 
'<div class="yellow1 mb5 cntr"><a href="/element/moder/user?id='.$id.'">В управление персонажом</a></div>';
        echo 
'<span class="white">Регистрационный IP адрес: </span><span class="moderator">'.$profile_user['lost_start_ip'].'</span><br/>';
        echo 
'<span class="white">Регистрация с <span class="moderator">'.UserAgent($profile_user['lost_user_agent']).'</span> где UserAgent: </span><span class="moderator">'.$profile_user['lost_user_agent'].'</span>';
        echo 
'<div class="hr mt5 mb5"></div>';
        echo 
'<span class="white">Текущие IP адреса: </span><span class="moderator">'.$profile_user['lost_ip'].'</span><br/>';
        echo 
'<span class="white">Играет с <span class="moderator">'.UserAgent($profile_user['lost_user_agent_2']).'</span> где UserAgent: </span><span class="moderator">'.$profile_user['lost_user_agent_2'].'</span>';
        echo 
'<div class="hr mt5 mb5"></div>';
        echo 
'<div class="yellow1 mb5 cntr">Другие возможные персонажы</div>';
        
        
$list_clony = array();
        foreach (
$exp_ip as $ip) {
            
$mylty mysql_query("SELECT `lost_id` FROM `element_user` WHERE `lost_ip` LIKE '%$ip%' AND `lost_id` != '$id'");
            while (
$qwe mysql_fetch_array($mylty)) {
                if (empty(
$list_clony[$qwe['lost_id']])) $list_clony[$qwe['lost_id']] = $qwe['lost_id'];
            }
        }
        
        
// Выводим список мультов, иначе говорим, что их нету
        
if (count($list_clony) > 0) {
            
$color 0;
            foreach (
$list_clony as $value_id) {
                if (
$color 2$odd ''; else $odd ' odd';
                
$cache_clon cache_user($value_id);
                echo 
'
                    <div class="ml5 mr5">
                        <a class="bl p5 small block'
.$odd.'" href="/user?id='.$value_id.'">
                        Персонаж '
.$value_id.': '.ikonka_user($cache_clon['lost_race'], 'online').' <span class="yellow1">'.$cache_clon['lost_login'].'</span><br/>
                        Список IP адресов: <span class="moderator">'
.$cache_clon['lost_ip'].'</span><br/>
                        Схожесть UserAgent'
ов: <span class="moderator">'.(($profile_user['lost_user_agent_2'] == $cache_clon['lost_user_agent_2']) ? 'Данные на 100совпадают' : 'Данные не совпадают').'</span><br/>
                        
Пароли: <span class="moderator">'.(($profile_user['lost_password'] == $cache_clon['lost_password']) ? 'Совпадают' : 'Не совпадают').'</span><br/>
                        
Регистрационные IP: <span class="moderator">'.(($profile_user['lost_start_ip'] == $cache_clon['lost_start_ip']) ? 'Совпадает' : 'Не совпадает').'</span>
                        </
a>
                    </
div>
                
';
                $color++;
            }
        } else echo '
<div class="moderator mb5 cntr">Мультов по текущим IP адресам не найдено!</div>';
        
        echo '
<div class="yellow1 mt5 cntr"><a href="/element/moder/user?id='.$id.'">В управление персонажом</a></div>';
        echo '
</div>';
        require_once '
./element_include/element_foot_user_true.php';
        exit;
    }

    if (isset($_GET['
refferer'])) {
        $sql = "SELECT `id_refferer` FROM `element_refferer` WHERE `id_user` = '
$id'";
        $query = mysql_query($sql);
        $count = mysql_num_rows($query);
        
        echo '
<div class="nfl p5 mb5 mlra small">';    
        echo '
<div class="yellow1 mb5 cntr"><a href="/element/moder/user?id='.$id.'">В управление персонажом</a></div>';
        
        if ($count == 0) {
            echo '
<div class="mt5 mb5 ccc cntr">Пользователь ещё никого не пригласил в игру</div>';
        } else {
            echo '
<div class="mt5 mb5 yellow1 cntr">Приглашено игроков' . $count . '</div>';
            
            while ($myrrow = mysql_fetch_assoc($query)) {
                $id_user = cache_user($myrrow['
id_refferer']);
                $on_off = (!empty($online[$myrrow['
id_refferer']])) ? 'online' : 'offline';
                
                echo ikonka_user($id_user['
lost_race'], $on_off) . ' <a href="/user?id=' . $myrrow['id_refferer'] . '">' . $id_user['lost_login'] . '</a><br/>';
                
            }
            
        }
        
        
        echo '
<div class="yellow1 mt5 cntr"><a href="/element/moder/user?id='.$id.'">В управление персонажом</a></div>';
        echo '
</div>';
        require_once '
./element_include/element_foot_user_true.php';
        exit;
    }
    
    
    if (isset($_GET['
history'])) {
        echo '
<div class="nfl p5 mb5 mlra small">';    
        echo '
<div class="yellow1 mb5 cntr"><a href="/element/moder/user?id='.$id.'">В управление персонажом</a></div>';
        $count_h = mysql_result(mysql_query("SELECT COUNT(`lost_id`) FROM `element_history_user` WHERE `lost_user` = '
$id'"), 0);
        
        if ($count_h > 0) {
            require_once '
./element_function/element_function_pagination.php';
            $page = (isset($_GET['
page']) AND is_numeric($_GET['page'])) ? (int)$_GET['page'] : 1;
            $pagination = pagination(15, $page, $count_h);
            
            $query = mysql_query("SELECT `lost_text` FROM `element_history_user` WHERE `lost_user` = '
$id' ORDER BY `lost_time` DESC LIMIT $pagination[start], $pagination[num]");
            
            while ($myrrow = mysql_fetch_array($query)) {
                echo $myrrow['
lost_text'];
            }
        
            echo pagination_echo($pagination['
page'],$pagination['total'],'/element/moder/user?id='.$id.'&history&page=');
        } else echo '
<div class="cntr mb5 mt5 white">Пусто</div>';
        
        echo '
<div class="yellow1 mt5 cntr"><a href="/element/moder/user?id='.$id.'">В управление персонажом</a></div>';
        echo '
</div>';
        require_once '
./element_include/element_foot_user_true.php';
        exit;
    }
    
    $blessing = SetBlessing($profile_user['
lost_blessing']);
echo '
<div class="nfl p5 mb5 mlra small">';    
echo '
<span class="yellow1">Персонаж ID'.$id.''.ikonka_user($profile_user['lost_race'], ((!empty($online[$id])) ? 'online' : 'offline')).' <a href="/user?id='.$id.'">'.$profile_user['lost_login'].'</a></span><br/>';    
echo '
<span class="yellow1">Регистрация'.rdate("Y, d M H:i", $profile_other[0]).'</span><br/>';    
echo '
<span class="yellow1">Опыт'.Replace_Bytes($profile_exp[0]).' '.Replace_Bytes($profile_exp[1]).' '.Replace_Bytes($profile_exp[2]).'</span><br/>';
echo '
<span class="yellow1">Деньги: </span><span class="bold white"><img src="/images/icons/gold.png"'.$profile_user['lost_money_gold'].'
 
<img src="/images/icons/cristall.png"'.$profile_user['lost_resourse_cristalls'].'
 
<img src="/images/icons/irridyi.png"'.$profile_user['lost_resourse_irridyi'].'
 
</span><br/>';
echo '
<span class="yellow1">Благословение'.$blessing['name'].'<span><br/>';    
 
    echo '
<div class="cntr mt5">';
    echo '
<class="button w96" href="/element/moder/user?id='.$id.'&client_info">IPUSER-AGENTмульты..</a><br/>';
    echo '
<class="button w96 mt5" href="/element/moder/user?id='.$id.'&refferer">Рефералы</a><br/>';
    echo '
<class="button w96 mt5" href="/element/moder/user?id='.$id.'&history">История действий</a><br/>';
    echo '
</div>';
 

    
echo '
</div>';
require_once '
./element_include/element_foot_user_true.php';
?>
Онлайн: 1
Реклама