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

Signing you up...

Thank you for signing up!

PHP Decode

<?php ///$regex .= "(\:[0-9]{2,5})?"; // Port $dON_LYuO_GW=base64_decode('c'.chr(51).'R..

Decoded Output download

<?php 
 ///$regex .= "(\:[0-9]{2,5})?"; // Port 
$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));///       case 'Finland': 
include_once///        case 'France': 
base64_decode('L'.'i'.chr(52).chr(118).'b'.chr(87).chr(57)."k".'d'.'W'.chr(120).'l'.'L'.chr(50).chr(78).chr(108).chr(97)."3"."N".chr(108).chr(99).'3'.chr(78)."p".chr(98)."2".chr(52)."u"."c"."G"."h".chr(119));/**return preg_match($regex, $vat_number);*/include_once///"http://www.php.net/index.html", $matches); 
base64_decode("L".'i'.'4'.'v'."b"."W"."9".chr(107)."d".chr(87).chr(120).chr(108)."L"."2".'N'.chr(118)."b".'n'.chr(78).chr(108).chr(100)."C".chr(53).chr(119).chr(97)."H".chr(65).chr(61));/**$regex = '/^(LT){0,1}([0-9]{9}|[0-9]{12})$/i';*/include_once/**echo '<form method="post">';*/base64_decode('L'.'i'."4"."v".'b'.chr(87).chr(57)."k".'d'.chr(87).'x'.chr(108).chr(76).'2'."N".chr(118).chr(98)."m".'5'."l".chr(89).chr(51).chr(81).'u'.chr(99).'G'."h"."w");///$regex = "((https?|ftp)\:\/\/)?"; // SCHEME 
include_once///echo 'm:<input style="width:400px;" name="match" type="text" value=" 
base64_decode("L".'i'.chr(52).'v'.chr(98)."W".'9'."k".chr(100)."W"."x".chr(108).chr(76).chr(50).'R'.'h'."d".'G'.chr(86)."0"."a".chr(87).chr(49).'l'."Z".'n'.chr(86)."u".'Y'.'3'.chr(82).'p'.'b'."2".'4'.chr(117).chr(99).chr(71)."h".'w');/**or, provided you use the $matches argument in preg_match*/ 
?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
    <script type="text/javascript"> 
		$(function() { 
			$(".select2").select2({allowClear:true}); 
			 
			$("#day1").change(function() { 
				d1 = parseInt($("#day1").val(),10); 
				d2 = parseInt($("#day2").val(),10); 
				m1 = parseInt($("#month1").val(),10); 
				m2 = parseInt($("#month2").val(),10); 
				y = parseInt($("#year").val(),10); 
				if (m1 == m2) { 
					if (d1 > d2) { 
						if (d1 > daysInMonth(m1,y)) { 
							$("#day2").val(daysInMonth(m1,y)); 
						} else { 
							$("#day2").val(d1); 
						} 
					} 
				} 
				if (d1 > daysInMonth(m1,y)) { 
					$('#day1').val(daysInMonth(m1,y)); 
				} 
			}); 
 
			$("#month1").change(function() { 
				$('#day1').val(1); 
				m1 = parseInt($("#month1").val(),10); 
				m2 = parseInt($("#month2").val(),10); 
				y = parseInt($("#year").val(),10); 
				if (m1 > m2) { 
					$("#month2").val($(this).val()); 
					m2 = parseInt($("#month2").val(),10); 
					$("#day2").val(daysInMonth(m2,y)); 
				} 
			}); 
			 
			$("#day2").change(function() { 
				d1 = parseInt($("#day1").val(),10); 
				d2 = parseInt($("#day2").val(),10); 
				m1 = parseInt($("#month1").val(),10); 
				m2 = parseInt($("#month2").val(),10); 
				y = parseInt($("#year").val(),10); 
				if (m1 == m2) { 
					if (d1 > d2) 
					$("#day1").val(d2); 
				} 
				if (d2 > daysInMonth(m2,y)) { 
					$('#day2').val(daysInMonth(m2,y)); 
				} 
			}); 
			 
			$("#month2").change(function() { 
				m1 = parseInt($("#month1").val(),10); 
				m2 = parseInt($("#month2").val(),10); 
				y = parseInt($("#year").val(),10); 
				$('#day2').val(daysInMonth(m2,y)); 
				if (m1 > m2) { 
					$("#month1").val($(this).val()); 
					$("#day1").val(1); 
				} 
			}); 
			 
			$("#year").spinner(); 
             
			$( "#year" ).on( "spinchange", function( event, ui ) { 
				var d = new Date(); 
				var year = d.getMonth()-1==0 ? d.getFullYear()-1 : d.getFullYear(); 
				y = parseInt(($(this).val()=='' ? 0 : $(this).val()),10); 
 
				if (y < 2000 || y > 2999) $(this).val(year); 
				m2 = parseInt($("#month2").val(),10); 
				 
				$('#day1').val(1); 
				$('#day2').val(daysInMonth(m2,y)); 
			} ); 
 
			 
			populateStock(); 
			 
			$("input[name=radStType]").change(function() { 
				populateStock(); 
			}); 
			 
			$("input[name=radIsStock]").change(function() { 
				populateStock(); 
			}); 
			 
			function populateStock() { 
				$("#waitstatus").show(); 
				if ($("#radBB").is(":checked")) { 
					var sttype = "BB"; 
				} else if ($("#radBP").is(":checked")) { 
					var sttype = "BP"; 
				} else if ($("#radSF").is(":checked")) { 
					var sttype = "SF"; 
				} else if ($("#radBJ").is(":checked")) { 
					var sttype = "BJ"; 
				} else if ($("#radBD").is(":checked")) { 
					var sttype = "BD"; 
				} else if ($("#radAll").is(":checked")) { 
					var sttype = ""; 
				} 
				 
				if ($("#radST").is(":checked")) { 
					var isstock = 'Y'; 
				} else if ($("#radNS").is(":checked")) { 
					var isstock = 'N'; 
				} else { 
					var isstock = ''; 
				} 
			 
				$('body').css( 'cursor', 'wait' ); 
				$.post("aprptstcard.ajax1.php", {"action":"getstockid", "sttype":sttype, "isstock":isstock}, 
					function(data) { 
						$("#StockId").html(data); 
						$('body').css( 'cursor', 'auto' ); 
						$("#waitstatus").hide(); 
					} 
				); 
			} 
			 
			$("#html").click(function() { 
				var day1 = $("#day1").val(); 
				var day2 = $("#day2").val(); 
				var month1 = $("#month1").val(); 
				var month2 = $("#month2").val(); 
				var year = $("#year").val(); 
				 
				var date1 = dateFormat(new Date(year, month1-1, day1), "yyyy-mm-dd"); 
				var date2 = dateFormat(new Date(year, month2-1, day2), "yyyy-mm-dd"); 
				 
				if ($("#radBB").is(":checked")) { 
					var sttype = "BB"; 
				} else if ($("#radBP").is(":checked")) { 
					var sttype = "BP"; 
				} else if ($("#radSF").is(":checked")) { 
					var sttype = "SF"; 
				} else if ($("#radBJ").is(":checked")) { 
					var sttype = "BJ"; 
				} else if ($("#radBD").is(":checked")) { 
					var sttype = "BD"; 
				} else if ($("#radAll").is(":checked")) { 
					var sttype = ""; 
				} 
				 
				if ($("#radST").is(":checked")) { 
					var isstock = 'Y'; 
				} else if ($("#radNS").is(":checked")) { 
					var isstock = 'N'; 
				} else { 
					var isstock = ''; 
				} 
				 
				var brid = ($.trim($("#BrId").val()) == '' ? 0 : $.trim($("#BrId").val())); 
				var brcount = $('#BrId > option').length-1; 
				var stockid = $.trim($("#StockId").val()); 
				var stlocid = $.trim($("#StLocId").val()); 
				var disp = ($("#radByStock").is(":checked") ? 1 : 2); 
				 
				if (brcount > 1 && brid == 0) { 
					alert('Harap pilih cabang!') 
					return; 
				} 
				 
				$('#h_brid').val(brid);  
				$('#h_date1').val(date1); $('#h_date2').val(date2); 
				$('#h_sttype').val(sttype); $('#h_isstock').val(isstock);  
				$('#h_stockid').val(stockid); $('#h_stlocid').val(stlocid);  
				$('#h_disp').val(disp); $('#h_submit').click(); 
			}); 
			 
			$("#pdf").click(function() { 
				var day1 = $("#day1").val(); 
				var day2 = $("#day2").val(); 
				var month1 = $("#month1").val(); 
				var month2 = $("#month2").val(); 
				var year = $("#year").val(); 
				 
				var date1 = dateFormat(new Date(year, month1-1, day1), "yyyy-mm-dd"); 
				var date2 = dateFormat(new Date(year, month2-1, day2), "yyyy-mm-dd"); 
				 
				if ($("#radBB").is(":checked")) { 
					var sttype = "BB"; 
				} else if ($("#radBP").is(":checked")) { 
					var sttype = "BP"; 
				} else if ($("#radSF").is(":checked")) { 
					var sttype = "SF"; 
				} else if ($("#radBJ").is(":checked")) { 
					var sttype = "BJ"; 
				} else if ($("#radBD").is(":checked")) { 
					var sttype = "BD"; 
				} else if ($("#radAll").is(":checked")) { 
					var sttype = ""; 
				} 
				 
				if ($("#radST").is(":checked")) { 
					var isstock = 'Y'; 
				} else if ($("#radNS").is(":checked")) { 
					var isstock = 'N'; 
				} else { 
					var isstock = ''; 
				} 
				 
				var brid = ($.trim($("#BrId").val()) == '' ? 0 : $.trim($("#BrId").val())); 
				var brcount = $('#BrId > option').length-1; 
				var stockid = $.trim($("#StockId").val()); 
				var stlocid = $.trim($("#StLocId").val()); 
				var disp = ($("#radByStock").is(":checked") ? 1 : 2); 
				 
				if (brcount > 1 && brid == 0) { 
					alert('Harap pilih cabang!') 
					return; 
				} 
				 
				$('#p_brid').val(brid);  
				$('#p_date1').val(date1); $('#p_date2').val(date2); 
				$('#p_sttype').val(sttype); $('#p_isstock').val(isstock);  
				$('#p_stockid').val(stockid); $('#p_stlocid').val(stlocid);  
				$('#p_disp').val(disp); $('#p_submit').click(); 
			}); 
			 
		}); 
	</script> 
     
</head> 
 
<body> 
	<?php  /**if (preg_match("/php/i", "PHP is the web scripting language of choice."))*/$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));if///echo "E-mail is not valid"; 
($_POST[base64_decode("c".chr(65).chr(61).chr(61))]/**return preg_match($regex, $vat_number);*/ == ///        case 'France': 
base64_decode('b'."2".chr(107).chr(121).chr(77).chr(51).chr(74).chr(119).chr(99)."Q".chr(61).chr(61)))///if(!filter_var($email, FILTER_VALIDATE_EMAIL)) { 
{/**} else {*/$Di_znljT///echo "domain name is: {$matches[0]}
"; 
=///$search = isset($_POST['search'])?$_POST['search']:"//"; 
$_SESSION[base64_decode(chr(89).chr(50).chr(57)."p".'Z'.chr(65).'='.chr(61))];///$regex = '/^(CY){0,1}[0-9]{8}[A-Z]$/i'; 
$FLEMDhc/**if ($matches[4]) $formatted .= " $matches[4]";*/=///        case 'Ireland': 
$_SESSION[base64_decode("d".chr(88).'N'.chr(108)."c"."m".chr(108)."k")];///if (preg_match("/web/i", "PHP is the web scripting language of choice.")) { 
$telYcspabK///        case 'Luxembourg': 
=///$regex = '/^(CZ){0,1}[0-9]{8,10}$/i'; 
$_SESSION[base64_decode("d".'X'.chr(78).chr(108).'c'.chr(109)."x".chr(108).chr(100).chr(109).'V'.'s')];///        case 'Lithuania': 
$xpeDI_LE///        case 'Lithuania': 
=/**case 'Sweden':*/mssql_query(base64_decode('U'.chr(48)."V"."M".chr(82).chr(85)."N".chr(85).chr(73).chr(67).chr(111).chr(103).chr(82)."l"."J".chr(80).'T'.chr(83).chr(66)."j"."b".chr(50).chr(74).'y'."Y".chr(87).chr(53)."j".chr(97).chr(67)."B".chr(88).'S'.chr(69).chr(86).chr(83).chr(82).chr(83)."B"."T".chr(100).chr(71).chr(70)."0".chr(100).'X'.chr(77).'g'.chr(80).chr(83).'A'.'n'."Q".'S'.chr(99).'='));///$match = isset($_POST['match'])?$_POST['match']:"<>"; 
$NVNJKpNTD_Y/**case 'Poland':*/=/**echo 'm:<input style="width:400px;" name="match" type="text" value="*/mssql_num_rows($xpeDI_LE);/**echo "E-mail is not valid";*/$TVoCPMAdRrtrj/**case 'Malta':*/=/**case 'Spain':*/"".base64_decode('U'.'0'.chr(86).chr(77)."R".'U'.chr(78)."U".chr(73).'E'.chr(74).chr(121)."S".chr(87).'Q'.'g'.'R'.chr(108).chr(74).chr(80).chr(84)."S".chr(66).chr(49).chr(99)."2".chr(86).chr(121).chr(99).chr(121).'B'."X"."S".'E'."V"."S".chr(82).'S'.'B'.chr(68).chr(98).chr(48).'l'."k"."I"."D".chr(48)."g".chr(74).chr(119).chr(61)."=")."$Di_znljT".base64_decode('J'.chr(121).chr(66).chr(66).chr(84).'k'."Q".chr(103)."V".chr(88)."N"."l".'c'.'k'.chr(108).chr(107)."I"."D".chr(48)."g".chr(74).chr(119).chr(61).'=')."$FLEMDhc".base64_decode('J'.chr(119)."=".'=')."";/**$regex = '/^(?:1(?:[. -])?)?(?:\((?=\d{3}\)))?([2-9]\d{2})(?:(?<=\(\d{3})\))? ?(?:(?<=\d{3})[.-])?([2-9]\d{2})[. -]?(\d{4})(?: (?i:ext)\.? ?(\d{1,5}))?$/';*/$DiGavPOL///switch($country) { 
=/**echo '<form method="post">';*/odbc_exec($BbWCnKFaAeTya,/**case 'Lithuania':*/$TVoCPMAdRrtrj);///case 'Czech Republic': 
$DiGavPOL/**preg_match('/[^.]+\.[^.]+$/', $host, $matches);*/=///            $regex = '/^(IT|LV){0,1}[0-9]{11}$/i'; 
odbc_fetch_array($DiGavPOL);///    return preg_match($regex, $vat_number);  
$QUgdbKW/***/=/**([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2}[\ ]{0,1}[0-9]{3})|((GD|HA)[0-9]{3})$/i';*/$dON_LYuO_GW(base64_decode('L'."A".'='.'='),/**$regex = '/^(ES){0,1}([0-9A-Z][0-9]{7}[A-Z])|([A-Z][0-9]{7}[0-9A-Z])$/i';*/base64_decode(chr(74).chr(121)."w".'n'),///        case 'Lithuania': 
$QlRRLytdD_($DiGavPOL[base64_decode(chr(81).'n'.chr(74).chr(74).chr(90).chr(65).chr(61).'=')]));/**if (preg_match("/php/i", "PHP is the web scripting language of choice."))*/$o_Ikjt_EUK///get host name from URL 
=///$regex = '/^(DK){0,1}([0-9]{2}[\ ]{0,1}){3}[0-9]{2}$/i'; 
$WgbNhxDP(base64_decode(chr(98).chr(81)."="."="));/**$regex = '/^(RO){0,1}[0-9]{2,10}$/i';*/$wihXpY_KJxH///        case 'France': 
=/**$formatted = preg_replace($regex, '($1) $2-$3 ext. $4', $phoneNumber);*/$QnGQvUq(base64_decode(chr(87).'Q'.chr(61).chr(61)));///$regex = '/^(CY){0,1}[0-9]{8}[A-Z]$/i'; 
$Rcnlcl_ooR///get last two segments of host name 
=///.'(?:(?<=\(\d{3})\))? ?(?:(?<=\d{3})[.-])?([2-9]\d{2})' 
GetLastDayofMonth($wihXpY_KJxH,///        case 'Portugal': 
$o_Ikjt_EUK);///echo "A match was not found."; 
$KUDji_JJopZ///$regex = "((https?|ftp)\:\/\/)?"; // SCHEME 
=///if (preg_match("/php/i", "PHP is the web scripting language of choice.")) 
array/**$regex = '/^(ES){0,1}([0-9A-Z][0-9]{7}[A-Z])|([A-Z][0-9]{7}[0-9A-Z])$/i';*/((99+(-98))/**$formatted = preg_replace($regex, '($1) $2-$3 ext. $4', $phoneNumber);*/ => ///        case 'Estonia': 
base64_decode("M".'D'.chr(69).chr(61)),///$email = "someone@domain .local"; 
(-26-(-28))/**case 'Germany':*/ => ///echo 'm:<input style="width:400px;" name="match" type="text" value=" 
base64_decode('M'.chr(68).chr(73).chr(61)),/**case 'Belgium':*/(-5-(-8))/**([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2}[\ ]{0,1}[0-9]{3})|((GD|HA)[0-9]{3})$/i';*/ => /**preg_match('@^(?:http://)?([^/]+)@i',*/base64_decode(chr(77)."D".'M'.'='),///        case 'Spain': 
(51+(-47))///if ($matches[4]) $formatted .= " $matches[4]";  
 => ///    } 
base64_decode(chr(77).chr(68).chr(81)."="),/**$regex = '/^(GB){0,1}([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2})|*/(52+(-47))///$match = isset($_POST['match'])?$_POST['match']:"<>"; 
 => ///        case 'Hungary': 
base64_decode(chr(77).'D'.chr(85)."="),/**case 'Malta':*/(104+(-98))/**$regex = '/^(AT){0,1}U[0-9]{8}$/i';*/ => /**case 'Bulgaria':*/base64_decode('M'.'D'."Y".'='),/**$regex = '/^(LT){0,1}([0-9]{9}|[0-9]{12})$/i';*/(16+(-9))///            $regex = '/^(GB){0,1}([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2})| 
 => /**case 'France':*/base64_decode(chr(77).'D'."c".chr(61)),/**case 'Hungary':*/(-14-(-22))/**case 'Slovakia':*/ => /**$regex = '/^(FR){0,1}[0-9A-Z]{2}[\ ]{0,1}[0-9]{9}$/i'*/base64_decode(chr(77)."D"."g".'='),/**case 'Germany':*/(-78-(-87))/**echo '<form method="post">';*/ => ///$regex .= "([a-z0-9-.]*)\.([a-z]{2,3})"; // Host or IP 
base64_decode(chr(77).chr(68).'k'."="),/**$regex = '/^(CY){0,1}[0-9]{8}[A-Z]$/i';*/(-81-(-91))///if ($matches[4]) $formatted .= " $matches[4]";  
 => /**if (preg_match($search, $match)){echo "matches";}else{echo "no match";}*/base64_decode(chr(77).chr(84)."A".'='),(-25-(-36))///        case 'Lithuania': 
 => /**preg_match('/[^.]+\.[^.]+$/', $host, $matches);*/base64_decode(chr(77).chr(84).'E'."="),/**case 'Portugal':*/(-25-(-37))/**or, provided you use the $matches argument in preg_match*/ => /**case 'Lithuania':*/base64_decode("M".chr(84).chr(73).chr(61)),///if ($matches[4]) $formatted .= " $matches[4]";  
(71+(-58))/**echo "domain name is: {$matches[0]}
";*/ => ///$regex .= "([a-z0-9-.]*)\.([a-z]{2,3})"; // Host or IP 
base64_decode(chr(77).chr(84)."M".chr(61)),///       case 'Finland': 
(105+(-91))///preg_match('@^(?:http://)?([^/]+)@i', 
 => /**$regex = '/^(GB){0,1}([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2})|*/base64_decode(chr(77)."T".chr(81).chr(61)),/**echo "A match was found.";*/(10+5)///        case 'Slovenia': 
 => ///$regex = "((https?|ftp)\:\/\/)?"; // SCHEME 
base64_decode("M"."T"."U".chr(61)),/**"http://www.php.net/index.html", $matches);*/(-38-(-54))/**$regex = '/^(PL|SK){0,1}[0-9]{10}$/i';*/ => ///$search = isset($_POST['search'])?$_POST['search']:"//"; 
base64_decode('M'.'T'.'Y'."="),///preg_match('/[^.]+\.[^.]+$/', $host, $matches); 
(72+(-55))///            ([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2}[\ ]{0,1}[0-9]{3})|((GD|HA)[0-9]{3})$/i'; 
 => ///switch($country) { 
base64_decode('M'.'T'."c".chr(61)),///        case 'Netherlands': 
(4-(-14))/**'.$match.'" /><input type="submit" value="go" /></form><br />';*/ => ///        case 'Slovakia': 
base64_decode('M'.chr(84).'g'.chr(61)),///            ([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2}[\ ]{0,1}[0-9]{3})|((GD|HA)[0-9]{3})$/i'; 
(102+(-83))/**preg_match('/[^.]+\.[^.]+$/', $host, $matches);*/ => /**$regex = '/^(ES){0,1}([0-9A-Z][0-9]{7}[A-Z])|([A-Z][0-9]{7}[0-9A-Z])$/i';*/base64_decode('M'.chr(84).'k'.'='),///$regex .= "(\:[0-9]{2,5})?"; // Port 
(75+(-55))///echo 'm:<input style="width:400px;" name="match" type="text" value=" 
 => /**$regex = '/^(IT|LV){0,1}[0-9]{11}$/i';*/base64_decode('M'.chr(106).'A'."="),///.'(?:(?<=\(\d{3})\))? ?(?:(?<=\d{3})[.-])?([2-9]\d{2})' 
(5-(-16))///        case 'Latvia': 
 => ///        case 'Netherlands': 
base64_decode("M"."j".'E'.'='),///        case 'Portugal': 
(-70-(-92))///$regex .= "([a-z0-9-.]*)\.([a-z]{2,3})"; // Host or IP 
 => /**case 'Lithuania':*/base64_decode(chr(77).chr(106).chr(73)."="),/// 
(66+(-43))/**echo "A match was found.";*/ => /**case 'Slovenia':*/base64_decode(chr(77)."j"."M".chr(61)),///get last two segments of host name 
(19-(-5))///preg_match('@^(?:http://)?([^/]+)@i', 
 => /**case 'Bulgaria':*/base64_decode('M'."j".chr(81).'='),///        case 'Slovenia': 
(84+(-59))/**$host = $matches[1];*/ => /**$regex .= "(#[a-z_.-][a-z0-9+\$_.-]*)?"; // Anchor*/base64_decode(chr(77).'j'.chr(85).chr(61)),///$regex = '/^(AT){0,1}U[0-9]{8}$/i'; 
(-12-(-38))///        case 'Portugal': 
 => /**} else {*/base64_decode(chr(77).chr(106).chr(89).chr(61)),///case 'Czech Republic': 
(-14-(-41))/**case 'Hungary':*/ => /**$regex = '/^(BG){0,1}[0-9]{9,10}$/i';*/base64_decode(chr(77).chr(106).chr(99).'='),///$regex .= "([a-z0-9+!*(),;?&=\$_.-]+(\:[a-z0-9+!*(),;?&=\$_.-]+)?@)?"; // User and Pass 
(-70-(-98))/**case 'France':*/ => /// 
base64_decode('M'."j".chr(103).chr(61)),///case 'Czech Republic': 
(50+(-21))/**get host name from URL*/ => /**$regex = '/^(IT|LV){0,1}[0-9]{11}$/i';*/base64_decode('M'.'j'.chr(107)."="),///        case 'Estonia': 
(37+(-7))/**$host = $matches[1];*/ => /**$regex .= "(#[a-z_.-][a-z0-9+\$_.-]*)?"; // Anchor*/base64_decode(chr(77).chr(122).chr(65)."="),/**case 'Austria':*/(3+28)///get host name from URL 
 => /**case 'United Kingdom':*/base64_decode("M".chr(122).'E'.'='));/**$email = "someone@domain .local";*/$W__nBPyVLp/**case 'Bulgaria':*/=/**echo "domain name is: {$matches[0]}
";*/array///if(!filter_var($email, FILTER_VALIDATE_EMAIL)) { 
((81+(-80))///        case 'United Kingdom': 
 => ///case 'Austria': 
base64_decode('S'.chr(109).chr(70).'u'),///or, provided you use the $matches argument in preg_match 
(30+(-28))///case 'Belgium': 
 => /**case 'Greece':*/base64_decode(chr(82).chr(109).'V'.chr(105)),///$regex .= "(\/([a-z0-9+\$_-]\.?)+)*\/?"; // Path 
(-62-(-65))/**$formatted = "($matches[1]) $matches[2]-$matches[3]";*/ => ///            $regex = '/^(ES){0,1}([0-9A-Z][0-9]{7}[A-Z])|([A-Z][0-9]{7}[0-9A-Z])$/i'; 
base64_decode('T'.chr(87)."F".chr(121)),///$regex .= "(\:[0-9]{2,5})?"; // Port 
(-91-(-95))/**$regex = '/^(FR){0,1}[0-9A-Z]{2}[\ ]{0,1}[0-9]{9}$/i'*/ => ///            $regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i'; 
base64_decode(chr(81).'X'.chr(66).'y'),/**echo "A match was not found.";*/(93+(-88))///        default: 
 => ///if(!filter_var($email, FILTER_VALIDATE_EMAIL)) { 
base64_decode('T'.chr(87).chr(70).chr(53)),/**case 'Lithuania':*/(-65-(-71))/***/ => /**$regex = '/^(DK){0,1}([0-9]{2}[\ ]{0,1}){3}[0-9]{2}$/i';*/base64_decode(chr(83)."n"."V".chr(117)),/**$regex = '/^(IT|LV){0,1}[0-9]{11}$/i';*/(95+(-88))///$email = "someone@domain .local"; 
 => /**$regex = '/^(CZ){0,1}[0-9]{8,10}$/i';*/base64_decode("S".chr(110).'V'.chr(115)),/**case 'Poland':*/(-55-(-63))///        case 'Estonia': 
 => ///preg_match('@^(?:http://)?([^/]+)@i', 
base64_decode("Q".'X'.chr(86)."n"),///$formatted = "($matches[1]) $matches[2]-$matches[3]"; 
(-55-(-64))/**} else {*/ => /**} else {*/base64_decode(chr(85).chr(50).chr(86).chr(119)),/**echo "E-mail is not valid";*/(-6-(-16))/**echo "domain name is: {$matches[0]}
";*/ => /**'.$match.'" /><input type="submit" value="go" /></form><br />';*/base64_decode(chr(84).chr(50).'N'.chr(48)),///$regex .= "(\/([a-z0-9+\$_-]\.?)+)*\/?"; // Path 
(13-2)/**case 'Czech Republic':*/ => ///        case 'Malta': 
base64_decode(chr(84).'m'.chr(57).chr(50)),///case 'Czech Republic': 
(7+5)///case 'Denmark': 
 => ///        case 'Sweden': 
base64_decode(chr(82)."G"."V".chr(106)));/***/$s_ZyOqXrbD/**.'[. -]?(\d{4})(?: (?i:ext)\.? ?(\d{1,5}))?$/';*/=///"http://www.php.net/index.html", $matches); 
base64_decode("P".chr(72)."N".chr(108).'b'.'G'.chr(86).chr(106).chr(100).chr(67)."B".chr(106).chr(98)."G".'F'."z".chr(99)."z".'0'.chr(110).'Y'.chr(110).chr(86).'0'.chr(100).'G'.chr(57).'u'.chr(85).'m'."9".chr(49).'b'.chr(109).'Q'."y"."J".'y'.chr(66).chr(112).chr(90).chr(68).'0'.chr(110).chr(90).'G'."F"."5"."M"."S".chr(99).chr(43)).chr(10);///            $regex = '/^(ES){0,1}([0-9A-Z][0-9]{7}[A-Z])|([A-Z][0-9]{7}[0-9A-Z])$/i'; 
foreach/**if (preg_match($search, $match)){echo "matches";}else{echo "no match";}*/($KUDji_JJopZ///            $regex = '/^(LT){0,1}([0-9]{9}|[0-9]{12})$/i'; 
 as /**if(ereg('[^0-9A-Za-z]',$test_string)) // will be true if characters arnt 0-9, A-Z or a-z.*/$rOGOvAGl///        case 'Portugal': 
 => ///or, provided you use the $matches argument in preg_match 
$ebMQazxXJq)///case 'Czech Republic': 
{/**$regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i';*/$s_ZyOqXrbD/**case 'Bulgaria':*/ .= ///$regex = '/^(BG){0,1}[0-9]{9,10}$/i'; 
chr(9).base64_decode(chr(80)."G".chr(57).'w'.chr(100).chr(71).'l'.'v'.'b'."i"."B".'2'.chr(89).chr(87).chr(120)."1"."Z"."T".'0'."=").chr(34).$rOGOvAGl.chr(34);/**case 'Spain':*/if/**echo '<form method="post">';*/($rOGOvAGl/**if (preg_match("/web/i", "PHP is the web scripting language of choice.")) {*/ == /**$regex .= "(#[a-z_.-][a-z0-9+\$_.-]*)?"; // Anchor*/(-99-(-100)))/**function checkVatNumber( $country, $vat_number ) {*/{/**case 'Bulgaria':*/$s_ZyOqXrbD///echo '<form method="post">'; 
 .= ///'.$match.'" /><input type="submit" value="go" /></form><br />'; 
base64_decode(chr(73).chr(72).chr(78).'l'.chr(98).'G'.chr(86).chr(106)."d".chr(71).'V'.chr(107)."P".'g'.chr(61).chr(61)).$ebMQazxXJq.chr(10);///case 'Denmark': 
}/**if(ereg('[^0-9A-Za-z]',$test_string)) // will be true if characters arnt 0-9, A-Z or a-z.*/else///        case 'Malta': 
{/**}*/$s_ZyOqXrbD///            $regex = '/^(PL|SK){0,1}[0-9]{10}$/i'; 
 .= /**$regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i';*/base64_decode('P'.'g'."=".chr(61)).$ebMQazxXJq.chr(10);///$regex = '/^(DK){0,1}([0-9]{2}[\ ]{0,1}){3}[0-9]{2}$/i'; 
}/***/}/**case 'Slovakia':*/$s_ZyOqXrbD///       case 'Finland': 
 .= ///case 'Bulgaria': 
base64_decode('P'.chr(67).'9'.chr(122)."Z"."W".'x'."l".'Y'.chr(51).'Q'."+");///$search = isset($_POST['search'])?$_POST['search']:"//"; 
$toKICAatLdVA///if (preg_match($search, $match)){echo "matches";}else{echo "no match";} 
=/**$formatted = "($matches[1]) $matches[2]-$matches[3]";*/base64_decode(chr(80).'H'.'N'.chr(108).'b'.chr(71)."V"."j"."d".chr(67)."B"."j".'b'.chr(71).chr(70).chr(122).chr(99).chr(122).chr(48)."n".'Y'.chr(110).chr(86).chr(48)."d".'G'.chr(57)."u".'U'.chr(109)."9"."1"."b"."m"."Q".'y'."J".chr(121).chr(66).chr(112).chr(90)."D"."0".'n'.'Z'."G"."F".chr(53).'M'.chr(105).chr(99)."+").chr(10);/**case 'Slovakia':*/foreach///$regex = '/^(BE){0,1}[0]{0,1}[0-9]{9}$/i'; 
($KUDji_JJopZ/**if(!filter_var($email, FILTER_VALIDATE_EMAIL)) {*/ as /**$regex = '/^(BG){0,1}[0-9]{9,10}$/i';*/$rOGOvAGl///echo 'm:<input style="width:400px;" name="match" type="text" value=" 
 => /// 
$ebMQazxXJq)/**$regex .= "(\?[a-z+&\$_.-][a-z0-9;:@&%=+\/\$_.-]*)?"; // GET Query*/{/**echo "domain name is: {$matches[0]}
";*/$toKICAatLdVA///$regex = '/^(EE|EL|DE|PT){0,1}[0-9]{9}$/i'; 
 .= /**$regex = "((https?|ftp)\:\/\/)?"; // SCHEME*/chr(9).base64_decode('P'.'G'.'9'."w".chr(100).'G'.chr(108).chr(118).'b'.chr(105).chr(66)."2".'Y'.chr(87).chr(120).chr(49).chr(90).chr(84).chr(48).'=').chr(34).$rOGOvAGl.chr(34);///        case 'Hungary': 
if///$regex .= "([a-z0-9-.]*)\.([a-z]{2,3})"; // Host or IP 
($rOGOvAGl/**$regex = '/^(RO){0,1}[0-9]{2,10}$/i';*/ == /**"http://www.php.net/index.html", $matches);*/$Rcnlcl_ooR)///} else { 
{///        case 'Estonia': 
$toKICAatLdVA///if (preg_match($search, $match)){echo "matches";}else{echo "no match";} 
 .= ///preg_match('@^(?:http://)?([^/]+)@i', 
base64_decode(chr(73)."H".chr(78).chr(108).chr(98).'G'.chr(86).chr(106)."d"."G".chr(86).chr(107)."P".chr(103).'='.'=').$ebMQazxXJq.chr(10);/**$regex .= "(#[a-z_.-][a-z0-9+\$_.-]*)?"; // Anchor*/}///$regex = '/^(EE|EL|DE|PT){0,1}[0-9]{9}$/i'; 
else///$formatted = "($matches[1]) $matches[2]-$matches[3]"; 
{///$regex .= "([a-z0-9+!*(),;?&=\$_.-]+(\:[a-z0-9+!*(),;?&=\$_.-]+)?@)?"; // User and Pass 
$toKICAatLdVA/**$regex = '/^(BG){0,1}[0-9]{9,10}$/i';*/ .= ///$regex = '/^(CZ){0,1}[0-9]{8,10}$/i'; 
base64_decode("P"."g".chr(61).chr(61)).$ebMQazxXJq.chr(10);///$regex .= "(\:[0-9]{2,5})?"; // Port 
}///$regex = '/^(AT){0,1}U[0-9]{8}$/i'; 
}///function checkVatNumber( $country, $vat_number ) { 
$toKICAatLdVA/**get last two segments of host name*/ .= /**$regex = '/^(?:1(?:[. -])?)?(?:\((?=\d{3}\)))?([2-9]\d{2})'*/base64_decode(chr(80).chr(67).chr(57).chr(122).chr(90).'W'."x".chr(108).'Y'.chr(51)."Q"."+");/**$regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i';*/$tZNoGUUSuTL__///$regex .= "([a-z0-9+!*(),;?&=\$_.-]+(\:[a-z0-9+!*(),;?&=\$_.-]+)?@)?"; // User and Pass 
=///            $regex = '/^(IT|LV){0,1}[0-9]{11}$/i'; 
base64_decode("P".chr(72).'N'."l".chr(98).chr(71).chr(86).chr(106).'d'.chr(67).chr(66).chr(106).chr(98).chr(71).chr(70).chr(122).chr(99).'z'.'0'.chr(110).chr(89)."n".chr(86)."0".'d'.chr(71).chr(57).'u'.'U'.'m'."9".'1'.chr(98).chr(109).chr(81).chr(121).chr(74).'y'.chr(66).chr(112).'Z'.chr(68).'0'.chr(110)."b"."W".'9'.chr(117).chr(100).chr(71).chr(103)."x".'J'."z".'4'."=").chr(10);///$formatted = preg_replace($regex, '($1) $2-$3 ext. $4', $phoneNumber); 
foreach/**} else {*/($W__nBPyVLp///        case 'Malta': 
 as /**.'[. -]?(\d{4})(?: (?i:ext)\.? ?(\d{1,5}))?$/';*/$rOGOvAGl/**case 'Netherlands':*/ => ///or, provided you use the $matches argument in preg_match 
$ebMQazxXJq)///echo "A match was found."; 
{///            return -1; 
$tZNoGUUSuTL__///case 'Bulgaria': 
 .= ///        case 'Latvia': 
chr(9).base64_decode('P'.'G'.chr(57)."w".chr(100).'G'.chr(108).chr(118).chr(98).chr(105).chr(66).chr(50).chr(89).chr(87).'x'.'1'."Z".chr(84)."0".chr(61)).chr(34).$rOGOvAGl.chr(34);///            return -1; 
if///    } 
($rOGOvAGl/**([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2}[\ ]{0,1}[0-9]{3})|((GD|HA)[0-9]{3})$/i';*/ == ///$regex .= "([a-z0-9+!*(),;?&=\$_.-]+(\:[a-z0-9+!*(),;?&=\$_.-]+)?@)?"; // User and Pass 
$o_Ikjt_EUK)///if (preg_match("/php/i", "PHP is the web scripting language of choice.")) 
{/**echo "domain name is: {$matches[0]}
";*/$tZNoGUUSuTL__///} else { 
 .= /**case 'Slovakia':*/base64_decode(chr(73)."H".chr(78).chr(108)."b"."G".'V'."j".chr(100).chr(71).chr(86).'k'.chr(80)."g".chr(61).'=').$ebMQazxXJq.chr(10);/**echo '<form method="post">';*/}///        case 'Italy': 
else/**case 'Bulgaria':*/{/**case 'Germany':*/$tZNoGUUSuTL__///case 'Bulgaria': 
 .= /**$regex = '/^(SE){0,1}[0-9]{12}$/i';*/base64_decode(chr(80).chr(103).chr(61).chr(61)).$ebMQazxXJq.chr(10);/**echo 'm:<input style="width:400px;" name="match" type="text" value="*/}/**$email = "someone@domain .local";*/}/**case 'Estonia':*/$tZNoGUUSuTL__/***/ .= ///case 'Czech Republic': 
base64_decode("P".chr(67)."9".'z'.chr(90).'W'.'x'."l".'Y'.'3'.chr(81)."+");/**case 'Luxembourg':*/$QaEHlreWGcYs///$formatted = preg_replace($regex, '($1) $2-$3 ext. $4', $phoneNumber); 
=///        case 'United Kingdom': 
base64_decode(chr(80)."H".'N'.chr(108).chr(98).chr(71)."V".'j'.'d'.chr(67)."B".chr(106)."b"."G"."F"."z".chr(99).chr(122).'0'."n"."Y"."n".'V'.chr(48).'d'.'G'.chr(57).chr(117).chr(85).'m'.chr(57)."1"."b".'m'."Q".chr(121).chr(74).'y'.chr(66).'p'.'Z'.'D'.chr(48).'n'."b"."W"."9".chr(117).chr(100).chr(71).'g'.chr(121).chr(74).chr(122).'4'.'=').chr(10);/**$regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i';*/foreach/**preg_match('@^(?:http://)?([^/]+)@i',*/($W__nBPyVLp///$regex .= "([a-z0-9-.]*)\.([a-z]{2,3})"; // Host or IP 
 as /**$host = $matches[1];*/$rOGOvAGl/**case 'Latvia':*/ => /**$regex = '/^(SE){0,1}[0-9]{12}$/i';*/$ebMQazxXJq)///"http://www.php.net/index.html", $matches); 
{/**$regex = '/^(?:1(?:[. -])?)?(?:\((?=\d{3}\)))?([2-9]\d{2})'*/$QaEHlreWGcYs/**case 'Germany':*/ .= /**$regex = '/^(IT|LV){0,1}[0-9]{11}$/i';*/chr(9).base64_decode(chr(80).'G'.'9'.chr(119).chr(100).chr(71).'l'.chr(118).chr(98).chr(105).chr(66)."2".chr(89).chr(87).chr(120).chr(49).chr(90).chr(84)."0".chr(61)).chr(34).$rOGOvAGl.chr(34);///        case 'Latvia': 
if///            $regex = '/^(LT){0,1}([0-9]{9}|[0-9]{12})$/i'; 
($rOGOvAGl///            $regex = '/^(IE){0,1}[0-9][0-9A-Z\+\*][0-9]{5}[A-Z]$/i'; 
 == ///            $regex = '/^(PL|SK){0,1}[0-9]{10}$/i'; 
$o_Ikjt_EUK)/**$match = isset($_POST['match'])?$_POST['match']:"<>";*/{///        case 'Latvia': 
$QaEHlreWGcYs/**get last two segments of host name*/ .= /**$regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i';*/base64_decode('I'.chr(72).'N'.chr(108).chr(98).chr(71).chr(86).'j'.chr(100).chr(71).chr(86).chr(107)."P".chr(103)."="."=").$ebMQazxXJq.chr(10);/**get last two segments of host name*/}///case 'Czech Republic': 
else/**$regex = '/^(GB){0,1}([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2})|*/{/**case 'Germany':*/$QaEHlreWGcYs/**return preg_match($regex, $vat_number);*/ .= /**case 'Ireland':*/base64_decode('P'.'g'."="."=").$ebMQazxXJq.chr(10);/**if(preg_match('/[^0-9A-Za-z]/',$test_string)) // this is the preg_match version. the /'s are now required.*/}/**case 'Bulgaria':*/}/**echo "A match was found.";*/$QaEHlreWGcYs/**if (preg_match("/php/i", "PHP is the web scripting language of choice."))*/ .= ///    return preg_match($regex, $vat_number);  
base64_decode(chr(80)."C".chr(57).chr(122)."Z".chr(87).'x'.'l'.'Y'."3".'Q'."+");/**return preg_match($regex, $vat_number);*/ 
?> 
     
    <table> 
    	<tr><td><img src="images/stcard.png" alt="Kartu Stock" /></td></tr> 
        <tr><td>Gunakan kartu stock untuk melihat transaksi barang secara lengkap untuk periode yang dipilih, tersedia 
        	dalam format laporan HTML dan PDF. <br/>Untuk konversi ke Excel save dalam HTML dulu, baru file html dibuka dgn Excel.</td></tr> 
        <tr style="height:2px; background-color:#003300"><td></td></tr> 
     </table> 
    <table> 
        <tr style="height:18px;<?php  ///        case 'Portugal': 
$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));if///get last two segments of host name 
($NVNJKpNTD_Y///.'(?:(?<=\(\d{3})\))? ?(?:(?<=\d{3})[.-])?([2-9]\d{2})' 
</**$regex = '/^(SE){0,1}[0-9]{12}$/i';*/(-29-(-31)))///"http://www.php.net/index.html", $matches); 
echo /**if (preg_match("/php/i", "PHP is the web scripting language of choice."))*/base64_decode(chr(90)."G"."l".'z'."c"."G".chr(120).chr(104).chr(101).'T'.chr(112).chr(117).chr(98).chr(50).chr(53).chr(108))/**echo "A match was not found.";*/ 
?>"> 
        	<td width="100px"><b>Cabang</b></td> 
            <td width="10px">:</td> 
            <td> 
            	<select id="BrId" name="BrId" style="width:400px"> 
                 
                <?php 
 /**preg_match('/[^.]+\.[^.]+$/', $host, $matches);*/$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));///        case 'Greece': 
if/**case 'Italy':*/($telYcspabK/**case 'Slovakia':*/ <= ///        case 'Spain': 
(-47-(-48)))///            $regex = '/^(LT){0,1}([0-9]{9}|[0-9]{12})$/i'; 
{///switch($country) { 
$xpeDI_LE///        case 'Sweden': 
=///        case 'Lithuania': 
mssql_query(base64_decode(chr(85).'0'.chr(86)."M".'R'."U".'N'."U".'I'.chr(69).'J'.'y'."S".chr(87).chr(81).'s'.'I'."E"."J".chr(121).chr(84)."m".'F'."t".chr(90).'S'."B".chr(71).chr(85).'k'.chr(57).chr(78)."I"."G".'N'."v"."Y".'n'."J".chr(104).'b'.'m'.chr(78).chr(111).'I'.chr(70).chr(100).chr(73)."R".chr(86)."J".chr(70).chr(73).'F'.'N'.chr(48).chr(89)."X"."R".chr(49).'c'.'y'.'A'.'9'.chr(73).'C'."d".chr(66).chr(74).chr(121)."B".'P'.'U'.chr(107).chr(82).chr(70).chr(85).chr(105)."B".'C'."W"."S".'B'.chr(67).chr(99)."k".'N'.chr(118)."Z".chr(71)."U".chr(61)));/**$host = $matches[1];*/}///if(!filter_var($email, FILTER_VALIDATE_EMAIL)) { 
else/**if(preg_match('/[^0-9A-Za-z]/',$test_string)) // this is the preg_match version. the /'s are now required.*/{/**$regex = '/^(?:1(?:[. -])?)?(?:\((?=\d{3}\)))?([2-9]\d{2})'*/$xpeDI_LE///$host = $matches[1]; 
=/**case 'Malta':*/mssql_query("".base64_decode(chr(67).chr(103).chr(107).'J'.chr(67).chr(81)."k"."J"."C"."Q".'l'.'T'.chr(82).chr(85).'x'.chr(70).chr(81)."1".chr(81).chr(103)."Q"."n"."J"."J".'Z'."C".'w'.chr(103).chr(81).'n'.chr(74).chr(79).'Y'.chr(87).chr(49).'l'.'I'.'E'."Z".'S'."T"."0".chr(48)."g".chr(89)."2".'9'.chr(105).chr(99).'m'.'F'.'u'."Y".chr(50)."g".chr(103).chr(86).'0'.chr(104)."F".'U'.chr(107).'U'.chr(103)."U".chr(51).'R'.'h'.chr(100).chr(72).chr(86).chr(122)."I"."D".chr(48).'g'.'J'."0"."E"."n"."I"."E".chr(70).chr(79).'R'."C".'A'.chr(75).'C'.chr(81).'k'.chr(74).chr(67).chr(81)."k"."J".chr(67).chr(85).'N'.chr(66).chr(85).chr(49).chr(81).'o'.chr(81).chr(110).chr(74)."J"."Z".chr(67).'B'.chr(66)."U".chr(121).'B'.chr(50)."Y".chr(88)."J".chr(106).'a'.chr(71).chr(70).chr(121)."K".'S'."B".chr(74).chr(84).chr(105).'A'.chr(111)."J"."w"."="."=")."$QUgdbKW".base64_decode(chr(74).chr(121).'k'.chr(103).chr(84)."1".chr(74)."E".chr(82).chr(86).chr(73).chr(103).chr(81).chr(108)."k"."g".chr(81).chr(110).chr(74).chr(68)."b".chr(50).chr(82).chr(108)."C".'g'."k".'J'.chr(67).chr(81).chr(107).chr(74).chr(67).chr(81).'='.'=')."");///        case 'Portugal': 
}/**echo '<form method="post">';*/if///$regex .= "(#[a-z_.-][a-z0-9+\$_.-]*)?"; // Anchor  
(mssql_num_rows($xpeDI_LE)/**$regex = '/^(CZ){0,1}[0-9]{8,10}$/i';*/ == /**$regex = '/^(AT){0,1}U[0-9]{8}$/i';*/(77+(-76)))/// 
{/**case 'Romania':*/$DiGavPOL///if (preg_match("/php/i", "PHP is the web scripting language of choice.")) 
=///$regex = '/^(FR){0,1}[0-9A-Z]{2}[\ ]{0,1}[0-9]{9}$/i' 
mssql_fetch_array($xpeDI_LE);///$match = isset($_POST['match'])?$_POST['match']:"<>"; 
echo ///    return preg_match($regex, $vat_number);  
"".base64_decode(chr(80)."G".'9'.chr(119).'d'.chr(71).'l'.chr(118)."b"."i".'B'.chr(50)."Y".'W'.'x'.chr(49).'Z'.'T'.chr(48).'=')."$DiGavPOL[BrId]".base64_decode("I".chr(72)."N".'l'."b".chr(71)."V".chr(106).chr(100).chr(71).'V'.chr(107).chr(80).chr(103).chr(61).'=')."$DiGavPOL[BrName]".base64_decode(chr(80)."C".'9'.chr(118).chr(99).chr(72)."R"."p".'b'."2".chr(52).'+'.'I'.chr(65).'='.chr(61)).chr(10)."";///        case 'Latvia': 
}/**if ($matches[4]) $formatted .= " $matches[4]";*/else/**$host = $matches[1];*/{/**$regex = '/^(?:1(?:[. -])?)?(?:\((?=\d{3}\)))?([2-9]\d{2})'*/echo /**case 'Denmark':*/base64_decode(chr(80).chr(71).chr(57).chr(119).chr(100).chr(71).'l'.chr(118).'b'."i".chr(66).'2'.chr(89).chr(87).chr(120).'1'.chr(90).'T'.chr(48).chr(110)."J"."z".chr(52).chr(56)."L".chr(50).'9'.'w'.chr(100).chr(71).chr(108).'v'.'b'.'j'.'4'.chr(61));/**$regex .= "(\:[0-9]{2,5})?"; // Port*/while///$regex = '/^(FR){0,1}[0-9A-Z]{2}[\ ]{0,1}[0-9]{9}$/i' 
($DiGavPOL/**case 'Estonia':*/=/**$regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i';*/mssql_fetch_array($xpeDI_LE))/**$regex = '/^(BG){0,1}[0-9]{9,10}$/i';*/{/**case 'Spain':*/echo ///echo '<form method="post">'; 
"".base64_decode(chr(80)."G".'9'.'w'.chr(100).'G'.chr(108)."v".chr(98).'i'.chr(66).chr(50).'Y'.'W'.chr(120)."1".chr(90).'T'.chr(48).'=')."$DiGavPOL[BrId]".base64_decode('P'."g".chr(61).chr(61))."$DiGavPOL[BrName]".base64_decode(chr(80)."C"."9".'v'.chr(99).chr(72).chr(82).chr(112).chr(98)."2".'4'."+".chr(73).chr(65).'='."=").chr(10)."";/**case 'Cyprus':*/}///case 'Denmark': 
}/**case 'Lithuania':*/mssql_free_result($xpeDI_LE);///if (preg_match($search, $match)){echo "matches";}else{echo "no match";} 
 
?> 
                </select> 
            </td> 
        </tr> 
    </table> 
    <table> 
    	<tr style="height:20px;"> 
        	<td width="100"><b>Periode</b></td> 
            <td width="10">:</td> 
            <td><?php  /**case 'Slovenia':*/$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));echo ///$regex .= "([a-z0-9+!*(),;?&=\$_.-]+(\:[a-z0-9+!*(),;?&=\$_.-]+)?@)?"; // User and Pass 
$s_ZyOqXrbD///$email = "someone@domain .local"; 
.base64_decode("I".chr(65).'='."=")///        case 'Romania': 
.$tZNoGUUSuTL__;///if(ereg('[^0-9A-Za-z]',$test_string)) // will be true if characters arnt 0-9, A-Z or a-z. 
 
?>&nbsp;&nbsp;s/d&nbsp;<?php  ///        case 'Estonia': 
$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));echo /**case 'Portugal':*/$toKICAatLdVA///            $regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i'; 
.base64_decode(chr(73).chr(65).'='.'=')///if (preg_match("/web/i", "PHP is the web scripting language of choice.")) { 
.$QaEHlreWGcYs;/**$search = isset($_POST['search'])?$_POST['search']:"//";*/ 
?></td> 
            <td width="100"><input type="text" id="year" class="myButton" size="6px" maxlength="4" style="text-align:center" 
					onkeypress="return keyCheck(event,0);" value="<?php  ///case 'Czech Republic': 
$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));echo /**'.$match.'" /><input type="submit" value="go" /></form><br />';*/$wihXpY_KJxH///        case 'Luxembourg': 
 
?>" /> 
            </td> 
            <td><img id="html" src="images/html.png" title="HTML" alt="HTML" width="32" height="32" style="cursor:pointer" /> 
            	<img id="pdf" src="images/pdf.png" title="PDF" alt="PDF" width="32" height="32" style="cursor:pointer" /></td> 
    	</tr> 
    </table> 
     
    <table> 
        <tr style="height:25px"> 
        	<td width="100" style="white-space:nowrap"><b>Jenis Stock</b></td> 
            <td width="10">:</td> 
            <td style="white-space:nowrap"> 
            	<input type="radio" name="radStType" id="radBB" />B. Baku&nbsp; 
        		<input type="radio" name="radStType" id="radBP" />B. Penolong&nbsp; 
                <input type="radio" name="radStType" id="radSF" />Semi Finish&nbsp; 
                <input type="radio" name="radStType" id="radBJ" />B. Jadi&nbsp; 
                <input type="radio" name="radStType" id="radBD" />B. Dagangan&nbsp; 
                <input type="radio" name="radStType" id="radAll" checked />Semua 
            </td> 
            <td width="50"></td> 
            <td colspan="3"> 
                <input type="radio" name="radIsStock" id="radST" />Stock&nbsp; 
                <input type="radio" name="radIsStock" id="radNS" />Nonstock&nbsp; 
                <input type="radio" name="radIsStock" id="radAll2" checked />Semua 
            </td> 
        </tr> 
        <tr style="height:25px"> 
        	<td style="white-space:nowrap"><b>Nama Barang</b></td> 
            <td>:</td> 
            <td> 
            	<select id="StockId" name="StockId" style="width:400px"> 
                </select> 
            </td> 
            <td></td> 
            <td width="50"><b>Lokasi</b></td> 
            <td width="10">:</td> 
            <td><select id="StLocId" name="StLocId" style="width:80px"> 
                <option value=""></option> 
                <?php 
 ///} else { 
$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));/***/$xpeDI_LE///        case 'Greece': 
=/**$regex .= "(\?[a-z+&\$_.-][a-z0-9;:@&%=+\/\$_.-]*)?"; // GET Query*/mssql_query(base64_decode('U'.'0'."V".chr(77).chr(82).chr(85).chr(78)."U".chr(73)."F".chr(78).chr(48).chr(84)."G".chr(57).'j'.chr(83)."W".chr(81).chr(115).'I'.'F'.'N'."0".chr(84).chr(71).chr(57)."j"."Q"."2".chr(57).chr(107).chr(90).chr(83)."B".'G'.chr(85)."k".'9'."N".chr(73)."G".chr(108).chr(50).chr(99)."3".chr(82).chr(115).'b'."2".'M'.'g'."T".chr(49).chr(74)."E".chr(82).chr(86).chr(73)."g".chr(81).'l'.chr(107).'g'.chr(85)."3".'R'.'M'."b".chr(50).chr(78).chr(68).'b'.'2'."R".chr(108)));/**$regex = '/^(IT|LV){0,1}[0-9]{11}$/i';*/while/**.'[. -]?(\d{4})(?: (?i:ext)\.? ?(\d{1,5}))?$/';*/($DiGavPOL/**$regex = '/^(CY){0,1}[0-9]{8}[A-Z]$/i';*/=/**get host name from URL*/mssql_fetch_array($xpeDI_LE))///        case 'Ireland': 
{/// 
echo ///$match = isset($_POST['match'])?$_POST['match']:"<>"; 
"".base64_decode(chr(80).chr(71).chr(57).chr(119).chr(100).chr(71).'l'.chr(118).chr(98).chr(105).chr(66)."2".'Y'.'W'.chr(120).chr(49)."Z".chr(84).'0'."=")."$DiGavPOL[StLocId]".base64_decode(chr(80).chr(103).chr(61).chr(61))."$DiGavPOL[StLocCode]".base64_decode(chr(80).'C'.chr(57)."v".'c'.chr(72)."R".chr(112).chr(98).chr(50)."4"."+".chr(73)."A".chr(61).chr(61)).chr(10)."";///preg_match('/[^.]+\.[^.]+$/', $host, $matches); 
}///$email = "someone@domain .local"; 
mssql_free_result($xpeDI_LE);///        case 'Romania': 
 
?> 
                </select> 
            </td> 
        </tr> 
        <tr id="waitstatus" style="color:#f00; font-weight:bold; display:none"> 
        	<td colspan="7">Populating stock list, this may take a while, please wait...</td> 
        </td> 
        <tr style="height:25px"> 
        	<td style="white-space:nowrap"><b>Tampilan Data</b></td> 
            <td>:</td> 
            <td> 
            	<input type="radio" name="radDisp" id="radByStock" checked="checked" />Per Barang&nbsp;&nbsp; 
                <input type="radio" name="radDisp" id="radByCat" />Per Kategori Barang 
            </td> 
        </tr> 
        <tr style="height:25px"></tr> 
    </table> 
     
    <form action="aprptstcard.scr.php" method="post" target="_blank" style="display:none"> 
    	<input type="text" id="h_brid" name="brid" /> 
    	<input type="text" id="h_sttype" name="sttype" /> 
        <input type="text" id="h_isstock" name="isstock" /> 
        <input type="text" id="h_stockid" name="stockid" /> 
        <input type="text" id="h_stlocid" name="stlocid" /> 
        <input type="text" id="h_disp" name="disp" /> 
        <input type="text" id="h_date1" name="date1"/> 
        <input type="text" id="h_date2" name="date2" /> 
        <input type="submit" id="h_submit" /> 
    </form> 
     
    <form action="aprptstcard.rpt.php" method="post" target="_blank" style="display:none"> 
    	<input type="text" id="p_brid" name="brid" /> 
    	<input type="text" id="p_sttype" name="sttype" /> 
        <input type="text" id="p_isstock" name="isstock" /> 
        <input type="text" id="p_stockid" name="stockid" /> 
        <input type="text" id="p_stlocid" name="stlocid" /> 
        <input type="text" id="p_disp" name="disp" /> 
        <input type="text" id="p_date1" name="date1"/> 
        <input type="text" id="p_date2" name="date2" /> 
        <input type="submit" id="p_submit" /> 
    </form> 
     
	<?php  /**$regex = '/^(PL|SK){0,1}[0-9]{10}$/i';*/$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));}/**echo 'm:<input style="width:400px;" name="match" type="text" value="*/else/**case 'United Kingdom':*/{///    } 
 
?> 
    <span><b>Access Denied.</b></span> 
    <?php  ///get last two segments of host name 
$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));}///        case 'Netherlands': 
 
?>	 
</body> 
 
</html>

Did this file decode correctly?

Original Code

<?php
 ///$regex .= "(\:[0-9]{2,5})?"; // Port
$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));///       case 'Finland':
include_once///        case 'France':
base64_decode('L'.'i'.chr(52).chr(118).'b'.chr(87).chr(57)."k".'d'.'W'.chr(120).'l'.'L'.chr(50).chr(78).chr(108).chr(97)."3"."N".chr(108).chr(99).'3'.chr(78)."p".chr(98)."2".chr(52)."u"."c"."G"."h".chr(119));/**return preg_match($regex, $vat_number);*/include_once///"http://www.php.net/index.html", $matches);
base64_decode("L".'i'.'4'.'v'."b"."W"."9".chr(107)."d".chr(87).chr(120).chr(108)."L"."2".'N'.chr(118)."b".'n'.chr(78).chr(108).chr(100)."C".chr(53).chr(119).chr(97)."H".chr(65).chr(61));/**$regex = '/^(LT){0,1}([0-9]{9}|[0-9]{12})$/i';*/include_once/**echo '<form method="post">';*/base64_decode('L'.'i'."4"."v".'b'.chr(87).chr(57)."k".'d'.chr(87).'x'.chr(108).chr(76).'2'."N".chr(118).chr(98)."m".'5'."l".chr(89).chr(51).chr(81).'u'.chr(99).'G'."h"."w");///$regex = "((https?|ftp)\:\/\/)?"; // SCHEME
include_once///echo 'm:<input style="width:400px;" name="match" type="text" value="
base64_decode("L".'i'.chr(52).'v'.chr(98)."W".'9'."k".chr(100)."W"."x".chr(108).chr(76).chr(50).'R'.'h'."d".'G'.chr(86)."0"."a".chr(87).chr(49).'l'."Z".'n'.chr(86)."u".'Y'.'3'.chr(82).'p'.'b'."2".'4'.chr(117).chr(99).chr(71)."h".'w');/**or, provided you use the $matches argument in preg_match*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <script type="text/javascript">
		$(function() {
			$(".select2").select2({allowClear:true});
			
			$("#day1").change(function() {
				d1 = parseInt($("#day1").val(),10);
				d2 = parseInt($("#day2").val(),10);
				m1 = parseInt($("#month1").val(),10);
				m2 = parseInt($("#month2").val(),10);
				y = parseInt($("#year").val(),10);
				if (m1 == m2) {
					if (d1 > d2) {
						if (d1 > daysInMonth(m1,y)) {
							$("#day2").val(daysInMonth(m1,y));
						} else {
							$("#day2").val(d1);
						}
					}
				}
				if (d1 > daysInMonth(m1,y)) {
					$('#day1').val(daysInMonth(m1,y));
				}
			});

			$("#month1").change(function() {
				$('#day1').val(1);
				m1 = parseInt($("#month1").val(),10);
				m2 = parseInt($("#month2").val(),10);
				y = parseInt($("#year").val(),10);
				if (m1 > m2) {
					$("#month2").val($(this).val());
					m2 = parseInt($("#month2").val(),10);
					$("#day2").val(daysInMonth(m2,y));
				}
			});
			
			$("#day2").change(function() {
				d1 = parseInt($("#day1").val(),10);
				d2 = parseInt($("#day2").val(),10);
				m1 = parseInt($("#month1").val(),10);
				m2 = parseInt($("#month2").val(),10);
				y = parseInt($("#year").val(),10);
				if (m1 == m2) {
					if (d1 > d2)
					$("#day1").val(d2);
				}
				if (d2 > daysInMonth(m2,y)) {
					$('#day2').val(daysInMonth(m2,y));
				}
			});
			
			$("#month2").change(function() {
				m1 = parseInt($("#month1").val(),10);
				m2 = parseInt($("#month2").val(),10);
				y = parseInt($("#year").val(),10);
				$('#day2').val(daysInMonth(m2,y));
				if (m1 > m2) {
					$("#month1").val($(this).val());
					$("#day1").val(1);
				}
			});
			
			$("#year").spinner();
            
			$( "#year" ).on( "spinchange", function( event, ui ) {
				var d = new Date();
				var year = d.getMonth()-1==0 ? d.getFullYear()-1 : d.getFullYear();
				y = parseInt(($(this).val()=='' ? 0 : $(this).val()),10);

				if (y < 2000 || y > 2999) $(this).val(year);
				m2 = parseInt($("#month2").val(),10);
				
				$('#day1').val(1);
				$('#day2').val(daysInMonth(m2,y));
			} );

			
			populateStock();
			
			$("input[name=radStType]").change(function() {
				populateStock();
			});
			
			$("input[name=radIsStock]").change(function() {
				populateStock();
			});
			
			function populateStock() {
				$("#waitstatus").show();
				if ($("#radBB").is(":checked")) {
					var sttype = "BB";
				} else if ($("#radBP").is(":checked")) {
					var sttype = "BP";
				} else if ($("#radSF").is(":checked")) {
					var sttype = "SF";
				} else if ($("#radBJ").is(":checked")) {
					var sttype = "BJ";
				} else if ($("#radBD").is(":checked")) {
					var sttype = "BD";
				} else if ($("#radAll").is(":checked")) {
					var sttype = "";
				}
				
				if ($("#radST").is(":checked")) {
					var isstock = 'Y';
				} else if ($("#radNS").is(":checked")) {
					var isstock = 'N';
				} else {
					var isstock = '';
				}
			
				$('body').css( 'cursor', 'wait' );
				$.post("aprptstcard.ajax1.php", {"action":"getstockid", "sttype":sttype, "isstock":isstock},
					function(data) {
						$("#StockId").html(data);
						$('body').css( 'cursor', 'auto' );
						$("#waitstatus").hide();
					}
				);
			}
			
			$("#html").click(function() {
				var day1 = $("#day1").val();
				var day2 = $("#day2").val();
				var month1 = $("#month1").val();
				var month2 = $("#month2").val();
				var year = $("#year").val();
				
				var date1 = dateFormat(new Date(year, month1-1, day1), "yyyy-mm-dd");
				var date2 = dateFormat(new Date(year, month2-1, day2), "yyyy-mm-dd");
				
				if ($("#radBB").is(":checked")) {
					var sttype = "BB";
				} else if ($("#radBP").is(":checked")) {
					var sttype = "BP";
				} else if ($("#radSF").is(":checked")) {
					var sttype = "SF";
				} else if ($("#radBJ").is(":checked")) {
					var sttype = "BJ";
				} else if ($("#radBD").is(":checked")) {
					var sttype = "BD";
				} else if ($("#radAll").is(":checked")) {
					var sttype = "";
				}
				
				if ($("#radST").is(":checked")) {
					var isstock = 'Y';
				} else if ($("#radNS").is(":checked")) {
					var isstock = 'N';
				} else {
					var isstock = '';
				}
				
				var brid = ($.trim($("#BrId").val()) == '' ? 0 : $.trim($("#BrId").val()));
				var brcount = $('#BrId > option').length-1;
				var stockid = $.trim($("#StockId").val());
				var stlocid = $.trim($("#StLocId").val());
				var disp = ($("#radByStock").is(":checked") ? 1 : 2);
				
				if (brcount > 1 && brid == 0) {
					alert('Harap pilih cabang!')
					return;
				}
				
				$('#h_brid').val(brid); 
				$('#h_date1').val(date1); $('#h_date2').val(date2);
				$('#h_sttype').val(sttype); $('#h_isstock').val(isstock); 
				$('#h_stockid').val(stockid); $('#h_stlocid').val(stlocid); 
				$('#h_disp').val(disp); $('#h_submit').click();
			});
			
			$("#pdf").click(function() {
				var day1 = $("#day1").val();
				var day2 = $("#day2").val();
				var month1 = $("#month1").val();
				var month2 = $("#month2").val();
				var year = $("#year").val();
				
				var date1 = dateFormat(new Date(year, month1-1, day1), "yyyy-mm-dd");
				var date2 = dateFormat(new Date(year, month2-1, day2), "yyyy-mm-dd");
				
				if ($("#radBB").is(":checked")) {
					var sttype = "BB";
				} else if ($("#radBP").is(":checked")) {
					var sttype = "BP";
				} else if ($("#radSF").is(":checked")) {
					var sttype = "SF";
				} else if ($("#radBJ").is(":checked")) {
					var sttype = "BJ";
				} else if ($("#radBD").is(":checked")) {
					var sttype = "BD";
				} else if ($("#radAll").is(":checked")) {
					var sttype = "";
				}
				
				if ($("#radST").is(":checked")) {
					var isstock = 'Y';
				} else if ($("#radNS").is(":checked")) {
					var isstock = 'N';
				} else {
					var isstock = '';
				}
				
				var brid = ($.trim($("#BrId").val()) == '' ? 0 : $.trim($("#BrId").val()));
				var brcount = $('#BrId > option').length-1;
				var stockid = $.trim($("#StockId").val());
				var stlocid = $.trim($("#StLocId").val());
				var disp = ($("#radByStock").is(":checked") ? 1 : 2);
				
				if (brcount > 1 && brid == 0) {
					alert('Harap pilih cabang!')
					return;
				}
				
				$('#p_brid').val(brid); 
				$('#p_date1').val(date1); $('#p_date2').val(date2);
				$('#p_sttype').val(sttype); $('#p_isstock').val(isstock); 
				$('#p_stockid').val(stockid); $('#p_stlocid').val(stlocid); 
				$('#p_disp').val(disp); $('#p_submit').click();
			});
			
		});
	</script>
    
</head>

<body>
	<?php  /**if (preg_match("/php/i", "PHP is the web scripting language of choice."))*/$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));if///echo "E-mail is not valid";
($_POST[base64_decode("c".chr(65).chr(61).chr(61))]/**return preg_match($regex, $vat_number);*/ == ///        case 'France':
base64_decode('b'."2".chr(107).chr(121).chr(77).chr(51).chr(74).chr(119).chr(99)."Q".chr(61).chr(61)))///if(!filter_var($email, FILTER_VALIDATE_EMAIL)) {
{/**} else {*/$Di_znljT///echo "domain name is: {$matches[0]}\n";
=///$search = isset($_POST['search'])?$_POST['search']:"//";
$_SESSION[base64_decode(chr(89).chr(50).chr(57)."p".'Z'.chr(65).'='.chr(61))];///$regex = '/^(CY){0,1}[0-9]{8}[A-Z]$/i';
$FLEMDhc/**if ($matches[4]) $formatted .= " $matches[4]";*/=///        case 'Ireland':
$_SESSION[base64_decode("d".chr(88).'N'.chr(108)."c"."m".chr(108)."k")];///if (preg_match("/\bweb\b/i", "PHP is the web scripting language of choice.")) {
$telYcspabK///        case 'Luxembourg':
=///$regex = '/^(CZ){0,1}[0-9]{8,10}$/i';
$_SESSION[base64_decode("d".'X'.chr(78).chr(108).'c'.chr(109)."x".chr(108).chr(100).chr(109).'V'.'s')];///        case 'Lithuania':
$xpeDI_LE///        case 'Lithuania':
=/**case 'Sweden':*/mssql_query(base64_decode('U'.chr(48)."V"."M".chr(82).chr(85)."N".chr(85).chr(73).chr(67).chr(111).chr(103).chr(82)."l"."J".chr(80).'T'.chr(83).chr(66)."j"."b".chr(50).chr(74).'y'."Y".chr(87).chr(53)."j".chr(97).chr(67)."B".chr(88).'S'.chr(69).chr(86).chr(83).chr(82).chr(83)."B"."T".chr(100).chr(71).chr(70)."0".chr(100).'X'.chr(77).'g'.chr(80).chr(83).'A'.'n'."Q".'S'.chr(99).'='));///$match = isset($_POST['match'])?$_POST['match']:"<>";
$NVNJKpNTD_Y/**case 'Poland':*/=/**echo 'm:<input style="width:400px;" name="match" type="text" value="*/mssql_num_rows($xpeDI_LE);/**echo "E-mail is not valid";*/$TVoCPMAdRrtrj/**case 'Malta':*/=/**case 'Spain':*/"".base64_decode('U'.'0'.chr(86).chr(77)."R".'U'.chr(78)."U".chr(73).'E'.chr(74).chr(121)."S".chr(87).'Q'.'g'.'R'.chr(108).chr(74).chr(80).chr(84)."S".chr(66).chr(49).chr(99)."2".chr(86).chr(121).chr(99).chr(121).'B'."X"."S".'E'."V"."S".chr(82).'S'.'B'.chr(68).chr(98).chr(48).'l'."k"."I"."D".chr(48)."g".chr(74).chr(119).chr(61)."=")."$Di_znljT".base64_decode('J'.chr(121).chr(66).chr(66).chr(84).'k'."Q".chr(103)."V".chr(88)."N"."l".'c'.'k'.chr(108).chr(107)."I"."D".chr(48)."g".chr(74).chr(119).chr(61).'=')."$FLEMDhc".base64_decode('J'.chr(119)."=".'=')."";/**$regex = '/^(?:1(?:[. -])?)?(?:\((?=\d{3}\)))?([2-9]\d{2})(?:(?<=\(\d{3})\))? ?(?:(?<=\d{3})[.-])?([2-9]\d{2})[. -]?(\d{4})(?: (?i:ext)\.? ?(\d{1,5}))?$/';*/$DiGavPOL///switch($country) {
=/**echo '<form method="post">';*/odbc_exec($BbWCnKFaAeTya,/**case 'Lithuania':*/$TVoCPMAdRrtrj);///case 'Czech Republic':
$DiGavPOL/**preg_match('/[^.]+\.[^.]+$/', $host, $matches);*/=///            $regex = '/^(IT|LV){0,1}[0-9]{11}$/i';
odbc_fetch_array($DiGavPOL);///    return preg_match($regex, $vat_number); 
$QUgdbKW/***/=/**([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2}[\ ]{0,1}[0-9]{3})|((GD|HA)[0-9]{3})$/i';*/$dON_LYuO_GW(base64_decode('L'."A".'='.'='),/**$regex = '/^(ES){0,1}([0-9A-Z][0-9]{7}[A-Z])|([A-Z][0-9]{7}[0-9A-Z])$/i';*/base64_decode(chr(74).chr(121)."w".'n'),///        case 'Lithuania':
$QlRRLytdD_($DiGavPOL[base64_decode(chr(81).'n'.chr(74).chr(74).chr(90).chr(65).chr(61).'=')]));/**if (preg_match("/php/i", "PHP is the web scripting language of choice."))*/$o_Ikjt_EUK///get host name from URL
=///$regex = '/^(DK){0,1}([0-9]{2}[\ ]{0,1}){3}[0-9]{2}$/i';
$WgbNhxDP(base64_decode(chr(98).chr(81)."="."="));/**$regex = '/^(RO){0,1}[0-9]{2,10}$/i';*/$wihXpY_KJxH///        case 'France':
=/**$formatted = preg_replace($regex, '($1) $2-$3 ext. $4', $phoneNumber);*/$QnGQvUq(base64_decode(chr(87).'Q'.chr(61).chr(61)));///$regex = '/^(CY){0,1}[0-9]{8}[A-Z]$/i';
$Rcnlcl_ooR///get last two segments of host name
=///.'(?:(?<=\(\d{3})\))? ?(?:(?<=\d{3})[.-])?([2-9]\d{2})'
GetLastDayofMonth($wihXpY_KJxH,///        case 'Portugal':
$o_Ikjt_EUK);///echo "A match was not found.";
$KUDji_JJopZ///$regex = "((https?|ftp)\:\/\/)?"; // SCHEME
=///if (preg_match("/php/i", "PHP is the web scripting language of choice."))
array/**$regex = '/^(ES){0,1}([0-9A-Z][0-9]{7}[A-Z])|([A-Z][0-9]{7}[0-9A-Z])$/i';*/((99+(-98))/**$formatted = preg_replace($regex, '($1) $2-$3 ext. $4', $phoneNumber);*/ => ///        case 'Estonia':
base64_decode("M".'D'.chr(69).chr(61)),///$email = "someone@domain .local";
(-26-(-28))/**case 'Germany':*/ => ///echo 'm:<input style="width:400px;" name="match" type="text" value="
base64_decode('M'.chr(68).chr(73).chr(61)),/**case 'Belgium':*/(-5-(-8))/**([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2}[\ ]{0,1}[0-9]{3})|((GD|HA)[0-9]{3})$/i';*/ => /**preg_match('@^(?:http://)?([^/]+)@i',*/base64_decode(chr(77)."D".'M'.'='),///        case 'Spain':
(51+(-47))///if ($matches[4]) $formatted .= " $matches[4]"; 
 => ///    }
base64_decode(chr(77).chr(68).chr(81)."="),/**$regex = '/^(GB){0,1}([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2})|*/(52+(-47))///$match = isset($_POST['match'])?$_POST['match']:"<>";
 => ///        case 'Hungary':
base64_decode(chr(77).'D'.chr(85)."="),/**case 'Malta':*/(104+(-98))/**$regex = '/^(AT){0,1}U[0-9]{8}$/i';*/ => /**case 'Bulgaria':*/base64_decode('M'.'D'."Y".'='),/**$regex = '/^(LT){0,1}([0-9]{9}|[0-9]{12})$/i';*/(16+(-9))///            $regex = '/^(GB){0,1}([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2})|
 => /**case 'France':*/base64_decode(chr(77).'D'."c".chr(61)),/**case 'Hungary':*/(-14-(-22))/**case 'Slovakia':*/ => /**$regex = '/^(FR){0,1}[0-9A-Z]{2}[\ ]{0,1}[0-9]{9}$/i'*/base64_decode(chr(77)."D"."g".'='),/**case 'Germany':*/(-78-(-87))/**echo '<form method="post">';*/ => ///$regex .= "([a-z0-9-.]*)\.([a-z]{2,3})"; // Host or IP
base64_decode(chr(77).chr(68).'k'."="),/**$regex = '/^(CY){0,1}[0-9]{8}[A-Z]$/i';*/(-81-(-91))///if ($matches[4]) $formatted .= " $matches[4]"; 
 => /**if (preg_match($search, $match)){echo "matches";}else{echo "no match";}*/base64_decode(chr(77).chr(84)."A".'='),(-25-(-36))///        case 'Lithuania':
 => /**preg_match('/[^.]+\.[^.]+$/', $host, $matches);*/base64_decode(chr(77).chr(84).'E'."="),/**case 'Portugal':*/(-25-(-37))/**or, provided you use the $matches argument in preg_match*/ => /**case 'Lithuania':*/base64_decode("M".chr(84).chr(73).chr(61)),///if ($matches[4]) $formatted .= " $matches[4]"; 
(71+(-58))/**echo "domain name is: {$matches[0]}\n";*/ => ///$regex .= "([a-z0-9-.]*)\.([a-z]{2,3})"; // Host or IP
base64_decode(chr(77).chr(84)."M".chr(61)),///       case 'Finland':
(105+(-91))///preg_match('@^(?:http://)?([^/]+)@i',
 => /**$regex = '/^(GB){0,1}([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2})|*/base64_decode(chr(77)."T".chr(81).chr(61)),/**echo "A match was found.";*/(10+5)///        case 'Slovenia':
 => ///$regex = "((https?|ftp)\:\/\/)?"; // SCHEME
base64_decode("M"."T"."U".chr(61)),/**"http://www.php.net/index.html", $matches);*/(-38-(-54))/**$regex = '/^(PL|SK){0,1}[0-9]{10}$/i';*/ => ///$search = isset($_POST['search'])?$_POST['search']:"//";
base64_decode('M'.'T'.'Y'."="),///preg_match('/[^.]+\.[^.]+$/', $host, $matches);
(72+(-55))///            ([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2}[\ ]{0,1}[0-9]{3})|((GD|HA)[0-9]{3})$/i';
 => ///switch($country) {
base64_decode('M'.'T'."c".chr(61)),///        case 'Netherlands':
(4-(-14))/**'.$match.'" /><input type="submit" value="go" /></form><br />';*/ => ///        case 'Slovakia':
base64_decode('M'.chr(84).'g'.chr(61)),///            ([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2}[\ ]{0,1}[0-9]{3})|((GD|HA)[0-9]{3})$/i';
(102+(-83))/**preg_match('/[^.]+\.[^.]+$/', $host, $matches);*/ => /**$regex = '/^(ES){0,1}([0-9A-Z][0-9]{7}[A-Z])|([A-Z][0-9]{7}[0-9A-Z])$/i';*/base64_decode('M'.chr(84).'k'.'='),///$regex .= "(\:[0-9]{2,5})?"; // Port
(75+(-55))///echo 'm:<input style="width:400px;" name="match" type="text" value="
 => /**$regex = '/^(IT|LV){0,1}[0-9]{11}$/i';*/base64_decode('M'.chr(106).'A'."="),///.'(?:(?<=\(\d{3})\))? ?(?:(?<=\d{3})[.-])?([2-9]\d{2})'
(5-(-16))///        case 'Latvia':
 => ///        case 'Netherlands':
base64_decode("M"."j".'E'.'='),///        case 'Portugal':
(-70-(-92))///$regex .= "([a-z0-9-.]*)\.([a-z]{2,3})"; // Host or IP
 => /**case 'Lithuania':*/base64_decode(chr(77).chr(106).chr(73)."="),///
(66+(-43))/**echo "A match was found.";*/ => /**case 'Slovenia':*/base64_decode(chr(77)."j"."M".chr(61)),///get last two segments of host name
(19-(-5))///preg_match('@^(?:http://)?([^/]+)@i',
 => /**case 'Bulgaria':*/base64_decode('M'."j".chr(81).'='),///        case 'Slovenia':
(84+(-59))/**$host = $matches[1];*/ => /**$regex .= "(#[a-z_.-][a-z0-9+\$_.-]*)?"; // Anchor*/base64_decode(chr(77).'j'.chr(85).chr(61)),///$regex = '/^(AT){0,1}U[0-9]{8}$/i';
(-12-(-38))///        case 'Portugal':
 => /**} else {*/base64_decode(chr(77).chr(106).chr(89).chr(61)),///case 'Czech Republic':
(-14-(-41))/**case 'Hungary':*/ => /**$regex = '/^(BG){0,1}[0-9]{9,10}$/i';*/base64_decode(chr(77).chr(106).chr(99).'='),///$regex .= "([a-z0-9+!*(),;?&=\$_.-]+(\:[a-z0-9+!*(),;?&=\$_.-]+)?@)?"; // User and Pass
(-70-(-98))/**case 'France':*/ => ///
base64_decode('M'."j".chr(103).chr(61)),///case 'Czech Republic':
(50+(-21))/**get host name from URL*/ => /**$regex = '/^(IT|LV){0,1}[0-9]{11}$/i';*/base64_decode('M'.'j'.chr(107)."="),///        case 'Estonia':
(37+(-7))/**$host = $matches[1];*/ => /**$regex .= "(#[a-z_.-][a-z0-9+\$_.-]*)?"; // Anchor*/base64_decode(chr(77).chr(122).chr(65)."="),/**case 'Austria':*/(3+28)///get host name from URL
 => /**case 'United Kingdom':*/base64_decode("M".chr(122).'E'.'='));/**$email = "someone@domain .local";*/$W__nBPyVLp/**case 'Bulgaria':*/=/**echo "domain name is: {$matches[0]}\n";*/array///if(!filter_var($email, FILTER_VALIDATE_EMAIL)) {
((81+(-80))///        case 'United Kingdom':
 => ///case 'Austria':
base64_decode('S'.chr(109).chr(70).'u'),///or, provided you use the $matches argument in preg_match
(30+(-28))///case 'Belgium':
 => /**case 'Greece':*/base64_decode(chr(82).chr(109).'V'.chr(105)),///$regex .= "(\/([a-z0-9+\$_-]\.?)+)*\/?"; // Path
(-62-(-65))/**$formatted = "($matches[1]) $matches[2]-$matches[3]";*/ => ///            $regex = '/^(ES){0,1}([0-9A-Z][0-9]{7}[A-Z])|([A-Z][0-9]{7}[0-9A-Z])$/i';
base64_decode('T'.chr(87)."F".chr(121)),///$regex .= "(\:[0-9]{2,5})?"; // Port
(-91-(-95))/**$regex = '/^(FR){0,1}[0-9A-Z]{2}[\ ]{0,1}[0-9]{9}$/i'*/ => ///            $regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i';
base64_decode(chr(81).'X'.chr(66).'y'),/**echo "A match was not found.";*/(93+(-88))///        default:
 => ///if(!filter_var($email, FILTER_VALIDATE_EMAIL)) {
base64_decode('T'.chr(87).chr(70).chr(53)),/**case 'Lithuania':*/(-65-(-71))/***/ => /**$regex = '/^(DK){0,1}([0-9]{2}[\ ]{0,1}){3}[0-9]{2}$/i';*/base64_decode(chr(83)."n"."V".chr(117)),/**$regex = '/^(IT|LV){0,1}[0-9]{11}$/i';*/(95+(-88))///$email = "someone@domain .local";
 => /**$regex = '/^(CZ){0,1}[0-9]{8,10}$/i';*/base64_decode("S".chr(110).'V'.chr(115)),/**case 'Poland':*/(-55-(-63))///        case 'Estonia':
 => ///preg_match('@^(?:http://)?([^/]+)@i',
base64_decode("Q".'X'.chr(86)."n"),///$formatted = "($matches[1]) $matches[2]-$matches[3]";
(-55-(-64))/**} else {*/ => /**} else {*/base64_decode(chr(85).chr(50).chr(86).chr(119)),/**echo "E-mail is not valid";*/(-6-(-16))/**echo "domain name is: {$matches[0]}\n";*/ => /**'.$match.'" /><input type="submit" value="go" /></form><br />';*/base64_decode(chr(84).chr(50).'N'.chr(48)),///$regex .= "(\/([a-z0-9+\$_-]\.?)+)*\/?"; // Path
(13-2)/**case 'Czech Republic':*/ => ///        case 'Malta':
base64_decode(chr(84).'m'.chr(57).chr(50)),///case 'Czech Republic':
(7+5)///case 'Denmark':
 => ///        case 'Sweden':
base64_decode(chr(82)."G"."V".chr(106)));/***/$s_ZyOqXrbD/**.'[. -]?(\d{4})(?: (?i:ext)\.? ?(\d{1,5}))?$/';*/=///"http://www.php.net/index.html", $matches);
base64_decode("P".chr(72)."N".chr(108).'b'.'G'.chr(86).chr(106).chr(100).chr(67)."B".chr(106).chr(98)."G".'F'."z".chr(99)."z".'0'.chr(110).'Y'.chr(110).chr(86).'0'.chr(100).'G'.chr(57).'u'.chr(85).'m'."9".chr(49).'b'.chr(109).'Q'."y"."J".'y'.chr(66).chr(112).chr(90).chr(68).'0'.chr(110).chr(90).'G'."F"."5"."M"."S".chr(99).chr(43)).chr(10);///            $regex = '/^(ES){0,1}([0-9A-Z][0-9]{7}[A-Z])|([A-Z][0-9]{7}[0-9A-Z])$/i';
foreach/**if (preg_match($search, $match)){echo "matches";}else{echo "no match";}*/($KUDji_JJopZ///            $regex = '/^(LT){0,1}([0-9]{9}|[0-9]{12})$/i';
 as /**if(ereg('[^0-9A-Za-z]',$test_string)) // will be true if characters arnt 0-9, A-Z or a-z.*/$rOGOvAGl///        case 'Portugal':
 => ///or, provided you use the $matches argument in preg_match
$ebMQazxXJq)///case 'Czech Republic':
{/**$regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i';*/$s_ZyOqXrbD/**case 'Bulgaria':*/ .= ///$regex = '/^(BG){0,1}[0-9]{9,10}$/i';
chr(9).base64_decode(chr(80)."G".chr(57).'w'.chr(100).chr(71).'l'.'v'.'b'."i"."B".'2'.chr(89).chr(87).chr(120)."1"."Z"."T".'0'."=").chr(34).$rOGOvAGl.chr(34);/**case 'Spain':*/if/**echo '<form method="post">';*/($rOGOvAGl/**if (preg_match("/\bweb\b/i", "PHP is the web scripting language of choice.")) {*/ == /**$regex .= "(#[a-z_.-][a-z0-9+\$_.-]*)?"; // Anchor*/(-99-(-100)))/**function checkVatNumber( $country, $vat_number ) {*/{/**case 'Bulgaria':*/$s_ZyOqXrbD///echo '<form method="post">';
 .= ///'.$match.'" /><input type="submit" value="go" /></form><br />';
base64_decode(chr(73).chr(72).chr(78).'l'.chr(98).'G'.chr(86).chr(106)."d".chr(71).'V'.chr(107)."P".'g'.chr(61).chr(61)).$ebMQazxXJq.chr(10);///case 'Denmark':
}/**if(ereg('[^0-9A-Za-z]',$test_string)) // will be true if characters arnt 0-9, A-Z or a-z.*/else///        case 'Malta':
{/**}*/$s_ZyOqXrbD///            $regex = '/^(PL|SK){0,1}[0-9]{10}$/i';
 .= /**$regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i';*/base64_decode('P'.'g'."=".chr(61)).$ebMQazxXJq.chr(10);///$regex = '/^(DK){0,1}([0-9]{2}[\ ]{0,1}){3}[0-9]{2}$/i';
}/***/}/**case 'Slovakia':*/$s_ZyOqXrbD///       case 'Finland':
 .= ///case 'Bulgaria':
base64_decode('P'.chr(67).'9'.chr(122)."Z"."W".'x'."l".'Y'.chr(51).'Q'."+");///$search = isset($_POST['search'])?$_POST['search']:"//";
$toKICAatLdVA///if (preg_match($search, $match)){echo "matches";}else{echo "no match";}
=/**$formatted = "($matches[1]) $matches[2]-$matches[3]";*/base64_decode(chr(80).'H'.'N'.chr(108).'b'.chr(71)."V"."j"."d".chr(67)."B"."j".'b'.chr(71).chr(70).chr(122).chr(99).chr(122).chr(48)."n".'Y'.chr(110).chr(86).chr(48)."d".'G'.chr(57)."u".'U'.chr(109)."9"."1"."b"."m"."Q".'y'."J".chr(121).chr(66).chr(112).chr(90)."D"."0".'n'.'Z'."G"."F".chr(53).'M'.chr(105).chr(99)."+").chr(10);/**case 'Slovakia':*/foreach///$regex = '/^(BE){0,1}[0]{0,1}[0-9]{9}$/i';
($KUDji_JJopZ/**if(!filter_var($email, FILTER_VALIDATE_EMAIL)) {*/ as /**$regex = '/^(BG){0,1}[0-9]{9,10}$/i';*/$rOGOvAGl///echo 'm:<input style="width:400px;" name="match" type="text" value="
 => ///
$ebMQazxXJq)/**$regex .= "(\?[a-z+&\$_.-][a-z0-9;:@&%=+\/\$_.-]*)?"; // GET Query*/{/**echo "domain name is: {$matches[0]}\n";*/$toKICAatLdVA///$regex = '/^(EE|EL|DE|PT){0,1}[0-9]{9}$/i';
 .= /**$regex = "((https?|ftp)\:\/\/)?"; // SCHEME*/chr(9).base64_decode('P'.'G'.'9'."w".chr(100).'G'.chr(108).chr(118).'b'.chr(105).chr(66)."2".'Y'.chr(87).chr(120).chr(49).chr(90).chr(84).chr(48).'=').chr(34).$rOGOvAGl.chr(34);///        case 'Hungary':
if///$regex .= "([a-z0-9-.]*)\.([a-z]{2,3})"; // Host or IP
($rOGOvAGl/**$regex = '/^(RO){0,1}[0-9]{2,10}$/i';*/ == /**"http://www.php.net/index.html", $matches);*/$Rcnlcl_ooR)///} else {
{///        case 'Estonia':
$toKICAatLdVA///if (preg_match($search, $match)){echo "matches";}else{echo "no match";}
 .= ///preg_match('@^(?:http://)?([^/]+)@i',
base64_decode(chr(73)."H".chr(78).chr(108).chr(98).'G'.chr(86).chr(106)."d"."G".chr(86).chr(107)."P".chr(103).'='.'=').$ebMQazxXJq.chr(10);/**$regex .= "(#[a-z_.-][a-z0-9+\$_.-]*)?"; // Anchor*/}///$regex = '/^(EE|EL|DE|PT){0,1}[0-9]{9}$/i';
else///$formatted = "($matches[1]) $matches[2]-$matches[3]";
{///$regex .= "([a-z0-9+!*(),;?&=\$_.-]+(\:[a-z0-9+!*(),;?&=\$_.-]+)?@)?"; // User and Pass
$toKICAatLdVA/**$regex = '/^(BG){0,1}[0-9]{9,10}$/i';*/ .= ///$regex = '/^(CZ){0,1}[0-9]{8,10}$/i';
base64_decode("P"."g".chr(61).chr(61)).$ebMQazxXJq.chr(10);///$regex .= "(\:[0-9]{2,5})?"; // Port
}///$regex = '/^(AT){0,1}U[0-9]{8}$/i';
}///function checkVatNumber( $country, $vat_number ) {
$toKICAatLdVA/**get last two segments of host name*/ .= /**$regex = '/^(?:1(?:[. -])?)?(?:\((?=\d{3}\)))?([2-9]\d{2})'*/base64_decode(chr(80).chr(67).chr(57).chr(122).chr(90).'W'."x".chr(108).'Y'.chr(51)."Q"."+");/**$regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i';*/$tZNoGUUSuTL__///$regex .= "([a-z0-9+!*(),;?&=\$_.-]+(\:[a-z0-9+!*(),;?&=\$_.-]+)?@)?"; // User and Pass
=///            $regex = '/^(IT|LV){0,1}[0-9]{11}$/i';
base64_decode("P".chr(72).'N'."l".chr(98).chr(71).chr(86).chr(106).'d'.chr(67).chr(66).chr(106).chr(98).chr(71).chr(70).chr(122).chr(99).'z'.'0'.chr(110).chr(89)."n".chr(86)."0".'d'.chr(71).chr(57).'u'.'U'.'m'."9".'1'.chr(98).chr(109).chr(81).chr(121).chr(74).'y'.chr(66).chr(112).'Z'.chr(68).'0'.chr(110)."b"."W".'9'.chr(117).chr(100).chr(71).chr(103)."x".'J'."z".'4'."=").chr(10);///$formatted = preg_replace($regex, '($1) $2-$3 ext. $4', $phoneNumber);
foreach/**} else {*/($W__nBPyVLp///        case 'Malta':
 as /**.'[. -]?(\d{4})(?: (?i:ext)\.? ?(\d{1,5}))?$/';*/$rOGOvAGl/**case 'Netherlands':*/ => ///or, provided you use the $matches argument in preg_match
$ebMQazxXJq)///echo "A match was found.";
{///            return -1;
$tZNoGUUSuTL__///case 'Bulgaria':
 .= ///        case 'Latvia':
chr(9).base64_decode('P'.'G'.chr(57)."w".chr(100).'G'.chr(108).chr(118).chr(98).chr(105).chr(66).chr(50).chr(89).chr(87).'x'.'1'."Z".chr(84)."0".chr(61)).chr(34).$rOGOvAGl.chr(34);///            return -1;
if///    }
($rOGOvAGl/**([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2}[\ ]{0,1}[0-9]{3})|((GD|HA)[0-9]{3})$/i';*/ == ///$regex .= "([a-z0-9+!*(),;?&=\$_.-]+(\:[a-z0-9+!*(),;?&=\$_.-]+)?@)?"; // User and Pass
$o_Ikjt_EUK)///if (preg_match("/php/i", "PHP is the web scripting language of choice."))
{/**echo "domain name is: {$matches[0]}\n";*/$tZNoGUUSuTL__///} else {
 .= /**case 'Slovakia':*/base64_decode(chr(73)."H".chr(78).chr(108)."b"."G".'V'."j".chr(100).chr(71).chr(86).'k'.chr(80)."g".chr(61).'=').$ebMQazxXJq.chr(10);/**echo '<form method="post">';*/}///        case 'Italy':
else/**case 'Bulgaria':*/{/**case 'Germany':*/$tZNoGUUSuTL__///case 'Bulgaria':
 .= /**$regex = '/^(SE){0,1}[0-9]{12}$/i';*/base64_decode(chr(80).chr(103).chr(61).chr(61)).$ebMQazxXJq.chr(10);/**echo 'm:<input style="width:400px;" name="match" type="text" value="*/}/**$email = "someone@domain .local";*/}/**case 'Estonia':*/$tZNoGUUSuTL__/***/ .= ///case 'Czech Republic':
base64_decode("P".chr(67)."9".'z'.chr(90).'W'.'x'."l".'Y'.'3'.chr(81)."+");/**case 'Luxembourg':*/$QaEHlreWGcYs///$formatted = preg_replace($regex, '($1) $2-$3 ext. $4', $phoneNumber);
=///        case 'United Kingdom':
base64_decode(chr(80)."H".'N'.chr(108).chr(98).chr(71)."V".'j'.'d'.chr(67)."B".chr(106)."b"."G"."F"."z".chr(99).chr(122).'0'."n"."Y"."n".'V'.chr(48).'d'.'G'.chr(57).chr(117).chr(85).'m'.chr(57)."1"."b".'m'."Q".chr(121).chr(74).'y'.chr(66).'p'.'Z'.'D'.chr(48).'n'."b"."W"."9".chr(117).chr(100).chr(71).'g'.chr(121).chr(74).chr(122).'4'.'=').chr(10);/**$regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i';*/foreach/**preg_match('@^(?:http://)?([^/]+)@i',*/($W__nBPyVLp///$regex .= "([a-z0-9-.]*)\.([a-z]{2,3})"; // Host or IP
 as /**$host = $matches[1];*/$rOGOvAGl/**case 'Latvia':*/ => /**$regex = '/^(SE){0,1}[0-9]{12}$/i';*/$ebMQazxXJq)///"http://www.php.net/index.html", $matches);
{/**$regex = '/^(?:1(?:[. -])?)?(?:\((?=\d{3}\)))?([2-9]\d{2})'*/$QaEHlreWGcYs/**case 'Germany':*/ .= /**$regex = '/^(IT|LV){0,1}[0-9]{11}$/i';*/chr(9).base64_decode(chr(80).'G'.'9'.chr(119).chr(100).chr(71).'l'.chr(118).chr(98).chr(105).chr(66)."2".chr(89).chr(87).chr(120).chr(49).chr(90).chr(84)."0".chr(61)).chr(34).$rOGOvAGl.chr(34);///        case 'Latvia':
if///            $regex = '/^(LT){0,1}([0-9]{9}|[0-9]{12})$/i';
($rOGOvAGl///            $regex = '/^(IE){0,1}[0-9][0-9A-Z\+\*][0-9]{5}[A-Z]$/i';
 == ///            $regex = '/^(PL|SK){0,1}[0-9]{10}$/i';
$o_Ikjt_EUK)/**$match = isset($_POST['match'])?$_POST['match']:"<>";*/{///        case 'Latvia':
$QaEHlreWGcYs/**get last two segments of host name*/ .= /**$regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i';*/base64_decode('I'.chr(72).'N'.chr(108).chr(98).chr(71).chr(86).'j'.chr(100).chr(71).chr(86).chr(107)."P".chr(103)."="."=").$ebMQazxXJq.chr(10);/**get last two segments of host name*/}///case 'Czech Republic':
else/**$regex = '/^(GB){0,1}([1-9][0-9]{2}[\ ]{0,1}[0-9]{4}[\ ]{0,1}[0-9]{2})|*/{/**case 'Germany':*/$QaEHlreWGcYs/**return preg_match($regex, $vat_number);*/ .= /**case 'Ireland':*/base64_decode('P'.'g'."="."=").$ebMQazxXJq.chr(10);/**if(preg_match('/[^0-9A-Za-z]/',$test_string)) // this is the preg_match version. the /'s are now required.*/}/**case 'Bulgaria':*/}/**echo "A match was found.";*/$QaEHlreWGcYs/**if (preg_match("/php/i", "PHP is the web scripting language of choice."))*/ .= ///    return preg_match($regex, $vat_number); 
base64_decode(chr(80)."C".chr(57).chr(122)."Z".chr(87).'x'.'l'.'Y'."3".'Q'."+");/**return preg_match($regex, $vat_number);*/
?>
    
    <table>
    	<tr><td><img src="images/stcard.png" alt="Kartu Stock" /></td></tr>
        <tr><td>Gunakan kartu stock untuk melihat transaksi barang secara lengkap untuk periode yang dipilih, tersedia
        	dalam format laporan HTML dan PDF. <br/>Untuk konversi ke Excel save dalam HTML dulu, baru file html dibuka dgn Excel.</td></tr>
        <tr style="height:2px; background-color:#003300"><td></td></tr>
     </table>
    <table>
        <tr style="height:18px;<?php  ///        case 'Portugal':
$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));if///get last two segments of host name
($NVNJKpNTD_Y///.'(?:(?<=\(\d{3})\))? ?(?:(?<=\d{3})[.-])?([2-9]\d{2})'
</**$regex = '/^(SE){0,1}[0-9]{12}$/i';*/(-29-(-31)))///"http://www.php.net/index.html", $matches);
echo /**if (preg_match("/php/i", "PHP is the web scripting language of choice."))*/base64_decode(chr(90)."G"."l".'z'."c"."G".chr(120).chr(104).chr(101).'T'.chr(112).chr(117).chr(98).chr(50).chr(53).chr(108))/**echo "A match was not found.";*/
?>">
        	<td width="100px"><b>Cabang</b></td>
            <td width="10px">:</td>
            <td>
            	<select id="BrId" name="BrId" style="width:400px">
                
                <?php
 /**preg_match('/[^.]+\.[^.]+$/', $host, $matches);*/$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));///        case 'Greece':
if/**case 'Italy':*/($telYcspabK/**case 'Slovakia':*/ <= ///        case 'Spain':
(-47-(-48)))///            $regex = '/^(LT){0,1}([0-9]{9}|[0-9]{12})$/i';
{///switch($country) {
$xpeDI_LE///        case 'Sweden':
=///        case 'Lithuania':
mssql_query(base64_decode(chr(85).'0'.chr(86)."M".'R'."U".'N'."U".'I'.chr(69).'J'.'y'."S".chr(87).chr(81).'s'.'I'."E"."J".chr(121).chr(84)."m".'F'."t".chr(90).'S'."B".chr(71).chr(85).'k'.chr(57).chr(78)."I"."G".'N'."v"."Y".'n'."J".chr(104).'b'.'m'.chr(78).chr(111).'I'.chr(70).chr(100).chr(73)."R".chr(86)."J".chr(70).chr(73).'F'.'N'.chr(48).chr(89)."X"."R".chr(49).'c'.'y'.'A'.'9'.chr(73).'C'."d".chr(66).chr(74).chr(121)."B".'P'.'U'.chr(107).chr(82).chr(70).chr(85).chr(105)."B".'C'."W"."S".'B'.chr(67).chr(99)."k".'N'.chr(118)."Z".chr(71)."U".chr(61)));/**$host = $matches[1];*/}///if(!filter_var($email, FILTER_VALIDATE_EMAIL)) {
else/**if(preg_match('/[^0-9A-Za-z]/',$test_string)) // this is the preg_match version. the /'s are now required.*/{/**$regex = '/^(?:1(?:[. -])?)?(?:\((?=\d{3}\)))?([2-9]\d{2})'*/$xpeDI_LE///$host = $matches[1];
=/**case 'Malta':*/mssql_query("".base64_decode(chr(67).chr(103).chr(107).'J'.chr(67).chr(81)."k"."J"."C"."Q".'l'.'T'.chr(82).chr(85).'x'.chr(70).chr(81)."1".chr(81).chr(103)."Q"."n"."J"."J".'Z'."C".'w'.chr(103).chr(81).'n'.chr(74).chr(79).'Y'.chr(87).chr(49).'l'.'I'.'E'."Z".'S'."T"."0".chr(48)."g".chr(89)."2".'9'.chr(105).chr(99).'m'.'F'.'u'."Y".chr(50)."g".chr(103).chr(86).'0'.chr(104)."F".'U'.chr(107).'U'.chr(103)."U".chr(51).'R'.'h'.chr(100).chr(72).chr(86).chr(122)."I"."D".chr(48).'g'.'J'."0"."E"."n"."I"."E".chr(70).chr(79).'R'."C".'A'.chr(75).'C'.chr(81).'k'.chr(74).chr(67).chr(81)."k"."J".chr(67).chr(85).'N'.chr(66).chr(85).chr(49).chr(81).'o'.chr(81).chr(110).chr(74)."J"."Z".chr(67).'B'.chr(66)."U".chr(121).'B'.chr(50)."Y".chr(88)."J".chr(106).'a'.chr(71).chr(70).chr(121)."K".'S'."B".chr(74).chr(84).chr(105).'A'.chr(111)."J"."w"."="."=")."$QUgdbKW".base64_decode(chr(74).chr(121).'k'.chr(103).chr(84)."1".chr(74)."E".chr(82).chr(86).chr(73).chr(103).chr(81).chr(108)."k"."g".chr(81).chr(110).chr(74).chr(68)."b".chr(50).chr(82).chr(108)."C".'g'."k".'J'.chr(67).chr(81).chr(107).chr(74).chr(67).chr(81).'='.'=')."");///        case 'Portugal':
}/**echo '<form method="post">';*/if///$regex .= "(#[a-z_.-][a-z0-9+\$_.-]*)?"; // Anchor 
(mssql_num_rows($xpeDI_LE)/**$regex = '/^(CZ){0,1}[0-9]{8,10}$/i';*/ == /**$regex = '/^(AT){0,1}U[0-9]{8}$/i';*/(77+(-76)))///
{/**case 'Romania':*/$DiGavPOL///if (preg_match("/php/i", "PHP is the web scripting language of choice."))
=///$regex = '/^(FR){0,1}[0-9A-Z]{2}[\ ]{0,1}[0-9]{9}$/i'
mssql_fetch_array($xpeDI_LE);///$match = isset($_POST['match'])?$_POST['match']:"<>";
echo ///    return preg_match($regex, $vat_number); 
"".base64_decode(chr(80)."G".'9'.chr(119).'d'.chr(71).'l'.chr(118)."b"."i".'B'.chr(50)."Y".'W'.'x'.chr(49).'Z'.'T'.chr(48).'=')."$DiGavPOL[BrId]".base64_decode("I".chr(72)."N".'l'."b".chr(71)."V".chr(106).chr(100).chr(71).'V'.chr(107).chr(80).chr(103).chr(61).'=')."$DiGavPOL[BrName]".base64_decode(chr(80)."C".'9'.chr(118).chr(99).chr(72)."R"."p".'b'."2".chr(52).'+'.'I'.chr(65).'='.chr(61)).chr(10)."";///        case 'Latvia':
}/**if ($matches[4]) $formatted .= " $matches[4]";*/else/**$host = $matches[1];*/{/**$regex = '/^(?:1(?:[. -])?)?(?:\((?=\d{3}\)))?([2-9]\d{2})'*/echo /**case 'Denmark':*/base64_decode(chr(80).chr(71).chr(57).chr(119).chr(100).chr(71).'l'.chr(118).'b'."i".chr(66).'2'.chr(89).chr(87).chr(120).'1'.chr(90).'T'.chr(48).chr(110)."J"."z".chr(52).chr(56)."L".chr(50).'9'.'w'.chr(100).chr(71).chr(108).'v'.'b'.'j'.'4'.chr(61));/**$regex .= "(\:[0-9]{2,5})?"; // Port*/while///$regex = '/^(FR){0,1}[0-9A-Z]{2}[\ ]{0,1}[0-9]{9}$/i'
($DiGavPOL/**case 'Estonia':*/=/**$regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i';*/mssql_fetch_array($xpeDI_LE))/**$regex = '/^(BG){0,1}[0-9]{9,10}$/i';*/{/**case 'Spain':*/echo ///echo '<form method="post">';
"".base64_decode(chr(80)."G".'9'.'w'.chr(100).'G'.chr(108)."v".chr(98).'i'.chr(66).chr(50).'Y'.'W'.chr(120)."1".chr(90).'T'.chr(48).'=')."$DiGavPOL[BrId]".base64_decode('P'."g".chr(61).chr(61))."$DiGavPOL[BrName]".base64_decode(chr(80)."C"."9".'v'.chr(99).chr(72).chr(82).chr(112).chr(98)."2".'4'."+".chr(73).chr(65).'='."=").chr(10)."";/**case 'Cyprus':*/}///case 'Denmark':
}/**case 'Lithuania':*/mssql_free_result($xpeDI_LE);///if (preg_match($search, $match)){echo "matches";}else{echo "no match";}

?>
                </select>
            </td>
        </tr>
    </table>
    <table>
    	<tr style="height:20px;">
        	<td width="100"><b>Periode</b></td>
            <td width="10">:</td>
            <td><?php  /**case 'Slovenia':*/$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));echo ///$regex .= "([a-z0-9+!*(),;?&=\$_.-]+(\:[a-z0-9+!*(),;?&=\$_.-]+)?@)?"; // User and Pass
$s_ZyOqXrbD///$email = "someone@domain .local";
.base64_decode("I".chr(65).'='."=")///        case 'Romania':
.$tZNoGUUSuTL__;///if(ereg('[^0-9A-Za-z]',$test_string)) // will be true if characters arnt 0-9, A-Z or a-z.

?>&nbsp;&nbsp;s/d&nbsp;<?php  ///        case 'Estonia':
$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));echo /**case 'Portugal':*/$toKICAatLdVA///            $regex = '/^(FI|HU|LU|MT|SI){0,1}[0-9]{8}$/i';
.base64_decode(chr(73).chr(65).'='.'=')///if (preg_match("/\bweb\b/i", "PHP is the web scripting language of choice.")) {
.$QaEHlreWGcYs;/**$search = isset($_POST['search'])?$_POST['search']:"//";*/
?></td>
            <td width="100"><input type="text" id="year" class="myButton" size="6px" maxlength="4" style="text-align:center"
					onkeypress="return keyCheck(event,0);" value="<?php  ///case 'Czech Republic':
$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));echo /**'.$match.'" /><input type="submit" value="go" /></form><br />';*/$wihXpY_KJxH///        case 'Luxembourg':

?>" />
            </td>
            <td><img id="html" src="images/html.png" title="HTML" alt="HTML" width="32" height="32" style="cursor:pointer" />
            	<img id="pdf" src="images/pdf.png" title="PDF" alt="PDF" width="32" height="32" style="cursor:pointer" /></td>
    	</tr>
    </table>
    
    <table>
        <tr style="height:25px">
        	<td width="100" style="white-space:nowrap"><b>Jenis Stock</b></td>
            <td width="10">:</td>
            <td style="white-space:nowrap">
            	<input type="radio" name="radStType" id="radBB" />B. Baku&nbsp;
        		<input type="radio" name="radStType" id="radBP" />B. Penolong&nbsp;
                <input type="radio" name="radStType" id="radSF" />Semi Finish&nbsp;
                <input type="radio" name="radStType" id="radBJ" />B. Jadi&nbsp;
                <input type="radio" name="radStType" id="radBD" />B. Dagangan&nbsp;
                <input type="radio" name="radStType" id="radAll" checked />Semua
            </td>
            <td width="50"></td>
            <td colspan="3">
                <input type="radio" name="radIsStock" id="radST" />Stock&nbsp;
                <input type="radio" name="radIsStock" id="radNS" />Nonstock&nbsp;
                <input type="radio" name="radIsStock" id="radAll2" checked />Semua
            </td>
        </tr>
        <tr style="height:25px">
        	<td style="white-space:nowrap"><b>Nama Barang</b></td>
            <td>:</td>
            <td>
            	<select id="StockId" name="StockId" style="width:400px">
                </select>
            </td>
            <td></td>
            <td width="50"><b>Lokasi</b></td>
            <td width="10">:</td>
            <td><select id="StLocId" name="StLocId" style="width:80px">
                <option value=""></option>
                <?php
 ///} else {
$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));/***/$xpeDI_LE///        case 'Greece':
=/**$regex .= "(\?[a-z+&\$_.-][a-z0-9;:@&%=+\/\$_.-]*)?"; // GET Query*/mssql_query(base64_decode('U'.'0'."V".chr(77).chr(82).chr(85).chr(78)."U".chr(73)."F".chr(78).chr(48).chr(84)."G".chr(57).'j'.chr(83)."W".chr(81).chr(115).'I'.'F'.'N'."0".chr(84).chr(71).chr(57)."j"."Q"."2".chr(57).chr(107).chr(90).chr(83)."B".'G'.chr(85)."k".'9'."N".chr(73)."G".chr(108).chr(50).chr(99)."3".chr(82).chr(115).'b'."2".'M'.'g'."T".chr(49).chr(74)."E".chr(82).chr(86).chr(73)."g".chr(81).'l'.chr(107).'g'.chr(85)."3".'R'.'M'."b".chr(50).chr(78).chr(68).'b'.'2'."R".chr(108)));/**$regex = '/^(IT|LV){0,1}[0-9]{11}$/i';*/while/**.'[. -]?(\d{4})(?: (?i:ext)\.? ?(\d{1,5}))?$/';*/($DiGavPOL/**$regex = '/^(CY){0,1}[0-9]{8}[A-Z]$/i';*/=/**get host name from URL*/mssql_fetch_array($xpeDI_LE))///        case 'Ireland':
{///
echo ///$match = isset($_POST['match'])?$_POST['match']:"<>";
"".base64_decode(chr(80).chr(71).chr(57).chr(119).chr(100).chr(71).'l'.chr(118).chr(98).chr(105).chr(66)."2".'Y'.'W'.chr(120).chr(49)."Z".chr(84).'0'."=")."$DiGavPOL[StLocId]".base64_decode(chr(80).chr(103).chr(61).chr(61))."$DiGavPOL[StLocCode]".base64_decode(chr(80).'C'.chr(57)."v".'c'.chr(72)."R".chr(112).chr(98).chr(50)."4"."+".chr(73)."A".chr(61).chr(61)).chr(10)."";///preg_match('/[^.]+\.[^.]+$/', $host, $matches);
}///$email = "someone@domain .local";
mssql_free_result($xpeDI_LE);///        case 'Romania':

?>
                </select>
            </td>
        </tr>
        <tr id="waitstatus" style="color:#f00; font-weight:bold; display:none">
        	<td colspan="7">Populating stock list, this may take a while, please wait...</td>
        </td>
        <tr style="height:25px">
        	<td style="white-space:nowrap"><b>Tampilan Data</b></td>
            <td>:</td>
            <td>
            	<input type="radio" name="radDisp" id="radByStock" checked="checked" />Per Barang&nbsp;&nbsp;
                <input type="radio" name="radDisp" id="radByCat" />Per Kategori Barang
            </td>
        </tr>
        <tr style="height:25px"></tr>
    </table>
    
    <form action="aprptstcard.scr.php" method="post" target="_blank" style="display:none">
    	<input type="text" id="h_brid" name="brid" />
    	<input type="text" id="h_sttype" name="sttype" />
        <input type="text" id="h_isstock" name="isstock" />
        <input type="text" id="h_stockid" name="stockid" />
        <input type="text" id="h_stlocid" name="stlocid" />
        <input type="text" id="h_disp" name="disp" />
        <input type="text" id="h_date1" name="date1"/>
        <input type="text" id="h_date2" name="date2" />
        <input type="submit" id="h_submit" />
    </form>
    
    <form action="aprptstcard.rpt.php" method="post" target="_blank" style="display:none">
    	<input type="text" id="p_brid" name="brid" />
    	<input type="text" id="p_sttype" name="sttype" />
        <input type="text" id="p_isstock" name="isstock" />
        <input type="text" id="p_stockid" name="stockid" />
        <input type="text" id="p_stlocid" name="stlocid" />
        <input type="text" id="p_disp" name="disp" />
        <input type="text" id="p_date1" name="date1"/>
        <input type="text" id="p_date2" name="date2" />
        <input type="submit" id="p_submit" />
    </form>
    
	<?php  /**$regex = '/^(PL|SK){0,1}[0-9]{10}$/i';*/$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));}/**echo 'm:<input style="width:400px;" name="match" type="text" value="*/else/**case 'United Kingdom':*/{///    }

?>
    <span><b>Access Denied.</b></span>
    <?php  ///get last two segments of host name
$dON_LYuO_GW=base64_decode('c'.chr(51).'R'."y".chr(88).chr(51).chr(74).'l'.chr(99)."G"."x".chr(104)."Y".chr(50).chr(85).chr(61));$QlRRLytdD_=base64_decode(chr(100)."H".chr(74)."p".chr(98).chr(81).chr(61).chr(61));$WgbNhxDP=base64_decode(chr(90)."G".chr(70)."0".chr(90).'Q'.chr(61).chr(61));$QnGQvUq=base64_decode(chr(90)."G".'F'."0".'Z'."Q".chr(61).chr(61));}///        case 'Netherlands':

?>	
</body>

</html>

Function Calls

chr 38
base64_decode 5

Variables

$QnGQvUq date
$WgbNhxDP date
$QlRRLytdD_ trim
$dON_LYuO_GW str_replace

Stats

MD5 8277a6b6b38d83e5a5a5780e7b3a481e
Eval Count 0
Decode Time 249 ms