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){
}else{
$query = mysql_query("UPDATE datapermintaan SET status='PEMBUATAN NOPO' where id='$_POST[edit]'");
$query = mysql_query("INSERT INTO statuspermintaan (jam,user,status,ids,tgl) values
('$jamkom','$_POST[nama]','PEMBUATAN NOPO','$_POST[edit]','$tglkom')");
$sql2vV = mysql_query("select * from datapermintaan where id='$_POST[edit]'");
$fffS = mysql_fetch_array($sql2vV);
$tglkom=date("Y-m-d");
$tglkomm=date("Y-m-01");
function sendMessage(){
$content = array(
"en" => "NOMOR SPB $fffS[sn] PEMBUATAN NOPO OLEH $_POST[nama]. Terimakasih By.System"
);
$heading = array(
"en" => "SPB $fffS[sn] PEMBUATAN NOPO ($_SESSION[nama])"
);
$fields = array(
'app_id' => "$_SESSION[appid]",
'included_segments' => array('All'),
'data' => array("foo" => "bar"),
'small_icon' =>"https://putrasarana.com/finger/lihatsj.png",
'large_icon' =>"https://putrasarana.com/finger/lihatsj.png",
'url' => "finger.https://putrasarana.com/finger/index_admin.php?tglpenjualanaw=$tglkomm&tglpenjualanak=$tglkom&search=$fffS[nosn]&pg=terimaspb&act=view",
'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 $_SESSION[apikey]"));
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);
//print("\n\nJSON received:\n");
}
}
elseif($_POST[proses] == "po"){
$sql2v = mysql_query("select * from statuspermintaan where ids='$_POST[edit]' AND (status='PEMBUATAN NOPO' || status='PEMBUATAN NOPO SELESAI' || status='PROSES PURCHASING')");
$fff = mysql_fetch_array($sql2v);
$cek = mysql_query("select * from statuspermintaan where ids='$_POST[edit]' AND (status='PROSES PURCHASING')");
$rowcountt = mysql_num_rows($cek);
if($rowcountt >= 1){
}else{
$query = mysql_query("UPDATE datapermintaan SET status='PROSES PURCHASING' where id='$_POST[edit]'");
$query = mysql_query("UPDATE statuspermintaan SET status='PROSES PURCHASING',tgl='$tglkom',jam='$jamkom' where id = '$fff[id]'");
$sql2vV = mysql_query("select * from datapermintaan where id='$_POST[edit]'");
$fffS = mysql_fetch_array($sql2vV);
$tglkom=date("Y-m-d");
$tglkomm=date("Y-m-01");
$heading = array(
"en" => "SPB $fffS[sn] PROSES PURCHASING ($_SESSION[nama])"
);
$content = array(
"en" => "NOMOR SPB $fffS[sn] SELANJUTNYA PROSES PURCHASING OLEH $_POST[nama]. Terimakasih By.System"
);
$fields = array(
'app_id' => "$_SESSION[appid]",
'included_segments' => array('All'),
'data' => array("foo" => "bar"),
'small_icon' =>"https://putrasarana.com/finger/lihatsj.png",
'large_icon' =>"https://putrasarana.com/finger/lihatsj.png",
'headings' => $heading,
'url' => "finger.https://putrasarana.com/finger/index_admin.php?tglpenjualanaw=$tglkomm&tglpenjualanak=$tglkom&search=$fffS[nosn]&pg=terimaspb&act=view",
'priority' => '1',
'contents' => $content
);
$sendContent = json_encode($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 $_SESSION[apikey]"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, $sendContent);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
$response = curl_exec($ch);
curl_close($ch);
}
}
elseif($_POST[proses] == "finance"){
$cek = mysql_query("select * from statuspermintaan where ids='$_POST[edit]' AND (status='PROSES KE FINANCE')");
$rowcountt = mysql_num_rows($cek);
$sql2v = mysql_query("select * from statuspermintaan where ids='$_POST[edit]' AND (status='PEMBUATAN NOPO' || status='PEMBUATAN NOPO SELESAI' || status='PROSES PURCHASING')");
$fff = mysql_fetch_array($sql2v);
if($rowcountt >= 1){
}else{
$query = mysql_query("UPDATE datapermintaan SET status='PROSES KE FINANCE' where id='$_POST[edit]'");
$query = mysql_query("UPDATE statuspermintaan SET status='PEMBUATAN NOPO SELESAI' where id = '$fff[id]'");
$query = mysql_query("INSERT INTO statuspermintaan (jam,user,status,ids,tgl) values
('$jamkom','$_POST[nama]','PROSES KE FINANCE','$_POST[edit]','$tglkom')");
$sql2vV = mysql_query("select * from datapermintaan where id='$_POST[edit]'");
$fffS = mysql_fetch_array($sql2vV);
$tglkom=date("Y-m-d");
$tglkomm=date("Y-m-01");
$heading = array(
"en" => "SPB $fffS[sn] PROSES KE FINANCE ($_SESSION[nama])"
);
$content = array(
"en" => "NOMOR SPB $fffS[sn] SELANJUTNYA AKAN DIPROSES KE FINANCE OLEH $_POST[nama]. Terimakasih By.System"
);
$fields = array(
'app_id' => "$_SESSION[appid]",
'included_segments' => array('All'),
'data' => array("foo" => "bar"),
'small_icon' =>"https://putrasarana.com/finger/lihatsj.png",
'large_icon' =>"https://putrasarana.com/finger/lihatsj.png",
'headings' => $heading,
'url' => "finger.https://putrasarana.com/finger/index_admin.php?tglpenjualanaw=$tglkomm&tglpenjualanak=$tglkom&search=$fffS[nosn]&pg=terimaspb&act=view",
'priority' => '1',
'contents' => $content
);
$sendContent = json_encode($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 $_SESSION[apikey]"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, $sendContent);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
$response = curl_exec($ch);
curl_close($ch);
}
}
elseif($_POST[proses] == "prtransfer"){
$cek = mysql_query("select * from statuspermintaan where ids='$_POST[edit]' AND (status='PERSIAPAN TRANSFER' || status='SUDAH TRANSFER')");
$rowcountt = mysql_num_rows($cek);
if($rowcountt >= 1){
}else{
$query = mysql_query("UPDATE datapermintaan SET status='PERSIAPAN TRANSFER' where id='$_POST[edit]'");
$query = mysql_query("INSERT INTO statuspermintaan (jam,user,status,ids,tgl) values
('$jamkom','$_POST[nama]','PERSIAPAN TRANSFER','$_POST[edit]','$tglkom')");
$sql2vV = mysql_query("select * from datapermintaan where id='$_POST[edit]'");
$fffS = mysql_fetch_array($sql2vV);
$tglkom=date("Y-m-d");
$tglkomm=date("Y-m-01");
$heading = array(
"en" => "SPB $fffS[sn] PERSIAPAN TRANSFER ($_SESSION[nama])"
);
$content = array(
"en" => "NOMOR SPB $fffS[sn] SELANJUTNYA AKAN PERSIAPAN TRANSFER. Terimakasih By.System"
);
$fields = array(
'app_id' => "$_SESSION[appid]",
'included_segments' => array('All'),
'data' => array("foo" => "bar"),
'small_icon' =>"https://putrasarana.com/finger/lihatsj.png",
'large_icon' =>"https://putrasarana.com/finger/lihatsj.png",
'headings' => $heading,
'url' => "finger.https://putrasarana.com/finger/index_admin.php?tglpenjualanaw=$tglkomm&tglpenjualanak=$tglkom&search=$fffS[nosn]&pg=terimaspb&act=view",
'priority' => '1',
'contents' => $content
);
$sendContent = json_encode($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 $_SESSION[apikey]"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, $sendContent);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
$response = curl_exec($ch);
curl_close($ch);
}
}
elseif($_POST[proses] == "pengambilan"){
$cek = mysql_query("select * from statuspermintaan where ids='$_POST[edit]' AND (status='PENGAMBILAN')");
$rowcountt = mysql_num_rows($cek);
if($rowcountt >= 1){
}else{
$query = mysql_query("UPDATE datapermintaan SET status='PENGAMBILAN' where id='$_POST[edit]'");
$query = mysql_query("INSERT INTO statuspermintaan (jam,user,status,ids,tgl) values
('$jamkom','$_POST[nama]','PENGAMBILAN','$_POST[edit]','$tglkom')");
}
}
elseif($_POST[proses] == "sdhtransfer"){
$sql2v = mysql_query("select * from statuspermintaan where ids='$_POST[edit]' AND (status='PERSIAPAN TRANSFER')");
$fff = mysql_fetch_array($sql2v);
$cek = mysql_query("select * from statuspermintaan where ids='$_POST[edit]' AND (status='SUDAH TRANSFER')");
$rowcountt = mysql_num_rows($cek);
if($rowcountt >= 1){
}else{
$query = mysql_query("UPDATE datapermintaan SET status='SUDAH TRANSFER' where id='$_POST[edit]'");
$query = mysql_query("UPDATE statuspermintaan SET user='$_POST[nama]',status='SUDAH TRANSFER',tgl='$tglkom',jam='$jamkom' where id = '$fff[id]'");
$sql2vV = mysql_query("select * from datapermintaan where id='$_POST[edit]'");
$fffS = mysql_fetch_array($sql2vV);
$tglkom=date("Y-m-d");
$tglkomm=date("Y-m-01");
$heading = array(
"en" => "SPB $fffS[sn] SUDAH TRANSFER ($_SESSION[nama])"
);
$content = array(
"en" => "NOMOR SPB $fffS[sn] KASBON SUDAH TRANSFER. Terimakasih By.System"
);
$fields = array(
'app_id' => "$_SESSION[appid]",
'included_segments' => array('All'),
'data' => array("foo" => "bar"),
'small_icon' =>"https://putrasarana.com/finger/lihatsj.png",
'large_icon' =>"https://putrasarana.com/finger/lihatsj.png",
'headings' => $heading,
'url' => "finger.https://putrasarana.com/finger/index_admin.php?tglpenjualanaw=$tglkomm&tglpenjualanak=$tglkom&search=$fffS[nosn]&pg=terimaspb&act=view",
'priority' => '1',
'contents' => $content
);
$sendContent = json_encode($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 $_SESSION[apikey]"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, $sendContent);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
$response = curl_exec($ch);
curl_close($ch);
}
}
elseif($_POST[proses] == "tutupkasbon"){
$cek = mysql_query("select * from statuspermintaan where ids='$_POST[edit]' AND (status='TUTUP KASBON')");
$rowcountt = mysql_num_rows($cek);
if($rowcountt >= 1){
}else{
$sql2v = mysql_query("select * from datapermintaan where id='$_POST[edit]'");
$fgh = mysql_fetch_array($sql2v);
$query = mysql_query("UPDATE datapermintaan SET status='TUTUP KASBON' where id='$_POST[edit]'");
$query = mysql_query("INSERT INTO statuspermintaan (jam,user,status,ids,tgl) values
('$jamkom','$_POST[nama]','TUTUP KASBON','$_POST[edit]','$tglkom')");
$query = mysql_query("UPDATE kasbon SET status='SELESAI',tglclose='$tglkom'
where nospb='$fgh[sn]'");
$sql2vV = mysql_query("select * from datapermintaan where id='$_POST[edit]'");
$fffS = mysql_fetch_array($sql2vV);
$tglkom=date("Y-m-d");
$tglkomm=date("Y-m-01");
$heading = array(
"en" => "SPB $fffS[sn] TUTUP KASBON ($_SESSION[nama])"
);
$content = array(
"en" => "NOMOR SPB $fffS[sn] TUTUP KASBON. Terimakasih By.System"
);
$fields = array(
'app_id' => "$_SESSION[appid]",
'included_segments' => array('All'),
'data' => array("foo" => "bar"),
'small_icon' =>"https://putrasarana.com/finger/lihatsj.png",
'large_icon' =>"https://putrasarana.com/finger/lihatsj.png",
'headings' => $heading,
'url' => "finger.https://putrasarana.com/finger/index_admin.php?tglpenjualanaw=$tglkomm&tglpenjualanak=$tglkom&search=$fffS[nosn]&pg=terimaspb&act=view",
'priority' => '1',
'contents' => $content
);
$sendContent = json_encode($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 $_SESSION[apikey]"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, $sendContent);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
$response = curl_exec($ch);
curl_close($ch);
}
}
elseif($_POST[proses] == "selesai"){
$cek = mysql_query("select * from statuspermintaan where ids='$_POST[edit]' AND (status='SELESAI')");
$rowcountt = mysql_num_rows($cek);
if($rowcountt >= 1){
}else{
$query = mysql_query("UPDATE datapermintaan SET status='SELESAI' where id='$_POST[edit]'");
$query = mysql_query("INSERT INTO statuspermintaan (jam,user,status,ids,tgl) values
('$jamkom','$_POST[nama]','SELESAI','$_POST[edit]','$tglkom')");
}
}
elseif($_POST[proses] == "kasbon"){
$cek = mysql_query("select * from kasbon where nospb='$_POST[nospb]'");
$rowcountt = mysql_num_rows($cek);
$jml = $_POST['jml'];
$hargaa= str_replace(".", "", $jml);
if($rowcountt >= 1){
}else{
$sql2v = mysql_query("select * from datapermintaan where id='$_POST[edit]'");
$fffvv = mysql_fetch_array($sql2v);
$sql2v = mysql_query("select * from statuspermintaan where ids='$_POST[edit]' order by id desc");
$fffvvv = mysql_fetch_array($sql2v);
$sql2v = mysql_query("select * from detailsdatapermintaan where idS='$_POST[edit]'");
$fffvvB = mysql_fetch_array($sql2v);
$sql2v = mysql_query("select * from detailsdatapermintaan where idS='$_POST[edit]' AND ket!=''");
$fffvvBv = mysql_fetch_array($sql2v);
$query3qc="SELECT SUM(hargabaru) FROM dataunit where ids='$_POST[edit]'";
$hasil3c=mysql_query($query3qc);
$harga = mysql_result($hasil3c, 0, 0);
$tanggal=date("Y-m-d");
$jam=date("H:m:s");
if($fffvvv[status] == "TUTUP KASBON" || $fffvvv[status] == "SELESAI"){
$query = mysql_query("INSERT INTO kasbon (po,reg,groupkasbon,idd,user,tgl,nama,nospb,details,site,status,tglclose) values
('$fffvv[nopo]','-','-','$fffvv[id]','$_SESSION[nama]','$tanggal','$_POST[namaa]','$fffvv[sn]','$_SESSION[nama] $tanggal','$fffvv[site]','SELESAI','$tanggal')");
$dat=mysql_query("select * from kasbon where nama='$_POST[namaa]' AND tgl='$tanggal' AND site='$fffvv[site]' order by id desc");
}else{
$query = mysql_query("INSERT INTO kasbon (po,reg,groupkasbon,idd,user,tgl,nama,nospb,details,site,status,tglclose) values
('$fffvv[nopo]','-','-','$fffvv[id]','$_SESSION[nama]','$tanggal','$_POST[namaa]','$fffvv[sn]','$_SESSION[nama] $tanggal','$fffvv[site]','OPEN','')");
$dat=mysql_query("select * from kasbon where nama='$_POST[namaa]' AND tgl='$tanggal' AND site='$fffvv[site]' order by id desc");
}
$add=mysql_fetch_array($dat);
$ids=$add[id];
if($hargaa == "" || $hargaa == "0"){
$harga="$harga";
}else{
$harga="$hargaa";
}
$whil1z = "1";
$iz="1";
while($iz<=$whil1z)
{
$query = mysql_query("INSERT INTO detailskasbon (idd,ket,rp,details,ids,kete,sisa) values
('$fffvv[id]','$fffvvB[namabrg] $fffvvB[merek] $fffvvB[tipe]','$harga','$_SESSION[nama] $tanggal Baru','$ids','$fffvvBv[ket]','$sisaa')");
$iz++;}
}
}
}
?>