403Webshell
Server IP : 103.82.32.14  /  Your IP : 216.73.217.140
Web Server : Apache/2.2.32 (Unix) mod_ssl/2.2.32 OpenSSL/1.0.1e-fips mod_fcgid/2.3.9
System : Linux cloud.lonmanhoabinh.com 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : lonmakmf ( 524)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/forumhet/public_html/users/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/forumhet/public_html/users/index.php
<?php

/**
 * @package     JohnCMS
 * @link        http://johncms.com
 * @copyright   Copyright (C) 2008-2011 JohnCMS Community
 * @license     LICENSE.txt (see attached file)
 * @version     VERSION.txt (see attached file)
 * @author      http://johncms.com/about
 */

define('_IN_JOHNCMS', 1);

$headmod = 'users';
require('../incfiles/core.php');

/*
-----------------------------------------------------------------
Закрываем от неавторизованных юзеров
-----------------------------------------------------------------
*/
if (!$user_id && !$set['active']) {
    require('../incfiles/head.php');
    echo functions::display_error($lng['access_guest_forbidden']);
    require('../incfiles/end.php');
    exit;
}

/*
-----------------------------------------------------------------
Переключаем режимы работы
-----------------------------------------------------------------
*/
$array = array(
    'admlist'  => 'includes',
    'birth'    => 'includes',
    'online'   => 'includes',
    'search'   => 'includes',
    'top'      => 'includes',
    'userlist' => 'includes'
);
$path = !empty($array[$act]) ? $array[$act] . '/' : '';
if (array_key_exists($act, $array) && file_exists($path . $act . '.php')) {
    require_once($path . $act . '.php');
} else {
    /*
    -----------------------------------------------------------------
    Актив сайта
    -----------------------------------------------------------------
    */
    $textl = $lng['community'];
    require('../incfiles/head.php');
    $brth = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `dayb` = '" . date('j', time()) . "' AND `monthb` = '" . date('n', time()) . "' AND `preg` = '1'"), 0);
    $count_adm = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `rights` > 0"), 0);
    echo '<div class="phdr"><b>' . $lng['community'] . '</b></div>' .
        '<div class="gmenu"><form action="search.php" method="post">' .
        '<p><h3><img src="../images/search.png" width="16" height="16" class="left" />&#160;' . $lng['search'] . '</h3>' .
        '<input type="text" name="search"/>' .
        '<input type="submit" value="' . $lng['search'] . '" name="submit" /><br />' .
        '<small>' . $lng['search_nick_help'] . '</small></p></form></div>' .
        '<div class="menu"><p>' .
        functions::image('contacts.png', array('width' => 16, 'height' => 16)) . '<a href="index.php?act=userlist">' . $lng['users'] . '</a> (' . counters::users() . ')<br />' .
        functions::image('users.png', array('width' => 16, 'height' => 16)) . '<a href="index.php?act=admlist">' . $lng['administration'] . '</a> (' . $count_adm . ')<br/>' .
        ($brth
            ? functions::image('award.png', array('width' => 16, 'height' => 16)) . '<a href="index.php?act=birth">' . $lng['birthday_men'] . '</a> (' . $brth . ')<br/>'
            : '') .
        functions::image('photo.gif', array('width' => 16, 'height' => 16)) . '<a href="album.php">' . $lng['photo_albums'] . '</a> (' . counters::album() . ')<br/>' .
        functions::image('rate.gif', array('width' => 16, 'height' => 16)) . '<a href="index.php?act=top">' . $lng['users_top'] . '</a></p>' .
        '</div>' .
        '<div class="phdr"><a href="index.php">' . $lng['back'] . '</a></div>';
}

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

Youez - 2016 - github.com/yon3zu
LinuXploit