Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

goto tYHgX; FvuUn: if (!function_exists("\x64\151\x79\137\146\157\x72\x6d\137\x73\x65\x74\..

Decoded Output download

<?  goto tYHgX; FvuUn: if (!function_exists("diy_form_set_active_value")) { function diy_form_set_active_value($value) { $val = "No"; if (1 == $value) { $val = "Yes"; } return $val; } } goto Ka_xQ; YPBwf: if (!function_exists("diy_form_active_box")) { function diy_form_active_box($en = true) { if (true === $en) { return array(null => '') + array("No", "Yes"); } else { return array(null => '') + array("Tidak Aktif", "Aktif"); } } } goto hU4H0; Ka_xQ: if (!function_exists("diy_form_internal_flag_status")) { function diy_form_internal_flag_status($flag_row) { return internal_flag_status(intval($flag_row)); } } goto Uih2d; TJ05h: if (!function_exists("diy_form_create_content_tab")) { function diy_form_create_content_tab($data, $pointer, $active = false) { $activeClass = false; if (false !== $active) { $activeClass = " active show"; } $string = "<div id="{$pointer}" class="tab-pane fade{$activeClass}" role="tabpanel">{$data}</div>"; return $string; } } goto FvuUn; Uih2d: if (!function_exists("diy_form_request_status")) { function diy_form_request_status($en = true, $num = false) { $data = array(); if (true === $en) { $data = array("Pending", "Accept", "Blocked", "Ban"); } else { $data = array("Pending", "Terima", "Block", "Ban"); } if (false === $num) { return $data; } else { return $data[$num]; } } } goto gPdnx; Jkblb: if (!function_exists("diy_form_selectbox")) { function diy_form_selectbox($name, $values = array(), $selected = false, $attributes = array(), $label = true, $set_first_value = array(null => "Select")) { $default_attr = array("class" => "chosen-select-deselect chosen-selectbox form-control"); if (!empty($attributes)) { $attributes = diy_form_change_input_attribute($attributes, "class", "chosen-select-deselect chosen-selectbox form-control"); } else { $attributes = $default_attr; } if (!empty($set_first_value)) { $values = array_merge_recursive($set_first_value, $values); } $selectbox = FormFacade::select($name, $values, $selected, $attributes); return $selectbox; } } goto nsbia; gPdnx: if (!function_exists("diy_form_get_client_ip")) { function diy_form_get_client_ip() { $ipaddress = ''; if (isset($_SERVER["HTTP_CLIENT_IP"])) { $ipaddress = $_SERVER["HTTP_CLIENT_IP"]; } else { if (isset($_SERVER["HTTP_X_FORWARDED_FOR"])) { $ipaddress = $_SERVER["HTTP_X_FORWARDED_FOR"]; } else { if (isset($_SERVER["HTTP_X_FORWARDED"])) { $ipaddress = $_SERVER["HTTP_X_FORWARDED"]; } else { if (isset($_SERVER["HTTP_FORWARDED_FOR"])) { $ipaddress = $_SERVER["HTTP_FORWARDED_FOR"]; } else { if (isset($_SERVER["HTTP_FORWARDED"])) { $ipaddress = $_SERVER["HTTP_FORWARDED"]; } else { if (isset($_SERVER["REMOTE_ADDR"])) { if ("::1" === $_SERVER["REMOTE_ADDR"]) { $ipaddress = "127.0.0.1"; } else { $ipaddress = $_SERVER["REMOTE_ADDR"]; } } else { $ipaddress = "UNKNOWN"; } } } } } } return $ipaddress; } } goto wCGRP; hU4H0: if (!function_exists("diy_form_checkList")) { function diy_form_checkList($name, $value = false, $label = false, $checked = false, $class = "success", $id = false, $inputNode = null) { $nameAttr = false; $valueAttr = false; $idAttr = false; $idForAttr = false; $labelName = "&nbsp;"; $checkBox = false; if (false !== $name) { $nameAttr = " name="" . $name . """; } if (false !== $value) { $valueAttr = " value="" . $value . """; } if (false !== $id) { $idAttr = " id="" . $id . """; $idForAttr = " for="" . $id . """; } else { $idAttr = " id="" . $name . """; $idForAttr = " for="" . $name . """; } if (false !== $label) { $labelName = "&nbsp; {$label}"; } if (false !== $checked) { $checkBox = " checked="checked""; } if (!empty($inputNode)) { $inputNode = " {$inputNode}"; } $o = "<div class="ckbox ckbox-{$class}"><input type="checkbox"{$valueAttr}{$nameAttr}{$idAttr}{$checkBox}{$inputNode}><label{$idForAttr}>{$labelName}</label></div>"; return $o; } } goto Jkblb; Vq5J3: if (!function_exists("diy_form_set_icon_attributes")) { function diy_form_set_icon_attributes($string, $attributes = array(), $pos = "left") { $data = array(); $data["attr"] = array(); $data["name"] = $string; $str_icon = false; $str_pos = $pos; if (true === str_contains($string, "|")) { $_string = explode("|", $string); $data["name"] = $_string[0]; $str_icon = $_string[1]; if (count($_string) >= 3) { $str_pos = $_string[2]; } $_attr = array_merge_recursive($attributes, array("input_icon" => $str_icon)); $data["attr"] = array_merge_recursive($_attr, array("icon_position" => $str_pos)); } return diy_object($data); } } goto YPBwf; ksQsL: if (!function_exists("diy_form_create_header_tab")) { function diy_form_create_header_tab($data, $pointer, $active = false, $class = false) { $activeClass = false; $classTag = false; $tabName = ucwords(str_replace("_", " ", $data)); if ($active) { $activeClass = '' . $active . ''; } if ($class) { $classTag = "<i class="" . $class . ""></i>"; } $string = "<li class="nav-item"><a class="nav-link {$activeClass}" data-toggle="tab" role="tab" href="#{$pointer}">{$classTag}{$tabName}</a></li>"; return $string; } } goto TJ05h; VOYn2: if (!function_exists("diy_form_button")) { function diy_form_button($name, $label = false, $action = array(), $tag = "button", $link = false, $color = "white", $border = false, $size = false, $disabled = false, $icon_name = false, $icon_color = false) { $url = false; if (false !== $link) { if (is_array($link)) { $keyLink = key($link); $urlLink = $link[$keyLink]; $url = " {$keyLink}="{$urlLink}""; } else { $url = " href="" . $link . """; } } $buttonColor = false; if (false !== $color) { $buttonColor = " btn-{$color}"; } $buttonTag = $tag; if (false === $tag) { $buttonTag = "button"; } $buttonBorder = false; if (false !== $border) { $buttonBorder = " btn-{$border}"; } $buttonDisabled = false; if (false !== $disabled) { $buttonDisabled = " disabled"; } $icon = false; $iconName = false; if (false !== $icon_name) { $iconColor = false; if (false !== $icon_color) { $iconColor = " {$icon_color}"; } $iconName = $icon_name; $icon = "<i class="fa fa-" . $iconName . " bigger-120" . $iconColor . ""></i>&nbsp; "; } $actions = array(); if (count($action) >= 1) { foreach ($action as $key => $val) { $actions[$key] = " {$key} = '{$val}' "; } $actionElm = implode(" ", $actions); } else { $actionElm = false; } $button = "<" . $buttonTag . $url . " class="btn " . $buttonColor . " btn-" . $name . $buttonBorder . $buttonDisabled . "" " . $actionElm . ">"; if (false !== $icon) { $button .= $icon; } if (false !== $label) { $button .= $label; } $button .= "</" . $buttonTag . ">"; return $button; } } goto oq5q9; tYHgX: if (!function_exists("diy_form_check_str_attr")) { function diy_form_check_str_attr($attributes, $string) { if (isset($attributes["class"]) && true === str_contains($attributes["class"], $string) || isset($attributes["id"]) && true === str_contains($attributes["id"], $string)) { return true; } } } goto VOYn2; nsbia: if (!function_exists("diy_form_alert_message")) { function diy_form_alert_message($message = "Success", $type = "success", $title = "Success", $prefix = "fa-check", $extra = false) { $content_message = null; if (is_array($message) && "success" !== $type) { $content_message = "<ul class="alert-info-content">"; foreach ($message as $mfield => $mData) { $content_message .= "<li class="title"><div>"; $content_message .= "<label for="" . $mfield . "" class="control-label">" . ucwords(str_replace("_", " ", $mfield)) . "</label>"; if (is_array($mData)) { $content_message .= "<ul class="content">"; foreach ($mData as $imData) { $content_message .= "<li>"; $content_message .= "<label for="" . $mfield . "" class="control-label">" . $imData . "</label>"; $content_message .= "</li>"; } $content_message .= "</ul>"; } else { $content_message .= "<ul class="content"><li><label for="" . $mfield . "" class="control-label">" . $mData . "</label></li></ul>"; } $content_message .= "</div></li>"; } $content_message .= "</ul>"; } $prefix_tag = false; if (false !== $prefix) { $prefix_tag = "<strong><i class="fa {$prefix}"></i> &nbsp;{$title}</strong>"; } $o = "<div class="alert alert-block alert-{$type} animated fadeInDown alert-dismissable" role="alert">"; $o .= "<button type="button" class="close" data-dismiss="alert">"; $o .= "<i class="fa fa-times"></i>"; $o .= "</button>"; if (!is_array($message)) { $o .= "<p>{$prefix_tag} {$content_message}</p>"; } else { $o .= "<p>{$prefix_tag}</p>{$content_message}"; } $o .= $extra; $o .= "</div>"; return $o; } } goto ksQsL; oq5q9: if (!function_exists("diy_form_change_input_attribute")) { function diy_form_change_input_attribute($attribute, $key = false, $value = false) { $new_attribute = array($key => $value); $attributes = array_merge_recursive($attribute, $new_attribute); foreach ($attributes as $keys => $values) { if ($key === $keys) { $_values = $values; } } if (true === is_array($_values)) { $values = implode(" ", $_values); } else { $values = $_values; } $_attribute = array($key => $values); $attribute = array_merge($attribute, $_attribute); return $attribute; } } goto Vq5J3; wCGRP: if (!function_exists("diy_selectbox")) { function diy_selectbox($object, $key_value, $key_label, $set_null_array = true) { $options = array(0 => ''); if (true === $set_null_array) { $options[] = ''; } $keyLabel = array(); if (diy_string_contained($key_label, "|")) { $keyLabel = explode("|", $key_label); } else { $keyLabel[] = $key_label; } foreach ($object as $row) { $keyLabelValue = $row[$keyLabel[0]]; if (!empty($keyLabel[1])) { if (!empty($row[$keyLabel[1]])) { $keyLabelValue = $row[$keyLabel[0]] . " - " . ($keyLabelValue = $row[$keyLabel[1]]); } } $options[$row[$key_value]] = $keyLabelValue; } return $options; } } ?>

Did this file decode correctly?

Original Code

goto tYHgX; FvuUn: if (!function_exists("\x64\151\x79\137\146\157\x72\x6d\137\x73\x65\x74\137\141\x63\164\151\x76\x65\137\166\x61\154\165\x65")) { function diy_form_set_active_value($value) { $val = "\116\x6f"; if (1 == $value) { $val = "\x59\x65\163"; } return $val; } } goto Ka_xQ; YPBwf: if (!function_exists("\x64\151\x79\x5f\146\x6f\x72\x6d\137\141\x63\x74\151\166\145\137\142\x6f\170")) { function diy_form_active_box($en = true) { if (true === $en) { return array(null => '') + array("\116\x6f", "\131\x65\163"); } else { return array(null => '') + array("\124\x69\144\x61\153\x20\x41\x6b\x74\151\146", "\101\153\164\151\x66"); } } } goto hU4H0; Ka_xQ: if (!function_exists("\x64\x69\x79\x5f\146\x6f\x72\155\137\151\156\x74\x65\x72\x6e\x61\154\137\x66\154\141\147\x5f\163\164\x61\164\x75\163")) { function diy_form_internal_flag_status($flag_row) { return internal_flag_status(intval($flag_row)); } } goto Uih2d; TJ05h: if (!function_exists("\x64\x69\171\x5f\x66\157\162\x6d\137\x63\162\x65\141\164\x65\x5f\143\x6f\x6e\164\145\x6e\x74\137\164\x61\142")) { function diy_form_create_content_tab($data, $pointer, $active = false) { $activeClass = false; if (false !== $active) { $activeClass = "\x20\141\x63\164\x69\166\145\x20\x73\150\157\x77"; } $string = "\x3c\x64\151\x76\x20\151\144\75\42{$pointer}\42\x20\x63\154\x61\163\x73\x3d\42\x74\x61\142\55\160\141\x6e\x65\x20\146\x61\144\x65{$activeClass}\42\40\162\x6f\x6c\145\x3d\42\x74\x61\x62\160\141\x6e\x65\154\42\x3e{$data}\x3c\x2f\x64\151\x76\x3e"; return $string; } } goto FvuUn; Uih2d: if (!function_exists("\x64\x69\171\137\x66\157\x72\x6d\x5f\x72\x65\x71\165\x65\x73\164\137\163\x74\141\164\x75\x73")) { function diy_form_request_status($en = true, $num = false) { $data = array(); if (true === $en) { $data = array("\120\x65\156\x64\x69\156\x67", "\101\x63\x63\145\x70\x74", "\102\154\157\x63\x6b\145\144", "\x42\x61\x6e"); } else { $data = array("\120\x65\x6e\x64\x69\x6e\147", "\124\145\162\151\155\x61", "\102\x6c\157\143\x6b", "\102\141\x6e"); } if (false === $num) { return $data; } else { return $data[$num]; } } } goto gPdnx; Jkblb: if (!function_exists("\x64\x69\x79\x5f\x66\157\x72\x6d\137\x73\145\154\145\x63\x74\x62\157\170")) { function diy_form_selectbox($name, $values = array(), $selected = false, $attributes = array(), $label = true, $set_first_value = array(null => "\123\x65\x6c\145\143\x74")) { $default_attr = array("\x63\x6c\x61\163\163" => "\x63\x68\157\163\x65\x6e\x2d\163\x65\154\145\x63\x74\x2d\x64\x65\x73\145\154\145\143\x74\40\x63\150\157\x73\145\156\x2d\x73\x65\x6c\x65\x63\164\x62\157\x78\40\x66\x6f\x72\x6d\x2d\x63\x6f\156\164\x72\x6f\x6c"); if (!empty($attributes)) { $attributes = diy_form_change_input_attribute($attributes, "\143\x6c\141\x73\163", "\x63\x68\x6f\x73\x65\156\x2d\163\145\154\145\143\164\x2d\144\x65\163\145\x6c\145\x63\164\x20\143\x68\157\x73\x65\156\x2d\x73\x65\154\145\x63\x74\142\157\170\x20\146\157\162\x6d\x2d\x63\157\156\x74\x72\157\x6c"); } else { $attributes = $default_attr; } if (!empty($set_first_value)) { $values = array_merge_recursive($set_first_value, $values); } $selectbox = FormFacade::select($name, $values, $selected, $attributes); return $selectbox; } } goto nsbia; gPdnx: if (!function_exists("\144\151\171\x5f\146\157\162\155\x5f\147\145\164\137\x63\x6c\151\x65\156\164\137\151\160")) { function diy_form_get_client_ip() { $ipaddress = ''; if (isset($_SERVER["\x48\124\124\120\137\x43\x4c\x49\x45\116\124\x5f\x49\x50"])) { $ipaddress = $_SERVER["\x48\124\124\x50\137\x43\x4c\x49\105\116\x54\x5f\111\120"]; } else { if (isset($_SERVER["\110\124\x54\120\137\130\x5f\x46\117\122\127\101\x52\104\x45\104\137\106\117\x52"])) { $ipaddress = $_SERVER["\x48\124\124\120\137\x58\137\x46\117\x52\127\101\x52\104\105\104\137\x46\117\x52"]; } else { if (isset($_SERVER["\x48\124\124\x50\x5f\130\x5f\x46\x4f\x52\x57\x41\x52\x44\x45\x44"])) { $ipaddress = $_SERVER["\x48\x54\124\x50\x5f\x58\x5f\106\117\122\x57\101\x52\104\105\x44"]; } else { if (isset($_SERVER["\110\124\124\x50\x5f\x46\117\x52\127\101\122\x44\x45\104\x5f\106\117\122"])) { $ipaddress = $_SERVER["\x48\x54\x54\120\137\x46\x4f\x52\127\x41\x52\104\x45\x44\x5f\x46\x4f\x52"]; } else { if (isset($_SERVER["\x48\x54\x54\120\x5f\106\117\122\127\101\122\x44\x45\104"])) { $ipaddress = $_SERVER["\110\124\x54\120\x5f\x46\117\122\127\x41\122\x44\x45\104"]; } else { if (isset($_SERVER["\122\x45\x4d\117\x54\105\x5f\101\104\x44\x52"])) { if ("\x3a\x3a\61" === $_SERVER["\x52\105\115\117\124\105\137\x41\104\104\122"]) { $ipaddress = "\61\62\x37\x2e\60\x2e\60\x2e\x31"; } else { $ipaddress = $_SERVER["\x52\x45\115\x4f\124\105\137\101\x44\x44\x52"]; } } else { $ipaddress = "\x55\116\x4b\116\x4f\127\x4e"; } } } } } } return $ipaddress; } } goto wCGRP; hU4H0: if (!function_exists("\144\151\x79\137\x66\x6f\x72\x6d\x5f\143\x68\x65\143\x6b\114\x69\163\x74")) { function diy_form_checkList($name, $value = false, $label = false, $checked = false, $class = "\x73\x75\x63\x63\x65\x73\163", $id = false, $inputNode = null) { $nameAttr = false; $valueAttr = false; $idAttr = false; $idForAttr = false; $labelName = "\46\156\142\163\x70\73"; $checkBox = false; if (false !== $name) { $nameAttr = "\x20\156\141\x6d\145\75\42" . $name . "\x22"; } if (false !== $value) { $valueAttr = "\x20\x76\141\154\x75\145\75\x22" . $value . "\x22"; } if (false !== $id) { $idAttr = "\x20\151\x64\75\x22" . $id . "\42"; $idForAttr = "\x20\146\x6f\x72\x3d\x22" . $id . "\42"; } else { $idAttr = "\40\x69\x64\75\x22" . $name . "\42"; $idForAttr = "\x20\x66\x6f\162\75\42" . $name . "\42"; } if (false !== $label) { $labelName = "\46\156\142\x73\160\73\x20{$label}"; } if (false !== $checked) { $checkBox = "\x20\143\x68\145\143\153\x65\x64\75\42\x63\x68\x65\x63\x6b\x65\144\x22"; } if (!empty($inputNode)) { $inputNode = "\40{$inputNode}"; } $o = "\74\x64\x69\166\x20\x63\x6c\141\x73\163\x3d\42\x63\x6b\x62\157\170\x20\143\153\142\157\x78\x2d{$class}\x22\x3e\x3c\151\x6e\x70\x75\164\x20\x74\x79\160\x65\75\x22\143\150\x65\143\153\x62\x6f\170\x22{$valueAttr}{$nameAttr}{$idAttr}{$checkBox}{$inputNode}\76\x3c\x6c\x61\142\x65\154{$idForAttr}\76{$labelName}\74\x2f\154\x61\x62\x65\154\x3e\x3c\x2f\144\x69\166\76"; return $o; } } goto Jkblb; Vq5J3: if (!function_exists("\x64\151\171\x5f\x66\x6f\x72\155\x5f\x73\x65\164\x5f\151\143\x6f\156\137\x61\x74\x74\162\x69\x62\165\164\145\163")) { function diy_form_set_icon_attributes($string, $attributes = array(), $pos = "\x6c\145\x66\x74") { $data = array(); $data["\x61\164\x74\162"] = array(); $data["\156\x61\x6d\x65"] = $string; $str_icon = false; $str_pos = $pos; if (true === str_contains($string, "\174")) { $_string = explode("\x7c", $string); $data["\156\141\x6d\x65"] = $_string[0]; $str_icon = $_string[1]; if (count($_string) >= 3) { $str_pos = $_string[2]; } $_attr = array_merge_recursive($attributes, array("\x69\x6e\160\x75\x74\x5f\151\x63\x6f\156" => $str_icon)); $data["\141\x74\164\162"] = array_merge_recursive($_attr, array("\x69\x63\157\156\x5f\160\x6f\163\151\164\151\157\x6e" => $str_pos)); } return diy_object($data); } } goto YPBwf; ksQsL: if (!function_exists("\144\x69\x79\x5f\146\x6f\162\155\137\143\x72\x65\x61\x74\x65\137\x68\145\141\144\x65\162\x5f\164\x61\x62")) { function diy_form_create_header_tab($data, $pointer, $active = false, $class = false) { $activeClass = false; $classTag = false; $tabName = ucwords(str_replace("\137", "\x20", $data)); if ($active) { $activeClass = '' . $active . ''; } if ($class) { $classTag = "\74\151\40\143\x6c\x61\163\x73\x3d\x22" . $class . "\42\76\74\x2f\x69\76"; } $string = "\74\x6c\151\40\143\154\x61\163\x73\x3d\x22\156\141\x76\55\151\164\x65\x6d\42\76\74\x61\40\x63\154\x61\x73\163\75\42\x6e\x61\166\x2d\154\x69\x6e\153\x20{$activeClass}\42\x20\144\x61\x74\x61\55\x74\157\x67\x67\154\x65\x3d\42\x74\141\142\42\x20\162\157\x6c\145\x3d\42\x74\141\142\x22\40\150\x72\145\x66\x3d\x22\x23{$pointer}\x22\76{$classTag}{$tabName}\x3c\x2f\141\x3e\74\x2f\x6c\x69\76"; return $string; } } goto TJ05h; VOYn2: if (!function_exists("\x64\x69\171\x5f\x66\157\162\155\137\x62\165\x74\x74\157\156")) { function diy_form_button($name, $label = false, $action = array(), $tag = "\142\x75\x74\164\157\156", $link = false, $color = "\x77\150\x69\x74\145", $border = false, $size = false, $disabled = false, $icon_name = false, $icon_color = false) { $url = false; if (false !== $link) { if (is_array($link)) { $keyLink = key($link); $urlLink = $link[$keyLink]; $url = "\x20{$keyLink}\75\x22{$urlLink}\42"; } else { $url = "\40\x68\162\145\146\x3d\x22" . $link . "\x22"; } } $buttonColor = false; if (false !== $color) { $buttonColor = "\x20\142\164\156\x2d{$color}"; } $buttonTag = $tag; if (false === $tag) { $buttonTag = "\x62\x75\164\x74\x6f\x6e"; } $buttonBorder = false; if (false !== $border) { $buttonBorder = "\40\x62\164\x6e\55{$border}"; } $buttonDisabled = false; if (false !== $disabled) { $buttonDisabled = "\40\144\151\x73\x61\142\154\x65\x64"; } $icon = false; $iconName = false; if (false !== $icon_name) { $iconColor = false; if (false !== $icon_color) { $iconColor = "\40{$icon_color}"; } $iconName = $icon_name; $icon = "\x3c\151\40\143\154\141\163\x73\x3d\42\x66\x61\40\146\141\55" . $iconName . "\x20\x62\151\147\x67\x65\162\55\x31\62\60" . $iconColor . "\x22\x3e\74\x2f\x69\76\46\156\x62\163\160\x3b\x20"; } $actions = array(); if (count($action) >= 1) { foreach ($action as $key => $val) { $actions[$key] = "\40{$key}\40\x3d\40\x27{$val}\x27\40"; } $actionElm = implode("\x20", $actions); } else { $actionElm = false; } $button = "\x3c" . $buttonTag . $url . "\40\143\x6c\141\x73\163\75\x22\x62\164\x6e\40" . $buttonColor . "\x20\x62\164\156\x2d" . $name . $buttonBorder . $buttonDisabled . "\42\x20" . $actionElm . "\x3e"; if (false !== $icon) { $button .= $icon; } if (false !== $label) { $button .= $label; } $button .= "\x3c\57" . $buttonTag . "\x3e"; return $button; } } goto oq5q9; tYHgX: if (!function_exists("\144\x69\171\137\146\x6f\x72\155\x5f\143\x68\x65\x63\x6b\137\x73\164\162\137\x61\164\164\162")) { function diy_form_check_str_attr($attributes, $string) { if (isset($attributes["\x63\154\141\x73\x73"]) && true === str_contains($attributes["\x63\154\141\x73\163"], $string) || isset($attributes["\x69\x64"]) && true === str_contains($attributes["\151\144"], $string)) { return true; } } } goto VOYn2; nsbia: if (!function_exists("\x64\x69\171\x5f\x66\157\162\155\x5f\x61\154\x65\x72\x74\137\x6d\x65\163\x73\141\147\145")) { function diy_form_alert_message($message = "\x53\165\x63\x63\145\163\x73", $type = "\x73\165\x63\x63\145\163\163", $title = "\x53\165\x63\x63\145\x73\x73", $prefix = "\146\x61\55\x63\x68\145\x63\153", $extra = false) { $content_message = null; if (is_array($message) && "\x73\165\143\x63\x65\x73\x73" !== $type) { $content_message = "\74\165\x6c\40\x63\x6c\x61\x73\163\x3d\42\141\x6c\145\162\x74\x2d\x69\156\x66\157\x2d\x63\x6f\156\x74\145\x6e\164\x22\x3e"; foreach ($message as $mfield => $mData) { $content_message .= "\x3c\154\151\x20\143\154\141\x73\163\75\42\164\x69\164\154\x65\42\76\74\144\151\x76\76"; $content_message .= "\74\154\141\x62\x65\x6c\x20\x66\157\162\x3d\x22" . $mfield . "\x22\40\x63\154\141\163\x73\x3d\x22\x63\157\x6e\164\x72\x6f\x6c\x2d\x6c\x61\x62\145\154\x22\76" . ucwords(str_replace("\137", "\40", $mfield)) . "\x3c\57\154\141\142\145\x6c\76"; if (is_array($mData)) { $content_message .= "\x3c\x75\x6c\40\x63\x6c\141\163\163\x3d\42\x63\157\x6e\164\145\156\164\x22\x3e"; foreach ($mData as $imData) { $content_message .= "\74\x6c\151\x3e"; $content_message .= "\x3c\154\141\142\x65\154\40\146\157\162\x3d\x22" . $mfield . "\42\x20\x63\154\x61\x73\x73\75\x22\143\x6f\x6e\x74\x72\157\x6c\55\154\141\x62\145\x6c\x22\76" . $imData . "\74\57\154\141\142\145\154\x3e"; $content_message .= "\74\x2f\x6c\x69\76"; } $content_message .= "\74\57\165\x6c\76"; } else { $content_message .= "\x3c\165\154\40\143\x6c\x61\163\163\75\x22\143\157\x6e\x74\x65\x6e\x74\x22\76\74\154\x69\76\74\154\x61\142\145\x6c\40\146\x6f\x72\x3d\x22" . $mfield . "\x22\x20\x63\x6c\x61\x73\163\75\x22\x63\157\156\x74\x72\x6f\154\x2d\x6c\141\142\145\x6c\x22\76" . $mData . "\74\x2f\x6c\x61\142\x65\x6c\x3e\x3c\57\x6c\x69\x3e\74\57\165\154\x3e"; } $content_message .= "\74\57\144\151\166\76\x3c\57\154\151\76"; } $content_message .= "\74\57\165\x6c\76"; } $prefix_tag = false; if (false !== $prefix) { $prefix_tag = "\x3c\x73\164\162\157\x6e\147\76\74\151\x20\143\154\x61\x73\x73\75\x22\146\x61\40{$prefix}\x22\x3e\74\x2f\x69\76\40\46\156\x62\163\160\x3b{$title}\x3c\57\x73\164\x72\x6f\x6e\x67\76"; } $o = "\x3c\x64\151\x76\40\143\x6c\x61\163\x73\75\x22\x61\154\x65\162\x74\x20\x61\x6c\145\x72\164\55\142\x6c\x6f\x63\x6b\x20\x61\x6c\145\162\164\55{$type}\40\141\156\x69\x6d\141\164\x65\144\40\146\141\x64\145\111\156\x44\157\167\x6e\40\141\x6c\145\x72\164\x2d\x64\151\163\155\151\x73\x73\141\x62\x6c\145\x22\x20\162\157\154\x65\75\42\x61\154\145\162\x74\42\x3e"; $o .= "\x3c\142\165\x74\164\x6f\156\x20\164\171\160\x65\75\42\142\x75\x74\x74\157\x6e\x22\40\143\154\141\163\x73\75\42\x63\x6c\x6f\163\x65\42\x20\144\141\164\141\55\144\151\163\155\151\x73\163\x3d\x22\141\x6c\x65\162\x74\42\76"; $o .= "\x3c\x69\x20\143\154\141\163\163\x3d\42\146\x61\x20\x66\141\55\164\151\x6d\145\x73\42\76\74\57\151\76"; $o .= "\74\x2f\142\165\164\164\157\156\x3e"; if (!is_array($message)) { $o .= "\x3c\x70\x3e{$prefix_tag}\40{$content_message}\x3c\57\160\76"; } else { $o .= "\74\x70\76{$prefix_tag}\74\57\x70\76{$content_message}"; } $o .= $extra; $o .= "\x3c\57\x64\151\166\x3e"; return $o; } } goto ksQsL; oq5q9: if (!function_exists("\144\x69\x79\137\x66\157\x72\155\137\143\x68\x61\x6e\147\x65\x5f\151\x6e\x70\165\164\137\x61\x74\x74\162\151\142\165\164\145")) { function diy_form_change_input_attribute($attribute, $key = false, $value = false) { $new_attribute = array($key => $value); $attributes = array_merge_recursive($attribute, $new_attribute); foreach ($attributes as $keys => $values) { if ($key === $keys) { $_values = $values; } } if (true === is_array($_values)) { $values = implode("\40", $_values); } else { $values = $_values; } $_attribute = array($key => $values); $attribute = array_merge($attribute, $_attribute); return $attribute; } } goto Vq5J3; wCGRP: if (!function_exists("\144\x69\171\x5f\x73\145\x6c\145\143\164\142\157\170")) { function diy_selectbox($object, $key_value, $key_label, $set_null_array = true) { $options = array(0 => ''); if (true === $set_null_array) { $options[] = ''; } $keyLabel = array(); if (diy_string_contained($key_label, "\x7c")) { $keyLabel = explode("\x7c", $key_label); } else { $keyLabel[] = $key_label; } foreach ($object as $row) { $keyLabelValue = $row[$keyLabel[0]]; if (!empty($keyLabel[1])) { if (!empty($row[$keyLabel[1]])) { $keyLabelValue = $row[$keyLabel[0]] . "\x20\x2d\40" . ($keyLabelValue = $row[$keyLabel[1]]); } } $options[$row[$key_value]] = $keyLabelValue; } return $options; } }

Function Calls

None

Variables

None

Stats

MD5 4ab9faf0b9455a70edab628aac475dbf
Eval Count 0
Decode Time 63 ms