Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<? use yii\helpers\Html; use yii\helpers\Url; use yii\grid\ActionColumn; use yii\widgets..
Decoded Output download
<? use yii\helpers\Html; use yii\helpers\Url; use yii\grid\ActionColumn; use yii\widgets\ActiveForm; use yii\data\SqlDataProvider; use yii\helpers\ArrayHelper; use kartik\grid\GridView; use kartik\export\ExportMenu; goto gnAWA; XC7_D: echo $vstdate; goto iUaDo; tnhV0: $this->title = $config_name["xrayorder"]; goto PsaFv; pAcq0: if ($submit_table == "Y") { echo GridView::widget(array("tableOptions" => array("class" => " table-striped table-bordered table-hover"), "dataProvider" => $provider, "floatHeader" => true, "floatHeaderOptions" => array("scrollingTop" => "300", "zIndex" => "1"), "layout" => "{items}{pager}", "panel" => array("before" => " "), "columns" => array(array("class" => "yii\grid\SerialColumn"), array("attribute" => "patient", "format" => "raw", "value" => function ($data) { return Html::a("<buton class='btn btn-warning'>{$data["patient"]}</button>", array("/xrayorder/create/", "vn" => $data["vn"]), array("target" => "_blank")); }), "hn", "cid", array("attribute" => "vstdate", "label" => "\xe0\270\xa7\xe0\xb8\261\340\xb8\231\xe0\xb8\227\340\xb8\xb5\340\271\210\xe0\270\241\340\xb8\xb2\xe0\xb8\xa3\xe0\270\261\340\270\232\xe0\270\x9a\xe0\xb8\243\340\xb8\xb4\340\270\201\xe0\270\262\340\xb8\243", "format" => "raw", "value" => function ($data) { return $data["vstdate"]; }), array("attribute" => "department", "label" => "\xe0\270\253\xe0\271\x89\340\xb8\xad\340\xb8\207\xe0\xb8\x95\xe0\270\xa3\340\xb8\xa7\340\xb8\210", "format" => "raw", "value" => function ($data) { return $data["department"]; }), "cc", "xray_items_name"))); } goto OyI7y; iUaDo: ?>
"data-date-language="th-th"data-provide="datepicker"date-autoclose="true"></div></div><div class="col-sm-12 col-lg-2 col-md-2"><div class="col-sm-12 col-md-12 font-sarabun"><br><?php goto vmAhM; gtEuH: if ($post["nextdate"]) { $nextdate = substr($post["nextdate"], 0, 10); $tmp = explode("/", $nextdate); $nextdate_sql = $tmp[2] - 543 . "-" . $tmp[1] . "-" . $tmp[0]; } goto dLkIY; do0Oc: echo $search_text; goto R0ywR; vkjHt: ?>
<div class="index"><div style="margin:0;padding:20px 20px 30px;background:#eee"><div class="row"><div class="col-sm-12 col-lg-3 col-md-3"><div class="col-sm-12 col-md-12 font-sarabun">HN/CID// : <a href="#"onclick='$("#search_text").val("")'></a><br><input autocomplete="off"class="form-control"id="search_text"name="search_text"value="<?php goto do0Oc; R0ywR: ?>
"></div></div><div class="col-sm-12 col-lg-2 col-md-2"><div class="col-sm-12 col-md-12 font-sarabun"> : <a href="#"onclick='$("#vstdate").val("")'></a> <input autocomplete="off"class="form-control datepicker"id="vstdate"name="vstdate"value="<?php goto XC7_D; gnAWA: $config_name = Yii::$app->params["config_name"]; goto ep5_O; dLkIY: $select_clinic = isset($post["clinic"]) ? $post["clinic"] : ''; goto t129m; PsaFv: $this->params["breadcrumbs"][] = $this->title; goto dlYUp; T6KXN: $search_text = isset($post["search_text"]) ? $post["search_text"] : ''; goto dL8lr; vmAhM: echo Html::submitButton("\340\270\225\xe0\xb8\201\xe0\270\xa5\340\xb8\207", array("class" => "btn btn-primary", "name" => "submit_table", "value" => "Y")); goto ACHei; i6aFt: $sql = $provider = new SqlDataProvider(array("db" => "dbhosxp", "sql" => "\xa\x9 SELECT \xa \x9\xa \x9ovst.vn\xa ,ThaiDateS3( ovst.vstdate ) as vstdate\xa\x9\x9,ovst.hn
,concat( patient.pname,patient.fname,' ',patient.lname) as patient\xa\x9\x9,patient.cid
\x9 ,kskdepartment.department\xa \x9,opdscreen.cc
,group_concat(distinct xray_items.xray_items_name ) as xray_items_name\xa \x9from ovst \xa\x9 left join patient on patient.hn=ovst.hn \xa \x9left join kskdepartment on kskdepartment.depcode=ovst.main_dep\xa\x9\x9left join vn_stat on vn_stat.vn=ovst.vn \xa \x9left join oapp on oapp.vn=ovst.vn \xa\x9 left join clinic clinic_oapp on clinic_oapp.clinic=oapp.clinic\xa \x9left join opdscreen on opdscreen.vn=ovst.vn
\x9left join xray_report on xray_report.vn=ovst.vn
\x9\x9left join xray_items on xray_items.xray_items_code=xray_report.xray_items_code\xa \x9where 1
\x9
\x9and(
\x9\x9 IF( :search_text!='',
\x9 \x9 ovst.hn = :search_text\xa\x9\x9 OR ovst.hn = LPAD(:search_text,9,'0')\xa \x9 \x9OR patient.cid=:search_text\xa \x9 \x9OR patient.fname like :search_textlike
\x9 OR patient.lname like :search_textlike
\x9 OR concat( patient.fname,' ',patient.lname ) like :search_textlike
\x9 OR CAST( ovst.hn as signed ) =:search_text\xa\x9\x9 , 0 )
\x9\x9)
\x9\x9
\x9and(\xa\x9\x9\x9IF( :vstdate_sql!='',
\x9 ovst.vstdate = :vstdate_sql
\x9\x9, 0 ) \xa )\xa \x9
\x9 \xa\x9
\x9
\xa \x9group by ovst.vn
\x9 order by ovst.vn
\x9\x9\xa ", "params" => array(":vstdate_sql" => $vstdate_sql, ":nextdate_sql" => $nextdate_sql, ":search_text" => $search_text, ":search_textlike" => "%" . $search_text . "%", ":select_clinic" => $select_clinic), "pagination" => false)); goto tnhV0; FiJLf: $form = ActiveForm::begin(); goto vkjHt; ep5_O: $post = Yii::$app->request->post(); goto GBZgR; dlYUp: ?>
<style>th{padding:10px!important}table{font-family:Sarabun;font-size:13px!important;vertical-align:middle}</style><?php goto FiJLf; t129m: $select_default = array("class" => "form-control font-sarabun"); goto EcyGt; OyI7y: ?>
</div><?php goto EqTaN; EqTaN: ActiveForm::end(); goto ZXpPe; GBZgR: $submit_table = isset($post["submit_table"]) ? "Y" : "N"; goto T6KXN; ACHei: ?>
</div></div></div></div><?php goto pAcq0; dL8lr: if ($post["vstdate"]) { $vstdate = substr($post["vstdate"], 0, 10); $tmp = explode("/", $vstdate); $vstdate_sql = $tmp[2] - 543 . "-" . $tmp[1] . "-" . $tmp[0]; } goto gtEuH; EcyGt: $select_required = array("required" => true, "class" => "form-control font-sarabun", "style" => "font-size:14px; "); goto i6aFt; ZXpPe: ?>
Did this file decode correctly?
Original Code
<? use yii\helpers\Html; use yii\helpers\Url; use yii\grid\ActionColumn; use yii\widgets\ActiveForm; use yii\data\SqlDataProvider; use yii\helpers\ArrayHelper; use kartik\grid\GridView; use kartik\export\ExportMenu; goto gnAWA; XC7_D: echo $vstdate; goto iUaDo; tnhV0: $this->title = $config_name["xrayorder"]; goto PsaFv; pAcq0: if ($submit_table == "Y") { echo GridView::widget(array("tableOptions" => array("class" => " table-striped table-bordered table-hover"), "dataProvider" => $provider, "floatHeader" => true, "floatHeaderOptions" => array("scrollingTop" => "300", "zIndex" => "1"), "layout" => "{items}{pager}", "panel" => array("before" => " "), "columns" => array(array("class" => "yii\grid\SerialColumn"), array("attribute" => "patient", "format" => "raw", "value" => function ($data) { return Html::a("<buton class='btn btn-warning'>{$data["patient"]}</button>", array("/xrayorder/create/", "vn" => $data["vn"]), array("target" => "_blank")); }), "hn", "cid", array("attribute" => "vstdate", "label" => "\xe0\270\xa7\xe0\xb8\261\340\xb8\231\xe0\xb8\227\340\xb8\xb5\340\271\210\xe0\270\241\340\xb8\xb2\xe0\xb8\xa3\xe0\270\261\340\270\232\xe0\270\x9a\xe0\xb8\243\340\xb8\xb4\340\270\201\xe0\270\262\340\xb8\243", "format" => "raw", "value" => function ($data) { return $data["vstdate"]; }), array("attribute" => "department", "label" => "\xe0\270\253\xe0\271\x89\340\xb8\xad\340\xb8\207\xe0\xb8\x95\xe0\270\xa3\340\xb8\xa7\340\xb8\210", "format" => "raw", "value" => function ($data) { return $data["department"]; }), "cc", "xray_items_name"))); } goto OyI7y; iUaDo: ?>
"data-date-language="th-th"data-provide="datepicker"date-autoclose="true"></div></div><div class="col-sm-12 col-lg-2 col-md-2"><div class="col-sm-12 col-md-12 font-sarabun"><br><?php goto vmAhM; gtEuH: if ($post["nextdate"]) { $nextdate = substr($post["nextdate"], 0, 10); $tmp = explode("/", $nextdate); $nextdate_sql = $tmp[2] - 543 . "-" . $tmp[1] . "-" . $tmp[0]; } goto dLkIY; do0Oc: echo $search_text; goto R0ywR; vkjHt: ?>
<div class="index"><div style="margin:0;padding:20px 20px 30px;background:#eee"><div class="row"><div class="col-sm-12 col-lg-3 col-md-3"><div class="col-sm-12 col-md-12 font-sarabun">HN/CID// : <a href="#"onclick='$("#search_text").val("")'></a><br><input autocomplete="off"class="form-control"id="search_text"name="search_text"value="<?php goto do0Oc; R0ywR: ?>
"></div></div><div class="col-sm-12 col-lg-2 col-md-2"><div class="col-sm-12 col-md-12 font-sarabun"> : <a href="#"onclick='$("#vstdate").val("")'></a> <input autocomplete="off"class="form-control datepicker"id="vstdate"name="vstdate"value="<?php goto XC7_D; gnAWA: $config_name = Yii::$app->params["config_name"]; goto ep5_O; dLkIY: $select_clinic = isset($post["clinic"]) ? $post["clinic"] : ''; goto t129m; PsaFv: $this->params["breadcrumbs"][] = $this->title; goto dlYUp; T6KXN: $search_text = isset($post["search_text"]) ? $post["search_text"] : ''; goto dL8lr; vmAhM: echo Html::submitButton("\340\270\225\xe0\xb8\201\xe0\270\xa5\340\xb8\207", array("class" => "btn btn-primary", "name" => "submit_table", "value" => "Y")); goto ACHei; i6aFt: $sql = $provider = new SqlDataProvider(array("db" => "dbhosxp", "sql" => "\xa\x9 SELECT \xa \x9\xa \x9ovst.vn\xa ,ThaiDateS3( ovst.vstdate ) as vstdate\xa\x9\x9,ovst.hn
,concat( patient.pname,patient.fname,' ',patient.lname) as patient\xa\x9\x9,patient.cid
\x9 ,kskdepartment.department\xa \x9,opdscreen.cc
,group_concat(distinct xray_items.xray_items_name ) as xray_items_name\xa \x9from ovst \xa\x9 left join patient on patient.hn=ovst.hn \xa \x9left join kskdepartment on kskdepartment.depcode=ovst.main_dep\xa\x9\x9left join vn_stat on vn_stat.vn=ovst.vn \xa \x9left join oapp on oapp.vn=ovst.vn \xa\x9 left join clinic clinic_oapp on clinic_oapp.clinic=oapp.clinic\xa \x9left join opdscreen on opdscreen.vn=ovst.vn
\x9left join xray_report on xray_report.vn=ovst.vn
\x9\x9left join xray_items on xray_items.xray_items_code=xray_report.xray_items_code\xa \x9where 1
\x9
\x9and(
\x9\x9 IF( :search_text!='',
\x9 \x9 ovst.hn = :search_text\xa\x9\x9 OR ovst.hn = LPAD(:search_text,9,'0')\xa \x9 \x9OR patient.cid=:search_text\xa \x9 \x9OR patient.fname like :search_textlike
\x9 OR patient.lname like :search_textlike
\x9 OR concat( patient.fname,' ',patient.lname ) like :search_textlike
\x9 OR CAST( ovst.hn as signed ) =:search_text\xa\x9\x9 , 0 )
\x9\x9)
\x9\x9
\x9and(\xa\x9\x9\x9IF( :vstdate_sql!='',
\x9 ovst.vstdate = :vstdate_sql
\x9\x9, 0 ) \xa )\xa \x9
\x9 \xa\x9
\x9
\xa \x9group by ovst.vn
\x9 order by ovst.vn
\x9\x9\xa ", "params" => array(":vstdate_sql" => $vstdate_sql, ":nextdate_sql" => $nextdate_sql, ":search_text" => $search_text, ":search_textlike" => "%" . $search_text . "%", ":select_clinic" => $select_clinic), "pagination" => false)); goto tnhV0; FiJLf: $form = ActiveForm::begin(); goto vkjHt; ep5_O: $post = Yii::$app->request->post(); goto GBZgR; dlYUp: ?>
<style>th{padding:10px!important}table{font-family:Sarabun;font-size:13px!important;vertical-align:middle}</style><?php goto FiJLf; t129m: $select_default = array("class" => "form-control font-sarabun"); goto EcyGt; OyI7y: ?>
</div><?php goto EqTaN; EqTaN: ActiveForm::end(); goto ZXpPe; GBZgR: $submit_table = isset($post["submit_table"]) ? "Y" : "N"; goto T6KXN; ACHei: ?>
</div></div></div></div><?php goto pAcq0; dL8lr: if ($post["vstdate"]) { $vstdate = substr($post["vstdate"], 0, 10); $tmp = explode("/", $vstdate); $vstdate_sql = $tmp[2] - 543 . "-" . $tmp[1] . "-" . $tmp[0]; } goto gtEuH; EcyGt: $select_required = array("required" => true, "class" => "form-control font-sarabun", "style" => "font-size:14px; "); goto i6aFt; ZXpPe: ?>
Function Calls
None |
Stats
MD5 | c16f57aa270efe36f1b55dea5f0bdef1 |
Eval Count | 0 |
Decode Time | 52 ms |