!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/home/mnnews/public_html/phpads/admin/   drwxr-xr-x
Free 3.96 GB of 27.03 GB (14.66%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     userlog-index.php (5.18 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php // $Revision: 1.2 $

/************************************************************************/
/* phpAdsNew 2                                                          */
/* ===========                                                          */
/*                                                                      */
/* Copyright (c) 2001 by the phpAdsNew developers                       */
/* http://sourceforge.net/projects/phpadsnew                            */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/



// Include required files
require ("config.php");


// Security check
phpAds_checkAccess(phpAds_Admin);



/*********************************************************/
/* HTML framework                                        */
/*********************************************************/

phpAds_PageHeader("5.2");
phpAds_ShowSections(array("5.1", "5.2"));

// Load translations
require ("../language/".strtolower($phpAds_config['language'])."/userlog.lang.php");



/*********************************************************/
/* Main code                                             */
/*********************************************************/

$res = phpAds_dbQuery("
    SELECT
        COUNT(*) as count
    FROM
        "
.$phpAds_config['tbl_userlog']."
"
);

if (
$row = phpAds_dbFetchArray($res))
    
$count = $row['count'];
else
    
$count = 0;


$limit = 15;
$start = isset($start) ? (int) $start : 0;

$res = phpAds_dbQuery("
    SELECT
        *
    FROM
        "
.$phpAds_config['tbl_userlog']."
    ORDER BY
        timestamp DESC
    LIMIT
        "
.($start * $limit).", ".$limit."
"
);


echo
"<br><br>";
echo
"<table border='0' width='100%' cellpadding='0' cellspacing='0'>";    
echo
"<tr><td height='25'>&nbsp;&nbsp;<b>".$strDate."</b></td>";
echo
"<td height='25'><b>".$strAction."</b></td></tr>";
echo
"<td colspan='4' bgcolor='#888888'><img src='images/break.gif' height='1' width='100%'></td>";


if (
phpAds_dbNumRows($res) == 0)
{
    echo
"<tr height='25' bgcolor='#F6F6F6'><td height='25' colspan='4'>";
    echo
"&nbsp;&nbsp;".$strNoActionsLogged."</td></tr>";
    echo
"<td colspan='4' bgcolor='#888888'><img src='images/break.gif' height='1' width='100%'></td>";
}

$i=0;

while (
$row = phpAds_dbFetchArray($res))
{
    if (
$i > 0) echo "<td colspan='4' bgcolor='#888888'><img src='images/break-l.gif' height='1' width='100%'></td>";
    echo
"<tr height='25' ".($i%2==0?"bgcolor='#F6F6F6'":"").">";
    
    
// Timestamp
    
echo "<td height='25'>&nbsp;&nbsp;".strftime($date_format, $row['timestamp']).", ";
    echo
strftime($minute_format, $row['timestamp'])."</td>";
    
    
// User
    
echo "<td height='25'>";
    switch (
$row['usertype'])
    {
        case
phpAds_userDeliveryEngine:    echo "<img src='images/icon-generatecode.gif' align='absmiddle'>&nbsp;".$strDeliveryEngine; break;
        case
phpAds_userMaintenance:    echo "<img src='images/icon-time.gif' align='absmiddle'>&nbsp;".$strMaintenance; break;
        case
phpAds_userAdministrator:    echo "<img src='images/icon-client.gif' align='absmiddle'>&nbsp;".$strAdministrator; break;
    }
    echo
"</td>";
    
    
// Details
    
echo "<td height='25' align='".$phpAds_TextAlignRight."'>";
    if (
$row['details'] != '')
    {
        echo
"<a href='userlog-details.php?userlogid=".$row['userlogid']."'>";
        echo
"<img src='images/icon-zoom.gif' align='absmiddle' border='0'>&nbsp;".$strDetails."</a>";
    }
    else
        echo
"&nbsp;";
    echo
"&nbsp;&nbsp;</td>";
    echo
"</tr>";
    
    
// Space
    
echo "<tr height='20' valign='top' ".($i%2==0?"bgcolor='#F6F6F6'":"").">";
    echo
"<td>&nbsp;</td>";
    
    
// Action
    
$action = $strUserlog[$row['action']];
    
$action = str_replace ('{id}', $row['object'], $action);
    echo
"<td height='20' colspan='2'><img src='images/spacer.gif' height='16' width='16' align='absmiddle'>&nbsp;".$action."</td>";
    echo
"</tr>";
    
    
$i++;
}

if (
phpAds_dbNumRows($res) > 0)
{
    echo
"<tr height='1'><td colspan='4' bgcolor='#888888'><img src='images/break.gif' height='1' width='100%'></td></tr>";
    echo
"<tr><td height='25' colspan='2'>";
        echo
"<a href='userlog-delete.php'><img src='images/icon-recycle.gif' border='0' align='absmiddle'>&nbsp;".$strDeleteLog."</a>";
    echo
"</td><td height='25' colspan='2' align='".$phpAds_TextAlignRight."'>";
        if (
$start > 0)
        {
            echo
"<a href='userlog-index.php?start=".($start - 1)."'>";
            echo
"<img src='images/arrow-l.gif' border='0' align='absmiddle'>".$strPrevious."</a>";
        }
        if (
$count > ($start + 1) * $limit)
        {
            if (
$start > 0) echo "&nbsp;|&nbsp;";
            
            echo
"<a href='userlog-index.php?start=".($start + 1)."'>";
            echo
$strNext."<img src='images/arrow-r.gif' border='0' align='absmiddle'></a>";
        }
    echo
"</td></tr>";
}

echo
"</table>";
echo
"<br><br>";



/*********************************************************/
/* HTML framework                                        */
/*********************************************************/

phpAds_PageFooter();

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0035 ]--