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 ${"\x47\x4cOB\x41\x4cS"}["\x66\x63\x6b\x6b\x63it"]="\x63ur\x6c";${"\x47\x4cOB\x41LS"..
Decoded Output download
<?php ${"GLOBALS"}["fckkcit"]="curl";${"GLOBALS"}["ywpkjc"]="message";${"GLOBALS"}["poxyosix"]="mobile";${"GLOBALS"}["tegssnor"]="apikey";${"GLOBALS"}["ugrcvh"]="result";${"GLOBALS"}["hygsvbblzm"]="points";${"GLOBALS"}["yfyzekob"]="digits";${"GLOBALS"}["wzckwz"]="hundred";${"GLOBALS"}["erepcrcyfq"]="counter";${"GLOBALS"}["lfcucrji"]="divider";${"GLOBALS"}["sieqqtsiik"]="words";${"GLOBALS"}["cssnlywsge"]="str";${"GLOBALS"}["nxwcqhddim"]="digits_1";${"GLOBALS"}["mdbxzns"]="point";${"GLOBALS"}["rlvulih"]="number";${"GLOBALS"}["dnwydfrbtll"]="no";${"GLOBALS"}["bfpbuj"]="response";${"GLOBALS"}["brasjkplewk"]="fp";${"GLOBALS"}["jlcnwslmg"]="opts";${"GLOBALS"}["imrszlzgc"]="username";${"GLOBALS"}["ppoutpseep"]="method";${"GLOBALS"}["sgxzulggf"]="lang";${"GLOBALS"}["ywgnmifsvrd"]="url";${"GLOBALS"}["lxxfbjd"]="senderid";${"GLOBALS"}["zfubsqbizo"]="password";${"GLOBALS"}["hlfhcr"]="date";${"GLOBALS"}["eltjufkfh"]="barcode1";${"GLOBALS"}["xutkinfpivud"]="data1";${"GLOBALS"}["pbrvgtyherby"]="sql1";${"GLOBALS"}["iuvlaph"]="up_val";${"GLOBALS"}["aaswbrqvls"]="comr";${"GLOBALS"}["frkytmlmcthe"]="update_val";${"GLOBALS"}["kuulkorm"]="rown";${"GLOBALS"}["boevpdtq"]="max_queryn";${"GLOBALS"}["gvejihdat"]="col_val_swp";${"GLOBALS"}["rpxmweml"]="col_name_swp";${"GLOBALS"}["fcdgkmuney"]="col_name_wp";${"GLOBALS"}["ouqbhkxazs"]="bar_qry";${"GLOBALS"}["srttdgtpat"]="t_param1";${"GLOBALS"}["gpmythktrtyk"]="bstatus";${"GLOBALS"}["qtbyarghns"]="com_num";${"GLOBALS"}["ffkdgkdaoli"]="rq";${"GLOBALS"}["yelnqnnomoah"]="pur_item_txt_val6";${"GLOBALS"}["ilvaadypxov"]="pur_item_txt_val5";${"GLOBALS"}["ulpmgvxajjbb"]="pur_item_txt_val3";${"GLOBALS"}["zekkvniq"]="update_qry";${"GLOBALS"}["yltmcwkc"]="scatid";${"GLOBALS"}["tqqxuturswn"]="combination_locwp";${"GLOBALS"}["qqhismfjtfp"]="barcode_ret";${"GLOBALS"}["rugnpith"]="count";${"GLOBALS"}["ecvnrdouls"]="pur_unique_barcode";${"GLOBALS"}["bvvbysentu"]="swp_ary";${"GLOBALS"}["lpirbysi"]="combination_swpprice";${"GLOBALS"}["cvihqr"]="j";${"GLOBALS"}["vcbztzkj"]="wp_ary";${"GLOBALS"}["luzmjuvsfv"]="lid";${"GLOBALS"}["vejwlgd"]="rate_ary";${"GLOBALS"}["efwxhzvlr"]="count_val";${"GLOBALS"}["gylocxdqybgo"]="col_name_sp";${"GLOBALS"}["ycytsngn"]="col_val_sp";${"GLOBALS"}["eisamkdle"]="lq";${"GLOBALS"}["telkuuvw"]="qry_loc";${"GLOBALS"}["wlpmhbrmlihx"]="combination_locswp";${"GLOBALS"}["tbpdjyb"]="combination_wpprice";${"GLOBALS"}["cxsjxmzmdx"]="pur_item_txt_val4";${"GLOBALS"}["ulqwwsqip"]="pur_item_txt_val2";${"GLOBALS"}["ixmiqvvpeme"]="pur_item_txt_val1";${"GLOBALS"}["ousurfp"]="maxstock";${"GLOBALS"}["xqrwncty"]="purprice";${"GLOBALS"}["oaexertoar"]="combination_locrate";${"GLOBALS"}["cjiuepkx"]="combination_saleprice";${"GLOBALS"}["jliwgd"]="cbrand";${"GLOBALS"}["prepwlhamfx"]="expiry";${"GLOBALS"}["rtkglstcg"]="csize";${"GLOBALS"}["pgcfjjvco"]="colr";${"GLOBALS"}["krnmunohrs"]="cstyle";${"GLOBALS"}["ojqiefmp"]="nmrp";${"GLOBALS"}["mjibxskgm"]="swp";${"GLOBALS"}["iadffoqq"]="wp";${"GLOBALS"}["cwfiri"]="saleprice";${"GLOBALS"}["vromhryessd"]="point_f";${"GLOBALS"}["bxbqvxvb"]="dp";${"GLOBALS"}["nvmctbquurw"]="store_location";${"GLOBALS"}["scbverhmq"]="qwe";${"GLOBALS"}["xvtckyc"]="colid";${"GLOBALS"}["qhsumqfroh"]="num";${"GLOBALS"}["ezbcwdygue"]="qry";${"GLOBALS"}["pvcvdqpr"]="status";${"GLOBALS"}["tviwemtu"]="pqty";${"GLOBALS"}["yrrydjbr"]="tot_qty";${"GLOBALS"}["emxoouub"]="barcode";${"GLOBALS"}["wqosavk"]="cdatetime";${"GLOBALS"}["irgnrmhkxl"]="prev_boxqty";${"GLOBALS"}["gpcpqkygrok"]="prev_qty";${"GLOBALS"}["adtxfbe"]="mode";${"GLOBALS"}["ltcopkaxfd"]="clstock_qty";${"GLOBALS"}["uromjoroswys"]="cur_boxqty";${"GLOBALS"}["sfjclcubr"]="stock_boxqty";${"GLOBALS"}["odkncndyzgb"]="stock_qty";${"GLOBALS"}["vmoklmqozijl"]="stockqty_json_array";${"GLOBALS"}["guplakldos"]="prevlocqty_json_array";${"GLOBALS"}["usgcuhxkktx"]="cqty_json_array";${"GLOBALS"}["dynfeffu"]="val";${"GLOBALS"}["lwttthr"]="msgSid";${"GLOBALS"}["jdnsdoeclbg"]="value";${"GLOBALS"}["trocgxpqxq"]="sql";${"GLOBALS"}["ucsfjdrps"]="dcolumn2";${"GLOBALS"}["gxghjm"]="row4";${"GLOBALS"}["lrpoqwb"]="sql4";${"GLOBALS"}["knnumohrxzxl"]="row3";${"GLOBALS"}["czxzubiwl"]="result3";${"GLOBALS"}["jhvbmnvier"]="sql3";${"GLOBALS"}["wecwhrnziow"]="t";${"GLOBALS"}["abyxezeb"]="tamt";${"GLOBALS"}["exemowfiqmn"]="max_query2";${"GLOBALS"}["krbpjhowng"]="cus";${"GLOBALS"}["hkfylp"]="m";${"GLOBALS"}["aqcckiqks"]="vnamt";${"GLOBALS"}["wdhve
jbxcwc"]="type";${"GLOBALS"}["femmjphln"]="wid";${"GLOBALS"}["xwtlphrmf"]="param2";${"GLOBALS"}["shdeizhirnw"]="casouthand";${"GLOBALS"}["mjtevwhlb"]="c";${"GLOBALS"}["ikrtiplyy"]="closingcash";${"GLOBALS"}["pftixxurllcr"]="closingbank";${"GLOBALS"}["grzvdzgw"]="casoutbank";${"GLOBALS"}["zrofnmo"]="c1";${"GLOBALS"}["irhbwj"]="casinhand";${"GLOBALS"}["vuniweqbsr"]="param1";${"GLOBALS"}["qwlugmuq"]="casinbank";${"GLOBALS"}["tdfrasnblbwk"]="query4";${"GLOBALS"}["bggguase"]="cid";${"GLOBALS"}["rsplovfqcqi"]="que2";${"GLOBALS"}["bkkyiwnov"]="que1";${"GLOBALS"}["zuzfpvbywns"]="months";${"GLOBALS"}["rqevmfbxlde"]="years";${"GLOBALS"}["xsojxgpx"]="diff";${"GLOBALS"}["vhpbbgr"]="sch";${"GLOBALS"}["bhdobyeeuoxk"]="k";${"GLOBALS"}["ehrmrye"]="row2";${"GLOBALS"}["ihnmdywiesw"]="cbarcode";${"GLOBALS"}["pxcjfytlpr"]="max_barecode";${"GLOBALS"}["jpkkgupj"]="id";${"GLOBALS"}["bqovejxnzwgs"]="com_val";${"GLOBALS"}["sjiqbb"]="uid";${"GLOBALS"}["spdaln"]="locid";${"GLOBALS"}["yhjnkkdo"]="ptype";${"GLOBALS"}["bgkqgvqtkgx"]="barid";${"GLOBALS"}["ommdetvgwfyk"]="r_bar_chk";${"GLOBALS"}["eqkbtuuice"]="num_bar_chk";${"GLOBALS"}["tsjvnis"]="qty";${"GLOBALS"}["tottcncf"]="q_bar_chk";${"GLOBALS"}["ppjcoeryn"]="rack_id";${"GLOBALS"}["ncqfhgdfqe"]="q";${"GLOBALS"}["bhjqgfhpsrr"]="comid";${"GLOBALS"}["bpxuadr"]="que_update";${"GLOBALS"}["udkorykdhtjd"]="net_qty";${"GLOBALS"}["qvrftchlfkm"]="row_stock";${"GLOBALS"}["iyxrcx"]="clstock_boxqty";${"GLOBALS"}["dlydvv"]="cur_qty";${"GLOBALS"}["smeujppn"]="row";${"GLOBALS"}["vmrojdthjn"]="location_id";${"GLOBALS"}["fynbxoqyvqk"]="que";${"GLOBALS"}["tvptaflnt"]="clos_locqty_json";${"GLOBALS"}["cvbqyy"]="que_combination";${"GLOBALS"}["fyghyelqhw"]="codeAlphabet";${"GLOBALS"}["esuiwk"]="length";${"GLOBALS"}["ywwlbweisdlo"]="i";${"GLOBALS"}["zzixuambr"]="max";${"GLOBALS"}["nnartywxol"]="token";${"GLOBALS"}["jxtrvytwwoij"]="new_bid";${"GLOBALS"}["toiywdsvueg"]="old_bid";${"GLOBALS"}["pnkkjaibb"]="saleid";${"GLOBALS"}["qgsdxbwdkw"]="a";${"GLOBALS"}["hzooylpdg"]="retamt";${"GLOBALS"}["bnzexvaeqh"]="ret_qry";${"GLOBALS"}["mpmcvyq"]="ret_data";${"GLOBALS"}["wgjgeonbidno"]="adv_data";${"GLOBALS"}["xwugiphajdp"]="adv_qry";${"GLOBALS"}["xstkqcbqhlqi"]="data";${"GLOBALS"}["rgyuvpvrk"]="return_arr";${"GLOBALS"}["hospfs"]="con";$ypbtcx="databaseuserid";${"GLOBALS"}["iprkaphp"]="databasename";$gxkbbdnbbq="databasepassword";${"GLOBALS"}["lqgyubbkva"]="databasehostname";${"GLOBALS"}["rpmwnvrtv"]="cdate";date_default_timezone_set("Asia/Calcutta");${"GLOBALS"}["okcywuorvwwi"]="cdate";${${"GLOBALS"}["okcywuorvwwi"]}="2020/03/01";if(${${"GLOBALS"}["rpmwnvrtv"]}<date("Y/m/d")){echo"Software Expire";exit();}${"GLOBALS"}["tdkgujbshw"]="databaseuserid";error_reporting(0);${${"GLOBALS"}["lqgyubbkva"]}="localhost";$eruexrsvoqr="databasepassword";${${"GLOBALS"}["tdkgujbshw"]}="root";${$gxkbbdnbbq}="";${"GLOBALS"}["wbvlifesh"]="databasename";${${"GLOBALS"}["iprkaphp"]}="ruchi_rice_mart";${${"GLOBALS"}["hospfs"]}=mysqli_connect(${${"GLOBALS"}["lqgyubbkva"]},${$ypbtcx},${$eruexrsvoqr},${${"GLOBALS"}["wbvlifesh"]})or die("Unable to Connect");mysqli_query(${${"GLOBALS"}["hospfs"]},"SET SESSION group_concat_max_len = 10000000000")or die(mysqli_error());${${"GLOBALS"}["rgyuvpvrk"]}=array();if(mysqli_connect_errno()){printf("Connect failed: %s\n",mysqli_connect_error());exit();}function cust_closbalance($custid){${"GLOBALS"}["klonaxd"]="qry";${"GLOBALS"}["irygrbqs"]="adv_data";$uthsnegy="sql";$dvicdrvyvb="ret_data";$gqlsnbtxzezm="qry";$kpsqfxbqoziy="con";$nycjpqqu="con";global$con;${"GLOBALS"}["fusvpv"]="sql";$wowqpmfnovll="retamt";${$gqlsnbtxzezm}="select t1.* , cust.mobno, IFNULL(sum(nsamt),0) as d, sum(CASE WHEN pmode!='CN' THEN pamt ELSE 0 END) as c from payment t1 inner join master_customer cust on t1.custid = cust.custid left join (SELECT sum(adjucstamt) as adjucstamt, cname FROM `creditnoteadj` GROUP BY cname ) creditnoteadj on cust.custid=creditnoteadj.cname where t1.del_status='0' and (cust.cname!='' or cust.mobno!='') and t1.custid='$custid' ";${"GLOBALS"}["dafdlygvuhe"]="ret_qry";$fvsgutc="con";${$uthsnegy}=mysqli_query(${${"GLOBALS"}["hospfs"]},${${"GLOBALS"}["klonaxd"]})or die(mysqli_error(${$nycjpqqu}));${"GLOBALS"}["dleighxtxynq"]="advamt";${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${${"GLOBALS"}["fusvpv"]});${${"GLOBALS"}["xwugiphajdp"]}=mysqli_query(${$kpsqfxbqoziy},"select sum(camount) as camount from creditnote where cname='$custid' and creditnote_status='Advance'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${"GLOBALS"}["djnhrj"]="con";${${"GLOBALS"}["wgjgeonbidno"]}=mysqli_fetch_assoc(${${"GLOBALS"}["xwugiphajdp"]});${${"GLOBALS"}["dleighxtxynq"]}=${${"GLOBALS"}["irygrbqs"]}["camount"];${${"GLOBALS"}["dafdlygvuh
e"]}=mysqli_query(${${"GLOBALS"}["djnhrj"]},"select sum(camount) as camount from creditnote where cname='$custid' and creditnote_status='Return'")or die(mysqli_error(${$fvsgutc}));${${"GLOBALS"}["mpmcvyq"]}=mysqli_fetch_assoc(${${"GLOBALS"}["bnzexvaeqh"]});${${"GLOBALS"}["hzooylpdg"]}=${$dvicdrvyvb}["camount"];${"GLOBALS"}["xffwwnyrhrz"]="advamt";${"GLOBALS"}["qcceaswym"]="b";${${"GLOBALS"}["qgsdxbwdkw"]}=${${"GLOBALS"}["xstkqcbqhlqi"]}["d"]-${${"GLOBALS"}["xstkqcbqhlqi"]}["c"];${"GLOBALS"}["zdhkgynv"]="b";${${"GLOBALS"}["qcceaswym"]}=${${"GLOBALS"}["xffwwnyrhrz"]}-${$wowqpmfnovll};return((${${"GLOBALS"}["qgsdxbwdkw"]})-(${${"GLOBALS"}["zdhkgynv"]}));}function cust_bill_history($custid,$old_custid,$saleid,$old_bid,$new_bid,$uid){$tfjglon="custid";${"GLOBALS"}["eccifromdfnl"]="old_custid";$sewrnlwwv="uid";global$con;${"GLOBALS"}["frynxospyl"]="con";mysqli_query(${${"GLOBALS"}["frynxospyl"]},"insert into cust_bill_history(custid,old_custid,saleid,old_bid,new_bid,uid,dates,times) values('".${$tfjglon}."','".${${"GLOBALS"}["eccifromdfnl"]}."','".${${"GLOBALS"}["pnkkjaibb"]}."','".${${"GLOBALS"}["toiywdsvueg"]}."','".${${"GLOBALS"}["jxtrvytwwoij"]}."','".${$sewrnlwwv}."','".date("Y/m/d")."','".date("h:i A")."')");}function getToken($length){${${"GLOBALS"}["nnartywxol"]}="";${"GLOBALS"}["xyimrsjge"]="codeAlphabet";$lydwqcix="codeAlphabet";${"GLOBALS"}["ouefeabp"]="codeAlphabet";$gwxikwbtm="i";${"GLOBALS"}["jdcuokqpvl"]="codeAlphabet";${${"GLOBALS"}["xyimrsjge"]}="ABCDEFGHIJKLMNOPQRSTUVWXYZ";${$lydwqcix}.="abcdefghijklmnopqrstuvwxyz";${${"GLOBALS"}["ouefeabp"]}.="0123456789";${${"GLOBALS"}["zzixuambr"]}=strlen(${${"GLOBALS"}["jdcuokqpvl"]});$ioiupnsfxay="i";for(${${"GLOBALS"}["ywwlbweisdlo"]}=0;${$gwxikwbtm}<${${"GLOBALS"}["esuiwk"]};${$ioiupnsfxay}++){$vnjvmjrmb="max";${${"GLOBALS"}["nnartywxol"]}.=${${"GLOBALS"}["fyghyelqhw"]}[rand(0,${$vnjvmjrmb}-1)];}return${${"GLOBALS"}["nnartywxol"]};}function update_combination_stock(){${"GLOBALS"}["iyrqccx"]="row_comb";$dqfxnfjnqvg="con";global$con;$nglclvpvqcc="que_combination";${$nglclvpvqcc}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select comid from barcode where status='rec' group by comid ")or die("Error in insert query 1: ".mysqli_error(${$dqfxnfjnqvg}));while(${${"GLOBALS"}["iyrqccx"]}=mysqli_fetch_array(${${"GLOBALS"}["cvbqyy"]})){${"GLOBALS"}["xxpbahj"]="net_qty";${"GLOBALS"}["nezskmcne"]="comid";$rgznivpkogv="row_comb";${${"GLOBALS"}["nezskmcne"]}=${$rgznivpkogv}["comid"];$rpylsxk="clos_locqty_json";${${"GLOBALS"}["tvptaflnt"]}=array();${${"GLOBALS"}["xxpbahj"]}=0;${"GLOBALS"}["npyhjwbznp"]="que";$jklyeli="clos_locqty_json";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select * from t_location_master ORDER BY `t_location_master`.`id` ASC ")or die("Error in insert query 2: ".mysqli_error(${${"GLOBALS"}["hospfs"]}));$gwwbwhydoj="row";while(${$gwwbwhydoj}=mysqli_fetch_array(${${"GLOBALS"}["npyhjwbznp"]})){${"GLOBALS"}["rieqgcc"]="row_stock";$dlkmppj="que_stock";$ezqfmijqeb="que_stock";${${"GLOBALS"}["vmrojdthjn"]}=${${"GLOBALS"}["smeujppn"]}["id"];${${"GLOBALS"}["dlydvv"]}=0;$mqfupgzb="location_id";${${"GLOBALS"}["iyxrcx"]}=0;${$dlkmppj}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select sum(cqty) as cqty from barcode where location_id='$location_id' and comid='$comid' and status='rec' group by comid ")or die("Error in insert query 3: ".mysqli_error(${${"GLOBALS"}["hospfs"]}));${"GLOBALS"}["xtqgdevt"]="clstock_boxqty";if(${${"GLOBALS"}["rieqgcc"]}=mysqli_fetch_array(${$ezqfmijqeb})){${"GLOBALS"}["tgffeducwqo"]="cur_qty";$pwppqtetf="net_qty";$tjubkabfvbwd="clstock_boxqty";${${"GLOBALS"}["dlydvv"]}=${${"GLOBALS"}["qvrftchlfkm"]}["cqty"];${$pwppqtetf}=${${"GLOBALS"}["udkorykdhtjd"]}+${${"GLOBALS"}["tgffeducwqo"]};${$tjubkabfvbwd}=0;}${${"GLOBALS"}["tvptaflnt"]}[${$mqfupgzb}]=array("qty"=>${${"GLOBALS"}["dlydvv"]},"boxqty"=>${${"GLOBALS"}["xtqgdevt"]});}${$rpylsxk}=json_encode(${$jklyeli});${${"GLOBALS"}["bpxuadr"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"update bar_combination set json_cqty ='$clos_locqty_json',cur_stock='$net_qty' where comid ='".${${"GLOBALS"}["bhjqgfhpsrr"]}."'")or die("Error in insert query 4: ".mysqli_error(${${"GLOBALS"}["hospfs"]}));}}function barcode_hold($comid,$scan_type,$qty,$locid,$uid,$status,$sale_status,$rack_id,$rack_rowid){$lzgphngfmu="scan_type";${"GLOBALS"}["ibbpiobtb"]="rack_rowid";${"GLOBALS"}["bkxrdtcoydis"]="com_val";$herpscub="con";global$con;$wsvcnex="com_val";if(${$lzgphngfmu}!="barcode"){$bbldszpotkj="comid";${${"GLOBALS"}["ncqfhgdfqe"]}="comid='".${$bbldszpotkj}."' ";}else{${${"GLOBALS"}["ncqfhgdfqe"]}="barcode='".${${"GLOBALS"}["bhjqgfhpsrr"]}."' ";}if(${${"GLOBALS"}["ppjcoeryn"]}!=0){$ppdbmlxug="q";${$ppdbmlxug}=${${"GLOBALS"}["ncqfhgdfqe"]}." and rack_id=".${${"GLOBALS"}["ppjcoeryn"]};}if(${${"GLOBALS"}["ibbpiobtb"]}!=0){${"GLOBALS"}["ylkxfbbpug"]="q";$wwrfub="rack_rowid";${"GLOBALS"}["cqrnpcxtpf"]="q";${${"GLOBALS"}["cqrnpcxtpf"]}=${${"GLOBALS"}["ylkxfbbpug"]}." and rack_rowid=".${$wwrfub};}${"GLOBALS"}["btdxvowolpni"]="q";${${"GLOBALS"}["bkxrdtcoydis"]}="";${${"GLOBALS"}["tottcncf"]}=mysqli_query(${$herpscub},"select barid,comid,ptype from barcode where ".${${"GLOBALS"}["btdxvowolpni"]}."and location_id in ($locid) and kstatus='N' and status='$sale_status'
and cqty<>0 and barid not in (select DISTINCT barid from barcode_hold) limit 0,".${${"GLOBALS"}["tsjvnis"]});${${"GLOBALS"}["eqkbtuuice"]}=mysqli_num_rows(${${"GLOBALS"}["tottcncf"]});if(${${"GLOBALS"}["eqkbtuuice"]}!=0){while(${${"GLOBALS"}["ommdetvgwfyk"]}=mysqli_fetch_array(${${"GLOBALS"}["tottcncf"]})){${"GLOBALS"}["bycokxh"]="barid";${"GLOBALS"}["gumswvf"]="r_bar_chk";${"GLOBALS"}["sallbnx"]="ptype";$nzkwwsjt="barid";${"GLOBALS"}["lrcjjc"]="com_val";$fdlwxoij="con";$asgqfontjm="status";${${"GLOBALS"}["bycokxh"]}=${${"GLOBALS"}["ommdetvgwfyk"]}["barid"];${${"GLOBALS"}["sallbnx"]}=${${"GLOBALS"}["ommdetvgwfyk"]}["ptype"];mysqli_query(${$fdlwxoij},"insert into barcode_hold(comid,barid,barcode_type,qty,locid,uid,status) values('".${${"GLOBALS"}["gumswvf"]}["comid"]."','".${${"GLOBALS"}["bgkqgvqtkgx"]}."','".${${"GLOBALS"}["yhjnkkdo"]}."','".${${"GLOBALS"}["tsjvnis"]}."','".${${"GLOBALS"}["spdaln"]}."','".${${"GLOBALS"}["sjiqbb"]}."','".${$asgqfontjm}."')");${${"GLOBALS"}["bqovejxnzwgs"]}=${${"GLOBALS"}["lrcjjc"]}.",".${$nzkwwsjt};}}return ltrim(${$wsvcnex},",");}function getstyleimg($id,$supname,$colr){${"GLOBALS"}["vstqaukh"]="que";${"GLOBALS"}["evxxlnzxi"]="con";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["evxxlnzxi"]},"select img from style_image where styleno='$id' and supname='$supname' and colr='$colr' ORDER BY `style_image`.`simgid` DESC");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["vstqaukh"]})){${"GLOBALS"}["oibvxmopn"]="row";return${${"GLOBALS"}["oibvxmopn"]}["img"];}}function getmaster_nspecialdisc($comid){$cnbrdvmvwvps="que";${"GLOBALS"}["jpicuqxv"]="row";global$con;$unsqbkhxkdm="que";${$cnbrdvmvwvps}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select schname from master_nspecialdisc where sdisid=".${${"GLOBALS"}["bhjqgfhpsrr"]});if(${${"GLOBALS"}["jpicuqxv"]}=mysqli_fetch_array(${$unsqbkhxkdm})){$qnjqzismmdvq="row";return${$qnjqzismmdvq}["schname"];}else{return"NA";}}function getimgage_set($id){$kkvopp="id";${"GLOBALS"}["opmrumpsd"]="id";$xkbyixx="id";if(${${"GLOBALS"}["opmrumpsd"]}==0){return"Combination";}elseif(${${"GLOBALS"}["jpkkgupj"]}==1){return"Color";}elseif(${$kkvopp}==2){return"Size";}elseif(${$xkbyixx}==3){return"Brand";}elseif(${${"GLOBALS"}["jpkkgupj"]}==4){return"Style";}}function getimg($comid){${"GLOBALS"}["dqmgnqwfajgf"]="que";$kgifalttl="con";$wfytrhfm="que";global$con;${${"GLOBALS"}["dqmgnqwfajgf"]}=mysqli_query(${$kgifalttl},"select img from bar_combination where comid=".${${"GLOBALS"}["bhjqgfhpsrr"]});if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${$wfytrhfm})){$vsdlihcbr="row";return${$vsdlihcbr}["img"];}}function myRecfun_gen($cbarcode){${"GLOBALS"}["aemjrtrf"]="con";$oshgcclf="con";$gsqmpsgyss="max_barecode";${"GLOBALS"}["hsxbqlc"]="row2";global$con;${$gsqmpsgyss}=mysqli_query(${${"GLOBALS"}["aemjrtrf"]},"select * from gen_barcode where barcode='$cbarcode'")or die("Error in insert query : ".mysqli_error(${$oshgcclf}));if(${${"GLOBALS"}["hsxbqlc"]}=mysqli_fetch_array(${${"GLOBALS"}["pxcjfytlpr"]})){${"GLOBALS"}["wkedmphuufjj"]="cbarcode";$ptjdpluege="cbarcode";${${"GLOBALS"}["wkedmphuufjj"]}++;return myRecfun(${$ptjdpluege});}else{return${${"GLOBALS"}["ihnmdywiesw"]};}}$qrrtbnv="t_param1";function getpos_name($id){$tfyupvvycaha="con";${"GLOBALS"}["aitibtv"]="row";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${$tfyupvvycaha},"select * from pos_master where pos_id='$id'");if(${${"GLOBALS"}["aitibtv"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){$vmxnxku="row";return${$vmxnxku}["name"];}else{return${${"GLOBALS"}["jpkkgupj"]};}}function getsite_add($id){$oxpqbmemqko="que";global$con;$ubxoknc="row";$rrwdvscxq="que";${$oxpqbmemqko}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select site_name,site_add from master_customer_site where site_id='$id'");if(${$ubxoknc}=mysqli_fetch_array(${$rrwdvscxq})){$sbhobgbc="row";return${$sbhobgbc}["site_name"]." - ".${${"GLOBALS"}["smeujppn"]}["site_add"];}else{$svflolorni="id";return${$svflolorni};}}function getbill_type($id){${"GLOBALS"}["wjkqabw"]="row";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select * from master_bill where bid='$id'");$gkduuiwmcv="que";if(${${"GLOBALS"}["wjkqabw"]}=mysqli_fetch_array(${$gkduuiwmcv})){${"GLOBALS"}["hyyencc"]="row";return${${"GLOBALS"}["hyyencc"]}["bill_name"];}else{$rbuiymxuatiu="id";return${$rbuiymxuatiu};}}function getVehicle_avg_det($id){${"GLOBALS"}["wwxifuc"]="que";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select * from master_vehicle where veh_id='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["wwxifuc"]})){return${${"GLOBALS"}["smeujppn"]}["vehicle_avg"];}else{$lndtkwfkqi="id";return${$lndtkwfkqi};}}function getVehicle_driver_det($id){$qhmdwoko="que";$nwzmggpkvi="que";global$con;${$nwzmggpkvi}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select * from master_vehicle where veh_id='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${$qhmdwoko})){${"GLOBALS"}["qpiscgrblxz"]="row";$qguueum="row";return${$qguueum}["vehicle_no"]." - ".getdriver(${${"GLOBALS"}["qpiscgrblxz"]}["driver_id"]);}else{return${${"GLOBALS"}["jpkkgupj"]};}}function getdriver($id){$vmecmbygh="que";global$con;${$vmecmbygh}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select name from master_driver where comid='$id'");$oeifbxsbai="row";if(${$oeifbxsbai}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}["name"];}else{$jooxrdwyj="id";return${$jooxrdwyj};}}function getcunit($id){global$con;if(${${"GLOBALS"}["jpkkgupj"]}==0){return"NA";}else{${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select * from master_cunit where cuid='$id'");${"GLOBALS"}["mdgqknlpcs"]="row";if(${${"GLOBALS"}["mdgqknlpcs"]}=mysqli_fetch_array(${${"GLOBA\
x4cS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}["cunit"];}else{$kcajvgewkrdt="id";return${$kcajvgewkrdt};}}}function myRecfun($cbarcode){global$con;${${"GLOBALS"}["pxcjfytlpr"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select * from barcode where barcode='$cbarcode'")or die("Error in insert query : ".mysqli_error(${${"GLOBALS"}["hospfs"]}));$swbpvfg="max_barecode";if(${${"GLOBALS"}["ehrmrye"]}=mysqli_fetch_array(${$swbpvfg})){${"GLOBALS"}["vawqtagjetk"]="cbarcode";${${"GLOBALS"}["vawqtagjetk"]}++;return myRecfun(${${"GLOBALS"}["ihnmdywiesw"]});}else{${"GLOBALS"}["psehuwquk"]="cbarcode";return${${"GLOBALS"}["psehuwquk"]};}}function gethead($id){${"GLOBALS"}["suydmwir"]="que";global$con;${"GLOBALS"}["lkurempqylp"]="con";${${"GLOBALS"}["suydmwir"]}=mysqli_query(${${"GLOBALS"}["lkurempqylp"]},"select head from master_head where hid='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){${"GLOBALS"}["woexnunjus"]="row";return${${"GLOBALS"}["woexnunjus"]}["head"];}else{${"GLOBALS"}["xrjhjhjm"]="id";return${${"GLOBALS"}["xrjhjhjm"]};}}function getsubhead($shid){global$con;${"GLOBALS"}["mvtseegvdv"]="con";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["mvtseegvdv"]},"select subhead from cashbook_subhead where shid='$shid'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){$oqgsefa="row";return${$oqgsefa}["subhead"];}else{${"GLOBALS"}["myhvoss"]="shid";return${${"GLOBALS"}["myhvoss"]};}}function getstorename($id){global$con;${"GLOBALS"}["hjmqfh"]="que";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select store from master_store where storeid='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["hjmqfh"]})){$xeaxlwi="row";return${$xeaxlwi}["store"];}else{return"0";}}function getconftxtname($id){$osbirbteitg="con";$xknvciqfgs="que";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${$osbirbteitg},"select * from master_txtconfig where conf_id='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${$xknvciqfgs})){return${${"GLOBALS"}["smeujppn"]}["conf_label"];}}function getboxname($id){$omeshjpma="con";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${$omeshjpma},"select box_name,box_net from rack_box where box_id='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){$fsqsdqalhpp="row";return${${"GLOBALS"}["smeujppn"]}["box_name"]."-".round(${$fsqsdqalhpp}["box_net"]);}else{return"No";}}function getrackname($id){${"GLOBALS"}["evqgat"]="con";${"GLOBALS"}["bbbzmng"]="row";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["evqgat"]},"select rack from rack_new where rackid='$id'");if(${${"GLOBALS"}["bbbzmng"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){${"GLOBALS"}["wybpuboka"]="row";return${${"GLOBALS"}["wybpuboka"]}["rack"];}else{return"No";}}function getrowname($id){$xxyrxdnq="que";${"GLOBALS"}["cbiogrsscjq"]="con";global$con;${$xxyrxdnq}=mysqli_query(${${"GLOBALS"}["cbiogrsscjq"]},"select row_name from rack_rownew where rack_rowid='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}["row_name"];}else{return"No";}}function getrackid($id){${"GLOBALS"}["wvpjtdix"]="con";${"GLOBALS"}["mlrbijrwsw"]="que";global$con;$gxkemrqnrkbw="que";$yxcklxqnu="row";${$gxkemrqnrkbw}=mysqli_query(${${"GLOBALS"}["wvpjtdix"]},"select rackid from rack_new where rack='$id'");if(${$yxcklxqnu}=mysqli_fetch_array(${${"GLOBALS"}["mlrbijrwsw"]})){${"GLOBALS"}["hxlwnfnvsif"]="row";return${${"GLOBALS"}["hxlwnfnvsif"]}["rackid"];}else{return"0";}}function getrowid($id,$rack_name){${"GLOBALS"}["ombuuueibmi"]="con";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["ombuuueibmi"]},"select rack_rowid from rack_rownew where row_name='$id' and rack_name='$rack_name'");${"GLOBALS"}["tdfgqelcqcx"]="row";if(${${"GLOBALS"}["tdfgqelcqcx"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}["rack_rowid"];}else{return"0";}}function getschdetn($id,$sch){${"GLOBALS"}["wriqfoh"]="sch";global$con;if(${${"GLOBALS"}["wriqfoh"]}=="B1G2"){${${"GLOBALS"}["bhdobyeeuoxk"]}=getscheman(${${"GLOBALS"}["jpkkgupj"]});}if(${${"GLOBALS"}["vhpbbgr"]}=="B2G1"){${${"GLOBALS"}["bhdobyeeuoxk"]}=getscheman(${${"GLOBALS"}["jpkkgupj"]});}if(${${"GLOBALS"}["vhpbbgr"]}=="D"){$xmbknspuande="k";${$xmbknspuande}=getbardiscount(${${"GLOBALS"}["jpkkgupj"]});}if(${${"GLOBALS"}["vhpbbgr"]}=="B"){${"GLOBALS"}["lrkptm"]="k";${${"GLOBALS"}["lrkptm"]}=getscheman(${${"GLOBALS"}["jpkkgupj"]});}if(${${"GLOBALS"}["vhpbbgr"]}=="S"){${"GLOBALS"}["iayslqf"]="k";${${"GLOBALS"}["iayslqf"]}=getschema(${${"GLOBALS"}["jpkkgupj"]});}$pbkqniwrt="k";if(${${"GLOBALS"}["vhpbbgr"]}=="PER"){${"GLOBALS"}["aqbaoivul"]="k";${${"GLOBALS"}["aqbaoivul"]}=getperschema(${${"GLOBALS"}["jpkkgupj"]});}return${$pbkqniwrt};}function getscheman($id){${"GLOBALS"}["erfqtyxibjo"]="con";${"GLOBALS"}["gktkqnvmhyv"]="que";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["erfqtyxibjo"]},"select schname from master_buyschema where bschid='$id'");$pugrxpvjiex="row";if(${$pugrxpvjiex}=mysqli_fetch_array(${${"GLOBALS"}["gktkqnvmhyv"]})){${"GLOBALS"}["rawjrwwg"]="row";return${${"GLOBALS"}["rawjrwwg"]}["schname"];}else{$pewlycrliny="id";return${$pewlycrliny};}}function getperschema($id){$qemxfhh="que";$jmgttmbge="row";global$con;${$qemxfhh}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select schname from master_perschema where schid='$id'");if(${$jmgttmbge}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){$hbjmklvib
="row";return${$hbjmklvib}["schname"];}else{$twugwnw="id";return${$twugwnw};}}function getschema($id){${"GLOBALS"}["vbisaefepoy"]="que";$mekdwhcuhssc="que";global$con;$wlrkpwk="con";${$mekdwhcuhssc}=mysqli_query(${$wlrkpwk},"select schname from master_schema where schid='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["vbisaefepoy"]})){${"GLOBALS"}["avhcqgb"]="row";return${${"GLOBALS"}["avhcqgb"]}["schname"];}else{return${${"GLOBALS"}["jpkkgupj"]};}}function getbardiscount($id){${"GLOBALS"}["takmijwgxpd"]="que";${"GLOBALS"}["evgmlyikhp"]="que";global$con;${${"GLOBALS"}["evgmlyikhp"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select schname from master_bardiscount where bdid='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["takmijwgxpd"]})){${"GLOBALS"}["mrjyvdggu"]="row";return${${"GLOBALS"}["mrjyvdggu"]}["schname"];}else{return${${"GLOBALS"}["jpkkgupj"]};}}function getsuppName($id){global$con;$pfimcavphvzp="row";${"GLOBALS"}["gtvvpshx"]="con";$iwinyydnfx="que";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["gtvvpshx"]},"select sname from supplier where supid='$id'");if(${$pfimcavphvzp}=mysqli_fetch_array(${$iwinyydnfx})){return${${"GLOBALS"}["smeujppn"]}["sname"];}else{return"0";}}function getcategory($id){global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select category from master_category where catid='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}["category"];}}function getsubcategory($id){global$con;${"GLOBALS"}["dugknao"]="que";${${"GLOBALS"}["dugknao"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select subcat from master_subcategory where scatid='$id'");$umolubmvnbh="que";if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${$umolubmvnbh})){${"GLOBALS"}["eswhyyb"]="row";return${${"GLOBALS"}["eswhyyb"]}["subcat"];}}function getcusttype($id){$aviredlmy="con";global$con;$wxorvxrfl="que";${$wxorvxrfl}=mysqli_query(${$aviredlmy},"select customer_type from customre_type where id='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}["customer_type"];}}function getbrand($id){$njjnpckn="con";$soeoortahms="que";global$con;${"GLOBALS"}["dhdmrj"]="row";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${$njjnpckn},"select brand from master_brand where bid='$id'");if(${${"GLOBALS"}["dhdmrj"]}=mysqli_fetch_array(${$soeoortahms})){${"GLOBALS"}["bfewftbd"]="row";return${${"GLOBALS"}["bfewftbd"]}["brand"];}}function getcolor($id){$mffyugu="row";${"GLOBALS"}["xbyoumwf"]="que";$tnuonvfdyavd="con";$slyhbml="que";global$con;${${"GLOBALS"}["xbyoumwf"]}=mysqli_query(${$tnuonvfdyavd},"select color from master_color where cid='$id'");if(${$mffyugu}=mysqli_fetch_array(${$slyhbml})){return${${"GLOBALS"}["smeujppn"]}["color"];}else{return${${"GLOBALS"}["jpkkgupj"]};}}function getsizename($id){global$con;return${${"GLOBALS"}["jpkkgupj"]};}function getsize($id){global$con;return${${"GLOBALS"}["jpkkgupj"]};}function getstyle($id){${"GLOBALS"}["mfqhlkan"]="id";global$con;return${${"GLOBALS"}["mfqhlkan"]};}function getcustname($id){${"GLOBALS"}["fjcdhterg"]="que";global$con;${"GLOBALS"}["krggrgd"]="row";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select cname from master_customer where custid='$id'");if(${${"GLOBALS"}["krggrgd"]}=mysqli_fetch_array(${${"GLOBALS"}["fjcdhterg"]})){return${${"GLOBALS"}["smeujppn"]}["cname"];}}function getcustid($id){$idovgmlv="con";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${$idovgmlv},"select cid from master_customer where custid='$id'");${"GLOBALS"}["dwnchjnc"]="que";if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["dwnchjnc"]})){$ixckpssrayfh="row";return${$ixckpssrayfh}["cid"];}}function getcmpname($id){${"GLOBALS"}["afkkcnecxh"]="row";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select company from master_customer where custid='$id'");if(${${"GLOBALS"}["afkkcnecxh"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}["company"];}}function getage($pdate){$cwbuty="diff";$qlwrdzxytrqy="pdate";${"GLOBALS"}["wiqnhkem"]="cdate";global$con;${${"GLOBALS"}["wiqnhkem"]}=date("Y/m/d");${"GLOBALS"}["eciwgd"]="days";$csumhiucehq="days";${${"GLOBALS"}["xsojxgpx"]}=abs(strtotime(${${"GLOBALS"}["rpmwnvrtv"]})-strtotime(${$qlwrdzxytrqy}));${${"GLOBALS"}["rqevmfbxlde"]}=floor(${$cwbuty}/(365*60*60*24));$mfbrjdtrkgf="diff";${${"GLOBALS"}["zuzfpvbywns"]}=floor((${${"GLOBALS"}["xsojxgpx"]}-${${"GLOBALS"}["rqevmfbxlde"]}*365*60*60*24)/(30*60*60*24));${${"GLOBALS"}["eciwgd"]}=floor((${$mfbrjdtrkgf}-${${"GLOBALS"}["rqevmfbxlde"]}*365*60*60*24-${${"GLOBALS"}["zuzfpvbywns"]}*30*60*60*24)/(60*60*24));return${$csumhiucehq};}function getnetvat($pid){$segaqmx="con";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${$segaqmx},"select sum(netpurpvat) as c from dpurchaseitem where pid='$pid'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){${"GLOBALS"}["phtfqycoqj"]="row";return${${"GLOBALS"}["phtfqycoqj"]}["c"];}else{return"0";}}function getcnno($saleid){$cxrweam="con";$hsrmghwawpt="que";global$con;${"GLOBALS"}["gbhjnlrfnsfq"]="row";${$hsrmghwawpt}=mysqli_query(${$cxrweam},"select cid from creditnote where saleid='$saleid'");if(${${"GLOBALS"}["gbhjnlrfnsfq"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){${"GLOBALS"}["dkshhgvjnq"]="row";return"CN-".${${"GLOBALS"}["dkshhgvjnq"]}["cid"];}}function getipurprice($bid){$mydsfgnnftu="que";global$con;${$mydsfgnnftu}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select purprice from barcode where bid='$bid'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"
}["fynbxoqyvqk"]})){${"GLOBALS"}["bzhgkdkxkpl"]="row";return${${"GLOBALS"}["bzhgkdkxkpl"]}["purprice"];}}function getFullname($username){${"GLOBALS"}["vdxjhshqnzc"]="que";global$con;${"GLOBALS"}["byvvrbked"]="con";${"GLOBALS"}["fqciqg"]="que";${${"GLOBALS"}["vdxjhshqnzc"]}=mysqli_query(${${"GLOBALS"}["byvvrbked"]},"select name from member_reg where referrer_id='$username'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["fqciqg"]})){$ykbjarji="row";return${$ykbjarji}["name"];}else{return"";}}function getLimit($itemid,$subitem){${"GLOBALS"}["rkxhygrgo"]="con";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["rkxhygrgo"]},"select slimit from subitem where iemid='$itemid' and subitemid='$subitem'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}["slimit"];}}function getItemname($itemid){global$con;${"GLOBALS"}["vywfbtbud"]="que";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select itemname from item where itemid ='$itemid'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["vywfbtbud"]})){${"GLOBALS"}["tuoavijzihsc"]="row";return${${"GLOBALS"}["tuoavijzihsc"]}["itemname"];}else{return"";}}function getSubItemname($itemid,$subitem){$rjwsxyg="que";${"GLOBALS"}["bdpvbtimwo"]="que";global$con;${$rjwsxyg}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select subitem from subitem where iemid='$itemid' and subitemid='$subitem'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["bdpvbtimwo"]})){return${${"GLOBALS"}["smeujppn"]}["subitem"];}else{return"N/A";}}function getDiscountType($itemid,$subitem,$cdate){${"GLOBALS"}["fusvschigpr"]="con";${"GLOBALS"}["vhfkfcqnsvq"]="con";${"GLOBALS"}["niryixdj"]="row";$owsykjyuao="que1";$rhlxmorah="con";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${$rhlxmorah},"select dtype,damonut from itemdiscount where itemid='$itemid' and subitemid='$subitem' and sdate <='$cdate' and edate>='$cdate' and status='YES'");${${"GLOBALS"}["bkkyiwnov"]}=mysqli_query(${${"GLOBALS"}["fusvschigpr"]},"select dtype,damonut from itemdiscount where itemid='$itemid' and subitemid='all' and sdate <='$cdate' and edate>='$cdate' and status='YES'");${${"GLOBALS"}["rsplovfqcqi"]}=mysqli_query(${${"GLOBALS"}["vhfkfcqnsvq"]},"select dtype,damonut from itemdiscount where itemid='all' and subitemid='all' and sdate <='$cdate' and edate>='$cdate' and status='YES'");if(${${"GLOBALS"}["niryixdj"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}["dtype"];}else if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${$owsykjyuao})){return${${"GLOBALS"}["smeujppn"]}["dtype"];}else if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["rsplovfqcqi"]})){${"GLOBALS"}["hlyyfcopk"]="row";return${${"GLOBALS"}["hlyyfcopk"]}["dtype"];}else{return"N/A";}}function getDiscountAmt($itemid,$subitem,$cdate){${"GLOBALS"}["nnliaklc"]="con";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select dtype,damonut from itemdiscount where itemid='$itemid' and subitemid='$subitem' and sdate <='$cdate' and edate>='$cdate' and status='YES'");${${"GLOBALS"}["bkkyiwnov"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select dtype,damonut from itemdiscount where itemid='$itemid' and subitemid='all' and sdate <='$cdate' and edate>='$cdate' and status='YES'");${"GLOBALS"}["yvksitei"]="row";$owmyxxriuqng="row";${${"GLOBALS"}["rsplovfqcqi"]}=mysqli_query(${${"GLOBALS"}["nnliaklc"]},"select dtype,damonut from itemdiscount where itemid='all' and subitemid='all' and sdate <='$cdate' and edate>='$cdate' and status='YES'");${"GLOBALS"}["qfkziusuge"]="que1";if(${$owmyxxriuqng}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){$vjziypg="row";return${$vjziypg}["damonut"];}else if(${${"GLOBALS"}["yvksitei"]}=mysqli_fetch_array(${${"GLOBALS"}["qfkziusuge"]})){$rvtoqesgaone="row";return${$rvtoqesgaone}["damonut"];}else if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["rsplovfqcqi"]})){return${${"GLOBALS"}["smeujppn"]}["damonut"];}else{return"0";}}function getprtyname($cid){$nadwpmsyh="con";global$con;$nxxiop="row";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${$nadwpmsyh},"select fname,pname from cashbook_party where pid ='$cid'");if(${$nxxiop}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}[0]." - ".${${"GLOBALS"}["smeujppn"]}[1];}else{return${${"GLOBALS"}["bggguase"]};}}function get_open_close_balance_now($cdate,$locid){$crpcmulhqdx="closingcash";${"GLOBALS"}["iqfhqlyrcmp"]="row2";$mlxgfcfnu="param2";$giruyw="locid";global$con;$mqyfcmalygy="query4";if(${$giruyw}==0){$jqxwnysrirf="con";$ddrvooxjle="con";${${"GLOBALS"}["tdfrasnblbwk"]}=mysqli_query(${$ddrvooxjle},"SELECT sum(bdamt) AS bdamt, sum(damount) AS damount, sum(bcamt) AS bcamt, sum(camount) AS camount\nFROM cashbook_total WHERE cdate <'$cdate'")or die(mysqli_error(${$jqxwnysrirf}));}else{${"GLOBALS"}["mucftqcst"]="con";${${"GLOBALS"}["tdfrasnblbwk"]}=mysqli_query(${${"GLOBALS"}["mucftqcst"]},"SELECT sum(bdamt) AS bdamt, sum(damount) AS damount, sum(bcamt) AS bcamt, sum(camount) AS camount\nFROM cashbook_total WHERE cdate <'$cdate' and locid='$locid' ")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));}$uchiommpli="casinbank";${"GLOBALS"}["driylte"]="c";if(${${"GLOBALS"}["iqfhqlyrcmp"]}=mysqli_fetch_array(${$mqyfcmalygy})){$ddbuvuy="casouthand";${"GLOBALS"}["yxrjwgmn"]="casinhand";${"
GLOBALS"}["ycxjujmbxx"]="casoutbank";$rivhvpvlvij="row2";${${"GLOBALS"}["ycxjujmbxx"]}=${$rivhvpvlvij}["bdamt"];${$ddbuvuy}=${${"GLOBALS"}["ehrmrye"]}["damount"];${${"GLOBALS"}["qwlugmuq"]}=${${"GLOBALS"}["ehrmrye"]}["bcamt"];${${"GLOBALS"}["yxrjwgmn"]}=${${"GLOBALS"}["ehrmrye"]}["camount"];}${"GLOBALS"}["vlxgwoglwaff"]="casouthand";${"GLOBALS"}["vsqsyvq"]="c";$gbtcfvikwc="c1";${${"GLOBALS"}["vsqsyvq"]}=${${"GLOBALS"}["vuniweqbsr"]}+${${"GLOBALS"}["irhbwj"]}-${${"GLOBALS"}["vlxgwoglwaff"]};${${"GLOBALS"}["zrofnmo"]}=${$mlxgfcfnu}+${$uchiommpli}-${${"GLOBALS"}["grzvdzgw"]};${$crpcmulhqdx}=${${"GLOBALS"}["driylte"]};$uuxxyf="closingbank";${${"GLOBALS"}["pftixxurllcr"]}=${$gbtcfvikwc};return round(${${"GLOBALS"}["ikrtiplyy"]})."~".round(${$uuxxyf},2);}function get_open_close_balance_current($cdate,$locid){${"GLOBALS"}["hykyucgg"]="casinbank";global$con;$hcxodkfyn="c";$wawpgrg="casinhand";$uwfyhfui="closingbank";${"GLOBALS"}["jsosmmbnp"]="query4";${"GLOBALS"}["lmalalses"]="closingcash";${"GLOBALS"}["osxqifxr"]="c1";if(${${"GLOBALS"}["spdaln"]}==0){${"GLOBALS"}["nozqjcel"]="con";${${"GLOBALS"}["tdfrasnblbwk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"SELECT sum(bdamt) AS bdamt, sum(damount) AS damount, sum(bcamt) AS bcamt, sum(camount) AS camount\nFROM cashbook_total WHERE cdate <='$cdate'")or die(mysqli_error(${${"GLOBALS"}["nozqjcel"]}));}else{$jznldbrukpd="con";${${"GLOBALS"}["tdfrasnblbwk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"SELECT sum(bdamt) AS bdamt, sum(damount) AS damount, sum(bcamt) AS bcamt, sum(camount) AS camount\nFROM cashbook_total WHERE cdate <='$cdate' and locid='$locid' ")or die(mysqli_error(${$jznldbrukpd}));}if(${${"GLOBALS"}["ehrmrye"]}=mysqli_fetch_array(${${"GLOBALS"}["jsosmmbnp"]})){${"GLOBALS"}["uxpsdoimcxb"]="casinbank";$uebaobqscm="casouthand";${${"GLOBALS"}["grzvdzgw"]}=${${"GLOBALS"}["ehrmrye"]}["bdamt"];${"GLOBALS"}["rjgqbpoqaw"]="casinhand";${$uebaobqscm}=${${"GLOBALS"}["ehrmrye"]}["damount"];${${"GLOBALS"}["uxpsdoimcxb"]}=${${"GLOBALS"}["ehrmrye"]}["bcamt"];${${"GLOBALS"}["rjgqbpoqaw"]}=${${"GLOBALS"}["ehrmrye"]}["camount"];}${${"GLOBALS"}["mjtevwhlb"]}=${${"GLOBALS"}["vuniweqbsr"]}+${$wawpgrg}-${${"GLOBALS"}["shdeizhirnw"]};${${"GLOBALS"}["zrofnmo"]}=${${"GLOBALS"}["xwtlphrmf"]}+${${"GLOBALS"}["hykyucgg"]}-${${"GLOBALS"}["grzvdzgw"]};${${"GLOBALS"}["ikrtiplyy"]}=${$hcxodkfyn};${${"GLOBALS"}["pftixxurllcr"]}=${${"GLOBALS"}["osxqifxr"]};return round(${${"GLOBALS"}["lmalalses"]})."~".round(${$uwfyhfui},2);}function getEmpname($itemid){${"GLOBALS"}["rahtcyeqmmrn"]="con";global$con;$dcihdzecj="row";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["rahtcyeqmmrn"]},"select username from user_reg where id='$itemid'");if(${$dcihdzecj}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}["username"];}else{return"N/A";}}function getstoreCName($storeid){${"GLOBALS"}["dodofgmyjgw"]="row";global$con;$phktjsvk="que";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select sname from master_store where storeid='$storeid'");if(${${"GLOBALS"}["dodofgmyjgw"]}=mysqli_fetch_array(${$phktjsvk})){${"GLOBALS"}["xxyuccsdjo"]="row";return${${"GLOBALS"}["xxyuccsdjo"]}["sname"];}}function getstoreAdd($storeid){$swoodbzeoig="row";$aaghgpuo="que";global$con;${$aaghgpuo}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select sadd from master_store where storeid='$storeid'");if(${$swoodbzeoig}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){$fklrtdot="row";return${$fklrtdot}["sadd"];}}function getGstinNo($storeid){$jlfpym="con";${"GLOBALS"}["betvvkfe"]="row";$rqapjgng="que";global$con;${$rqapjgng}=mysqli_query(${$jlfpym},"select gstin_no from master_store where storeid='$storeid'");if(${${"GLOBALS"}["betvvkfe"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){$xryckvqm="row";return${$xryckvqm}["gstin_no"];}}function getCenterName($wid){$jqtdelv="wid";${"GLOBALS"}["gngliyo"]="a";$obmlvemiev="wid";$jxyxqeefkdw="wid";$dmynixdjb="wid";if(${$jqtdelv}=="2"){$easmzrl="a";${$easmzrl}="UTSAV";}else
if(${$obmlvemiev}=="3"){${${"GLOBALS"}["qgsdxbwdkw"]}="Shree Ji Creation";}else if(${$jxyxqeefkdw}=="4"){${"GLOBALS"}["ntenlk"]="a";${${"GLOBALS"}["ntenlk"]}="Shree Ji Synthetics";}else if(${$dmynixdjb}=="5"){$lmoxjeixz="a";${$lmoxjeixz}="Shree Ji Exclusive";}return${${"GLOBALS"}["gngliyo"]};}function getAddr($type,$wid){$bsjgokds="type";$rgidyuwn="wid";${"GLOBALS"}["viokmslpcfoq"]="type";$zkwpmrrrvg="wid";if(${${"GLOBALS"}["femmjphln"]}=="2"&&${$bsjgokds}=="s"){${${"GLOBALS"}["qgsdxbwdkw"]}="S-40A 2nd Floor, DB City Bhopal M.P 462011<br/> Ph:0755-6644063";}else if(${$rgidyuwn}=="3"&&${${"GLOBALS"}["wdhvejbxcwc"]}=="s"){${${"GLOBALS"}["qgsdxbwdkw"]}="First Floor Rang Mahal Tower T.T Nagar Bhopal";}else if(${$zkwpmrrrvg}=="4"&&${${"GLOBALS"}["viokmslpcfoq"]}=="s"){${${"GLOBALS"}["qgsdxbwdkw"]}="Behind Police Chwki Chowk Bazar Bhopal\nPH:0755-2738276";}else if(${${"GLOBALS"}["femmjphln"]}=="5"&&${${"GLOBALS"}["wdhvejbxcwc"]}=="s"){${${"GLOBALS"}["qgsdxbwdkw"]}="Mukhar Ji Cloth Market Main Road Bairagarh Bhopal\nPH:0755-2640912";}return${${"GLOBALS"}["qgsdxbwdkw"]};}function getSupAdd($itemid){$fwthpgv="que";$trciwnaojsgz="que";global$con;${$fwthpgv}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select sadd from supplier where supid ='$itemid'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${$trciwnaojsgz})){${"GLOBALS"}["pqdueqsibp"]="row";return${${"GLOBALS"}["pqdueqsibp"]}["sadd"];}else{return"N/A";}}function getcustadd($aid){${"GLOBALS"}["layrexdure"]="con";$zxjubowx="que";$zgglqnrkdgt="que";global$con;${$zgglqnrkdgt}=mysqli_query(${${"GLOBALS"}["layrexdure"]},"select address from master_cust_address where aid ='$aid'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${$zxjubowx})){return${${"GLOBALS"}["smeujppn"]}["address"];}else{return"N/A";}}function getSupcno($itemid){${"GLOBALS"}["crmleukd"]="que";$ervsquv="row";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select mobno from supplier where supid ='$itemid'");if(${$ervsquv}=mysqli_fetch_array(${${"GLOBALS"}["crmleukd"]})){return${${"GLOBALS"}["smeujppn"]}["mobno"];}else{return"N/A";}}function getSupname($itemid){global$con;${"GLOBALS"}["euuimdw"]="row";$qjnfgmqux="con";$ezjdjg="que";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${$qjnfgmqux},"select sname from supplier where supid ='$itemid'");if(${${"GLOBALS"}["euuimdw"]}=mysqli_fetch_array(${$ezjdjg})){${"GLOBALS"}["hyjdkbuev"]="row";return${${"GLOBALS"}["hyjdkbuev"]}["sname"];}else{return"N/A";}}function getSupCity($itemid){$kwycdudwxsvq="que";$mrqfkwjej="que";global$con;${"GLOBALS"}["hmphbgl"]="row";${$mrqfkwjej}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select city from supplier where supid ='$itemid'");if(${${"GLOBALS"}["hmphbgl"]}=mysqli_fetch_array(${$kwycdudwxsvq})){${"GLOBALS"}["flgcladmfiq"]="row";return${${"GLOBALS"}["flgcladmfiq"]}["city"];}else{return"N/A";}}function GDis($id,$typ){${"GLOBALS"}["padsdovbsjmc"]="con";global$con;$jmjnudzptgrb="que";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["padsdovbsjmc"]},"select gname from newgift where gid='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${$jmjnudzptgrb})){$ytllbbvocglp="row";return${$ytllbbvocglp}["gname"];}else{return"N/A";}}function Vamt($id){global$con;${"GLOBALS"}["oqkyxchixwle"]="vnamt";$gwrphfwmru="row";${${"GLOBALS"}["oqkyxchixwle"]}=0;${"GLOBALS"}["ekzxteb"]="que";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select vnamt from voucherdispatch where saleid='$id'");while(${$gwrphfwmru}=mysqli_fetch_array(${${"GLOBALS"}["ekzxteb"]})){${"GLOBALS"}["fgohleay"]="vnamt";${${"GLOBALS"}["aqcckiqks"]}=${${"GLOBALS"}["fgohleay"]}+${${"GLOBALS"}["smeujppn"]}["vnamt"];}return${${"GLOBALS"}["aqcckiqks"]};}function getMobname($cus,$m){$mxmtpoucvoy="que";global$con;${$mxmtpoucvoy}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select mobno from customer where cid ='$cus'");$jyrijwpy="row";if(${$jyrijwpy}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){${"GLOBALS"}["kxrgcgw"]="row";return${${"GLOBALS"}["kxrgcgw"]}["mobno"];}else{return${${"GLOBALS"}["hkfylp"]};}}function getCusname($cus){$fmbbmc="que";global$con;${$fmbbmc}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select cname from customer where cid ='$cus'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}["cname"];}else{return${${"GLOBALS"}["krbpjhowng"]};}}function getQty($cus){$twqekin="que";global$con;${$twqekin}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select count(sitemid) from saleitem where sid ='$cus' and stat='n'");${"GLOBALS"}["abzvrnmll"]="que";if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["abzvrnmll"]})){return${${"GLOBALS"}["smeujppn"]}[0];}else{return"No";}}function getpurPrice($itemid,$subid,$typ,$id){${"GLOBALS"}["kvcwim"]="row";$urltotsfntx="que";global$con;${$urltotsfntx}=mysqli_query(${${"GLOBALS"}["hospfs"]},"SELECT count(barcode.bid),sum(barcode.purprice) as s FROM `barcode` WHERE barcode.status='rec' and itemid='$itemid' and subitemid='$subid' and type='s'");if(${${"GLOBALS"}["kvcwim"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){${"GLOBALS"}["tlwtfciqz"]="row";return${${"GLOBALS"}["tlwtfciqz"]}[1];}}function getmrpPrice($itemid,$subid,$typ,$id){$rqbytsttogr="typ";${"GLOBALS"}["ysaohkxdxxu"]="typ";$uiwedjv="row";global$con;if(${$rqbytsttogr}=="w"){${"GLOBALS"}["dxptxveufzu"]="con";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["dxptxveufzu"]},"select count(bid),sum(saleprice) as s from barcode where itemid='$itemid' and subitemid='$subid' and type='$typ' and barcode.warid='$id' and (barcode.status='Pur' or barcode.status='wrec')");}else
if(${${"GLOBALS"}["ysaohkxdxxu"]}=="s"){${"GLOBALS"}["gvogorj"]="con";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["gvogorj"]},"select count(bid),sum(saleprice) as s from barcode where itemid='$itemid' and subitemid='$subid' and warid='$id' and barcode.status='rec' and type='$typ' ");}if(${$uiwedjv}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){${"GLOBALS"}["nnskvvofvoun"]="row";return${${"GLOBALS"}["nnskvvofvoun"]}[1];}}function getComEmpName($id){global$con;${"GLOBALS"}["rtcaeovbiy"]="row";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select * from empcommision where comid='$id'");if(${${"GLOBALS"}["rtcaeovbiy"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}["name"];}}function getComEmpCode($id){${"GLOBALS"}["syxlfjj"]="con";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["syxlfjj"]},"select * from empcommision where comid='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){${"GLOBALS"}["vgdetgdxxjqt"]="row";return${${"GLOBALS"}["vgdetgdxxjqt"]}["code"];}}function getMrp($id){${"GLOBALS"}["aydripc"]="row";${"GLOBALS"}["sexlfrcdthm"]="que";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select * from barcode where barcode='$id'");if(${${"GLOBALS"}["aydripc"]}=mysqli_fetch_array(${${"GLOBALS"}["sexlfrcdthm"]})){return${${"GLOBALS"}["smeujppn"]}["purprice"];}}function geTtQty($id){$foedjnjtve="que";${"GLOBALS"}["klepcyhk"]="que";${"GLOBALS"}["ylwwqjdyr"]="con";global$con;${${"GLOBALS"}["klepcyhk"]}=mysqli_query(${${"GLOBALS"}["ylwwqjdyr"]},"select Sum(qty) from dpurchaseitem where pid='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${$foedjnjtve})){${"GLOBALS"}["hscsugoltkyu"]="row";return${${"GLOBALS"}["hscsugoltkyu"]}[0];}}function getvat($id){$kgcrnyd="row";global$con;${"GLOBALS"}["hnckjiul"]="que";${${"GLOBALS"}["hnckjiul"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select vat from item where itemid='$id'");if(${$kgcrnyd}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){${"GLOBALS"}["lcbvrtkbnq"]="row";return${${"GLOBALS"}["lcbvrtkbnq"]}[0];}}function getvName($id){${"GLOBALS"}["eqfjopab"]="que";global$con;$juooummr="que";${${"GLOBALS"}["eqfjopab"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select vname from voucher where vid='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${$juooummr})){return${${"GLOBALS"}["smeujppn"]}[0];}else{return"N/A";}}function Sdate($id){global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select pdate from sale where saleid='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){$gnwtvolaj="row";return${$gnwtvolaj}[0];}}function CashAmt($id){global$con;$phwxfkmhik="que";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select cash from payment where saleid='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${$phwxfkmhik})){${"GLOBALS"}["chbcfu"]="row";return${${"GLOBALS"}["chbcfu"]}[0];}}function CardAmt($id){$tfqwszsdt="que";${"GLOBALS"}["jlagwppvw"]="que";global$con;${${"GLOBALS"}["jlagwppvw"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select card from payment where saleid='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${$tfqwszsdt})){return${${"GLOBALS"}["smeujppn"]}[0];}}function getovat($id){global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select ovat from item where itemid='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}[0];}}function Vouchamt($id){${"GLOBALS"}["ougwuo"]="que";${"GLOBALS"}["qyoucrjip"]="row";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select voucheramt from sale where saleid='$id'");if(${${"GLOBALS"}["qyoucrjip"]}=mysqli_fetch_array(${${"GLOBALS"}["ougwuo"]})){return${${"GLOBALS"}["smeujppn"]}[0];}else{return"0";}}function getGEmpName($username){global$con;${"GLOBALS"}["vkwgjpqyd"]="que";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select name from empcommision where comid ='$username'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["vkwgjpqyd"]})){return${${"GLOBALS"}["smeujppn"]}["name"];}}function getEmpAdd($username){$ashbjttqgp="que";${"GLOBALS"}["drrjugzih"]="row";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select cadd from empcommision where comid ='$username'");if(${${"GLOBALS"}["drrjugzih"]}=mysqli_fetch_array(${$ashbjttqgp})){return${${"GLOBALS"}["smeujppn"]}["cadd"];}}function getMobno($username){${"GLOBALS"}["bydjhilcmomv"]="row";${"GLOBALS"}["crkvgwjjvnh"]="con";${"GLOBALS"}["djojbsy"]="que";global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["crkvgwjjvnh"]},"select mob from empcommision where comid ='$username'");if(${${"GLOBALS"}["bydjhilcmomv"]}=mysqli_fetch_array(${${"GLOBALS"}["djojbsy"]})){return${${"GLOBALS"}["smeujppn"]}["mob"];}}function getnetpamt($id){$xsdgzhhzte="que";global$con;${$xsdgzhhzte}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select sum(pamt) from payment where saleid ='$id'");$ujuwdpvvicwo="que";if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${$ujuwdpvvicwo})){${"GLOBALS"}["jtktebgox"]="row";return${${"GLOBALS"}["jtktebgox"]}[0];}}function getTax($id){${"GLOBALS"}["jburbbthqu"]="que";global$con;${${"GLOBALS"}["jburbbthqu"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"selec\x
74 * from t_parent where id='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}["t_type"];}else{return"No";}}function getstorestate($id){global$con;${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select state from master_store where storeid='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${${"GLOBALS"}["fynbxoqyvqk"]})){return${${"GLOBALS"}["smeujppn"]}["state"];}else{return"0";}}function getstateName($id){global$con;if(is_numeric(${${"GLOBALS"}["jpkkgupj"]})){${"GLOBALS"}["ugtpbgn"]="con";${"GLOBALS"}["epuphqrly"]="row";${"GLOBALS"}["vwdnifcweam"]="que";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["ugtpbgn"]},"select name from state where id='$id'");if(${${"GLOBALS"}["epuphqrly"]}=mysqli_fetch_array(${${"GLOBALS"}["vwdnifcweam"]})){${"GLOBALS"}["rvgyhobpckm"]="row";return${${"GLOBALS"}["rvgyhobpckm"]}["name"];}else{return"0";}}else{${"GLOBALS"}["besmrprwm"]="id";return${${"GLOBALS"}["besmrprwm"]};}}function getTaxName($id){${"GLOBALS"}["tprrswpm"]="que";${"GLOBALS"}["cmfdibcryjg"]="con";global$con;$lzvbxbkfnl="que";${${"GLOBALS"}["tprrswpm"]}=mysqli_query(${${"GLOBALS"}["cmfdibcryjg"]},"select * from t_tax where tax_id='$id'");if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${$lzvbxbkfnl})){return${${"GLOBALS"}["smeujppn"]}["tax_name"];}else{return"No";}}function igstcount($sid){$ioxpleof="tamt";$kacnfkd="con";$mrbtxhrcbv="tamt";global$con;${"GLOBALS"}["gkiempuejcu"]="max_query2";$unqgsjeikp="con";${${"GLOBALS"}["gkiempuejcu"]}=mysqli_query(${$unqgsjeikp},"select sum(tax_amt) as tamt from sale_tax where salid='$sid' and tax_id='1'")or die("Error in insert query : ".mysqli_error(${$kacnfkd}));${${"GLOBALS"}["ehrmrye"]}=mysqli_fetch_array(${${"GLOBALS"}["exemowfiqmn"]});${$mrbtxhrcbv}=(${${"GLOBALS"}["ehrmrye"]}["tamt"]=="")?0:${${"GLOBALS"}["ehrmrye"]}["tamt"];if(${$ioxpleof}){return 1;}else{return 0;}}function cgstcount($sid){${"GLOBALS"}["sqvxxkffwifr"]="row2";${"GLOBALS"}["dxpcombpwfa"]="tamt";${"GLOBALS"}["wzowvxdcsicw"]="max_query2";$xxrddzbmc="row2";global$con;${${"GLOBALS"}["wzowvxdcsicw"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select sum(tax_amt) as tamt from sale_tax where salid='$sid' and tax_id='2'")or die("Error in insert query : ".mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["sqvxxkffwifr"]}=mysqli_fetch_array(${${"GLOBALS"}["exemowfiqmn"]});${${"GLOBALS"}["dxpcombpwfa"]}=(${$xxrddzbmc}["tamt"]=="")?0:${${"GLOBALS"}["ehrmrye"]}["tamt"];if(${${"GLOBALS"}["abyxezeb"]}){return 1;}else{return 0;}}function dcolumn($sid){${"GLOBALS"}["dhlgbblmrsoe"]="con";${"GLOBALS"}["biugiyt"]="max_query2";global$con;${"GLOBALS"}["bnqeiyzaalm"]="t";${${"GLOBALS"}["wecwhrnziow"]}=0;${${"GLOBALS"}["biugiyt"]}=mysqli_query(${${"GLOBALS"}["dhlgbblmrsoe"]},"select sitemid, barid from saleitem where salid='$sid' ")or die("Error in insert query : ".mysqli_error(${${"GLOBALS"}["hospfs"]}));while(${${"GLOBALS"}["ehrmrye"]}=mysqli_fetch_array(${${"GLOBALS"}["exemowfiqmn"]})){${"GLOBALS"}["nvdsieuyu"]="row3";${"GLOBALS"}["yofogfw"]="row2";${${"GLOBALS"}["bgkqgvqtkgx"]}=${${"GLOBALS"}["yofogfw"]}["barid"];${${"GLOBALS"}["jhvbmnvier"]}="SELECT * FROM master_txtconfig ";$idjufmbys="result3";${${"GLOBALS"}["czxzubiwl"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},${${"GLOBALS"}["jhvbmnvier"]});while(${${"GLOBALS"}["nvdsieuyu"]}=mysqli_fetch_array(${$idjufmbys})){$mwjdnevwkf="conf_id";${"GLOBALS"}["spbptxgww"]="result4";$vbuckpbvwkwf="result4";${$mwjdnevwkf}=${${"GLOBALS"}["knnumohrxzxl"]}["conf_id"];${"GLOBALS"}["acpqoaqdv"]="dcolumn2";$wwmhxvnn="result4";$ebacfzuqo="sql4";${$ebacfzuqo}="SELECT * FROM barcode_txt where wbarid in ($barid) and txt_id='$conf_id'";${${"GLOBALS"}["spbptxgww"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},${${"GLOBALS"}["lrpoqwb"]});${${"GLOBALS"}["acpqoaqdv"]}=mysqli_num_rows(${$wwmhxvnn});if(${${"GLOBALS"}["gxghjm"]}=mysqli_fetch_array(${$vbuckpbvwkwf})){${"GLOBALS"}["sevwdc"]="row4";echo "<td>";if(${${"GLOBALS"}["sevwdc"]}["txt_value"]!=""){${${"GLOBALS"}["wecwhrnziow"]}=1;}echo "</td>\n\t\t\t ";}else{${"GLOBALS"}["gfbqenxc"]="k";${"GLOBALS"}["lpdrfb"]="k";for(${${"GLOBALS"}["lpdrfb"]}=1;${${"GLOBALS"}["bhdobyeeuoxk"]}<=${${"GLOBALS"}["ucsfjdrps"]};${${"GLOBALS"}["gfbqenxc"]}++){echo"<td> </td>";}}}}return${${"GLOBALS"}["bnqeiyzaalm"]};}function sms_username($val){global$con;$maftkxvinms="data";${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select username from master_sms_id where loc_id='$val'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${$maftkxvinms}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});return${${"GLOBALS"}["xstkqcbqhlqi"]}["username"];}function sms_username_old(){${"GLOBALS"}["vsuiinujpvrl"]="sql";${"GLOBALS"}["egbwvtodnul"]="con";global$con;${"GLOBALS"}["dwpqvmp"]="con";$ctmqvsshw="sql";${${"GLOBALS"}["vsuiinujpvrl"]}=mysqli_query(${${"GLOBALS"}["dwpqvmp"]},"select nvalue from t_param where nkey='sms_username'")or die(mysqli_error(${${"GLOBALS"}["egbwvtodnul"]}));${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${$ctmqvsshw});$covlqs="data";return${$covlqs}["nvalue"];}function sms_password($val){${"GLOBALS"}["mhpcqomeimk"]="con";global$con;${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["mhpcqomeimk"]},"select password from master_sms_id where loc_id='$val'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});return${${"GLOBAL
S"}["xstkqcbqhlqi"]}["password"];}function sms_password_old(){$xqewkvyvrn="sql";global$con;${$xqewkvyvrn}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select nvalue from t_param where nkey='sms_password'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});return${${"GLOBALS"}["xstkqcbqhlqi"]}["nvalue"];}function sms_status($val){${"GLOBALS"}["xhnjygp"]="sql";$hzgpjlo="data";global$con;${"GLOBALS"}["gkfkrj"]="data";${${"GLOBALS"}["xhnjygp"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select sms_status from master_sms_id where loc_id='$val'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${$hzgpjlo}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});return${${"GLOBALS"}["gkfkrj"]}["sms_status"];}function sms_senderid($val){${"GLOBALS"}["xcmqqtbi"]="sql";${"GLOBALS"}["lihdbheoq"]="sql";${"GLOBALS"}["xnfhnuvd"]="data";global$con;$xmpiresmtpl="con";${${"GLOBALS"}["xcmqqtbi"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select sender_id from master_sms_id where loc_id='$val'")or die(mysqli_error(${$xmpiresmtpl}));${${"GLOBALS"}["xnfhnuvd"]}=mysqli_fetch_assoc(${${"GLOBALS"}["lihdbheoq"]});return${${"GLOBALS"}["xstkqcbqhlqi"]}["sender_id"];}function sms_senderid_old(){$mwmktybnhm="con";$lmeynhtvp="con";${"GLOBALS"}["jbjmgak"]="data";global$con;${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${$lmeynhtvp},"select nvalue from t_param where nkey='sms_senderid'")or die(mysqli_error(${$mwmktybnhm}));$dqybgyxidevr="data";${${"GLOBALS"}["jbjmgak"]}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});return${$dqybgyxidevr}["nvalue"];}function sms_url(){$skykkr="con";$jcfhqgymp="data";global$con;${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select nvalue from t_param where nkey='sms_url'")or die(mysqli_error(${$skykkr}));${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});return${$jcfhqgymp}["nvalue"];}function sms_text(){${"GLOBALS"}["ckpvrlo"]="con";global$con;${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["ckpvrlo"]},"select nvalue from t_param where nkey='sms_sale_text'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});return${${"GLOBALS"}["xstkqcbqhlqi"]}["nvalue"];}function sms_credit_text(){$wdnqox="con";${"GLOBALS"}["kddhmngmq"]="data";$gfnepbdemhl="sql";$jpkssnvt="sql";global$con;${$jpkssnvt}=mysqli_query(${$wdnqox},"select nvalue from t_param where nkey='sms_credit_text'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["kddhmngmq"]}=mysqli_fetch_assoc(${$gfnepbdemhl});return${${"GLOBALS"}["xstkqcbqhlqi"]}["nvalue"];}function sms_text_new($forward_type,$template_type='single',$lang='English',$locid){$ilbnibmvap="data";$jtywqpbyr="qry";$nxwoqobyb="forward_type";global$con;${"GLOBALS"}["mpjnks"]="qry";if(is_array(${$nxwoqobyb})){${"GLOBALS"}["tloicqph"]="forward_type";$cbeavhpemn="filters";$abpngjkc="key";${"GLOBALS"}["qfjmqmslr"]="filters";${"GLOBALS"}["iqrerbqfwkb"]="filters";${${"GLOBALS"}["iqrerbqfwkb"]}="";foreach(${${"GLOBALS"}["tloicqph"]} as${$abpngjkc}=>${${"GLOBALS"}["jdnsdoeclbg"]}){$hrhhisingh="filters";${$hrhhisingh}.="$key='$value' and ";}${$cbeavhpemn}=rtrim(${${"GLOBALS"}["qfjmqmslr"]},"and ");}else{$zsgjutrrujbw="filters";${$zsgjutrrujbw}="forward_type="."'$forward_type'";}${$jtywqpbyr}="select sms_content,senderid from master_sms_config where $filters and template_type='$template_type' and lang='$lang' and status='1' and locid='$locid'";$otswvceinby="msgSid";${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},${${"GLOBALS"}["mpjnks"]})or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});${$otswvceinby}=array();${${"GLOBALS"}["lwttthr"]}["message"]=${$ilbnibmvap}["sms_content"];${${"GLOBALS"}["lwttthr"]}["senderid"]=${${"GLOBALS"}["xstkqcbqhlqi"]}["senderid"];return${${"GLOBALS"}["lwttthr"]};}function sms_advance_text(){global$con;${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select nvalue from t_param where nkey='sms_advance_text'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${"GLOBALS"}["jygioznbmh"]="sql";${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${${"GLOBALS"}["jygioznbmh"]});return${${"GLOBALS"}["xstkqcbqhlqi"]}["nvalue"];}function sms_credit_sale_text(){global$con;${"GLOBALS"}["mpgpysxbv"]="sql";${${"GLOBALS"}["mpgpysxbv"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select nvalue from t_param where nkey='sms_credit_sale_text'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});return${${"GLOBALS"}["xstkqcbqhlqi"]}["nvalue"];}function t_param_key($val){$jinxrqyq="data";global$con;$xhmmwo="data";$sinlyz="con";${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select nkey from t_param where nvalue='$val'")or die(mysqli_error(${$sinlyz}));${$jinxrqyq}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});return${$xhmmwo}["nkey"];}function t_param_key_ref($val){$rwetemqynkro="sql";$cgbwxgepuquj="sql";${"GLOBALS"}["swvtkvsicxq"]="data";global$con;${"GLOBALS"}["nyqefcgovogt"]="data";${$cgbwxgepuquj}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select v_ref from t_param where nkey='$val'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["swvtkvsicxq"]}=mysqli_fetch_assoc(${$rwetemqynkro});return${${"GLOBALS"}["nyqefcgovogt"]}["v_ref"];}function t_param($val){${"GLOBALS"}["hstvbazc"]="con";${"GLOBALS"}["ggnmfkyi"]="data";global$con;${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["hstvbazc"]},"select nvalue from
t_param where nkey='$val'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["ggnmfkyi"]}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});return${${"GLOBALS"}["xstkqcbqhlqi"]}["nvalue"];}function getBarcodeConfig($val){${"GLOBALS"}["junuqm"]="sql";${"GLOBALS"}["xujibg"]="con";global$con;${"GLOBALS"}["yjzwfm"]="con";${${"GLOBALS"}["junuqm"]}=mysqli_query(${${"GLOBALS"}["yjzwfm"]},"select v_value from t_barcode_config where v_name='$val'")or die(mysqli_error(${${"GLOBALS"}["xujibg"]}));${"GLOBALS"}["zwdhdqngtd"]="data";${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});return${${"GLOBALS"}["zwdhdqngtd"]}["v_value"];}function getGstin($val){$ljshnl="con";$xqsinrcf="data";$xtnmqxm="sql";global$con;${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select gstin_no from master_store where storeid='$val'")or die(mysqli_error(${$ljshnl}));${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${$xtnmqxm});return${$xqsinrcf}["gstin_no"];}function getbillno($val){global$con;${"GLOBALS"}["eaocjdnnqhmk"]="con";${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["eaocjdnnqhmk"]},"select billid from sale where saleid='$val'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));if(mysqli_num_rows(${${"GLOBALS"}["trocgxpqxq"]})>0){${"GLOBALS"}["kionknfg"]="data";${"GLOBALS"}["djmxbw"]="data";${${"GLOBALS"}["kionknfg"]}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});return${${"GLOBALS"}["djmxbw"]}["billid"];}else{return${${"GLOBALS"}["dynfeffu"]};}}function getlocation($id){$gbuxowj="sql";global$con;${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select location_name from t_location_master where id='$id'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${$gbuxowj});return${${"GLOBALS"}["xstkqcbqhlqi"]}["location_name"];}function getshortcutlocname($id){${"GLOBALS"}["ygqvhsuil"]="sql";${"GLOBALS"}["yxmqdzdidou"]="sql";${"GLOBALS"}["hlqhgvgm"]="data";global$con;${${"GLOBALS"}["ygqvhsuil"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select loc_shortcut from t_location_master where id='$id'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["hlqhgvgm"]}=mysqli_fetch_assoc(${${"GLOBALS"}["yxmqdzdidou"]});return${${"GLOBALS"}["xstkqcbqhlqi"]}["loc_shortcut"];}function barcode_history($comid,$barcode,$locqty_json,$locid,$mode,$uid,$trans_id,$trans_tbl,$prevlocqty_json=""){${"GLOBALS"}["gvtmmptzu"]="cqty_json";${"GLOBALS"}["zctckikj"]="que";${"GLOBALS"}["zmyzvjhdfpu"]="cqty_json";$ysmwexk="net_qty";${"GLOBALS"}["xunyct"]="locqty_json";${"GLOBALS"}["grugvqqo"]="que2";global$con;${"GLOBALS"}["dsifypvkgs"]="prevlocqty_json";${${"GLOBALS"}["gvtmmptzu"]}=${${"GLOBALS"}["xunyct"]};$khgkyhxvwfw="stockqty_json_cqty";${${"GLOBALS"}["usgcuhxkktx"]}=json_decode(${${"GLOBALS"}["zmyzvjhdfpu"]},true);${${"GLOBALS"}["guplakldos"]}=json_decode(${${"GLOBALS"}["dsifypvkgs"]},true);${${"GLOBALS"}["grugvqqo"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select json_cqty from bar_combination where comid= '".${${"GLOBALS"}["bhjqgfhpsrr"]}."'");if(${${"GLOBALS"}["ehrmrye"]}=mysqli_fetch_array(${${"GLOBALS"}["rsplovfqcqi"]})){$xltfpbne="row2";${"GLOBALS"}["kwgzycyqdp"]="stockqty_json_cqty";${${"GLOBALS"}["kwgzycyqdp"]}=${$xltfpbne}["json_cqty"];}${"GLOBALS"}["vikcms"]="loc_qty";${"GLOBALS"}["elwhrucd"]="que";$ghrclkjptuh="stockqty_json_array";${$ghrclkjptuh}=json_decode(${$khgkyhxvwfw},true);${"GLOBALS"}["guqwgqoohk"]="row";${$ysmwexk}=0;${${"GLOBALS"}["elwhrucd"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select * from t_location_master ORDER BY `t_location_master`.`id` ASC ");while(${${"GLOBALS"}["guqwgqoohk"]}=mysqli_fetch_array(${${"GLOBALS"}["zctckikj"]})){${"GLOBALS"}["cgmklaik"]="net_qty";$wtjxsjpmzly="cqty_json_array";${"GLOBALS"}["inhuadppxdi"]="clstock_qty";${"GLOBALS"}["gbtknnenu"]="mode";$prkntrqbjz="location_id";${"GLOBALS"}["haqwsuef"]="stockqty_json_array";$gqntxcghek="cur_boxqty";$bcwmqhkbs="mode";${"GLOBALS"}["qqejpfivnycv"]="location_id";$bkuusdxl="mode";$eqberubps="mode";$fzmhzcueqde="row";$eiemiheiqo="mode";$pwytusfcp="cur_qty";${"GLOBALS"}["mufxpwun"]="stock_qty";${"GLOBALS"}["ljotykre"]="cqty_json_array";${${"GLOBALS"}["vmrojdthjn"]}=${$fzmhzcueqde}["id"];$zgdfjts="mode";${$pwytusfcp}=${${"GLOBALS"}["ljotykre"]}[${${"GLOBALS"}["vmrojdthjn"]}]["qty"];${$gqntxcghek}=${$wtjxsjpmzly}[${${"GLOBALS"}["qqejpfivnycv"]}]["boxqty"];$upvnknn="location_id";${${"GLOBALS"}["mufxpwun"]}=${${"GLOBALS"}["vmoklmqozijl"]}[${$prkntrqbjz}]["qty"];${"GLOBALS"}["bhiudseq"]="stock_boxqty";${${"GLOBALS"}["bhiudseq"]}=${${"GLOBALS"}["haqwsuef"]}[${$upvnknn}]["boxqty"];$uwytwzzrjhvz="mode";${"GLOBALS"}["huctryymj"]="net_qty";$qyhhilv="clstock_qty";if(${${"GLOBALS"}["gbtknnenu"]}=="In"){$nqwmlko="clstock_qty";${$nqwmlko}=${${"GLOBALS"}["odkncndyzgb"]}+${${"GLOBALS"}["dlydvv"]};${${"GLOBALS"}["iyxrcx"]}=${${"GLOBALS"}["sfjclcubr"]}+${${"GLOBALS"}["uromjoroswys"]};}elseif(${$bkuusdxl}=="Sale"){${"GLOBALS"}["vycbqogmrf"]="stock_qty";${"GLOBALS"}["jzvgjsdpf"]="stock_boxqty";$onvhlht="clstock_boxqty";${${"GLOBALS"}["ltcopkaxfd"]}=${${"GLOBALS"}["vycbqogmrf"]}-${${"GLOBALS"}["dlydvv"]};${"GLOBALS"}["usdwesgrqg"]="cur_boxqty";${$onvhlht}=${${"GLOBALS"}["jzvgjsdpf"]}-${${"GLOBALS"}["usdwesgrqg"]};}elseif(${${"GLOBALS"}["a\
x64txfbe"]}=="Return"){$bmhcuzwzkni="clstock_qty";$xkiekldb="stock_qty";$aoriass="cur_qty";${"GLOBALS"}["vgbndreatwuk"]="stock_boxqty";${$bmhcuzwzkni}=${$xkiekldb}+${$aoriass};${${"GLOBALS"}["iyxrcx"]}=${${"GLOBALS"}["vgbndreatwuk"]}+${${"GLOBALS"}["uromjoroswys"]};}elseif(${$bcwmqhkbs}=="dump"){$wpuivrdzp="clstock_boxqty";$wnzgcjvntb="clstock_qty";$gcngcdbt="cur_qty";${$wnzgcjvntb}=${${"GLOBALS"}["odkncndyzgb"]}-${$gcngcdbt};${$wpuivrdzp}=${${"GLOBALS"}["sfjclcubr"]}-${${"GLOBALS"}["uromjoroswys"]};}elseif(${${"GLOBALS"}["adtxfbe"]}=="SALE-DELETE"){${"GLOBALS"}["kopiukxxc"]="stock_qty";${"GLOBALS"}["croekva"]="cur_boxqty";${${"GLOBALS"}["ltcopkaxfd"]}=${${"GLOBALS"}["kopiukxxc"]}+${${"GLOBALS"}["dlydvv"]};${${"GLOBALS"}["iyxrcx"]}=${${"GLOBALS"}["sfjclcubr"]}+${${"GLOBALS"}["croekva"]};}elseif(${${"GLOBALS"}["adtxfbe"]}=="DELETE"){${"GLOBALS"}["qphdwgekukh"]="stock_qty";$plwyblkx="clstock_boxqty";$vfnywpkxuvo="stock_boxqty";${${"GLOBALS"}["ltcopkaxfd"]}=${${"GLOBALS"}["qphdwgekukh"]}-${${"GLOBALS"}["dlydvv"]};${$plwyblkx}=${$vfnywpkxuvo}-${${"GLOBALS"}["uromjoroswys"]};}elseif(${$zgdfjts}=="PUR-EDIT"){$inrwaek="cur_qty";$eftenylb="location_id";${"GLOBALS"}["kgnlthhydtd"]="prev_qty";$yberklhnj="prev_boxqty";${${"GLOBALS"}["kgnlthhydtd"]}=${${"GLOBALS"}["guplakldos"]}[${$eftenylb}]["qty"];${"GLOBALS"}["apjzomjvf"]="prev_boxqty";$gisycvdn="clstock_qty";${$yberklhnj}=${${"GLOBALS"}["guplakldos"]}[${${"GLOBALS"}["vmrojdthjn"]}]["boxqty"];${"GLOBALS"}["lbcjwvleekc"]="cur_boxqty";${$gisycvdn}=${${"GLOBALS"}["odkncndyzgb"]}-${${"GLOBALS"}["gpcpqkygrok"]}+${$inrwaek};${${"GLOBALS"}["iyxrcx"]}=${${"GLOBALS"}["sfjclcubr"]}-${${"GLOBALS"}["apjzomjvf"]}-${${"GLOBALS"}["lbcjwvleekc"]};}elseif(${$eiemiheiqo}=="SALE_EDIT"){$dkscvje="cur_boxqty";${"GLOBALS"}["wneegbn"]="location_id";${${"GLOBALS"}["gpcpqkygrok"]}=${${"GLOBALS"}["guplakldos"]}[${${"GLOBALS"}["vmrojdthjn"]}]["qty"];${${"GLOBALS"}["irgnrmhkxl"]}=${${"GLOBALS"}["guplakldos"]}[${${"GLOBALS"}["wneegbn"]}]["boxqty"];${${"GLOBALS"}["ltcopkaxfd"]}=${${"GLOBALS"}["odkncndyzgb"]}+${${"GLOBALS"}["gpcpqkygrok"]}-${${"GLOBALS"}["dlydvv"]};${${"GLOBALS"}["iyxrcx"]}=${${"GLOBALS"}["sfjclcubr"]}+${${"GLOBALS"}["irgnrmhkxl"]}-${$dkscvje};}if(${${"GLOBALS"}["adtxfbe"]}=="TRANS-IN"){${"GLOBALS"}["cgtgst"]="clstock_qty";$ldkjgelvvb="stock_boxqty";$ovuekjyyshb="stock_qty";${${"GLOBALS"}["cgtgst"]}=${$ovuekjyyshb}+${${"GLOBALS"}["dlydvv"]};${${"GLOBALS"}["iyxrcx"]}=${$ldkjgelvvb}+${${"GLOBALS"}["uromjoroswys"]};}if(${${"GLOBALS"}["adtxfbe"]}=="TRANS-OUT"){$lvcmpshksk="clstock_boxqty";${"GLOBALS"}["tgctszifhl"]="clstock_qty";${"GLOBALS"}["vgyahuu"]="cur_qty";$tiqswqf="stock_boxqty";${${"GLOBALS"}["tgctszifhl"]}=${${"GLOBALS"}["odkncndyzgb"]}-${${"GLOBALS"}["vgyahuu"]};${$lvcmpshksk}=${$tiqswqf}-${${"GLOBALS"}["uromjoroswys"]};}if(${$uwytwzzrjhvz}=="CONV-IN"){$gihhygcbskx="cur_qty";$qsbjpvrp="clstock_boxqty";${"GLOBALS"}["dhwtfxttqbq"]="cur_boxqty";${${"GLOBALS"}["ltcopkaxfd"]}=${${"GLOBALS"}["odkncndyzgb"]}+${$gihhygcbskx};${$qsbjpvrp}=${${"GLOBALS"}["sfjclcubr"]}+${${"GLOBALS"}["dhwtfxttqbq"]};}if(${$eqberubps}=="CONV-OUT"){${"GLOBALS"}["oscjwukznz"]="clstock_boxqty";${"GLOBALS"}["frfuyizpamys"]="cur_boxqty";${${"GLOBALS"}["ltcopkaxfd"]}=${${"GLOBALS"}["odkncndyzgb"]}-${${"GLOBALS"}["dlydvv"]};${${"GLOBALS"}["oscjwukznz"]}=${${"GLOBALS"}["sfjclcubr"]}-${${"GLOBALS"}["frfuyizpamys"]};}${${"GLOBALS"}["huctryymj"]}=${${"GLOBALS"}["cgmklaik"]}+${${"GLOBALS"}["inhuadppxdi"]};${${"GLOBALS"}["tvptaflnt"]}[${${"GLOBALS"}["vmrojdthjn"]}]=array("qty"=>${$qyhhilv},"boxqty"=>${${"GLOBALS"}["iyxrcx"]});}${${"GLOBALS"}["tvptaflnt"]}=json_encode(${${"GLOBALS"}["tvptaflnt"]});${${"GLOBALS"}["wqosavk"]}=date("Y/m/d h:i A");mysqli_query(${${"GLOBALS"}["hospfs"]},"update bar_combination set json_cqty ='$clos_locqty_json',cur_stock='$net_qty',lastupdate_datetime='$cdatetime' where comid ='".${${"GLOBALS"}["bhjqgfhpsrr"]}."'");mysqli_query(${${"GLOBALS"}["hospfs"]},"insert into barcode_history(barcode,locid,qty,loc_balance,balance,mode,dates,times,uid,trans_id,trans_tbl,comid,prevqty_json,cqty_json,closstock_json) values('".${${"GLOBALS"}["emxoouub"]}."','".${${"GLOBALS"}["spdaln"]}."','".${${"GLOBALS"}["tsjvnis"]}."','".${${"GLOBALS"}["vikcms"]}."','".${${"GLOBALS"}["yrrydjbr"]}."','".${${"GLOBALS"}["adtxfbe"]}."','".date("Y/m/d")."','".date("h:i A")."','".${${"GLOBALS"}["sjiqbb"]}."','$trans_id','$trans_tbl','$comid','$stockqty_json_cqty','$cqty_json','$clos_locqty_json')");}function getlocationName($locid){global$con;$wstfxppi="que";$zsyjvlmvz="row";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select location_name from t_location_master where id='$locid'");if(${$zsyjvlmvz}=mysqli_fetch_array(${$wstfxppi})){$tnletpm="row";return${$tnletpm}["location_name"];}}function getPurShow($uid){${"GLOBALS"}["pljcvwury"]="con";global$con;${"GLOBALS"}["qrftmdrpjr"]="row";${${"GLOBALS"}["fynbxoqyvqk"]}=mysqli_query(${${"GLOBALS"}["pljcvwury"]},"select show_purchase_search from user_reg where id='$uid'");$fripmj="que";if(${${"GLOBALS"}["qrftmdrpjr"]}=mysqli_fetch_array(${$fripmj})){$rgrugqjcqbd="row";return${$rgrugqjcqbd}["show_purchase_search"];}}function po_history($poid,$poitemid,$barcode,$suppid,$qty,$status,$cdate,$ctime,$uid){global$con;$yrnqspmdic="status";${"GLOBALS"}["\x6
dlixjkrbbf"]="status";if(${$yrnqspmdic}=="O"){$icoeci="con";${"GLOBALS"}["tuivefil"]="sql";${"GLOBALS"}["ccmllxdjrxcp"]="con";${"GLOBALS"}["ngbyesot"]="qty";${"GLOBALS"}["ngqvkxc"]="con";${${"GLOBALS"}["tviwemtu"]}=${${"GLOBALS"}["ngbyesot"]};$iffvwjgo="con";${${"GLOBALS"}["tuivefil"]}=mysqli_query(${${"GLOBALS"}["ccmllxdjrxcp"]},"select pqty from po_receive_history where poid='$poid' and barcode='$barcode'")or die(mysqli_error(${$icoeci}));if(mysqli_num_rows(${${"GLOBALS"}["trocgxpqxq"]})>0){${"GLOBALS"}["wvwtsmbprx"]="sql";${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${${"GLOBALS"}["wvwtsmbprx"]});${${"GLOBALS"}["tviwemtu"]}=${${"GLOBALS"}["tsjvnis"]}+${${"GLOBALS"}["xstkqcbqhlqi"]}["pqty"];}mysqli_query(${${"GLOBALS"}["ngqvkxc"]},"insert into po_receive_history(poid, itemid, barcode, suppid, qty, pqty, dates, times, uid, status) values ( '$poid' ,'$poitemid', '$barcode', '$suppid', '$qty', '$pqty', '$cdate', '$ctime', '$uid', '$status')")or die(mysqli_error(${$iffvwjgo}));}elseif(${${"GLOBALS"}["pvcvdqpr"]}=="U"){$ikjjnuchbg="data";$fnovwxbvch="sql";${"GLOBALS"}["psebbwdcdp"]="con";${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["psebbwdcdp"]},"select sum(pqty) as pqty from purchase_order_det where pqty<>0 and barcode='$barcode' and poid='$poid'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${"GLOBALS"}["imochmtrx"]="pqty";${"GLOBALS"}["fplmmnpotdc"]="con";$gucstxrclh="con";${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${$fnovwxbvch});${${"GLOBALS"}["imochmtrx"]}=${$ikjjnuchbg}["pqty"];mysqli_query(${$gucstxrclh},"insert into po_receive_history(poid, itemid, barcode, suppid, qty, pqty, dates, times, uid, status) values ( '$poid' ,'$poitemid', '$barcode', '$suppid', '$qty', '$pqty', '$cdate', '$ctime', '$uid', '$status')")or die(mysqli_error(${${"GLOBALS"}["fplmmnpotdc"]}));}elseif(${${"GLOBALS"}["mlixjkrbbf"]}=="T"){${"GLOBALS"}["dgnosh"]="con";$mpabiurw="con";mysqli_query(${$mpabiurw},"insert into po_receive_history(poid, itemid, barcode, suppid, qty, pqty, dates, times, uid, status) values ( '$poid' ,'$poitemid', '$barcode', '$suppid', '$qty', '0', '$cdate', '$ctime', '$uid', '$status')")or die(mysqli_error(${${"GLOBALS"}["dgnosh"]}));}elseif(${${"GLOBALS"}["pvcvdqpr"]}=="R"){$tgodljjhg="con";$hnlkpdbom="qty";$zphamyvp="data";${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select pqty from po_receive_history where poid='$poid' and barcode='$barcode' order by hid desc limit 1")or die(mysqli_error(${$tgodljjhg}));${"GLOBALS"}["jrkrmdvciy"]="data";$ydzvxcn="sql";${${"GLOBALS"}["jrkrmdvciy"]}=mysqli_fetch_assoc(${$ydzvxcn});${"GLOBALS"}["umomqjvdmjlr"]="con";$ylssexfw="con";${${"GLOBALS"}["tviwemtu"]}=${$zphamyvp}["pqty"]-${$hnlkpdbom};mysqli_query(${${"GLOBALS"}["umomqjvdmjlr"]},"insert into po_receive_history(poid, itemid, barcode, suppid, qty, pqty, dates, times, uid, status) values ( '$poid' ,'$poitemid', '$barcode', '$suppid', '$qty', '$pqty', '$cdate', '$ctime', '$uid', '$status')")or die(mysqli_error(${$ylssexfw}));}}function check_master_status($tblname,$column,$val,$colid){${"GLOBALS"}["dqjfdfd"]="qry";$rcupwlxumgf="val";global$con;${${"GLOBALS"}["dynfeffu"]}=trim(${${"GLOBALS"}["dynfeffu"]});${"GLOBALS"}["ryqccvun"]="num";${${"GLOBALS"}["dqjfdfd"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select $colid from $tblname where $column='".trim(${$rcupwlxumgf})."'");${${"GLOBALS"}["ryqccvun"]}=mysqli_num_rows(${${"GLOBALS"}["ezbcwdygue"]});if(${${"GLOBALS"}["qhsumqfroh"]}==0){return 0;}else{$rgvsworkr="qry";${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_array(${$rgvsworkr});return${${"GLOBALS"}["smeujppn"]}[${${"GLOBALS"}["xvtckyc"]}];}}function master_create($tblname,$column,$val,$subcat=1,$hsn=''){$pmunifnfx="val";global$con;${${"GLOBALS"}["dynfeffu"]}=trim(${$pmunifnfx});if(${${"GLOBALS"}["dynfeffu"]}!="0"&&${${"GLOBALS"}["dynfeffu"]}!=""){${"GLOBALS"}["yshkemftel"]="subcat";if(${${"GLOBALS"}["yshkemftel"]}==1){${"GLOBALS"}["kxqzieimkkg"]="con";${"GLOBALS"}["rrqlgxxnbrp"]="con";${"GLOBALS"}["ocxnyqfu"]="con";${${"GLOBALS"}["scbverhmq"]}=mysqli_query(${${"GLOBALS"}["ocxnyqfu"]},"insert into $tblname (catid, $column, storeid, hsncode) values ('1','$val','".$_SESSION["storeid"]."','$hsn')")or die(mysqli_error(${${"GLOBALS"}["rrqlgxxnbrp"]}));return mysqli_insert_id(${${"GLOBALS"}["kxqzieimkkg"]});}else{${"GLOBALS"}["prflgza"]="con";$jbjufbm="con";${${"GLOBALS"}["scbverhmq"]}=mysqli_query(${${"GLOBALS"}["prflgza"]},"insert into $tblname ($column, storeid) values ('$val','".$_SESSION["storeid"]."')")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));return mysqli_insert_id(${$jbjufbm});}}else{return 0;}}function check_combination_barcode($rate_ary,$wp_ary,$swp_ary,$scatid,$cstyle,$colr,$csize,$cbrand,$saleprice,$wp,$swp,$nmrp,$purprice,$barcode,$bstatus,$pur_item_txt_val1,$pur_item_txt_val2,$pur_item_txt_val3,$pur_item_txt_val4,$pur_item_txt_val5,$pur_item_txt_val6,$ptype,$qty,$expiry,$minstock='0',$maxstock='0',$suppid,$pur_unique_barcode="Yes"){${"GLOBALS"}["orgbkjwclrt"]="combination_locwp";$vshrdhzogqg="dp";global$con;${"GLOBALS"}["rswemd"]="swp";@${${"GLOBALS"}["nvmctbquurw"]}=$_SESSION["locid"];${"GLOBALS"}["toxvxsdzfn"]="saleprice";$dvnfjgfw="purprice";${"GLOBALS"}["sxusuqdqtw"]="scatid";$xvfdmjgpf="point_f";${"GLOBALS"}["ynbnqfug"]="dp";$kndthfqkry="dp";${${"GLOBALS"}["ynbnqfug"]}=t_param("DecimalPlace");${"GLOBALS"}["lskqyt"]="dp";$ltkdodmrk="combination_locswp";${$vshrdhzogqg}=(${${"GLOBALS"}["bxbqvxvb"]}!="")?${$kndthfqkry}:2;${"GLOBALS"}["stktucrgmqh"]="purprice";${"GLOBALS"}["swrjnelwcwh"]="point_f";${${"GLOBALS"}["vromhryessd"]}="%.".${${"GLOBALS"}["lskqyt"]}."f";$glcstfre="saleprice";${$dvnfjgfw}=sprintf(${$xvfdmjgpf},${${"GLOBALS"}["stktucrgmqh"]});${${"GLOBALS"}["c\
x77firi"]}=sprintf(${${"GLOBALS"}["swrjnelwcwh"]},${${"GLOBALS"}["toxvxsdzfn"]});${${"GLOBALS"}["iadffoqq"]}=sprintf(${${"GLOBALS"}["vromhryessd"]},${${"GLOBALS"}["iadffoqq"]});${${"GLOBALS"}["rswemd"]}=sprintf(${${"GLOBALS"}["vromhryessd"]},${${"GLOBALS"}["mjibxskgm"]});${${"GLOBALS"}["ojqiefmp"]}=sprintf(${${"GLOBALS"}["vromhryessd"]},${${"GLOBALS"}["ojqiefmp"]});${"GLOBALS"}["bhlzyxxxqu"]="con";if(${${"GLOBALS"}["sxusuqdqtw"]}==""){${"GLOBALS"}["mbxzrrao"]="scatid";${${"GLOBALS"}["mbxzrrao"]}=0;}$bhhlwgp="qry";if(${${"GLOBALS"}["krnmunohrs"]}==""){$emscyxbol="cstyle";${$emscyxbol}=0;}if(${${"GLOBALS"}["pgcfjjvco"]}==""){${${"GLOBALS"}["pgcfjjvco"]}=0;}${"GLOBALS"}["kygxargee"]="purprice";if(${${"GLOBALS"}["rtkglstcg"]}==""){${${"GLOBALS"}["rtkglstcg"]}=0;}$fpsrrdo="barcode_ret";if(${${"GLOBALS"}["prepwlhamfx"]}==""){$qfnjphomlu="expiry";${$qfnjphomlu}=0;}if(${${"GLOBALS"}["jliwgd"]}==""){${${"GLOBALS"}["jliwgd"]}=0;}if(${$glcstfre}==""){${${"GLOBALS"}["cwfiri"]}=0;}if(${${"GLOBALS"}["ojqiefmp"]}==""){$phtbts="nmrp";${$phtbts}=0;}${"GLOBALS"}["gcdshfrtg"]="combination_wpprice";if(${${"GLOBALS"}["kygxargee"]}==""){$bwdhcup="purprice";${$bwdhcup}=0;}if(${${"GLOBALS"}["yhjnkkdo"]}==""){${${"GLOBALS"}["yhjnkkdo"]}="Other";}${${"GLOBALS"}["cjiuepkx"]}=t_param("combination_saleprice");$hymlhlzhjv="combination_locwp";${${"GLOBALS"}["oaexertoar"]}=t_param("combination_locrate");${${"GLOBALS"}["orgbkjwclrt"]}=t_param("combination_locwp");${"GLOBALS"}["mkokypm"]="combination_swpprice";${${"GLOBALS"}["gcdshfrtg"]}=t_param("combination_wpprice");${$ltkdodmrk}=t_param("combination_locswp");${${"GLOBALS"}["mkokypm"]}=t_param("combination_swpprice");${${"GLOBALS"}["ezbcwdygue"]}="select comid, barcode from bar_combination where 1=1 and delstatus=0 and bstatus ='$bstatus'";if(t_param("combination_supplier")=="Y"){${"GLOBALS"}["ihelbyvoxxs"]="suppid";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ezbcwdygue"]}." and suppid='".${${"GLOBALS"}["ihelbyvoxxs"]}."'";}if(t_param("combination_scat")=="Y"){$wjlhuks="scatid";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ezbcwdygue"]}." and scatid='".${$wjlhuks}."'";}if(t_param("combination_brand")=="Y"){${"GLOBALS"}["mpbsvbuf"]="qry";$ybdfbzybwfg="cbrand";$wnxnhgqnjofv="qry";${${"GLOBALS"}["mpbsvbuf"]}=${$wnxnhgqnjofv}." and cbrand='".${$ybdfbzybwfg}."'";}${"GLOBALS"}["syuhsrcir"]="barcode";if(t_param("combination_color")=="Y"){$efxjrpnq="colr";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ezbcwdygue"]}." and colr='".${$efxjrpnq}."'";}${"GLOBALS"}["cvnuqxcsa"]="ptype";if(t_param("combination_size")=="Y"){${"GLOBALS"}["pxplwcv"]="qry";${${"GLOBALS"}["pxplwcv"]}=${${"GLOBALS"}["ezbcwdygue"]}." and csize='".${${"GLOBALS"}["rtkglstcg"]}."'";}$kuwgzyt="j";if(t_param("combination_cstyle")=="Y"){${"GLOBALS"}["vyengl"]="qry";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["vyengl"]}." and cstyle='".${${"GLOBALS"}["krnmunohrs"]}."'";}if(t_param("combination_expiry")=="Y"){${"GLOBALS"}["tbublbz"]="expiry";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ezbcwdygue"]}." and expiry='".${${"GLOBALS"}["tbublbz"]}."'";}if(t_param("combination_purprice")=="Y"){${"GLOBALS"}["iygnke"]="qry";${${"GLOBALS"}["iygnke"]}=${${"GLOBALS"}["ezbcwdygue"]}." and purprice='".${${"GLOBALS"}["xqrwncty"]}."'";}$gifnhrj="combination_locrate";$ticmnds="lq";if(t_param("combination_minstock")=="Y"){$bcrwervyllt="qry";$gdbsxzp="minstock";${${"GLOBALS"}["ezbcwdygue"]}=${$bcrwervyllt}." and minstocks='".${$gdbsxzp}."'";}if(t_param("combination_maxstock")=="Y"){$rhsuratowb="qry";${${"GLOBALS"}["ezbcwdygue"]}=${$rhsuratowb}." and maxstocks='".${${"GLOBALS"}["ousurfp"]}."'";}if(t_param("pur_item_txt1")=="Y"){$feikewn="qry";${"GLOBALS"}["jcslhyuu"]="qry";${${"GLOBALS"}["jcslhyuu"]}=${$feikewn}." and pur_item_txt1='".${${"GLOBALS"}["ixmiqvvpeme"]}."'";}$jsintyxg="rq";if(t_param("pur_item_txt2")=="Y"){$jxnnsoz="qry";${"GLOBALS"}["uevhdzg"]="qry";${$jxnnsoz}=${${"GLOBALS"}["uevhdzg"]}." and pur_item_txt2='".${${"GLOBALS"}["ulqwwsqip"]}."'";}$tvextgfxrmy="sql";if(t_param("pur_item_txt3")=="Y"){$ctotmdvnh="pur_item_txt_val3";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ezbcwdygue"]}." and pur_item_txt3='".${$ctotmdvnh}."'";}if(t_param("pur_item_txt4")=="Y"){${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ezbcwdygue"]}." and pur_item_txt4='".${${"GLOBALS"}["cxsjxmzmdx"]}."'";}${"GLOBALS"}["egozkkc"]="barcode_ret";if(t_param("pur_item_txt5")=="Y"){$mnqqkmvvcr="pur_item_txt_val5";${"GLOBALS"}["bqhchogg"]="qry";${"GLOBALS"}["xbhwcfjzrsd"]="qry";${${"GLOBALS"}["xbhwcfjzrsd"]}=${${"GLOBALS"}["bqhchogg"]}." and pur_item_txt5='".${$mnqqkmvvcr}."'";}if(t_param("pur_item_txt6")=="Y"){$xtdjvanp="pur_item_txt_val6";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ezbcwdygue"]}." and pur_item_txt6='".${$xtdjvanp}."'";}if((t_param("combination_boxqty")=="Y")&&(${${"GLOBALS"}["cvnuqxcsa"]}=="Than")){$qiywfmzif="qty";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ezbcwdygue"]}." and qty='".${$qiywfmzif}."'";}if(t_param("combination_mrpprice")=="Y"){$skiubjko="qry";${$skiubjko}=${${"GLOBALS"}["ezbcwdygue"]}." and (nmrp='".${${"GLOBALS"}["ojqiefmp"]}."'
|| nmrp='0' || nmrp='' || nmrp='0.00' || nmrp='0' || nmrp='' || nmrp='0.0' )";}if(${$gifnhrj}=="N"){if(t_param("combination_saleprice")=="Y"){${"GLOBALS"}["nlnrcdnh"]="qry";$eihhxejziu="qry";${$eihhxejziu}=${${"GLOBALS"}["nlnrcdnh"]}." and ( saleprice='".${${"GLOBALS"}["cwfiri"]}."' || saleprice='0' || saleprice='' || saleprice='0.00' || saleprice='0' || saleprice='' || saleprice='0.0' )";}}if(${$hymlhlzhjv}=="N"){if(${${"GLOBALS"}["tbpdjyb"]}=="Y"){${"GLOBALS"}["yhqvpcv"]="qry";${${"GLOBALS"}["yhqvpcv"]}=${${"GLOBALS"}["ezbcwdygue"]}." and wp='".${${"GLOBALS"}["iadffoqq"]}."'";}}if(${${"GLOBALS"}["wlpmhbrmlihx"]}=="N"){if(t_param("combination_swpprice")=="Y"){$qsbtygvsk="qry";$eroemqmx="qry";${$qsbtygvsk}=${$eroemqmx}." and swp='".${${"GLOBALS"}["mjibxskgm"]}."'";}}${$ticmnds}="select * from t_location_master where id in ($store_location) ";${${"GLOBALS"}["telkuuvw"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},${${"GLOBALS"}["eisamkdle"]})or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["ycytsngn"]}="";${${"GLOBALS"}["gylocxdqybgo"]}="";${$kuwgzyt}=0;${${"GLOBALS"}["efwxhzvlr"]}=count(${${"GLOBALS"}["vejwlgd"]});${"GLOBALS"}["fowmsh"]="qry";while(${$jsintyxg}=mysqli_fetch_array(${${"GLOBALS"}["telkuuvw"]})){${"GLOBALS"}["fgwjqweetbl"]="j";$goicchryf="rate_ary";$rhxkuuimdpr="j";$ljlzfxrdvapy="lid";${"GLOBALS"}["thnqfhn"]="combination_wpprice";$vjykxakjx="combination_saleprice";$ycyxrgjd="rq";$wweuqrfyj="lid";${"GLOBALS"}["uinlgqld"]="wp_ary";${"GLOBALS"}["iqwwktxce"]="combination_locrate";$rsahdipbwst="combination_locwp";${$wweuqrfyj}=${$ycyxrgjd}["id"];$wwluvjvwli="swp_ary";if(${$ljlzfxrdvapy}=="1"){${${"GLOBALS"}["luzmjuvsfv"]}="";}${"GLOBALS"}["oefogdepyrp"]="j";if((${$goicchryf}[${$rhxkuuimdpr}]!="")&&(${${"GLOBALS"}["iqwwktxce"]}=="Y")&&(${$vjykxakjx}=="Y")){$cssniciipubi="j";$wndnlsqlu="lid";${"GLOBALS"}["yyddpo"]="qry";$nodxhlkbcdpm="qry";${${"GLOBALS"}["yyddpo"]}=${$nodxhlkbcdpm}." and ( saleprice".${${"GLOBALS"}["luzmjuvsfv"]}."='".${${"GLOBALS"}["vejwlgd"]}[${$cssniciipubi}]."' || saleprice".${$wndnlsqlu}."='' || saleprice".${${"GLOBALS"}["luzmjuvsfv"]}."='0')";}if((${${"GLOBALS"}["uinlgqld"]}[${${"GLOBALS"}["oefogdepyrp"]}]!="")&&(${$rsahdipbwst}=="Y")&&(${${"GLOBALS"}["thnqfhn"]}=="Y")){${"GLOBALS"}["togyjfwgty"]="lid";$gemtjskk="lid";$bttqruenl="j";${"GLOBALS"}["uofjrssxzuj"]="qry";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["uofjrssxzuj"]}." and ( wp".${${"GLOBALS"}["luzmjuvsfv"]}."='".${${"GLOBALS"}["vcbztzkj"]}[${$bttqruenl}]."' || wp".${$gemtjskk}."='' || wp".${${"GLOBALS"}["togyjfwgty"]}."='0')";}${"GLOBALS"}["nobwgidtu"]="combination_locswp";if((${$wwluvjvwli}[${${"GLOBALS"}["cvihqr"]}]!="")&&(${${"GLOBALS"}["nobwgidtu"]}=="Y")&&(${${"GLOBALS"}["lpirbysi"]}=="Y")){${"GLOBALS"}["kdjsbey"]="lid";${"GLOBALS"}["olekyabff"]="lid";${"GLOBALS"}["woockshlmp"]="qry";$mpowrh="qry";${${"GLOBALS"}["woockshlmp"]}=${$mpowrh}." and ( swp".${${"GLOBALS"}["kdjsbey"]}."='".${${"GLOBALS"}["bvvbysentu"]}[${${"GLOBALS"}["cvihqr"]}]."' || swp".${${"GLOBALS"}["luzmjuvsfv"]}."='' || swp".${${"GLOBALS"}["olekyabff"]}."='0')";}${${"GLOBALS"}["fgwjqweetbl"]}++;}if(${${"GLOBALS"}["syuhsrcir"]}!="0"&&${${"GLOBALS"}["emxoouub"]}!=""&&${${"GLOBALS"}["ecvnrdouls"]}=="No"){${"GLOBALS"}["wtpydsm"]="qry";${"GLOBALS"}["lvhoosbad"]="barcode";${${"GLOBALS"}["wtpydsm"]}=${${"GLOBALS"}["ezbcwdygue"]}." and barcode='".${${"GLOBALS"}["lvhoosbad"]}."'";}${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["fowmsh"]}." and ptype='$ptype'";${${"GLOBALS"}["egozkkc"]}="";${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["bhlzyxxxqu"]},${$bhhlwgp})or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["rugnpith"]}=mysqli_num_rows(${$tvextgfxrmy});if(${${"GLOBALS"}["rugnpith"]}==0){$kulgwcftlb="barcode";$thphlmmsit="bstatus";if(${$thphlmmsit}=="Y"){${"GLOBALS"}["ioyjyavmim"]="barcode_ret";${${"GLOBALS"}["ioyjyavmim"]}="0";}if(${$kulgwcftlb}=="0"&&${${"GLOBALS"}["emxoouub"]}==""){${${"GLOBALS"}["qqhismfjtfp"]}="0";}}else{${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});${${"GLOBALS"}["qqhismfjtfp"]}=${${"GLOBALS"}["xstkqcbqhlqi"]}["barcode"];}return${$fpsrrdo};}${$qrrtbnv}=t_param("pur_unique_barcode");function check_combination_status($rate_ary,$wp_ary,$swp_ary,$tax_id,$scatid,$cstyle,$colr,$csize,$cbrand,$saleprice,$wp,$swp,$nmrp,$purprice,$barcode,$bstatus,$pur_item_txt_val1,$pur_item_txt_val2,$pur_item_txt_val3,$pur_item_txt_val4,$pur_item_txt_val5,$pur_item_txt_val6,$ptype,$qty,$expiry,$minstock='0',$maxstock='0',$suppid,$pur_unique_barcode='Yes'){${"GLOBALS"}["ikntqr"]="wp";$yjcifnqwd="store_location";global$con;${"GLOBALS"}["mozbacqqxyom"]="purprice";$vymibqzu="update_qry";${"GLOBALS"}["pocewdnb"]="saleprice";$ngmpsmlvll="dp";$wznpurz="colr";$fqmgqiln="combination_wpprice";${"GLOBALS"}["ztipuoevv"]="point_f";global$t_param1;${"GLOBALS"}["qttiapr"]="point_f";$xogpbpfyu="expiry";$nunkbeudwgy="purprice";${"GLOBALS"}["gdmkjkxxge"]="dp";$smydbch="purprice";${"GLOBALS"}["bjempn"]="wp";$amhnlkvufo="point_f";${$vymibqzu}="";${"GLOBALS"}["auxlfwtr"]="dp";${"GLOBALS"}["siprgpg"]="combination_saleprice";$weeotszy="point_f";$hoafsjyl="nmrp";${${"GLOBALS"}["bxbqvxvb"]}=t_param("DecimalPlace");${${"GLOBALS"}["bxbqvxvb"]}=(${${"GLOBALS"}["auxlfwtr"]}!="")?${${"GLOBALS"}["gdmkjkxxge"]}:2;${${"GLOBALS"}["qttiapr"]}="%.".${$ngmpsmlvll}."f";${"GLOBALS"}["byvgfduat"]="scatid";${"GLOBALS"}["fjabmhdydks"]="swp";$zcliouiwll="saleprice";$mxprbbmorg
="swp";$irjqqfk="nmrp";$lppejyppbww="saleprice";${$smydbch}=sprintf(${${"GLOBALS"}["vromhryessd"]},${${"GLOBALS"}["xqrwncty"]});${${"GLOBALS"}["cwfiri"]}=sprintf(${$weeotszy},${${"GLOBALS"}["cwfiri"]});$iqiugg="cstyle";${${"GLOBALS"}["ikntqr"]}=sprintf(${${"GLOBALS"}["vromhryessd"]},${${"GLOBALS"}["bjempn"]});${${"GLOBALS"}["fjabmhdydks"]}=sprintf(${$amhnlkvufo},${$mxprbbmorg});${${"GLOBALS"}["ojqiefmp"]}=sprintf(${${"GLOBALS"}["ztipuoevv"]},${${"GLOBALS"}["ojqiefmp"]});@${$yjcifnqwd}=$_SESSION["locid"];${${"GLOBALS"}["siprgpg"]}=t_param("combination_saleprice");${${"GLOBALS"}["oaexertoar"]}=t_param("combination_locrate");${${"GLOBALS"}["tqqxuturswn"]}=t_param("combination_locwp");${$fqmgqiln}=t_param("combination_wpprice");${${"GLOBALS"}["wlpmhbrmlihx"]}=t_param("combination_locswp");${${"GLOBALS"}["lpirbysi"]}=t_param("combination_swpprice");${$nunkbeudwgy}=${${"GLOBALS"}["mozbacqqxyom"]};${${"GLOBALS"}["ojqiefmp"]}=${$hoafsjyl};${${"GLOBALS"}["pocewdnb"]}=${$lppejyppbww};if(${${"GLOBALS"}["byvgfduat"]}==""){${${"GLOBALS"}["yltmcwkc"]}=0;}if(${$iqiugg}==""){${${"GLOBALS"}["krnmunohrs"]}=0;}if(${$wznpurz}==""){${"GLOBALS"}["snjvfctb"]="colr";${${"GLOBALS"}["snjvfctb"]}=0;}if(${${"GLOBALS"}["rtkglstcg"]}==""){$vguqipvfsh="csize";${$vguqipvfsh}=0;}if(${${"GLOBALS"}["jliwgd"]}==""){${"GLOBALS"}["qyrrqmabwom"]="cbrand";${${"GLOBALS"}["qyrrqmabwom"]}=0;}if(${$xogpbpfyu}==""){${${"GLOBALS"}["prepwlhamfx"]}=0;}if(${$zcliouiwll}==""){${${"GLOBALS"}["cwfiri"]}=0;}if(${$irjqqfk}==""){${"GLOBALS"}["jbujpuhekrf"]="nmrp";${${"GLOBALS"}["jbujpuhekrf"]}=0;}if(${${"GLOBALS"}["xqrwncty"]}==""){${${"GLOBALS"}["xqrwncty"]}=0;}if(${${"GLOBALS"}["yhjnkkdo"]}==""){${${"GLOBALS"}["yhjnkkdo"]}="Other";}if(${${"GLOBALS"}["yltmcwkc"]}!=0){$pvlqkkffjsi="bstatus";${${"GLOBALS"}["ezbcwdygue"]}="select comid from bar_combination where 1=1 and delstatus=0 and bstatus ='$bstatus'";$yuhomilru="pur_unique_barcode";$mqsbdeemwimc="barcode";${"GLOBALS"}["gxujllgk"]="qry_loc";$lipemqjblg="rate_ary";${${"GLOBALS"}["emxoouub"]}=trim(${$mqsbdeemwimc});if((${$pvlqkkffjsi}=="N")||(${${"GLOBALS"}["ecvnrdouls"]}=="No")){${"GLOBALS"}["xoeqzuofxq"]="barcode";$kmsogldm="barcode";if(${$kmsogldm}!="0"&&${${"GLOBALS"}["xoeqzuofxq"]}!=""){$unemyu="qry";${$unemyu}=${${"GLOBALS"}["ezbcwdygue"]}." and barcode='$barcode'";}}if(t_param("combination_supplier")=="Y"){${"GLOBALS"}["xeomkbyg"]="suppid";${"GLOBALS"}["ipxvmdcfcy"]="qry";${${"GLOBALS"}["ipxvmdcfcy"]}=${${"GLOBALS"}["ezbcwdygue"]}." and suppid='".${${"GLOBALS"}["xeomkbyg"]}."'";}if(t_param("combination_scat")=="Y"){${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ezbcwdygue"]}." and scatid='".${${"GLOBALS"}["yltmcwkc"]}."'";}if(t_param("combination_brand")=="Y"){${"GLOBALS"}["ernfighhk"]="qry";${"GLOBALS"}["rmevpdunv"]="cbrand";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ernfighhk"]}." and cbrand='".${${"GLOBALS"}["rmevpdunv"]}."'";}if(t_param("combination_color")=="Y"){${"GLOBALS"}["pnhwwts"]="qry";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["pnhwwts"]}." and colr='".${${"GLOBALS"}["pgcfjjvco"]}."'";}if(t_param("combination_size")=="Y"){${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ezbcwdygue"]}." and csize='".${${"GLOBALS"}["rtkglstcg"]}."'";}if(t_param("combination_cstyle")=="Y"){$qxqagfqtgde="qry";${$qxqagfqtgde}=${${"GLOBALS"}["ezbcwdygue"]}." and cstyle='".${${"GLOBALS"}["krnmunohrs"]}."'";}if(t_param("combination_expiry")=="Y"){$eiggunyno="expiry";$nrzuqycgrqgd="qry";${${"GLOBALS"}["ezbcwdygue"]}=${$nrzuqycgrqgd}." and expiry='".${$eiggunyno}."'";}if(t_param("combination_purprice")=="Y"){${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ezbcwdygue"]}." and purprice='".${${"GLOBALS"}["xqrwncty"]}."'";}else{${"GLOBALS"}["umkhmneug"]="update_qry";${${"GLOBALS"}["umkhmneug"]}=${${"GLOBALS"}["zekkvniq"]}."purprice='".${${"GLOBALS"}["xqrwncty"]}."',";}${"GLOBALS"}["qngctorqksy"]="con";if(t_param("pur_item_txt1")=="Y"){${"GLOBALS"}["hcsbckp"]="pur_item_txt_val1";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ezbcwdygue"]}." and pur_item_txt1='".${${"GLOBALS"}["hcsbckp"]}."'";}if(t_param("pur_item_txt2")=="Y"){${"GLOBALS"}["pjthbonoxs"]="qry";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["pjthbonoxs"]}." and pur_item_txt2='".${${"GLOBALS"}["ulqwwsqip"]}."'";}$dlcpptn="count_val";if(t_param("pur_item_txt3")=="Y"){$rixanfy="qry";${$rixanfy}=${${"GLOBALS"}["ezbcwdygue"]}." and pur_item_txt3='".${${"GLOBALS"}["ulpmgvxajjbb"]}."'";}if(t_param("pur_item_txt4")=="Y"){$tgtsdqrtwc="qry";${"GLOBALS"}["khzrnsqi"]="pur_item_txt_val4";${${"GLOBALS"}["ezbcwdygue"]}=${$tgtsdqrtwc}." and pur_item_txt4='".${${"GLOBALS"}["khzrnsqi"]}."'";}if(t_param("pur_item_txt5")=="Y"){${"GLOBALS"}["wrxmwnee"]="qry";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["wrxmwnee"]}." and pur_item_txt5='".${${"GLOBALS"}["ilvaadypxov"]}."'";}$ncurfcs="qry";if(t_param("pur_item_txt6")=="Y"){$zfkjplqy="qry";${${"GLOBALS"}["ezbcwdygue"]}=${$zfkjplqy}." and pur_item_txt6='".${${"GLOBALS"}["yelnqnnomoah"]}."'";}${"GLOBALS"}["jgorxqhr"]="com_num";if((t_param("combination_boxqty")=="Y")&&(${${"GLOBALS"}["yhjnkkdo"]}=="Than")){${"GLOBALS"}["ipumqlmtcmm"]="qty";${"GLOBALS"}["rtbxtxg"]="qry";${${"GLOBALS"}["ezb
cwdygue"]}=${${"GLOBALS"}["rtbxtxg"]}." and qty='".${${"GLOBALS"}["ipumqlmtcmm"]}."'";}if(t_param("combination_mrpprice")=="Y"){${"GLOBALS"}["hpvxqncdxj"]="nmrp";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ezbcwdygue"]}." and (nmrp='".${${"GLOBALS"}["hpvxqncdxj"]}."' || nmrp='0' || nmrp='' || nmrp='0.00' || nmrp='0' || nmrp='' || nmrp='0.0' )";}else{${"GLOBALS"}["iaysvkqx"]="update_qry";${"GLOBALS"}["fkldfksehjd"]="update_qry";${${"GLOBALS"}["iaysvkqx"]}=${${"GLOBALS"}["fkldfksehjd"]}."nmrp='".${${"GLOBALS"}["ojqiefmp"]}."',";}if(${${"GLOBALS"}["oaexertoar"]}=="N"){if(t_param("combination_saleprice")=="Y"){$ckeuags="qry";$abnbqtj="saleprice";${${"GLOBALS"}["ezbcwdygue"]}=${$ckeuags}." and ( saleprice='".${$abnbqtj}."' || saleprice='0' || saleprice='' || saleprice='0.00' || saleprice='0' || saleprice='' || saleprice='0.0' )";}else{$gcgxmacbteop="update_qry";$gommmjupgi="saleprice";${$gcgxmacbteop}=${${"GLOBALS"}["zekkvniq"]}."saleprice='".${$gommmjupgi}."',";}}${"GLOBALS"}["mmtmhte"]="j";$uirfcmq="q";$ggcbipq="lq";$skhvccgy="qry_loc";if(${${"GLOBALS"}["tqqxuturswn"]}=="N"){$fmwudbfiurv="combination_wpprice";if(${$fmwudbfiurv}=="Y"){$meewrqdqk="qry";$rnvsmdbig="qry";${$meewrqdqk}=${$rnvsmdbig}." and wp='".${${"GLOBALS"}["iadffoqq"]}."'";}}if(${${"GLOBALS"}["wlpmhbrmlihx"]}=="N"){if(t_param("combination_swpprice")=="Y"){$klhgxoccsb="qry";${$klhgxoccsb}=${${"GLOBALS"}["ezbcwdygue"]}." and swp='".${${"GLOBALS"}["mjibxskgm"]}."'";}}${$ggcbipq}="select * from t_location_master where id in ($store_location) ";${$skhvccgy}=mysqli_query(${${"GLOBALS"}["qngctorqksy"]},${${"GLOBALS"}["eisamkdle"]})or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["ycytsngn"]}="";${${"GLOBALS"}["gylocxdqybgo"]}="";${"GLOBALS"}["jqxrtxc"]="q";${${"GLOBALS"}["mmtmhte"]}=0;${$dlcpptn}=count(${$lipemqjblg});while(${${"GLOBALS"}["ffkdgkdaoli"]}=mysqli_fetch_array(${${"GLOBALS"}["gxujllgk"]})){${"GLOBALS"}["zueejvvdri"]="lid";$rxpllcaify="j";${"GLOBALS"}["dpolulrnue"]="wp_ary";$wbvrdqddgs="combination_swpprice";${${"GLOBALS"}["luzmjuvsfv"]}=${${"GLOBALS"}["ffkdgkdaoli"]}["id"];$vpsuaxkbpw="combination_wpprice";$rlsnvbkckp="combination_saleprice";${"GLOBALS"}["ftfbsggsmz"]="combination_locwp";${"GLOBALS"}["srglpuierxm"]="j";if(${${"GLOBALS"}["zueejvvdri"]}=="1"){${"GLOBALS"}["mhrrvjmj"]="lid";${${"GLOBALS"}["mhrrvjmj"]}="";}if((${${"GLOBALS"}["vejwlgd"]}[${$rxpllcaify}]!="")&&(${${"GLOBALS"}["oaexertoar"]}=="Y")&&(${$rlsnvbkckp}=="Y")){${"GLOBALS"}["hnnxdksgerl"]="lid";${"GLOBALS"}["wixdeixijv"]="lid";${"GLOBALS"}["sindkvxhqp"]="j";${"GLOBALS"}["ojnvlgurufxe"]="rate_ary";${"GLOBALS"}["nwkenjxnndy"]="lid";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ezbcwdygue"]}." and ( saleprice".${${"GLOBALS"}["hnnxdksgerl"]}."='".${${"GLOBALS"}["ojnvlgurufxe"]}[${${"GLOBALS"}["sindkvxhqp"]}]."' || saleprice".${${"GLOBALS"}["nwkenjxnndy"]}."='' || saleprice".${${"GLOBALS"}["wixdeixijv"]}."='0')";}if((${${"GLOBALS"}["dpolulrnue"]}[${${"GLOBALS"}["cvihqr"]}]!="")&&(${${"GLOBALS"}["ftfbsggsmz"]}=="Y")&&(${$vpsuaxkbpw}=="Y")){${"GLOBALS"}["hpetix"]="lid";$wbuoqtybhd="lid";$ebnhuifpfk="qry";${"GLOBALS"}["hxmleqarje"]="j";${$ebnhuifpfk}=${${"GLOBALS"}["ezbcwdygue"]}." and ( wp".${${"GLOBALS"}["hpetix"]}."='".${${"GLOBALS"}["vcbztzkj"]}[${${"GLOBALS"}["hxmleqarje"]}]."' || wp".${$wbuoqtybhd}."='' || wp".${${"GLOBALS"}["luzmjuvsfv"]}."='0')";}if((${${"GLOBALS"}["bvvbysentu"]}[${${"GLOBALS"}["srglpuierxm"]}]!="")&&(${${"GLOBALS"}["wlpmhbrmlihx"]}=="Y")&&(${$wbvrdqddgs}=="Y")){${"GLOBALS"}["ehxbkbys"]="lid";$mnbsqxii="j";$nzqalcz="lid";${"GLOBALS"}["vedmyrks"]="qry";$stpwrcwsgwc="lid";${${"GLOBALS"}["vedmyrks"]}=${${"GLOBALS"}["ezbcwdygue"]}." and ( swp".${$nzqalcz}."='".${${"GLOBALS"}["bvvbysentu"]}[${$mnbsqxii}]."' || swp".${$stpwrcwsgwc}."='' || swp".${${"GLOBALS"}["ehxbkbys"]}."='0')";}${${"GLOBALS"}["cvihqr"]}++;}if(t_param("combination_minstock")=="Y"){$bzulaekyjp="minstock";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["ezbcwdygue"]}." and minstocks='".${$bzulaekyjp}."'";}if(t_param("combination_maxstock")=="Y"){${"GLOBALS"}["xcvdixduu"]="qry";${${"GLOBALS"}["ezbcwdygue"]}=${${"GLOBALS"}["xcvdixduu"]}." and maxstocks='".${${"GLOBALS"}["ousurfp"]}."'";}${$ncurfcs}=${${"GLOBALS"}["ezbcwdygue"]}." and ptype='$ptype'";${${"GLOBALS"}["jqxrtxc"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},${${"GLOBALS"}["ezbcwdygue"]});${${"GLOBALS"}["qtbyarghns"]}=mysqli_num_rows(${$uirfcmq});if(${$yuhomilru}=="No"){${"GLOBALS"}["veilqgi"]="bstatus";${${"GLOBALS"}["veilqgi"]}="N";}if(${${"GLOBALS"}["gpmythktrtyk"]}=="Y"&&${${"GLOBALS"}["srttdgtpat"]}=="Y"){${"GLOBALS"}["iqrwtkeahvd"]="barcode";${${"GLOBALS"}["qtbyarghns"]}=0;${${"GLOBALS"}["iqrwtkeahvd"]}="0";}else{${${"GLOBALS"}["qtbyarghns"]}=mysqli_num_rows(${${"GLOBALS"}["ncqfhgdfqe"]});}if(${${"GLOBALS"}["jgorxqhr"]}==0){${"GLOBALS"}["cqhukqwumtnm"]="qry";${"GLOBALS"}["mmmvrkacxp"]="barcode";${"GLOBALS"}["opctdodhxir"]="rate_ary";${"GLOBALS"}["phajpvbhiy"]="barcode";${"GLOBALS"}["eynxnyidgw"]="con";${"GLOBALS"}["lobjikl"]="j";$ekfyafnwfryw="lq";${"GLOBALS"}["xwabrrhdm"]="qry_loc";if((${${"GLOBALS"}["mmmvrkacxp"]}=="0")||(${${"GLOBALS"}["phajpvbhiy"]}=="")){$ytmulrhjvll=
"barcode";${"GLOBALS"}["exhksnoro"]="con";${${"GLOBALS"}["ouqbhkxazs"]}=mysqli_fetch_array(mysqli_query(${${"GLOBALS"}["exhksnoro"]},"SELECT max(barcode) as barcode FROM bar_combination where bstatus='Y'"));${$ytmulrhjvll}=${${"GLOBALS"}["ouqbhkxazs"]}["barcode"];$ebdkfpbkkv="barcode";if(${$ebdkfpbkkv}==""){$udycinhxe="barcode";${$udycinhxe}="aa00";}${${"GLOBALS"}["emxoouub"]}++;}if(${${"GLOBALS"}["cwfiri"]}=="NaN"){$phbpaaha="saleprice";${$phbpaaha}=0;}if(${${"GLOBALS"}["ojqiefmp"]}=="NaN"){${${"GLOBALS"}["ojqiefmp"]}=0;}${"GLOBALS"}["oxyrjw"]="rq";${$ekfyafnwfryw}="select * from t_location_master where id in ($store_location) ";${"GLOBALS"}["hwrkvow"]="con";${"GLOBALS"}["ekiroeg"]="con";${${"GLOBALS"}["xwabrrhdm"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},${${"GLOBALS"}["eisamkdle"]})or die(mysqli_error(${${"GLOBALS"}["ekiroeg"]}));${${"GLOBALS"}["ycytsngn"]}="";${${"GLOBALS"}["gylocxdqybgo"]}="";${${"GLOBALS"}["lobjikl"]}=0;${${"GLOBALS"}["efwxhzvlr"]}=count(${${"GLOBALS"}["opctdodhxir"]});${"GLOBALS"}["vvxpkp"]="comid";while(${${"GLOBALS"}["oxyrjw"]}=mysqli_fetch_array(${${"GLOBALS"}["telkuuvw"]})){${"GLOBALS"}["orqgux"]="rq";${${"GLOBALS"}["luzmjuvsfv"]}=${${"GLOBALS"}["orqgux"]}["id"];${"GLOBALS"}["xvngcojdtdh"]="lid";if(${${"GLOBALS"}["luzmjuvsfv"]}=="1"){${"GLOBALS"}["yrehiedf"]="lid";${${"GLOBALS"}["yrehiedf"]}="";}if(${${"GLOBALS"}["xvngcojdtdh"]}!=""){$kfpplmtyme="j";$kepctcua="j";${"GLOBALS"}["cfsxekcm"]="combination_wpprice";if((${${"GLOBALS"}["vejwlgd"]}[${$kepctcua}]!="")&&(${${"GLOBALS"}["oaexertoar"]}=="Y")&&(${${"GLOBALS"}["cjiuepkx"]}=="Y")){$yffntu="col_val_sp";${"GLOBALS"}["xqctjniou"]="j";${"GLOBALS"}["kzudtnpzb"]="col_val_sp";$tjnjyttdh="col_name_sp";${${"GLOBALS"}["gylocxdqybgo"]}=${$tjnjyttdh}.","."saleprice".${${"GLOBALS"}["luzmjuvsfv"]};${$yffntu}=${${"GLOBALS"}["kzudtnpzb"]}.",".${${"GLOBALS"}["vejwlgd"]}[${${"GLOBALS"}["xqctjniou"]}];}${"GLOBALS"}["hkhurkrs"]="wp_ary";if((${${"GLOBALS"}["hkhurkrs"]}[${${"GLOBALS"}["cvihqr"]}]!="")&&(${${"GLOBALS"}["tqqxuturswn"]}=="Y")&&(${${"GLOBALS"}["cfsxekcm"]}=="Y")){$awoyuqzu="lid";$fumvmoce="wp_ary";$qancln="col_val_wp";${${"GLOBALS"}["fcdgkmuney"]}=${${"GLOBALS"}["fcdgkmuney"]}.","."wp".${$awoyuqzu};${"GLOBALS"}["dpfyugpqghn"]="col_val_wp";${$qancln}=${${"GLOBALS"}["dpfyugpqghn"]}.",".${$fumvmoce}[${${"GLOBALS"}["cvihqr"]}];}if((${${"GLOBALS"}["bvvbysentu"]}[${$kfpplmtyme}]!="")&&(${${"GLOBALS"}["wlpmhbrmlihx"]}=="Y")&&(${${"GLOBALS"}["lpirbysi"]}=="Y")){${"GLOBALS"}["udenvcwv"]="lid";$nodxcbxol="col_name_swp";$vskntpgxmb="swp_ary";$iwrqjfvyu="col_val_swp";${${"GLOBALS"}["rpxmweml"]}=${$nodxcbxol}.","."swp".${${"GLOBALS"}["udenvcwv"]};${$iwrqjfvyu}=${${"GLOBALS"}["gvejihdat"]}.",".${$vskntpgxmb}[${${"GLOBALS"}["cvihqr"]}];}}${${"GLOBALS"}["cvihqr"]}++;}${${"GLOBALS"}["cqhukqwumtnm"]}=mysqli_query(${${"GLOBALS"}["hwrkvow"]},"insert into bar_combination(tax_id,scatid,cstyle,colr,csize,cbrand,saleprice,nmrp,wp,swp,purprice,barcode,bstatus,pur_item_txt1,pur_item_txt2,pur_item_txt3,pur_item_txt4,pur_item_txt5,pur_item_txt6,ptype,qty,expiry$col_name_sp$col_name_wp$col_name_swp,minstocks,maxstocks,suppid) values('$tax_id','$scatid','$cstyle','$colr','$csize','$cbrand','$saleprice','$nmrp','$wp','$swp','$purprice','$barcode','$bstatus','$pur_item_txt_val1','$pur_item_txt_val2','$pur_item_txt_val3','$pur_item_txt_val4','$pur_item_txt_val5','$pur_item_txt_val6','$ptype','$qty','$expiry'$col_val_sp$col_val_wp$col_val_swp,'$minstock','$maxstock','$suppid')");if(${${"GLOBALS"}["gpmythktrtyk"]}=="Y"){mysqli_query(${${"GLOBALS"}["hospfs"]},"update t_param set nvalue='$barcode' where nkey='Last_barcode'");}${${"GLOBALS"}["boevpdtq"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select max(comid) from bar_combination")or die("Error in insert query 3: ".mysqli_error(${${"GLOBALS"}["eynxnyidgw"]}));if(${${"GLOBALS"}["kuulkorm"]}=mysqli_fetch_array(${${"GLOBALS"}["boevpdtq"]})){$dcpmvbm="comid";${"GLOBALS"}["iijsbq"]="rown";${$dcpmvbm}=${${"GLOBALS"}["iijsbq"]}[0];}${${"GLOBALS"}["frkytmlmcthe"]}=rtrim(${${"GLOBALS"}["zekkvniq"]},",");if(${${"GLOBALS"}["frkytmlmcthe"]}!=""){$pgsckgg="update_val";mysqli_query(${${"GLOBALS"}["hospfs"]},"update bar_combination set ".${$pgsckgg}." where comid= ".${${"GLOBALS"}["bhjqgfhpsrr"]});}return${${"GLOBALS"}["vvxpkp"]};}else{$taxqdf="q";$dfitldilw="count_val";${"GLOBALS"}["cnqwkb"]="up_val";${"GLOBALS"}["vdvurkbq"]="col_name_sp";${"GLOBALS"}["olahsmzx"]="lq";$ibmxwwyvirqz="up_val";${"GLOBALS"}["zktpjrys"]="con";${"GLOBALS"}["heccppyrq"]="qry_loc";${"GLOBALS"}["obqnrmwk"]="rate_ary";${${"GLOBALS"}["aaswbrqvls"]}=mysqli_fetch_array(${$taxqdf});${${"GLOBALS"}["olahsmzx"]}="select * from t_location_master where id in ($store_location) ";${${"GLOBALS"}["heccppyrq"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},${${"GLOBALS"}["eisamkdle"]})or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["ycytsngn"]}="";${${"GLOBALS"}["vdvurkbq"]}="";${${"GLOBALS"}["cvihqr"]}=0;${"GLOBALS"}["wykhcxdlkdye"]="rq";${"GLOBALS"}["cvmpnhodwce"]="up_val";$pdwqcsfn="up_val";${$dfitldilw}=count(${${"GLOBALS"}["obqnrmwk"]});${${"GLOBALS"}["iuvlaph"]}="";while(${${"GLOBALS"}["wykhcxdlkdye"]}=mysqli_fetch_array(${${"GLOBALS"}["telkuuvw"]})){$cntwbvlfq="combination_swpprice";${"GLOBALS"}["imdodvq"]="j";$kkrcendrnyj="swp_ary";$rdmvpmaw="j";$fivwfwmmjko="rq";${"GLOBAL
S"}["uxqhek"]="combination_saleprice";$bqjgvwgl="rate_ary";$sorlkrvf="j";${"GLOBALS"}["kcpipnhcc"]="combination_locswp";${${"GLOBALS"}["luzmjuvsfv"]}=${$fivwfwmmjko}["id"];$rxxommmkaqlb="combination_locrate";if(${${"GLOBALS"}["luzmjuvsfv"]}=="1"){${${"GLOBALS"}["luzmjuvsfv"]}="";}$pnloxuld="combination_locwp";if((${$bqjgvwgl}[${${"GLOBALS"}["cvihqr"]}]!="")&&(${$rxxommmkaqlb}=="Y")&&(${${"GLOBALS"}["uxqhek"]}=="Y")){${"GLOBALS"}["hzktwlkm"]="rate_ary";${${"GLOBALS"}["iuvlaph"]}=${${"GLOBALS"}["iuvlaph"]}."saleprice".${${"GLOBALS"}["luzmjuvsfv"]}."=".${${"GLOBALS"}["hzktwlkm"]}[${${"GLOBALS"}["cvihqr"]}].",";}if((${${"GLOBALS"}["vcbztzkj"]}[${$sorlkrvf}]!="")&&(${$pnloxuld}=="Y")&&(${${"GLOBALS"}["tbpdjyb"]}=="Y")){${"GLOBALS"}["gsvizn"]="up_val";${${"GLOBALS"}["gsvizn"]}=${${"GLOBALS"}["iuvlaph"]}."wp".${${"GLOBALS"}["luzmjuvsfv"]}."=".${${"GLOBALS"}["vcbztzkj"]}[${${"GLOBALS"}["cvihqr"]}].",";}if((${$kkrcendrnyj}[${${"GLOBALS"}["imdodvq"]}]!="")&&(${${"GLOBALS"}["kcpipnhcc"]}=="Y")&&(${$cntwbvlfq}=="Y")){${"GLOBALS"}["nrymcxwqn"]="up_val";$kiexvylydyul="lid";${${"GLOBALS"}["iuvlaph"]}=${${"GLOBALS"}["nrymcxwqn"]}."swp".${$kiexvylydyul}."=".${${"GLOBALS"}["bvvbysentu"]}[${${"GLOBALS"}["cvihqr"]}].",";}${$rdmvpmaw}++;}${"GLOBALS"}["zixcukvmir"]="comr";if(${${"GLOBALS"}["cvmpnhodwce"]}==""){$bgsmbaefwn="update_val";${$bgsmbaefwn}=rtrim(${${"GLOBALS"}["zekkvniq"]},",");}${$pdwqcsfn}=rtrim(${${"GLOBALS"}["cnqwkb"]},",");mysqli_query(${${"GLOBALS"}["zktpjrys"]},"update bar_combination set ".${${"GLOBALS"}["frkytmlmcthe"]}." ".${$ibmxwwyvirqz}." where comid = ".${${"GLOBALS"}["aaswbrqvls"]}["comid"]);return${${"GLOBALS"}["zixcukvmir"]}["comid"];}}}function update_combination_status($scatid,$cstyle,$colr,$csize,$cbrand,$saleprice,$nmrp,$purprice,$comid){global$con;$mgqcnxhixcs="colr";$mxqqbzd="csize";if(${${"GLOBALS"}["yltmcwkc"]}==""){${${"GLOBALS"}["yltmcwkc"]}=0;}if(${${"GLOBALS"}["krnmunohrs"]}==""){${"GLOBALS"}["voiiornyssrx"]="cstyle";${${"GLOBALS"}["voiiornyssrx"]}=0;}${"GLOBALS"}["fsamniey"]="cbrand";if(${$mgqcnxhixcs}==""){$mvriei="colr";${$mvriei}=0;}if(${$mxqqbzd}==""){$gdsyyxtbr="csize";${$gdsyyxtbr}=0;}if(${${"GLOBALS"}["fsamniey"]}==""){${"GLOBALS"}["wkfyijtulfr"]="cbrand";${${"GLOBALS"}["wkfyijtulfr"]}=0;}if(${${"GLOBALS"}["yltmcwkc"]}!=0){mysqli_query(${${"GLOBALS"}["hospfs"]},"update bar_combination set saleprice='$saleprice',nmrp='$nmrp',purprice='$purprice' ,scatid='$scatid',cstyle='$cstyle' ,csize='$csize',cbrand='$cbrand' where comid = ".${${"GLOBALS"}["bhjqgfhpsrr"]});}}function chk_barcode($comid){$shbhmg="count";$khimsekqhg="sql";global$con;${$khimsekqhg}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select barcode from bar_combination where comid='$comid' and bstatus='Y' limit 0,1")or die("Error in barcode generation ".mysqli_error(${${"GLOBALS"}["hospfs"]}));$bugrclgeytq="sql";${${"GLOBALS"}["rugnpith"]}=mysqli_num_rows(${$bugrclgeytq});if(${$shbhmg}!=0){${"GLOBALS"}["jrpolib"]="data";$wjfiwpp="sql";${${"GLOBALS"}["jrpolib"]}=mysqli_fetch_assoc(${$wjfiwpp});${${"GLOBALS"}["emxoouub"]}=${${"GLOBALS"}["xstkqcbqhlqi"]}["barcode"];}else{$ivmspmournns="sql1";${"GLOBALS"}["vuamhe"]="con";$zfkrrfy="barcode1";${${"GLOBALS"}["pbrvgtyherby"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select barcode from bar_combination where comid=(select max(comid) from bar_combination where bstatus='Y')")or die("Error Barcode Generation Max Comid qry : ".mysqli_error(${${"GLOBALS"}["vuamhe"]}));$ihtnhm="barcode1";${${"GLOBALS"}["xutkinfpivud"]}=mysqli_fetch_assoc(${$ivmspmournns});${"GLOBALS"}["bldwwllubgq"]="barcode";${${"GLOBALS"}["eltjufkfh"]}=${${"GLOBALS"}["xutkinfpivud"]}["barcode"];${$zfkrrfy}++;${${"GLOBALS"}["bldwwllubgq"]}=${$ihtnhm};}return${${"GLOBALS"}["emxoouub"]};}function invert_date($cdate){$rxtewrrbtfct="date";${"GLOBALS"}["jjzbfpfiiif"]="date";${"GLOBALS"}["jhtvbg"]="cdate";$olkxpgbtbii="date";${$rxtewrrbtfct}=explode("/",${${"GLOBALS"}["jhtvbg"]});return${${"GLOBALS"}["jjzbfpfiiif"]}[2]."/".${${"GLOBALS"}["hlfhcr"]}[1]."/".${$olkxpgbtbii}[0];}function convert_date($cdate){${"GLOBALS"}["oufrndl"]="date";${"GLOBALS"}["rnpsnjup"]="date";$cgdcmvitd="date";${"GLOBALS"}["gmjplzsjvv"]="cdate";${${"GLOBALS"}["oufrndl"]}=explode("/",${${"GLOBALS"}["gmjplzsjvv"]});return${${"GLOBALS"}["rnpsnjup"]}[2]."/".${${"GLOBALS"}["hlfhcr"]}[1]."/".${$cgdcmvitd}[0];}function send_sms($mobile,$message,$url="bulk.bulksmsguru.in/sendsms",$senderid="",$lang='English'){${"GLOBALS"}["mcspvivshu"]="username";${"GLOBALS"}["xshufvbnk"]="opts";$qlhxybfdzx="context";${${"GLOBALS"}["mcspvivshu"]}=sms_username($_SESSION["loc_default"]);${"GLOBALS"}["ntixnn"]="lang";$dbxyfyjj="domain";$soeiuvyxfv="username";${${"GLOBALS"}["zfubsqbizo"]}=sms_password($_SESSION["loc_default"]);${${"GLOBALS"}["lxxfbjd"]}=sms_senderid($_SESSION["loc_default"]);$lutczpqes="response";$fufqwnkul="fp";$zvndeehofty="message";if(filter_var(${${"GLOBALS"}["ywgnmifsvrd"]},FILTER_VALIDATE_URL)){${${"GLOBALS"}["ywgnmifsvrd"]};}else{${"GLOBALS"}["arcdrodriig"]="url";${${"GLOBALS"}["arcdrodriig"]}=t_param("sms_url");}$nyjazzhhofwf="fp";${"GLOBALS"}["thiillzbrkn"]="password";${"GLOBALS"}["ocprri"]="context";if(${${"GLOBALS"}["ntixnn"]}=="Hindi"){${${"GLOBALS"}["ywgnmifsvrd"]}="bulk.bulksmsguru.in/sendsms";${"GLOBALS"}["lsvlfcvnex"]="url";${${"GLOBALS"}["ywgnmifsvrd"]}=explode("/",${${"GLOBALS"}["lsvlfcvnex"]})[0]."/sendunicodesms";}elseif(${${"GLOBALS"}["sgxzulggf"]}=="English"){${${"GLOBALS"}["ywgnmifsvrd"]}="bulk.bulksmsguru.in/sendsms";}${${"GLOBALS"}["ppoutpseep"]}="POST";${$soeiuvyxfv}=urlencode(
${${"GLOBALS"}["imrszlzgc"]});${${"GLOBALS"}["thiillzbrkn"]}=urlencode(${${"GLOBALS"}["zfubsqbizo"]});${"GLOBALS"}["rfxbntgci"]="message";${$zvndeehofty}=urlencode(${${"GLOBALS"}["rfxbntgci"]});${$dbxyfyjj}="$url?uname=$username&pwd=$password&senderid=$senderid&to=$mobile&msg=$message&route=T";${${"GLOBALS"}["xshufvbnk"]}=array("http"=>array("method"=>"GET","content"=>"uname=$username&pwd=$password&senderid=$senderid&to=$mobile&msg=$message&route=T","header"=>"Accept-language: en\r\n"."Cookie: foo=bar\r\n"));${${"GLOBALS"}["ocprri"]}=stream_context_create(${${"GLOBALS"}["jlcnwslmg"]});${"GLOBALS"}["biumoxfhh"]="fp";${${"GLOBALS"}["brasjkplewk"]}=fopen("http://$domain","r",false,${$qlhxybfdzx});${$lutczpqes}=@stream_get_contents(${${"GLOBALS"}["biumoxfhh"]});if(${${"GLOBALS"}["bfpbuj"]}!=""){return${${"GLOBALS"}["bfpbuj"]};}else{return"SMS API Didnt Responde";}fpassthru(${$nyjazzhhofwf});fclose(${$fufqwnkul});}function dayclose($uid){$xgnbvpoejtk="sql";$zsyicbfv="data";global$con;${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select count(clid) as dayclose from daily_closing where uid='$uid' and cdate='".date("Y/m/d")."'")or die(mysqli_error());${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${$xgnbvpoejtk});return${$zsyicbfv}["dayclose"];}function so_history($soid,$poitemid,$barcode,$suppid,$qty,$status,$cdate,$ctime,$uid){global$con;$iomkgkzpeiv="status";$rpxilogdb="status";if(${${"GLOBALS"}["pvcvdqpr"]}=="O"){$jwqkukr="con";${${"GLOBALS"}["tviwemtu"]}=${${"GLOBALS"}["tsjvnis"]};${"GLOBALS"}["grcitoqtiv"]="con";${"GLOBALS"}["ystatxg"]="con";${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["grcitoqtiv"]},"select pqty from so_receive_history where soid='$soid' and barcode='$barcode'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));if(mysqli_num_rows(${${"GLOBALS"}["trocgxpqxq"]})>0){$ypysviw="pqty";${${"GLOBALS"}["xstkqcbqhlqi"]}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});${$ypysviw}=${${"GLOBALS"}["tsjvnis"]}+${${"GLOBALS"}["xstkqcbqhlqi"]}["pqty"];}mysqli_query(${${"GLOBALS"}["ystatxg"]},"insert into so_receive_history(soid, itemid, barcode, suppid, qty, pqty, dates, times, uid, status) values ( '$soid' ,'$poitemid', '$barcode', '$suppid', '$qty', '$pqty', '$cdate', '$ctime', '$uid', '$status')")or die(mysqli_error(${$jwqkukr}));}elseif(${$rpxilogdb}=="U"){${"GLOBALS"}["hupjrdgdb"]="con";${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select sum(pqty) as pqty from purchase_order_det where pqty<>0 and barcode='$barcode' and soid='$soid'")or die(mysqli_error(${${"GLOBALS"}["hupjrdgdb"]}));$qosgzdvlfxak="data";$oumvevuyy="data";${"GLOBALS"}["kfeyotmv"]="con";${"GLOBALS"}["ixnhkclbp"]="sql";${$oumvevuyy}=mysqli_fetch_assoc(${${"GLOBALS"}["ixnhkclbp"]});${${"GLOBALS"}["tviwemtu"]}=${$qosgzdvlfxak}["pqty"];mysqli_query(${${"GLOBALS"}["hospfs"]},"insert into so_receive_history(soid, itemid, barcode, suppid, qty, pqty, dates, times, uid, status) values ( '$soid' ,'$poitemid', '$barcode', '$suppid', '$qty', '$pqty', '$cdate', '$ctime', '$uid', '$status')")or die(mysqli_error(${${"GLOBALS"}["kfeyotmv"]}));}elseif(${${"GLOBALS"}["pvcvdqpr"]}=="T"){${"GLOBALS"}["ptotnq"]="con";mysqli_query(${${"GLOBALS"}["ptotnq"]},"insert into so_receive_history(soid, itemid, barcode, suppid, qty, pqty, dates, times, uid, status) values ( '$soid' ,'$poitemid', '$barcode', '$suppid', '$qty', '0', '$cdate', '$ctime', '$uid', '$status')")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));}elseif(${$iomkgkzpeiv}=="R"){${"GLOBALS"}["haokurkhrlw"]="con";${"GLOBALS"}["mtreuthle"]="data";$ryxsiyrx="sql";$oswsoix="data";${$ryxsiyrx}=mysqli_query(${${"GLOBALS"}["hospfs"]},"select pqty from so_receive_history where soid='$soid' and barcode='$barcode' order by hid desc limit 1")or die(mysqli_error(${${"GLOBALS"}["haokurkhrlw"]}));${${"GLOBALS"}["mtreuthle"]}=mysqli_fetch_assoc(${${"GLOBALS"}["trocgxpqxq"]});if(${$oswsoix}["pqty"]>${${"GLOBALS"}["tsjvnis"]}){$jvisew="qty";$xfhtyphflh="data";${${"GLOBALS"}["tviwemtu"]}=${$xfhtyphflh}["pqty"]-${$jvisew};}else{${"GLOBALS"}["qkqdixkps"]="data";${"GLOBALS"}["wudjcnhvf"]="qty";${${"GLOBALS"}["tviwemtu"]}=${${"GLOBALS"}["wudjcnhvf"]}-${${"GLOBALS"}["qkqdixkps"]}["pqty"];}mysqli_query(${${"GLOBALS"}["hospfs"]},"insert into so_receive_history(soid, itemid, barcode, suppid, qty, pqty, dates, times, uid, status) values ( '$soid' ,'$poitemid', '$barcode', '$suppid', '$qty', '$pqty', '$cdate', '$ctime', '$uid', '$status')")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));}}function getbankname($id){${"GLOBALS"}["sdnrxawsxaw"]="con";global$con;${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_assoc(mysqli_query(${${"GLOBALS"}["sdnrxawsxaw"]},"select bname from master_bank where bid ='$id'"));$rnqnhixliu="row";echo${$rnqnhixliu}["bname"];}function convert_number_to_words($number){$sezpomoe="number";${"GLOBALS"}["psgskfj"]="number";${"GLOBALS"}["nntpfkbeh"]="result";$dsixiubg="point";${$sezpomoe}=${${"GLOBALS"}["psgskfj"]};${"GLOBALS"}["mhbbrzye"]="point";${${"GLOBALS"}["dnwydfrbtll"]}=round(${${"GLOBALS"}["rlvulih"]});${"GLOBALS"}["wxidjmoi"]="digits";$oiffpmvt="hundred";${"GLOBALS"}["devhpfglk"]="no";${${"GLOBALS"}["mdbxzns"]}=round(${${"GLOBALS"}["rlvulih"]}-${${"GLOBALS"}["dnwydfrbtll"]},2)*100;${"GLOBALS"}["xngilencwcrp"]="str";${$oiffpmvt}=null;${${"GLOBALS"}["nxwcqhddim"]}=strlen(${${"GLOBALS"}["devhpfglk"]});${${"GLOBALS"}["ywwlbweisdlo"]}=0;${${"GLOBALS"}["cssnlywsge"]}=array();${${"GLOBALS"}["sieqqtsiik"]}=array("0"=>"","1"=>"One","2"=>"Two","3"=>"Three","4"=>"Four","5"=>"Five","6"=>"Six","7"=>"Seven",
"8"=>"Eight","9"=>"Nine","10"=>"Ten","11"=>"Eleven","12"=>"Twelve","13"=>"Thirteen","14"=>"Fourteen","15"=>"Fifteen","16"=>"Sixteen","17"=>"Seventeen","18"=>"Eighteen","19"=>"Nineteen","20"=>"Twenty","30"=>"Thirty","40"=>"Forty","50"=>"Fifty","60"=>"Sixty","70"=>"Seventy","80"=>"Eighty","90"=>"Ninety");${"GLOBALS"}["fqhtoqem"]="i";$ussftlonyr="words";${${"GLOBALS"}["wxidjmoi"]}=array("","Hundred","Thousand","Lakh","Crore");while(${${"GLOBALS"}["fqhtoqem"]}<${${"GLOBALS"}["nxwcqhddim"]}){$mnpodbb="divider";${"GLOBALS"}["deiwvdxbhlgp"]="no";$mjpuaekpf="no";${${"GLOBALS"}["lfcucrji"]}=(${${"GLOBALS"}["ywwlbweisdlo"]}==2)?10:100;$kwgasie="i";$xqcqbbb="divider";${${"GLOBALS"}["rlvulih"]}=floor(${${"GLOBALS"}["deiwvdxbhlgp"]}%${$mnpodbb});${${"GLOBALS"}["dnwydfrbtll"]}=floor(${$mjpuaekpf}/${${"GLOBALS"}["lfcucrji"]});${$kwgasie}+=(${$xqcqbbb}==10)?1:2;${"GLOBALS"}["lophkfyg"]="str";if(${${"GLOBALS"}["rlvulih"]}){${"GLOBALS"}["xtoqfrdww"]="plural";$spwkjbdw="words";${"GLOBALS"}["mixfipydcde"]="counter";${"GLOBALS"}["ouotvev"]="number";$rlnoedvkgge="words";${"GLOBALS"}["buncjvxwrxq"]="number";${"GLOBALS"}["jwyaxyvcfee"]="str";${"GLOBALS"}["mpvtlwsle"]="hundred";$zmtsboupwls="plural";${"GLOBALS"}["gxbjtpshksp"]="words";${"GLOBALS"}["ulvkblupi"]="str";$ilmqjmjh="plural";${$ilmqjmjh}=((${${"GLOBALS"}["erepcrcyfq"]}=count(${${"GLOBALS"}["cssnlywsge"]}))&&${${"GLOBALS"}["rlvulih"]}>9)?"s":null;$jxhvujk="digits";${${"GLOBALS"}["wzckwz"]}=(${${"GLOBALS"}["erepcrcyfq"]}==1&&${${"GLOBALS"}["jwyaxyvcfee"]}[0])?" and ":null;${${"GLOBALS"}["ulvkblupi"]}[]=(${${"GLOBALS"}["rlvulih"]}<21)?${${"GLOBALS"}["gxbjtpshksp"]}[${${"GLOBALS"}["rlvulih"]}]." ".${$jxhvujk}[${${"GLOBALS"}["mixfipydcde"]}].${$zmtsboupwls}." ".${${"GLOBALS"}["wzckwz"]}:${$spwkjbdw}[floor(${${"GLOBALS"}["buncjvxwrxq"]}/10)*10]." ".${$rlnoedvkgge}[${${"GLOBALS"}["ouotvev"]}%10]." ".${${"GLOBALS"}["yfyzekob"]}[${${"GLOBALS"}["erepcrcyfq"]}].${${"GLOBALS"}["xtoqfrdww"]}." ".${${"GLOBALS"}["mpvtlwsle"]};}else${${"GLOBALS"}["lophkfyg"]}[]=null;}${${"GLOBALS"}["xngilencwcrp"]}=array_reverse(${${"GLOBALS"}["cssnlywsge"]});$pqijwbc="point";${${"GLOBALS"}["nntpfkbeh"]}=implode("",${${"GLOBALS"}["cssnlywsge"]});${${"GLOBALS"}["hygsvbblzm"]}=(${$dsixiubg})?".".${${"GLOBALS"}["sieqqtsiik"]}[${${"GLOBALS"}["mdbxzns"]}/10]." ".${$ussftlonyr}[${${"GLOBALS"}["mhbbrzye"]}=${$pqijwbc}%10]:"";return${${"GLOBALS"}["ugrcvh"]}."Rupees ";}function whatsapp_api(){${"GLOBALS"}["plmwdzsjhs"]="num";$licqrsqls="con";$nxohndy="sql";${"GLOBALS"}["gpahay"]="sql";${"GLOBALS"}["kuxxjbzip"]="num";global$con;${$nxohndy}=mysqli_query(${$licqrsqls},"select apikey from master_whatsapp_config where status='Enable' and locid = '".$_SESSION["loc_default"]."'")or die(mysqli_error(${${"GLOBALS"}["hospfs"]}));${${"GLOBALS"}["plmwdzsjhs"]}=mysqli_num_rows(${${"GLOBALS"}["gpahay"]});${${"GLOBALS"}["tegssnor"]}="";if(${${"GLOBALS"}["kuxxjbzip"]}==1){$krcvgxr="sql";${"GLOBALS"}["kvyykxxb"]="row";${"GLOBALS"}["rispdkc"]="row";$dhxijqrbn="apikey";${${"GLOBALS"}["kvyykxxb"]}=mysqli_fetch_assoc(${$krcvgxr});${$dhxijqrbn}=${${"GLOBALS"}["rispdkc"]}["apikey"];}return${${"GLOBALS"}["tegssnor"]};}function sendwhatsapp($mobile,$message){${"GLOBALS"}["fdiibhxj"]="message";$ykjnsdwydzh="mobile";${${"GLOBALS"}["poxyosix"]}="+91".${$ykjnsdwydzh};${${"GLOBALS"}["fdiibhxj"]}=urlencode(${${"GLOBALS"}["ywpkjc"]});$gulscxklt="curl";$tocsxq="err";${${"GLOBALS"}["tegssnor"]}=whatsapp_api();${${"GLOBALS"}["fckkcit"]}=curl_init();curl_setopt_array(${$gulscxklt},array(CURLOPT_URL=>"http://panel.apiwha.com/send_message.php?apikey=$apikey&number=$mobile&text=$message",CURLOPT_RETURNTRANSFER=>true,CURLOPT_ENCODING=>"",CURLOPT_MAXREDIRS=>10,CURLOPT_TIMEOUT=>30,CURLOPT_HTTP_VERSION=>CURL_HTTP_VERSION_1_1,CURLOPT_CUSTOMREQUEST=>"GET",));$oowpjtrfrl="curl";${${"GLOBALS"}["bfpbuj"]}=curl_exec(${${"GLOBALS"}["fckkcit"]});${$tocsxq}=curl_error(${${"GLOBALS"}["fckkcit"]});curl_close(${$oowpjtrfrl});return${${"GLOBALS"}["bfpbuj"]};}function getHsnCode($scatid,$comid,$cstatus,$ref_type){global$con;${"GLOBALS"}["ghnxnnmo"]="cstatus";$vvlxgixyf="sql";if(${${"GLOBALS"}["ghnxnnmo"]}=="scatid"){${"GLOBALS"}["xkjudwyiusr"]="scatid";${"GLOBALS"}["eccpacwmjd"]="con";${${"GLOBALS"}["trocgxpqxq"]}=mysqli_query(${${"GLOBALS"}["eccpacwmjd"]},"select hsncode from master_subcategory where scatid='".${${"GLOBALS"}["xkjudwyiusr"]}."'")or die(mysqli_error());}else{$ncnsichb="comid";${"GLOBALS"}["jwsfnnq"]="con";$okiskgw="sql";${$okiskgw}=mysqli_query(${${"GLOBALS"}["jwsfnnq"]},"select hsncode from bar_combination where comid='".${$ncnsichb}."'")or die(mysqli_error());}if(${${"GLOBALS"}["smeujppn"]}=mysqli_fetch_assoc(${$vvlxgixyf})){$exsqwqfkqn="row";return${$exsqwqfkqn}["hsncode"];}else{return"";}}include_once"tax_functions.php";include_once"new_functions.php";
?>
Did this file decode correctly?
Original Code
<?php ${"\x47\x4cOB\x41\x4cS"}["\x66\x63\x6b\x6b\x63it"]="\x63ur\x6c";${"\x47\x4cOB\x41LS"}["y\x77\x70\x6b\x6a\x63"]="m\x65s\x73\x61\x67\x65";${"GLO\x42AL\x53"}["\x70\x6fxyosix"]="mo\x62\x69\x6ce";${"GL\x4f\x42AL\x53"}["\x74\x65\x67s\x73\x6e\x6f\x72"]="ap\x69\x6b\x65\x79";${"GL\x4f\x42\x41\x4c\x53"}["\x75g\x72\x63\x76h"]="res\x75lt";${"\x47L\x4f\x42\x41\x4cS"}["h\x79\x67s\x76\x62b\x6c\x7a\x6d"]="\x70\x6f\x69\x6e\x74s";${"G\x4c\x4f\x42\x41\x4cS"}["\x79f\x79\x7a\x65\x6b\x6f\x62"]="\x64\x69\x67its";${"G\x4cOB\x41L\x53"}["\x77\x7a\x63\x6bwz"]="\x68u\x6edr\x65\x64";${"\x47\x4cOB\x41\x4c\x53"}["\x65\x72ep\x63r\x63\x79\x66\x71"]="c\x6fu\x6e\x74\x65\x72";${"G\x4cO\x42\x41\x4cS"}["\x6c\x66\x63\x75\x63\x72\x6a\x69"]="d\x69\x76\x69\x64e\x72";${"\x47\x4c\x4fBA\x4cS"}["sieqq\x74\x73ii\x6b"]="\x77\x6fr\x64\x73";${"G\x4c\x4fBA\x4cS"}["\x63\x73s\x6ely\x77s\x67\x65"]="\x73\x74r";${"\x47L\x4f\x42\x41\x4cS"}["n\x78w\x63q\x68d\x64\x69m"]="d\x69g\x69\x74s\x5f\x31";${"GLO\x42A\x4c\x53"}["\x6d\x64b\x78\x7a\x6e\x73"]="\x70\x6f\x69n\x74";${"\x47L\x4f\x42\x41\x4cS"}["r\x6c\x76u\x6c\x69h"]="\x6e\x75mb\x65\x72";${"G\x4cO\x42\x41\x4cS"}["\x64n\x77yd\x66\x72\x62\x74\x6c\x6c"]="n\x6f";${"\x47L\x4f\x42A\x4c\x53"}["\x62\x66p\x62u\x6a"]="\x72\x65\x73p\x6f\x6es\x65";${"\x47LO\x42\x41\x4c\x53"}["\x62\x72a\x73\x6a\x6b\x70\x6c\x65\x77\x6b"]="f\x70";${"\x47\x4c\x4f\x42\x41LS"}["\x6a\x6cc\x6e\x77\x73\x6c\x6dg"]="\x6f\x70\x74\x73";${"\x47\x4c\x4f\x42ALS"}["i\x6d\x72\x73\x7a\x6c\x7a\x67\x63"]="\x75s\x65\x72\x6e\x61\x6d\x65";${"\x47L\x4fBA\x4cS"}["\x70\x70\x6fu\x74\x70\x73\x65\x65p"]="m\x65\x74\x68\x6fd";${"GL\x4f\x42\x41\x4cS"}["\x73\x67\x78\x7au\x6cg\x67f"]="\x6ca\x6e\x67";${"\x47LOBA\x4cS"}["\x79w\x67\x6e\x6d\x69\x66\x73\x76rd"]="\x75\x72l";${"G\x4c\x4fB\x41\x4cS"}["\x6c\x78\x78\x66\x62\x6a\x64"]="\x73\x65\x6e\x64e\x72\x69\x64";${"GL\x4f\x42A\x4c\x53"}["\x7a\x66\x75bs\x71\x62\x69\x7ao"]="\x70\x61\x73\x73word";${"\x47\x4c\x4f\x42A\x4cS"}["\x68l\x66\x68\x63\x72"]="d\x61\x74\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["\x65l\x74\x6au\x66\x6bf\x68"]="\x62a\x72\x63od\x65\x31";${"\x47L\x4f\x42\x41\x4c\x53"}["xutki\x6ef\x70\x69vu\x64"]="\x64a\x74\x61\x31";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70b\x72\x76g\x74\x79\x68\x65\x72\x62\x79"]="\x73\x71l\x31";${"\x47L\x4f\x42\x41\x4c\x53"}["i\x75\x76\x6c\x61\x70h"]="\x75\x70\x5fv\x61\x6c";${"\x47\x4cOB\x41\x4c\x53"}["aa\x73w\x62r\x71\x76l\x73"]="c\x6f\x6dr";${"\x47L\x4fB\x41\x4c\x53"}["\x66r\x6b\x79\x74\x6d\x6cmct\x68\x65"]="up\x64\x61\x74e\x5f\x76\x61\x6c";${"G\x4c\x4f\x42A\x4c\x53"}["\x6bu\x75l\x6b\x6f\x72\x6d"]="\x72\x6fwn";${"G\x4c\x4fBA\x4cS"}["\x62\x6fev\x70d\x74\x71"]="ma\x78\x5f\x71uery\x6e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["g\x76e\x6ai\x68\x64\x61\x74"]="co\x6c\x5f\x76a\x6c\x5f\x73wp";${"\x47\x4c\x4f\x42\x41\x4cS"}["r\x70\x78mwe\x6dl"]="c\x6f\x6c_\x6e\x61\x6d\x65\x5f\x73\x77p";${"\x47\x4c\x4f\x42\x41L\x53"}["\x66\x63\x64\x67\x6bmun\x65\x79"]="\x63\x6f\x6c_\x6eam\x65\x5f\x77p";${"G\x4cO\x42\x41L\x53"}["\x6f\x75\x71\x62\x68kx\x61\x7a\x73"]="\x62\x61r\x5f\x71\x72\x79";${"\x47\x4cO\x42\x41\x4c\x53"}["\x73\x72\x74\x74\x64\x67\x74pa\x74"]="\x74\x5fp\x61ram\x31";${"\x47\x4c\x4fBA\x4cS"}["\x67\x70\x6d\x79t\x68\x6bt\x72\x74\x79k"]="b\x73\x74a\x74\x75\x73";${"\x47L\x4f\x42\x41LS"}["q\x74\x62\x79\x61\x72gh\x6es"]="com\x5f\x6eu\x6d";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66f\x6b\x64gk\x64\x61\x6f\x6c\x69"]="\x72\x71";${"GLOB\x41\x4c\x53"}["\x79\x65\x6cnqnn\x6f\x6d\x6fah"]="\x70u\x72\x5f\x69\x74\x65\x6d\x5f\x74\x78\x74\x5fva\x6c6";${"\x47\x4cO\x42\x41\x4c\x53"}["\x69l\x76a\x61dyp\x78o\x76"]="\x70\x75\x72\x5f\x69\x74\x65\x6d\x5f\x74x\x74\x5f\x76a\x6c\x35";${"\x47L\x4f\x42\x41\x4cS"}["\x75l\x70\x6d\x67\x76\x78\x61\x6a\x6ab\x62"]="p\x75r_\x69t\x65\x6d\x5f\x74\x78\x74_\x76al3";${"\x47\x4cOB\x41\x4c\x53"}["ze\x6b\x6b\x76n\x69\x71"]="\x75\x70da\x74e\x5f\x71\x72\x79";${"GL\x4f\x42\x41\x4cS"}["\x79lt\x6dc\x77\x6b\x63"]="sca\x74i\x64";${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x71\x71\x78u\x74\x75\x72s\x77\x6e"]="c\x6f\x6d\x62\x69\x6eat\x69\x6f\x6e\x5fl\x6f\x63\x77p";${"G\x4c\x4f\x42\x41\x4cS"}["q\x71\x68\x69\x73\x6df\x6atf\x70"]="\x62\x61rco\x64\x65_\x72\x65\x74";${"GLOB\x41\x4c\x53"}["\x72\x75g\x6e\x70i\x74\x68"]="\x63ou\x6e\x74";${"\x47LO\x42\x41L\x53"}["e\x63\x76\x6e\x72do\x75\x6c\x73"]="\x70u\x72_\x75\x6e\x69\x71\x75\x65_b\x61rc\x6f\x64e";${"\x47\x4cO\x42\x41\x4c\x53"}["b\x76\x76\x62\x79se\x6e\x74\x75"]="\x73\x77\x70_\x61\x72\x79";${"\x47\x4cO\x42\x41L\x53"}["lp\x69\x72\x62\x79\x73\x69"]="\x63\x6f\x6d\x62\x69\x6ea\x74\x69\x6f\x6e_sw\x70\x70rice";${"\x47L\x4f\x42\x41LS"}["\x63\x76\x69\x68\x71\x72"]="j";${"G\x4c\x4f\x42\x41\x4cS"}["v\x63\x62\x7a\x74\x7a\x6bj"]="w\x70\x5f\x61\x72y";${"\x47LO\x42A\x4c\x53"}["\x6c\x75\x7am\x6a\x75v\x73\x66v"]="\x6c\x69\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["v\x65\x6a\x77l\x67d"]="r\x61\x74e\x5f\x61\x72\x79";${"G\x4cO\x42\x41\x4cS"}["ef\x77x\x68zvl\x72"]="\x63\x6fu\x6e\x74\x5f\x76a\x6c";${"GL\x4f\x42\x41\x4cS"}["\x67\x79l\x6fcx\x64q\x79b\x67\x6f"]="col_na\x6d\x65\x5fs\x70";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ycy\x74\x73\x6eg\x6e"]="\x63o\x6c_\x76\x61\x6c\x5f\x73\x70";${"\x47L\x4f\x42A\x4cS"}["eisa\x6dk\x64\x6c\x65"]="\x6c\x71";${"\x47\x4cOB\x41\x4cS"}["telk\x75\x75\x76\x77"]="\x71r\x79_l\x6fc";${"GLOBALS"}["\x77\x6c\x70\x6d\x68\x62\x72\x6d\x6ci\x68\x78"]="\x63\x6f\x6d\x62\x69\x6e\x61\x74\x69\x6f\x6e\x5f\x6c\x6fc\x73\x77\x70";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x74bpdj\x79\x62"]="c\x6f\x6d\x62\x69\x6e\x61ti\x6fn\x5fw\x70\x70\x72i\x63\x65";${"\x47\x4cOB\x41\x4cS"}["\x63x\x73\x6a\x78\x6d\x7a\x6ddx"]="\x70u\x72\x5fi\x74\x65m\x5f\x74\x78t\x5f\x76a\x6c4";${"\x47\x4cO\x42\x41\x4cS"}["ul\x71w\x77\x73q\x69\x70"]="\x70\x75\x72\x5f\x69\x74e\x6d\x5ft\x78\x74\x5f\x76a\x6c\x32";${"\x47LO\x42ALS"}["\x69x\x6d\x69\x71\x76v\x70eme"]="\x70ur\x5fi\x74\x65\x6d\x5f\x74\x78t\x5f\x76al\x31";${"\x47\x4cOB\x41\x4c\x53"}["\x6fu\x73\x75\x72f\x70"]="ma\x78\x73\x74\x6fck";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x71\x72w\x6e\x63\x74\x79"]="p\x75r\x70\x72i\x63e";${"GL\x4f\x42AL\x53"}["o\x61ex\x65\x72to\x61\x72"]="\x63\x6f\x6db\x69\x6e\x61\x74\x69\x6f\x6e_lo\x63ra\x74\x65";${"\x47\x4c\x4fB\x41\x4c\x53"}["c\x6ai\x75epkx"]="c\x6fm\x62i\x6e\x61\x74\x69\x6f\x6e\x5f\x73\x61\x6ce\x70\x72\x69ce";${"\x47LOB\x41\x4c\x53"}["j\x6c\x69\x77gd"]="\x63\x62\x72a\x6e\x64";${"\x47L\x4fBA\x4c\x53"}["\x70re\x70wlh\x61\x6d\x66\x78"]="\x65\x78p\x69\x72y";${"GL\x4f\x42A\x4cS"}["r\x74\x6b\x67l\x73\x74c\x67"]="\x63s\x69\x7a\x65";${"\x47\x4cOB\x41\x4c\x53"}["p\x67c\x66j\x6a\x76\x63\x6f"]="c\x6f\x6c\x72";${"G\x4c\x4fBA\x4c\x53"}["krn\x6d\x75n\x6fh\x72\x73"]="c\x73ty\x6ce";${"G\x4c\x4f\x42A\x4c\x53"}["ojq\x69\x65f\x6d\x70"]="\x6emr\x70";${"G\x4c\x4f\x42\x41\x4c\x53"}["m\x6a\x69\x62x\x73k\x67\x6d"]="s\x77p";${"\x47\x4c\x4f\x42ALS"}["\x69adf\x66\x6fq\x71"]="\x77\x70";${"\x47\x4c\x4f\x42\x41\x4cS"}["c\x77\x66i\x72\x69"]="s\x61\x6c\x65\x70ric\x65";${"\x47LO\x42\x41\x4c\x53"}["\x76rom\x68\x72ye\x73\x73d"]="\x70\x6f\x69\x6et\x5f\x66";${"G\x4cO\x42\x41L\x53"}["b\x78\x62q\x76\x78\x76b"]="d\x70";${"\x47L\x4fBA\x4c\x53"}["\x6e\x76\x6d\x63t\x62qu\x75\x72w"]="\x73\x74\x6fr\x65\x5f\x6c\x6f\x63\x61\x74\x69\x6fn";${"G\x4cO\x42\x41L\x53"}["\x73\x63b\x76\x65r\x68\x6d\x71"]="\x71\x77\x65";${"G\x4c\x4fB\x41\x4cS"}["\x78v\x74\x63k\x79\x63"]="\x63o\x6ci\x64";${"G\x4c\x4f\x42\x41\x4c\x53"}["qh\x73u\x6d\x71\x66\x72\x6fh"]="\x6e\x75\x6d";${"\x47\x4c\x4fB\x41\x4c\x53"}["e\x7ab\x63\x77\x64y\x67\x75\x65"]="\x71\x72\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["p\x76\x63\x76\x64\x71pr"]="sta\x74\x75\x73";${"\x47L\x4fBAL\x53"}["\x74\x76\x69\x77e\x6d\x74\x75"]="\x70\x71\x74y";${"\x47L\x4f\x42\x41\x4c\x53"}["\x79\x72\x72\x79d\x6ab\x72"]="\x74o\x74\x5fq\x74\x79";${"\x47L\x4f\x42\x41\x4c\x53"}["e\x6dx\x6f\x6fu\x75\x62"]="\x62\x61\x72c\x6fd\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["w\x71o\x73\x61\x76k"]="\x63\x64a\x74\x65t\x69\x6d\x65";${"\x47\x4c\x4fBA\x4c\x53"}["\x69\x72\x67\x6er\x6d\x68\x6bx\x6c"]="p\x72\x65\x76\x5fb\x6f\x78qt\x79";${"G\x4c\x4f\x42\x41L\x53"}["\x67\x70\x63\x70q\x6b\x79\x67\x72\x6f\x6b"]="\x70re\x76\x5fq\x74\x79";${"G\x4cO\x42\x41\x4c\x53"}["\x61\x64\x74x\x66\x62\x65"]="\x6do\x64e";${"\x47\x4cO\x42\x41\x4c\x53"}["ltc\x6fpka\x78fd"]="c\x6c\x73\x74oc\x6b\x5fq\x74\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["u\x72\x6fmj\x6f\x72\x6f\x73w\x79\x73"]="\x63\x75\x72\x5fb\x6f\x78q\x74y";${"\x47\x4cO\x42\x41\x4c\x53"}["\x73\x66j\x63\x6c\x63\x75b\x72"]="\x73\x74o\x63\x6b\x5f\x62ox\x71t\x79";${"GL\x4f\x42AL\x53"}["\x6fd\x6b\x6ec\x6e\x64\x79zgb"]="st\x6f\x63k_q\x74y";${"\x47\x4cO\x42\x41\x4c\x53"}["\x76mo\x6b\x6c\x6d\x71\x6fz\x69j\x6c"]="\x73\x74\x6fc\x6b\x71\x74y_\x6as\x6fn\x5fa\x72\x72\x61\x79";${"\x47L\x4f\x42\x41\x4cS"}["g\x75\x70\x6c\x61k\x6cdo\x73"]="pr\x65\x76\x6co\x63\x71ty_\x6a\x73\x6fn_\x61\x72\x72\x61\x79";${"G\x4c\x4f\x42\x41L\x53"}["u\x73\x67\x63u\x68\x78kk\x74\x78"]="\x63qt\x79\x5fj\x73on_\x61\x72\x72\x61y";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64yn\x66\x65\x66fu"]="va\x6c";${"\x47L\x4f\x42A\x4c\x53"}["\x6c\x77t\x74\x74hr"]="m\x73g\x53\x69\x64";${"G\x4c\x4fB\x41\x4c\x53"}["j\x64\x6e\x73\x64\x6f\x65\x63\x6c\x62g"]="\x76\x61\x6cu\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x72o\x63\x67\x78\x70\x71\x78\x71"]="\x73q\x6c";${"\x47LO\x42A\x4cS"}["\x75\x63\x73fjd\x72\x70s"]="\x64\x63olu\x6d\x6e\x32";${"\x47LO\x42A\x4c\x53"}["\x67\x78\x67\x68\x6a\x6d"]="\x72o\x774";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x72\x70\x6fq\x77b"]="s\x71\x6c4";${"\x47L\x4fBA\x4c\x53"}["k\x6en\x75m\x6f\x68rxz\x78\x6c"]="\x72\x6fw3";${"\x47\x4c\x4fBA\x4c\x53"}["\x63z\x78\x7au\x62\x69\x77\x6c"]="\x72\x65\x73u\x6c\x74\x33";${"\x47\x4cOB\x41\x4c\x53"}["\x6ah\x76b\x6d\x6ev\x69\x65\x72"]="\x73ql3";${"\x47L\x4fBAL\x53"}["w\x65\x63\x77\x68\x72\x6e\x7a\x69\x6f\x77"]="\x74";${"G\x4c\x4fB\x41LS"}["\x61b\x79\x78e\x7a\x65b"]="\x74a\x6dt";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x65\x78e\x6d\x6f\x77\x66i\x71\x6dn"]="\x6d\x61x\x5fq\x75\x65\x72\x792";${"GL\x4f\x42\x41L\x53"}["kr\x62pjh\x6f\x77n\x67"]="cu\x73";${"\x47\x4cOB\x41\x4c\x53"}["\x68k\x66\x79\x6cp"]="\x6d";${"\x47LO\x42A\x4c\x53"}["\x61qcc\x6biqk\x73"]="\x76n\x61\x6d\x74";${"GLO\x42AL\x53"}["\x77dh\x76e
\x6a\x62xc\x77\x63"]="\x74\x79p\x65";${"G\x4c\x4f\x42AL\x53"}["femm\x6a\x70h\x6c\x6e"]="wi\x64";${"\x47\x4c\x4fB\x41LS"}["xw\x74\x6c\x70\x68\x72mf"]="\x70\x61\x72\x61\x6d\x32";${"G\x4c\x4f\x42A\x4c\x53"}["s\x68\x64\x65\x69\x7a\x68\x69\x72n\x77"]="\x63\x61\x73\x6fut\x68\x61\x6e\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["m\x6a\x74ev\x77\x68\x6cb"]="\x63";${"G\x4cO\x42\x41\x4c\x53"}["\x69\x6b\x72\x74\x69\x70\x6c\x79\x79"]="\x63\x6co\x73\x69\x6eg\x63\x61\x73\x68";${"GL\x4f\x42\x41\x4c\x53"}["p\x66ti\x78x\x75\x72\x6c\x6c\x63\x72"]="c\x6c\x6f\x73\x69n\x67ban\x6b";${"G\x4c\x4fB\x41L\x53"}["\x67\x72z\x76\x64\x7a\x67w"]="\x63asou\x74b\x61\x6e\x6b";${"\x47\x4cO\x42AL\x53"}["\x7a\x72\x6f\x66\x6e\x6d\x6f"]="c\x31";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69r\x68b\x77j"]="\x63\x61si\x6e\x68\x61n\x64";${"G\x4cO\x42\x41L\x53"}["vun\x69\x77\x65\x71bs\x72"]="p\x61\x72a\x6d\x31";${"\x47\x4c\x4fBA\x4c\x53"}["q\x77lug\x6d\x75\x71"]="\x63\x61sin\x62a\x6e\x6b";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x74\x64f\x72\x61snb\x6c\x62\x77\x6b"]="qu\x65\x72\x79\x34";${"\x47\x4c\x4f\x42\x41L\x53"}["\x62\x67gg\x75\x61\x73e"]="\x63id";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x73\x70\x6c\x6fv\x66\x71cq\x69"]="qu\x65\x32";${"\x47L\x4fBA\x4c\x53"}["\x62\x6b\x6b\x79\x69wn\x6f\x76"]="\x71\x75\x65\x31";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x75\x7a\x66\x70\x76\x62\x79\x77\x6es"]="\x6don\x74h\x73";${"\x47\x4cO\x42ALS"}["r\x71\x65\x76m\x66\x62\x78ld\x65"]="\x79\x65a\x72\x73";${"GLO\x42A\x4c\x53"}["x\x73\x6f\x6a\x78\x67\x70\x78"]="\x64i\x66f";${"G\x4c\x4fB\x41\x4c\x53"}["v\x68\x70b\x62gr"]="sch";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62h\x64o\x62y\x65\x65\x75\x6fx\x6b"]="\x6b";${"\x47L\x4f\x42AL\x53"}["\x65\x68rmr\x79e"]="r\x6f\x77\x32";${"\x47LOB\x41L\x53"}["i\x68\x6e\x6d\x64\x79wie\x73w"]="cb\x61\x72c\x6fd\x65";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70x\x63j\x66\x79\x74l\x70r"]="\x6d\x61x_\x62\x61r\x65\x63\x6f\x64e";${"GL\x4fB\x41L\x53"}["j\x70kk\x67\x75p\x6a"]="\x69\x64";${"\x47LO\x42A\x4cS"}["b\x71\x6fv\x65\x6a\x78\x6e\x7a\x77g\x73"]="co\x6d\x5f\x76a\x6c";${"\x47LO\x42\x41L\x53"}["\x73j\x69\x71\x62b"]="\x75\x69\x64";${"\x47L\x4fB\x41\x4c\x53"}["sp\x64\x61\x6c\x6e"]="l\x6f\x63\x69\x64";${"\x47\x4cOB\x41\x4cS"}["\x79\x68\x6a\x6e\x6b\x6b\x64\x6f"]="\x70\x74\x79\x70e";${"\x47\x4cO\x42\x41\x4c\x53"}["bg\x6b\x71\x67\x76qtkg\x78"]="\x62a\x72id";${"G\x4cO\x42A\x4c\x53"}["o\x6d\x6dd\x65tv\x67w\x66\x79\x6b"]="\x72\x5f\x62\x61r\x5f\x63\x68\x6b";${"G\x4c\x4f\x42\x41\x4c\x53"}["e\x71\x6b\x62t\x75u\x69ce"]="n\x75\x6d\x5f\x62\x61\x72_c\x68\x6b";${"\x47\x4c\x4fB\x41\x4c\x53"}["t\x73\x6a\x76n\x69\x73"]="qty";${"\x47\x4c\x4fBAL\x53"}["\x74o\x74t\x63\x6e\x63f"]="\x71_\x62a\x72_c\x68\x6b";${"GL\x4fB\x41\x4c\x53"}["\x70p\x6a\x63\x6fer\x79\x6e"]="\x72\x61\x63\x6b\x5f\x69d";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ncq\x66\x68\x67\x64fqe"]="q";${"\x47L\x4f\x42\x41\x4cS"}["\x62\x68\x6a\x71gfhp\x73\x72r"]="\x63\x6f\x6di\x64";${"\x47\x4c\x4f\x42\x41\x4cS"}["b\x70\x78\x75\x61\x64\x72"]="\x71\x75\x65\x5f\x75p\x64\x61t\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["\x75\x64\x6bo\x72ykd\x68\x74\x6ad"]="n\x65\x74\x5f\x71\x74\x79";${"\x47LOB\x41\x4c\x53"}["q\x76\x72f\x74\x63h\x6cf\x6b\x6d"]="\x72ow\x5f\x73t\x6f\x63\x6b";${"G\x4cO\x42\x41\x4cS"}["\x69\x79\x78\x72c\x78"]="c\x6cs\x74\x6f\x63\x6b_\x62ox\x71\x74\x79";${"\x47\x4c\x4fB\x41\x4c\x53"}["d\x6c\x79\x64\x76\x76"]="c\x75\x72\x5f\x71\x74y";${"\x47\x4cO\x42\x41\x4c\x53"}["s\x6deujp\x70n"]="\x72o\x77";${"\x47\x4cO\x42\x41\x4cS"}["\x76\x6dr\x6fj\x64\x74h\x6a\x6e"]="loc\x61t\x69\x6f\x6e\x5f\x69\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66y\x6e\x62\x78\x6fqy\x76\x71\x6b"]="que";${"\x47\x4cO\x42\x41L\x53"}["\x74\x76\x70\x74\x61f\x6c\x6et"]="\x63\x6c\x6f\x73\x5f\x6c\x6f\x63\x71t\x79_\x6as\x6fn";${"G\x4c\x4f\x42\x41L\x53"}["\x63\x76\x62\x71\x79\x79"]="\x71u\x65\x5f\x63omb\x69\x6e\x61\x74\x69\x6f\x6e";${"G\x4cOBA\x4c\x53"}["\x66\x79\x67h\x79e\x6c\x71\x68\x77"]="c\x6fd\x65\x41\x6c\x70h\x61\x62\x65\x74";${"\x47\x4c\x4f\x42\x41L\x53"}["e\x73\x75\x69\x77\x6b"]="\x6ce\x6e\x67\x74\x68";${"\x47L\x4f\x42\x41L\x53"}["yw\x77lb\x77\x65\x69\x73\x64\x6c\x6f"]="\x69";${"\x47\x4c\x4f\x42\x41\x4cS"}["zzi\x78\x75a\x6d\x62\x72"]="\x6d\x61x";${"\x47\x4c\x4fB\x41L\x53"}["\x6e\x6ea\x72t\x79wx\x6f\x6c"]="to\x6be\x6e";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6ax\x74\x72\x76\x79\x74w\x77\x6f\x69\x6a"]="\x6e\x65w\x5fb\x69\x64";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x74\x6f\x69\x79\x77ds\x76\x75e\x67"]="\x6fld\x5f\x62\x69\x64";${"\x47L\x4f\x42A\x4c\x53"}["\x70\x6e\x6b\x6b\x6aaib\x62"]="\x73a\x6ce\x69\x64";${"\x47\x4c\x4f\x42A\x4cS"}["\x71\x67\x73\x64x\x62\x77dk\x77"]="\x61";${"GL\x4f\x42\x41\x4c\x53"}["hz\x6f\x6fy\x6c\x70\x64\x67"]="\x72\x65tamt";${"\x47\x4c\x4fBA\x4c\x53"}["b\x6e\x7a\x65\x78\x76a\x65q\x68"]="r\x65\x74_qry";${"\x47L\x4fB\x41\x4c\x53"}["m\x70\x6dc\x76\x79\x71"]="r\x65\x74_\x64\x61\x74\x61";${"\x47\x4cO\x42\x41\x4cS"}["wg\x6a\x67\x65\x6fn\x62i\x64n\x6f"]="\x61\x64v_\x64a\x74a";${"G\x4cO\x42\x41\x4c\x53"}["x\x77\x75g\x69p\x68\x61\x6a\x64\x70"]="\x61dv\x5fq\x72y";${"\x47\x4cO\x42\x41\x4cS"}["\x78s\x74kq\x63b\x71h\x6c\x71\x69"]="d\x61\x74\x61";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72\x67\x79\x75\x76p\x76\x72\x6b"]="\x72e\x74\x75r\x6e_\x61\x72\x72";${"GL\x4fBA\x4c\x53"}["\x68o\x73\x70f\x73"]="\x63\x6f\x6e";$ypbtcx="da\x74\x61\x62\x61\x73\x65\x75\x73\x65\x72i\x64";${"\x47L\x4f\x42\x41\x4c\x53"}["\x69\x70\x72\x6ba\x70\x68p"]="dat\x61b\x61\x73\x65n\x61\x6d\x65";$gxkbbdnbbq="\x64\x61\x74a\x62\x61\x73\x65pa\x73\x73wo\x72\x64";${"\x47L\x4f\x42\x41\x4cS"}["\x6cq\x67\x79\x75\x62\x62k\x76\x61"]="\x64\x61\x74a\x62\x61\x73eh\x6f\x73\x74\x6e\x61m\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["\x72\x70\x6dwnv\x72\x74\x76"]="\x63d\x61\x74\x65";date_default_timezone_set("\x41\x73i\x61/\x43a\x6ccut\x74a");${"G\x4cO\x42\x41LS"}["o\x6b\x63\x79w\x75\x6f\x72\x76\x77\x77i"]="c\x64a\x74\x65";${${"GL\x4f\x42\x41\x4c\x53"}["o\x6b\x63\x79\x77\x75\x6f\x72\x76\x77wi"]}="2\x30\x32\x30/03/0\x31";if(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x72\x70\x6d\x77nv\x72t\x76"]}<date("\x59/m/\x64")){echo"\x53of\x74\x77a\x72e\x20Ex\x70\x69\x72e";exit();}${"\x47L\x4f\x42\x41\x4c\x53"}["\x74dk\x67\x75\x6abs\x68w"]="\x64at\x61\x62aseu\x73\x65\x72\x69\x64";error_reporting(0);${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x71\x67\x79u\x62\x62\x6b\x76a"]}="loca\x6c\x68os\x74";$eruexrsvoqr="d\x61\x74\x61\x62\x61\x73epa\x73\x73w\x6fr\x64";${${"GL\x4fB\x41\x4c\x53"}["\x74\x64\x6b\x67\x75j\x62\x73h\x77"]}="\x72oo\x74";${$gxkbbdnbbq}="";${"G\x4cO\x42\x41\x4c\x53"}["\x77\x62v\x6c\x69\x66\x65\x73h"]="\x64\x61\x74\x61\x62\x61\x73\x65\x6ea\x6d\x65";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x69p\x72\x6b\x61ph\x70"]}="r\x75\x63\x68i\x5f\x72\x69\x63\x65\x5f\x6d\x61\x72\x74";${${"\x47L\x4f\x42\x41\x4cS"}["\x68os\x70f\x73"]}=mysqli_connect(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6c\x71g\x79\x75\x62\x62k\x76a"]},${$ypbtcx},${$eruexrsvoqr},${${"\x47L\x4f\x42\x41LS"}["\x77\x62\x76\x6cifesh"]})or die("Un\x61b\x6ce to\x20Con\x6e\x65ct");mysqli_query(${${"\x47\x4c\x4f\x42\x41LS"}["\x68\x6f\x73\x70f\x73"]},"\x53\x45\x54\x20SESS\x49ON g\x72\x6fup\x5f\x63onc\x61t\x5fm\x61\x78_le\x6e \x3d 100\x30\x300\x30\x30\x30\x30\x30")or die(mysqli_error());${${"\x47\x4c\x4f\x42\x41L\x53"}["\x72\x67\x79\x75v\x70\x76r\x6b"]}=array();if(mysqli_connect_errno()){printf("C\x6f\x6ene\x63t\x20\x66\x61i\x6c\x65d:\x20\x25s\n",mysqli_connect_error());exit();}function cust_closbalance($custid){${"G\x4cO\x42\x41\x4c\x53"}["\x6b\x6con\x61xd"]="\x71\x72y";${"GL\x4f\x42AL\x53"}["\x69\x72y\x67\x72\x62\x71\x73"]="\x61d\x76\x5f\x64a\x74\x61";$uthsnegy="\x73\x71\x6c";$dvicdrvyvb="\x72\x65t\x5fdat\x61";$gqlsnbtxzezm="qr\x79";$kpsqfxbqoziy="\x63\x6fn";$nycjpqqu="\x63on";global$con;${"G\x4c\x4fB\x41L\x53"}["\x66usv\x70\x76"]="\x73q\x6c";$wowqpmfnovll="\x72\x65tamt";${$gqlsnbtxzezm}="se\x6c\x65c\x74 t1.*\x20,\x20c\x75\x73t.\x6do\x62\x6e\x6f, IF\x4eULL(\x73\x75\x6d(n\x73\x61\x6d\x74),\x30)\x20a\x73 \x64,\x20\x73u\x6d(\x43\x41SE \x57HEN\x20p\x6d\x6f\x64\x65!=\x27\x43N\x27 T\x48\x45\x4e p\x61\x6dt\x20EL\x53\x45\x200 E\x4eD)\x20 \x61\x73 c \x66\x72o\x6d\x20pay\x6d\x65n\x74 \x741\x20\x69n\x6e\x65\x72\x20join m\x61s\x74\x65\x72\x5f\x63\x75sto\x6d\x65\x72 c\x75s\x74\x20\x6fn \x74\x31.\x63\x75\x73t\x69d \x3d\x20c\x75\x73t\x2ec\x75stid\x20l\x65f\x74 \x6a\x6f\x69\x6e (SE\x4c\x45CT\x20su\x6d(ad\x6a\x75\x63\x73\x74am\x74)\x20a\x73 \x61dj\x75c\x73t\x61m\x74, \x63\x6ea\x6de FRO\x4d\x20\x60\x63\x72\x65di\x74no\x74\x65a\x64j` G\x52\x4f\x55\x50\x20\x42\x59\x20cname\x20) \x63r\x65\x64i\x74\x6e\x6ft\x65\x61\x64j \x6fn\x20cus\x74.cust\x69d\x3dc\x72e\x64i\x74\x6e\x6ftead\x6a\x2e\x63na\x6d\x65 \x77h\x65r\x65\x20\x741\x2ede\x6c_\x73ta\x74u\x73=\x270' an\x64 (\x63us\x74\x2ec\x6e\x61me\x21\x3d''\x20\x6f\x72\x20\x63us\x74\x2emo\x62n\x6f!\x3d'')\x20\x20an\x64 \x741.c\x75s\x74\x69d\x3d'$custid' ";${"GL\x4f\x42AL\x53"}["d\x61\x66d\x6c\x79g\x76\x75he"]="r\x65\x74_\x71r\x79";$fvsgutc="\x63o\x6e";${$uthsnegy}=mysqli_query(${${"G\x4c\x4f\x42ALS"}["\x68os\x70fs"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x6c\x6fn\x61\x78\x64"]})or die(mysqli_error(${$nycjpqqu}));${"G\x4c\x4f\x42AL\x53"}["\x64l\x65i\x67\x68\x78\x74\x78\x79\x6eq"]="\x61\x64\x76a\x6d\x74";${${"\x47LOBA\x4c\x53"}["x\x73t\x6bq\x63\x62q\x68\x6cq\x69"]}=mysqli_fetch_assoc(${${"G\x4c\x4f\x42\x41L\x53"}["\x66u\x73\x76\x70v"]});${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78wugi\x70h\x61\x6ad\x70"]}=mysqli_query(${$kpsqfxbqoziy},"\x73elec\x74 sum(c\x61mount) \x61s\x20\x63amoun\x74 \x66\x72\x6fm c\x72\x65dit\x6eote \x77h\x65r\x65 cnam\x65=\x27$custid\x27 \x61nd \x63\x72ed\x69\x74n\x6ft\x65\x5fs\x74at\x75s\x3d'A\x64\x76\x61\x6e\x63\x65'")or die(mysqli_error(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68o\x73\x70\x66\x73"]}));${"\x47\x4cOB\x41L\x53"}["dj\x6e\x68\x72j"]="con";${${"\x47\x4cO\x42\x41\x4cS"}["w\x67\x6ag\x65\x6fnb\x69\x64\x6e\x6f"]}=mysqli_fetch_assoc(${${"\x47\x4cO\x42\x41LS"}["x\x77\x75\x67i\x70\x68a\x6ad\x70"]});${${"\x47\x4cOB\x41L\x53"}["\x64\x6c\x65\x69g\x68\x78\x74\x78\x79n\x71"]}=${${"GL\x4f\x42A\x4c\x53"}["\x69\x72\x79\x67r\x62\x71\x73"]}["cam\x6f\x75\x6e\x74"];${${"GL\x4f\x42\x41\x4c\x53"}["da\x66\x64\x6c\x79\x67v\x75\x68
e"]}=mysqli_query(${${"GL\x4f\x42\x41L\x53"}["d\x6a\x6e\x68r\x6a"]},"sele\x63t \x73um(cam\x6fu\x6e\x74)\x20as c\x61m\x6f\x75\x6e\x74 \x66r\x6fm \x63re\x64i\x74\x6e\x6fte\x20w\x68\x65\x72e cn\x61\x6d\x65\x3d'$custid'\x20\x61\x6ed\x20c\x72\x65\x64\x69\x74\x6e\x6ft\x65\x5f\x73\x74at\x75\x73\x3d\x27Ret\x75\x72\x6e'")or die(mysqli_error(${$fvsgutc}));${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6d\x70m\x63vy\x71"]}=mysqli_fetch_assoc(${${"\x47L\x4f\x42\x41\x4cS"}["b\x6ez\x65xva\x65\x71h"]});${${"GL\x4fB\x41LS"}["\x68\x7ao\x6f\x79\x6c\x70\x64\x67"]}=${$dvicdrvyvb}["ca\x6d\x6funt"];${"GL\x4f\x42A\x4c\x53"}["\x78\x66\x66\x77\x77n\x79\x72h\x72z"]="\x61\x64v\x61mt";${"\x47LO\x42\x41\x4c\x53"}["q\x63ce\x61\x73w\x79\x6d"]="\x62";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["q\x67s\x64\x78\x62w\x64k\x77"]}=${${"\x47L\x4fB\x41\x4c\x53"}["\x78\x73\x74\x6bq\x63\x62\x71\x68l\x71i"]}["\x64"]-${${"\x47\x4cOB\x41\x4cS"}["\x78st\x6b\x71\x63\x62\x71\x68l\x71i"]}["c"];${"\x47L\x4f\x42\x41\x4c\x53"}["\x7a\x64h\x6b\x67\x79\x6ev"]="\x62";${${"G\x4c\x4fBALS"}["q\x63\x63\x65\x61s\x77y\x6d"]}=${${"GL\x4f\x42A\x4cS"}["\x78\x66\x66\x77\x77\x6ey\x72hr\x7a"]}-${$wowqpmfnovll};return((${${"\x47\x4c\x4f\x42A\x4cS"}["\x71\x67\x73\x64\x78\x62\x77\x64\x6bw"]})-(${${"GL\x4fB\x41\x4c\x53"}["\x7a\x64\x68\x6b\x67yn\x76"]}));}function cust_bill_history($custid,$old_custid,$saleid,$old_bid,$new_bid,$uid){$tfjglon="\x63u\x73\x74id";${"\x47L\x4f\x42\x41\x4c\x53"}["\x65\x63\x63i\x66ro\x6d\x64\x66\x6el"]="\x6f\x6cd_c\x75s\x74\x69\x64";$sewrnlwwv="\x75i\x64";global$con;${"GLO\x42\x41\x4c\x53"}["\x66\x72\x79n\x78\x6fspy\x6c"]="\x63\x6f\x6e";mysqli_query(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66\x72\x79n\x78\x6f\x73p\x79l"]},"i\x6e\x73\x65rt int\x6f\x20cus\x74_\x62\x69\x6cl\x5fh\x69s\x74\x6fr\x79(\x63u\x73ti\x64,\x6fl\x64\x5fcusti\x64,s\x61leid,o\x6cd\x5f\x62i\x64,\x6eew_bid,ui\x64,dat\x65\x73,\x74im\x65\x73)\x20\x76\x61lue\x73('".${$tfjglon}."\x27,'".${${"\x47\x4cO\x42\x41\x4cS"}["\x65\x63\x63\x69\x66r\x6f\x6d\x64\x66\x6e\x6c"]}."\x27,\x27".${${"\x47LO\x42\x41\x4c\x53"}["\x70\x6e\x6b\x6b\x6a\x61\x69b\x62"]}."\x27,\x27".${${"\x47\x4c\x4fB\x41\x4c\x53"}["t\x6f\x69y\x77\x64\x73\x76\x75\x65\x67"]}."\x27,'".${${"G\x4c\x4f\x42\x41LS"}["\x6a\x78t\x72\x76\x79\x74w\x77\x6fij"]}."\x27,'".${$sewrnlwwv}."','".date("Y/\x6d/d")."',\x27".date("\x68:\x69 A")."\x27)");}function getToken($length){${${"G\x4c\x4fB\x41\x4c\x53"}["n\x6e\x61\x72\x74\x79\x77\x78\x6fl"]}="";${"G\x4c\x4fBA\x4cS"}["\x78\x79\x69\x6d\x72s\x6ag\x65"]="c\x6fdeA\x6c\x70\x68\x61\x62\x65t";$lydwqcix="\x63\x6f\x64\x65\x41l\x70\x68\x61b\x65\x74";${"G\x4c\x4f\x42\x41\x4cS"}["\x6f\x75\x65\x66e\x61\x62\x70"]="\x63o\x64e\x41\x6cp\x68ab\x65t";$gwxikwbtm="i";${"\x47\x4cO\x42\x41\x4c\x53"}["j\x64cuo\x6b\x71\x70\x76l"]="\x63ode\x41\x6cpha\x62\x65\x74";${${"G\x4cO\x42ALS"}["\x78\x79\x69\x6dr\x73j\x67e"]}="A\x42CD\x45\x46GHI\x4a\x4bL\x4d\x4eOP\x51RST\x55VW\x58YZ";${$lydwqcix}.="\x61bc\x64\x65\x66\x67\x68\x69\x6aklmn\x6fp\x71\x72st\x75vwxyz";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6fu\x65f\x65ab\x70"]}.="\x3012\x33456\x37\x38\x39";${${"\x47\x4c\x4f\x42AL\x53"}["\x7a\x7a\x69\x78\x75a\x6d\x62\x72"]}=strlen(${${"G\x4c\x4f\x42AL\x53"}["\x6ad\x63u\x6f\x6bq\x70\x76l"]});$ioiupnsfxay="\x69";for(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79ww\x6c\x62w\x65\x69\x73\x64l\x6f"]}=0;${$gwxikwbtm}<${${"\x47\x4c\x4f\x42A\x4cS"}["e\x73\x75\x69\x77k"]};${$ioiupnsfxay}++){$vnjvmjrmb="max";${${"\x47L\x4f\x42AL\x53"}["\x6e\x6ea\x72\x74\x79\x77\x78\x6fl"]}.=${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x79\x67\x68\x79\x65\x6c\x71\x68\x77"]}[rand(0,${$vnjvmjrmb}-1)];}return${${"G\x4cO\x42A\x4c\x53"}["\x6e\x6e\x61r\x74\x79\x77\x78\x6f\x6c"]};}function update_combination_stock(){${"\x47L\x4f\x42A\x4c\x53"}["\x69\x79\x72\x71\x63c\x78"]="\x72\x6f\x77\x5fc\x6fmb";$dqfxnfjnqvg="\x63\x6f\x6e";global$con;$nglclvpvqcc="\x71\x75e\x5f\x63om\x62\x69\x6e\x61\x74i\x6f\x6e";${$nglclvpvqcc}=mysqli_query(${${"G\x4c\x4fB\x41\x4cS"}["\x68o\x73p\x66s"]},"s\x65le\x63t \x63omi\x64\x20fr\x6fm\x20barcod\x65 \x77\x68\x65r\x65\x20\x73\x74a\x74\x75\x73='r\x65c\x27 gr\x6fu\x70 \x62\x79 \x63\x6fmid\x20")or die("Er\x72o\x72\x20\x69n \x69n\x73\x65\x72t\x20quer\x79\x201:\x20".mysqli_error(${$dqfxnfjnqvg}));while(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69yr\x71\x63\x63\x78"]}=mysqli_fetch_array(${${"GLOB\x41L\x53"}["cv\x62\x71y\x79"]})){${"G\x4c\x4f\x42A\x4c\x53"}["\x78x\x70\x62\x61\x68j"]="\x6e\x65\x74\x5f\x71\x74\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x65\x7a\x73\x6b\x6d\x63\x6e\x65"]="\x63o\x6d\x69\x64";$rgznivpkogv="\x72\x6f\x77\x5fc\x6f\x6db";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x65\x7a\x73km\x63\x6e\x65"]}=${$rgznivpkogv}["\x63omid"];$rpylsxk="c\x6c\x6f\x73_\x6co\x63qty_j\x73\x6fn";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x76\x70t\x61\x66\x6cnt"]}=array();${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78x\x70b\x61\x68\x6a"]}=0;${"\x47LO\x42\x41\x4c\x53"}["\x6ep\x79\x68\x6aw\x62zn\x70"]="que";$jklyeli="\x63\x6c\x6f\x73\x5f\x6cocq\x74\x79\x5f\x6a\x73\x6f\x6e";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66y\x6ebxo\x71\x79v\x71\x6b"]}=mysqli_query(${${"\x47LO\x42A\x4cS"}["\x68\x6f\x73\x70\x66\x73"]},"s\x65le\x63\x74 *\x20f\x72o\x6d \x74_\x6c\x6fcati\x6fn_m\x61\x73ter\x20 \x4f\x52D\x45\x52\x20\x42Y `\x74\x5flocat\x69\x6fn_master\x60\x2e`\x69\x64` \x41S\x43 ")or die("\x45r\x72o\x72\x20\x69n \x69n\x73\x65rt\x20\x71u\x65\x72y \x32: ".mysqli_error(${${"\x47\x4c\x4fBA\x4c\x53"}["h\x6f\x73p\x66\x73"]}));$gwwbwhydoj="\x72\x6fw";while(${$gwwbwhydoj}=mysqli_fetch_array(${${"\x47L\x4f\x42AL\x53"}["\x6ep\x79\x68j\x77b\x7a\x6e\x70"]})){${"GL\x4f\x42\x41\x4cS"}["\x72\x69\x65\x71g\x63\x63"]="\x72o\x77\x5f\x73\x74o\x63k";$dlkmppj="\x71\x75\x65_s\x74\x6f\x63k";$ezqfmijqeb="\x71u\x65_st\x6fc\x6b";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76\x6dr\x6fj\x64\x74\x68\x6a\x6e"]}=${${"GL\x4f\x42\x41\x4cS"}["s\x6d\x65\x75\x6app\x6e"]}["id"];${${"G\x4c\x4fBA\x4cS"}["d\x6c\x79d\x76\x76"]}=0;$mqfupgzb="\x6c\x6fc\x61ti\x6fn\x5f\x69d";${${"G\x4c\x4f\x42A\x4c\x53"}["i\x79\x78\x72\x63\x78"]}=0;${$dlkmppj}=mysqli_query(${${"G\x4c\x4fB\x41LS"}["\x68\x6fs\x70f\x73"]},"\x73e\x6c\x65ct \x73\x75\x6d(\x63q\x74y) \x61s\x20\x63\x71t\x79 \x66r\x6f\x6d\x20b\x61rc\x6f\x64e w\x68\x65r\x65\x20\x6c\x6fc\x61\x74io\x6e\x5fi\x64='$location_id' a\x6e\x64 c\x6f\x6d\x69\x64\x3d\x27$comid'\x20an\x64\x20s\x74a\x74\x75s\x3d'\x72ec' \x67\x72o\x75p \x62y\x20co\x6d\x69\x64 ")or die("E\x72ro\x72\x20i\x6e\x20i\x6ese\x72t qu\x65r\x79\x20\x33: ".mysqli_error(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68\x6f\x73p\x66\x73"]}));${"\x47\x4c\x4fB\x41L\x53"}["\x78\x74\x71\x67\x64e\x76\x74"]="\x63\x6cs\x74o\x63\x6b_\x62o\x78\x71\x74\x79";if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["r\x69e\x71g\x63c"]}=mysqli_fetch_array(${$ezqfmijqeb})){${"\x47L\x4fB\x41\x4c\x53"}["\x74\x67\x66\x66ed\x75\x63\x77\x71\x6f"]="cu\x72\x5f\x71\x74y";$pwppqtetf="n\x65\x74_\x71\x74\x79";$tjubkabfvbwd="\x63\x6c\x73\x74\x6f\x63k\x5fbo\x78\x71t\x79";${${"G\x4c\x4fB\x41\x4c\x53"}["d\x6c\x79d\x76v"]}=${${"G\x4cOB\x41\x4cS"}["qvr\x66\x74\x63hl\x66\x6b\x6d"]}["\x63qty"];${$pwppqtetf}=${${"GL\x4f\x42\x41LS"}["u\x64kor\x79k\x64ht\x6a\x64"]}+${${"G\x4c\x4f\x42\x41\x4cS"}["\x74gf\x66\x65du\x63w\x71\x6f"]};${$tjubkabfvbwd}=0;}${${"\x47LO\x42\x41\x4cS"}["t\x76\x70t\x61f\x6c\x6e\x74"]}[${$mqfupgzb}]=array("\x71ty"=>${${"\x47L\x4f\x42A\x4cS"}["\x64\x6c\x79\x64\x76v"]},"box\x71t\x79"=>${${"\x47\x4cO\x42\x41\x4cS"}["\x78t\x71gdev\x74"]});}${$rpylsxk}=json_encode(${$jklyeli});${${"\x47LO\x42\x41L\x53"}["\x62p\x78\x75a\x64r"]}=mysqli_query(${${"\x47\x4c\x4fB\x41\x4c\x53"}["h\x6f\x73\x70f\x73"]},"upd\x61\x74\x65 \x20\x62\x61\x72\x5fc\x6f\x6db\x69\x6eati\x6fn\x20\x73e\x74\x20 \x6as\x6f\x6e\x5f\x63q\x74\x79 \x3d'$clos_locqty_json',\x63\x75\x72\x5f\x73t\x6fc\x6b\x3d'$net_qty'\x20\x77here c\x6fm\x69\x64\x20\x3d'".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x68\x6a\x71gfh\x70\x73\x72\x72"]}."'")or die("\x45\x72\x72o\x72 \x69n \x69ns\x65rt \x71\x75\x65\x72\x79\x204: ".mysqli_error(${${"\x47L\x4f\x42\x41\x4cS"}["ho\x73p\x66s"]}));}}function barcode_hold($comid,$scan_type,$qty,$locid,$uid,$status,$sale_status,$rack_id,$rack_rowid){$lzgphngfmu="\x73\x63a\x6e\x5ftyp\x65";${"G\x4c\x4fBA\x4cS"}["\x69bbp\x69\x6fb\x74b"]="rack_\x72\x6f\x77i\x64";${"\x47L\x4fB\x41\x4cS"}["\x62\x6bx\x72\x64tcoy\x64is"]="\x63\x6fm\x5f\x76\x61\x6c";$herpscub="\x63\x6f\x6e";global$con;$wsvcnex="\x63\x6f\x6d_\x76\x61\x6c";if(${$lzgphngfmu}!="b\x61r\x63ode"){$bbldszpotkj="co\x6d\x69\x64";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x63\x71fh\x67\x64\x66q\x65"]}="\x63\x6f\x6d\x69\x64\x3d'".${$bbldszpotkj}."' ";}else{${${"\x47\x4c\x4f\x42\x41LS"}["\x6ecq\x66h\x67d\x66\x71e"]}="b\x61rc\x6f\x64e\x3d\x27".${${"G\x4c\x4f\x42\x41L\x53"}["\x62\x68\x6a\x71\x67fh\x70\x73\x72r"]}."\x27 ";}if(${${"\x47L\x4fB\x41LS"}["p\x70j\x63\x6f\x65\x72\x79n"]}!=0){$ppdbmlxug="q";${$ppdbmlxug}=${${"GLO\x42AL\x53"}["\x6e\x63\x71\x66\x68g\x64\x66q\x65"]}."\x20a\x6e\x64\x20\x72\x61\x63k_\x69d\x3d".${${"G\x4c\x4f\x42A\x4c\x53"}["\x70\x70\x6ac\x6f\x65\x72\x79\x6e"]};}if(${${"GL\x4f\x42\x41L\x53"}["\x69b\x62p\x69ob\x74\x62"]}!=0){${"GL\x4f\x42AL\x53"}["\x79l\x6b\x78\x66\x62\x62\x70\x75\x67"]="q";$wwrfub="rac\x6b\x5f\x72o\x77id";${"\x47\x4c\x4f\x42A\x4cS"}["c\x71\x72\x6e\x70\x63\x78\x74\x70f"]="q";${${"G\x4cO\x42AL\x53"}["\x63\x71r\x6e\x70\x63\x78\x74\x70\x66"]}=${${"\x47\x4cOB\x41\x4c\x53"}["yl\x6bx\x66\x62\x62\x70ug"]}."\x20a\x6e\x64 \x72ac\x6b\x5f\x72\x6f\x77i\x64\x3d".${$wwrfub};}${"\x47\x4cO\x42\x41\x4c\x53"}["\x62\x74\x64\x78vo\x77o\x6c\x70\x6e\x69"]="\x71";${${"G\x4cO\x42A\x4c\x53"}["\x62kx\x72\x64\x74c\x6fydi\x73"]}="";${${"GL\x4f\x42\x41\x4cS"}["t\x6f\x74t\x63\x6e\x63\x66"]}=mysqli_query(${$herpscub},"\x73e\x6cec\x74\x20\x62a\x72i\x64,\x63om\x69\x64,\x70\x74\x79\x70e\x20\x66\x72\x6f\x6d \x62\x61\x72c\x6f\x64\x65 wh\x65re\x20".${${"G\x4cOB\x41LS"}["b\x74d\x78\x76\x6f\x77\x6f\x6c\x70\x6e\x69"]}."a\x6ed\x20\x6co\x63atio\x6e\x5fi\x64 i\x6e\x20($locid)\x20a\x6e\x64 \x6bs\x74\x61t\x75\x73=\x27N\x27\x20an\x64\x20\x73ta\x74u\x73='$sale_status'\x20
\x61n\x64 \x63q\x74\x79<\x3e\x30 \x61nd ba\x72\x69\x64\x20\x6e\x6f\x74 \x69\x6e\x20 (s\x65\x6cec\x74 \x44I\x53TI\x4eC\x54 \x62\x61\x72id\x20\x66\x72om bar\x63o\x64\x65\x5fh\x6f\x6cd)\x20\x6cim\x69t\x20\x30,".${${"GL\x4f\x42\x41\x4c\x53"}["\x74\x73\x6a\x76ni\x73"]});${${"\x47L\x4f\x42A\x4c\x53"}["eq\x6b\x62tu\x75i\x63\x65"]}=mysqli_num_rows(${${"\x47\x4c\x4fB\x41L\x53"}["t\x6f\x74\x74\x63\x6ec\x66"]});if(${${"\x47\x4c\x4fBA\x4cS"}["e\x71k\x62tuui\x63\x65"]}!=0){while(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x6d\x6dd\x65t\x76\x67\x77\x66\x79\x6b"]}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["to\x74\x74\x63\x6e\x63f"]})){${"G\x4c\x4f\x42\x41\x4cS"}["\x62y\x63o\x6b\x78\x68"]="bar\x69\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["gum\x73\x77v\x66"]="\x72_\x62ar\x5fch\x6b";${"\x47\x4c\x4fBA\x4c\x53"}["\x73\x61l\x6cb\x6ex"]="p\x74\x79\x70\x65";$nzkwwsjt="b\x61\x72i\x64";${"\x47L\x4fB\x41\x4cS"}["\x6cr\x63\x6a\x6a\x63"]="\x63\x6f\x6d\x5f\x76\x61l";$fdlwxoij="c\x6fn";$asgqfontjm="\x73ta\x74\x75\x73";${${"\x47\x4c\x4fB\x41L\x53"}["\x62\x79c\x6f\x6bx\x68"]}=${${"\x47\x4cOB\x41\x4c\x53"}["\x6f\x6d\x6d\x64\x65t\x76gwf\x79\x6b"]}["\x62\x61rid"];${${"\x47\x4cOB\x41\x4c\x53"}["\x73a\x6c\x6c\x62\x6ex"]}=${${"G\x4c\x4f\x42AL\x53"}["o\x6dmd\x65\x74\x76\x67\x77fyk"]}["pt\x79\x70\x65"];mysqli_query(${$fdlwxoij},"i\x6e\x73\x65rt \x69n\x74\x6f ba\x72cod\x65\x5f\x68\x6f\x6c\x64(co\x6di\x64,bari\x64,\x62\x61\x72\x63o\x64\x65\x5f\x74y\x70\x65,qt\x79,l\x6f\x63\x69\x64,\x75\x69\x64,s\x74atus) v\x61\x6c\x75es(\x27".${${"\x47\x4c\x4fBA\x4cS"}["g\x75\x6ds\x77vf"]}["\x63\x6fm\x69d"]."\x27,'".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62\x67\x6b\x71gvq\x74k\x67\x78"]}."','".${${"\x47L\x4f\x42A\x4cS"}["y\x68\x6a\x6ekk\x64\x6f"]}."\x27,\x27".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74s\x6a\x76\x6e\x69s"]}."',\x27".${${"G\x4cOBALS"}["\x73\x70d\x61l\x6e"]}."','".${${"\x47L\x4f\x42\x41\x4c\x53"}["s\x6a\x69q\x62b"]}."','".${$asgqfontjm}."')");${${"\x47\x4cO\x42ALS"}["bq\x6f\x76\x65jxn\x7aw\x67s"]}=${${"G\x4cOB\x41LS"}["l\x72\x63\x6aj\x63"]}.",".${$nzkwwsjt};}}return ltrim(${$wsvcnex},",");}function getstyleimg($id,$supname,$colr){${"\x47L\x4f\x42\x41L\x53"}["\x76\x73tq\x61u\x6bh"]="\x71\x75\x65";${"\x47\x4c\x4f\x42AL\x53"}["e\x76x\x78\x6c\x6ezxi"]="\x63\x6f\x6e";global$con;${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x79\x6e\x62\x78o\x71y\x76qk"]}=mysqli_query(${${"\x47L\x4fB\x41\x4c\x53"}["\x65\x76\x78\x78\x6c\x6ez\x78\x69"]},"se\x6cect\x20\x69\x6d\x67\x20f\x72\x6fm \x73t\x79l\x65_\x69mage w\x68e\x72\x65\x20\x73\x74y\x6ce\x6eo='$id'\x20an\x64\x20\x73\x75\x70\x6eame=\x27$supname' \x61n\x64 c\x6flr\x3d\x27$colr\x27\x20\x4f\x52D\x45\x52\x20\x42Y \x60\x73\x74yle\x5f\x69\x6dag\x65\x60\x2e\x60\x73i\x6dgi\x64\x60 DESC");if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["s\x6d\x65\x75jppn"]}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42\x41\x4cS"}["v\x73\x74qa\x75\x6b\x68"]})){${"\x47\x4c\x4fB\x41\x4cS"}["o\x69\x62\x76\x78m\x6f\x70n"]="row";return${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6f\x69b\x76\x78m\x6f\x70n"]}["i\x6d\x67"];}}function getmaster_nspecialdisc($comid){$cnbrdvmvwvps="\x71u\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6a\x70\x69\x63\x75\x71\x78\x76"]="\x72\x6f\x77";global$con;$unsqbkhxkdm="\x71\x75\x65";${$cnbrdvmvwvps}=mysqli_query(${${"\x47L\x4f\x42\x41L\x53"}["\x68o\x73p\x66\x73"]},"sel\x65c\x74\x20sch\x6eam\x65\x20f\x72o\x6d mast\x65r\x5f\x6e\x73p\x65\x63ia\x6c\x64\x69\x73c \x77he\x72\x65 sdisi\x64\x3d".${${"\x47\x4cOB\x41\x4c\x53"}["bh\x6a\x71gf\x68\x70\x73\x72\x72"]});if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["j\x70\x69\x63\x75\x71\x78\x76"]}=mysqli_fetch_array(${$unsqbkhxkdm})){$qnjqzismmdvq="\x72ow";return${$qnjqzismmdvq}["s\x63\x68\x6eam\x65"];}else{return"\x4eA";}}function getimgage_set($id){$kkvopp="\x69d";${"\x47L\x4f\x42\x41\x4cS"}["\x6fp\x6dr\x75mps\x64"]="\x69d";$xkbyixx="\x69\x64";if(${${"GLO\x42\x41\x4cS"}["\x6fp\x6d\x72\x75\x6d\x70\x73d"]}==0){return"C\x6fmb\x69\x6e\x61tio\x6e";}elseif(${${"\x47\x4cOBAL\x53"}["\x6ap\x6bkgu\x70j"]}==1){return"Co\x6c\x6f\x72";}elseif(${$kkvopp}==2){return"Si\x7ae";}elseif(${$xkbyixx}==3){return"\x42\x72a\x6e\x64";}elseif(${${"G\x4cOB\x41\x4c\x53"}["\x6apk\x6bg\x75\x70\x6a"]}==4){return"\x53t\x79l\x65";}}function getimg($comid){${"\x47L\x4f\x42\x41\x4c\x53"}["dq\x6dg\x6eqw\x66\x61j\x67\x66"]="\x71\x75e";$kgifalttl="c\x6f\x6e";$wfytrhfm="\x71\x75\x65";global$con;${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64q\x6d\x67n\x71\x77fa\x6a\x67\x66"]}=mysqli_query(${$kgifalttl},"s\x65\x6c\x65ct i\x6dg \x66rom \x62a\x72_comb\x69na\x74i\x6f\x6e \x77he\x72\x65 \x63o\x6did\x3d".${${"\x47\x4cO\x42\x41\x4c\x53"}["\x62\x68\x6a\x71g\x66h\x70\x73rr"]});if(${${"\x47L\x4fBA\x4c\x53"}["\x73m\x65\x75\x6a\x70pn"]}=mysqli_fetch_array(${$wfytrhfm})){$vsdlihcbr="\x72\x6f\x77";return${$vsdlihcbr}["img"];}}function myRecfun_gen($cbarcode){${"\x47\x4c\x4f\x42AL\x53"}["a\x65\x6d\x6ar\x74\x72\x66"]="\x63\x6f\x6e";$oshgcclf="\x63\x6fn";$gsqmpsgyss="\x6d\x61x\x5f\x62\x61\x72\x65\x63\x6f\x64\x65";${"\x47\x4c\x4f\x42\x41LS"}["hs\x78\x62qlc"]="\x72ow\x32";global$con;${$gsqmpsgyss}=mysqli_query(${${"GLOBALS"}["\x61\x65\x6d\x6artr\x66"]},"sele\x63\x74 *\x20\x66\x72om\x20 \x67\x65\x6e_bar\x63od\x65 \x77he\x72e \x62\x61\x72cod\x65='$cbarcode\x27")or die("\x45r\x72\x6f\x72\x20i\x6e ins\x65\x72t q\x75\x65ry\x20: ".mysqli_error(${$oshgcclf}));if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x73\x78\x62ql\x63"]}=mysqli_fetch_array(${${"\x47L\x4f\x42\x41\x4c\x53"}["p\x78\x63\x6a\x66\x79t\x6cp\x72"]})){${"GL\x4f\x42A\x4cS"}["wk\x65\x64\x6d\x70\x68\x75\x75\x66\x6a\x6a"]="\x63\x62\x61\x72cod\x65";$ptjdpluege="c\x62\x61rc\x6fd\x65";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77ke\x64m\x70\x68\x75\x75\x66\x6a\x6a"]}++;return myRecfun(${$ptjdpluege});}else{return${${"\x47\x4c\x4f\x42\x41L\x53"}["\x69hn\x6d\x64y\x77ie\x73\x77"]};}}$qrrtbnv="t\x5fp\x61\x72a\x6d\x31";function getpos_name($id){$tfyupvvycaha="\x63o\x6e";${"G\x4c\x4f\x42\x41L\x53"}["\x61\x69t\x69b\x74\x76"]="row";global$con;${${"\x47\x4c\x4f\x42\x41L\x53"}["f\x79\x6eb\x78o\x71yv\x71\x6b"]}=mysqli_query(${$tfyupvvycaha},"s\x65\x6ce\x63\x74\x20*\x20\x66\x72o\x6d \x70\x6f\x73_\x6das\x74er w\x68ere \x70\x6fs_\x69d=\x27$id\x27");if(${${"\x47LO\x42\x41\x4c\x53"}["\x61i\x74i\x62\x74v"]}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42A\x4cS"}["\x66y\x6eb\x78\x6f\x71y\x76\x71\x6b"]})){$vmxnxku="r\x6f\x77";return${$vmxnxku}["\x6e\x61\x6d\x65"];}else{return${${"G\x4c\x4fB\x41\x4c\x53"}["\x6a\x70kk\x67u\x70j"]};}}function getsite_add($id){$oxpqbmemqko="q\x75\x65";global$con;$ubxoknc="\x72\x6f\x77";$rrwdvscxq="\x71\x75\x65";${$oxpqbmemqko}=mysqli_query(${${"GL\x4f\x42\x41L\x53"}["hospf\x73"]},"\x73\x65lect\x20s\x69te_na\x6de,si\x74\x65_\x61dd\x20\x66rom mas\x74er_custome\x72_\x73\x69te \x77h\x65re\x20\x73ite_id\x3d'$id'");if(${$ubxoknc}=mysqli_fetch_array(${$rrwdvscxq})){$sbhobgbc="ro\x77";return${$sbhobgbc}["\x73ite\x5fname"]."\x20- ".${${"\x47\x4cOBA\x4cS"}["\x73\x6d\x65u\x6ap\x70\x6e"]}["\x73\x69te_add"];}else{$svflolorni="\x69d";return${$svflolorni};}}function getbill_type($id){${"\x47\x4c\x4fB\x41\x4cS"}["\x77\x6a\x6bqa\x62w"]="\x72ow";global$con;${${"G\x4cOB\x41\x4cS"}["\x66\x79nb\x78\x6fqy\x76qk"]}=mysqli_query(${${"\x47\x4c\x4f\x42A\x4cS"}["\x68o\x73\x70\x66s"]},"\x73\x65\x6cect\x20*\x20f\x72o\x6d \x6d\x61s\x74er_bi\x6cl \x77\x68\x65\x72e b\x69\x64\x3d\x27$id\x27");$gkduuiwmcv="\x71u\x65";if(${${"G\x4cOBAL\x53"}["\x77\x6a\x6b\x71\x61\x62\x77"]}=mysqli_fetch_array(${$gkduuiwmcv})){${"\x47LOB\x41\x4cS"}["h\x79\x79e\x6e\x63\x63"]="\x72\x6f\x77";return${${"\x47\x4cO\x42\x41\x4c\x53"}["h\x79\x79\x65\x6e\x63\x63"]}["\x62il\x6c_n\x61\x6d\x65"];}else{$rbuiymxuatiu="\x69\x64";return${$rbuiymxuatiu};}}function getVehicle_avg_det($id){${"\x47LOB\x41L\x53"}["\x77\x77\x78\x69\x66\x75\x63"]="\x71\x75e";global$con;${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x79\x6eb\x78oq\x79v\x71k"]}=mysqli_query(${${"\x47\x4cO\x42\x41\x4c\x53"}["h\x6f\x73\x70f\x73"]},"s\x65\x6c\x65ct * \x66\x72o\x6d m\x61s\x74e\x72_\x76e\x68ic\x6c\x65\x20\x77\x68\x65\x72e v\x65h\x5fid=\x27$id\x27");if(${${"G\x4cOBA\x4cS"}["\x73\x6de\x75\x6ap\x70\x6e"]}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x77\x78i\x66\x75\x63"]})){return${${"\x47\x4cO\x42\x41\x4c\x53"}["sm\x65\x75jp\x70n"]}["v\x65\x68i\x63\x6ce_a\x76\x67"];}else{$lndtkwfkqi="\x69d";return${$lndtkwfkqi};}}function getVehicle_driver_det($id){$qhmdwoko="q\x75e";$nwzmggpkvi="\x71ue";global$con;${$nwzmggpkvi}=mysqli_query(${${"\x47\x4c\x4f\x42A\x4cS"}["\x68o\x73p\x66s"]},"se\x6c\x65\x63\x74 *\x20\x66\x72om \x6d\x61s\x74\x65r\x5f\x76\x65hicl\x65 w\x68er\x65 v\x65h_i\x64=\x27$id'");if(${${"\x47\x4cOBA\x4c\x53"}["\x73m\x65\x75\x6a\x70p\x6e"]}=mysqli_fetch_array(${$qhmdwoko})){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x71\x70\x69\x73\x63\x67rbl\x78\x7a"]="\x72\x6f\x77";$qguueum="r\x6f\x77";return${$qguueum}["\x76eh\x69cl\x65\x5fno"]."\x20-\x20".getdriver(${${"G\x4c\x4f\x42AL\x53"}["\x71\x70\x69\x73\x63\x67\x72b\x6cxz"]}["d\x72iv\x65\x72\x5f\x69\x64"]);}else{return${${"\x47L\x4f\x42AL\x53"}["\x6a\x70\x6b\x6bg\x75\x70\x6a"]};}}function getdriver($id){$vmecmbygh="q\x75\x65";global$con;${$vmecmbygh}=mysqli_query(${${"G\x4c\x4fB\x41\x4c\x53"}["\x68os\x70\x66\x73"]},"selec\x74 \x6e\x61\x6d\x65 \x66\x72o\x6d m\x61\x73\x74\x65\x72\x5f\x64r\x69ver\x20\x77\x68\x65r\x65\x20c\x6fm\x69d='$id\x27");$oeifbxsbai="r\x6f\x77";if(${$oeifbxsbai}=mysqli_fetch_array(${${"G\x4c\x4f\x42\x41L\x53"}["\x66y\x6e\x62\x78o\x71y\x76qk"]})){return${${"GLO\x42\x41\x4c\x53"}["\x73\x6d\x65\x75\x6ap\x70\x6e"]}["\x6e\x61\x6de"];}else{$jooxrdwyj="\x69d";return${$jooxrdwyj};}}function getcunit($id){global$con;if(${${"GLOB\x41L\x53"}["\x6a\x70\x6bkg\x75p\x6a"]}==0){return"N\x41";}else{${${"\x47LOB\x41LS"}["\x66\x79nbx\x6f\x71\x79\x76\x71\x6b"]}=mysqli_query(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x6f\x73\x70\x66\x73"]},"\x73elect\x20*\x20fr\x6fm mas\x74\x65r\x5f\x63uni\x74 w\x68ere \x63uid\x3d\x27$id\x27");${"\x47\x4cO\x42\x41\x4c\x53"}["\x6d\x64\x67\x71\x6b\x6elp\x63\x73"]="r\x6fw";if(${${"\x47LO\x42\x41L\x53"}["m\x64\x67q\x6b\x6el\x70c\x73"]}=mysqli_fetch_array(${${"G\x4c\x4f\x42A\
x4c\x53"}["\x66\x79\x6ebx\x6f\x71\x79\x76\x71\x6b"]})){return${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73\x6d\x65\x75jp\x70\x6e"]}["cu\x6eit"];}else{$kcajvgewkrdt="\x69d";return${$kcajvgewkrdt};}}}function myRecfun($cbarcode){global$con;${${"G\x4c\x4fBAL\x53"}["\x70\x78cjf\x79\x74l\x70r"]}=mysqli_query(${${"GL\x4fBA\x4cS"}["ho\x73\x70\x66\x73"]},"s\x65\x6c\x65c\x74 * f\x72o\x6d \x62ar\x63od\x65 whe\x72\x65 \x62a\x72\x63ode\x3d\x27$cbarcode\x27")or die("E\x72\x72or in \x69nse\x72\x74\x20\x71\x75e\x72y : ".mysqli_error(${${"GLOB\x41\x4c\x53"}["\x68\x6fs\x70\x66\x73"]}));$swbpvfg="\x6d\x61\x78\x5f\x62ar\x65c\x6fd\x65";if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["e\x68\x72\x6dr\x79e"]}=mysqli_fetch_array(${$swbpvfg})){${"GL\x4f\x42\x41\x4c\x53"}["\x76\x61w\x71\x74\x61g\x6a\x65\x74k"]="\x63\x62\x61\x72\x63od\x65";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x61w\x71\x74a\x67\x6a\x65tk"]}++;return myRecfun(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x69\x68\x6e\x6d\x64yw\x69\x65\x73\x77"]});}else{${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70\x73\x65\x68\x75\x77\x71\x75\x6b"]="\x63ba\x72co\x64\x65";return${${"\x47LOBAL\x53"}["\x70\x73\x65\x68\x75w\x71\x75\x6b"]};}}function gethead($id){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["su\x79\x64\x6d\x77\x69\x72"]="que";global$con;${"G\x4c\x4f\x42\x41LS"}["\x6c\x6b\x75\x72\x65\x6d\x70\x71y\x6cp"]="\x63\x6f\x6e";${${"G\x4c\x4fB\x41\x4c\x53"}["s\x75\x79d\x6d\x77\x69r"]}=mysqli_query(${${"GL\x4f\x42\x41L\x53"}["\x6ck\x75rem\x70q\x79\x6c\x70"]},"\x73\x65l\x65\x63\x74\x20\x68ea\x64\x20\x66\x72\x6fm\x20mas\x74\x65\x72\x5f\x68e\x61d\x20\x77\x68e\x72e \x68\x69\x64\x3d\x27$id\x27");if(${${"\x47\x4cO\x42\x41\x4c\x53"}["sme\x75\x6a\x70\x70\x6e"]}=mysqli_fetch_array(${${"GL\x4f\x42\x41\x4cS"}["\x66y\x6e\x62\x78oq\x79v\x71\x6b"]})){${"\x47L\x4f\x42\x41\x4c\x53"}["w\x6fe\x78n\x75\x6ej\x75s"]="r\x6f\x77";return${${"\x47LOBA\x4cS"}["\x77o\x65\x78\x6e\x75\x6eju\x73"]}["\x68\x65a\x64"];}else{${"\x47\x4c\x4fB\x41\x4cS"}["\x78r\x6a\x68j\x68j\x6d"]="\x69\x64";return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78r\x6ah\x6ah\x6a\x6d"]};}}function getsubhead($shid){global$con;${"\x47\x4c\x4f\x42A\x4c\x53"}["m\x76\x74\x73\x65\x65\x67\x76d\x76"]="co\x6e";${${"\x47\x4c\x4fBA\x4cS"}["\x66y\x6e\x62\x78\x6f\x71yvqk"]}=mysqli_query(${${"GL\x4f\x42ALS"}["\x6d\x76\x74\x73\x65\x65gv\x64v"]},"\x73\x65lect\x20\x73ub\x68e\x61d\x20fr\x6fm\x20c\x61\x73\x68b\x6fo\x6b_subh\x65ad\x20w\x68e\x72\x65 shid='$shid\x27");if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73m\x65u\x6ap\x70n"]}=mysqli_fetch_array(${${"\x47\x4cO\x42\x41LS"}["\x66\x79nbx\x6fqy\x76q\x6b"]})){$oqgsefa="r\x6f\x77";return${$oqgsefa}["\x73\x75bhea\x64"];}else{${"\x47\x4c\x4f\x42\x41\x4c\x53"}["myh\x76\x6f\x73\x73"]="s\x68\x69\x64";return${${"\x47\x4c\x4f\x42A\x4cS"}["\x6d\x79\x68\x76\x6fs\x73"]};}}function getstorename($id){global$con;${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68jm\x71f\x68"]="\x71ue";${${"G\x4c\x4f\x42A\x4c\x53"}["\x66ynbx\x6fqy\x76\x71\x6b"]}=mysqli_query(${${"G\x4c\x4fBA\x4c\x53"}["\x68\x6f\x73\x70\x66\x73"]},"\x73e\x6c\x65ct \x73tor\x65 \x66\x72\x6fm ma\x73te\x72\x5f\x73tore\x20\x77\x68\x65re s\x74or\x65\x69\x64='$id'");if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x73\x6d\x65\x75\x6a\x70\x70\x6e"]}=mysqli_fetch_array(${${"GL\x4f\x42A\x4c\x53"}["\x68\x6a\x6dq\x66\x68"]})){$xeaxlwi="\x72ow";return${$xeaxlwi}["s\x74\x6f\x72e"];}else{return"0";}}function getconftxtname($id){$osbirbteitg="\x63o\x6e";$xknvciqfgs="qu\x65";global$con;${${"G\x4c\x4f\x42A\x4cS"}["f\x79\x6e\x62\x78\x6f\x71\x79\x76\x71k"]}=mysqli_query(${$osbirbteitg},"sel\x65\x63t * \x66\x72om \x6das\x74er_\x74x\x74\x63on\x66\x69g w\x68\x65\x72e \x63onf_i\x64\x3d'$id\x27");if(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x73\x6de\x75\x6a\x70\x70n"]}=mysqli_fetch_array(${$xknvciqfgs})){return${${"G\x4cOB\x41\x4cS"}["s\x6d\x65\x75\x6a\x70\x70n"]}["\x63\x6f\x6ef_l\x61\x62\x65l"];}}function getboxname($id){$omeshjpma="\x63\x6f\x6e";global$con;${${"\x47\x4c\x4f\x42A\x4cS"}["f\x79\x6e\x62\x78o\x71y\x76q\x6b"]}=mysqli_query(${$omeshjpma},"\x73e\x6cec\x74 bo\x78_n\x61\x6de,box_\x6eet\x20f\x72\x6fm \x72ac\x6b\x5f\x62ox\x20\x77\x68\x65\x72\x65\x20b\x6f\x78_id\x3d'$id'");if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["s\x6deu\x6a\x70\x70\x6e"]}=mysqli_fetch_array(${${"\x47\x4cO\x42\x41\x4c\x53"}["f\x79\x6e\x62x\x6f\x71\x79\x76qk"]})){$fsqsdqalhpp="\x72o\x77";return${${"\x47LO\x42\x41\x4cS"}["\x73\x6de\x75\x6ap\x70\x6e"]}["\x62o\x78\x5f\x6e\x61me"]."-".round(${$fsqsdqalhpp}["\x62o\x78\x5fn\x65\x74"]);}else{return"No";}}function getrackname($id){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["evq\x67\x61t"]="\x63o\x6e";${"GL\x4f\x42A\x4cS"}["b\x62\x62\x7a\x6dn\x67"]="ro\x77";global$con;${${"\x47\x4cOBA\x4c\x53"}["f\x79\x6e\x62\x78o\x71\x79\x76\x71\x6b"]}=mysqli_query(${${"G\x4cO\x42AL\x53"}["e\x76\x71\x67a\x74"]},"\x73el\x65c\x74 \x72a\x63\x6b\x20fro\x6d \x72\x61c\x6b_\x6eew\x20\x77\x68er\x65\x20\x72\x61\x63k\x69\x64\x3d'$id\x27");if(${${"G\x4cO\x42\x41L\x53"}["b\x62\x62z\x6d\x6e\x67"]}=mysqli_fetch_array(${${"GL\x4fBA\x4c\x53"}["fy\x6ebxo\x71\x79\x76q\x6b"]})){${"\x47LO\x42\x41\x4cS"}["wy\x62\x70\x75\x62\x6f\x6ba"]="row";return${${"\x47LO\x42ALS"}["\x77\x79\x62p\x75b\x6f\x6b\x61"]}["\x72\x61ck"];}else{return"\x4e\x6f";}}function getrowname($id){$xxyrxdnq="\x71u\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x63b\x69\x6f\x67\x72s\x73\x63j\x71"]="\x63\x6fn";global$con;${$xxyrxdnq}=mysqli_query(${${"G\x4c\x4f\x42\x41\x4cS"}["\x63\x62\x69\x6f\x67r\x73s\x63\x6a\x71"]},"\x73\x65l\x65ct r\x6fw_n\x61\x6de \x66r\x6fm \x72ac\x6b\x5frow\x6ee\x77 \x77\x68e\x72e\x20r\x61\x63k_\x72\x6f\x77\x69d='$id\x27");if(${${"\x47LO\x42\x41\x4c\x53"}["s\x6d\x65\x75\x6ap\x70n"]}=mysqli_fetch_array(${${"\x47\x4c\x4fBA\x4cS"}["fy\x6e\x62\x78o\x71\x79v\x71\x6b"]})){return${${"\x47\x4cOBA\x4c\x53"}["\x73me\x75j\x70\x70\x6e"]}["\x72\x6f\x77_na\x6d\x65"];}else{return"\x4e\x6f";}}function getrackid($id){${"\x47LO\x42\x41\x4c\x53"}["\x77v\x70\x6a\x74d\x69x"]="\x63\x6fn";${"G\x4c\x4f\x42\x41\x4cS"}["\x6d\x6cr\x62i\x6a\x72\x77s\x77"]="\x71u\x65";global$con;$gxkemrqnrkbw="qu\x65";$yxcklxqnu="\x72\x6f\x77";${$gxkemrqnrkbw}=mysqli_query(${${"\x47LOB\x41L\x53"}["\x77vp\x6at\x64\x69\x78"]},"\x73el\x65c\x74\x20r\x61ckid\x20\x66\x72\x6f\x6d ra\x63\x6b_new \x77h\x65\x72e\x20r\x61\x63k=\x27$id'");if(${$yxcklxqnu}=mysqli_fetch_array(${${"\x47L\x4fBA\x4c\x53"}["m\x6c\x72\x62\x69\x6a\x72\x77\x73\x77"]})){${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x78l\x77\x6e\x66n\x76s\x69\x66"]="\x72\x6f\x77";return${${"\x47\x4cO\x42\x41L\x53"}["\x68\x78\x6c\x77\x6e\x66\x6ev\x73\x69\x66"]}["\x72\x61c\x6bid"];}else{return"\x30";}}function getrowid($id,$rack_name){${"GL\x4f\x42\x41\x4c\x53"}["\x6fm\x62u\x75\x75e\x69\x62\x6di"]="\x63\x6f\x6e";global$con;${${"\x47LO\x42AL\x53"}["f\x79n\x62\x78oq\x79\x76\x71k"]}=mysqli_query(${${"G\x4c\x4f\x42ALS"}["\x6fm\x62\x75\x75\x75ei\x62m\x69"]},"s\x65\x6c\x65c\x74\x20\x72a\x63k_row\x69d\x20f\x72\x6fm \x72\x61c\x6b_\x72o\x77\x6ee\x77 \x77h\x65\x72\x65\x20\x72\x6f\x77_nam\x65='$id\x27 and\x20r\x61c\x6b\x5f\x6ea\x6d\x65=\x27$rack_name'");${"\x47\x4cOB\x41LS"}["\x74\x64\x66g\x71\x65\x6c\x63\x71c\x78"]="\x72\x6fw";if(${${"\x47L\x4f\x42\x41\x4c\x53"}["t\x64f\x67\x71\x65\x6c\x63\x71\x63x"]}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66\x79n\x62\x78\x6fq\x79v\x71\x6b"]})){return${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x73meu\x6ap\x70n"]}["rack_r\x6fwid"];}else{return"0";}}function getschdetn($id,$sch){${"\x47\x4c\x4fBALS"}["w\x72\x69\x71\x66oh"]="s\x63h";global$con;if(${${"\x47\x4cO\x42\x41\x4c\x53"}["wriq\x66\x6fh"]}=="B1G\x32"){${${"\x47\x4cO\x42\x41\x4cS"}["\x62h\x64\x6f\x62\x79\x65e\x75\x6fx\x6b"]}=getscheman(${${"\x47\x4cO\x42\x41\x4cS"}["\x6ap\x6b\x6b\x67\x75\x70j"]});}if(${${"G\x4cO\x42\x41LS"}["v\x68pb\x62g\x72"]}=="B\x32\x471"){${${"\x47\x4cO\x42\x41LS"}["\x62\x68\x64\x6f\x62\x79\x65\x65\x75\x6f\x78\x6b"]}=getscheman(${${"G\x4c\x4f\x42\x41\x4c\x53"}["jp\x6bk\x67u\x70\x6a"]});}if(${${"G\x4c\x4f\x42ALS"}["\x76\x68pb\x62g\x72"]}=="\x44"){$xmbknspuande="\x6b";${$xmbknspuande}=getbardiscount(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6a\x70\x6bkg\x75\x70\x6a"]});}if(${${"GL\x4f\x42\x41\x4cS"}["\x76\x68p\x62\x62gr"]}=="\x42"){${"\x47\x4cO\x42\x41\x4c\x53"}["\x6c\x72kp\x74m"]="\x6b";${${"\x47LOB\x41L\x53"}["l\x72\x6b\x70\x74m"]}=getscheman(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["j\x70\x6bk\x67\x75\x70j"]});}if(${${"\x47\x4c\x4f\x42AL\x53"}["v\x68\x70\x62\x62g\x72"]}=="S"){${"\x47\x4c\x4fB\x41LS"}["\x69\x61\x79\x73\x6c\x71f"]="\x6b";${${"\x47L\x4f\x42A\x4cS"}["\x69a\x79s\x6c\x71f"]}=getschema(${${"\x47LOBALS"}["\x6ap\x6bk\x67\x75\x70j"]});}$pbkqniwrt="k";if(${${"G\x4cOB\x41\x4c\x53"}["\x76\x68\x70\x62b\x67\x72"]}=="P\x45\x52"){${"\x47\x4c\x4f\x42\x41L\x53"}["aqb\x61o\x69\x76\x75l"]="\x6b";${${"G\x4c\x4fB\x41\x4c\x53"}["\x61\x71b\x61\x6f\x69\x76u\x6c"]}=getperschema(${${"\x47L\x4fB\x41\x4c\x53"}["\x6a\x70\x6b\x6b\x67\x75p\x6a"]});}return${$pbkqniwrt};}function getscheman($id){${"\x47\x4c\x4fBAL\x53"}["\x65r\x66qtyx\x69\x62\x6a\x6f"]="c\x6fn";${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x6btk\x71\x6e\x76m\x68y\x76"]="q\x75\x65";global$con;${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x79n\x62xo\x71y\x76qk"]}=mysqli_query(${${"\x47LO\x42\x41\x4c\x53"}["\x65r\x66qt\x79\x78\x69b\x6ao"]},"\x73\x65\x6ce\x63\x74 sc\x68nam\x65\x20f\x72\x6f\x6d m\x61\x73\x74er_bu\x79\x73\x63\x68\x65ma \x77\x68er\x65\x20\x62\x73chi\x64\x3d'$id\x27");$pugrxpvjiex="\x72ow";if(${$pugrxpvjiex}=mysqli_fetch_array(${${"\x47L\x4f\x42\x41\x4c\x53"}["gktkqn\x76\x6d\x68y\x76"]})){${"\x47\x4c\x4f\x42\x41LS"}["\x72a\x77j\x72\x77w\x67"]="\x72\x6f\x77";return${${"\x47\x4c\x4f\x42ALS"}["\x72\x61\x77\x6a\x72\x77\x77g"]}["sc\x68\x6e\x61\x6d\x65"];}else{$pewlycrliny="\x69\x64";return${$pewlycrliny};}}function getperschema($id){$qemxfhh="\x71ue";$jmgttmbge="r\x6f\x77";global$con;${$qemxfhh}=mysqli_query(${${"\x47L\x4fB\x41\x4c\x53"}["\x68o\x73\x70\x66\x73"]},"\x73\x65le\x63t s\x63\x68\x6ea\x6de f\x72\x6fm m\x61\x73\x74e\x72_\x70e\x72sch\x65ma\x20w\x68\x65\x72e\x20schid\x3d'$id\x27");if(${$jmgttmbge}=mysqli_fetch_array(${${"GL\x4f\x42\x41L\x53"}["\x66\x79\x6e\x62\x78\x6f\x71\x79\x76\x71\x6b"]})){$hbjmklvib
="\x72o\x77";return${$hbjmklvib}["sc\x68na\x6de"];}else{$twugwnw="i\x64";return${$twugwnw};}}function getschema($id){${"\x47\x4cO\x42A\x4c\x53"}["\x76\x62i\x73aef\x65\x70\x6fy"]="q\x75\x65";$mekdwhcuhssc="\x71ue";global$con;$wlrkpwk="c\x6fn";${$mekdwhcuhssc}=mysqli_query(${$wlrkpwk},"se\x6c\x65\x63t \x73c\x68na\x6de\x20\x66\x72om\x20\x6da\x73te\x72\x5f\x73\x63\x68\x65m\x61 w\x68e\x72e\x20\x73\x63h\x69d=\x27$id'");if(${${"\x47\x4c\x4f\x42AL\x53"}["sm\x65\x75\x6ap\x70n"]}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x62\x69\x73\x61\x65fe\x70o\x79"]})){${"\x47L\x4fBAL\x53"}["\x61\x76hc\x71\x67\x62"]="\x72o\x77";return${${"\x47\x4cO\x42\x41\x4cS"}["\x61v\x68\x63\x71\x67\x62"]}["\x73c\x68\x6e\x61me"];}else{return${${"\x47\x4c\x4fBA\x4c\x53"}["\x6a\x70kk\x67up\x6a"]};}}function getbardiscount($id){${"G\x4c\x4fB\x41\x4c\x53"}["\x74\x61\x6b\x6d\x69jw\x67x\x70\x64"]="\x71\x75\x65";${"GLOBA\x4c\x53"}["\x65\x76\x67\x6dl\x79i\x6bh\x70"]="\x71\x75\x65";global$con;${${"\x47\x4c\x4f\x42\x41\x4cS"}["evgm\x6c\x79i\x6b\x68\x70"]}=mysqli_query(${${"G\x4c\x4fBA\x4cS"}["\x68\x6fs\x70\x66\x73"]},"\x73ele\x63t sch\x6ea\x6d\x65 fro\x6d\x20\x6da\x73\x74\x65\x72_bar\x64i\x73\x63ount \x77\x68e\x72\x65\x20bdid\x3d'$id\x27");if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x73m\x65\x75\x6a\x70\x70\x6e"]}=mysqli_fetch_array(${${"G\x4c\x4f\x42AL\x53"}["t\x61\x6b\x6d\x69\x6a\x77g\x78p\x64"]})){${"\x47\x4c\x4fBAL\x53"}["\x6d\x72\x6a\x79v\x64\x67\x67\x75"]="\x72ow";return${${"G\x4c\x4f\x42\x41\x4cS"}["m\x72\x6a\x79\x76\x64\x67\x67\x75"]}["sc\x68n\x61\x6de"];}else{return${${"\x47L\x4fB\x41\x4cS"}["\x6a\x70\x6bkg\x75\x70\x6a"]};}}function getsuppName($id){global$con;$pfimcavphvzp="\x72\x6fw";${"\x47\x4c\x4fB\x41\x4cS"}["\x67\x74\x76v\x70\x73h\x78"]="\x63\x6f\x6e";$iwinyydnfx="qu\x65";${${"\x47\x4c\x4fBA\x4c\x53"}["\x66yn\x62\x78o\x71\x79\x76\x71k"]}=mysqli_query(${${"G\x4c\x4fB\x41\x4c\x53"}["\x67\x74\x76\x76\x70s\x68\x78"]},"s\x65\x6c\x65ct\x20snam\x65 fr\x6f\x6d\x20\x73up\x70\x6cier w\x68e\x72\x65\x20\x73up\x69d=\x27$id'");if(${$pfimcavphvzp}=mysqli_fetch_array(${$iwinyydnfx})){return${${"\x47\x4c\x4f\x42A\x4cS"}["\x73m\x65\x75\x6ap\x70n"]}["snam\x65"];}else{return"0";}}function getcategory($id){global$con;${${"\x47L\x4f\x42\x41L\x53"}["\x66yn\x62x\x6f\x71\x79\x76\x71k"]}=mysqli_query(${${"\x47\x4c\x4f\x42A\x4cS"}["ho\x73pf\x73"]},"\x73elect\x20cat\x65\x67o\x72y from\x20\x6da\x73ter_\x63\x61\x74\x65g\x6f\x72\x79 wh\x65\x72\x65 ca\x74\x69\x64=\x27$id\x27");if(${${"\x47\x4cOB\x41LS"}["\x73\x6d\x65uj\x70\x70\x6e"]}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66y\x6e\x62\x78\x6f\x71\x79vq\x6b"]})){return${${"\x47LO\x42AL\x53"}["\x73\x6d\x65\x75\x6a\x70\x70\x6e"]}["c\x61\x74\x65g\x6f\x72\x79"];}}function getsubcategory($id){global$con;${"\x47\x4c\x4f\x42\x41L\x53"}["\x64\x75\x67\x6b\x6e\x61\x6f"]="\x71\x75e";${${"\x47\x4cOB\x41\x4c\x53"}["\x64ug\x6b\x6e\x61\x6f"]}=mysqli_query(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x6f\x73\x70\x66s"]},"\x73\x65lec\x74 su\x62\x63at\x20\x66\x72\x6fm\x20\x6d\x61\x73ter\x5fsu\x62c\x61\x74e\x67o\x72y\x20\x77\x68er\x65 sc\x61\x74\x69d\x3d\x27$id'");$umolubmvnbh="\x71\x75\x65";if(${${"\x47\x4c\x4f\x42A\x4cS"}["s\x6d\x65\x75\x6ap\x70n"]}=mysqli_fetch_array(${$umolubmvnbh})){${"GL\x4fB\x41LS"}["\x65\x73\x77\x68y\x79\x62"]="\x72ow";return${${"\x47\x4cO\x42AL\x53"}["\x65\x73\x77\x68\x79\x79\x62"]}["s\x75\x62ca\x74"];}}function getcusttype($id){$aviredlmy="\x63on";global$con;$wxorvxrfl="\x71u\x65";${$wxorvxrfl}=mysqli_query(${$aviredlmy},"\x73ele\x63\x74\x20c\x75st\x6f\x6d\x65\x72\x5f\x74ype\x20\x66r\x6fm\x20cu\x73tom\x72e_\x74\x79pe\x20\x77\x68\x65r\x65 i\x64=\x27$id\x27");if(${${"G\x4c\x4fB\x41\x4c\x53"}["\x73\x6de\x75jp\x70n"]}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x79\x6e\x62x\x6f\x71\x79v\x71\x6b"]})){return${${"\x47L\x4f\x42A\x4cS"}["sm\x65u\x6ap\x70\x6e"]}["\x63\x75s\x74\x6f\x6de\x72\x5ft\x79\x70\x65"];}}function getbrand($id){$njjnpckn="c\x6fn";$soeoortahms="\x71\x75\x65";global$con;${"\x47\x4cO\x42\x41\x4cS"}["\x64h\x64m\x72\x6a"]="\x72\x6f\x77";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66y\x6e\x62\x78\x6f\x71\x79v\x71\x6b"]}=mysqli_query(${$njjnpckn},"selec\x74\x20bran\x64\x20f\x72\x6f\x6d\x20\x6dast\x65r_\x62\x72\x61n\x64 wh\x65r\x65\x20b\x69\x64\x3d'$id\x27");if(${${"\x47\x4cOBA\x4c\x53"}["dh\x64\x6d\x72j"]}=mysqli_fetch_array(${$soeoortahms})){${"G\x4c\x4f\x42\x41\x4cS"}["b\x66\x65wftbd"]="\x72ow";return${${"G\x4c\x4f\x42\x41\x4cS"}["\x62\x66\x65w\x66tbd"]}["bra\x6ed"];}}function getcolor($id){$mffyugu="\x72o\x77";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78\x62\x79\x6f\x75\x6dw\x66"]="\x71\x75e";$tnuonvfdyavd="c\x6f\x6e";$slyhbml="\x71\x75e";global$con;${${"\x47L\x4f\x42\x41\x4c\x53"}["\x78\x62you\x6d\x77\x66"]}=mysqli_query(${$tnuonvfdyavd},"s\x65l\x65c\x74 \x63\x6fl\x6fr\x20\x66rom \x6d\x61ster_\x63olo\x72\x20wh\x65\x72e \x63i\x64\x3d\x27$id\x27");if(${$mffyugu}=mysqli_fetch_array(${$slyhbml})){return${${"\x47\x4cO\x42\x41L\x53"}["\x73\x6d\x65\x75j\x70\x70n"]}["\x63ol\x6fr"];}else{return${${"\x47LO\x42\x41L\x53"}["\x6a\x70\x6b\x6b\x67\x75\x70\x6a"]};}}function getsizename($id){global$con;return${${"GL\x4fB\x41L\x53"}["j\x70\x6bkg\x75\x70j"]};}function getsize($id){global$con;return${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6ap\x6bk\x67up\x6a"]};}function getstyle($id){${"\x47LOB\x41\x4cS"}["m\x66\x71\x68\x6c\x6b\x61n"]="\x69\x64";global$con;return${${"\x47\x4cOBA\x4c\x53"}["m\x66q\x68lk\x61\x6e"]};}function getcustname($id){${"\x47L\x4fB\x41\x4c\x53"}["\x66\x6a\x63\x64\x68\x74e\x72\x67"]="q\x75e";global$con;${"\x47\x4c\x4f\x42\x41\x4c\x53"}["k\x72g\x67\x72\x67d"]="ro\x77";${${"\x47\x4c\x4f\x42\x41LS"}["fy\x6ebx\x6f\x71\x79v\x71\x6b"]}=mysqli_query(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68o\x73p\x66s"]},"select\x20\x63\x6e\x61\x6de \x20\x66rom \x6d\x61\x73\x74\x65\x72\x5f\x63us\x74\x6f\x6de\x72 w\x68\x65\x72\x65\x20cust\x69\x64\x3d'$id'");if(${${"GL\x4f\x42\x41\x4c\x53"}["\x6b\x72\x67grg\x64"]}=mysqli_fetch_array(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66j\x63d\x68\x74\x65r\x67"]})){return${${"\x47LOB\x41L\x53"}["\x73me\x75j\x70\x70\x6e"]}["\x63n\x61\x6d\x65"];}}function getcustid($id){$idovgmlv="co\x6e";global$con;${${"\x47\x4cOB\x41\x4c\x53"}["\x66yn\x62\x78\x6f\x71\x79v\x71\x6b"]}=mysqli_query(${$idovgmlv},"\x73\x65\x6cec\x74\x20\x63id\x20\x20\x66ro\x6d\x20\x6d\x61st\x65\x72\x5fcustome\x72\x20w\x68\x65re \x63\x75sti\x64='$id\x27");${"\x47LO\x42\x41L\x53"}["\x64wn\x63\x68j\x6e\x63"]="\x71\x75e";if(${${"GLOB\x41\x4c\x53"}["s\x6d\x65ujp\x70\x6e"]}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42AL\x53"}["dw\x6e\x63hjn\x63"]})){$ixckpssrayfh="\x72\x6f\x77";return${$ixckpssrayfh}["cid"];}}function getcmpname($id){${"\x47L\x4fB\x41L\x53"}["\x61\x66\x6b\x6b\x63\x6e\x65\x63x\x68"]="r\x6f\x77";global$con;${${"\x47L\x4fB\x41\x4c\x53"}["\x66\x79\x6e\x62\x78oq\x79v\x71\x6b"]}=mysqli_query(${${"G\x4cOBA\x4cS"}["h\x6fs\x70\x66s"]},"sele\x63\x74 c\x6fmpa\x6e\x79\x20 \x66\x72om\x20ma\x73\x74\x65\x72\x5fc\x75\x73\x74\x6f\x6de\x72\x20\x77he\x72\x65 \x63\x75s\x74id='$id\x27");if(${${"\x47\x4c\x4f\x42ALS"}["af\x6bk\x63nec\x78h"]}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42A\x4cS"}["\x66\x79\x6e\x62\x78\x6f\x71\x79\x76\x71\x6b"]})){return${${"G\x4cO\x42ALS"}["\x73\x6d\x65\x75j\x70\x70\x6e"]}["co\x6d\x70a\x6e\x79"];}}function getage($pdate){$cwbuty="\x64\x69f\x66";$qlwrdzxytrqy="\x70d\x61\x74e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x69\x71\x6eh\x6b\x65\x6d"]="c\x64\x61\x74\x65";global$con;${${"\x47\x4cOB\x41\x4c\x53"}["\x77i\x71\x6eh\x6b\x65m"]}=date("\x59/m/d");${"GLO\x42A\x4cS"}["\x65c\x69\x77\x67\x64"]="\x64\x61\x79\x73";$csumhiucehq="\x64\x61\x79\x73";${${"\x47LO\x42\x41\x4c\x53"}["\x78s\x6fj\x78gpx"]}=abs(strtotime(${${"\x47\x4c\x4fB\x41L\x53"}["r\x70\x6d\x77\x6e\x76r\x74v"]})-strtotime(${$qlwrdzxytrqy}));${${"\x47\x4cOBA\x4c\x53"}["\x72\x71evmf\x62\x78\x6c\x64e"]}=floor(${$cwbuty}/(365*60*60*24));$mfbrjdtrkgf="d\x69\x66\x66";${${"\x47\x4c\x4fB\x41L\x53"}["\x7auz\x66\x70\x76by\x77\x6e\x73"]}=floor((${${"\x47\x4c\x4fB\x41\x4cS"}["\x78s\x6fj\x78\x67\x70\x78"]}-${${"\x47\x4cO\x42\x41\x4cS"}["\x72\x71\x65v\x6df\x62\x78\x6cde"]}*365*60*60*24)/(30*60*60*24));${${"\x47\x4cO\x42\x41\x4cS"}["e\x63i\x77\x67d"]}=floor((${$mfbrjdtrkgf}-${${"\x47L\x4f\x42\x41L\x53"}["\x72q\x65\x76\x6df\x62xl\x64\x65"]}*365*60*60*24-${${"G\x4c\x4fB\x41L\x53"}["\x7a\x75zf\x70\x76b\x79\x77\x6es"]}*30*60*60*24)/(60*60*24));return${$csumhiucehq};}function getnetvat($pid){$segaqmx="\x63\x6f\x6e";global$con;${${"\x47\x4cOB\x41\x4c\x53"}["\x66\x79\x6e\x62\x78oq\x79\x76\x71k"]}=mysqli_query(${$segaqmx},"selec\x74\x20\x73\x75\x6d(ne\x74p\x75\x72\x70\x76\x61t)\x20a\x73 c\x20 f\x72\x6fm\x20d\x70ur\x63h\x61s\x65\x69\x74em whe\x72e\x20p\x69d=\x27$pid\x27");if(${${"GL\x4f\x42\x41L\x53"}["s\x6d\x65\x75\x6a\x70\x70\x6e"]}=mysqli_fetch_array(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x79\x6e\x62xoq\x79v\x71k"]})){${"GL\x4fBA\x4cS"}["\x70h\x74\x66q\x79\x63oq\x6a"]="row";return${${"G\x4cO\x42\x41\x4c\x53"}["\x70\x68\x74\x66qyco\x71\x6a"]}["\x63"];}else{return"\x30";}}function getcnno($saleid){$cxrweam="\x63\x6f\x6e";$hsrmghwawpt="q\x75\x65";global$con;${"\x47\x4c\x4f\x42\x41\x4c\x53"}["g\x62\x68jn\x6c\x72\x66\x6e\x73\x66q"]="\x72\x6fw";${$hsrmghwawpt}=mysqli_query(${$cxrweam},"\x73el\x65\x63t \x63id \x66r\x6fm \x63red\x69t\x6e\x6f\x74e \x77her\x65\x20\x73a\x6ce\x69\x64=\x27$saleid'");if(${${"\x47L\x4f\x42\x41L\x53"}["\x67\x62\x68jn\x6c\x72\x66\x6e\x73\x66q"]}=mysqli_fetch_array(${${"\x47LO\x42\x41\x4c\x53"}["fy\x6e\x62\x78\x6fqy\x76\x71k"]})){${"\x47L\x4fB\x41\x4c\x53"}["\x64kshhg\x76j\x6e\x71"]="\x72\x6f\x77";return"C\x4e-".${${"\x47\x4c\x4fB\x41LS"}["\x64\x6bs\x68\x68g\x76\x6anq"]}["\x63id"];}}function getipurprice($bid){$mydsfgnnftu="\x71\x75e";global$con;${$mydsfgnnftu}=mysqli_query(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x68\x6f\x73\x70\x66\x73"]},"s\x65l\x65ct \x70\x75rp\x72i\x63e \x20\x66\x72\x6f\x6d\x20\x62a\x72\x63o\x64e \x77h\x65\x72\x65 bi\x64\x3d\x27$bid'");if(${${"\x47LO\x42\x41\x4c\x53"}["\x73\x6de\x75\x6ap\x70n"]}=mysqli_fetch_array(${${"\x47\x4cO\x42\x41\x4cS"
}["\x66\x79\x6e\x62x\x6fq\x79\x76q\x6b"]})){${"\x47\x4cO\x42\x41\x4c\x53"}["\x62\x7a\x68g\x6b\x64\x6b\x78\x6bp\x6c"]="r\x6f\x77";return${${"\x47\x4c\x4fB\x41\x4c\x53"}["b\x7a\x68\x67k\x64k\x78\x6bpl"]}["pu\x72\x70r\x69c\x65"];}}function getFullname($username){${"\x47L\x4f\x42A\x4c\x53"}["\x76d\x78\x6a\x68sh\x71\x6ez\x63"]="\x71\x75e";global$con;${"\x47\x4cO\x42A\x4c\x53"}["\x62\x79\x76v\x72\x62\x6b\x65\x64"]="\x63\x6fn";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66\x71\x63\x69\x71\x67"]="q\x75e";${${"\x47LO\x42A\x4cS"}["v\x64x\x6a\x68\x73\x68\x71nzc"]}=mysqli_query(${${"\x47\x4c\x4fBA\x4cS"}["\x62\x79\x76\x76\x72\x62\x6b\x65\x64"]},"s\x65\x6ce\x63t n\x61m\x65\x20 f\x72om\x20mem\x62er_\x72\x65\x67\x20\x77\x68er\x65\x20ref\x65rr\x65r\x5fid='$username\x27");if(${${"\x47\x4cOBA\x4cS"}["s\x6d\x65\x75j\x70\x70\x6e"]}=mysqli_fetch_array(${${"GL\x4fB\x41\x4c\x53"}["fq\x63i\x71g"]})){$ykbjarji="r\x6fw";return${$ykbjarji}["\x6e\x61\x6de"];}else{return"";}}function getLimit($itemid,$subitem){${"\x47L\x4f\x42A\x4c\x53"}["r\x6b\x78h\x79gr\x67o"]="\x63o\x6e";global$con;${${"\x47LO\x42A\x4cS"}["\x66\x79\x6e\x62\x78\x6fqy\x76q\x6b"]}=mysqli_query(${${"GL\x4fBA\x4cS"}["\x72\x6bx\x68\x79\x67rg\x6f"]},"s\x65l\x65\x63\x74 s\x6cim\x69t \x20f\x72\x6fm\x20s\x75bi\x74\x65m w\x68ere\x20\x69\x65m\x69\x64='$itemid'\x20a\x6e\x64 subi\x74emid=\x27$subitem\x27");if(${${"GLO\x42\x41\x4cS"}["\x73\x6deu\x6ap\x70n"]}=mysqli_fetch_array(${${"GLO\x42\x41\x4c\x53"}["\x66\x79n\x62\x78\x6fq\x79\x76q\x6b"]})){return${${"G\x4cO\x42AL\x53"}["\x73\x6d\x65u\x6app\x6e"]}["sl\x69\x6d\x69t"];}}function getItemname($itemid){global$con;${"GL\x4f\x42A\x4c\x53"}["\x76\x79\x77\x66b\x74b\x75d"]="que";${${"\x47LOB\x41\x4c\x53"}["\x66\x79\x6ebxoq\x79v\x71k"]}=mysqli_query(${${"\x47\x4cO\x42\x41\x4cS"}["ho\x73p\x66\x73"]},"\x73e\x6cec\x74\x20i\x74e\x6d\x6e\x61me f\x72\x6fm \x69tem\x20\x77h\x65\x72\x65\x20i\x74em\x69\x64 \x3d'$itemid'");if(${${"\x47LO\x42\x41\x4c\x53"}["sm\x65u\x6ap\x70\x6e"]}=mysqli_fetch_array(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x76\x79\x77\x66b\x74b\x75\x64"]})){${"\x47\x4cO\x42A\x4c\x53"}["\x74u\x6f\x61v\x69\x6a\x7a\x69\x68s\x63"]="r\x6f\x77";return${${"G\x4c\x4fB\x41\x4c\x53"}["\x74\x75oa\x76\x69\x6a\x7aihsc"]}["\x69t\x65m\x6ea\x6de"];}else{return"";}}function getSubItemname($itemid,$subitem){$rjwsxyg="\x71\x75\x65";${"\x47\x4cOB\x41\x4cS"}["\x62\x64p\x76b\x74\x69\x6d\x77o"]="\x71\x75\x65";global$con;${$rjwsxyg}=mysqli_query(${${"GL\x4f\x42\x41\x4c\x53"}["\x68\x6f\x73\x70\x66\x73"]},"s\x65l\x65\x63t\x20su\x62it\x65\x6d\x20\x20\x66\x72om\x20su\x62\x69\x74e\x6d \x77he\x72e i\x65mid='$itemid' an\x64 s\x75bit\x65mid='$subitem'");if(${${"\x47\x4c\x4fB\x41\x4cS"}["\x73\x6d\x65\x75\x6appn"]}=mysqli_fetch_array(${${"G\x4c\x4fB\x41\x4c\x53"}["b\x64\x70\x76\x62\x74i\x6dwo"]})){return${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x73m\x65u\x6appn"]}["\x73ub\x69tem"];}else{return"\x4e/\x41";}}function getDiscountType($itemid,$subitem,$cdate){${"G\x4cOB\x41\x4c\x53"}["\x66u\x73\x76s\x63\x68\x69g\x70\x72"]="\x63\x6f\x6e";${"\x47LO\x42ALS"}["\x76\x68\x66\x6bf\x63\x71\x6e\x73\x76\x71"]="\x63\x6f\x6e";${"G\x4c\x4f\x42ALS"}["n\x69\x72y\x69\x78\x64\x6a"]="r\x6fw";$owsykjyuao="\x71u\x65\x31";$rhlxmorah="co\x6e";global$con;${${"\x47\x4c\x4fBA\x4cS"}["\x66\x79n\x62x\x6fq\x79\x76\x71k"]}=mysqli_query(${$rhlxmorah},"\x73\x65l\x65ct\x20\x64t\x79pe,\x64a\x6donu\x74\x20 f\x72o\x6d \x69\x74\x65\x6d\x64i\x73cou\x6e\x74\x20\x77here \x69\x74\x65m\x69d\x3d'$itemid' \x61\x6ed \x73\x75\x62\x69temid='$subitem' \x61nd \x73d\x61\x74e <\x3d'$cdate' a\x6ed ed\x61t\x65>='$cdate' and s\x74a\x74u\x73='YE\x53\x27");${${"\x47\x4cO\x42A\x4cS"}["\x62\x6bk\x79i\x77\x6e\x6f\x76"]}=mysqli_query(${${"GL\x4f\x42ALS"}["\x66u\x73\x76s\x63\x68\x69g\x70r"]},"s\x65le\x63t\x20dt\x79pe,\x64\x61\x6do\x6e\x75\x74\x20 \x66\x72\x6f\x6d \x69te\x6ddis\x63ou\x6e\x74 \x77\x68er\x65 \x69temid\x3d'$itemid\x27\x20\x61nd\x20s\x75\x62i\x74\x65m\x69d\x3d\x27a\x6cl'\x20\x61nd \x73\x64\x61te\x20<='$cdate'\x20an\x64 eda\x74e\x3e='$cdate\x27\x20\x61\x6e\x64 s\x74\x61t\x75s=\x27\x59E\x53'");${${"\x47\x4c\x4f\x42A\x4cS"}["\x72\x73p\x6c\x6fv\x66q\x63qi"]}=mysqli_query(${${"\x47LO\x42\x41\x4c\x53"}["v\x68\x66k\x66c\x71\x6e\x73v\x71"]},"s\x65\x6cec\x74\x20\x64t\x79pe,d\x61\x6do\x6eu\x74 \x66r\x6f\x6d\x20\x69te\x6d\x64\x69s\x63ount\x20wh\x65re it\x65\x6d\x69d\x3d'a\x6c\x6c'\x20and subit\x65m\x69d=\x27\x61\x6cl\x27\x20\x61\x6e\x64\x20s\x64a\x74\x65 \x3c='$cdate'\x20and\x20e\x64at\x65\x3e\x3d\x27$cdate\x27 \x61nd st\x61\x74\x75\x73\x3d'\x59\x45S'");if(${${"\x47L\x4f\x42A\x4c\x53"}["\x6e\x69ry\x69\x78dj"]}=mysqli_fetch_array(${${"G\x4cOBA\x4c\x53"}["fy\x6e\x62\x78\x6f\x71\x79\x76qk"]})){return${${"G\x4cO\x42A\x4c\x53"}["\x73\x6d\x65uj\x70p\x6e"]}["\x64t\x79\x70\x65"];}else if(${${"\x47LOBA\x4cS"}["\x73\x6de\x75j\x70p\x6e"]}=mysqli_fetch_array(${$owsykjyuao})){return${${"GL\x4fB\x41\x4c\x53"}["s\x6d\x65\x75j\x70\x70n"]}["\x64ty\x70\x65"];}else if(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x73\x6d\x65\x75\x6ap\x70n"]}=mysqli_fetch_array(${${"\x47\x4c\x4fBAL\x53"}["\x72\x73\x70l\x6fv\x66\x71\x63\x71i"]})){${"G\x4cOBA\x4cS"}["h\x6c\x79\x79\x66\x63o\x70\x6b"]="\x72o\x77";return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["hl\x79\x79\x66c\x6f\x70\x6b"]}["d\x74y\x70\x65"];}else{return"N/A";}}function getDiscountAmt($itemid,$subitem,$cdate){${"\x47\x4cO\x42\x41\x4c\x53"}["n\x6elia\x6b\x6c\x63"]="c\x6f\x6e";global$con;${${"G\x4cO\x42\x41\x4cS"}["fy\x6e\x62\x78\x6fq\x79\x76\x71\x6b"]}=mysqli_query(${${"G\x4cOB\x41L\x53"}["h\x6f\x73\x70\x66s"]},"\x73\x65\x6c\x65\x63\x74\x20\x64t\x79\x70\x65,dam\x6fnu\x74 \x20\x66r\x6fm\x20\x69te\x6dd\x69\x73c\x6f\x75n\x74 \x77\x68\x65r\x65\x20\x69\x74\x65\x6di\x64\x3d'$itemid' a\x6e\x64 \x73\x75bite\x6d\x69\x64='$subitem\x27 \x61\x6ed \x73\x64a\x74\x65\x20\x3c\x3d'$cdate\x27\x20\x61n\x64\x20\x65\x64a\x74\x65\x3e\x3d\x27$cdate' \x61\x6e\x64\x20\x73ta\x74us='\x59\x45S'");${${"\x47\x4cO\x42A\x4cS"}["\x62\x6b\x6byi\x77\x6e\x6f\x76"]}=mysqli_query(${${"\x47\x4c\x4f\x42A\x4cS"}["ho\x73\x70\x66s"]},"s\x65le\x63\x74\x20dt\x79\x70e,\x64\x61\x6d\x6f\x6e\x75\x74\x20\x20f\x72\x6fm\x20i\x74e\x6dd\x69\x73\x63\x6f\x75\x6e\x74\x20wh\x65\x72e it\x65mid\x3d\x27$itemid'\x20\x61n\x64 \x73ub\x69\x74\x65mi\x64=\x27al\x6c\x27 \x61nd \x73\x64\x61te\x20<\x3d'$cdate'\x20\x61n\x64 \x65\x64a\x74\x65>\x3d\x27$cdate\x27 and s\x74at\x75\x73='Y\x45\x53'");${"GL\x4f\x42\x41\x4cS"}["y\x76\x6b\x73\x69\x74ei"]="\x72\x6f\x77";$owmyxxriuqng="\x72o\x77";${${"\x47\x4cO\x42A\x4cS"}["\x72spl\x6f\x76\x66qc\x71\x69"]}=mysqli_query(${${"G\x4c\x4f\x42A\x4c\x53"}["\x6enl\x69a\x6bl\x63"]},"s\x65\x6c\x65\x63t \x64\x74\x79\x70e,dam\x6fnu\x74 \x66\x72\x6fm\x20i\x74\x65\x6d\x64\x69\x73\x63oun\x74 \x77\x68\x65\x72\x65\x20\x69te\x6d\x69\x64='\x61ll\x27 \x61\x6e\x64\x20\x73\x75\x62i\x74e\x6di\x64\x3d'\x61ll\x27\x20\x61n\x64\x20sd\x61\x74e <\x3d\x27$cdate'\x20and\x20edate>=\x27$cdate'\x20\x61nd\x20\x73t\x61tus=\x27\x59E\x53\x27");${"\x47\x4cO\x42\x41\x4c\x53"}["\x71\x66k\x7a\x69usu\x67e"]="qu\x65\x31";if(${$owmyxxriuqng}=mysqli_fetch_array(${${"G\x4c\x4fB\x41\x4c\x53"}["\x66yn\x62\x78\x6fq\x79\x76\x71k"]})){$vjziypg="\x72\x6fw";return${$vjziypg}["damo\x6e\x75t"];}else if(${${"\x47LO\x42\x41L\x53"}["\x79\x76\x6b\x73\x69\x74e\x69"]}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42AL\x53"}["\x71\x66\x6b\x7a\x69\x75\x73\x75\x67\x65"]})){$rvtoqesgaone="\x72\x6fw";return${$rvtoqesgaone}["\x64\x61mo\x6eut"];}else if(${${"G\x4c\x4fBA\x4c\x53"}["\x73m\x65\x75\x6ap\x70\x6e"]}=mysqli_fetch_array(${${"\x47L\x4f\x42\x41L\x53"}["r\x73p\x6c\x6f\x76\x66q\x63qi"]})){return${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73\x6d\x65uj\x70p\x6e"]}["\x64a\x6don\x75t"];}else{return"0";}}function getprtyname($cid){$nadwpmsyh="\x63\x6fn";global$con;$nxxiop="\x72\x6fw";${${"G\x4cO\x42\x41\x4c\x53"}["\x66ynb\x78\x6f\x71\x79\x76qk"]}=mysqli_query(${$nadwpmsyh},"s\x65l\x65ct \x66\x6e\x61m\x65,p\x6e\x61\x6d\x65 \x66r\x6fm c\x61\x73\x68\x62o\x6fk_p\x61\x72t\x79\x20 \x77\x68\x65r\x65 p\x69\x64\x20=\x27$cid'");if(${$nxxiop}=mysqli_fetch_array(${${"G\x4cO\x42\x41LS"}["f\x79\x6eb\x78o\x71\x79v\x71\x6b"]})){return${${"GLOBA\x4c\x53"}["\x73me\x75\x6app\x6e"]}[0]." -\x20".${${"\x47\x4c\x4f\x42ALS"}["\x73m\x65\x75j\x70\x70\x6e"]}[1];}else{return${${"\x47\x4c\x4f\x42AL\x53"}["b\x67\x67gua\x73\x65"]};}}function get_open_close_balance_now($cdate,$locid){$crpcmulhqdx="c\x6c\x6f\x73i\x6e\x67\x63\x61\x73h";${"\x47LO\x42\x41\x4c\x53"}["iq\x66\x68\x71\x6c\x79rc\x6d\x70"]="\x72o\x77\x32";$mlxgfcfnu="\x70ar\x61\x6d\x32";$giruyw="\x6co\x63i\x64";global$con;$mqyfcmalygy="\x71\x75\x65\x72\x79\x34";if(${$giruyw}==0){$jqxwnysrirf="\x63\x6fn";$ddrvooxjle="c\x6f\x6e";${${"GLO\x42\x41\x4c\x53"}["\x74\x64\x66\x72\x61\x73\x6e\x62\x6cb\x77k"]}=mysqli_query(${$ddrvooxjle},"SELEC\x54 su\x6d(\x62d\x61\x6d\x74) \x41S bd\x61m\x74, sum(\x64\x61\x6dou\x6e\x74) AS\x20d\x61\x6d\x6fu\x6et, sum(\x62\x63amt) A\x53\x20bc\x61m\x74,\x20su\x6d(c\x61\x6do\x75\x6et)\x20\x41S c\x61\x6d\x6f\x75nt\nF\x52\x4fM ca\x73h\x62\x6f\x6f\x6b_tota\x6c\x20WHE\x52E\x20\x63\x64\x61\x74\x65\x20\x3c'$cdate'")or die(mysqli_error(${$jqxwnysrirf}));}else{${"G\x4c\x4f\x42AL\x53"}["\x6d\x75\x63\x66\x74\x71\x63\x73t"]="c\x6fn";${${"\x47\x4c\x4f\x42\x41\x4cS"}["tdf\x72a\x73\x6e\x62\x6cbwk"]}=mysqli_query(${${"\x47\x4cO\x42\x41\x4c\x53"}["mucf\x74\x71\x63st"]},"\x53E\x4cEC\x54 s\x75\x6d(\x62d\x61\x6d\x74) \x41S\x20\x62\x64a\x6dt,\x20s\x75\x6d(dam\x6fun\x74)\x20A\x53 damo\x75\x6et, \x73\x75m(b\x63am\x74) A\x53\x20b\x63\x61m\x74,\x20\x73um(c\x61mo\x75nt) \x41\x53 cam\x6f\x75n\x74\nF\x52\x4fM c\x61\x73hb\x6fok_t\x6ft\x61l\x20\x57\x48E\x52\x45\x20\x63dat\x65 <'$cdate' \x61nd\x20l\x6f\x63\x69\x64='$locid\x27\x20")or die(mysqli_error(${${"\x47\x4c\x4fB\x41L\x53"}["\x68os\x70f\x73"]}));}$uchiommpli="\x63\x61s\x69\x6e\x62\x61nk";${"GL\x4f\x42\x41\x4c\x53"}["\x64\x72i\x79\x6c\x74\x65"]="c";if(${${"G\x4c\x4fBALS"}["\x69\x71\x66hql\x79\x72\x63mp"]}=mysqli_fetch_array(${$mqyfcmalygy})){$ddbuvuy="c\x61\x73\x6f\x75\x74\x68a\x6e\x64";${"\x47L\x4f\x42\x41\x4c\x53"}["\x79\x78r\x6a\x77g\x6d\x6e"]="\x63\x61s\x69\x6eh\x61\x6e\x64";${"
\x47\x4c\x4fBAL\x53"}["y\x63x\x6au\x6a\x6d\x62x\x78"]="\x63\x61so\x75\x74\x62\x61\x6e\x6b";$rivhvpvlvij="\x72ow2";${${"\x47\x4c\x4fB\x41L\x53"}["y\x63\x78\x6a\x75\x6am\x62\x78x"]}=${$rivhvpvlvij}["\x62\x64\x61mt"];${$ddbuvuy}=${${"GLOB\x41\x4c\x53"}["\x65\x68\x72\x6d\x72\x79\x65"]}["da\x6d\x6funt"];${${"\x47L\x4fB\x41\x4c\x53"}["\x71w\x6c\x75\x67mu\x71"]}=${${"\x47L\x4fB\x41\x4c\x53"}["\x65\x68r\x6d\x72\x79\x65"]}["bca\x6d\x74"];${${"G\x4c\x4f\x42\x41\x4cS"}["\x79x\x72j\x77gmn"]}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65h\x72m\x72y\x65"]}["ca\x6doun\x74"];}${"G\x4c\x4f\x42\x41\x4c\x53"}["vl\x78\x67\x77\x6f\x67\x6c\x77\x61\x66\x66"]="c\x61\x73\x6f\x75\x74\x68a\x6e\x64";${"G\x4c\x4f\x42A\x4c\x53"}["v\x73\x71\x73\x79\x76\x71"]="\x63";$gbtcfvikwc="c\x31";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x73qs\x79vq"]}=${${"GL\x4f\x42AL\x53"}["\x76\x75\x6ei\x77\x65\x71bsr"]}+${${"\x47\x4cO\x42\x41L\x53"}["\x69rhb\x77\x6a"]}-${${"GL\x4f\x42\x41\x4c\x53"}["v\x6cx\x67\x77\x6f\x67l\x77\x61f\x66"]};${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x72of\x6e\x6do"]}=${$mlxgfcfnu}+${$uchiommpli}-${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67r\x7a\x76d\x7a\x67w"]};${$crpcmulhqdx}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64r\x69\x79\x6c\x74e"]};$uuxxyf="\x63\x6c\x6f\x73\x69n\x67\x62\x61\x6e\x6b";${${"G\x4c\x4fB\x41LS"}["p\x66ti\x78xu\x72l\x6c\x63r"]}=${$gbtcfvikwc};return round(${${"\x47LO\x42\x41\x4cS"}["\x69k\x72\x74\x69\x70ly\x79"]})."\x7e".round(${$uuxxyf},2);}function get_open_close_balance_current($cdate,$locid){${"\x47L\x4f\x42\x41L\x53"}["\x68yk\x79\x75cgg"]="c\x61\x73in\x62a\x6e\x6b";global$con;$hcxodkfyn="c";$wawpgrg="ca\x73\x69\x6e\x68\x61\x6ed";$uwfyhfui="c\x6co\x73\x69n\x67\x62\x61\x6ek";${"\x47L\x4fBAL\x53"}["\x6as\x6f\x73mmb\x6e\x70"]="\x71u\x65\x72\x794";${"\x47L\x4f\x42\x41\x4cS"}["lm\x61\x6ca\x6cse\x73"]="\x63\x6c\x6f\x73\x69\x6e\x67c\x61\x73\x68";${"\x47L\x4f\x42A\x4c\x53"}["\x6fs\x78\x71i\x66x\x72"]="\x631";if(${${"G\x4cO\x42\x41\x4cS"}["s\x70\x64\x61\x6c\x6e"]}==0){${"\x47\x4c\x4f\x42\x41L\x53"}["\x6e\x6f\x7a\x71\x6ac\x65l"]="c\x6f\x6e";${${"\x47\x4cOB\x41\x4c\x53"}["\x74d\x66r\x61\x73\x6e\x62\x6c\x62\x77\x6b"]}=mysqli_query(${${"\x47L\x4f\x42\x41L\x53"}["\x68os\x70fs"]},"SELEC\x54 \x73\x75\x6d(\x62d\x61\x6dt) \x41\x53\x20\x62\x64a\x6d\x74, \x73u\x6d(\x64\x61mo\x75\x6et)\x20\x41S \x64\x61m\x6fu\x6et,\x20\x73u\x6d(b\x63am\x74)\x20\x41S \x62\x63\x61\x6dt,\x20s\x75\x6d(c\x61moun\x74)\x20\x41S\x20ca\x6d\x6f\x75n\x74\n\x46\x52\x4f\x4d \x63\x61sh\x62ook\x5f\x74o\x74a\x6c WH\x45R\x45 cd\x61\x74e \x3c\x3d\x27$cdate\x27")or die(mysqli_error(${${"\x47\x4c\x4f\x42A\x4cS"}["n\x6f\x7a\x71\x6ac\x65l"]}));}else{$jznldbrukpd="c\x6f\x6e";${${"\x47\x4c\x4fB\x41L\x53"}["\x74df\x72\x61snb\x6c\x62wk"]}=mysqli_query(${${"\x47L\x4fB\x41LS"}["\x68\x6fsp\x66s"]},"\x53\x45LECT\x20\x73um(\x62\x64\x61\x6dt)\x20A\x53 bdamt,\x20\x73u\x6d(\x64\x61\x6do\x75\x6e\x74)\x20A\x53 \x64\x61\x6dou\x6et,\x20sum(\x62c\x61\x6dt)\x20\x41\x53 b\x63\x61\x6dt, s\x75\x6d(camoun\x74)\x20\x41S \x63\x61mo\x75\x6et\n\x46\x52OM ca\x73h\x62o\x6fk\x5f\x74otal\x20WHER\x45 \x63\x64at\x65 <\x3d'$cdate\x27 \x61nd loc\x69\x64='$locid\x27 ")or die(mysqli_error(${$jznldbrukpd}));}if(${${"\x47\x4cO\x42\x41L\x53"}["ehrm\x72\x79\x65"]}=mysqli_fetch_array(${${"\x47\x4c\x4fBA\x4c\x53"}["j\x73\x6f\x73\x6d\x6d\x62\x6e\x70"]})){${"G\x4c\x4fB\x41L\x53"}["\x75\x78\x70\x73d\x6fimcx\x62"]="\x63\x61\x73\x69\x6e\x62\x61\x6e\x6b";$uebaobqscm="\x63a\x73o\x75t\x68\x61\x6ed";${${"GL\x4f\x42\x41\x4cS"}["\x67r\x7a\x76\x64\x7a\x67\x77"]}=${${"G\x4c\x4fB\x41\x4cS"}["\x65\x68r\x6d\x72\x79\x65"]}["\x62dam\x74"];${"\x47L\x4f\x42\x41\x4cS"}["\x72\x6a\x67q\x62\x70o\x71\x61w"]="\x63\x61si\x6eh\x61\x6ed";${$uebaobqscm}=${${"\x47L\x4f\x42\x41L\x53"}["\x65h\x72\x6d\x72\x79\x65"]}["dam\x6f\x75nt"];${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["u\x78p\x73\x64\x6f\x69mc\x78\x62"]}=${${"\x47LO\x42A\x4c\x53"}["\x65hr\x6d\x72ye"]}["b\x63\x61\x6d\x74"];${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72jgqb\x70o\x71\x61\x77"]}=${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65\x68\x72m\x72\x79e"]}["\x63am\x6f\x75\x6e\x74"];}${${"GL\x4f\x42AL\x53"}["\x6djte\x76\x77\x68l\x62"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["v\x75n\x69w\x65\x71\x62\x73r"]}+${$wawpgrg}-${${"G\x4cOBA\x4c\x53"}["\x73\x68\x64\x65iz\x68\x69r\x6e\x77"]};${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x72\x6f\x66\x6e\x6d\x6f"]}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["x\x77\x74lph\x72\x6d\x66"]}+${${"\x47\x4c\x4f\x42ALS"}["\x68y\x6b\x79u\x63g\x67"]}-${${"\x47LO\x42\x41\x4c\x53"}["g\x72\x7av\x64z\x67\x77"]};${${"G\x4c\x4fB\x41L\x53"}["\x69\x6br\x74\x69p\x6c\x79y"]}=${$hcxodkfyn};${${"\x47\x4c\x4fB\x41\x4cS"}["\x70ft\x69\x78x\x75rl\x6cc\x72"]}=${${"\x47\x4cOB\x41\x4c\x53"}["o\x73x\x71\x69\x66\x78r"]};return round(${${"G\x4c\x4f\x42A\x4cS"}["\x6cma\x6c\x61l\x73es"]})."\x7e".round(${$uwfyhfui},2);}function getEmpname($itemid){${"\x47L\x4f\x42A\x4c\x53"}["r\x61\x68\x74\x63\x79\x65\x71\x6d\x6d\x72n"]="c\x6f\x6e";global$con;$dcihdzecj="\x72ow";${${"\x47\x4cO\x42\x41\x4cS"}["\x66y\x6eb\x78\x6f\x71\x79\x76\x71\x6b"]}=mysqli_query(${${"\x47\x4cOB\x41\x4cS"}["\x72\x61ht\x63y\x65\x71\x6d\x6d\x72\x6e"]},"\x73e\x6c\x65\x63\x74\x20us\x65\x72n\x61\x6d\x65 \x66\x72o\x6d\x20u\x73e\x72_\x72\x65g\x20\x77\x68e\x72\x65 \x69\x64\x3d'$itemid\x27");if(${$dcihdzecj}=mysqli_fetch_array(${${"\x47L\x4f\x42\x41\x4cS"}["fyn\x62\x78\x6f\x71y\x76\x71\x6b"]})){return${${"G\x4c\x4f\x42\x41\x4c\x53"}["s\x6d\x65\x75j\x70\x70\x6e"]}["u\x73erna\x6de"];}else{return"\x4e/A";}}function getstoreCName($storeid){${"\x47L\x4fBA\x4cS"}["\x64o\x64\x6f\x66\x67my\x6ag\x77"]="\x72o\x77";global$con;$phktjsvk="\x71u\x65";${${"G\x4cO\x42\x41LS"}["\x66\x79\x6eb\x78\x6f\x71\x79vq\x6b"]}=mysqli_query(${${"\x47\x4c\x4fBA\x4c\x53"}["\x68os\x70fs"]},"\x73ele\x63\x74 s\x6e\x61me \x66\x72\x6fm\x20ma\x73\x74e\x72\x5fstore wh\x65r\x65 \x73\x74\x6f\x72\x65\x69\x64\x3d'$storeid'");if(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x64o\x64\x6f\x66g\x6d\x79\x6ag\x77"]}=mysqli_fetch_array(${$phktjsvk})){${"\x47L\x4f\x42\x41\x4c\x53"}["\x78\x78y\x75\x63\x63\x73\x64\x6a\x6f"]="ro\x77";return${${"\x47L\x4f\x42\x41\x4c\x53"}["\x78xy\x75c\x63\x73d\x6a\x6f"]}["\x73n\x61\x6d\x65"];}}function getstoreAdd($storeid){$swoodbzeoig="\x72\x6fw";$aaghgpuo="\x71ue";global$con;${$aaghgpuo}=mysqli_query(${${"G\x4c\x4f\x42A\x4cS"}["\x68\x6f\x73p\x66s"]},"\x73e\x6cec\x74 s\x61\x64\x64 fr\x6f\x6d\x20ma\x73te\x72_\x73to\x72e\x20\x77\x68er\x65\x20\x73\x74or\x65i\x64\x3d\x27$storeid\x27");if(${$swoodbzeoig}=mysqli_fetch_array(${${"GL\x4f\x42\x41\x4c\x53"}["f\x79\x6e\x62\x78o\x71\x79v\x71\x6b"]})){$fklrtdot="row";return${$fklrtdot}["\x73\x61d\x64"];}}function getGstinNo($storeid){$jlfpym="c\x6f\x6e";${"G\x4c\x4fBA\x4c\x53"}["\x62\x65\x74\x76vk\x66\x65"]="ro\x77";$rqapjgng="qu\x65";global$con;${$rqapjgng}=mysqli_query(${$jlfpym},"s\x65l\x65c\x74 \x67\x73\x74\x69\x6e_\x6e\x6f from\x20\x6d\x61s\x74\x65\x72\x5fs\x74o\x72\x65\x20wh\x65\x72e \x73\x74\x6f\x72\x65id=\x27$storeid\x27");if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62e\x74v\x76k\x66\x65"]}=mysqli_fetch_array(${${"G\x4cOB\x41\x4c\x53"}["\x66\x79\x6e\x62\x78o\x71\x79\x76q\x6b"]})){$xryckvqm="r\x6f\x77";return${$xryckvqm}["\x67stin_no"];}}function getCenterName($wid){$jqtdelv="w\x69\x64";${"\x47\x4c\x4f\x42ALS"}["\x67\x6e\x67\x6ciy\x6f"]="\x61";$obmlvemiev="\x77\x69\x64";$jxyxqeefkdw="\x77\x69\x64";$dmynixdjb="\x77id";if(${$jqtdelv}=="2"){$easmzrl="\x61";${$easmzrl}="UTS\x41V";}else
if(${$obmlvemiev}=="3"){${${"\x47\x4cOBA\x4c\x53"}["qgsd\x78bwd\x6b\x77"]}="\x53\x68\x72\x65\x65 J\x69\x20Crea\x74io\x6e";}else if(${$jxyxqeefkdw}=="\x34"){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6et\x65\x6e\x6c\x6b"]="\x61";${${"\x47\x4cO\x42AL\x53"}["\x6e\x74\x65\x6e\x6ck"]}="Sh\x72\x65e \x4ai\x20Synthetic\x73";}else if(${$dmynixdjb}=="\x35"){$lmoxjeixz="\x61";${$lmoxjeixz}="Shre\x65 Ji\x20\x45x\x63l\x75s\x69ve";}return${${"G\x4cO\x42\x41LS"}["\x67n\x67\x6ci\x79\x6f"]};}function getAddr($type,$wid){$bsjgokds="\x74y\x70\x65";$rgidyuwn="\x77\x69\x64";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76iok\x6d\x73\x6c\x70c\x66o\x71"]="t\x79p\x65";$zkwpmrrrvg="\x77\x69\x64";if(${${"G\x4c\x4fB\x41L\x53"}["\x66e\x6d\x6d\x6aphl\x6e"]}=="\x32"&&${$bsjgokds}=="\x73"){${${"G\x4c\x4fBAL\x53"}["\x71\x67\x73\x64\x78\x62w\x64\x6bw"]}="S-4\x30\x41 2n\x64\x20\x46l\x6fo\x72, D\x42 Ci\x74\x79 B\x68opa\x6c M.\x50 \x346\x32011<\x62\x72/\x3e\x20P\x68:\x307\x355-\x3664\x34\x30\x363";}else if(${$rgidyuwn}=="3"&&${${"\x47\x4c\x4f\x42A\x4cS"}["\x77d\x68\x76\x65\x6a\x62\x78\x63wc"]}=="\x73"){${${"G\x4cOBA\x4c\x53"}["\x71\x67\x73\x64\x78b\x77d\x6bw"]}="\x46i\x72st \x46loo\x72\x20\x52a\x6eg\x20\x4dahal\x20Tower\x20T.\x54\x20Na\x67\x61\x72 B\x68\x6f\x70al";}else if(${$zkwpmrrrvg}=="\x34"&&${${"\x47L\x4f\x42\x41\x4c\x53"}["viok\x6dsl\x70\x63\x66\x6f\x71"]}=="\x73"){${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71gsdx\x62\x77\x64\x6b\x77"]}="Behin\x64 P\x6fli\x63e\x20Ch\x77\x6bi \x43\x68ow\x6b \x42\x61\x7aar\x20Bho\x70\x61\x6c\n\x50H:\x307\x35\x35-2738276";}else if(${${"GL\x4f\x42\x41\x4c\x53"}["\x66\x65\x6dm\x6a\x70hln"]}=="5"&&${${"\x47LO\x42\x41\x4c\x53"}["w\x64\x68v\x65jbxc\x77c"]}=="s"){${${"G\x4c\x4f\x42\x41\x4cS"}["qg\x73d\x78\x62w\x64k\x77"]}="\x4d\x75\x6b\x68\x61r\x20\x4ai Cl\x6ft\x68 \x4d\x61r\x6b\x65t \x4d\x61in Ro\x61d Baira\x67\x61r\x68\x20\x42h\x6f\x70\x61l\nP\x48:\x30\x375\x35-26\x34091\x32";}return${${"\x47LOB\x41\x4cS"}["\x71g\x73dxbw\x64kw"]};}function getSupAdd($itemid){$fwthpgv="qu\x65";$trciwnaojsgz="q\x75e";global$con;${$fwthpgv}=mysqli_query(${${"\x47LOBAL\x53"}["\x68\x6f\x73\x70\x66\x73"]},"s\x65l\x65\x63\x74\x20\x73\x61\x64\x64 f\x72o\x6d\x20\x73\x75\x70\x70l\x69er w\x68\x65r\x65\x20\x73\x75p\x69d\x20 \x3d'$itemid'");if(${${"\x47L\x4f\x42\x41LS"}["sm\x65u\x6a\x70\x70\x6e"]}=mysqli_fetch_array(${$trciwnaojsgz})){${"G\x4c\x4f\x42\x41LS"}["\x70\x71d\x75eqs\x69\x62p"]="\x72\x6f\x77";return${${"\x47\x4cO\x42A\x4cS"}["\x70q\x64u\x65\x71\x73\x69\x62\x70"]}["\x73ad\x64"];}else{return"N/\x41";}}function getcustadd($aid){${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x61\x79\x72e\x78\x64\x75r\x65"]="\x63o\x6e";$zxjubowx="\x71\x75\x65";$zgglqnrkdgt="qu\x65";global$con;${$zgglqnrkdgt}=mysqli_query(${${"GLO\x42AL\x53"}["\x6ca\x79\x72\x65\x78du\x72\x65"]},"\x73\x65\x6cect \x61d\x64\x72es\x73\x20f\x72\x6fm\x20\x6d\x61\x73\x74e\x72\x5fcu\x73\x74\x5fad\x64ress wher\x65\x20\x61i\x64\x20\x20='$aid'");if(${${"GLOB\x41LS"}["s\x6d\x65\x75\x6app\x6e"]}=mysqli_fetch_array(${$zxjubowx})){return${${"GLO\x42\x41\x4cS"}["\x73\x6de\x75jp\x70\x6e"]}["ad\x64\x72ess"];}else{return"\x4e/A";}}function getSupcno($itemid){${"G\x4c\x4fB\x41LS"}["c\x72\x6dl\x65u\x6bd"]="q\x75\x65";$ervsquv="\x72ow";global$con;${${"\x47LOB\x41\x4c\x53"}["f\x79nbx\x6f\x71\x79\x76\x71\x6b"]}=mysqli_query(${${"\x47L\x4f\x42\x41\x4cS"}["\x68\x6f\x73p\x66\x73"]},"sel\x65\x63\x74 \x6d\x6fb\x6e\x6f f\x72\x6f\x6d\x20s\x75\x70\x70li\x65r \x77\x68\x65r\x65\x20s\x75\x70id\x20 \x3d\x27$itemid'");if(${$ervsquv}=mysqli_fetch_array(${${"\x47L\x4fB\x41\x4c\x53"}["\x63\x72\x6d\x6c\x65\x75\x6bd"]})){return${${"\x47\x4c\x4f\x42\x41LS"}["s\x6d\x65\x75\x6appn"]}["\x6do\x62n\x6f"];}else{return"\x4e/A";}}function getSupname($itemid){global$con;${"\x47\x4cOB\x41L\x53"}["\x65u\x75\x69md\x77"]="r\x6f\x77";$qjnfgmqux="co\x6e";$ezjdjg="\x71ue";${${"\x47\x4c\x4fB\x41\x4cS"}["\x66\x79\x6e\x62\x78\x6f\x71\x79\x76\x71\x6b"]}=mysqli_query(${$qjnfgmqux},"se\x6cec\x74\x20\x73na\x6de fr\x6f\x6d\x20\x73\x75p\x70l\x69\x65r whe\x72\x65\x20\x73\x75p\x69\x64\x20\x20='$itemid\x27");if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65uu\x69m\x64\x77"]}=mysqli_fetch_array(${$ezjdjg})){${"GLO\x42AL\x53"}["\x68y\x6a\x64\x6b\x62ue\x76"]="\x72\x6f\x77";return${${"\x47\x4cO\x42AL\x53"}["\x68\x79\x6adk\x62\x75\x65\x76"]}["s\x6eame"];}else{return"\x4e/A";}}function getSupCity($itemid){$kwycdudwxsvq="\x71\x75e";$mrqfkwjej="\x71ue";global$con;${"G\x4c\x4fBAL\x53"}["\x68\x6dp\x68\x62\x67l"]="r\x6f\x77";${$mrqfkwjej}=mysqli_query(${${"\x47\x4c\x4f\x42\x41\x4cS"}["h\x6f\x73\x70\x66\x73"]},"\x73ele\x63\x74 \x63i\x74\x79 \x66r\x6fm \x73u\x70p\x6c\x69e\x72\x20w\x68er\x65\x20supi\x64\x20 \x3d'$itemid\x27");if(${${"\x47L\x4f\x42AL\x53"}["h\x6d\x70\x68\x62\x67l"]}=mysqli_fetch_array(${$kwycdudwxsvq})){${"G\x4c\x4f\x42\x41L\x53"}["fl\x67\x63\x6c\x61\x64\x6d\x66\x69\x71"]="\x72\x6fw";return${${"\x47\x4cO\x42\x41\x4cS"}["\x66\x6c\x67cl\x61d\x6d\x66i\x71"]}["\x63\x69ty"];}else{return"\x4e/A";}}function GDis($id,$typ){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x61\x64sdovb\x73j\x6d\x63"]="c\x6fn";global$con;$jmjnudzptgrb="\x71\x75e";${${"\x47\x4c\x4f\x42\x41\x4cS"}["f\x79nbx\x6f\x71\x79v\x71\x6b"]}=mysqli_query(${${"G\x4c\x4fB\x41L\x53"}["\x70\x61\x64\x73\x64\x6f\x76b\x73j\x6d\x63"]},"\x73\x65\x6ce\x63t \x67name\x20fr\x6f\x6d \x6e\x65\x77\x67\x69f\x74 where\x20\x67\x69\x64=\x27$id\x27");if(${${"\x47LO\x42\x41L\x53"}["smeuj\x70p\x6e"]}=mysqli_fetch_array(${$jmjnudzptgrb})){$ytllbbvocglp="\x72\x6fw";return${$ytllbbvocglp}["\x67\x6eame"];}else{return"N/\x41";}}function Vamt($id){global$con;${"\x47\x4c\x4f\x42ALS"}["\x6f\x71\x6b\x79xc\x68\x69\x78w\x6c\x65"]="v\x6ea\x6dt";$gwrphfwmru="row";${${"\x47\x4cOB\x41LS"}["o\x71kyx\x63\x68\x69x\x77\x6c\x65"]}=0;${"GLO\x42\x41\x4c\x53"}["\x65\x6b\x7a\x78\x74\x65\x62"]="\x71\x75\x65";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66y\x6e\x62x\x6f\x71\x79\x76\x71\x6b"]}=mysqli_query(${${"GL\x4fB\x41L\x53"}["h\x6fs\x70\x66\x73"]},"s\x65\x6cec\x74\x20\x76n\x61mt\x20\x66\x72o\x6d\x20\x76\x6fuche\x72\x64i\x73pat\x63h w\x68e\x72\x65 saleid\x3d\x27$id'");while(${$gwrphfwmru}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42\x41L\x53"}["e\x6b\x7axt\x65\x62"]})){${"\x47\x4cO\x42\x41LS"}["\x66\x67\x6f\x68leay"]="v\x6e\x61m\x74";${${"\x47\x4cO\x42ALS"}["aqcc\x6b\x69\x71k\x73"]}=${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x67\x6fh\x6c\x65\x61y"]}+${${"G\x4c\x4f\x42\x41L\x53"}["s\x6d\x65\x75\x6a\x70\x70\x6e"]}["\x76n\x61\x6dt"];}return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61q\x63ck\x69\x71\x6b\x73"]};}function getMobname($cus,$m){$mxmtpoucvoy="qu\x65";global$con;${$mxmtpoucvoy}=mysqli_query(${${"\x47\x4c\x4f\x42\x41LS"}["\x68\x6f\x73pf\x73"]},"\x73e\x6ce\x63t\x20\x6dob\x6e\x6f\x20\x66\x72o\x6d \x63u\x73to\x6d\x65\x72\x20w\x68er\x65\x20\x63id\x20\x20=\x27$cus'");$jyrijwpy="r\x6f\x77";if(${$jyrijwpy}=mysqli_fetch_array(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x66\x79\x6e\x62\x78\x6fq\x79\x76\x71\x6b"]})){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x78\x72\x67\x63\x67w"]="\x72\x6f\x77";return${${"\x47\x4c\x4fBA\x4cS"}["kxr\x67\x63\x67w"]}["mobn\x6f"];}else{return${${"\x47\x4c\x4fB\x41LS"}["h\x6b\x66\x79\x6c\x70"]};}}function getCusname($cus){$fmbbmc="\x71u\x65";global$con;${$fmbbmc}=mysqli_query(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x6f\x73\x70\x66s"]},"\x73\x65l\x65\x63t cn\x61m\x65\x20\x66ro\x6d\x20\x63usto\x6d\x65r \x77\x68er\x65 c\x69\x64\x20\x20=\x27$cus'");if(${${"\x47\x4c\x4fB\x41L\x53"}["\x73me\x75\x6a\x70pn"]}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42\x41\x4cS"}["f\x79n\x62\x78\x6f\x71y\x76\x71\x6b"]})){return${${"GL\x4fB\x41L\x53"}["s\x6d\x65\x75\x6ap\x70\x6e"]}["c\x6eam\x65"];}else{return${${"GLO\x42A\x4c\x53"}["\x6brbpj\x68o\x77\x6eg"]};}}function getQty($cus){$twqekin="\x71\x75e";global$con;${$twqekin}=mysqli_query(${${"\x47\x4c\x4fB\x41\x4cS"}["\x68\x6f\x73\x70\x66\x73"]},"\x73\x65lect\x20co\x75\x6e\x74(\x73\x69t\x65mid)\x20\x66\x72o\x6d\x20\x73a\x6ceite\x6d w\x68e\x72e \x73\x69d\x20 \x3d'$cus' an\x64 \x73\x74\x61\x74='n'");${"\x47L\x4f\x42\x41L\x53"}["\x61\x62\x7a\x76r\x6em\x6c\x6c"]="\x71u\x65";if(${${"\x47L\x4f\x42A\x4c\x53"}["\x73\x6d\x65\x75\x6appn"]}=mysqli_fetch_array(${${"\x47\x4c\x4fB\x41\x4cS"}["\x61\x62\x7a\x76rn\x6d\x6c\x6c"]})){return${${"\x47L\x4fBA\x4cS"}["s\x6d\x65\x75\x6a\x70\x70\x6e"]}[0];}else{return"No";}}function getpurPrice($itemid,$subid,$typ,$id){${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x76\x63w\x69\x6d"]="\x72\x6fw";$urltotsfntx="\x71\x75e";global$con;${$urltotsfntx}=mysqli_query(${${"G\x4c\x4fBA\x4c\x53"}["h\x6f\x73\x70\x66\x73"]},"\x53\x45\x4cEC\x54 \x63\x6fu\x6et(\x62a\x72\x63\x6f\x64e\x2e\x62\x69\x64),\x73\x75m(ba\x72\x63o\x64\x65.pu\x72p\x72\x69\x63e) \x61s s \x46R\x4fM \x60b\x61\x72c\x6fd\x65` WH\x45\x52\x45 \x62\x61\x72c\x6fde\x2esta\x74\x75\x73\x3d\x27\x72\x65c'\x20\x61\x6ed \x69\x74em\x69\x64\x3d\x27$itemid\x27 \x61\x6ed\x20s\x75bitemid\x3d\x27$subid' \x61\x6e\x64 ty\x70\x65\x3d's\x27");if(${${"\x47\x4c\x4f\x42\x41LS"}["\x6b\x76\x63\x77\x69\x6d"]}=mysqli_fetch_array(${${"\x47L\x4f\x42ALS"}["f\x79n\x62x\x6f\x71yvqk"]})){${"\x47\x4c\x4f\x42\x41L\x53"}["\x74l\x77t\x66ci\x71z"]="\x72o\x77";return${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74lw\x74f\x63i\x71z"]}[1];}}function getmrpPrice($itemid,$subid,$typ,$id){$rqbytsttogr="\x74yp";${"G\x4c\x4fB\x41\x4c\x53"}["\x79\x73\x61\x6f\x68\x6b\x78\x64x\x78u"]="\x74y\x70";$uiwedjv="\x72\x6f\x77";global$con;if(${$rqbytsttogr}=="\x77"){${"\x47\x4c\x4fBA\x4c\x53"}["dx\x70tx\x76e\x75\x66\x7a\x75"]="\x63\x6f\x6e";${${"GL\x4fB\x41LS"}["\x66\x79nb\x78\x6f\x71yvqk"]}=mysqli_query(${${"GL\x4f\x42ALS"}["\x64\x78\x70t\x78\x76\x65uf\x7a\x75"]},"\x73\x65l\x65\x63\x74 \x63ou\x6e\x74(\x62i\x64),\x73\x75\x6d(\x73\x61\x6ce\x70r\x69\x63\x65) \x61\x73 s\x20\x66r\x6fm \x62\x61rc\x6fd\x65 \x77\x68\x65re\x20\x69te\x6d\x69d\x3d\x27$itemid\x27\x20a\x6e\x64\x20\x73u\x62it\x65m\x69\x64='$subid\x27 an\x64\x20ty\x70\x65='$typ' a\x6ed\x20b\x61\x72c\x6f\x64e.wa\x72id=\x27$id' an\x64\x20(\x62\x61\x72\x63ode.s\x74\x61\x74u\x73='\x50u\x72' o\x72 \x62arc\x6f\x64e\x2e\x73t\x61\x74\x75\x73='w\x72ec\x27)");}else
if(${${"\x47L\x4f\x42\x41L\x53"}["\x79s\x61\x6f\x68\x6b\x78dx\x78\x75"]}=="s"){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67vog\x6f\x72\x6a"]="\x63\x6f\x6e";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66\x79\x6e\x62\x78\x6f\x71\x79\x76q\x6b"]}=mysqli_query(${${"\x47L\x4f\x42A\x4c\x53"}["\x67\x76o\x67\x6fr\x6a"]},"\x73e\x6c\x65\x63\x74 \x63\x6fu\x6et(b\x69d),\x73\x75\x6d(sa\x6c\x65\x70ric\x65) \x61s s\x20\x66\x72o\x6d \x62\x61\x72\x63\x6fde\x20wh\x65re\x20it\x65\x6d\x69d\x3d'$itemid'\x20an\x64\x20s\x75\x62\x69te\x6did\x3d'$subid' a\x6ed\x20wa\x72id='$id'\x20\x20a\x6e\x64 \x20\x62a\x72\x63\x6fd\x65.st\x61\x74u\x73\x3d'rec' \x61\x6e\x64\x20\x74\x79\x70\x65\x3d\x27$typ\x27 ");}if(${$uiwedjv}=mysqli_fetch_array(${${"\x47\x4cOBA\x4c\x53"}["\x66\x79nb\x78o\x71\x79v\x71\x6b"]})){${"\x47LO\x42AL\x53"}["\x6e\x6e\x73\x6b\x76\x76\x6ff\x76\x6f\x75n"]="r\x6f\x77";return${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6e\x6es\x6b\x76vo\x66\x76o\x75n"]}[1];}}function getComEmpName($id){global$con;${"GL\x4fB\x41\x4c\x53"}["rt\x63ae\x6fvbi\x79"]="ro\x77";${${"\x47\x4c\x4fB\x41\x4cS"}["\x66\x79n\x62\x78o\x71yv\x71\x6b"]}=mysqli_query(${${"\x47\x4cO\x42\x41\x4cS"}["\x68\x6f\x73\x70\x66\x73"]},"s\x65\x6ce\x63\x74\x20* f\x72\x6f\x6d \x65m\x70\x63o\x6dmisi\x6f\x6e\x20\x77h\x65r\x65\x20\x63\x6f\x6d\x69d='$id\x27");if(${${"G\x4c\x4f\x42AL\x53"}["\x72t\x63\x61\x65o\x76\x62\x69\x79"]}=mysqli_fetch_array(${${"\x47L\x4fB\x41LS"}["\x66y\x6e\x62\x78oq\x79\x76\x71\x6b"]})){return${${"\x47\x4c\x4fBALS"}["\x73m\x65\x75j\x70pn"]}["\x6e\x61\x6de"];}}function getComEmpCode($id){${"GL\x4f\x42\x41\x4cS"}["\x73y\x78\x6c\x66\x6aj"]="\x63\x6f\x6e";global$con;${${"\x47\x4c\x4fB\x41\x4cS"}["\x66\x79n\x62\x78\x6fqyvqk"]}=mysqli_query(${${"GL\x4fB\x41\x4c\x53"}["s\x79x\x6cfj\x6a"]},"s\x65\x6c\x65\x63\x74 *\x20\x66ro\x6d \x65\x6d\x70\x63o\x6dm\x69si\x6fn \x77h\x65r\x65\x20\x63\x6fm\x69d='$id'");if(${${"GL\x4f\x42\x41\x4c\x53"}["sm\x65uj\x70\x70n"]}=mysqli_fetch_array(${${"GL\x4f\x42A\x4c\x53"}["fy\x6ebxo\x71\x79\x76q\x6b"]})){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x67de\x74g\x64\x78x\x6aqt"]="\x72\x6f\x77";return${${"\x47L\x4f\x42\x41\x4c\x53"}["v\x67\x64\x65\x74\x67\x64xx\x6a\x71t"]}["cod\x65"];}}function getMrp($id){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61yd\x72\x69\x70c"]="\x72\x6fw";${"GL\x4f\x42\x41\x4cS"}["\x73\x65\x78l\x66\x72\x63\x64t\x68m"]="q\x75\x65";global$con;${${"\x47\x4c\x4f\x42\x41LS"}["\x66\x79\x6e\x62x\x6fq\x79v\x71\x6b"]}=mysqli_query(${${"\x47\x4c\x4fBA\x4c\x53"}["ho\x73p\x66\x73"]},"s\x65lect\x20*\x20\x66rom \x62\x61r\x63\x6f\x64e\x20\x77h\x65re b\x61rcode=\x27$id\x27");if(${${"\x47L\x4f\x42ALS"}["ay\x64r\x69p\x63"]}=mysqli_fetch_array(${${"GLO\x42\x41\x4cS"}["s\x65\x78l\x66\x72cd\x74\x68\x6d"]})){return${${"GL\x4f\x42\x41\x4c\x53"}["\x73\x6d\x65ujpp\x6e"]}["purpri\x63e"];}}function geTtQty($id){$foedjnjtve="que";${"\x47\x4c\x4fB\x41\x4cS"}["k\x6cep\x63y\x68k"]="\x71\x75e";${"\x47\x4c\x4fB\x41\x4cS"}["\x79\x6c\x77\x77\x71j\x64\x79\x72"]="\x63\x6fn";global$con;${${"\x47\x4cO\x42A\x4c\x53"}["\x6bl\x65\x70\x63y\x68\x6b"]}=mysqli_query(${${"GLO\x42A\x4c\x53"}["\x79\x6c\x77w\x71\x6ad\x79\x72"]},"\x73elect S\x75m(qt\x79) \x66\x72\x6fm \x64p\x75r\x63\x68\x61\x73\x65item\x20wher\x65\x20p\x69\x64\x3d'$id'");if(${${"G\x4cO\x42\x41\x4c\x53"}["\x73\x6d\x65\x75\x6ap\x70\x6e"]}=mysqli_fetch_array(${$foedjnjtve})){${"GLO\x42\x41LS"}["\x68\x73\x63\x73ug\x6f\x6c\x74\x6by\x75"]="\x72ow";return${${"G\x4c\x4fB\x41L\x53"}["\x68\x73c\x73u\x67\x6f\x6c\x74ky\x75"]}[0];}}function getvat($id){$kgcrnyd="\x72\x6fw";global$con;${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x6e\x63\x6b\x6a\x69\x75l"]="\x71\x75\x65";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68n\x63\x6b\x6a\x69\x75\x6c"]}=mysqli_query(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68o\x73\x70\x66\x73"]},"se\x6c\x65ct v\x61t f\x72\x6f\x6d \x69\x74e\x6d w\x68\x65re\x20ite\x6di\x64=\x27$id'");if(${$kgcrnyd}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x79\x6e\x62\x78\x6f\x71\x79\x76\x71\x6b"]})){${"\x47\x4cO\x42\x41\x4cS"}["\x6cc\x62\x76r\x74\x6bb\x6e\x71"]="\x72o\x77";return${${"GL\x4fB\x41L\x53"}["\x6c\x63\x62\x76\x72\x74k\x62n\x71"]}[0];}}function getvName($id){${"\x47L\x4f\x42ALS"}["\x65q\x66j\x6f\x70\x61\x62"]="\x71\x75\x65";global$con;$juooummr="\x71\x75\x65";${${"\x47\x4c\x4fB\x41LS"}["\x65\x71\x66\x6a\x6fp\x61b"]}=mysqli_query(${${"\x47L\x4fB\x41\x4cS"}["\x68osp\x66s"]},"\x73e\x6c\x65c\x74 v\x6eam\x65 \x20f\x72\x6f\x6d \x76\x6f\x75c\x68\x65r w\x68\x65re vi\x64='$id'");if(${${"\x47\x4c\x4fBALS"}["\x73\x6de\x75\x6a\x70\x70n"]}=mysqli_fetch_array(${$juooummr})){return${${"\x47\x4cO\x42\x41LS"}["s\x6d\x65\x75\x6ap\x70n"]}[0];}else{return"N/\x41";}}function Sdate($id){global$con;${${"G\x4c\x4f\x42\x41\x4c\x53"}["fynb\x78\x6fq\x79\x76\x71\x6b"]}=mysqli_query(${${"G\x4c\x4fB\x41\x4c\x53"}["hosp\x66\x73"]},"\x73\x65\x6ce\x63t\x20p\x64\x61\x74\x65\x20\x66r\x6f\x6d\x20sale\x20wh\x65re\x20sa\x6c\x65\x69\x64=\x27$id\x27");if(${${"\x47\x4cOB\x41\x4cS"}["s\x6de\x75\x6ap\x70\x6e"]}=mysqli_fetch_array(${${"\x47\x4c\x4fBAL\x53"}["\x66\x79\x6e\x62xo\x71yv\x71\x6b"]})){$gnwtvolaj="\x72\x6f\x77";return${$gnwtvolaj}[0];}}function CashAmt($id){global$con;$phwxfkmhik="\x71\x75\x65";${${"G\x4cO\x42A\x4c\x53"}["\x66y\x6e\x62\x78o\x71\x79v\x71k"]}=mysqli_query(${${"\x47\x4c\x4fBA\x4cS"}["h\x6f\x73\x70\x66s"]},"\x73el\x65ct\x20c\x61\x73\x68\x20\x66\x72om p\x61y\x6de\x6et\x20wh\x65\x72\x65 sal\x65\x69\x64=\x27$id\x27");if(${${"G\x4c\x4f\x42A\x4c\x53"}["\x73\x6d\x65uj\x70p\x6e"]}=mysqli_fetch_array(${$phwxfkmhik})){${"G\x4cO\x42A\x4c\x53"}["c\x68\x62\x63\x66\x75"]="\x72\x6f\x77";return${${"\x47\x4cO\x42\x41LS"}["\x63\x68\x62c\x66\x75"]}[0];}}function CardAmt($id){$tfqwszsdt="\x71\x75e";${"\x47L\x4fB\x41\x4cS"}["\x6a\x6c\x61\x67\x77\x70\x70\x76w"]="\x71ue";global$con;${${"G\x4cOBA\x4c\x53"}["\x6a\x6ca\x67\x77\x70p\x76\x77"]}=mysqli_query(${${"GL\x4fBA\x4c\x53"}["\x68o\x73\x70\x66s"]},"\x73e\x6c\x65ct c\x61\x72\x64\x20 \x66\x72\x6fm\x20p\x61\x79m\x65\x6e\x74 \x77\x68\x65\x72e\x20sale\x69d='$id\x27");if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["s\x6d\x65uj\x70\x70n"]}=mysqli_fetch_array(${$tfqwszsdt})){return${${"\x47\x4c\x4f\x42\x41L\x53"}["\x73\x6d\x65\x75\x6a\x70pn"]}[0];}}function getovat($id){global$con;${${"G\x4c\x4f\x42\x41L\x53"}["\x66y\x6ebxoqyv\x71k"]}=mysqli_query(${${"G\x4cO\x42\x41LS"}["\x68\x6f\x73\x70\x66\x73"]},"\x73\x65\x6ce\x63\x74 \x6f\x76at fr\x6f\x6d ite\x6d\x20wh\x65\x72\x65 i\x74emid=\x27$id\x27");if(${${"\x47LO\x42A\x4c\x53"}["\x73\x6d\x65\x75\x6a\x70\x70n"]}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["f\x79\x6e\x62\x78\x6f\x71\x79\x76\x71k"]})){return${${"\x47\x4c\x4fBALS"}["\x73\x6deu\x6ap\x70\x6e"]}[0];}}function Vouchamt($id){${"\x47\x4c\x4fB\x41\x4c\x53"}["oug\x77\x75\x6f"]="q\x75\x65";${"\x47L\x4fBA\x4c\x53"}["\x71\x79\x6fu\x63\x72\x6a\x69p"]="\x72\x6fw";global$con;${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["f\x79\x6e\x62x\x6f\x71\x79v\x71k"]}=mysqli_query(${${"\x47\x4cOB\x41\x4cS"}["\x68os\x70fs"]},"s\x65l\x65\x63\x74\x20\x76\x6f\x75c\x68\x65\x72am\x74 f\x72\x6f\x6d \x73\x61le where sa\x6cei\x64\x3d'$id\x27");if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71yo\x75\x63\x72\x6a\x69p"]}=mysqli_fetch_array(${${"\x47\x4c\x4fB\x41LS"}["\x6f\x75\x67w\x75\x6f"]})){return${${"\x47\x4c\x4f\x42A\x4cS"}["\x73\x6d\x65\x75\x6ap\x70\x6e"]}[0];}else{return"\x30";}}function getGEmpName($username){global$con;${"GL\x4f\x42\x41\x4c\x53"}["\x76k\x77\x67\x6a\x70qy\x64"]="\x71\x75\x65";${${"GL\x4f\x42\x41\x4cS"}["\x66\x79\x6eb\x78\x6f\x71\x79\x76q\x6b"]}=mysqli_query(${${"GL\x4f\x42\x41LS"}["h\x6fs\x70\x66\x73"]},"\x73\x65le\x63t\x20n\x61\x6de\x20 f\x72om\x20\x65\x6d\x70\x63\x6fmmisi\x6f\x6e wh\x65\x72\x65\x20\x63\x6fm\x69d ='$username'");if(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x73\x6de\x75j\x70\x70n"]}=mysqli_fetch_array(${${"\x47L\x4f\x42\x41L\x53"}["\x76\x6bwgjpq\x79\x64"]})){return${${"\x47\x4cOB\x41\x4c\x53"}["\x73\x6d\x65\x75\x6a\x70\x70\x6e"]}["n\x61me"];}}function getEmpAdd($username){$ashbjttqgp="q\x75e";${"\x47\x4c\x4fBA\x4c\x53"}["d\x72\x72\x6a\x75gz\x69\x68"]="\x72o\x77";global$con;${${"\x47L\x4f\x42\x41L\x53"}["\x66\x79\x6e\x62x\x6f\x71\x79\x76\x71\x6b"]}=mysqli_query(${${"\x47\x4c\x4f\x42\x41L\x53"}["h\x6f\x73\x70\x66s"]},"se\x6c\x65\x63\x74 \x63\x61d\x64 f\x72om\x20e\x6d\x70\x63\x6fm\x6d\x69s\x69\x6f\x6e\x20\x77\x68e\x72e c\x6f\x6d\x69\x64 \x3d\x27$username'");if(${${"\x47\x4c\x4fBA\x4c\x53"}["\x64\x72r\x6a\x75\x67z\x69\x68"]}=mysqli_fetch_array(${$ashbjttqgp})){return${${"G\x4cO\x42\x41\x4c\x53"}["\x73me\x75j\x70\x70\x6e"]}["\x63\x61d\x64"];}}function getMobno($username){${"\x47L\x4f\x42A\x4c\x53"}["bydjh\x69\x6ccm\x6f\x6d\x76"]="row";${"\x47LOB\x41\x4cS"}["c\x72\x6bv\x67w\x6aj\x76\x6e\x68"]="co\x6e";${"\x47LOB\x41\x4c\x53"}["\x64\x6aoj\x62\x73\x79"]="q\x75\x65";global$con;${${"\x47\x4cOB\x41L\x53"}["f\x79n\x62\x78\x6f\x71\x79vq\x6b"]}=mysqli_query(${${"G\x4c\x4fB\x41\x4c\x53"}["c\x72\x6b\x76gw\x6a\x6av\x6e\x68"]},"s\x65l\x65\x63t\x20mob\x20 from em\x70\x63\x6fm\x6d\x69s\x69\x6fn w\x68\x65r\x65\x20\x63\x6fmid\x20=\x27$username\x27");if(${${"\x47\x4c\x4fB\x41L\x53"}["b\x79\x64\x6a\x68\x69\x6c\x63m\x6fm\x76"]}=mysqli_fetch_array(${${"G\x4c\x4f\x42\x41\x4c\x53"}["d\x6a\x6f\x6a\x62s\x79"]})){return${${"\x47\x4c\x4fBAL\x53"}["\x73\x6d\x65ujp\x70\x6e"]}["\x6do\x62"];}}function getnetpamt($id){$xsdgzhhzte="\x71ue";global$con;${$xsdgzhhzte}=mysqli_query(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68os\x70\x66\x73"]},"\x73e\x6ce\x63t \x73u\x6d(p\x61mt)\x20 \x66rom p\x61\x79\x6dent\x20\x77\x68e\x72e sa\x6ce\x69d =\x27$id\x27");$ujuwdpvvicwo="\x71\x75\x65";if(${${"\x47L\x4fB\x41\x4c\x53"}["s\x6deuj\x70\x70\x6e"]}=mysqli_fetch_array(${$ujuwdpvvicwo})){${"G\x4c\x4f\x42\x41L\x53"}["\x6a\x74\x6b\x74\x65\x62\x67o\x78"]="\x72\x6f\x77";return${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6a\x74kt\x65\x62\x67o\x78"]}[0];}}function getTax($id){${"\x47\x4c\x4f\x42\x41L\x53"}["\x6a\x62u\x72\x62\x62\x74\x68qu"]="\x71\x75e";global$con;${${"G\x4c\x4fBA\x4c\x53"}["\x6a\x62\x75\x72b\x62\x74\x68q\x75"]}=mysqli_query(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x68o\x73\x70\x66\x73"]},"\x73\x65le\x63\x
74\x20* \x66ro\x6d \x74_p\x61\x72\x65n\x74\x20wh\x65r\x65\x20\x69\x64=\x27$id'");if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["sme\x75\x6a\x70\x70\x6e"]}=mysqli_fetch_array(${${"\x47LOB\x41\x4cS"}["fy\x6eb\x78o\x71\x79\x76\x71\x6b"]})){return${${"GLO\x42A\x4c\x53"}["\x73\x6de\x75\x6a\x70\x70\x6e"]}["t\x5fty\x70\x65"];}else{return"\x4eo";}}function getstorestate($id){global$con;${${"GL\x4f\x42\x41\x4cS"}["f\x79\x6ebx\x6f\x71\x79\x76q\x6b"]}=mysqli_query(${${"G\x4c\x4f\x42A\x4c\x53"}["\x68\x6f\x73pf\x73"]},"\x73\x65l\x65\x63\x74\x20st\x61\x74e\x20from \x6d\x61ster\x5fsto\x72\x65\x20\x77\x68e\x72e\x20sto\x72\x65id\x3d'$id'");if(${${"GLO\x42A\x4c\x53"}["\x73\x6de\x75\x6a\x70pn"]}=mysqli_fetch_array(${${"G\x4c\x4f\x42\x41LS"}["fy\x6ebxoq\x79\x76\x71\x6b"]})){return${${"\x47L\x4f\x42\x41LS"}["\x73\x6deujp\x70n"]}["st\x61te"];}else{return"\x30";}}function getstateName($id){global$con;if(is_numeric(${${"GL\x4f\x42\x41\x4cS"}["jp\x6bkgu\x70j"]})){${"\x47\x4c\x4fBA\x4cS"}["u\x67\x74pb\x67n"]="\x63\x6fn";${"\x47\x4c\x4fB\x41L\x53"}["e\x70u\x70\x68q\x72\x6c\x79"]="row";${"\x47\x4c\x4fB\x41LS"}["v\x77d\x6eif\x63\x77e\x61\x6d"]="q\x75\x65";${${"GL\x4fB\x41\x4c\x53"}["\x66ynb\x78o\x71y\x76\x71\x6b"]}=mysqli_query(${${"\x47\x4c\x4f\x42\x41\x4cS"}["u\x67\x74\x70b\x67n"]},"\x73\x65l\x65\x63\x74\x20\x6e\x61m\x65 f\x72\x6fm s\x74\x61\x74\x65\x20wh\x65r\x65\x20\x69d='$id\x27");if(${${"\x47\x4cO\x42A\x4cS"}["\x65p\x75p\x68qr\x6cy"]}=mysqli_fetch_array(${${"GL\x4f\x42ALS"}["\x76\x77\x64n\x69\x66c\x77e\x61\x6d"]})){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72\x76\x67yh\x6fbp\x63\x6bm"]="\x72\x6f\x77";return${${"G\x4cO\x42\x41\x4c\x53"}["\x72\x76\x67\x79\x68\x6f\x62\x70\x63\x6bm"]}["\x6e\x61\x6d\x65"];}else{return"\x30";}}else{${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62\x65\x73\x6d\x72\x70\x72\x77m"]="\x69\x64";return${${"\x47\x4c\x4f\x42\x41LS"}["\x62es\x6dr\x70\x72\x77\x6d"]};}}function getTaxName($id){${"\x47L\x4fB\x41\x4cS"}["t\x70\x72\x72\x73\x77\x70\x6d"]="\x71u\x65";${"GLO\x42\x41L\x53"}["\x63m\x66\x64\x69\x62c\x72\x79\x6a\x67"]="co\x6e";global$con;$lzvbxbkfnl="\x71\x75\x65";${${"G\x4c\x4f\x42\x41L\x53"}["t\x70rr\x73\x77\x70m"]}=mysqli_query(${${"\x47\x4c\x4f\x42\x41L\x53"}["cm\x66\x64\x69b\x63\x72yj\x67"]},"\x73\x65\x6c\x65\x63t *\x20f\x72o\x6d \x74\x5ft\x61\x78 \x77\x68ere t\x61\x78_id\x3d'$id\x27");if(${${"\x47L\x4fBA\x4c\x53"}["\x73meu\x6ap\x70n"]}=mysqli_fetch_array(${$lzvbxbkfnl})){return${${"\x47L\x4fBAL\x53"}["\x73\x6d\x65\x75\x6app\x6e"]}["ta\x78\x5f\x6e\x61\x6de"];}else{return"\x4eo";}}function igstcount($sid){$ioxpleof="t\x61\x6d\x74";$kacnfkd="\x63\x6fn";$mrbtxhrcbv="\x74\x61mt";global$con;${"\x47\x4cO\x42\x41\x4cS"}["\x67\x6bi\x65\x6d\x70\x75\x65\x6a\x63u"]="\x6d\x61\x78\x5f\x71\x75e\x72\x792";$unqgsjeikp="\x63\x6fn";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x6bie\x6d\x70\x75\x65jcu"]}=mysqli_query(${$unqgsjeikp},"\x73\x65l\x65\x63t s\x75\x6d(ta\x78_am\x74)\x20\x61\x73\x20t\x61\x6dt\x20f\x72om \x20sa\x6ce\x5f\x74\x61\x78 \x77\x68\x65\x72\x65\x20\x73\x61l\x69\x64=\x27$sid\x27\x20a\x6e\x64 \x74\x61x\x5fi\x64\x3d'\x31'")or die("Erro\x72 \x69\x6e i\x6e\x73er\x74 \x71\x75ery\x20:\x20".mysqli_error(${$kacnfkd}));${${"G\x4c\x4fB\x41L\x53"}["e\x68\x72\x6dr\x79\x65"]}=mysqli_fetch_array(${${"G\x4cO\x42\x41LS"}["\x65\x78\x65\x6d\x6fw\x66\x69\x71\x6d\x6e"]});${$mrbtxhrcbv}=(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65\x68\x72\x6d\x72\x79\x65"]}["\x74\x61\x6dt"]=="")?0:${${"\x47\x4cOBALS"}["eh\x72mr\x79\x65"]}["ta\x6d\x74"];if(${$ioxpleof}){return 1;}else{return 0;}}function cgstcount($sid){${"G\x4c\x4f\x42\x41LS"}["\x73\x71\x76\x78x\x6b\x66fw\x69\x66\x72"]="r\x6fw\x32";${"G\x4c\x4f\x42\x41L\x53"}["\x64\x78p\x63om\x62\x70wf\x61"]="ta\x6d\x74";${"\x47\x4cO\x42A\x4c\x53"}["\x77\x7ao\x77\x76\x78d\x63s\x69\x63\x77"]="m\x61x\x5fqu\x65\x72\x79\x32";$xxrddzbmc="ro\x77\x32";global$con;${${"G\x4cOBA\x4c\x53"}["\x77\x7ao\x77\x76\x78\x64c\x73\x69\x63\x77"]}=mysqli_query(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x6f\x73\x70\x66s"]},"\x73el\x65ct\x20\x73um(\x74a\x78\x5f\x61\x6d\x74)\x20\x61\x73 \x74a\x6d\x74\x20\x66ro\x6d\x20\x20s\x61l\x65_\x74ax\x20\x77he\x72e\x20\x73a\x6c\x69\x64\x3d\x27$sid\x27 \x61\x6ed ta\x78\x5f\x69d='\x32\x27")or die("\x45r\x72o\x72 in\x20ins\x65\x72t \x71uer\x79\x20:\x20".mysqli_error(${${"\x47L\x4f\x42AL\x53"}["h\x6f\x73p\x66\x73"]}));${${"\x47\x4cO\x42A\x4c\x53"}["s\x71v\x78x\x6bf\x66w\x69\x66\x72"]}=mysqli_fetch_array(${${"G\x4cO\x42\x41\x4cS"}["\x65\x78\x65\x6dowfi\x71mn"]});${${"\x47\x4c\x4fB\x41\x4cS"}["\x64xp\x63\x6f\x6d\x62\x70\x77\x66a"]}=(${$xxrddzbmc}["\x74amt"]=="")?0:${${"G\x4c\x4fB\x41L\x53"}["\x65\x68\x72m\x72y\x65"]}["t\x61m\x74"];if(${${"\x47\x4c\x4f\x42AL\x53"}["aby\x78e\x7a\x65\x62"]}){return 1;}else{return 0;}}function dcolumn($sid){${"\x47\x4c\x4f\x42\x41L\x53"}["dh\x6cg\x62b\x6c\x6d\x72\x73o\x65"]="\x63\x6f\x6e";${"\x47\x4c\x4f\x42A\x4cS"}["\x62\x69\x75\x67\x69\x79\x74"]="m\x61\x78\x5fq\x75e\x72y2";global$con;${"\x47\x4c\x4fBA\x4c\x53"}["\x62\x6e\x71\x65i\x79za\x61\x6c\x6d"]="\x74";${${"G\x4c\x4f\x42A\x4cS"}["\x77\x65cw\x68\x72\x6e\x7ai\x6fw"]}=0;${${"G\x4cOBA\x4c\x53"}["b\x69\x75\x67\x69y\x74"]}=mysqli_query(${${"G\x4c\x4f\x42\x41\x4cS"}["\x64h\x6c\x67b\x62\x6c\x6d\x72s\x6f\x65"]},"\x73\x65\x6cect\x20s\x69\x74\x65m\x69d,\x20ba\x72id fro\x6d\x20\x20\x73a\x6ce\x69t\x65m wher\x65 sal\x69\x64\x3d\x27$sid' ")or die("Er\x72or\x20i\x6e in\x73e\x72t quer\x79 :\x20".mysqli_error(${${"\x47\x4c\x4f\x42A\x4c\x53"}["h\x6f\x73\x70fs"]}));while(${${"\x47L\x4f\x42AL\x53"}["\x65hr\x6d\x72\x79\x65"]}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42A\x4c\x53"}["e\x78e\x6d\x6f\x77\x66i\x71m\x6e"]})){${"\x47\x4c\x4f\x42ALS"}["n\x76\x64\x73\x69\x65\x75\x79u"]="\x72\x6f\x773";${"\x47\x4cOB\x41L\x53"}["\x79\x6ff\x6fgfw"]="\x72o\x772";${${"G\x4c\x4fB\x41\x4c\x53"}["\x62g\x6b\x71g\x76q\x74\x6bgx"]}=${${"\x47L\x4f\x42\x41LS"}["yo\x66\x6fg\x66w"]}["\x62a\x72i\x64"];${${"\x47\x4c\x4f\x42\x41LS"}["\x6a\x68\x76\x62\x6dnvier"]}="S\x45LE\x43T\x20*\x20\x20\x46R\x4f\x4d \x6daster\x5f\x74xt\x63on\x66i\x67 \x20\x20";$idjufmbys="\x72\x65\x73u\x6ct3";${${"GL\x4f\x42\x41\x4c\x53"}["\x63zx\x7a\x75\x62iw\x6c"]}=mysqli_query(${${"GL\x4f\x42\x41\x4cS"}["\x68o\x73\x70f\x73"]},${${"\x47L\x4f\x42\x41L\x53"}["\x6a\x68v\x62\x6dnv\x69e\x72"]});while(${${"\x47\x4c\x4fB\x41LS"}["\x6e\x76\x64s\x69\x65u\x79u"]}=mysqli_fetch_array(${$idjufmbys})){$mwjdnevwkf="c\x6f\x6e\x66\x5f\x69d";${"G\x4c\x4f\x42\x41L\x53"}["\x73\x70\x62\x70tx\x67w\x77"]="r\x65\x73\x75\x6c\x74\x34";$vbuckpbvwkwf="r\x65\x73\x75l\x744";${$mwjdnevwkf}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6b\x6e\x6e\x75\x6d\x6fh\x72\x78zx\x6c"]}["co\x6e\x66_id"];${"G\x4cOBA\x4c\x53"}["\x61\x63\x70\x71\x6fa\x71d\x76"]="d\x63\x6fl\x75\x6d\x6e\x32";$wwmhxvnn="\x72\x65\x73u\x6ct\x34";$ebacfzuqo="s\x71\x6c4";${$ebacfzuqo}="\x53\x45L\x45\x43\x54 * FR\x4f\x4d\x20b\x61\x72\x63\x6fde_\x74\x78\x74\x20w\x68ere\x20\x77\x62ari\x64 in\x20($barid)\x20a\x6e\x64\x20txt_i\x64\x3d'$conf_id\x27";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73\x70b\x70\x74\x78\x67\x77\x77"]}=mysqli_query(${${"\x47L\x4f\x42\x41\x4cS"}["h\x6f\x73\x70f\x73"]},${${"\x47\x4cOB\x41LS"}["lrpo\x71\x77\x62"]});${${"GL\x4f\x42\x41L\x53"}["acp\x71o\x61\x71d\x76"]}=mysqli_num_rows(${$wwmhxvnn});if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67\x78\x67\x68j\x6d"]}=mysqli_fetch_array(${$vbuckpbvwkwf})){${"GL\x4f\x42\x41\x4c\x53"}["\x73\x65\x76\x77\x64\x63"]="\x72ow4";echo "<t\x64>";if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x65\x76w\x64\x63"]}["t\x78t\x5f\x76\x61\x6cue"]!=""){${${"G\x4cO\x42A\x4c\x53"}["\x77e\x63\x77\x68r\x6e\x7a\x69\x6f\x77"]}=1;}echo "</\x74d>\n\t\t\t ";}else{${"\x47\x4cO\x42\x41L\x53"}["\x67\x66bqenxc"]="\x6b";${"G\x4c\x4f\x42A\x4c\x53"}["l\x70drfb"]="\x6b";for(${${"\x47L\x4f\x42A\x4cS"}["l\x70\x64\x72f\x62"]}=1;${${"G\x4c\x4fB\x41LS"}["\x62h\x64\x6f\x62\x79\x65\x65\x75\x6fx\x6b"]}<=${${"G\x4cO\x42\x41\x4c\x53"}["\x75csfjdrp\x73"]};${${"GL\x4fB\x41LS"}["\x67\x66\x62\x71\x65\x6e\x78\x63"]}++){echo"<t\x64\x3e\x26nb\x73\x70;\x3c/\x74d\x3e";}}}}return${${"G\x4c\x4f\x42\x41\x4cS"}["\x62\x6e\x71\x65i\x79\x7aaalm"]};}function sms_username($val){global$con;$maftkxvinms="da\x74\x61";${${"\x47\x4c\x4fBAL\x53"}["troc\x67\x78\x70qx\x71"]}=mysqli_query(${${"G\x4cO\x42AL\x53"}["\x68\x6fsp\x66\x73"]},"s\x65l\x65\x63\x74\x20\x75s\x65rnam\x65 f\x72\x6f\x6d m\x61s\x74\x65r\x5f\x73ms_\x69\x64 wh\x65\x72\x65\x20lo\x63\x5fid\x3d\x27$val'")or die(mysqli_error(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["h\x6f\x73pf\x73"]}));${$maftkxvinms}=mysqli_fetch_assoc(${${"\x47LOB\x41L\x53"}["tr\x6f\x63gxp\x71\x78\x71"]});return${${"\x47\x4cO\x42\x41\x4c\x53"}["xs\x74k\x71\x63\x62\x71\x68\x6c\x71\x69"]}["\x75\x73\x65\x72\x6e\x61\x6de"];}function sms_username_old(){${"\x47L\x4fB\x41L\x53"}["\x76s\x75\x69\x69\x6eujp\x76\x72l"]="\x73\x71\x6c";${"\x47\x4cO\x42A\x4c\x53"}["\x65g\x62\x77\x76\x74o\x64nul"]="\x63\x6f\x6e";global$con;${"\x47\x4c\x4fB\x41\x4cS"}["d\x77\x70\x71v\x6d\x70"]="\x63on";$ctmqvsshw="s\x71\x6c";${${"\x47\x4c\x4fBA\x4c\x53"}["\x76\x73\x75\x69i\x6euj\x70v\x72\x6c"]}=mysqli_query(${${"\x47\x4c\x4fB\x41L\x53"}["d\x77\x70\x71vm\x70"]},"\x73ele\x63\x74\x20\x6eva\x6cue\x20f\x72o\x6d\x20\x74\x5fpara\x6d where nk\x65\x79='s\x6d\x73_\x75s\x65\x72nam\x65'")or die(mysqli_error(${${"\x47\x4c\x4f\x42A\x4cS"}["\x65gbw\x76tod\x6e\x75\x6c"]}));${${"GL\x4fBA\x4cS"}["\x78\x73t\x6b\x71\x63\x62\x71\x68\x6c\x71i"]}=mysqli_fetch_assoc(${$ctmqvsshw});$covlqs="\x64at\x61";return${$covlqs}["n\x76\x61\x6c\x75\x65"];}function sms_password($val){${"\x47\x4c\x4f\x42A\x4cS"}["\x6dh\x70c\x71om\x65\x69mk"]="\x63\x6f\x6e";global$con;${${"G\x4cOBA\x4cS"}["\x74\x72o\x63g\x78\x70\x71\x78\x71"]}=mysqli_query(${${"GL\x4fBALS"}["\x6d\x68p\x63q\x6fm\x65\x69\x6d\x6b"]},"\x73\x65\x6cec\x74\x20p\x61sswo\x72\x64\x20f\x72o\x6d \x6d\x61ste\x72_\x73m\x73_i\x64 wher\x65 \x6co\x63_\x69d=\x27$val'")or die(mysqli_error(${${"GL\x4f\x42\x41L\x53"}["\x68o\x73\x70f\x73"]}));${${"\x47\x4cOB\x41\x4c\x53"}["\x78st\x6bqc\x62q\x68\x6c\x71i"]}=mysqli_fetch_assoc(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x72\x6fc\x67\x78p\x71\x78\x71"]});return${${"\x47\x4c\x4fB\x41\x4c
\x53"}["\x78s\x74\x6b\x71cb\x71\x68\x6c\x71\x69"]}["pa\x73s\x77o\x72d"];}function sms_password_old(){$xqewkvyvrn="\x73\x71\x6c";global$con;${$xqewkvyvrn}=mysqli_query(${${"G\x4c\x4f\x42A\x4cS"}["\x68\x6f\x73\x70\x66s"]},"sele\x63\x74 nv\x61lu\x65\x20\x66\x72\x6fm t_\x70\x61\x72am \x77\x68\x65\x72\x65\x20n\x6b\x65y='\x73ms\x5f\x70\x61\x73\x73\x77\x6f\x72d'")or die(mysqli_error(${${"\x47\x4cO\x42A\x4cS"}["\x68\x6fs\x70\x66s"]}));${${"GL\x4f\x42\x41\x4cS"}["\x78\x73\x74k\x71cb\x71\x68\x6c\x71i"]}=mysqli_fetch_assoc(${${"G\x4c\x4fB\x41\x4c\x53"}["t\x72\x6fc\x67xp\x71\x78\x71"]});return${${"G\x4c\x4fB\x41\x4c\x53"}["\x78\x73t\x6b\x71\x63\x62\x71\x68\x6c\x71i"]}["\x6e\x76\x61lu\x65"];}function sms_status($val){${"\x47\x4cO\x42\x41\x4c\x53"}["\x78\x68\x6ej\x79\x67p"]="\x73\x71l";$hzgpjlo="\x64a\x74\x61";global$con;${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67\x6bf\x6b\x72\x6a"]="\x64a\x74a";${${"\x47L\x4fB\x41\x4c\x53"}["\x78\x68\x6ej\x79\x67\x70"]}=mysqli_query(${${"\x47L\x4fB\x41\x4c\x53"}["\x68\x6f\x73p\x66\x73"]},"\x73e\x6cec\x74 \x73\x6d\x73_\x73t\x61\x74u\x73 fr\x6fm\x20ma\x73t\x65r_s\x6d\x73\x5fid \x77\x68\x65\x72\x65 l\x6f\x63_i\x64=\x27$val'")or die(mysqli_error(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x6f\x73\x70\x66s"]}));${$hzgpjlo}=mysqli_fetch_assoc(${${"GL\x4fBA\x4c\x53"}["\x74\x72\x6f\x63\x67\x78pq\x78\x71"]});return${${"G\x4cOB\x41L\x53"}["gk\x66\x6br\x6a"]}["\x73\x6ds_\x73ta\x74us"];}function sms_senderid($val){${"\x47\x4cO\x42A\x4c\x53"}["\x78\x63m\x71\x71tb\x69"]="\x73\x71l";${"G\x4c\x4f\x42\x41\x4cS"}["li\x68\x64\x62\x68\x65\x6f\x71"]="\x73\x71\x6c";${"\x47\x4cO\x42\x41\x4cS"}["\x78\x6ef\x68\x6eu\x76d"]="\x64\x61\x74\x61";global$con;$xmpiresmtpl="\x63\x6f\x6e";${${"G\x4cOB\x41\x4c\x53"}["x\x63\x6dq\x71t\x62i"]}=mysqli_query(${${"\x47\x4c\x4fBA\x4c\x53"}["\x68\x6fsp\x66\x73"]},"selec\x74 \x73e\x6ede\x72\x5f\x69\x64\x20f\x72\x6fm m\x61\x73\x74e\x72_sms\x5fi\x64\x20whe\x72e\x20lo\x63_i\x64\x3d'$val'")or die(mysqli_error(${$xmpiresmtpl}));${${"GL\x4f\x42\x41\x4c\x53"}["x\x6ef\x68\x6e\x75\x76\x64"]}=mysqli_fetch_assoc(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6ci\x68d\x62\x68\x65\x6fq"]});return${${"\x47\x4cOB\x41\x4cS"}["x\x73\x74\x6b\x71\x63b\x71\x68\x6c\x71i"]}["\x73\x65nd\x65\x72_id"];}function sms_senderid_old(){$mwmktybnhm="c\x6fn";$lmeynhtvp="c\x6f\x6e";${"G\x4cOB\x41\x4c\x53"}["j\x62jmg\x61\x6b"]="\x64\x61\x74\x61";global$con;${${"\x47\x4cOB\x41L\x53"}["trocg\x78\x70\x71\x78q"]}=mysqli_query(${$lmeynhtvp},"s\x65lec\x74\x20\x6e\x76alue f\x72om\x20\x74_p\x61r\x61\x6d\x20w\x68e\x72\x65 \x6e\x6be\x79='\x73m\x73_\x73e\x6e\x64e\x72id\x27")or die(mysqli_error(${$mwmktybnhm}));$dqybgyxidevr="dat\x61";${${"G\x4c\x4f\x42\x41LS"}["\x6a\x62\x6a\x6d\x67\x61\x6b"]}=mysqli_fetch_assoc(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x74r\x6f\x63\x67\x78\x70\x71\x78\x71"]});return${$dqybgyxidevr}["\x6eva\x6cue"];}function sms_url(){$skykkr="\x63o\x6e";$jcfhqgymp="\x64\x61t\x61";global$con;${${"\x47L\x4fB\x41\x4c\x53"}["\x74\x72\x6f\x63\x67\x78\x70\x71x\x71"]}=mysqli_query(${${"\x47\x4c\x4f\x42\x41LS"}["\x68\x6fs\x70\x66\x73"]},"\x73\x65l\x65\x63\x74\x20\x6e\x76al\x75\x65 \x66r\x6f\x6d t_\x70ar\x61\x6d w\x68e\x72\x65 \x6e\x6b\x65\x79\x3d\x27s\x6ds\x5furl'")or die(mysqli_error(${$skykkr}));${${"G\x4c\x4fB\x41\x4cS"}["\x78\x73t\x6bqc\x62\x71\x68\x6c\x71i"]}=mysqli_fetch_assoc(${${"GL\x4f\x42A\x4cS"}["tr\x6f\x63\x67\x78p\x71\x78\x71"]});return${$jcfhqgymp}["n\x76al\x75\x65"];}function sms_text(){${"\x47\x4c\x4f\x42\x41L\x53"}["c\x6b\x70\x76\x72\x6c\x6f"]="\x63\x6f\x6e";global$con;${${"\x47L\x4f\x42AL\x53"}["t\x72o\x63\x67\x78pq\x78q"]}=mysqli_query(${${"\x47L\x4fB\x41\x4c\x53"}["c\x6b\x70\x76\x72l\x6f"]},"\x73e\x6c\x65\x63t\x20\x6ev\x61l\x75\x65 \x66\x72om \x74\x5f\x70\x61\x72a\x6d w\x68er\x65\x20\x6e\x6bey\x3d'\x73ms\x5fs\x61le_\x74\x65x\x74\x27")or die(mysqli_error(${${"G\x4c\x4f\x42\x41LS"}["\x68\x6fs\x70\x66\x73"]}));${${"GLO\x42\x41\x4cS"}["\x78\x73\x74\x6b\x71\x63\x62\x71\x68l\x71i"]}=mysqli_fetch_assoc(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74rocg\x78pqx\x71"]});return${${"G\x4c\x4fBAL\x53"}["\x78st\x6b\x71\x63\x62qh\x6cq\x69"]}["nv\x61l\x75\x65"];}function sms_credit_text(){$wdnqox="\x63\x6f\x6e";${"\x47L\x4f\x42A\x4c\x53"}["k\x64d\x68\x6dn\x67\x6d\x71"]="\x64\x61\x74a";$gfnepbdemhl="sql";$jpkssnvt="\x73\x71\x6c";global$con;${$jpkssnvt}=mysqli_query(${$wdnqox},"\x73e\x6cec\x74\x20\x6eva\x6c\x75\x65\x20fr\x6fm\x20\x74_pa\x72\x61m w\x68\x65\x72\x65\x20n\x6bey\x3d'sm\x73_\x63\x72e\x64\x69t_te\x78t\x27")or die(mysqli_error(${${"\x47L\x4fBAL\x53"}["\x68\x6f\x73pf\x73"]}));${${"GL\x4f\x42A\x4c\x53"}["\x6b\x64\x64h\x6d\x6eg\x6dq"]}=mysqli_fetch_assoc(${$gfnepbdemhl});return${${"GL\x4f\x42\x41\x4c\x53"}["\x78st\x6b\x71cb\x71\x68\x6c\x71i"]}["\x6ev\x61\x6c\x75\x65"];}function sms_text_new($forward_type,$template_type='single',$lang='English',$locid){$ilbnibmvap="\x64\x61\x74\x61";$jtywqpbyr="\x71\x72\x79";$nxwoqobyb="f\x6fr\x77\x61\x72\x64\x5f\x74y\x70\x65";global$con;${"G\x4cO\x42A\x4c\x53"}["m\x70\x6a\x6ek\x73"]="\x71\x72\x79";if(is_array(${$nxwoqobyb})){${"GLO\x42\x41\x4cS"}["t\x6c\x6f\x69\x63q\x70h"]="\x66\x6frw\x61\x72\x64\x5f\x74y\x70e";$cbeavhpemn="\x66\x69l\x74\x65\x72s";$abpngjkc="\x6be\x79";${"GL\x4f\x42A\x4c\x53"}["qf\x6a\x6dq\x6ds\x6c\x72"]="\x66ilt\x65rs";${"G\x4cO\x42\x41\x4c\x53"}["\x69qr\x65\x72b\x71\x66\x77\x6b\x62"]="filt\x65\x72s";${${"G\x4c\x4f\x42\x41L\x53"}["\x69q\x72\x65\x72\x62\x71fw\x6b\x62"]}="";foreach(${${"GL\x4f\x42A\x4c\x53"}["t\x6c\x6f\x69\x63qp\x68"]} as${$abpngjkc}=>${${"G\x4cO\x42\x41\x4cS"}["\x6ad\x6e\x73d\x6f\x65c\x6cb\x67"]}){$hrhhisingh="\x66i\x6c\x74e\x72s";${$hrhhisingh}.="$key='$value' an\x64\x20";}${$cbeavhpemn}=rtrim(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x66j\x6d\x71\x6dsl\x72"]},"a\x6ed\x20");}else{$zsgjutrrujbw="\x66\x69\x6cte\x72\x73";${$zsgjutrrujbw}="fo\x72\x77\x61r\x64_t\x79p\x65="."\x27$forward_type\x27";}${$jtywqpbyr}="sele\x63\x74 \x73m\x73\x5fconte\x6e\x74,se\x6ed\x65r\x69\x64\x20\x66r\x6fm \x6da\x73\x74\x65r_s\x6d\x73\x5fc\x6fn\x66ig w\x68\x65re $filters an\x64 t\x65\x6dp\x6ca\x74\x65\x5f\x74\x79p\x65\x3d'$template_type\x27\x20an\x64\x20\x6c\x61\x6eg=\x27$lang\x27 \x61nd\x20s\x74\x61\x74u\x73=\x27\x31' and l\x6f\x63i\x64='$locid\x27";$otswvceinby="\x6d\x73\x67\x53\x69\x64";${${"\x47\x4c\x4fB\x41\x4cS"}["t\x72\x6fc\x67xpqx\x71"]}=mysqli_query(${${"\x47L\x4f\x42\x41L\x53"}["h\x6f\x73\x70\x66\x73"]},${${"\x47\x4cO\x42AL\x53"}["m\x70jnks"]})or die(mysqli_error(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68os\x70f\x73"]}));${${"\x47L\x4fBAL\x53"}["\x78s\x74\x6bq\x63bqh\x6c\x71\x69"]}=mysqli_fetch_assoc(${${"GL\x4f\x42A\x4c\x53"}["t\x72\x6f\x63\x67\x78p\x71\x78q"]});${$otswvceinby}=array();${${"\x47\x4c\x4fBAL\x53"}["lw\x74t\x74\x68\x72"]}["mes\x73\x61g\x65"]=${$ilbnibmvap}["sms_co\x6e\x74\x65\x6et"];${${"G\x4c\x4f\x42A\x4c\x53"}["lw\x74tt\x68\x72"]}["s\x65\x6ed\x65\x72id"]=${${"G\x4c\x4f\x42A\x4c\x53"}["\x78stk\x71\x63\x62\x71\x68\x6c\x71\x69"]}["se\x6e\x64e\x72id"];return${${"GL\x4fB\x41\x4c\x53"}["lw\x74t\x74\x68\x72"]};}function sms_advance_text(){global$con;${${"G\x4c\x4f\x42A\x4cS"}["\x74\x72\x6f\x63\x67\x78\x70\x71\x78q"]}=mysqli_query(${${"\x47L\x4f\x42A\x4cS"}["\x68\x6fs\x70\x66\x73"]},"\x73\x65\x6ce\x63t\x20n\x76\x61lu\x65 \x66\x72o\x6d\x20t_p\x61r\x61m w\x68e\x72e\x20n\x6be\x79\x3d'sms\x5f\x61\x64\x76\x61nc\x65_text\x27")or die(mysqli_error(${${"GL\x4f\x42\x41\x4c\x53"}["h\x6fsp\x66\x73"]}));${"\x47\x4cOB\x41\x4c\x53"}["\x6ayg\x69\x6f\x7a\x6e\x62\x6dh"]="\x73\x71\x6c";${${"G\x4c\x4f\x42\x41L\x53"}["\x78\x73\x74k\x71\x63b\x71\x68\x6c\x71i"]}=mysqli_fetch_assoc(${${"\x47L\x4f\x42A\x4cS"}["\x6aygi\x6f\x7a\x6e\x62m\x68"]});return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["xstk\x71\x63\x62\x71h\x6c\x71\x69"]}["\x6e\x76\x61lu\x65"];}function sms_credit_sale_text(){global$con;${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6dp\x67\x70y\x73\x78\x62\x76"]="\x73\x71\x6c";${${"\x47\x4c\x4f\x42ALS"}["mp\x67\x70y\x73x\x62\x76"]}=mysqli_query(${${"GLO\x42\x41L\x53"}["\x68o\x73\x70fs"]},"s\x65le\x63\x74\x20n\x76al\x75\x65\x20f\x72o\x6d t\x5f\x70\x61r\x61m\x20\x77h\x65r\x65 \x6e\x6bey=\x27sm\x73\x5fc\x72e\x64it_\x73al\x65_text\x27")or die(mysqli_error(${${"\x47\x4c\x4f\x42A\x4c\x53"}["h\x6fs\x70\x66\x73"]}));${${"G\x4cO\x42A\x4c\x53"}["\x78\x73t\x6bq\x63\x62\x71\x68l\x71\x69"]}=mysqli_fetch_assoc(${${"\x47\x4c\x4f\x42\x41LS"}["\x74\x72\x6f\x63\x67xp\x71xq"]});return${${"\x47\x4cO\x42A\x4c\x53"}["\x78\x73\x74\x6b\x71\x63\x62\x71\x68\x6cq\x69"]}["\x6ev\x61l\x75\x65"];}function t_param_key($val){$jinxrqyq="d\x61\x74a";global$con;$xhmmwo="d\x61\x74a";$sinlyz="\x63\x6fn";${${"\x47\x4cOB\x41\x4c\x53"}["\x74\x72\x6fc\x67\x78\x70q\x78\x71"]}=mysqli_query(${${"\x47L\x4fBA\x4cS"}["hos\x70\x66s"]},"s\x65\x6cec\x74 n\x6bey\x20\x66\x72\x6fm t_\x70ara\x6d\x20where \x6ev\x61lue\x3d'$val\x27")or die(mysqli_error(${$sinlyz}));${$jinxrqyq}=mysqli_fetch_assoc(${${"\x47\x4c\x4f\x42\x41\x4cS"}["tr\x6fcgx\x70q\x78\x71"]});return${$xhmmwo}["n\x6be\x79"];}function t_param_key_ref($val){$rwetemqynkro="\x73ql";$cgbwxgepuquj="\x73\x71\x6c";${"\x47\x4cO\x42\x41\x4c\x53"}["\x73\x77\x76\x74k\x76\x73i\x63\x78\x71"]="\x64a\x74a";global$con;${"G\x4c\x4f\x42\x41L\x53"}["nyq\x65fc\x67ov\x6f\x67t"]="\x64\x61\x74\x61";${$cgbwxgepuquj}=mysqli_query(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68\x6fs\x70\x66\x73"]},"se\x6ce\x63\x74 \x76_\x72ef\x20\x66r\x6f\x6d\x20\x74_\x70a\x72am wh\x65re \x6ek\x65\x79=\x27$val'")or die(mysqli_error(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68o\x73\x70\x66\x73"]}));${${"GL\x4f\x42\x41\x4cS"}["s\x77v\x74\x6b\x76\x73i\x63x\x71"]}=mysqli_fetch_assoc(${$rwetemqynkro});return${${"G\x4c\x4f\x42AL\x53"}["ny\x71\x65\x66cg\x6fv\x6fgt"]}["\x76\x5f\x72\x65\x66"];}function t_param($val){${"G\x4cO\x42\x41LS"}["hs\x74\x76ba\x7a\x63"]="\x63\x6fn";${"GLO\x42\x41L\x53"}["\x67\x67\x6em\x66\x6b\x79\x69"]="d\x61t\x61";global$con;${${"\x47L\x4f\x42\x41L\x53"}["\x74\x72\x6fcg\x78p\x71xq"]}=mysqli_query(${${"GLO\x42\x41\x4cS"}["\x68s\x74\x76baz\x63"]},"s\x65lect\x20\x6e\x76al\x75\x65\x20fro\x6d
\x74\x5f\x70a\x72a\x6d\x20wh\x65\x72e \x6ek\x65y=\x27$val\x27")or die(mysqli_error(${${"GL\x4f\x42A\x4c\x53"}["\x68os\x70\x66s"]}));${${"G\x4c\x4f\x42A\x4c\x53"}["\x67\x67n\x6d\x66\x6b\x79\x69"]}=mysqli_fetch_assoc(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x74\x72\x6f\x63\x67\x78p\x71xq"]});return${${"\x47\x4cO\x42\x41L\x53"}["xst\x6b\x71\x63\x62\x71\x68lq\x69"]}["\x6e\x76\x61\x6cu\x65"];}function getBarcodeConfig($val){${"\x47\x4cO\x42\x41\x4cS"}["\x6a\x75nu\x71m"]="\x73q\x6c";${"\x47\x4cOB\x41\x4cS"}["\x78uj\x69\x62g"]="\x63\x6f\x6e";global$con;${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x6azw\x66\x6d"]="con";${${"\x47\x4cO\x42AL\x53"}["j\x75\x6e\x75\x71\x6d"]}=mysqli_query(${${"G\x4cOB\x41\x4c\x53"}["\x79\x6a\x7aw\x66m"]},"se\x6c\x65\x63\x74 \x76_\x76\x61lu\x65 \x66\x72\x6fm t\x5fb\x61\x72c\x6fd\x65_\x63o\x6efi\x67\x20\x77\x68e\x72e\x20\x76_name\x3d'$val\x27")or die(mysqli_error(${${"\x47\x4cOB\x41\x4c\x53"}["\x78\x75\x6ai\x62g"]}));${"G\x4c\x4f\x42\x41\x4cS"}["z\x77\x64\x68dq\x6e\x67td"]="\x64\x61\x74\x61";${${"G\x4cO\x42ALS"}["\x78st\x6b\x71\x63\x62\x71\x68l\x71\x69"]}=mysqli_fetch_assoc(${${"\x47\x4c\x4f\x42AL\x53"}["\x74\x72o\x63gx\x70\x71\x78\x71"]});return${${"GL\x4fB\x41\x4c\x53"}["\x7a\x77\x64\x68d\x71ng\x74d"]}["\x76\x5fval\x75e"];}function getGstin($val){$ljshnl="c\x6fn";$xqsinrcf="\x64\x61\x74\x61";$xtnmqxm="\x73\x71l";global$con;${${"\x47LO\x42\x41\x4c\x53"}["t\x72\x6f\x63\x67\x78p\x71\x78\x71"]}=mysqli_query(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x6f\x73\x70\x66\x73"]},"\x73e\x6ce\x63t\x20g\x73ti\x6e\x5fno \x66r\x6fm \x6d\x61s\x74er_s\x74\x6fre\x20w\x68e\x72e \x73\x74o\x72eid='$val'")or die(mysqli_error(${$ljshnl}));${${"\x47LOB\x41L\x53"}["xs\x74\x6b\x71\x63\x62q\x68\x6c\x71\x69"]}=mysqli_fetch_assoc(${$xtnmqxm});return${$xqsinrcf}["g\x73ti\x6e_n\x6f"];}function getbillno($val){global$con;${"\x47\x4c\x4f\x42\x41LS"}["\x65\x61o\x63j\x64\x6e\x6e\x71hmk"]="\x63\x6f\x6e";${${"GL\x4f\x42A\x4c\x53"}["\x74\x72o\x63\x67\x78\x70\x71\x78q"]}=mysqli_query(${${"\x47LO\x42ALS"}["\x65\x61ocj\x64n\x6eqhmk"]},"\x73\x65le\x63t\x20\x62\x69\x6cl\x69d \x66ro\x6d\x20s\x61le wh\x65\x72\x65 sa\x6c\x65\x69\x64\x3d'$val\x27")or die(mysqli_error(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x6f\x73p\x66\x73"]}));if(mysqli_num_rows(${${"\x47\x4c\x4fB\x41L\x53"}["\x74r\x6fc\x67\x78\x70\x71\x78q"]})>0){${"\x47LO\x42\x41LS"}["\x6b\x69\x6f\x6ekn\x66\x67"]="\x64\x61t\x61";${"GL\x4fBAL\x53"}["\x64j\x6d\x78\x62\x77"]="d\x61t\x61";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6bi\x6f\x6ek\x6efg"]}=mysqli_fetch_assoc(${${"\x47L\x4f\x42\x41\x4c\x53"}["t\x72oc\x67x\x70\x71\x78q"]});return${${"\x47LOB\x41L\x53"}["dj\x6d\x78bw"]}["\x62i\x6c\x6cid"];}else{return${${"\x47L\x4fBAL\x53"}["dy\x6e\x66\x65\x66\x66u"]};}}function getlocation($id){$gbuxowj="\x73\x71\x6c";global$con;${${"\x47LO\x42\x41LS"}["t\x72\x6f\x63\x67\x78\x70qx\x71"]}=mysqli_query(${${"G\x4cO\x42\x41LS"}["\x68\x6f\x73p\x66\x73"]},"se\x6c\x65\x63t lo\x63a\x74ion_\x6eam\x65\x20\x66r\x6f\x6d\x20t\x5f\x6co\x63\x61t\x69\x6fn_\x6d\x61ste\x72 \x77\x68e\x72\x65 \x69d='$id'")or die(mysqli_error(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["h\x6f\x73\x70f\x73"]}));${${"\x47\x4cOB\x41LS"}["x\x73\x74k\x71\x63\x62\x71\x68\x6cq\x69"]}=mysqli_fetch_assoc(${$gbuxowj});return${${"\x47L\x4f\x42\x41\x4cS"}["\x78\x73\x74k\x71cbq\x68\x6c\x71i"]}["\x6co\x63\x61\x74\x69o\x6e_na\x6de"];}function getshortcutlocname($id){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79g\x71\x76hs\x75i\x6c"]="\x73q\x6c";${"\x47\x4cOB\x41\x4c\x53"}["y\x78\x6d\x71\x64zd\x69\x64\x6fu"]="\x73\x71\x6c";${"\x47LO\x42\x41L\x53"}["hl\x71hg\x76g\x6d"]="da\x74\x61";global$con;${${"\x47\x4c\x4f\x42\x41L\x53"}["\x79\x67q\x76h\x73\x75\x69\x6c"]}=mysqli_query(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x6f\x73\x70f\x73"]},"s\x65\x6cect loc_s\x68\x6f\x72\x74cu\x74\x20f\x72om \x74_\x6co\x63\x61\x74i\x6fn_\x6da\x73\x74e\x72 wh\x65\x72\x65 \x69d\x3d'$id'")or die(mysqli_error(${${"\x47L\x4f\x42A\x4cS"}["hosp\x66\x73"]}));${${"G\x4c\x4f\x42\x41L\x53"}["\x68l\x71\x68gv\x67\x6d"]}=mysqli_fetch_assoc(${${"\x47\x4cO\x42\x41\x4cS"}["y\x78\x6d\x71\x64\x7a\x64id\x6fu"]});return${${"\x47LOBAL\x53"}["\x78\x73\x74kq\x63\x62\x71\x68l\x71i"]}["loc\x5f\x73\x68\x6f\x72\x74c\x75\x74"];}function barcode_history($comid,$barcode,$locqty_json,$locid,$mode,$uid,$trans_id,$trans_tbl,$prevlocqty_json=""){${"\x47\x4cOB\x41L\x53"}["\x67vtm\x6d\x70\x74\x7a\x75"]="\x63\x71\x74\x79_\x6a\x73\x6f\x6e";${"\x47L\x4fBA\x4c\x53"}["\x7a\x63\x74\x63\x6b\x69\x6b\x6a"]="q\x75\x65";${"G\x4cO\x42\x41L\x53"}["\x7a\x6d\x79\x7a\x76j\x68d\x66p\x75"]="\x63\x71t\x79_\x6as\x6f\x6e";$ysmwexk="ne\x74\x5f\x71t\x79";${"G\x4cO\x42\x41\x4cS"}["\x78\x75\x6e\x79\x63\x74"]="\x6co\x63\x71\x74\x79\x5fjs\x6f\x6e";${"\x47\x4c\x4f\x42A\x4c\x53"}["g\x72ug\x76\x71\x71o"]="\x71\x75e\x32";global$con;${"\x47L\x4f\x42ALS"}["dsi\x66\x79\x70\x76\x6bg\x73"]="\x70r\x65\x76l\x6fc\x71t\x79_j\x73\x6f\x6e";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x67\x76tmm\x70\x74\x7au"]}=${${"G\x4c\x4f\x42A\x4cS"}["x\x75n\x79\x63\x74"]};$khgkyhxvwfw="\x73t\x6fc\x6bq\x74\x79\x5f\x6aso\x6e\x5f\x63q\x74\x79";${${"\x47L\x4f\x42A\x4cS"}["\x75s\x67\x63\x75\x68\x78k\x6b\x74\x78"]}=json_decode(${${"GL\x4f\x42\x41L\x53"}["\x7a\x6d\x79\x7a\x76\x6a\x68\x64\x66\x70\x75"]},true);${${"\x47\x4c\x4f\x42\x41\x4cS"}["g\x75\x70\x6ca\x6b\x6c\x64os"]}=json_decode(${${"\x47\x4c\x4fB\x41LS"}["\x64s\x69\x66y\x70\x76\x6b\x67\x73"]},true);${${"\x47\x4cO\x42\x41\x4c\x53"}["\x67r\x75g\x76\x71qo"]}=mysqli_query(${${"\x47\x4c\x4fB\x41L\x53"}["\x68\x6f\x73\x70\x66\x73"]},"s\x65\x6c\x65c\x74 \x6aso\x6e_c\x71\x74y \x66\x72\x6f\x6d\x20\x62\x61\x72_\x63omb\x69\x6e\x61\x74i\x6fn\x20w\x68er\x65\x20\x63\x6fmi\x64\x3d\x20'".${${"\x47L\x4fBALS"}["\x62\x68\x6a\x71gfh\x70s\x72r"]}."'");if(${${"\x47\x4cO\x42\x41\x4cS"}["\x65hr\x6d\x72\x79\x65"]}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72\x73\x70lovf\x71cqi"]})){$xltfpbne="\x72\x6f\x77\x32";${"GL\x4fBA\x4c\x53"}["\x6bw\x67\x7a\x79c\x79q\x64\x70"]="\x73toc\x6b\x71\x74\x79\x5f\x6as\x6f\x6e\x5f\x63q\x74\x79";${${"\x47\x4c\x4f\x42\x41LS"}["\x6b\x77\x67\x7ay\x63\x79q\x64\x70"]}=${$xltfpbne}["\x6a\x73o\x6e\x5f\x63\x71ty"];}${"G\x4c\x4fB\x41\x4c\x53"}["\x76\x69\x6b\x63\x6d\x73"]="l\x6f\x63_\x71\x74\x79";${"\x47\x4cO\x42\x41L\x53"}["e\x6c\x77hru\x63\x64"]="que";$ghrclkjptuh="s\x74\x6fckq\x74\x79\x5f\x6a\x73o\x6e\x5fa\x72ra\x79";${$ghrclkjptuh}=json_decode(${$khgkyhxvwfw},true);${"\x47\x4cO\x42\x41L\x53"}["\x67uqwgq\x6fo\x68k"]="\x72\x6f\x77";${$ysmwexk}=0;${${"\x47L\x4f\x42A\x4cS"}["\x65\x6c\x77hr\x75\x63\x64"]}=mysqli_query(${${"\x47\x4cOB\x41L\x53"}["\x68o\x73p\x66s"]},"\x73\x65l\x65\x63\x74\x20* from t\x5f\x6co\x63\x61t\x69\x6fn\x5fma\x73te\x72\x20 \x4f\x52D\x45\x52\x20BY\x20`t\x5f\x6c\x6f\x63\x61\x74io\x6e_m\x61s\x74er\x60\x2e\x60\x69\x64\x60 \x41SC ");while(${${"G\x4c\x4f\x42\x41\x4cS"}["\x67u\x71w\x67\x71\x6fo\x68k"]}=mysqli_fetch_array(${${"GL\x4f\x42A\x4c\x53"}["\x7a\x63t\x63\x6b\x69\x6b\x6a"]})){${"G\x4c\x4fB\x41\x4c\x53"}["\x63\x67m\x6b\x6c\x61\x69\x6b"]="\x6ee\x74\x5fq\x74y";$wtjxsjpmzly="\x63\x71\x74\x79\x5fjson\x5f\x61\x72\x72a\x79";${"\x47L\x4f\x42\x41\x4cS"}["\x69n\x68\x75\x61\x64\x70p\x78d\x69"]="\x63\x6cs\x74\x6f\x63\x6b_qt\x79";${"\x47LO\x42A\x4c\x53"}["gb\x74k\x6en\x65\x6e\x75"]="\x6dode";$prkntrqbjz="\x6coca\x74\x69\x6fn_\x69\x64";${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x61q\x77sue\x66"]="\x73t\x6f\x63kq\x74y\x5f\x6as\x6f\x6e_\x61\x72\x72\x61\x79";$gqntxcghek="\x63\x75r_\x62o\x78\x71t\x79";$bcwmqhkbs="m\x6f\x64\x65";${"\x47\x4c\x4f\x42ALS"}["q\x71e\x6a\x70\x66iv\x6ey\x63\x76"]="\x6coc\x61\x74\x69o\x6e_\x69\x64";$bkuusdxl="mo\x64e";$eqberubps="\x6d\x6fd\x65";$fzmhzcueqde="r\x6fw";$eiemiheiqo="\x6do\x64\x65";$pwytusfcp="c\x75\x72_\x71\x74y";${"\x47L\x4f\x42A\x4c\x53"}["m\x75\x66x\x70\x77\x75n"]="\x73\x74\x6fck\x5f\x71\x74\x79";${"\x47L\x4f\x42\x41\x4cS"}["\x6c\x6a\x6f\x74y\x6b\x72\x65"]="\x63q\x74\x79_\x6a\x73\x6f\x6e_\x61\x72\x72\x61y";${${"GLO\x42\x41\x4c\x53"}["\x76m\x72o\x6a\x64\x74\x68j\x6e"]}=${$fzmhzcueqde}["\x69\x64"];$zgdfjts="\x6d\x6f\x64\x65";${$pwytusfcp}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x6ao\x74y\x6b\x72e"]}[${${"\x47L\x4fB\x41\x4cS"}["v\x6d\x72\x6f\x6ad\x74\x68j\x6e"]}]["q\x74y"];${$gqntxcghek}=${$wtjxsjpmzly}[${${"\x47\x4c\x4fB\x41\x4c\x53"}["q\x71ej\x70f\x69\x76ny\x63\x76"]}]["b\x6fx\x71t\x79"];$upvnknn="\x6c\x6f\x63\x61t\x69\x6fn\x5fi\x64";${${"\x47\x4cO\x42\x41L\x53"}["\x6d\x75\x66\x78\x70wu\x6e"]}=${${"G\x4cO\x42\x41\x4c\x53"}["v\x6d\x6fkl\x6d\x71o\x7ai\x6a\x6c"]}[${$prkntrqbjz}]["\x71\x74y"];${"G\x4cO\x42\x41\x4c\x53"}["\x62\x68iud\x73\x65\x71"]="s\x74\x6f\x63\x6b_\x62oxq\x74\x79";${${"\x47\x4cO\x42A\x4c\x53"}["b\x68\x69\x75\x64\x73\x65\x71"]}=${${"GL\x4f\x42ALS"}["h\x61\x71w\x73\x75\x65\x66"]}[${$upvnknn}]["b\x6fx\x71\x74y"];$uwytwzzrjhvz="m\x6f\x64e";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x75\x63\x74\x72\x79\x79\x6dj"]="ne\x74\x5f\x71t\x79";$qyhhilv="c\x6c\x73\x74oc\x6b\x5f\x71ty";if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["gb\x74k\x6e\x6ee\x6e\x75"]}=="\x49\x6e"){$nqwmlko="cl\x73\x74\x6f\x63\x6b\x5f\x71ty";${$nqwmlko}=${${"G\x4cO\x42\x41L\x53"}["\x6fdk\x6e\x63n\x64\x79\x7a\x67\x62"]}+${${"\x47L\x4fB\x41\x4cS"}["\x64\x6cy\x64\x76v"]};${${"\x47\x4c\x4fB\x41LS"}["\x69\x79xrcx"]}=${${"\x47\x4cO\x42\x41\x4cS"}["\x73fj\x63\x6cc\x75\x62\x72"]}+${${"\x47\x4c\x4f\x42A\x4c\x53"}["u\x72o\x6djoro\x73\x77\x79s"]};}elseif(${$bkuusdxl}=="Sa\x6ce"){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76y\x63b\x71o\x67\x6d\x72\x66"]="\x73to\x63k_qt\x79";${"GL\x4fBAL\x53"}["\x6a\x7a\x76g\x6as\x64p\x66"]="s\x74\x6f\x63k_\x62\x6fx\x71\x74\x79";$onvhlht="cl\x73\x74\x6f\x63k\x5f\x62\x6f\x78q\x74\x79";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ctco\x70\x6ba\x78\x66\x64"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76yc\x62\x71\x6fgm\x72\x66"]}-${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x6c\x79\x64\x76\x76"]};${"\x47\x4c\x4f\x42AL\x53"}["u\x73\x64\x77\x65\x73\x67r\x71\x67"]="cu\x72\x5fb\x6f\x78\x71\x74\x79";${$onvhlht}=${${"G\x4c\x4f\x42\x41L\x53"}["\x6a\x7a\x76g\x6a\x73d\x70\x66"]}-${${"\x47L\x4fB\x41\x4c\x53"}["\x75sdw\x65sg\x72q\x67"]};}elseif(${${"G\x4cO\x42\x41\x4cS"}["\x61\
x64\x74\x78\x66\x62\x65"]}=="\x52\x65\x74\x75r\x6e"){$bmhcuzwzkni="cls\x74oc\x6b\x5fqty";$xkiekldb="\x73\x74o\x63k\x5fqty";$aoriass="c\x75\x72\x5f\x71\x74\x79";${"\x47L\x4f\x42\x41L\x53"}["\x76\x67\x62\x6e\x64\x72\x65a\x74\x77\x75k"]="\x73t\x6f\x63\x6b\x5fb\x6fx\x71t\x79";${$bmhcuzwzkni}=${$xkiekldb}+${$aoriass};${${"GLO\x42\x41\x4cS"}["\x69y\x78\x72cx"]}=${${"\x47L\x4f\x42\x41\x4c\x53"}["\x76\x67bn\x64r\x65a\x74\x77u\x6b"]}+${${"\x47\x4cO\x42\x41L\x53"}["\x75ro\x6d\x6ao\x72\x6f\x73\x77ys"]};}elseif(${$bcwmqhkbs}=="d\x75\x6dp"){$wpuivrdzp="\x63\x6cs\x74\x6f\x63\x6b_\x62ox\x71t\x79";$wnzgcjvntb="\x63\x6c\x73\x74\x6fck\x5f\x71\x74\x79";$gcngcdbt="\x63\x75\x72_q\x74\x79";${$wnzgcjvntb}=${${"\x47LO\x42A\x4c\x53"}["\x6f\x64\x6b\x6ec\x6e\x64yz\x67\x62"]}-${$gcngcdbt};${$wpuivrdzp}=${${"G\x4c\x4f\x42\x41\x4cS"}["s\x66\x6a\x63\x6c\x63ubr"]}-${${"\x47L\x4f\x42\x41\x4c\x53"}["\x75\x72o\x6djoro\x73\x77\x79\x73"]};}elseif(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x61dt\x78\x66\x62\x65"]}=="S\x41L\x45-\x44\x45\x4cETE"){${"\x47L\x4f\x42A\x4c\x53"}["ko\x70\x69u\x6bx\x78\x63"]="\x73\x74\x6f\x63\x6b_qt\x79";${"\x47LO\x42ALS"}["\x63\x72\x6fe\x6bva"]="\x63u\x72_\x62oxq\x74\x79";${${"GLO\x42A\x4c\x53"}["\x6c\x74\x63o\x70k\x61\x78\x66d"]}=${${"G\x4cO\x42\x41\x4c\x53"}["k\x6fp\x69\x75k\x78xc"]}+${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64l\x79\x64\x76v"]};${${"\x47\x4cOBA\x4c\x53"}["\x69\x79x\x72\x63x"]}=${${"\x47LO\x42\x41LS"}["\x73f\x6a\x63\x6c\x63\x75\x62r"]}+${${"\x47L\x4f\x42\x41\x4c\x53"}["\x63r\x6f\x65\x6bv\x61"]};}elseif(${${"G\x4cO\x42A\x4c\x53"}["\x61\x64\x74xf\x62\x65"]}=="D\x45\x4c\x45\x54E"){${"\x47\x4cO\x42A\x4c\x53"}["\x71\x70\x68\x64\x77g\x65\x6b\x75\x6b\x68"]="\x73t\x6f\x63\x6b\x5f\x71\x74\x79";$plwyblkx="\x63lsto\x63\x6b_b\x6f\x78\x71\x74\x79";$vfnywpkxuvo="\x73\x74o\x63\x6b_\x62\x6f\x78\x71t\x79";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x74\x63\x6fp\x6b\x61x\x66\x64"]}=${${"G\x4c\x4fB\x41LS"}["\x71p\x68d\x77\x67e\x6bu\x6b\x68"]}-${${"GL\x4fB\x41\x4cS"}["\x64ly\x64\x76\x76"]};${$plwyblkx}=${$vfnywpkxuvo}-${${"\x47\x4c\x4f\x42ALS"}["\x75\x72\x6fm\x6aor\x6f\x73\x77\x79\x73"]};}elseif(${$zgdfjts}=="PU\x52-\x45\x44\x49\x54"){$inrwaek="c\x75\x72\x5f\x71\x74y";$eftenylb="\x6c\x6f\x63\x61t\x69on_i\x64";${"G\x4cOBALS"}["\x6b\x67\x6e\x6c\x74\x68\x68ydt\x64"]="\x70\x72\x65\x76\x5f\x71\x74\x79";$yberklhnj="\x70\x72\x65v_\x62\x6f\x78qty";${${"\x47\x4c\x4f\x42AL\x53"}["\x6b\x67\x6e\x6c\x74\x68\x68\x79\x64t\x64"]}=${${"\x47LO\x42\x41L\x53"}["gup\x6ca\x6bld\x6fs"]}[${$eftenylb}]["qty"];${"\x47\x4c\x4f\x42\x41LS"}["\x61p\x6a\x7a\x6f\x6d\x6a\x76f"]="\x70\x72\x65v_\x62o\x78\x71t\x79";$gisycvdn="\x63l\x73\x74\x6f\x63\x6b\x5f\x71t\x79";${$yberklhnj}=${${"G\x4cOB\x41\x4c\x53"}["\x67\x75\x70l\x61k\x6c\x64\x6f\x73"]}[${${"\x47L\x4f\x42ALS"}["\x76\x6dro\x6a\x64\x74h\x6a\x6e"]}]["\x62\x6fx\x71\x74y"];${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6cb\x63j\x77\x76\x6ce\x65\x6b\x63"]="c\x75\x72_b\x6fx\x71t\x79";${$gisycvdn}=${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6fd\x6b\x6e\x63n\x64\x79\x7ag\x62"]}-${${"G\x4cO\x42AL\x53"}["\x67p\x63pq\x6by\x67\x72o\x6b"]}+${$inrwaek};${${"\x47\x4c\x4fB\x41\x4cS"}["\x69\x79\x78\x72\x63\x78"]}=${${"\x47\x4cOBA\x4c\x53"}["\x73\x66j\x63\x6c\x63\x75br"]}-${${"\x47\x4c\x4fBA\x4c\x53"}["a\x70\x6a\x7a\x6f\x6d\x6a\x76\x66"]}-${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["lb\x63j\x77v\x6c\x65\x65\x6b\x63"]};}elseif(${$eiemiheiqo}=="\x53\x41\x4c\x45\x5fE\x44I\x54"){$dkscvje="\x63\x75\x72\x5f\x62\x6fxqty";${"GL\x4f\x42\x41\x4c\x53"}["\x77\x6ee\x65\x67\x62n"]="l\x6f\x63a\x74i\x6f\x6e_\x69d";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67p\x63\x70qky\x67\x72o\x6b"]}=${${"\x47\x4c\x4fB\x41LS"}["g\x75p\x6ca\x6b\x6cdo\x73"]}[${${"G\x4c\x4f\x42\x41\x4c\x53"}["v\x6d\x72\x6f\x6a\x64\x74\x68jn"]}]["q\x74y"];${${"G\x4c\x4f\x42\x41\x4cS"}["\x69\x72g\x6e\x72\x6d\x68\x6b\x78\x6c"]}=${${"G\x4cOB\x41\x4cS"}["\x67\x75p\x6cak\x6cd\x6f\x73"]}[${${"G\x4cO\x42\x41L\x53"}["\x77\x6e\x65\x65\x67\x62\x6e"]}]["bo\x78q\x74y"];${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6ct\x63opk\x61\x78\x66d"]}=${${"GLO\x42\x41\x4c\x53"}["od\x6bn\x63\x6ed\x79\x7agb"]}+${${"G\x4c\x4fBA\x4c\x53"}["\x67p\x63\x70q\x6b\x79g\x72\x6fk"]}-${${"\x47L\x4fB\x41\x4c\x53"}["\x64l\x79\x64\x76v"]};${${"\x47\x4cO\x42AL\x53"}["iy\x78\x72cx"]}=${${"\x47\x4c\x4f\x42\x41L\x53"}["\x73\x66j\x63\x6cc\x75br"]}+${${"G\x4c\x4fB\x41\x4c\x53"}["irg\x6erm\x68\x6b\x78\x6c"]}-${$dkscvje};}if(${${"\x47L\x4f\x42AL\x53"}["\x61d\x74\x78\x66be"]}=="T\x52\x41N\x53-\x49\x4e"){${"\x47LO\x42ALS"}["\x63\x67\x74g\x73t"]="\x63\x6c\x73\x74\x6f\x63\x6b_\x71t\x79";$ldkjgelvvb="\x73\x74\x6f\x63\x6b\x5f\x62ox\x71\x74\x79";$ovuekjyyshb="\x73\x74\x6fck\x5f\x71t\x79";${${"\x47LO\x42A\x4cS"}["\x63\x67\x74g\x73\x74"]}=${$ovuekjyyshb}+${${"\x47\x4c\x4fB\x41L\x53"}["d\x6c\x79d\x76\x76"]};${${"G\x4c\x4f\x42\x41LS"}["iy\x78\x72\x63\x78"]}=${$ldkjgelvvb}+${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ur\x6f\x6dj\x6fro\x73w\x79\x73"]};}if(${${"\x47\x4c\x4fB\x41\x4cS"}["\x61\x64txfb\x65"]}=="TR\x41\x4eS-OUT"){$lvcmpshksk="\x63l\x73to\x63\x6b\x5fbox\x71\x74y";${"\x47L\x4fB\x41\x4c\x53"}["t\x67\x63\x74s\x7a\x69f\x68l"]="c\x6c\x73\x74\x6f\x63\x6b_\x71ty";${"G\x4c\x4f\x42ALS"}["vgy\x61\x68\x75u"]="\x63u\x72\x5fq\x74y";$tiqswqf="\x73\x74oc\x6b\x5f\x62\x6fx\x71t\x79";${${"GL\x4fBA\x4c\x53"}["\x74\x67\x63\x74s\x7a\x69\x66\x68\x6c"]}=${${"\x47\x4c\x4fBAL\x53"}["\x6f\x64\x6b\x6e\x63\x6ed\x79z\x67\x62"]}-${${"G\x4c\x4fB\x41L\x53"}["\x76\x67y\x61h\x75u"]};${$lvcmpshksk}=${$tiqswqf}-${${"\x47L\x4f\x42A\x4c\x53"}["ur\x6f\x6d\x6a\x6fro\x73\x77\x79\x73"]};}if(${$uwytwzzrjhvz}=="C\x4f\x4eV-IN"){$gihhygcbskx="\x63\x75\x72_\x71\x74\x79";$qsbjpvrp="c\x6c\x73to\x63k\x5fbo\x78\x71\x74y";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x64h\x77\x74fxtt\x71\x62\x71"]="\x63\x75\x72\x5f\x62\x6f\x78\x71\x74y";${${"\x47L\x4fB\x41LS"}["lt\x63o\x70k\x61x\x66d"]}=${${"\x47LOBA\x4c\x53"}["\x6fd\x6bn\x63n\x64yz\x67b"]}+${$gihhygcbskx};${$qsbjpvrp}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73\x66j\x63\x6cc\x75\x62\x72"]}+${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x64\x68\x77\x74fx\x74tqb\x71"]};}if(${$eqberubps}=="CON\x56-\x4f\x55\x54"){${"\x47L\x4f\x42\x41L\x53"}["o\x73cj\x77uk\x7anz"]="\x63l\x73\x74oc\x6b\x5f\x62\x6fx\x71\x74\x79";${"\x47\x4cO\x42\x41L\x53"}["\x66rf\x75\x79\x69\x7a\x70\x61m\x79s"]="c\x75\x72\x5fboxq\x74\x79";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x74\x63o\x70\x6b\x61\x78\x66\x64"]}=${${"\x47\x4cOB\x41\x4c\x53"}["\x6f\x64\x6b\x6ecn\x64\x79z\x67\x62"]}-${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x6c\x79\x64\x76\x76"]};${${"\x47L\x4f\x42\x41LS"}["\x6f\x73\x63\x6aw\x75k\x7an\x7a"]}=${${"GLO\x42A\x4c\x53"}["s\x66j\x63\x6cc\x75\x62\x72"]}-${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x72f\x75\x79\x69\x7apa\x6d\x79\x73"]};}${${"\x47LOB\x41\x4c\x53"}["h\x75\x63\x74\x72\x79ymj"]}=${${"G\x4c\x4f\x42AL\x53"}["c\x67mk\x6c\x61\x69k"]}+${${"\x47L\x4fBALS"}["i\x6eh\x75\x61d\x70p\x78\x64\x69"]};${${"G\x4c\x4fB\x41\x4c\x53"}["\x74\x76\x70\x74\x61f\x6c\x6et"]}[${${"\x47\x4cO\x42\x41\x4c\x53"}["\x76mr\x6f\x6ad\x74\x68\x6a\x6e"]}]=array("\x71\x74\x79"=>${$qyhhilv},"boxqt\x79"=>${${"GLOB\x41\x4c\x53"}["\x69y\x78r\x63\x78"]});}${${"\x47L\x4f\x42A\x4c\x53"}["\x74v\x70\x74a\x66\x6c\x6et"]}=json_encode(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74v\x70\x74\x61\x66\x6c\x6et"]});${${"G\x4c\x4f\x42A\x4cS"}["\x77\x71\x6fs\x61v\x6b"]}=date("Y/\x6d/\x64 \x68:i\x20A");mysqli_query(${${"\x47L\x4fB\x41L\x53"}["\x68o\x73p\x66\x73"]},"upda\x74\x65\x20ba\x72\x5fc\x6fmbin\x61\x74\x69\x6f\x6e set\x20\x6a\x73o\x6e_c\x71\x74y\x20\x3d'$clos_locqty_json',cur\x5fst\x6f\x63k=\x27$net_qty',\x6ca\x73\x74\x75\x70\x64a\x74\x65_\x64\x61\x74\x65t\x69me='$cdatetime\x27 \x77h\x65re \x63\x6f\x6di\x64 ='".${${"\x47\x4cO\x42\x41L\x53"}["b\x68j\x71\x67f\x68p\x73\x72r"]}."\x27");mysqli_query(${${"\x47\x4c\x4f\x42AL\x53"}["\x68os\x70\x66s"]},"\x69n\x73er\x74 in\x74\x6f \x20\x62ar\x63\x6f\x64\x65\x5fh\x69s\x74\x6f\x72y(\x62a\x72code,l\x6f\x63id,\x71\x74y,loc\x5f\x62\x61l\x61\x6ece,ba\x6c\x61\x6ece,\x6d\x6f\x64\x65,\x64ates,tim\x65s,\x75\x69\x64,tra\x6es\x5f\x69\x64,\x74ran\x73_tbl,c\x6f\x6d\x69d,prevqty\x5fjson,cqt\x79_\x6a\x73o\x6e,\x63\x6c\x6f\x73s\x74ock_\x6a\x73on) va\x6c\x75es(\x27".${${"\x47L\x4fB\x41LS"}["\x65m\x78\x6f\x6f\x75\x75b"]}."',\x27".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73\x70\x64\x61ln"]}."',\x27".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x74sjvn\x69s"]}."','".${${"\x47\x4cOB\x41\x4c\x53"}["\x76\x69\x6b\x63\x6ds"]}."\x27,\x27".${${"G\x4c\x4f\x42A\x4c\x53"}["\x79\x72r\x79\x64\x6abr"]}."',\x27".${${"\x47\x4c\x4f\x42A\x4c\x53"}["ad\x74\x78\x66\x62\x65"]}."',\x27".date("\x59/\x6d/d")."','".date("\x68:\x69 A")."','".${${"\x47\x4c\x4f\x42AL\x53"}["\x73\x6a\x69q\x62\x62"]}."',\x27$trans_id\x27,\x27$trans_tbl','$comid',\x27$stockqty_json_cqty','$cqty_json',\x27$clos_locqty_json\x27)");}function getlocationName($locid){global$con;$wstfxppi="\x71\x75\x65";$zsyjvlmvz="\x72\x6f\x77";${${"\x47\x4cOBAL\x53"}["\x66yn\x62\x78o\x71y\x76q\x6b"]}=mysqli_query(${${"G\x4c\x4f\x42A\x4cS"}["h\x6f\x73p\x66\x73"]},"s\x65le\x63t\x20\x6c\x6f\x63\x61\x74\x69\x6f\x6e_\x6e\x61\x6d\x65\x20\x66\x72om t_loca\x74\x69o\x6e\x5fm\x61s\x74er\x20\x77h\x65\x72e i\x64\x3d'$locid\x27");if(${$zsyjvlmvz}=mysqli_fetch_array(${$wstfxppi})){$tnletpm="r\x6fw";return${$tnletpm}["\x6co\x63a\x74i\x6fn\x5f\x6e\x61me"];}}function getPurShow($uid){${"GL\x4fB\x41\x4c\x53"}["\x70\x6c\x6ac\x76\x77\x75\x72\x79"]="\x63\x6f\x6e";global$con;${"GL\x4f\x42\x41L\x53"}["\x71r\x66t\x6d\x64\x72\x70\x6a\x72"]="row";${${"\x47\x4cO\x42\x41\x4cS"}["\x66y\x6e\x62\x78\x6f\x71\x79\x76\x71\x6b"]}=mysqli_query(${${"GL\x4f\x42AL\x53"}["\x70\x6c\x6a\x63\x76\x77\x75ry"]},"select\x20show\x5fpu\x72ch\x61s\x65\x5fs\x65\x61\x72c\x68 \x66ro\x6d\x20\x75s\x65r_reg where\x20i\x64\x3d\x27$uid'");$fripmj="\x71\x75\x65";if(${${"\x47\x4cO\x42\x41\x4cS"}["\x71\x72\x66t\x6d\x64\x72p\x6a\x72"]}=mysqli_fetch_array(${$fripmj})){$rgrugqjcqbd="r\x6fw";return${$rgrugqjcqbd}["\x73ho\x77\x5fp\x75r\x63h\x61s\x65_searc\x68"];}}function po_history($poid,$poitemid,$barcode,$suppid,$qty,$status,$cdate,$ctime,$uid){global$con;$yrnqspmdic="\x73\x74a\x74\x75s";${"GL\x4f\x42\x41\x4c\x53"}["\x6
d\x6c\x69\x78\x6a\x6brb\x62f"]="s\x74\x61\x74\x75s";if(${$yrnqspmdic}=="\x4f"){$icoeci="\x63on";${"\x47L\x4fBA\x4c\x53"}["\x74\x75i\x76\x65fi\x6c"]="s\x71\x6c";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63\x63\x6d\x6cl\x78\x64\x6a\x72\x78\x63p"]="\x63on";${"\x47L\x4fBA\x4cS"}["\x6egbye\x73ot"]="q\x74y";${"G\x4c\x4f\x42\x41L\x53"}["ngq\x76k\x78\x63"]="\x63o\x6e";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x76i\x77\x65m\x74u"]}=${${"GL\x4f\x42\x41LS"}["ng\x62\x79es\x6ft"]};$iffvwjgo="\x63\x6f\x6e";${${"\x47L\x4f\x42AL\x53"}["\x74\x75\x69\x76e\x66\x69l"]}=mysqli_query(${${"\x47\x4c\x4fB\x41L\x53"}["\x63c\x6d\x6c\x6c\x78d\x6a\x72x\x63\x70"]},"\x73e\x6cect pqt\x79\x20f\x72om\x20po\x5frec\x65\x69\x76\x65_\x68is\x74\x6fr\x79 \x77h\x65r\x65\x20poi\x64\x3d\x27$poid\x27\x20\x61\x6e\x64 ba\x72c\x6f\x64e='$barcode'")or die(mysqli_error(${$icoeci}));if(mysqli_num_rows(${${"\x47\x4c\x4f\x42\x41LS"}["t\x72\x6f\x63\x67\x78\x70\x71x\x71"]})>0){${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x76w\x74\x73\x6d\x62\x70\x72x"]="\x73\x71\x6c";${${"G\x4cO\x42\x41\x4c\x53"}["x\x73\x74\x6bqc\x62\x71\x68\x6c\x71\x69"]}=mysqli_fetch_assoc(${${"\x47\x4c\x4fB\x41\x4c\x53"}["w\x76\x77ts\x6d\x62\x70\x72\x78"]});${${"\x47LO\x42A\x4cS"}["\x74viw\x65\x6d\x74\x75"]}=${${"GL\x4fB\x41LS"}["ts\x6a\x76n\x69s"]}+${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78\x73tk\x71cbq\x68\x6cq\x69"]}["pqt\x79"];}mysqli_query(${${"\x47LO\x42A\x4c\x53"}["ng\x71\x76\x6b\x78\x63"]},"in\x73\x65\x72\x74\x20i\x6e\x74o po\x5fr\x65cei\x76\x65_hi\x73t\x6fr\x79(poid, i\x74\x65\x6d\x69d, \x62a\x72c\x6f\x64e,\x20s\x75pp\x69\x64, q\x74\x79, pqty, d\x61\x74\x65\x73, \x74i\x6de\x73, \x75\x69d, sta\x74\x75s)\x20\x76\x61l\x75\x65\x73 (\x20'$poid' ,'$poitemid',\x20'$barcode\x27, '$suppid\x27,\x20\x27$qty',\x20'$pqty',\x20'$cdate\x27,\x20'$ctime',\x20\x27$uid', '$status')")or die(mysqli_error(${$iffvwjgo}));}elseif(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70\x76cv\x64\x71p\x72"]}=="U"){$ikjjnuchbg="\x64\x61\x74\x61";$fnovwxbvch="\x73\x71\x6c";${"\x47\x4c\x4fB\x41\x4cS"}["p\x73\x65\x62\x62\x77d\x63dp"]="c\x6fn";${${"GLO\x42\x41\x4cS"}["\x74r\x6fcg\x78pqx\x71"]}=mysqli_query(${${"GLO\x42\x41L\x53"}["\x70seb\x62\x77\x64c\x64p"]},"se\x6cec\x74 \x73um(pqt\x79)\x20\x61s\x20\x70qt\x79\x20\x66\x72\x6f\x6d p\x75\x72\x63\x68ase\x5f\x6f\x72de\x72\x5f\x64\x65\x74\x20\x77\x68\x65\x72e \x70\x71\x74y\x3c>\x30\x20and \x62ar\x63od\x65\x3d'$barcode' and p\x6f\x69\x64=\x27$poid\x27")or die(mysqli_error(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x6fs\x70f\x73"]}));${"\x47\x4cO\x42A\x4c\x53"}["\x69\x6d\x6f\x63\x68mt\x72\x78"]="p\x71t\x79";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x70\x6cmm\x6e\x70\x6ft\x64\x63"]="\x63o\x6e";$gucstxrclh="\x63\x6f\x6e";${${"\x47LOBA\x4c\x53"}["\x78\x73\x74\x6b\x71\x63\x62\x71\x68\x6cq\x69"]}=mysqli_fetch_assoc(${$fnovwxbvch});${${"\x47\x4cO\x42ALS"}["\x69\x6do\x63hm\x74rx"]}=${$ikjjnuchbg}["p\x71\x74y"];mysqli_query(${$gucstxrclh},"in\x73\x65r\x74 \x69nto \x70\x6f\x5f\x72e\x63\x65\x69v\x65\x5f\x68i\x73\x74\x6f\x72y(poid,\x20\x69\x74emi\x64,\x20\x62\x61r\x63ode, \x73upp\x69\x64, \x71\x74y,\x20\x70\x71t\x79, da\x74es,\x20tim\x65s, \x75id, \x73\x74\x61\x74\x75\x73)\x20\x76al\x75\x65\x73 ( \x27$poid'\x20,'$poitemid\x27, '$barcode\x27, \x27$suppid', '$qty\x27, '$pqty\x27, '$cdate', '$ctime', '$uid\x27,\x20\x27$status\x27)")or die(mysqli_error(${${"\x47L\x4fB\x41\x4cS"}["f\x70\x6c\x6d\x6dn\x70\x6ft\x64\x63"]}));}elseif(${${"G\x4c\x4fB\x41\x4c\x53"}["ml\x69\x78j\x6b\x72\x62bf"]}=="\x54"){${"GLO\x42\x41LS"}["\x64\x67n\x6f\x73\x68"]="c\x6fn";$mpabiurw="c\x6f\x6e";mysqli_query(${$mpabiurw},"\x69n\x73\x65r\x74 \x69n\x74\x6f\x20\x70o\x5f\x72\x65\x63\x65ive_hist\x6f\x72y(p\x6fid,\x20itemid, b\x61rc\x6fde,\x20s\x75p\x70\x69\x64,\x20qty,\x20\x70\x71ty,\x20\x64\x61\x74\x65\x73,\x20ti\x6des,\x20uid,\x20\x73ta\x74\x75\x73) v\x61\x6c\x75\x65s\x20( \x27$poid'\x20,'$poitemid', '$barcode\x27, \x27$suppid', '$qty\x27, '\x30', '$cdate',\x20\x27$ctime\x27, '$uid\x27, \x27$status\x27)")or die(mysqli_error(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x64\x67n\x6f\x73\x68"]}));}elseif(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["p\x76\x63\x76d\x71p\x72"]}=="R"){$tgodljjhg="c\x6f\x6e";$hnlkpdbom="\x71\x74\x79";$zphamyvp="\x64at\x61";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x74\x72o\x63\x67\x78p\x71\x78q"]}=mysqli_query(${${"\x47LOB\x41\x4c\x53"}["\x68\x6f\x73pfs"]},"se\x6c\x65c\x74\x20pq\x74\x79\x20f\x72o\x6d\x20\x70o_rec\x65\x69\x76e_h\x69sto\x72y \x77h\x65re poi\x64\x3d'$poid\x27\x20\x61\x6e\x64 \x62\x61\x72\x63\x6f\x64e='$barcode'\x20\x6f\x72\x64\x65\x72 \x62y\x20\x68i\x64\x20\x64es\x63 \x6c\x69m\x69\x74 \x31")or die(mysqli_error(${$tgodljjhg}));${"G\x4c\x4f\x42\x41\x4cS"}["\x6a\x72\x6br\x6d\x64\x76ciy"]="d\x61\x74a";$ydzvxcn="\x73\x71\x6c";${${"\x47L\x4fBA\x4c\x53"}["j\x72k\x72\x6ddv\x63\x69y"]}=mysqli_fetch_assoc(${$ydzvxcn});${"\x47L\x4fBAL\x53"}["\x75m\x6f\x6d\x71j\x76\x64\x6d\x6al\x72"]="\x63\x6f\x6e";$ylssexfw="con";${${"\x47\x4cOB\x41L\x53"}["\x74\x76\x69\x77\x65m\x74\x75"]}=${$zphamyvp}["\x70\x71\x74y"]-${$hnlkpdbom};mysqli_query(${${"\x47\x4c\x4fB\x41\x4c\x53"}["u\x6dom\x71jv\x64\x6d\x6a\x6c\x72"]},"\x69\x6e\x73\x65r\x74 i\x6e\x74\x6f\x20p\x6f\x5freceive\x5fhis\x74o\x72\x79(\x70o\x69\x64,\x20\x69t\x65m\x69\x64,\x20\x62a\x72cod\x65,\x20s\x75\x70pid,\x20q\x74\x79, \x70\x71t\x79,\x20dat\x65s,\x20\x74\x69\x6d\x65\x73, u\x69\x64, \x73t\x61\x74\x75s) v\x61\x6c\x75\x65\x73 ( '$poid\x27 ,\x27$poitemid', \x27$barcode', \x27$suppid\x27,\x20\x27$qty\x27,\x20\x27$pqty', \x27$cdate',\x20\x27$ctime\x27, \x27$uid', '$status\x27)")or die(mysqli_error(${$ylssexfw}));}}function check_master_status($tblname,$column,$val,$colid){${"\x47\x4c\x4fBAL\x53"}["\x64\x71\x6af\x64\x66d"]="\x71r\x79";$rcupwlxumgf="val";global$con;${${"\x47\x4c\x4fB\x41\x4cS"}["\x64\x79\x6e\x66\x65\x66\x66\x75"]}=trim(${${"\x47L\x4f\x42\x41\x4c\x53"}["dy\x6e\x66eff\x75"]});${"\x47\x4cOBA\x4c\x53"}["\x72yqcc\x76u\x6e"]="\x6e\x75m";${${"G\x4cO\x42\x41\x4cS"}["d\x71jf\x64f\x64"]}=mysqli_query(${${"\x47L\x4fBAL\x53"}["\x68ospf\x73"]},"\x73\x65l\x65\x63\x74\x20$colid \x66\x72o\x6d $tblname \x77h\x65re\x20$column\x3d'".trim(${$rcupwlxumgf})."\x27");${${"G\x4cO\x42A\x4cS"}["\x72y\x71\x63cv\x75\x6e"]}=mysqli_num_rows(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65\x7a\x62\x63\x77\x64\x79gue"]});if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["q\x68\x73\x75\x6d\x71f\x72\x6fh"]}==0){return 0;}else{$rgvsworkr="q\x72y";${${"G\x4c\x4fBA\x4c\x53"}["s\x6d\x65\x75\x6a\x70p\x6e"]}=mysqli_fetch_array(${$rgvsworkr});return${${"G\x4cO\x42AL\x53"}["s\x6d\x65\x75jp\x70\x6e"]}[${${"\x47\x4c\x4f\x42AL\x53"}["\x78\x76\x74c\x6byc"]}];}}function master_create($tblname,$column,$val,$subcat=1,$hsn=''){$pmunifnfx="\x76\x61l";global$con;${${"GL\x4f\x42\x41\x4c\x53"}["\x64\x79\x6ef\x65f\x66\x75"]}=trim(${$pmunifnfx});if(${${"\x47\x4cOB\x41L\x53"}["\x64y\x6e\x66\x65f\x66\x75"]}!="0"&&${${"G\x4c\x4fB\x41\x4c\x53"}["\x64\x79\x6e\x66\x65\x66\x66\x75"]}!=""){${"G\x4c\x4f\x42\x41L\x53"}["\x79\x73\x68ke\x6d\x66\x74e\x6c"]="s\x75\x62\x63at";if(${${"GLOBA\x4c\x53"}["y\x73\x68k\x65\x6d\x66tel"]}==1){${"\x47L\x4fB\x41L\x53"}["k\x78\x71\x7ai\x65\x69\x6d\x6b\x6bg"]="\x63\x6f\x6e";${"GL\x4f\x42A\x4c\x53"}["r\x72q\x6cgx\x78\x6e\x62\x72p"]="\x63\x6f\x6e";${"\x47\x4cO\x42\x41\x4c\x53"}["o\x63\x78\x6e\x79q\x66u"]="c\x6f\x6e";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73c\x62\x76\x65\x72\x68\x6d\x71"]}=mysqli_query(${${"GL\x4fB\x41LS"}["oc\x78\x6ey\x71fu"]},"i\x6ese\x72\x74 int\x6f\x20$tblname\x20(c\x61\x74id, $column,\x20s\x74\x6fre\x69d,\x20\x68s\x6ec\x6f\x64\x65) va\x6c\x75e\x73\x20('\x31','$val\x27,'".$_SESSION["s\x74o\x72eid"]."','$hsn\x27)")or die(mysqli_error(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["rrq\x6c\x67\x78\x78\x6e\x62\x72\x70"]}));return mysqli_insert_id(${${"G\x4cO\x42A\x4c\x53"}["k\x78\x71z\x69\x65\x69\x6dkk\x67"]});}else{${"\x47\x4c\x4f\x42ALS"}["\x70r\x66\x6c\x67\x7a\x61"]="c\x6fn";$jbjufbm="\x63o\x6e";${${"\x47\x4c\x4f\x42\x41L\x53"}["s\x63\x62\x76\x65\x72\x68\x6d\x71"]}=mysqli_query(${${"\x47\x4c\x4fB\x41L\x53"}["\x70\x72\x66\x6c\x67\x7aa"]},"\x69\x6esert\x20int\x6f\x20$tblname\x20($column,\x20s\x74o\x72e\x69d)\x20\x76a\x6cu\x65\x73\x20('$val\x27,'".$_SESSION["s\x74\x6f\x72\x65id"]."')")or die(mysqli_error(${${"GLO\x42A\x4c\x53"}["\x68\x6fs\x70fs"]}));return mysqli_insert_id(${$jbjufbm});}}else{return 0;}}function check_combination_barcode($rate_ary,$wp_ary,$swp_ary,$scatid,$cstyle,$colr,$csize,$cbrand,$saleprice,$wp,$swp,$nmrp,$purprice,$barcode,$bstatus,$pur_item_txt_val1,$pur_item_txt_val2,$pur_item_txt_val3,$pur_item_txt_val4,$pur_item_txt_val5,$pur_item_txt_val6,$ptype,$qty,$expiry,$minstock='0',$maxstock='0',$suppid,$pur_unique_barcode="Yes"){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6fr\x67b\x6b\x6a\x77c\x6c\x72\x74"]="c\x6f\x6d\x62\x69n\x61\x74io\x6e\x5f\x6co\x63w\x70";$vshrdhzogqg="\x64\x70";global$con;${"\x47LO\x42\x41\x4cS"}["r\x73\x77e\x6d\x64"]="\x73\x77\x70";@${${"GL\x4f\x42AL\x53"}["nv\x6d\x63tb\x71\x75\x75\x72w"]}=$_SESSION["\x6co\x63\x69\x64"];${"G\x4cO\x42\x41\x4cS"}["toxv\x78s\x64\x7a\x66\x6e"]="\x73\x61le\x70r\x69\x63\x65";$dvnfjgfw="p\x75\x72\x70\x72\x69c\x65";${"\x47L\x4fB\x41\x4cS"}["\x73\x78\x75\x73u\x71\x64qtw"]="\x73\x63\x61t\x69\x64";$xvfdmjgpf="\x70\x6f\x69\x6e\x74\x5ff";${"\x47\x4cO\x42\x41\x4c\x53"}["y\x6e\x62\x6e\x71\x66ug"]="d\x70";$kndthfqkry="\x64\x70";${${"\x47L\x4f\x42\x41\x4cS"}["\x79\x6e\x62\x6eq\x66\x75g"]}=t_param("\x44e\x63i\x6da\x6cP\x6c\x61\x63\x65");${"G\x4c\x4f\x42\x41L\x53"}["\x6c\x73k\x71yt"]="\x64\x70";$ltkdodmrk="\x63\x6f\x6db\x69na\x74io\x6e_\x6coc\x73\x77\x70";${$vshrdhzogqg}=(${${"\x47\x4cOB\x41L\x53"}["\x62\x78\x62q\x76\x78v\x62"]}!="")?${$kndthfqkry}:2;${"\x47L\x4f\x42A\x4cS"}["\x73tk\x74\x75\x63rgm\x71\x68"]="p\x75rpr\x69c\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["\x73\x77\x72j\x6e\x65\x6c\x77cwh"]="\x70o\x69\x6et\x5ff";${${"\x47LOB\x41\x4c\x53"}["\x76\x72omhr\x79\x65ss\x64"]}="\x25.".${${"G\x4c\x4fBA\x4c\x53"}["ls\x6b\x71\x79t"]}."f";$glcstfre="\x73\x61\x6c\x65\x70\x72\x69\x63e";${$dvnfjgfw}=sprintf(${$xvfdmjgpf},${${"G\x4c\x4fB\x41\x4c\x53"}["\x73t\x6b\x74\x75\x63r\x67\x6d\x71\x68"]});${${"\x47LO\x42\x41LS"}["c\
x77\x66\x69\x72\x69"]}=sprintf(${${"\x47L\x4fB\x41L\x53"}["\x73wr\x6ane\x6c\x77\x63w\x68"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x74\x6f\x78v\x78\x73\x64\x7a\x66\x6e"]});${${"G\x4c\x4fBA\x4c\x53"}["\x69ad\x66\x66o\x71\x71"]}=sprintf(${${"\x47\x4c\x4f\x42A\x4c\x53"}["v\x72\x6f\x6d\x68r\x79e\x73s\x64"]},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x69a\x64\x66\x66\x6f\x71\x71"]});${${"\x47\x4c\x4fBALS"}["\x72\x73wem\x64"]}=sprintf(${${"\x47\x4cO\x42A\x4cS"}["vr\x6f\x6d\x68\x72\x79e\x73\x73d"]},${${"\x47L\x4fBAL\x53"}["\x6dj\x69bx\x73\x6b\x67\x6d"]});${${"\x47L\x4f\x42\x41\x4cS"}["\x6fjq\x69ef\x6d\x70"]}=sprintf(${${"\x47L\x4f\x42\x41LS"}["vro\x6d\x68r\x79es\x73\x64"]},${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6f\x6a\x71\x69\x65\x66m\x70"]});${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62hl\x7a\x79\x78x\x78\x71\x75"]="c\x6f\x6e";if(${${"GLO\x42\x41L\x53"}["\x73\x78\x75\x73\x75\x71\x64q\x74\x77"]}==""){${"G\x4cOB\x41\x4c\x53"}["\x6d\x62xzrr\x61o"]="s\x63\x61\x74id";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6db\x78\x7ar\x72a\x6f"]}=0;}$bhhlwgp="\x71r\x79";if(${${"\x47L\x4f\x42\x41\x4cS"}["\x6b\x72\x6e\x6du\x6eo\x68\x72\x73"]}==""){$emscyxbol="\x63s\x74y\x6c\x65";${$emscyxbol}=0;}if(${${"\x47\x4cO\x42A\x4c\x53"}["pg\x63f\x6a\x6avc\x6f"]}==""){${${"GL\x4fB\x41\x4c\x53"}["pgcf\x6aj\x76\x63\x6f"]}=0;}${"\x47L\x4f\x42\x41LS"}["\x6by\x67\x78a\x72\x67e\x65"]="\x70\x75r\x70ric\x65";if(${${"\x47\x4c\x4fBA\x4cS"}["rt\x6b\x67l\x73\x74\x63\x67"]}==""){${${"G\x4c\x4f\x42A\x4c\x53"}["\x72\x74kg\x6c\x73\x74\x63g"]}=0;}$fpsrrdo="b\x61\x72\x63\x6fd\x65\x5fr\x65\x74";if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["p\x72\x65p\x77lh\x61mfx"]}==""){$qfnjphomlu="\x65\x78p\x69r\x79";${$qfnjphomlu}=0;}if(${${"GL\x4fB\x41L\x53"}["jl\x69w\x67\x64"]}==""){${${"GLO\x42A\x4c\x53"}["\x6a\x6c\x69w\x67\x64"]}=0;}if(${$glcstfre}==""){${${"G\x4c\x4f\x42A\x4c\x53"}["\x63\x77\x66i\x72\x69"]}=0;}if(${${"G\x4cO\x42\x41\x4c\x53"}["\x6fjq\x69e\x66\x6dp"]}==""){$phtbts="\x6e\x6d\x72p";${$phtbts}=0;}${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67c\x64s\x68\x66r\x74\x67"]="\x63o\x6d\x62\x69\x6ea\x74\x69\x6fn\x5fw\x70pr\x69\x63\x65";if(${${"G\x4c\x4f\x42A\x4c\x53"}["\x6b\x79gxarg\x65e"]}==""){$bwdhcup="\x70u\x72\x70r\x69\x63\x65";${$bwdhcup}=0;}if(${${"\x47\x4cOB\x41\x4c\x53"}["\x79\x68\x6a\x6e\x6b\x6b\x64\x6f"]}==""){${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79h\x6a\x6ek\x6b\x64\x6f"]}="Ot\x68er";}${${"\x47\x4cO\x42ALS"}["cj\x69ue\x70\x6bx"]}=t_param("\x63\x6f\x6d\x62\x69n\x61\x74i\x6fn_\x73\x61\x6c\x65p\x72\x69\x63\x65");$hymlhlzhjv="co\x6d\x62i\x6e\x61t\x69\x6fn_l\x6fc\x77\x70";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6fa\x65\x78\x65\x72\x74\x6f\x61\x72"]}=t_param("\x63o\x6db\x69\x6ea\x74\x69\x6fn_\x6c\x6fc\x72\x61\x74e");${${"G\x4c\x4f\x42A\x4c\x53"}["or\x67\x62kj\x77\x63\x6cr\x74"]}=t_param("c\x6fmb\x69\x6ea\x74\x69on_lo\x63wp");${"GLOBAL\x53"}["mko\x6b\x79\x70\x6d"]="\x63o\x6d\x62\x69\x6e\x61\x74\x69\x6f\x6e_\x73\x77\x70\x70\x72\x69c\x65";${${"G\x4cO\x42\x41\x4c\x53"}["\x67\x63d\x73\x68\x66\x72t\x67"]}=t_param("\x63\x6fmb\x69n\x61ti\x6fn\x5fwp\x70\x72\x69\x63\x65");${$ltkdodmrk}=t_param("c\x6f\x6d\x62\x69na\x74i\x6f\x6e_l\x6f\x63sw\x70");${${"\x47LO\x42ALS"}["mk\x6f\x6b\x79\x70m"]}=t_param("\x63\x6fm\x62in\x61ti\x6f\x6e\x5f\x73w\x70p\x72i\x63e");${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x65\x7a\x62\x63\x77\x64\x79gu\x65"]}="\x73el\x65c\x74\x20\x20\x63\x6f\x6d\x69d,\x20\x62ar\x63o\x64\x65 \x66\x72\x6f\x6d bar\x5f\x63\x6f\x6dbina\x74ion\x20\x77\x68\x65r\x65 1=1\x20an\x64 \x64e\x6c\x73\x74a\x74us=\x30\x20 \x20\x61nd \x62s\x74at\x75s =\x27$bstatus\x27";if(t_param("c\x6f\x6dbin\x61\x74ion\x5fs\x75\x70pl\x69\x65r")=="\x59"){${"\x47L\x4f\x42AL\x53"}["\x69h\x65lby\x76o\x78xs"]="\x73\x75\x70\x70\x69\x64";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65zb\x63wd\x79g\x75\x65"]}=${${"\x47LOB\x41\x4c\x53"}["\x65z\x62c\x77\x64yg\x75\x65"]}."\x20\x61\x6e\x64\x20 s\x75\x70pid='".${${"G\x4c\x4f\x42\x41\x4cS"}["i\x68\x65\x6cby\x76o\x78\x78s"]}."\x27";}if(t_param("\x63om\x62\x69\x6ea\x74\x69o\x6e_\x73\x63at")=="\x59"){$wjlhuks="\x73\x63a\x74id";${${"G\x4c\x4fB\x41\x4cS"}["\x65\x7a\x62\x63\x77\x64\x79\x67\x75\x65"]}=${${"G\x4c\x4f\x42AL\x53"}["\x65zb\x63\x77\x64yg\x75\x65"]}."\x20an\x64\x20\x20\x20\x73\x63a\x74i\x64\x3d\x27".${$wjlhuks}."\x27";}if(t_param("\x63om\x62\x69\x6ea\x74i\x6f\x6e\x5f\x62\x72a\x6e\x64")=="Y"){${"\x47\x4c\x4fBA\x4c\x53"}["\x6d\x70\x62\x73\x76\x62\x75\x66"]="\x71\x72\x79";$ybdfbzybwfg="\x63\x62\x72\x61\x6e\x64";$wnxnhgqnjofv="q\x72y";${${"G\x4c\x4f\x42AL\x53"}["\x6dp\x62s\x76\x62u\x66"]}=${$wnxnhgqnjofv}."\x20and\x20\x20 \x63\x62\x72a\x6e\x64\x3d'".${$ybdfbzybwfg}."\x27";}${"\x47\x4c\x4f\x42\x41\x4c\x53"}["s\x79u\x68\x73\x72\x63i\x72"]="b\x61r\x63\x6fd\x65";if(t_param("co\x6db\x69\x6e\x61t\x69o\x6e\x5fco\x6c\x6fr")=="\x59"){$efxjrpnq="c\x6f\x6cr";${${"\x47\x4cOB\x41\x4c\x53"}["\x65\x7a\x62c\x77\x64\x79\x67\x75\x65"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x65zb\x63\x77\x64\x79\x67ue"]}." an\x64\x20 \x63ol\x72=\x27".${$efxjrpnq}."\x27";}${"\x47\x4cO\x42\x41\x4c\x53"}["\x63\x76nu\x71\x78c\x73a"]="p\x74y\x70\x65";if(t_param("comb\x69\x6eati\x6f\x6e_s\x69z\x65")=="\x59"){${"\x47LO\x42A\x4c\x53"}["\x70\x78\x70\x6c\x77\x63\x76"]="\x71\x72y";${${"\x47L\x4fBA\x4c\x53"}["px\x70\x6c\x77\x63\x76"]}=${${"\x47L\x4f\x42A\x4c\x53"}["\x65zbc\x77\x64\x79g\x75e"]}." \x61\x6ed\x20\x20 c\x73iz\x65=\x27".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72tkg\x6c\x73\x74\x63g"]}."\x27";}$kuwgzyt="j";if(t_param("com\x62in\x61\x74i\x6f\x6e\x5f\x63\x73t\x79l\x65")=="Y"){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["vyen\x67\x6c"]="\x71\x72\x79";${${"G\x4c\x4fBAL\x53"}["\x65\x7a\x62cw\x64y\x67\x75\x65"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76\x79\x65\x6e\x67\x6c"]}."\x20\x61\x6ed \x20\x20\x63\x73\x74\x79le\x3d\x27".${${"G\x4cOBA\x4c\x53"}["k\x72nm\x75\x6e\x6f\x68\x72\x73"]}."'";}if(t_param("\x63om\x62\x69na\x74\x69o\x6e\x5f\x65x\x70\x69r\x79")=="\x59"){${"\x47\x4cO\x42\x41\x4c\x53"}["\x74\x62\x75b\x6c\x62\x7a"]="\x65\x78\x70i\x72y";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65\x7ab\x63w\x64\x79g\x75e"]}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65\x7a\x62\x63\x77dy\x67\x75\x65"]}." \x61nd\x20\x20 \x65\x78p\x69r\x79\x3d'".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x62u\x62l\x62\x7a"]}."\x27";}if(t_param("\x63o\x6d\x62\x69\x6e\x61\x74\x69\x6fn\x5fp\x75\x72\x70r\x69c\x65")=="\x59"){${"G\x4cO\x42AL\x53"}["iy\x67\x6e\x6b\x65"]="\x71\x72\x79";${${"\x47L\x4f\x42\x41LS"}["\x69y\x67n\x6b\x65"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["ez\x62\x63\x77\x64\x79\x67u\x65"]}."\x20an\x64 \x20\x20pur\x70rice='".${${"\x47\x4c\x4fBALS"}["\x78\x71\x72\x77nc\x74\x79"]}."\x27";}$gifnhrj="c\x6f\x6d\x62\x69\x6e\x61\x74i\x6fn_l\x6fcr\x61\x74\x65";$ticmnds="l\x71";if(t_param("\x63ombinatio\x6e\x5fm\x69\x6es\x74\x6f\x63k")=="\x59"){$bcrwervyllt="\x71\x72\x79";$gdbsxzp="\x6di\x6e\x73\x74\x6f\x63\x6b";${${"G\x4c\x4f\x42A\x4cS"}["\x65\x7abc\x77\x64\x79g\x75\x65"]}=${$bcrwervyllt}." a\x6e\x64 \x6d\x69ns\x74o\x63ks='".${$gdbsxzp}."\x27";}if(t_param("c\x6f\x6db\x69\x6e\x61\x74\x69\x6f\x6e_maxs\x74o\x63k")=="\x59"){$rhsuratowb="q\x72\x79";${${"\x47L\x4f\x42\x41\x4cS"}["\x65\x7ab\x63w\x64\x79\x67u\x65"]}=${$rhsuratowb}."\x20a\x6e\x64\x20 \x6daxs\x74ocks='".${${"GLO\x42\x41\x4cS"}["\x6fu\x73u\x72\x66\x70"]}."'";}if(t_param("\x70\x75\x72_\x69\x74\x65\x6d\x5f\x74x\x74\x31")=="\x59"){$feikewn="\x71\x72\x79";${"G\x4c\x4fBAL\x53"}["\x6a\x63\x73l\x68yu\x75"]="\x71\x72\x79";${${"\x47L\x4f\x42\x41L\x53"}["jc\x73lh\x79\x75\x75"]}=${$feikewn}."\x20\x61\x6e\x64 \x20\x20\x70ur\x5f\x69t\x65m\x5f\x74x\x741=\x27".${${"G\x4c\x4f\x42AL\x53"}["i\x78\x6d\x69q\x76\x76\x70\x65me"]}."'";}$jsintyxg="\x72\x71";if(t_param("pu\x72_i\x74em\x5ftxt\x32")=="\x59"){$jxnnsoz="q\x72y";${"G\x4cO\x42A\x4cS"}["\x75e\x76\x68\x64\x7a\x67"]="\x71\x72\x79";${$jxnnsoz}=${${"\x47\x4cOB\x41\x4c\x53"}["u\x65\x76\x68dz\x67"]}." \x61\x6e\x64 \x20\x70\x75\x72\x5f\x69te\x6d_t\x78t\x32='".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x6c\x71w\x77s\x71\x69p"]}."'";}$tvextgfxrmy="\x73ql";if(t_param("pur\x5f\x69\x74\x65\x6d\x5ft\x78t\x33")=="Y"){$ctotmdvnh="p\x75\x72_item\x5f\x74\x78\x74\x5f\x76a\x6c\x33";${${"GLOBA\x4cS"}["\x65\x7ab\x63\x77\x64yg\x75e"]}=${${"\x47\x4c\x4f\x42AL\x53"}["\x65z\x62\x63\x77d\x79gue"]}."\x20\x61n\x64 pur\x5fitem_\x74x\x74\x33\x3d\x27".${$ctotmdvnh}."\x27";}if(t_param("\x70\x75\x72\x5f\x69t\x65m_tx\x744")=="\x59"){${${"G\x4cO\x42\x41\x4cS"}["ezb\x63w\x64\x79g\x75e"]}=${${"GLO\x42ALS"}["\x65\x7a\x62\x63w\x64y\x67\x75\x65"]}." and \x20\x20pu\x72\x5fi\x74\x65\x6d\x5ftxt4=\x27".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63xsj\x78m\x7amd\x78"]}."\x27";}${"\x47\x4cO\x42A\x4c\x53"}["\x65g\x6f\x7ak\x6bc"]="\x62\x61r\x63\x6f\x64\x65\x5f\x72e\x74";if(t_param("\x70\x75r\x5fite\x6d_\x74xt\x35")=="\x59"){$mnqqkmvvcr="\x70\x75r\x5f\x69\x74\x65\x6d\x5f\x74\x78\x74_\x76al5";${"GL\x4f\x42\x41L\x53"}["\x62\x71\x68c\x68o\x67g"]="qr\x79";${"\x47L\x4fBA\x4c\x53"}["x\x62\x68\x77\x63\x66\x6a\x7ar\x73d"]="\x71r\x79";${${"\x47\x4c\x4f\x42A\x4cS"}["\x78bh\x77c\x66jz\x72\x73\x64"]}=${${"\x47L\x4f\x42A\x4cS"}["b\x71\x68c\x68\x6fgg"]}."\x20an\x64 \x20\x20\x70ur\x5f\x69t\x65m_t\x78t\x35=\x27".${$mnqqkmvvcr}."\x27";}if(t_param("\x70\x75\x72_item\x5f\x74xt\x36")=="Y"){$xtdjvanp="p\x75\x72\x5fi\x74em\x5f\x74x\x74\x5fv\x61\x6c\x36";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65zb\x63wd\x79\x67\x75\x65"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ez\x62c\x77dy\x67\x75e"]}."\x20\x61\x6ed\x20\x20 \x70u\x72\x5fite\x6d_\x74\x78t\x36=\x27".${$xtdjvanp}."\x27";}if((t_param("c\x6f\x6d\x62i\x6e\x61t\x69o\x6e_b\x6fxq\x74\x79")=="\x59")&&(${${"GL\x4f\x42\x41\x4c\x53"}["\x63v\x6e\x75\x71\x78\x63\x73a"]}=="\x54han")){$qiywfmzif="\x71\x74\x79";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65\x7a\x62\x63\x77\x64\x79g\x75\x65"]}=${${"\x47\x4c\x4fB\x41L\x53"}["e\x7a\x62cw\x64\x79g\x75\x65"]}."\x20an\x64 \x20\x71t\x79\x3d'".${$qiywfmzif}."'";}if(t_param("\x63\x6f\x6d\x62\x69\x6e\x61ti\x6f\x6e\x5f\x6dr\x70pr\x69\x63e")=="Y"){$skiubjko="q\x72\x79";${$skiubjko}=${${"\x47L\x4fB\x41LS"}["\x65z\x62cwd\x79\x67u\x65"]}." a\x6ed \x20\x20(n\x6d\x72\x70\x3d\x27".${${"G\x4c\x4fBA\x4c\x53"}["\x6f\x6aqie\x66\x6d\x70"]}."'
||\x20\x6e\x6d\x72p='\x30' ||\x20\x6e\x6d\x72\x70\x3d'' || n\x6drp=\x270\x2e\x300'\x20||\x20n\x6d\x72p\x3d\x27\x30' ||\x20\x6e\x6drp\x3d'\x27\x20||\x20n\x6dr\x70=\x270\x2e0'\x20)";}if(${$gifnhrj}=="N"){if(t_param("c\x6f\x6d\x62i\x6e\x61\x74\x69\x6fn\x5fs\x61\x6ce\x70ri\x63e")=="\x59"){${"G\x4cO\x42\x41\x4c\x53"}["nln\x72\x63\x64\x6e\x68"]="\x71r\x79";$eihhxejziu="\x71r\x79";${$eihhxejziu}=${${"GL\x4f\x42\x41\x4cS"}["n\x6c\x6erc\x64nh"]}."\x20\x61n\x64 (\x20\x73\x61lep\x72\x69ce\x3d'".${${"\x47\x4c\x4fB\x41\x4c\x53"}["cw\x66\x69r\x69"]}."'\x20|| s\x61lepr\x69\x63\x65\x3d\x27\x30' || \x73\x61\x6c\x65price\x3d\x27' ||\x20\x73\x61\x6ce\x70\x72\x69ce\x3d\x270.00'\x20|| s\x61le\x70\x72ice\x3d'\x30\x27 ||\x20s\x61l\x65pri\x63\x65\x3d\x27'\x20||\x20\x73\x61l\x65\x70ri\x63\x65='\x30\x2e\x30' )";}}if(${$hymlhlzhjv}=="\x4e"){if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["t\x62\x70\x64\x6ay\x62"]}=="Y"){${"G\x4cO\x42\x41\x4c\x53"}["y\x68\x71\x76p\x63\x76"]="\x71\x72\x79";${${"\x47\x4c\x4f\x42AL\x53"}["y\x68\x71\x76p\x63\x76"]}=${${"GL\x4f\x42\x41L\x53"}["\x65\x7ab\x63\x77dy\x67\x75\x65"]}." and\x20\x20\x20\x77p\x3d'".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69a\x64ff\x6f\x71\x71"]}."\x27";}}if(${${"\x47\x4c\x4fBAL\x53"}["\x77l\x70m\x68b\x72\x6d\x6cih\x78"]}=="\x4e"){if(t_param("\x63o\x6d\x62i\x6e\x61\x74\x69\x6f\x6e_\x73wp\x70\x72\x69c\x65")=="Y"){$qsbtygvsk="\x71r\x79";$eroemqmx="\x71\x72y";${$qsbtygvsk}=${$eroemqmx}."\x20a\x6ed \x73\x77p\x3d'".${${"\x47LOB\x41\x4c\x53"}["\x6d\x6ai\x62\x78\x73kg\x6d"]}."'";}}${$ticmnds}="\x73e\x6cec\x74 *\x20\x66ro\x6d\x20\x74_l\x6fc\x61ti\x6fn_\x6d\x61ster\x20\x77\x68ere \x69\x64\x20\x69\x6e\x20($store_location)\x20";${${"GL\x4f\x42\x41\x4c\x53"}["t\x65\x6ck\x75u\x76\x77"]}=mysqli_query(${${"\x47LOB\x41\x4c\x53"}["\x68\x6fsp\x66s"]},${${"G\x4cO\x42\x41\x4c\x53"}["\x65i\x73\x61\x6d\x6bdl\x65"]})or die(mysqli_error(${${"\x47LO\x42A\x4c\x53"}["\x68\x6f\x73\x70\x66\x73"]}));${${"\x47\x4c\x4fBAL\x53"}["yc\x79t\x73ngn"]}="";${${"\x47\x4c\x4fB\x41L\x53"}["\x67y\x6c\x6f\x63xdqyb\x67\x6f"]}="";${$kuwgzyt}=0;${${"GL\x4fBA\x4c\x53"}["\x65f\x77x\x68\x7avl\x72"]}=count(${${"G\x4cOB\x41\x4c\x53"}["\x76e\x6a\x77l\x67\x64"]});${"\x47\x4cO\x42\x41\x4c\x53"}["\x66ow\x6d\x73h"]="q\x72\x79";while(${$jsintyxg}=mysqli_fetch_array(${${"\x47\x4c\x4f\x42A\x4cS"}["t\x65\x6c\x6b\x75u\x76\x77"]})){${"G\x4c\x4fBA\x4c\x53"}["\x66g\x77\x6a\x71w\x65etb\x6c"]="\x6a";$goicchryf="\x72\x61te\x5far\x79";$rhxkuuimdpr="\x6a";$ljlzfxrdvapy="\x6ci\x64";${"\x47LO\x42\x41\x4c\x53"}["thn\x71\x66h\x6e"]="\x63\x6f\x6d\x62in\x61\x74\x69on_\x77\x70\x70r\x69c\x65";$vjykxakjx="c\x6fm\x62i\x6e\x61\x74\x69\x6fn\x5fs\x61\x6c\x65p\x72\x69\x63\x65";$ycyxrgjd="r\x71";$wweuqrfyj="\x6c\x69\x64";${"\x47\x4cO\x42\x41\x4c\x53"}["\x75\x69\x6e\x6c\x67\x71\x6cd"]="\x77p_\x61ry";${"\x47\x4c\x4f\x42A\x4cS"}["\x69\x71\x77\x77kt\x78\x63e"]="\x63\x6fmb\x69\x6e\x61\x74\x69\x6fn\x5f\x6c\x6f\x63rate";$rsahdipbwst="c\x6f\x6d\x62\x69na\x74i\x6fn\x5f\x6co\x63wp";${$wweuqrfyj}=${$ycyxrgjd}["i\x64"];$wwluvjvwli="sw\x70\x5f\x61\x72\x79";if(${$ljlzfxrdvapy}=="1"){${${"\x47\x4cO\x42\x41\x4cS"}["\x6c\x75\x7a\x6d\x6au\x76\x73\x66\x76"]}="";}${"G\x4cO\x42A\x4c\x53"}["\x6f\x65\x66\x6f\x67\x64\x65py\x72\x70"]="\x6a";if((${$goicchryf}[${$rhxkuuimdpr}]!="")&&(${${"\x47L\x4fBA\x4c\x53"}["\x69\x71wwk\x74\x78c\x65"]}=="Y")&&(${$vjykxakjx}=="\x59")){$cssniciipubi="j";$wndnlsqlu="\x6c\x69\x64";${"GL\x4fB\x41L\x53"}["\x79\x79\x64d\x70\x6f"]="\x71\x72\x79";$nodxhlkbcdpm="\x71\x72y";${${"\x47L\x4f\x42AL\x53"}["y\x79d\x64\x70o"]}=${$nodxhlkbcdpm}."\x20\x61\x6e\x64\x20 ( s\x61le\x70ri\x63\x65".${${"\x47\x4c\x4f\x42\x41\x4cS"}["l\x75\x7a\x6dj\x75vs\x66v"]}."='".${${"G\x4cO\x42\x41\x4cS"}["\x76\x65\x6aw\x6cgd"]}[${$cssniciipubi}]."\x27 || \x20sal\x65\x70r\x69\x63\x65".${$wndnlsqlu}."='' \x20||\x20 \x20salep\x72\x69\x63e".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x75z\x6d\x6auv\x73f\x76"]}."=\x27\x30')";}if((${${"\x47L\x4f\x42\x41\x4c\x53"}["u\x69\x6e\x6c\x67\x71\x6cd"]}[${${"G\x4c\x4fBA\x4c\x53"}["\x6fe\x66o\x67d\x65p\x79r\x70"]}]!="")&&(${$rsahdipbwst}=="Y")&&(${${"\x47L\x4fB\x41\x4cS"}["\x74\x68\x6e\x71fh\x6e"]}=="\x59")){${"G\x4c\x4f\x42\x41\x4cS"}["to\x67\x79\x6a\x66\x77g\x74\x79"]="l\x69\x64";$gemtjskk="l\x69d";$bttqruenl="j";${"\x47L\x4fB\x41\x4c\x53"}["\x75\x6ffj\x72\x73\x73xz\x75j"]="\x71\x72\x79";${${"\x47L\x4f\x42A\x4cS"}["e\x7a\x62c\x77\x64\x79\x67\x75e"]}=${${"\x47\x4c\x4fBA\x4c\x53"}["uo\x66j\x72\x73sx\x7a\x75\x6a"]}." \x61\x6e\x64 (\x20\x77p".${${"\x47\x4cO\x42A\x4cS"}["\x6cu\x7a\x6d\x6a\x75v\x73\x66v"]}."\x3d'".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x63b\x7at\x7a\x6b\x6a"]}[${$bttqruenl}]."' || \x20\x77\x70".${$gemtjskk}."='' || \x20\x77p".${${"G\x4cOB\x41LS"}["\x74\x6f\x67yjf\x77\x67\x74y"]}."\x3d\x270\x27)";}${"G\x4cO\x42ALS"}["n\x6f\x62\x77\x67\x69\x64t\x75"]="c\x6f\x6db\x69\x6e\x61\x74io\x6e\x5f\x6co\x63\x73\x77\x70";if((${$wwluvjvwli}[${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63\x76i\x68qr"]}]!="")&&(${${"\x47L\x4f\x42\x41L\x53"}["\x6e\x6f\x62\x77\x67\x69d\x74u"]}=="\x59")&&(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x70\x69\x72by\x73\x69"]}=="\x59")){${"GLO\x42\x41\x4c\x53"}["\x6b\x64\x6a\x73\x62e\x79"]="li\x64";${"\x47\x4cOB\x41\x4c\x53"}["\x6f\x6c\x65k\x79\x61\x62\x66\x66"]="\x6c\x69d";${"G\x4cO\x42A\x4c\x53"}["woo\x63ks\x68l\x6d\x70"]="q\x72\x79";$mpowrh="qr\x79";${${"GL\x4fB\x41\x4cS"}["\x77\x6f\x6f\x63k\x73\x68lm\x70"]}=${$mpowrh}." a\x6ed \x20( \x73wp".${${"\x47L\x4f\x42A\x4c\x53"}["\x6b\x64js\x62e\x79"]}."\x3d\x27".${${"\x47\x4cO\x42\x41\x4cS"}["\x62vv\x62\x79\x73\x65\x6e\x74\x75"]}[${${"\x47\x4c\x4f\x42\x41LS"}["\x63\x76\x69\x68\x71\x72"]}]."\x27 ||\x20\x20 \x73w\x70".${${"G\x4c\x4f\x42\x41LS"}["\x6cu\x7a\x6dj\x75\x76sf\x76"]}."\x3d\x27'\x20||\x20 \x20s\x77\x70".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x6ceky\x61bf\x66"]}."=\x270\x27)";}${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66g\x77\x6a\x71w\x65\x65\x74b\x6c"]}++;}if(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x73\x79u\x68\x73r\x63i\x72"]}!="0"&&${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65\x6d\x78\x6f\x6f\x75\x75\x62"]}!=""&&${${"\x47\x4c\x4fB\x41L\x53"}["\x65c\x76nrd\x6f\x75\x6cs"]}=="\x4e\x6f"){${"\x47\x4cO\x42\x41\x4cS"}["w\x74py\x64\x73\x6d"]="\x71ry";${"\x47L\x4fB\x41\x4cS"}["\x6c\x76h\x6f\x6f\x73\x62\x61d"]="b\x61r\x63\x6f\x64\x65";${${"\x47\x4cOB\x41LS"}["wt\x70y\x64\x73\x6d"]}=${${"\x47\x4c\x4f\x42AL\x53"}["\x65\x7a\x62\x63w\x64\x79\x67\x75\x65"]}." an\x64\x20\x20 b\x61\x72\x63\x6f\x64\x65\x3d'".${${"G\x4cO\x42ALS"}["\x6cvho\x6f\x73\x62a\x64"]}."\x27";}${${"\x47L\x4f\x42\x41\x4c\x53"}["\x65\x7a\x62\x63\x77\x64y\x67\x75\x65"]}=${${"\x47L\x4fBAL\x53"}["\x66o\x77\x6d\x73\x68"]}." \x61\x6ed\x20\x70\x74\x79\x70e=\x27$ptype\x27";${${"G\x4c\x4fBA\x4c\x53"}["\x65g\x6f\x7a\x6b\x6bc"]}="";${${"\x47\x4cOB\x41\x4cS"}["\x74roc\x67\x78p\x71x\x71"]}=mysqli_query(${${"G\x4c\x4fB\x41\x4c\x53"}["\x62\x68l\x7a\x79\x78\x78\x78\x71\x75"]},${$bhhlwgp})or die(mysqli_error(${${"G\x4c\x4fBA\x4cS"}["h\x6f\x73\x70fs"]}));${${"\x47\x4cO\x42\x41\x4c\x53"}["\x72\x75\x67\x6e\x70\x69\x74\x68"]}=mysqli_num_rows(${$tvextgfxrmy});if(${${"\x47\x4cO\x42\x41L\x53"}["\x72\x75\x67npi\x74\x68"]}==0){$kulgwcftlb="b\x61\x72\x63\x6f\x64\x65";$thphlmmsit="\x62\x73\x74\x61t\x75\x73";if(${$thphlmmsit}=="Y"){${"\x47\x4c\x4fB\x41L\x53"}["\x69\x6fy\x6ay\x61\x76\x6d\x69m"]="\x62\x61r\x63od\x65_\x72et";${${"\x47L\x4f\x42\x41\x4c\x53"}["io\x79\x6a\x79\x61\x76\x6d\x69\x6d"]}="\x30";}if(${$kulgwcftlb}=="0"&&${${"\x47\x4cO\x42\x41LS"}["e\x6d\x78\x6fou\x75\x62"]}==""){${${"\x47L\x4f\x42\x41\x4c\x53"}["\x71qhismf\x6at\x66p"]}="0";}}else{${${"\x47L\x4f\x42\x41\x4c\x53"}["\x78\x73t\x6b\x71\x63\x62\x71h\x6c\x71\x69"]}=mysqli_fetch_assoc(${${"\x47L\x4fB\x41\x4c\x53"}["\x74\x72oc\x67\x78pqx\x71"]});${${"\x47\x4cO\x42\x41\x4cS"}["q\x71hi\x73\x6d\x66\x6at\x66\x70"]}=${${"\x47\x4cOB\x41\x4c\x53"}["\x78s\x74kq\x63b\x71h\x6cq\x69"]}["\x62ar\x63\x6fd\x65"];}return${$fpsrrdo};}${$qrrtbnv}=t_param("pu\x72_\x75ni\x71\x75e\x5f\x62\x61r\x63o\x64\x65");function check_combination_status($rate_ary,$wp_ary,$swp_ary,$tax_id,$scatid,$cstyle,$colr,$csize,$cbrand,$saleprice,$wp,$swp,$nmrp,$purprice,$barcode,$bstatus,$pur_item_txt_val1,$pur_item_txt_val2,$pur_item_txt_val3,$pur_item_txt_val4,$pur_item_txt_val5,$pur_item_txt_val6,$ptype,$qty,$expiry,$minstock='0',$maxstock='0',$suppid,$pur_unique_barcode='Yes'){${"\x47L\x4f\x42\x41L\x53"}["\x69\x6b\x6etqr"]="w\x70";$yjcifnqwd="s\x74\x6f\x72\x65_\x6co\x63at\x69\x6f\x6e";global$con;${"\x47\x4c\x4fB\x41\x4c\x53"}["m\x6f\x7ab\x61\x63\x71\x71\x78y\x6f\x6d"]="\x70\x75r\x70\x72\x69c\x65";$vymibqzu="\x75pd\x61\x74\x65_q\x72\x79";${"\x47L\x4f\x42\x41\x4cS"}["\x70\x6f\x63ewd\x6e\x62"]="s\x61l\x65p\x72\x69ce";$ngmpsmlvll="\x64\x70";$wznpurz="c\x6fl\x72";$fqmgqiln="\x63\x6fm\x62inati\x6f\x6e_w\x70\x70\x72\x69\x63\x65";${"\x47\x4cO\x42\x41\x4cS"}["\x7at\x69\x70u\x6fe\x76\x76"]="po\x69\x6e\x74_\x66";global$t_param1;${"\x47L\x4f\x42\x41\x4c\x53"}["\x71t\x74iap\x72"]="\x70\x6f\x69n\x74\x5ff";$xogpbpfyu="ex\x70ir\x79";$nunkbeudwgy="\x70\x75\x72p\x72i\x63\x65";${"GL\x4fBAL\x53"}["\x67d\x6dkj\x6bxx\x67\x65"]="d\x70";$smydbch="\x70\x75\x72\x70r\x69\x63e";${"\x47\x4cOB\x41\x4c\x53"}["bje\x6d\x70\x6e"]="\x77\x70";$amhnlkvufo="p\x6f\x69\x6et\x5f\x66";${$vymibqzu}="";${"\x47LO\x42AL\x53"}["\x61uxlfw\x74\x72"]="\x64\x70";${"\x47LO\x42\x41L\x53"}["si\x70rg\x70g"]="c\x6fm\x62\x69\x6e\x61\x74\x69\x6fn\x5f\x73\x61\x6c\x65\x70\x72\x69\x63\x65";$weeotszy="\x70\x6f\x69\x6e\x74\x5ff";$hoafsjyl="\x6e\x6d\x72\x70";${${"\x47\x4cO\x42AL\x53"}["\x62\x78bqv\x78\x76\x62"]}=t_param("Deci\x6da\x6cP\x6c\x61ce");${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62\x78\x62q\x76\x78v\x62"]}=(${${"\x47\x4c\x4fB\x41\x4cS"}["a\x75\x78\x6c\x66\x77\x74\x72"]}!="")?${${"\x47L\x4f\x42A\x4c\x53"}["g\x64\x6d\x6bj\x6b\x78\x78\x67\x65"]}:2;${${"G\x4c\x4fB\x41\x4c\x53"}["\x71t\x74\x69\x61\x70\x72"]}="\x25\x2e".${$ngmpsmlvll}."\x66";${"\x47L\x4fB\x41\x4cS"}["b\x79v\x67f\x64\x75\x61t"]="\x73\x63\x61tid";${"\x47LOB\x41\x4c\x53"}["\x66j\x61b\x6d\x68\x64\x79dk\x73"]="\x73\x77\x70";$zcliouiwll="s\x61\x6c\x65p\x72\x69\x63e";$mxprbbmorg
="sw\x70";$irjqqfk="\x6e\x6d\x72\x70";$lppejyppbww="\x73\x61\x6c\x65pr\x69c\x65";${$smydbch}=sprintf(${${"\x47\x4c\x4fB\x41\x4c\x53"}["v\x72o\x6dh\x72\x79\x65ssd"]},${${"\x47\x4c\x4f\x42\x41L\x53"}["\x78\x71\x72\x77\x6e\x63\x74y"]});${${"\x47\x4cOB\x41\x4cS"}["\x63\x77\x66i\x72\x69"]}=sprintf(${$weeotszy},${${"\x47\x4c\x4fBA\x4cS"}["\x63w\x66ir\x69"]});$iqiugg="c\x73t\x79\x6c\x65";${${"\x47LO\x42AL\x53"}["\x69\x6b\x6et\x71r"]}=sprintf(${${"GL\x4f\x42\x41L\x53"}["v\x72\x6fmh\x72\x79e\x73\x73\x64"]},${${"G\x4cO\x42\x41LS"}["bjemp\x6e"]});${${"G\x4cOB\x41L\x53"}["\x66j\x61\x62\x6d\x68\x64yd\x6b\x73"]}=sprintf(${$amhnlkvufo},${$mxprbbmorg});${${"\x47\x4c\x4f\x42\x41\x4cS"}["o\x6a\x71\x69e\x66\x6d\x70"]}=sprintf(${${"\x47\x4c\x4fB\x41L\x53"}["\x7a\x74i\x70u\x6f\x65\x76\x76"]},${${"\x47\x4c\x4f\x42\x41LS"}["\x6f\x6a\x71ie\x66\x6dp"]});@${$yjcifnqwd}=$_SESSION["loc\x69\x64"];${${"\x47L\x4fB\x41\x4c\x53"}["\x73\x69\x70r\x67\x70\x67"]}=t_param("c\x6f\x6db\x69\x6ea\x74\x69\x6fn_\x73al\x65\x70\x72ice");${${"\x47\x4c\x4fBA\x4cS"}["\x6fa\x65\x78\x65r\x74\x6fa\x72"]}=t_param("c\x6f\x6d\x62\x69\x6ea\x74io\x6e_lo\x63r\x61\x74e");${${"\x47\x4cO\x42A\x4cS"}["t\x71\x71\x78\x75\x74\x75r\x73\x77n"]}=t_param("\x63\x6f\x6d\x62inat\x69o\x6e\x5fl\x6f\x63\x77p");${$fqmgqiln}=t_param("\x63om\x62in\x61t\x69o\x6e_wpp\x72i\x63\x65");${${"\x47LOB\x41\x4cS"}["wl\x70\x6d\x68\x62\x72\x6d\x6c\x69h\x78"]}=t_param("c\x6fm\x62ina\x74\x69on_lo\x63\x73w\x70");${${"GL\x4f\x42\x41\x4c\x53"}["\x6c\x70\x69\x72b\x79\x73\x69"]}=t_param("c\x6f\x6db\x69n\x61\x74io\x6e\x5fs\x77pp\x72i\x63\x65");${$nunkbeudwgy}=${${"GL\x4f\x42ALS"}["\x6do\x7a\x62\x61\x63q\x71x\x79\x6fm"]};${${"G\x4c\x4fBA\x4c\x53"}["\x6f\x6a\x71\x69ef\x6d\x70"]}=${$hoafsjyl};${${"G\x4c\x4f\x42\x41LS"}["\x70\x6fc\x65\x77\x64nb"]}=${$lppejyppbww};if(${${"\x47LO\x42\x41\x4c\x53"}["b\x79v\x67\x66d\x75\x61\x74"]}==""){${${"\x47\x4c\x4fBA\x4cS"}["y\x6c\x74m\x63\x77k\x63"]}=0;}if(${$iqiugg}==""){${${"G\x4cOB\x41\x4cS"}["\x6brn\x6d\x75n\x6f\x68r\x73"]}=0;}if(${$wznpurz}==""){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73n\x6av\x66c\x74\x62"]="\x63\x6f\x6c\x72";${${"\x47L\x4f\x42\x41LS"}["\x73nj\x76f\x63\x74\x62"]}=0;}if(${${"\x47L\x4f\x42A\x4c\x53"}["\x72tkg\x6cs\x74\x63g"]}==""){$vguqipvfsh="\x63\x73i\x7a\x65";${$vguqipvfsh}=0;}if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6ali\x77\x67d"]}==""){${"\x47\x4cO\x42\x41\x4c\x53"}["q\x79\x72r\x71\x6d\x61\x62w\x6f\x6d"]="\x63b\x72\x61\x6ed";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x79\x72\x72\x71\x6d\x61\x62\x77\x6fm"]}=0;}if(${$xogpbpfyu}==""){${${"\x47L\x4fB\x41L\x53"}["\x70\x72\x65\x70\x77lh\x61m\x66\x78"]}=0;}if(${$zcliouiwll}==""){${${"GLO\x42\x41L\x53"}["\x63\x77\x66\x69\x72\x69"]}=0;}if(${$irjqqfk}==""){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["jb\x75jp\x75\x68\x65\x6b\x72\x66"]="\x6e\x6d\x72p";${${"GLOBA\x4c\x53"}["\x6abu\x6a\x70\x75\x68\x65\x6b\x72\x66"]}=0;}if(${${"\x47L\x4fBALS"}["\x78q\x72wn\x63\x74\x79"]}==""){${${"\x47L\x4f\x42A\x4c\x53"}["\x78\x71r\x77\x6ect\x79"]}=0;}if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79h\x6a\x6ek\x6b\x64o"]}==""){${${"\x47LOB\x41\x4c\x53"}["y\x68\x6an\x6b\x6bd\x6f"]}="O\x74\x68\x65\x72";}if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79ltmc\x77kc"]}!=0){$pvlqkkffjsi="\x62st\x61\x74us";${${"G\x4cO\x42A\x4cS"}["e\x7ab\x63\x77\x64\x79\x67\x75\x65"]}="se\x6ce\x63\x74\x20 \x63omid\x20f\x72o\x6d\x20bar\x5f\x63\x6fm\x62in\x61\x74\x69o\x6e\x20w\x68e\x72\x65 1=\x31 and de\x6c\x73t\x61tus\x3d\x30 \x61\x6ed\x20\x62\x73t\x61tu\x73 \x3d'$bstatus'";$yuhomilru="\x70\x75r_u\x6e\x69\x71\x75\x65\x5fb\x61\x72c\x6fde";$mqsbdeemwimc="\x62\x61\x72co\x64\x65";${"GL\x4fB\x41L\x53"}["gx\x75jl\x6c\x67\x6b"]="\x71r\x79_\x6coc";$lipemqjblg="\x72\x61te\x5f\x61\x72\x79";${${"\x47\x4c\x4f\x42AL\x53"}["\x65\x6dx\x6f\x6f\x75u\x62"]}=trim(${$mqsbdeemwimc});if((${$pvlqkkffjsi}=="N")||(${${"\x47L\x4f\x42\x41LS"}["\x65c\x76\x6e\x72\x64o\x75l\x73"]}=="No")){${"\x47\x4c\x4f\x42\x41L\x53"}["x\x6f\x65\x71\x7a\x75o\x66\x78q"]="\x62\x61\x72\x63\x6f\x64\x65";$kmsogldm="b\x61\x72\x63\x6f\x64e";if(${$kmsogldm}!="\x30"&&${${"\x47\x4cO\x42\x41\x4cS"}["\x78\x6f\x65q\x7a\x75\x6ff\x78q"]}!=""){$unemyu="\x71\x72\x79";${$unemyu}=${${"\x47\x4c\x4fB\x41\x4cS"}["\x65\x7abc\x77d\x79\x67\x75\x65"]}." \x61nd\x20\x62ar\x63od\x65\x3d\x27$barcode\x27";}}if(t_param("\x63om\x62\x69\x6e\x61ti\x6f\x6e\x5f\x73\x75p\x70\x6ci\x65r")=="Y"){${"G\x4c\x4fB\x41L\x53"}["\x78\x65o\x6dk\x62\x79\x67"]="su\x70\x70\x69d";${"\x47\x4c\x4f\x42\x41\x4cS"}["i\x70\x78\x76\x6d\x64\x63f\x63\x79"]="\x71\x72y";${${"\x47LOBAL\x53"}["\x69\x70\x78\x76\x6d\x64\x63f\x63y"]}=${${"\x47L\x4f\x42\x41LS"}["\x65z\x62\x63w\x64\x79\x67u\x65"]}."\x20\x61\x6ed\x20\x20\x20\x73\x75ppid\x3d\x27".${${"\x47L\x4f\x42\x41\x4c\x53"}["\x78e\x6fm\x6bbyg"]}."'";}if(t_param("co\x6d\x62\x69n\x61t\x69\x6fn\x5f\x73\x63\x61\x74")=="Y"){${${"\x47\x4cO\x42A\x4c\x53"}["\x65\x7a\x62cwdy\x67\x75\x65"]}=${${"GL\x4f\x42ALS"}["\x65\x7a\x62\x63\x77\x64\x79\x67u\x65"]}." a\x6e\x64\x20\x20 sc\x61\x74id=\x27".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79l\x74\x6d\x63\x77kc"]}."'";}if(t_param("\x63o\x6dbi\x6eation_b\x72and")=="\x59"){${"\x47\x4c\x4fB\x41LS"}["e\x72nf\x69\x67h\x68\x6b"]="\x71\x72y";${"\x47L\x4f\x42\x41\x4c\x53"}["r\x6d\x65v\x70d\x75\x6e\x76"]="\x63\x62\x72an\x64";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65\x7abc\x77\x64\x79\x67\x75\x65"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x72n\x66i\x67\x68\x68k"]}." \x61nd \x20cbran\x64\x3d\x27".${${"\x47\x4cO\x42A\x4c\x53"}["r\x6d\x65v\x70\x64\x75\x6e\x76"]}."'";}if(t_param("\x63\x6fm\x62in\x61ti\x6fn\x5f\x63\x6f\x6cor")=="Y"){${"\x47\x4c\x4f\x42A\x4c\x53"}["pnh\x77\x77\x74\x73"]="\x71r\x79";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65\x7ab\x63\x77d\x79\x67\x75\x65"]}=${${"\x47\x4c\x4fBA\x4cS"}["\x70n\x68ww\x74\x73"]}." \x61n\x64\x20\x20\x20co\x6cr='".${${"\x47\x4cOB\x41L\x53"}["p\x67c\x66\x6a\x6a\x76\x63o"]}."\x27";}if(t_param("\x63o\x6d\x62in\x61t\x69o\x6e_si\x7a\x65")=="\x59"){${${"\x47L\x4f\x42\x41L\x53"}["e\x7abc\x77\x64\x79\x67\x75\x65"]}=${${"\x47LO\x42\x41\x4cS"}["e\x7a\x62\x63\x77\x64\x79g\x75\x65"]}."\x20a\x6ed \x20 \x63s\x69\x7ae=\x27".${${"GL\x4fB\x41\x4c\x53"}["\x72\x74\x6bg\x6cs\x74\x63\x67"]}."'";}if(t_param("\x63\x6f\x6db\x69\x6e\x61\x74io\x6e\x5fc\x73t\x79\x6ce")=="\x59"){$qxqagfqtgde="\x71\x72\x79";${$qxqagfqtgde}=${${"G\x4c\x4f\x42A\x4c\x53"}["ezb\x63\x77\x64\x79\x67\x75e"]}." an\x64 \x20\x20\x63\x73\x74\x79\x6c\x65\x3d\x27".${${"GLO\x42\x41\x4cS"}["krn\x6du\x6e\x6fhr\x73"]}."\x27";}if(t_param("\x63\x6f\x6dbi\x6ea\x74\x69\x6fn_e\x78pi\x72\x79")=="\x59"){$eiggunyno="e\x78pi\x72y";$nrzuqycgrqgd="qr\x79";${${"\x47\x4cO\x42A\x4cS"}["\x65z\x62\x63\x77d\x79\x67\x75\x65"]}=${$nrzuqycgrqgd}." a\x6ed\x20\x20 ex\x70\x69r\x79=\x27".${$eiggunyno}."'";}if(t_param("\x63om\x62i\x6e\x61t\x69\x6fn_\x70u\x72\x70rice")=="\x59"){${${"G\x4cOB\x41\x4c\x53"}["\x65\x7a\x62c\x77dy\x67\x75e"]}=${${"GL\x4fBA\x4cS"}["\x65zb\x63\x77\x64\x79\x67\x75e"]}."\x20\x61\x6ed \x20\x70\x75r\x70\x72ice\x3d'".${${"\x47\x4c\x4f\x42A\x4cS"}["\x78\x71\x72w\x6e\x63\x74\x79"]}."\x27";}else{${"G\x4c\x4fB\x41\x4c\x53"}["\x75\x6d\x6b\x68\x6d\x6e\x65\x75\x67"]="upd\x61\x74\x65_q\x72\x79";${${"GLO\x42A\x4c\x53"}["\x75\x6dk\x68\x6d\x6e\x65\x75\x67"]}=${${"G\x4c\x4fB\x41\x4cS"}["\x7a\x65\x6b\x6b\x76\x6e\x69\x71"]}."\x70\x75r\x70r\x69ce=\x27".${${"G\x4c\x4f\x42\x41\x4cS"}["x\x71\x72w\x6e\x63t\x79"]}."',";}${"G\x4c\x4fBA\x4cS"}["\x71ngc\x74o\x72\x71\x6b\x73y"]="c\x6f\x6e";if(t_param("\x70\x75r\x5fit\x65m\x5f\x74\x78t\x31")=="Y"){${"G\x4c\x4f\x42AL\x53"}["\x68\x63\x73\x62\x63\x6b\x70"]="pu\x72_i\x74\x65\x6d\x5f\x74\x78\x74_v\x61\x6c1";${${"G\x4c\x4f\x42\x41\x4c\x53"}["ezb\x63\x77dy\x67u\x65"]}=${${"G\x4c\x4f\x42\x41L\x53"}["\x65\x7a\x62cw\x64y\x67ue"]}."\x20and \x20\x20\x70ur\x5fi\x74\x65m\x5ft\x78t\x31='".${${"\x47LOB\x41\x4c\x53"}["\x68\x63\x73\x62c\x6b\x70"]}."\x27";}if(t_param("p\x75r_\x69\x74\x65\x6d_t\x78t\x32")=="\x59"){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x70j\x74\x68\x62on\x6fxs"]="q\x72\x79";${${"GLOB\x41\x4cS"}["\x65\x7ab\x63\x77\x64\x79\x67\x75\x65"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["pjth\x62\x6f\x6e\x6f\x78s"]}." \x61\x6e\x64 \x20 p\x75r\x5f\x69\x74\x65\x6d\x5ft\x78t\x32='".${${"\x47L\x4f\x42A\x4c\x53"}["\x75\x6c\x71\x77\x77\x73\x71ip"]}."'";}$dlcpptn="\x63\x6f\x75\x6e\x74\x5f\x76\x61\x6c";if(t_param("pu\x72\x5f\x69t\x65m_t\x78t\x33")=="Y"){$rixanfy="q\x72y";${$rixanfy}=${${"\x47\x4cO\x42\x41\x4cS"}["e\x7a\x62\x63wdy\x67u\x65"]}."\x20an\x64\x20\x20 \x70\x75r\x5fit\x65m_\x74\x78\x743\x3d\x27".${${"\x47\x4cOB\x41\x4c\x53"}["\x75\x6cpm\x67v\x78\x61\x6a\x6a\x62\x62"]}."\x27";}if(t_param("pur_item_\x74\x78t\x34")=="Y"){$tgtsdqrtwc="\x71r\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["khz\x72ns\x71i"]="\x70\x75\x72\x5fi\x74\x65m\x5f\x74xt_\x76a\x6c4";${${"G\x4c\x4f\x42\x41\x4cS"}["e\x7a\x62c\x77dy\x67u\x65"]}=${$tgtsdqrtwc}."\x20\x61\x6e\x64\x20\x20\x20\x70\x75\x72_\x69te\x6d\x5f\x74\x78\x744\x3d'".${${"\x47LO\x42A\x4c\x53"}["\x6b\x68\x7a\x72\x6e\x73\x71\x69"]}."'";}if(t_param("pur_i\x74\x65\x6d_\x74\x78t\x35")=="Y"){${"\x47\x4c\x4f\x42\x41\x4cS"}["wr\x78\x6dwnee"]="\x71\x72y";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65\x7a\x62c\x77\x64\x79g\x75\x65"]}=${${"\x47\x4c\x4f\x42\x41LS"}["\x77r\x78\x6d\x77n\x65\x65"]}."\x20an\x64 \x20\x70ur_ite\x6d\x5f\x74\x78t5='".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x6c\x76\x61\x61d\x79\x70\x78\x6fv"]}."'";}$ncurfcs="q\x72\x79";if(t_param("p\x75r\x5f\x69t\x65\x6d_txt6")=="\x59"){$zfkjplqy="\x71r\x79";${${"\x47\x4cO\x42\x41\x4cS"}["e\x7a\x62\x63w\x64y\x67\x75\x65"]}=${$zfkjplqy}."\x20an\x64\x20 p\x75\x72_\x69t\x65\x6d\x5f\x74\x78\x746\x3d\x27".${${"\x47\x4cO\x42\x41\x4c\x53"}["y\x65\x6c\x6eqnno\x6d\x6f\x61\x68"]}."\x27";}${"\x47LOB\x41\x4c\x53"}["\x6ag\x6f\x72\x78\x71\x68r"]="\x63\x6fm_\x6e\x75\x6d";if((t_param("co\x6dbi\x6e\x61t\x69\x6f\x6e_b\x6f\x78\x71t\x79")=="\x59")&&(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79h\x6a\x6e\x6b\x6bd\x6f"]}=="T\x68\x61n")){${"\x47\x4cO\x42A\x4c\x53"}["i\x70u\x6d\x71\x6c\x6d\x74\x63\x6d\x6d"]="\x71\x74y";${"\x47L\x4fB\x41\x4c\x53"}["\x72\x74bx\x74\x78g"]="\x71\x72\x79";${${"\x47LO\x42\x41L\x53"}["\x65\x7a\x62
\x63\x77d\x79\x67\x75\x65"]}=${${"\x47\x4cOB\x41\x4c\x53"}["rtb\x78\x74\x78\x67"]}." and\x20\x20 \x71t\x79='".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69p\x75\x6d\x71lm\x74\x63\x6dm"]}."'";}if(t_param("c\x6f\x6db\x69na\x74ion\x5f\x6dr\x70pri\x63\x65")=="Y"){${"G\x4cOB\x41\x4cS"}["h\x70\x76\x78\x71n\x63dx\x6a"]="\x6e\x6d\x72\x70";${${"GL\x4f\x42\x41L\x53"}["\x65z\x62cw\x64\x79\x67ue"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ez\x62cw\x64\x79\x67\x75\x65"]}." \x61nd\x20\x20\x20(\x6e\x6dr\x70\x3d'".${${"G\x4c\x4f\x42\x41L\x53"}["\x68\x70\x76\x78qn\x63d\x78\x6a"]}."'\x20|| n\x6d\x72\x70\x3d\x27\x30\x27 ||\x20\x6em\x72p\x3d'\x27 || nm\x72\x70='\x30.00' || \x6emr\x70\x3d'0\x27\x20||\x20n\x6drp\x3d\x27'\x20|| nm\x72p\x3d\x270.0\x27 )";}else{${"G\x4cO\x42\x41\x4c\x53"}["i\x61\x79\x73\x76\x6b\x71x"]="up\x64\x61\x74e_\x71\x72y";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66k\x6c\x64\x66\x6b\x73\x65\x68\x6a\x64"]="\x75\x70d\x61\x74\x65_\x71\x72\x79";${${"GL\x4f\x42\x41\x4cS"}["i\x61\x79\x73v\x6b\x71\x78"]}=${${"\x47\x4c\x4f\x42\x41L\x53"}["\x66\x6b\x6cd\x66k\x73\x65h\x6ad"]}."\x6emr\x70\x3d\x27".${${"GLO\x42\x41\x4c\x53"}["\x6f\x6aq\x69e\x66\x6d\x70"]}."',";}if(${${"G\x4c\x4f\x42\x41\x4cS"}["oaex\x65\x72\x74o\x61\x72"]}=="\x4e"){if(t_param("\x63\x6f\x6dbinat\x69on\x5f\x73\x61le\x70\x72\x69c\x65")=="Y"){$ckeuags="q\x72\x79";$abnbqtj="sa\x6c\x65\x70\x72\x69\x63\x65";${${"\x47\x4c\x4fB\x41\x4c\x53"}["e\x7a\x62\x63wd\x79\x67\x75\x65"]}=${$ckeuags}." \x61n\x64\x20 ( sa\x6c\x65pric\x65=\x27".${$abnbqtj}."\x27 ||\x20s\x61l\x65\x70r\x69\x63\x65='\x30'\x20|| \x73\x61lepric\x65\x3d\x27' ||\x20\x73a\x6cep\x72\x69\x63e=\x27\x30\x2e\x30\x30\x27 || \x73\x61l\x65pric\x65\x3d\x270\x27 ||\x20sale\x70r\x69c\x65\x3d''\x20|| sa\x6cep\x72i\x63e='0.0'\x20)";}else{$gcgxmacbteop="\x75\x70\x64\x61\x74e\x5fq\x72\x79";$gommmjupgi="\x73\x61le\x70ri\x63e";${$gcgxmacbteop}=${${"\x47L\x4fB\x41\x4cS"}["z\x65\x6b\x6b\x76\x6e\x69q"]}."\x73\x61\x6c\x65\x70ri\x63\x65\x3d'".${$gommmjupgi}."',";}}${"\x47\x4c\x4fBALS"}["m\x6d\x74m\x68\x74e"]="\x6a";$uirfcmq="q";$ggcbipq="\x6cq";$skhvccgy="\x71\x72\x79\x5f\x6coc";if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x74\x71q\x78utu\x72\x73\x77\x6e"]}=="\x4e"){$fmwudbfiurv="\x63\x6fm\x62\x69nat\x69o\x6e_wpp\x72\x69c\x65";if(${$fmwudbfiurv}=="Y"){$meewrqdqk="\x71r\x79";$rnvsmdbig="\x71\x72y";${$meewrqdqk}=${$rnvsmdbig}."\x20an\x64\x20 wp\x3d\x27".${${"\x47L\x4fBA\x4c\x53"}["\x69\x61\x64\x66\x66\x6f\x71\x71"]}."\x27";}}if(${${"\x47LO\x42AL\x53"}["w\x6c\x70m\x68\x62rm\x6c\x69\x68x"]}=="N"){if(t_param("\x63\x6f\x6db\x69nat\x69on\x5fs\x77\x70p\x72i\x63e")=="Y"){$klhgxoccsb="q\x72y";${$klhgxoccsb}=${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65\x7a\x62\x63\x77\x64\x79\x67\x75\x65"]}."\x20\x61\x6e\x64\x20 \x20\x73w\x70\x3d\x27".${${"\x47L\x4fBAL\x53"}["\x6dji\x62\x78\x73kg\x6d"]}."\x27";}}${$ggcbipq}="\x73elect\x20*\x20f\x72\x6f\x6d t\x5fl\x6fc\x61\x74i\x6fn\x5f\x6da\x73\x74\x65r\x20w\x68er\x65 \x69\x64 i\x6e ($store_location) ";${$skhvccgy}=mysqli_query(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x71n\x67\x63t\x6f\x72q\x6b\x73y"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["e\x69\x73\x61\x6dkdle"]})or die(mysqli_error(${${"\x47L\x4f\x42\x41\x4cS"}["h\x6f\x73\x70\x66\x73"]}));${${"\x47L\x4f\x42\x41\x4c\x53"}["\x79\x63\x79\x74\x73n\x67\x6e"]}="";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67yl\x6f\x63\x78d\x71\x79\x62\x67o"]}="";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x71x\x72t\x78\x63"]="q";${${"\x47\x4c\x4fBAL\x53"}["m\x6d\x74\x6d\x68t\x65"]}=0;${$dlcpptn}=count(${$lipemqjblg});while(${${"\x47\x4c\x4fBAL\x53"}["\x66\x66kd\x67k\x64\x61\x6f\x6c\x69"]}=mysqli_fetch_array(${${"\x47L\x4fB\x41\x4c\x53"}["g\x78\x75j\x6clg\x6b"]})){${"\x47\x4c\x4fBAL\x53"}["z\x75eej\x76\x76d\x72\x69"]="\x6ci\x64";$rxpllcaify="\x6a";${"\x47\x4cO\x42\x41L\x53"}["\x64\x70olu\x6crnu\x65"]="\x77\x70\x5fa\x72y";$wbvrdqddgs="\x63\x6fmbin\x61\x74i\x6f\x6e_sw\x70\x70\x72\x69\x63\x65";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cu\x7a\x6dj\x75v\x73\x66\x76"]}=${${"G\x4c\x4f\x42A\x4cS"}["\x66fkdg\x6b\x64\x61\x6fl\x69"]}["id"];$vpsuaxkbpw="\x63ombina\x74\x69o\x6e\x5f\x77ppr\x69\x63\x65";$rlsnvbkckp="c\x6fm\x62\x69na\x74\x69\x6f\x6e\x5fsal\x65\x70\x72ic\x65";${"\x47\x4c\x4f\x42\x41\x4cS"}["f\x74\x66bs\x67g\x73\x6dz"]="\x63o\x6d\x62\x69n\x61\x74\x69\x6f\x6e\x5flo\x63wp";${"\x47\x4cO\x42\x41\x4c\x53"}["\x73\x72gl\x70\x75i\x65r\x78\x6d"]="j";if(${${"\x47\x4c\x4fB\x41LS"}["z\x75\x65\x65\x6a\x76v\x64\x72\x69"]}=="1"){${"\x47\x4c\x4fB\x41\x4c\x53"}["m\x68r\x72\x76\x6a\x6d\x6a"]="l\x69\x64";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6d\x68rr\x76\x6a\x6dj"]}="";}if((${${"\x47L\x4f\x42A\x4cS"}["\x76\x65\x6a\x77l\x67d"]}[${$rxpllcaify}]!="")&&(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6fae\x78e\x72\x74\x6fa\x72"]}=="Y")&&(${$rlsnvbkckp}=="\x59")){${"\x47\x4cOB\x41\x4c\x53"}["\x68\x6e\x6e\x78d\x6b\x73\x67e\x72\x6c"]="\x6c\x69d";${"GL\x4f\x42\x41\x4cS"}["\x77i\x78\x64\x65i\x78\x69j\x76"]="li\x64";${"\x47\x4c\x4fB\x41LS"}["\x73\x69\x6e\x64\x6b\x76\x78h\x71\x70"]="\x6a";${"\x47\x4c\x4fBALS"}["\x6fj\x6e\x76\x6cg\x75r\x75\x66\x78e"]="r\x61\x74\x65_\x61\x72\x79";${"\x47L\x4f\x42\x41\x4cS"}["nw\x6ben\x6a\x78\x6e\x6e\x64\x79"]="l\x69d";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65\x7a\x62\x63\x77dy\x67\x75\x65"]}=${${"\x47L\x4f\x42\x41\x4c\x53"}["\x65\x7a\x62\x63wd\x79\x67u\x65"]}." \x61\x6ed\x20\x20(\x20sa\x6c\x65\x70r\x69ce".${${"\x47L\x4f\x42\x41L\x53"}["\x68\x6e\x6e\x78\x64\x6bs\x67e\x72\x6c"]}."\x3d'".${${"\x47LO\x42A\x4c\x53"}["\x6f\x6an\x76l\x67u\x72\x75\x66\x78e"]}[${${"GL\x4f\x42AL\x53"}["\x73\x69ndk\x76\x78\x68\x71\x70"]}]."'\x20||\x20\x20\x20sa\x6cepr\x69\x63e".${${"\x47L\x4fBA\x4c\x53"}["\x6e\x77ke\x6ej\x78\x6e\x6e\x64y"]}."\x3d\x27\x27\x20|| s\x61\x6cep\x72\x69ce".${${"\x47L\x4f\x42\x41\x4c\x53"}["\x77\x69xd\x65ix\x69\x6a\x76"]}."\x3d'0')";}if((${${"GL\x4fB\x41\x4cS"}["\x64p\x6f\x6c\x75\x6crnue"]}[${${"G\x4cO\x42\x41L\x53"}["\x63\x76\x69hq\x72"]}]!="")&&(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x74f\x62\x73\x67\x67\x73\x6d\x7a"]}=="\x59")&&(${$vpsuaxkbpw}=="Y")){${"G\x4c\x4fB\x41\x4c\x53"}["\x68\x70\x65\x74\x69\x78"]="l\x69d";$wbuoqtybhd="\x6ci\x64";$ebnhuifpfk="q\x72y";${"G\x4c\x4f\x42A\x4c\x53"}["hx\x6d\x6ceqar\x6a\x65"]="\x6a";${$ebnhuifpfk}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["e\x7ab\x63w\x64\x79\x67\x75\x65"]}." \x61\x6ed\x20\x20(\x20w\x70".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x68\x70\x65t\x69\x78"]}."='".${${"GL\x4fB\x41\x4c\x53"}["vcb\x7a\x74z\x6b\x6a"]}[${${"\x47\x4c\x4f\x42\x41\x4cS"}["hxm\x6ceqa\x72\x6ae"]}]."'\x20||\x20\x20\x20w\x70".${$wbuoqtybhd}."='' || \x20\x77\x70".${${"\x47\x4cOBA\x4cS"}["\x6c\x75\x7a\x6d\x6au\x76\x73f\x76"]}."='0')";}if((${${"GLO\x42\x41\x4cS"}["\x62v\x76\x62\x79se\x6et\x75"]}[${${"\x47LO\x42\x41\x4c\x53"}["srg\x6cpui\x65\x72\x78\x6d"]}]!="")&&(${${"GL\x4fB\x41LS"}["\x77\x6c\x70\x6d\x68\x62rm\x6c\x69h\x78"]}=="Y")&&(${$wbvrdqddgs}=="\x59")){${"\x47\x4cO\x42A\x4c\x53"}["\x65\x68x\x62kby\x73"]="li\x64";$mnbsqxii="\x6a";$nzqalcz="l\x69\x64";${"\x47\x4cO\x42\x41L\x53"}["\x76\x65\x64\x6dyr\x6b\x73"]="\x71r\x79";$stpwrcwsgwc="\x6c\x69\x64";${${"\x47LO\x42A\x4c\x53"}["\x76\x65\x64myr\x6b\x73"]}=${${"\x47L\x4f\x42A\x4cS"}["\x65\x7a\x62\x63\x77d\x79\x67\x75\x65"]}."\x20\x61\x6e\x64\x20 (\x20\x73w\x70".${$nzqalcz}."=\x27".${${"\x47L\x4f\x42\x41\x4c\x53"}["bvv\x62\x79\x73en\x74u"]}[${$mnbsqxii}]."\x27 || \x20\x20swp".${$stpwrcwsgwc}."\x3d\x27'\x20 || \x20\x20s\x77p".${${"\x47\x4c\x4f\x42AL\x53"}["\x65\x68\x78b\x6b\x62\x79\x73"]}."='\x30')";}${${"GL\x4f\x42ALS"}["\x63\x76\x69\x68\x71\x72"]}++;}if(t_param("combi\x6e\x61tio\x6e\x5fm\x69nstoc\x6b")=="\x59"){$bzulaekyjp="\x6d\x69\x6es\x74\x6f\x63\x6b";${${"\x47\x4c\x4f\x42\x41L\x53"}["e\x7a\x62c\x77\x64\x79g\x75\x65"]}=${${"G\x4cO\x42A\x4cS"}["\x65\x7abc\x77d\x79\x67ue"]}."\x20an\x64\x20\x20\x20min\x73\x74o\x63ks\x3d'".${$bzulaekyjp}."\x27";}if(t_param("\x63om\x62\x69nat\x69\x6f\x6e\x5f\x6d\x61xs\x74\x6f\x63k")=="\x59"){${"GL\x4f\x42\x41L\x53"}["\x78\x63\x76\x64ix\x64\x75\x75"]="\x71r\x79";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x65z\x62\x63\x77\x64y\x67\x75e"]}=${${"\x47L\x4fBA\x4c\x53"}["\x78c\x76dix\x64u\x75"]}." \x61\x6ed \x20\x20\x6daxst\x6f\x63\x6b\x73\x3d\x27".${${"\x47\x4c\x4f\x42\x41\x4cS"}["o\x75\x73urf\x70"]}."'";}${$ncurfcs}=${${"\x47\x4cO\x42AL\x53"}["e\x7abc\x77\x64yg\x75\x65"]}."\x20a\x6ed \x70\x74y\x70e\x3d'$ptype'";${${"\x47\x4c\x4f\x42\x41LS"}["j\x71xr\x74x\x63"]}=mysqli_query(${${"\x47\x4c\x4fB\x41L\x53"}["\x68\x6fs\x70\x66\x73"]},${${"G\x4c\x4f\x42A\x4cS"}["\x65\x7a\x62\x63\x77\x64ygue"]});${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71t\x62\x79a\x72\x67h\x6e\x73"]}=mysqli_num_rows(${$uirfcmq});if(${$yuhomilru}=="\x4e\x6f"){${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x65\x69l\x71\x67\x69"]="\x62\x73\x74\x61\x74\x75\x73";${${"\x47\x4cOB\x41\x4cS"}["\x76eilq\x67\x69"]}="\x4e";}if(${${"\x47\x4cOBA\x4c\x53"}["\x67\x70\x6d\x79\x74\x68\x6b\x74\x72t\x79\x6b"]}=="Y"&&${${"\x47L\x4fB\x41L\x53"}["\x73\x72\x74td\x67\x74\x70\x61\x74"]}=="Y"){${"G\x4c\x4f\x42A\x4c\x53"}["i\x71r\x77tke\x61h\x76\x64"]="\x62a\x72c\x6f\x64e";${${"\x47\x4c\x4fB\x41\x4cS"}["q\x74b\x79\x61\x72\x67hn\x73"]}=0;${${"\x47L\x4fB\x41L\x53"}["\x69\x71\x72wt\x6be\x61\x68\x76\x64"]}="0";}else{${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71\x74\x62\x79\x61\x72\x67\x68n\x73"]}=mysqli_num_rows(${${"G\x4cOBAL\x53"}["n\x63\x71f\x68\x67\x64\x66\x71\x65"]});}if(${${"\x47LO\x42\x41L\x53"}["\x6ago\x72x\x71\x68\x72"]}==0){${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63qh\x75\x6b\x71w\x75\x6d\x74\x6em"]="\x71\x72\x79";${"\x47L\x4fBA\x4cS"}["\x6dmm\x76r\x6b\x61\x63\x78\x70"]="\x62\x61\x72\x63\x6fde";${"G\x4c\x4f\x42\x41L\x53"}["\x6fp\x63\x74d\x6f\x64hx\x69\x72"]="\x72at\x65\x5f\x61ry";${"GLO\x42\x41L\x53"}["\x70\x68\x61\x6a\x70\x76bhiy"]="\x62\x61\x72\x63\x6fd\x65";${"\x47\x4cO\x42A\x4c\x53"}["\x65\x79\x6e\x78\x6e\x79\x69d\x67w"]="con";${"\x47\x4cO\x42\x41L\x53"}["l\x6f\x62\x6a\x69kl"]="\x6a";$ekfyafnwfryw="\x6cq";${"\x47L\x4f\x42\x41\x4cS"}["x\x77\x61\x62r\x72\x68d\x6d"]="\x71\x72y\x5f\x6c\x6f\x63";if((${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6d\x6dm\x76\x72k\x61c\x78\x70"]}=="0")||(${${"\x47\x4c\x4f\x42A\x4c\x53"}["p\x68a\x6a\x70vbh\x69\x79"]}=="")){$ytmulrhjvll=
"\x62\x61\x72c\x6f\x64e";${"G\x4c\x4f\x42\x41\x4cS"}["\x65x\x68k\x73\x6eo\x72o"]="\x63on";${${"G\x4cO\x42\x41L\x53"}["\x6fu\x71b\x68\x6bx\x61\x7a\x73"]}=mysqli_fetch_array(mysqli_query(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65xh\x6b\x73\x6e\x6fr\x6f"]},"\x53ELE\x43\x54 ma\x78(bar\x63\x6fde)\x20a\x73 barc\x6fd\x65 FROM\x20ba\x72_\x63o\x6d\x62\x69n\x61ti\x6fn \x77\x68\x65r\x65\x20\x62st\x61\x74u\x73\x3d\x27Y'"));${$ytmulrhjvll}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["o\x75\x71\x62\x68k\x78\x61\x7as"]}["\x62a\x72\x63o\x64\x65"];$ebdkfpbkkv="b\x61\x72\x63\x6f\x64\x65";if(${$ebdkfpbkkv}==""){$udycinhxe="barc\x6f\x64e";${$udycinhxe}="\x61\x61\x30\x30";}${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["e\x6d\x78\x6f\x6fuub"]}++;}if(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x63w\x66ir\x69"]}=="N\x61N"){$phbpaaha="\x73\x61l\x65\x70\x72\x69\x63e";${$phbpaaha}=0;}if(${${"\x47\x4cO\x42A\x4c\x53"}["\x6f\x6aq\x69\x65\x66m\x70"]}=="NaN"){${${"\x47L\x4f\x42A\x4cS"}["\x6f\x6aq\x69\x65\x66\x6d\x70"]}=0;}${"\x47LO\x42\x41L\x53"}["\x6f\x78\x79r\x6aw"]="\x72\x71";${$ekfyafnwfryw}="\x73\x65\x6c\x65c\x74\x20* fro\x6d t\x5fl\x6fcati\x6fn\x5f\x6d\x61\x73t\x65\x72\x20wher\x65\x20\x69d \x69\x6e ($store_location)\x20";${"GL\x4f\x42A\x4c\x53"}["\x68w\x72\x6b\x76o\x77"]="\x63\x6f\x6e";${"GL\x4f\x42A\x4c\x53"}["\x65\x6b\x69\x72\x6f\x65\x67"]="\x63o\x6e";${${"\x47L\x4f\x42\x41L\x53"}["x\x77a\x62r\x72h\x64m"]}=mysqli_query(${${"G\x4c\x4fB\x41\x4c\x53"}["\x68\x6f\x73\x70fs"]},${${"G\x4c\x4f\x42\x41\x4c\x53"}["e\x69sa\x6dk\x64\x6c\x65"]})or die(mysqli_error(${${"G\x4cO\x42\x41L\x53"}["\x65ki\x72o\x65\x67"]}));${${"\x47\x4c\x4fB\x41\x4cS"}["\x79\x63\x79t\x73\x6e\x67\x6e"]}="";${${"\x47\x4cO\x42A\x4c\x53"}["\x67\x79\x6c\x6fcx\x64\x71y\x62g\x6f"]}="";${${"\x47LOBA\x4cS"}["l\x6f\x62\x6a\x69\x6bl"]}=0;${${"\x47\x4c\x4fBA\x4c\x53"}["ef\x77\x78h\x7avlr"]}=count(${${"\x47L\x4f\x42\x41L\x53"}["o\x70c\x74\x64\x6f\x64\x68\x78ir"]});${"G\x4cO\x42\x41\x4cS"}["v\x76\x78p\x6b\x70"]="co\x6di\x64";while(${${"\x47LOB\x41\x4c\x53"}["\x6f\x78y\x72\x6a\x77"]}=mysqli_fetch_array(${${"\x47\x4cO\x42\x41L\x53"}["\x74e\x6c\x6b\x75uv\x77"]})){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["o\x72q\x67u\x78"]="r\x71";${${"G\x4c\x4fBAL\x53"}["\x6c\x75\x7a\x6d\x6auv\x73\x66\x76"]}=${${"\x47\x4c\x4fB\x41L\x53"}["o\x72q\x67u\x78"]}["\x69d"];${"G\x4c\x4f\x42\x41\x4cS"}["\x78vngc\x6f\x6a\x64\x74\x64\x68"]="li\x64";if(${${"\x47\x4cOB\x41\x4c\x53"}["\x6cu\x7am\x6auv\x73\x66\x76"]}=="1"){${"\x47\x4cO\x42\x41\x4cS"}["y\x72\x65hi\x65\x64f"]="\x6c\x69d";${${"\x47\x4c\x4fB\x41L\x53"}["\x79\x72\x65\x68\x69\x65\x64\x66"]}="";}if(${${"G\x4c\x4f\x42A\x4c\x53"}["\x78vn\x67c\x6fj\x64t\x64h"]}!=""){$kfpplmtyme="\x6a";$kepctcua="j";${"\x47L\x4fB\x41\x4c\x53"}["\x63f\x73\x78\x65\x6bcm"]="c\x6f\x6d\x62\x69\x6e\x61t\x69\x6fn\x5f\x77p\x70\x72\x69\x63\x65";if((${${"\x47\x4cO\x42\x41LS"}["\x76\x65\x6a\x77\x6c\x67d"]}[${$kepctcua}]!="")&&(${${"G\x4c\x4f\x42\x41L\x53"}["\x6f\x61e\x78\x65\x72t\x6fa\x72"]}=="Y")&&(${${"G\x4cO\x42\x41LS"}["c\x6a\x69\x75\x65\x70k\x78"]}=="Y")){$yffntu="\x63\x6fl\x5f\x76\x61l\x5f\x73\x70";${"G\x4c\x4fB\x41L\x53"}["\x78q\x63\x74\x6a\x6ei\x6f\x75"]="\x6a";${"\x47L\x4f\x42\x41\x4cS"}["\x6b\x7a\x75d\x74\x6e\x70\x7a\x62"]="c\x6f\x6c\x5f\x76a\x6c_\x73\x70";$tjnjyttdh="co\x6c\x5f\x6ea\x6d\x65_\x73p";${${"GLO\x42\x41L\x53"}["\x67\x79loc\x78d\x71\x79b\x67o"]}=${$tjnjyttdh}.","."\x73\x61l\x65\x70ri\x63\x65".${${"\x47L\x4f\x42A\x4c\x53"}["l\x75\x7a\x6d\x6au\x76s\x66\x76"]};${$yffntu}=${${"\x47\x4cO\x42\x41L\x53"}["\x6b\x7a\x75\x64\x74n\x70\x7a\x62"]}.",".${${"\x47\x4c\x4f\x42\x41\x4cS"}["ve\x6a\x77\x6cgd"]}[${${"\x47L\x4f\x42\x41L\x53"}["xqc\x74\x6a\x6e\x69\x6fu"]}];}${"\x47\x4cOB\x41L\x53"}["\x68kh\x75\x72\x6brs"]="\x77\x70\x5fa\x72\x79";if((${${"\x47\x4cO\x42\x41\x4c\x53"}["h\x6b\x68u\x72\x6br\x73"]}[${${"G\x4c\x4fB\x41\x4c\x53"}["\x63\x76i\x68qr"]}]!="")&&(${${"\x47\x4c\x4fBAL\x53"}["t\x71q\x78\x75\x74\x75r\x73\x77\x6e"]}=="\x59")&&(${${"GLO\x42\x41LS"}["cfs\x78\x65\x6bc\x6d"]}=="\x59")){$awoyuqzu="\x6c\x69\x64";$fumvmoce="\x77\x70\x5f\x61\x72\x79";$qancln="\x63\x6fl_v\x61l\x5f\x77\x70";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66\x63\x64\x67\x6bmu\x6e\x65\x79"]}=${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66c\x64\x67\x6b\x6d\x75\x6e\x65\x79"]}.","."wp".${$awoyuqzu};${"\x47\x4cO\x42A\x4c\x53"}["\x64\x70\x66y\x75gp\x71\x67\x68\x6e"]="\x63\x6fl\x5f\x76\x61\x6c_w\x70";${$qancln}=${${"\x47\x4c\x4f\x42AL\x53"}["\x64\x70\x66\x79\x75\x67\x70\x71\x67\x68\x6e"]}.",".${$fumvmoce}[${${"GL\x4fBA\x4c\x53"}["c\x76\x69\x68q\x72"]}];}if((${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62\x76v\x62\x79s\x65\x6e\x74\x75"]}[${$kfpplmtyme}]!="")&&(${${"\x47L\x4f\x42AL\x53"}["w\x6cp\x6d\x68br\x6d\x6ci\x68\x78"]}=="\x59")&&(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x70\x69\x72bysi"]}=="Y")){${"G\x4c\x4f\x42\x41\x4c\x53"}["u\x64\x65\x6ev\x63w\x76"]="\x6ci\x64";$nodxcbxol="co\x6c_\x6e\x61m\x65\x5fswp";$vskntpgxmb="\x73\x77\x70\x5far\x79";$iwrqjfvyu="\x63ol_va\x6c\x5f\x73\x77p";${${"\x47\x4c\x4fB\x41L\x53"}["\x72\x70\x78\x6d\x77\x65\x6d\x6c"]}=${$nodxcbxol}.","."\x73wp".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x75\x64e\x6ev\x63\x77\x76"]};${$iwrqjfvyu}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["gve\x6a\x69\x68\x64\x61\x74"]}.",".${$vskntpgxmb}[${${"\x47L\x4fBA\x4c\x53"}["\x63\x76\x69\x68\x71\x72"]}];}}${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63\x76\x69\x68q\x72"]}++;}${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63qh\x75\x6b\x71\x77\x75\x6dt\x6e\x6d"]}=mysqli_query(${${"G\x4c\x4fB\x41LS"}["\x68w\x72\x6bvo\x77"]},"\x69\x6ese\x72t in\x74o\x20bar\x5fco\x6d\x62\x69\x6eati\x6fn(\x74\x61x_i\x64,s\x63a\x74\x69\x64,\x63\x73t\x79l\x65,co\x6cr,cs\x69\x7a\x65,cbran\x64,\x73a\x6cepric\x65,n\x6d\x72\x70,wp,sw\x70,\x70ur\x70\x72\x69\x63\x65,\x62\x61rc\x6fde,\x62st\x61t\x75s,\x70u\x72_\x69\x74\x65\x6d_t\x78t1,\x70u\x72_it\x65\x6d_\x74xt2,pu\x72\x5fit\x65\x6d_t\x78\x74\x33,pu\x72_ite\x6d\x5f\x74xt\x34,p\x75r\x5f\x69t\x65\x6d_\x74x\x745,\x70u\x72\x5f\x69\x74e\x6d\x5ft\x78\x74\x36,\x70\x74\x79p\x65,q\x74\x79,e\x78\x70\x69ry$col_name_sp$col_name_wp$col_name_swp,m\x69n\x73\x74ocks,\x6da\x78s\x74\x6fck\x73,suppi\x64)\x20\x20\x76al\x75\x65\x73('$tax_id','$scatid',\x27$cstyle\x27,\x27$colr',\x27$csize\x27,'$cbrand','$saleprice',\x27$nmrp',\x27$wp\x27,\x27$swp\x27,'$purprice\x27,\x27$barcode\x27,'$bstatus\x27,\x27$pur_item_txt_val1','$pur_item_txt_val2',\x27$pur_item_txt_val3\x27,\x27$pur_item_txt_val4',\x27$pur_item_txt_val5\x27,\x27$pur_item_txt_val6','$ptype','$qty','$expiry\x27$col_val_sp$col_val_wp$col_val_swp,'$minstock\x27,'$maxstock','$suppid\x27)");if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["g\x70\x6d\x79\x74\x68k\x74\x72t\x79\x6b"]}=="Y"){mysqli_query(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x68\x6f\x73p\x66s"]},"\x75\x70d\x61\x74e\x20\x74_p\x61ram\x20s\x65\x74\x20nva\x6cue\x3d'$barcode\x27\x20w\x68er\x65\x20\x6ek\x65y\x3d\x27L\x61s\x74_ba\x72code\x27");}${${"\x47\x4c\x4f\x42\x41L\x53"}["b\x6f\x65\x76\x70dtq"]}=mysqli_query(${${"G\x4c\x4fB\x41L\x53"}["\x68o\x73p\x66s"]},"\x73\x65\x6ce\x63\x74 \x6d\x61x(\x63\x6f\x6did)\x20f\x72\x6f\x6d \x20\x62ar_\x63\x6f\x6db\x69\x6e\x61\x74\x69o\x6e")or die("E\x72ror in\x20i\x6e\x73er\x74\x20q\x75\x65r\x79 \x33:\x20".mysqli_error(${${"\x47\x4cO\x42\x41\x4c\x53"}["eynxn\x79\x69d\x67\x77"]}));if(${${"\x47LO\x42\x41\x4c\x53"}["\x6bu\x75l\x6b\x6f\x72\x6d"]}=mysqli_fetch_array(${${"\x47LO\x42A\x4c\x53"}["\x62\x6f\x65\x76p\x64\x74q"]})){$dcpmvbm="co\x6di\x64";${"\x47L\x4f\x42A\x4c\x53"}["\x69\x69\x6as\x62\x71"]="r\x6fw\x6e";${$dcpmvbm}=${${"G\x4cO\x42ALS"}["\x69\x69j\x73\x62q"]}[0];}${${"G\x4cO\x42AL\x53"}["f\x72\x6b\x79t\x6d\x6c\x6d\x63\x74\x68\x65"]}=rtrim(${${"G\x4cO\x42A\x4c\x53"}["\x7a\x65\x6bk\x76\x6e\x69\x71"]},",");if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66\x72ky\x74ml\x6dct\x68\x65"]}!=""){$pgsckgg="u\x70d\x61\x74\x65\x5fv\x61l";mysqli_query(${${"\x47\x4c\x4fB\x41L\x53"}["h\x6f\x73\x70\x66s"]},"\x75\x70d\x61te \x62\x61\x72\x5fcom\x62\x69\x6e\x61\x74i\x6fn \x73\x65\x74 ".${$pgsckgg}." wh\x65r\x65 c\x6f\x6did\x3d\x20".${${"\x47L\x4f\x42\x41\x4c\x53"}["\x62\x68\x6a\x71\x67f\x68p\x73\x72\x72"]});}return${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76\x76x\x70kp"]};}else{$taxqdf="q";$dfitldilw="\x63\x6funt\x5f\x76\x61\x6c";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63\x6e\x71wk\x62"]="up_\x76\x61l";${"G\x4c\x4fBAL\x53"}["\x76dvu\x72\x6b\x62\x71"]="\x63\x6f\x6c_\x6e\x61me\x5f\x73p";${"G\x4c\x4fB\x41L\x53"}["ola\x68\x73\x6d\x7a\x78"]="\x6c\x71";$ibmxwwyvirqz="\x75p_val";${"\x47\x4c\x4f\x42\x41\x4cS"}["zkt\x70\x6ar\x79\x73"]="\x63\x6f\x6e";${"\x47\x4c\x4f\x42A\x4c\x53"}["he\x63cp\x70y\x72\x71"]="q\x72y_\x6c\x6fc";${"G\x4c\x4f\x42\x41\x4cS"}["o\x62\x71nrmwk"]="\x72\x61t\x65\x5f\x61\x72\x79";${${"G\x4c\x4f\x42\x41L\x53"}["aa\x73w\x62\x72\x71\x76\x6cs"]}=mysqli_fetch_array(${$taxqdf});${${"\x47\x4c\x4fB\x41\x4cS"}["\x6fl\x61\x68\x73\x6dz\x78"]}="s\x65\x6cect\x20* \x66r\x6fm t_loc\x61ti\x6f\x6e_\x6d\x61s\x74\x65r\x20\x77\x68\x65re\x20\x69d\x20i\x6e ($store_location) ";${${"G\x4c\x4f\x42\x41L\x53"}["hec\x63\x70\x70\x79\x72\x71"]}=mysqli_query(${${"G\x4c\x4f\x42\x41L\x53"}["h\x6f\x73\x70\x66s"]},${${"\x47L\x4f\x42\x41\x4c\x53"}["e\x69\x73am\x6b\x64\x6c\x65"]})or die(mysqli_error(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x6f\x73\x70\x66\x73"]}));${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79\x63\x79tsngn"]}="";${${"G\x4cO\x42AL\x53"}["vdv\x75rk\x62q"]}="";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x76\x69\x68\x71\x72"]}=0;${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77y\x6b\x68\x63\x78\x64l\x6b\x64\x79\x65"]="\x72q";${"\x47\x4c\x4fBA\x4cS"}["\x63v\x6d\x70\x6eh\x6f\x64\x77\x63\x65"]="\x75p\x5f\x76\x61\x6c";$pdwqcsfn="\x75p\x5f\x76a\x6c";${$dfitldilw}=count(${${"GLO\x42\x41\x4c\x53"}["o\x62q\x6e\x72m\x77\x6b"]});${${"\x47L\x4fB\x41\x4c\x53"}["iuv\x6c\x61\x70\x68"]}="";while(${${"\x47L\x4fB\x41L\x53"}["w\x79\x6b\x68cxdlk\x64\x79\x65"]}=mysqli_fetch_array(${${"\x47\x4cO\x42\x41\x4c\x53"}["t\x65\x6c\x6b\x75u\x76\x77"]})){$cntwbvlfq="\x63\x6f\x6db\x69\x6ea\x74io\x6e\x5f\x73\x77\x70\x70\x72\x69ce";${"\x47\x4c\x4fB\x41L\x53"}["imd\x6f\x64\x76\x71"]="j";$kkrcendrnyj="\x73\x77\x70_a\x72\x79";$rdmvpmaw="j";$fivwfwmmjko="\x72\x71";${"\x47\x4c\x4f\x42\x41\x4c
S"}["\x75\x78\x71\x68\x65k"]="\x63\x6fm\x62\x69\x6ea\x74i\x6fn_\x73a\x6c\x65\x70r\x69\x63\x65";$bqjgvwgl="r\x61t\x65_\x61r\x79";$sorlkrvf="\x6a";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6bc\x70i\x70\x6eh\x63\x63"]="combi\x6e\x61t\x69o\x6e_lo\x63s\x77\x70";${${"\x47L\x4f\x42\x41L\x53"}["\x6c\x75z\x6d\x6a\x75vs\x66v"]}=${$fivwfwmmjko}["\x69d"];$rxxommmkaqlb="\x63\x6f\x6db\x69n\x61\x74\x69on\x5fl\x6f\x63\x72\x61te";if(${${"G\x4c\x4fB\x41\x4c\x53"}["\x6c\x75\x7a\x6d\x6a\x75\x76\x73\x66\x76"]}=="\x31"){${${"\x47L\x4f\x42A\x4c\x53"}["\x6c\x75\x7a\x6dj\x75vsfv"]}="";}$pnloxuld="c\x6f\x6d\x62\x69na\x74\x69on_lo\x63\x77p";if((${$bqjgvwgl}[${${"G\x4cOBA\x4c\x53"}["c\x76\x69h\x71\x72"]}]!="")&&(${$rxxommmkaqlb}=="\x59")&&(${${"\x47\x4cO\x42\x41L\x53"}["\x75\x78\x71he\x6b"]}=="\x59")){${"\x47LO\x42A\x4cS"}["\x68z\x6b\x74\x77\x6c\x6b\x6d"]="\x72\x61t\x65_ar\x79";${${"GL\x4f\x42A\x4cS"}["iu\x76\x6ca\x70\x68"]}=${${"G\x4c\x4f\x42A\x4cS"}["\x69u\x76l\x61\x70\x68"]}."\x73\x61\x6c\x65\x70\x72ic\x65".${${"\x47\x4c\x4fB\x41L\x53"}["\x6cu\x7a\x6d\x6a\x75v\x73fv"]}."\x3d".${${"\x47L\x4f\x42\x41LS"}["\x68\x7ak\x74\x77\x6c\x6b\x6d"]}[${${"\x47L\x4fB\x41\x4c\x53"}["\x63vi\x68\x71r"]}].",";}if((${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x63\x62\x7a\x74zk\x6a"]}[${$sorlkrvf}]!="")&&(${$pnloxuld}=="Y")&&(${${"GL\x4f\x42\x41LS"}["t\x62\x70\x64\x6a\x79b"]}=="Y")){${"\x47\x4cOB\x41\x4cS"}["\x67\x73\x76i\x7a\x6e"]="\x75p\x5f\x76\x61l";${${"\x47L\x4f\x42A\x4cS"}["\x67\x73vi\x7a\x6e"]}=${${"\x47\x4cO\x42\x41L\x53"}["i\x75\x76\x6c\x61\x70\x68"]}."\x77p".${${"\x47L\x4f\x42A\x4cS"}["\x6cuzmj\x75\x76\x73fv"]}."\x3d".${${"\x47\x4cOB\x41L\x53"}["\x76c\x62\x7a\x74\x7a\x6b\x6a"]}[${${"\x47\x4c\x4fBA\x4c\x53"}["\x63\x76\x69hq\x72"]}].",";}if((${$kkrcendrnyj}[${${"\x47LO\x42A\x4cS"}["i\x6d\x64o\x64\x76\x71"]}]!="")&&(${${"\x47LO\x42A\x4c\x53"}["\x6b\x63p\x69\x70n\x68c\x63"]}=="\x59")&&(${$cntwbvlfq}=="\x59")){${"G\x4c\x4f\x42ALS"}["nry\x6d\x63\x78\x77\x71\x6e"]="up_\x76\x61\x6c";$kiexvylydyul="l\x69d";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x75\x76l\x61p\x68"]}=${${"\x47L\x4f\x42\x41\x4cS"}["\x6e\x72\x79m\x63xwqn"]}."\x73\x77p".${$kiexvylydyul}."\x3d".${${"\x47\x4c\x4fBA\x4c\x53"}["bvvb\x79\x73\x65\x6e\x74u"]}[${${"\x47L\x4f\x42A\x4c\x53"}["c\x76\x69\x68q\x72"]}].",";}${$rdmvpmaw}++;}${"\x47\x4c\x4f\x42\x41\x4c\x53"}["z\x69x\x63\x75\x6bv\x6d\x69\x72"]="\x63\x6f\x6d\x72";if(${${"\x47\x4c\x4f\x42\x41LS"}["\x63\x76\x6dpn\x68od\x77c\x65"]}==""){$bgsmbaefwn="\x75\x70\x64\x61\x74e\x5fva\x6c";${$bgsmbaefwn}=rtrim(${${"G\x4c\x4fBA\x4c\x53"}["\x7ae\x6bkvn\x69\x71"]},",");}${$pdwqcsfn}=rtrim(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x6e\x71w\x6bb"]},",");mysqli_query(${${"GL\x4f\x42\x41\x4cS"}["\x7a\x6b\x74\x70\x6a\x72\x79s"]},"\x75p\x64ate\x20\x62\x61\x72\x5fc\x6f\x6d\x62\x69n\x61t\x69\x6f\x6e \x73\x65t\x20".${${"GL\x4fB\x41LS"}["\x66r\x6b\x79tm\x6cm\x63\x74\x68\x65"]}." ".${$ibmxwwyvirqz}." wher\x65 \x63\x6f\x6d\x69\x64 = ".${${"GLOBA\x4c\x53"}["\x61\x61\x73\x77\x62\x72\x71\x76l\x73"]}["\x63\x6f\x6d\x69\x64"]);return${${"\x47\x4c\x4fB\x41\x4c\x53"}["z\x69xc\x75\x6b\x76\x6dir"]}["c\x6fmid"];}}}function update_combination_status($scatid,$cstyle,$colr,$csize,$cbrand,$saleprice,$nmrp,$purprice,$comid){global$con;$mgqcnxhixcs="\x63\x6flr";$mxqqbzd="cs\x69\x7a\x65";if(${${"\x47L\x4f\x42A\x4c\x53"}["yltm\x63\x77\x6b\x63"]}==""){${${"GLO\x42\x41\x4cS"}["\x79l\x74\x6d\x63w\x6b\x63"]}=0;}if(${${"\x47LOB\x41L\x53"}["k\x72\x6em\x75\x6e\x6f\x68r\x73"]}==""){${"\x47\x4c\x4fBA\x4c\x53"}["v\x6f\x69\x69\x6f\x72n\x79\x73srx"]="\x63s\x74\x79\x6ce";${${"GL\x4f\x42A\x4cS"}["\x76\x6f\x69\x69o\x72\x6e\x79\x73srx"]}=0;}${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x73\x61\x6dn\x69\x65\x79"]="cb\x72\x61n\x64";if(${$mgqcnxhixcs}==""){$mvriei="c\x6f\x6cr";${$mvriei}=0;}if(${$mxqqbzd}==""){$gdsyyxtbr="\x63\x73i\x7a\x65";${$gdsyyxtbr}=0;}if(${${"G\x4cO\x42\x41\x4cS"}["\x66\x73\x61\x6d\x6e\x69\x65\x79"]}==""){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x6bfyijt\x75\x6c\x66\x72"]="c\x62rand";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77\x6bf\x79\x69\x6at\x75l\x66\x72"]}=0;}if(${${"\x47LOB\x41L\x53"}["ylt\x6d\x63w\x6bc"]}!=0){mysqli_query(${${"GL\x4f\x42\x41\x4c\x53"}["h\x6fsp\x66s"]},"\x75\x70\x64ate\x20ba\x72_\x63o\x6d\x62i\x6e\x61tion \x73et\x20s\x61l\x65\x70ric\x65=\x27$saleprice\x27,n\x6drp='$nmrp\x27,pur\x70ri\x63e='$purprice\x27\x20,\x73ca\x74\x69d='$scatid',cst\x79\x6ce\x3d'$cstyle'\x20,\x63s\x69\x7a\x65='$csize\x27,cb\x72\x61\x6e\x64='$cbrand\x27 \x77h\x65\x72\x65 \x63o\x6did\x20= ".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62\x68\x6a\x71\x67f\x68\x70s\x72\x72"]});}}function chk_barcode($comid){$shbhmg="\x63o\x75\x6e\x74";$khimsekqhg="s\x71l";global$con;${$khimsekqhg}=mysqli_query(${${"\x47LOBAL\x53"}["\x68\x6f\x73\x70\x66s"]},"\x73\x65le\x63t\x20\x62\x61\x72c\x6f\x64\x65\x20f\x72\x6f\x6d\x20b\x61\x72\x5f\x63\x6fmb\x69\x6e\x61tio\x6e\x20\x77\x68\x65re\x20\x63\x6f\x6d\x69d\x3d\x27$comid\x27\x20 a\x6e\x64\x20bstat\x75\x73\x3d'\x59\x27 \x6cim\x69t 0,\x31")or die("E\x72\x72o\x72 \x69\x6e \x62a\x72\x63\x6fd\x65\x20\x67e\x6eerati\x6f\x6e ".mysqli_error(${${"\x47LO\x42\x41\x4c\x53"}["ho\x73\x70\x66s"]}));$bugrclgeytq="\x73\x71\x6c";${${"GLO\x42\x41L\x53"}["ru\x67n\x70i\x74h"]}=mysqli_num_rows(${$bugrclgeytq});if(${$shbhmg}!=0){${"\x47L\x4f\x42\x41LS"}["\x6arp\x6fli\x62"]="\x64\x61t\x61";$wjfiwpp="\x73q\x6c";${${"G\x4c\x4f\x42\x41L\x53"}["jr\x70o\x6cib"]}=mysqli_fetch_assoc(${$wjfiwpp});${${"\x47\x4c\x4fB\x41\x4c\x53"}["em\x78oou\x75\x62"]}=${${"\x47\x4c\x4fB\x41LS"}["x\x73tk\x71\x63\x62\x71\x68\x6cq\x69"]}["\x62a\x72c\x6fd\x65"];}else{$ivmspmournns="s\x71l\x31";${"\x47L\x4f\x42\x41\x4c\x53"}["\x76ua\x6d\x68e"]="\x63\x6f\x6e";$zfkrrfy="\x62ar\x63\x6fde\x31";${${"\x47\x4cOB\x41\x4cS"}["p\x62r\x76gt\x79h\x65r\x62\x79"]}=mysqli_query(${${"G\x4c\x4fB\x41\x4c\x53"}["\x68\x6fs\x70f\x73"]},"se\x6c\x65c\x74\x20\x62\x61\x72\x63od\x65 \x66rom \x20ba\x72\x5fco\x6dbina\x74\x69o\x6e\x20\x77\x68e\x72e\x20c\x6f\x6did\x3d(\x73e\x6c\x65\x63\x74\x20m\x61\x78(\x63\x6fm\x69\x64) \x66\x72om \x62a\x72\x5f\x63o\x6d\x62ina\x74ion\x20w\x68\x65\x72e\x20bs\x74a\x74\x75s\x3d'\x59\x27)")or die("\x45\x72ror Ba\x72\x63\x6f\x64e\x20\x47\x65\x6ee\x72a\x74\x69\x6f\x6e Max \x43omi\x64 \x71\x72\x79 :\x20".mysqli_error(${${"GLOBA\x4c\x53"}["\x76ua\x6d\x68\x65"]}));$ihtnhm="b\x61rc\x6f\x64e1";${${"\x47L\x4f\x42\x41LS"}["\x78\x75\x74k\x69n\x66\x70\x69\x76\x75d"]}=mysqli_fetch_assoc(${$ivmspmournns});${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62ldww\x6clu\x62\x67\x71"]="ba\x72\x63\x6f\x64\x65";${${"\x47\x4c\x4f\x42\x41LS"}["el\x74\x6auf\x6bf\x68"]}=${${"GL\x4f\x42\x41\x4c\x53"}["\x78\x75tk\x69\x6e\x66p\x69\x76\x75\x64"]}["ba\x72c\x6f\x64e"];${$zfkrrfy}++;${${"\x47\x4c\x4f\x42AL\x53"}["\x62\x6c\x64\x77\x77l\x6cu\x62gq"]}=${$ihtnhm};}return${${"GL\x4fB\x41L\x53"}["emx\x6f\x6f\x75\x75b"]};}function invert_date($cdate){$rxtewrrbtfct="da\x74\x65";${"\x47\x4cOB\x41L\x53"}["\x6ajzb\x66\x70\x66\x69\x69\x69\x66"]="d\x61\x74\x65";${"GLO\x42\x41\x4c\x53"}["\x6aht\x76\x62\x67"]="\x63\x64\x61t\x65";$olkxpgbtbii="\x64\x61\x74e";${$rxtewrrbtfct}=explode("/",${${"\x47\x4c\x4f\x42A\x4cS"}["j\x68\x74\x76\x62\x67"]});return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x6a\x7ab\x66p\x66\x69ii\x66"]}[2]."/".${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68\x6cfhc\x72"]}[1]."/".${$olkxpgbtbii}[0];}function convert_date($cdate){${"GL\x4fB\x41\x4c\x53"}["oufrn\x64\x6c"]="\x64\x61\x74\x65";${"\x47\x4cO\x42AL\x53"}["r\x6e\x70\x73n\x6au\x70"]="d\x61te";$cgdcmvitd="\x64ate";${"\x47LOBA\x4cS"}["\x67m\x6apl\x7a\x73j\x76\x76"]="\x63da\x74\x65";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6f\x75fr\x6edl"]}=explode("/",${${"\x47\x4c\x4fBA\x4c\x53"}["\x67\x6d\x6ap\x6cz\x73\x6avv"]});return${${"\x47\x4cOB\x41\x4c\x53"}["\x72np\x73n\x6au\x70"]}[2]."/".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x6cf\x68\x63\x72"]}[1]."/".${$cgdcmvitd}[0];}function send_sms($mobile,$message,$url="bulk.bulksmsguru.in/sendsms",$senderid="",$lang='English'){${"G\x4cO\x42\x41\x4cS"}["\x6dcs\x70\x76\x69\x76s\x68\x75"]="\x75\x73\x65r\x6ea\x6d\x65";${"\x47\x4c\x4f\x42AL\x53"}["\x78\x73\x68u\x66\x76\x62\x6ek"]="o\x70\x74s";$qlhxybfdzx="\x63\x6f\x6e\x74e\x78\x74";${${"G\x4cO\x42A\x4c\x53"}["\x6dc\x73\x70vi\x76\x73\x68u"]}=sms_username($_SESSION["\x6c\x6f\x63_\x64\x65\x66\x61\x75\x6c\x74"]);${"\x47L\x4fB\x41\x4c\x53"}["\x6et\x69\x78n\x6e"]="\x6c\x61\x6e\x67";$dbxyfyjj="\x64o\x6da\x69\x6e";$soeiuvyxfv="\x75\x73\x65\x72\x6ea\x6de";${${"GLO\x42\x41\x4cS"}["\x7a\x66\x75\x62\x73\x71b\x69\x7ao"]}=sms_password($_SESSION["loc_defa\x75\x6c\x74"]);${${"\x47\x4c\x4f\x42AL\x53"}["l\x78\x78\x66b\x6ad"]}=sms_senderid($_SESSION["l\x6fc\x5f\x64\x65fa\x75\x6c\x74"]);$lutczpqes="\x72\x65\x73po\x6e\x73e";$fufqwnkul="f\x70";$zvndeehofty="m\x65\x73sa\x67\x65";if(filter_var(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79\x77\x67\x6e\x6d\x69\x66\x73\x76\x72\x64"]},FILTER_VALIDATE_URL)){${${"\x47L\x4f\x42\x41\x4c\x53"}["\x79\x77\x67\x6e\x6d\x69\x66svr\x64"]};}else{${"\x47\x4c\x4f\x42\x41L\x53"}["ar\x63\x64r\x6f\x64\x72\x69i\x67"]="\x75\x72l";${${"\x47\x4c\x4f\x42ALS"}["\x61\x72\x63\x64\x72\x6f\x64\x72\x69\x69\x67"]}=t_param("\x73ms\x5fu\x72\x6c");}$nyjazzhhofwf="fp";${"G\x4c\x4f\x42ALS"}["\x74h\x69\x69\x6clz\x62r\x6b\x6e"]="\x70\x61s\x73w\x6frd";${"\x47L\x4fB\x41LS"}["\x6fcp\x72\x72i"]="\x63o\x6e\x74\x65\x78\x74";if(${${"\x47\x4c\x4fB\x41L\x53"}["\x6e\x74i\x78nn"]}=="\x48\x69\x6e\x64\x69"){${${"GL\x4fB\x41L\x53"}["y\x77gn\x6d\x69\x66\x73\x76r\x64"]}="bulk\x2ebu\x6ck\x73\x6d\x73g\x75ru\x2ein/\x73e\x6e\x64\x73ms";${"\x47L\x4f\x42AL\x53"}["\x6csv\x6c\x66\x63\x76\x6ee\x78"]="\x75r\x6c";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["y\x77\x67\x6e\x6di\x66\x73\x76\x72d"]}=explode("/",${${"\x47LOB\x41\x4c\x53"}["\x6c\x73v\x6cf\x63\x76\x6e\x65\x78"]})[0]."/s\x65\x6edun\x69\x63\x6fdesm\x73";}elseif(${${"\x47LOB\x41\x4c\x53"}["\x73g\x78\x7a\x75\x6c\x67\x67\x66"]}=="En\x67lis\x68"){${${"G\x4cO\x42A\x4c\x53"}["\x79wg\x6e\x6d\x69f\x73\x76r\x64"]}="\x62\x75l\x6b.bulksm\x73g\x75ru.\x69n/se\x6eds\x6d\x73";}${${"\x47\x4c\x4f\x42\x41\x4cS"}["p\x70\x6f\x75t\x70\x73e\x65\x70"]}="\x50O\x53T";${$soeiuvyxfv}=urlencode(
${${"\x47\x4c\x4fB\x41L\x53"}["i\x6dr\x73\x7a\x6c\x7agc"]});${${"\x47LO\x42\x41\x4c\x53"}["\x74\x68\x69\x69\x6c\x6cz\x62\x72\x6b\x6e"]}=urlencode(${${"G\x4c\x4f\x42\x41\x4c\x53"}["zf\x75\x62sq\x62i\x7ao"]});${"\x47\x4c\x4fB\x41\x4cS"}["\x72\x66xb\x6e\x74\x67\x63\x69"]="\x6de\x73\x73\x61\x67\x65";${$zvndeehofty}=urlencode(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x66\x78bn\x74\x67c\x69"]});${$dbxyfyjj}="$url?un\x61me=$username&\x70\x77d\x3d$password\x26s\x65nde\x72id\x3d$senderid&to=$mobile\x26\x6dsg=$message&rout\x65=T";${${"G\x4cO\x42\x41L\x53"}["\x78shu\x66vbn\x6b"]}=array("\x68\x74\x74p"=>array("\x6d\x65t\x68o\x64"=>"\x47E\x54","co\x6ete\x6et"=>"u\x6ea\x6de=$username&pwd\x3d$password&\x73en\x64\x65\x72\x69\x64\x3d$senderid\x26\x74o\x3d$mobile&ms\x67=$message\x26r\x6f\x75t\x65\x3d\x54","\x68\x65a\x64\x65r"=>"\x41cce\x70\x74-\x6ca\x6egu\x61\x67\x65: \x65n\r\n"."C\x6f\x6fk\x69\x65:\x20\x66\x6fo=\x62\x61r\r\n"));${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x63p\x72\x72i"]}=stream_context_create(${${"\x47LO\x42ALS"}["\x6a\x6c\x63\x6e\x77s\x6c\x6dg"]});${"\x47\x4c\x4f\x42\x41L\x53"}["\x62i\x75\x6d\x6f\x78\x66\x68h"]="\x66\x70";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62r\x61\x73jkple\x77k"]}=fopen("\x68ttp://$domain","\x72",false,${$qlhxybfdzx});${$lutczpqes}=@stream_get_contents(${${"\x47L\x4f\x42A\x4c\x53"}["\x62\x69u\x6d\x6f\x78\x66\x68\x68"]});if(${${"\x47\x4cOB\x41\x4c\x53"}["b\x66\x70\x62\x75\x6a"]}!=""){return${${"\x47\x4cO\x42\x41\x4c\x53"}["\x62\x66\x70\x62\x75\x6a"]};}else{return"S\x4d\x53\x20A\x50\x49 \x44\x69\x64n\x74\x20\x52e\x73p\x6f\x6ede";}fpassthru(${$nyjazzhhofwf});fclose(${$fufqwnkul});}function dayclose($uid){$xgnbvpoejtk="\x73\x71\x6c";$zsyicbfv="\x64\x61t\x61";global$con;${${"\x47\x4c\x4fBA\x4cS"}["\x74\x72o\x63\x67\x78\x70\x71x\x71"]}=mysqli_query(${${"G\x4c\x4fB\x41\x4c\x53"}["h\x6f\x73p\x66\x73"]},"s\x65\x6cect co\x75nt(\x63lid) as d\x61\x79\x63\x6cos\x65 \x66rom da\x69l\x79\x5f\x63l\x6f\x73\x69\x6eg \x77\x68ere \x75i\x64='$uid' \x61nd\x20\x63\x64a\x74\x65=\x27".date("Y/\x6d/d")."'")or die(mysqli_error());${${"\x47\x4c\x4fBAL\x53"}["\x78\x73t\x6b\x71cb\x71\x68l\x71\x69"]}=mysqli_fetch_assoc(${$xgnbvpoejtk});return${$zsyicbfv}["\x64a\x79\x63los\x65"];}function so_history($soid,$poitemid,$barcode,$suppid,$qty,$status,$cdate,$ctime,$uid){global$con;$iomkgkzpeiv="\x73\x74atus";$rpxilogdb="\x73\x74at\x75\x73";if(${${"G\x4c\x4f\x42AL\x53"}["p\x76\x63v\x64q\x70\x72"]}=="\x4f"){$jwqkukr="co\x6e";${${"GLOB\x41\x4c\x53"}["\x74vi\x77e\x6d\x74u"]}=${${"\x47L\x4f\x42\x41\x4cS"}["t\x73j\x76\x6e\x69\x73"]};${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x72\x63\x69\x74o\x71\x74\x69\x76"]="\x63o\x6e";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79s\x74\x61\x74\x78\x67"]="co\x6e";${${"\x47L\x4fB\x41L\x53"}["\x74ro\x63\x67\x78p\x71\x78\x71"]}=mysqli_query(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["g\x72\x63\x69\x74\x6f\x71t\x69\x76"]},"se\x6c\x65\x63\x74\x20p\x71\x74\x79\x20\x66\x72\x6f\x6d s\x6f_r\x65\x63\x65i\x76\x65_h\x69\x73tory \x77he\x72e \x73\x6f\x69\x64=\x27$soid' a\x6ed b\x61r\x63o\x64\x65=\x27$barcode'")or die(mysqli_error(${${"G\x4cO\x42\x41\x4c\x53"}["\x68o\x73\x70\x66s"]}));if(mysqli_num_rows(${${"G\x4c\x4fB\x41\x4c\x53"}["\x74\x72ocg\x78\x70\x71x\x71"]})>0){$ypysviw="p\x71\x74\x79";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x73\x74k\x71\x63\x62\x71\x68\x6c\x71i"]}=mysqli_fetch_assoc(${${"GL\x4f\x42\x41\x4c\x53"}["tr\x6f\x63\x67\x78\x70\x71\x78q"]});${$ypysviw}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x73\x6a\x76\x6eis"]}+${${"\x47\x4c\x4f\x42ALS"}["x\x73\x74\x6b\x71cb\x71\x68l\x71\x69"]}["pqty"];}mysqli_query(${${"\x47\x4cO\x42AL\x53"}["y\x73\x74\x61\x74\x78\x67"]},"i\x6ese\x72t i\x6e\x74\x6f \x73\x6f\x5f\x72ec\x65iv\x65_h\x69\x73tor\x79(\x73\x6fid,\x20\x69t\x65mi\x64,\x20\x62ar\x63o\x64\x65, \x73up\x70\x69\x64,\x20\x71\x74\x79,\x20p\x71\x74y,\x20\x64a\x74e\x73, t\x69me\x73,\x20uid,\x20\x73t\x61\x74us) \x76al\x75e\x73\x20( '$soid' ,'$poitemid', \x27$barcode',\x20'$suppid', \x27$qty\x27, \x27$pqty\x27, '$cdate\x27,\x20\x27$ctime\x27, \x27$uid', '$status')")or die(mysqli_error(${$jwqkukr}));}elseif(${$rpxilogdb}=="\x55"){${"\x47L\x4f\x42\x41\x4cS"}["h\x75\x70j\x72d\x67\x64\x62"]="\x63\x6f\x6e";${${"G\x4c\x4fB\x41L\x53"}["\x74\x72\x6f\x63\x67\x78\x70\x71\x78\x71"]}=mysqli_query(${${"GLO\x42AL\x53"}["ho\x73\x70f\x73"]},"\x73e\x6c\x65\x63\x74\x20sum(\x70q\x74\x79) as pqty fro\x6d pu\x72\x63has\x65_order_d\x65t\x20w\x68\x65r\x65\x20\x70qty<\x3e\x30 a\x6e\x64\x20\x62\x61\x72\x63o\x64e\x3d'$barcode\x27\x20\x61\x6e\x64 \x73\x6fi\x64\x3d'$soid\x27")or die(mysqli_error(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["hu\x70\x6a\x72\x64\x67\x64\x62"]}));$qosgzdvlfxak="\x64\x61t\x61";$oumvevuyy="d\x61\x74a";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6bf\x65y\x6f\x74mv"]="c\x6f\x6e";${"\x47\x4cO\x42\x41\x4c\x53"}["ix\x6e\x68\x6b\x63\x6cb\x70"]="\x73q\x6c";${$oumvevuyy}=mysqli_fetch_assoc(${${"G\x4cOB\x41\x4cS"}["i\x78n\x68\x6b\x63\x6c\x62\x70"]});${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x76\x69\x77\x65\x6d\x74u"]}=${$qosgzdvlfxak}["pq\x74y"];mysqli_query(${${"G\x4c\x4f\x42A\x4c\x53"}["hosp\x66\x73"]},"\x69nse\x72t\x20i\x6et\x6f\x20\x73\x6f_\x72e\x63\x65\x69v\x65_hi\x73t\x6fr\x79(s\x6f\x69\x64,\x20i\x74e\x6did, \x62\x61r\x63od\x65, s\x75p\x70id, q\x74y,\x20pqt\x79,\x20d\x61\x74\x65\x73,\x20\x74\x69\x6de\x73,\x20\x75\x69\x64,\x20\x73ta\x74\x75\x73) \x76a\x6c\x75\x65\x73 (\x20'$soid\x27\x20,\x27$poitemid\x27, '$barcode\x27, '$suppid', '$qty', '$pqty\x27,\x20'$cdate',\x20\x27$ctime\x27, \x27$uid\x27,\x20'$status')")or die(mysqli_error(${${"\x47\x4cO\x42\x41L\x53"}["\x6b\x66e\x79\x6ft\x6d\x76"]}));}elseif(${${"\x47LOB\x41\x4c\x53"}["pv\x63vd\x71p\x72"]}=="T"){${"GL\x4fB\x41L\x53"}["\x70\x74\x6ft\x6e\x71"]="\x63\x6fn";mysqli_query(${${"GL\x4f\x42\x41\x4c\x53"}["\x70\x74\x6f\x74n\x71"]},"\x69n\x73\x65\x72t i\x6e\x74\x6f \x73\x6f_r\x65\x63ei\x76e_h\x69\x73t\x6fr\x79(\x73o\x69\x64,\x20\x69t\x65m\x69\x64, ba\x72\x63od\x65, s\x75p\x70id,\x20q\x74\x79, pqt\x79, \x64\x61t\x65\x73,\x20\x74i\x6des,\x20uid, s\x74\x61tus) v\x61\x6cue\x73 ( \x27$soid'\x20,\x27$poitemid', '$barcode', '$suppid', \x27$qty\x27, \x270\x27,\x20\x27$cdate', '$ctime', '$uid\x27,\x20'$status')")or die(mysqli_error(${${"\x47\x4cO\x42AL\x53"}["\x68o\x73\x70\x66\x73"]}));}elseif(${$iomkgkzpeiv}=="R"){${"G\x4cO\x42\x41L\x53"}["ha\x6fk\x75\x72kh\x72\x6cw"]="\x63o\x6e";${"GLO\x42\x41\x4cS"}["\x6dt\x72e\x75\x74h\x6c\x65"]="d\x61ta";$ryxsiyrx="sq\x6c";$oswsoix="\x64\x61ta";${$ryxsiyrx}=mysqli_query(${${"G\x4c\x4f\x42A\x4c\x53"}["ho\x73\x70fs"]},"\x73e\x6c\x65ct\x20\x70qty\x20\x66r\x6f\x6d \x73\x6f\x5frece\x69\x76\x65\x5fh\x69stor\x79 \x77he\x72e s\x6fid\x3d\x27$soid\x27\x20a\x6ed\x20\x62\x61\x72\x63ode\x3d'$barcode\x27 \x6f\x72d\x65\x72\x20by hi\x64\x20de\x73\x63\x20\x6c\x69\x6di\x74\x20\x31")or die(mysqli_error(${${"\x47L\x4f\x42\x41L\x53"}["\x68\x61\x6f\x6b\x75\x72\x6bh\x72\x6c\x77"]}));${${"\x47\x4cOBA\x4c\x53"}["\x6d\x74\x72\x65\x75th\x6ce"]}=mysqli_fetch_assoc(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["t\x72\x6fcg\x78\x70q\x78\x71"]});if(${$oswsoix}["\x70\x71\x74\x79"]>${${"\x47L\x4f\x42A\x4c\x53"}["\x74s\x6av\x6e\x69\x73"]}){$jvisew="\x71\x74\x79";$xfhtyphflh="d\x61\x74\x61";${${"\x47L\x4f\x42\x41L\x53"}["\x74\x76\x69\x77\x65\x6dt\x75"]}=${$xfhtyphflh}["\x70\x71ty"]-${$jvisew};}else{${"\x47\x4cO\x42\x41L\x53"}["\x71\x6b\x71d\x69\x78kp\x73"]="\x64\x61\x74a";${"\x47\x4cOBAL\x53"}["\x77\x75\x64j\x63\x6e\x68vf"]="\x71\x74\x79";${${"\x47\x4cOB\x41\x4c\x53"}["\x74\x76i\x77\x65\x6d\x74\x75"]}=${${"G\x4c\x4f\x42A\x4c\x53"}["wudj\x63\x6e\x68\x76\x66"]}-${${"\x47\x4c\x4f\x42ALS"}["q\x6b\x71\x64ixkps"]}["\x70qt\x79"];}mysqli_query(${${"\x47L\x4f\x42\x41\x4cS"}["\x68\x6fspfs"]},"\x69nsert\x20i\x6et\x6f \x73\x6f\x5fre\x63\x65\x69\x76\x65\x5f\x68\x69\x73to\x72y(s\x6f\x69\x64, \x69\x74\x65mid,\x20b\x61\x72\x63\x6f\x64\x65, sup\x70\x69\x64, \x71\x74\x79,\x20\x70\x71ty,\x20\x64a\x74\x65s,\x20\x74\x69mes, uid, stat\x75s) \x76alues\x20(\x20'$soid\x27 ,\x27$poitemid\x27, '$barcode',\x20\x27$suppid\x27, '$qty\x27,\x20\x27$pqty', \x27$cdate\x27,\x20'$ctime\x27,\x20\x27$uid',\x20'$status')")or die(mysqli_error(${${"G\x4cO\x42\x41\x4c\x53"}["\x68o\x73\x70f\x73"]}));}}function getbankname($id){${"\x47\x4c\x4fBAL\x53"}["\x73\x64\x6er\x78\x61w\x73x\x61w"]="\x63\x6f\x6e";global$con;${${"\x47LOB\x41L\x53"}["\x73\x6d\x65uj\x70pn"]}=mysqli_fetch_assoc(mysqli_query(${${"\x47\x4c\x4fBA\x4c\x53"}["\x73d\x6er\x78\x61w\x73\x78\x61\x77"]},"sel\x65c\x74 b\x6eame\x20 \x66\x72\x6f\x6d mas\x74er_ban\x6b\x20wh\x65r\x65\x20\x62i\x64\x20='$id\x27"));$rnqnhixliu="\x72ow";echo${$rnqnhixliu}["\x62\x6ea\x6de"];}function convert_number_to_words($number){$sezpomoe="n\x75\x6d\x62\x65\x72";${"\x47LO\x42\x41\x4c\x53"}["p\x73gs\x6bf\x6a"]="n\x75\x6d\x62\x65\x72";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["nntp\x66\x6bbeh"]="\x72e\x73ult";$dsixiubg="\x70oi\x6et";${$sezpomoe}=${${"\x47\x4c\x4fB\x41LS"}["p\x73gs\x6b\x66j"]};${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6dh\x62br\x7a\x79e"]="\x70\x6f\x69\x6e\x74";${${"\x47LO\x42\x41L\x53"}["d\x6e\x77\x79\x64\x66\x72\x62\x74l\x6c"]}=round(${${"\x47\x4c\x4fB\x41L\x53"}["r\x6c\x76\x75li\x68"]});${"\x47\x4c\x4f\x42AL\x53"}["\x77\x78i\x64\x6a\x6do\x69"]="\x64\x69\x67\x69t\x73";$oiffpmvt="\x68\x75\x6ed\x72\x65d";${"\x47\x4c\x4f\x42AL\x53"}["d\x65\x76\x68\x70fglk"]="\x6e\x6f";${${"G\x4c\x4f\x42A\x4c\x53"}["\x6d\x64\x62x\x7a\x6e\x73"]}=round(${${"\x47\x4c\x4fBAL\x53"}["\x72lv\x75\x6c\x69\x68"]}-${${"GL\x4f\x42\x41\x4cS"}["\x64\x6e\x77y\x64\x66r\x62\x74l\x6c"]},2)*100;${"\x47\x4cOBA\x4c\x53"}["xn\x67\x69\x6c\x65\x6ec\x77\x63r\x70"]="\x73\x74\x72";${$oiffpmvt}=null;${${"\x47L\x4f\x42A\x4cS"}["\x6e\x78wc\x71\x68\x64\x64\x69\x6d"]}=strlen(${${"G\x4c\x4f\x42\x41\x4c\x53"}["devh\x70fg\x6c\x6b"]});${${"\x47\x4cO\x42\x41\x4cS"}["\x79\x77\x77l\x62we\x69s\x64\x6co"]}=0;${${"\x47\x4cOB\x41\x4cS"}["\x63\x73s\x6e\x6c\x79w\x73g\x65"]}=array();${${"\x47\x4c\x4f\x42\x41LS"}["\x73\x69\x65\x71\x71\x74\x73\x69\x69\x6b"]}=array("\x30"=>"","\x31"=>"O\x6ee","2"=>"\x54w\x6f","3"=>"\x54\x68ree","4"=>"\x46\x6fur","5"=>"F\x69\x76\x65","\x36"=>"Six","\x37"=>"S\x65\x76en",
"8"=>"Eight","9"=>"N\x69\x6ee","\x310"=>"\x54\x65\x6e","1\x31"=>"Ele\x76\x65\x6e","12"=>"T\x77el\x76e","1\x33"=>"\x54\x68irte\x65n","\x314"=>"F\x6f\x75rt\x65en","\x315"=>"F\x69ftee\x6e","16"=>"S\x69\x78te\x65n","\x317"=>"\x53\x65\x76e\x6e\x74\x65en","1\x38"=>"E\x69gh\x74\x65\x65n","\x31\x39"=>"\x4e\x69ne\x74\x65\x65n","\x32\x30"=>"Tw\x65n\x74y","30"=>"\x54\x68irt\x79","4\x30"=>"F\x6f\x72\x74y","\x35\x30"=>"\x46i\x66\x74y","\x36\x30"=>"Si\x78\x74y","\x37\x30"=>"\x53\x65vent\x79","80"=>"\x45\x69\x67hty","\x390"=>"\x4ei\x6ee\x74y");${"\x47\x4cO\x42\x41\x4c\x53"}["f\x71h\x74\x6fq\x65\x6d"]="\x69";$ussftlonyr="\x77\x6frd\x73";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x77x\x69\x64j\x6d\x6f\x69"]}=array("","H\x75n\x64\x72\x65\x64","T\x68ou\x73a\x6e\x64","\x4ca\x6b\x68","Cr\x6f\x72\x65");while(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x71\x68\x74o\x71\x65m"]}<${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ex\x77\x63qhd\x64i\x6d"]}){$mnpodbb="d\x69v\x69d\x65\x72";${"\x47LOB\x41\x4c\x53"}["\x64\x65\x69\x77\x76\x64\x78\x62h\x6c\x67p"]="\x6e\x6f";$mjpuaekpf="\x6e\x6f";${${"\x47\x4c\x4fB\x41\x4cS"}["\x6c\x66c\x75\x63r\x6a\x69"]}=(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79w\x77\x6c\x62\x77\x65i\x73d\x6c\x6f"]}==2)?10:100;$kwgasie="i";$xqcqbbb="d\x69\x76i\x64\x65\x72";${${"\x47L\x4f\x42\x41L\x53"}["\x72\x6c\x76\x75li\x68"]}=floor(${${"\x47LOB\x41\x4c\x53"}["\x64e\x69\x77vd\x78\x62h\x6c\x67\x70"]}%${$mnpodbb});${${"\x47\x4c\x4f\x42A\x4cS"}["\x64\x6e\x77\x79d\x66\x72\x62\x74\x6c\x6c"]}=floor(${$mjpuaekpf}/${${"G\x4cO\x42A\x4c\x53"}["\x6cf\x63u\x63\x72j\x69"]});${$kwgasie}+=(${$xqcqbbb}==10)?1:2;${"G\x4cOB\x41\x4cS"}["l\x6f\x70\x68\x6bf\x79g"]="\x73t\x72";if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72l\x76\x75\x6c\x69h"]}){${"\x47L\x4fBA\x4c\x53"}["x\x74o\x71f\x72dww"]="p\x6cur\x61\x6c";$spwkjbdw="wo\x72\x64\x73";${"\x47L\x4f\x42\x41\x4cS"}["\x6dixf\x69\x70\x79\x64\x63de"]="\x63\x6f\x75\x6e\x74e\x72";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6f\x75\x6ft\x76ev"]="nu\x6d\x62\x65\x72";$rlnoedvkgge="\x77\x6fr\x64\x73";${"\x47L\x4f\x42\x41\x4c\x53"}["b\x75\x6e\x63j\x76\x78w\x72x\x71"]="\x6e\x75\x6dbe\x72";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6a\x77\x79\x61\x78y\x76\x63\x66e\x65"]="st\x72";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6d\x70vt\x6c\x77\x73l\x65"]="\x68\x75\x6ed\x72\x65\x64";$zmtsboupwls="p\x6c\x75\x72al";${"G\x4c\x4fB\x41\x4cS"}["\x67\x78\x62jtps\x68\x6b\x73\x70"]="\x77\x6frds";${"G\x4cO\x42A\x4c\x53"}["u\x6cvkb\x6cup\x69"]="st\x72";$ilmqjmjh="pl\x75ral";${$ilmqjmjh}=((${${"\x47\x4cO\x42\x41L\x53"}["e\x72\x65\x70\x63\x72cy\x66\x71"]}=count(${${"\x47L\x4fBA\x4cS"}["c\x73s\x6e\x6c\x79w\x73ge"]}))&&${${"GL\x4fB\x41L\x53"}["\x72l\x76\x75\x6c\x69\x68"]}>9)?"s":null;$jxhvujk="d\x69g\x69\x74\x73";${${"\x47L\x4fBA\x4c\x53"}["\x77\x7ac\x6b\x77z"]}=(${${"\x47\x4cO\x42A\x4c\x53"}["e\x72\x65\x70\x63r\x63y\x66\x71"]}==1&&${${"\x47\x4cO\x42\x41L\x53"}["j\x77y\x61\x78\x79\x76\x63\x66\x65\x65"]}[0])?" \x61nd ":null;${${"\x47\x4c\x4f\x42\x41LS"}["u\x6c\x76\x6b\x62l\x75\x70i"]}[]=(${${"G\x4c\x4f\x42\x41L\x53"}["\x72l\x76u\x6c\x69\x68"]}<21)?${${"\x47\x4c\x4fBA\x4cS"}["g\x78\x62\x6a\x74ps\x68\x6b\x73p"]}[${${"G\x4c\x4f\x42\x41\x4c\x53"}["r\x6c\x76\x75\x6ci\x68"]}]." ".${$jxhvujk}[${${"\x47\x4c\x4f\x42A\x4c\x53"}["m\x69xf\x69\x70y\x64\x63de"]}].${$zmtsboupwls}." ".${${"G\x4c\x4fB\x41\x4c\x53"}["w\x7a\x63\x6bwz"]}:${$spwkjbdw}[floor(${${"G\x4cO\x42\x41\x4c\x53"}["\x62u\x6e\x63jv\x78wrx\x71"]}/10)*10]." ".${$rlnoedvkgge}[${${"\x47\x4c\x4f\x42A\x4cS"}["\x6f\x75o\x74vev"]}%10]."\x20".${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x66\x79z\x65k\x6f\x62"]}[${${"G\x4cOB\x41\x4c\x53"}["\x65\x72\x65p\x63r\x63\x79\x66\x71"]}].${${"\x47\x4c\x4fB\x41LS"}["\x78\x74o\x71f\x72dww"]}."\x20".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6d\x70\x76t\x6c\x77s\x6c\x65"]};}else${${"G\x4c\x4f\x42ALS"}["\x6c\x6f\x70\x68\x6b\x66\x79\x67"]}[]=null;}${${"\x47\x4c\x4f\x42AL\x53"}["\x78\x6eg\x69len\x63\x77c\x72\x70"]}=array_reverse(${${"GL\x4f\x42A\x4c\x53"}["c\x73\x73\x6el\x79\x77\x73g\x65"]});$pqijwbc="\x70\x6f\x69nt";${${"\x47\x4cOB\x41L\x53"}["\x6e\x6et\x70f\x6b\x62\x65h"]}=implode("",${${"G\x4c\x4f\x42\x41\x4cS"}["\x63\x73s\x6elyw\x73\x67\x65"]});${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x79g\x73vb\x62\x6c\x7a\x6d"]}=(${$dsixiubg})?".".${${"\x47\x4c\x4f\x42A\x4cS"}["s\x69\x65\x71\x71\x74\x73\x69\x69\x6b"]}[${${"\x47LOB\x41\x4c\x53"}["\x6d\x64\x62\x78\x7a\x6e\x73"]}/10]." ".${$ussftlonyr}[${${"G\x4c\x4f\x42\x41L\x53"}["\x6d\x68\x62br\x7ay\x65"]}=${$pqijwbc}%10]:"";return${${"\x47L\x4fB\x41L\x53"}["\x75g\x72c\x76\x68"]}."\x52upees\x20\x20";}function whatsapp_api(){${"G\x4c\x4f\x42A\x4c\x53"}["\x70l\x6d\x77\x64\x7a\x73j\x68\x73"]="\x6e\x75\x6d";$licqrsqls="c\x6f\x6e";$nxohndy="\x73\x71l";${"G\x4c\x4f\x42\x41LS"}["\x67p\x61h\x61y"]="\x73q\x6c";${"G\x4cOB\x41LS"}["\x6b\x75\x78\x78\x6a\x62z\x69\x70"]="\x6e\x75\x6d";global$con;${$nxohndy}=mysqli_query(${$licqrsqls},"\x73e\x6ce\x63\x74\x20\x61p\x69k\x65\x79\x20\x66\x72\x6fm\x20\x6d\x61st\x65r\x5f\x77\x68a\x74\x73app\x5fc\x6f\x6efi\x67\x20where \x73\x74a\x74\x75\x73\x3d\x27\x45\x6eabl\x65'\x20\x61nd \x6c\x6fcid\x20= \x27".$_SESSION["\x6co\x63_de\x66ault"]."'")or die(mysqli_error(${${"GLO\x42\x41\x4c\x53"}["\x68\x6f\x73\x70\x66\x73"]}));${${"\x47L\x4f\x42\x41\x4cS"}["\x70\x6c\x6dwdzs\x6a\x68s"]}=mysqli_num_rows(${${"\x47\x4c\x4fBAL\x53"}["g\x70\x61\x68\x61y"]});${${"\x47LO\x42\x41\x4c\x53"}["t\x65\x67ssn\x6f\x72"]}="";if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6bu\x78\x78\x6ab\x7a\x69\x70"]}==1){$krcvgxr="s\x71\x6c";${"\x47\x4cOBAL\x53"}["kv\x79\x79k\x78\x78b"]="\x72\x6f\x77";${"\x47\x4c\x4f\x42A\x4cS"}["\x72\x69s\x70d\x6b\x63"]="r\x6fw";$dhxijqrbn="\x61\x70i\x6bey";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6bv\x79y\x6b\x78xb"]}=mysqli_fetch_assoc(${$krcvgxr});${$dhxijqrbn}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["r\x69\x73\x70\x64\x6b\x63"]}["a\x70ikey"];}return${${"\x47LO\x42\x41\x4c\x53"}["t\x65g\x73\x73nor"]};}function sendwhatsapp($mobile,$message){${"G\x4c\x4f\x42\x41\x4c\x53"}["fd\x69ib\x68\x78j"]="\x6de\x73sa\x67\x65";$ykjnsdwydzh="\x6d\x6f\x62i\x6c\x65";${${"G\x4cO\x42\x41\x4cS"}["\x70ox\x79o\x73\x69\x78"]}="+91".${$ykjnsdwydzh};${${"G\x4c\x4f\x42A\x4cS"}["f\x64i\x69bh\x78\x6a"]}=urlencode(${${"G\x4cO\x42ALS"}["y\x77\x70\x6b\x6a\x63"]});$gulscxklt="c\x75r\x6c";$tocsxq="e\x72\x72";${${"\x47\x4cOB\x41\x4c\x53"}["\x74\x65\x67s\x73\x6e\x6f\x72"]}=whatsapp_api();${${"\x47L\x4fBAL\x53"}["\x66ck\x6b\x63it"]}=curl_init();curl_setopt_array(${$gulscxklt},array(CURLOPT_URL=>"\x68\x74\x74p://pa\x6e\x65l\x2e\x61\x70i\x77\x68a.co\x6d/s\x65\x6e\x64_m\x65ssa\x67e.ph\x70?\x61p\x69k\x65\x79=$apikey&\x6eum\x62\x65r=$mobile&\x74e\x78\x74=$message",CURLOPT_RETURNTRANSFER=>true,CURLOPT_ENCODING=>"",CURLOPT_MAXREDIRS=>10,CURLOPT_TIMEOUT=>30,CURLOPT_HTTP_VERSION=>CURL_HTTP_VERSION_1_1,CURLOPT_CUSTOMREQUEST=>"G\x45\x54",));$oowpjtrfrl="c\x75\x72\x6c";${${"\x47\x4cO\x42A\x4cS"}["\x62\x66\x70b\x75\x6a"]}=curl_exec(${${"G\x4cO\x42A\x4cS"}["\x66\x63\x6b\x6bc\x69\x74"]});${$tocsxq}=curl_error(${${"GL\x4f\x42\x41\x4c\x53"}["\x66\x63\x6b\x6b\x63\x69\x74"]});curl_close(${$oowpjtrfrl});return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x66pbuj"]};}function getHsnCode($scatid,$comid,$cstatus,$ref_type){global$con;${"\x47\x4cO\x42\x41\x4c\x53"}["\x67\x68\x6e\x78n\x6e\x6do"]="\x63\x73t\x61\x74\x75\x73";$vvlxgixyf="\x73\x71\x6c";if(${${"\x47L\x4f\x42\x41L\x53"}["\x67\x68\x6ex\x6e\x6e\x6d\x6f"]}=="\x73c\x61tid"){${"G\x4cO\x42\x41\x4c\x53"}["\x78\x6bj\x75\x64w\x79i\x75sr"]="\x73\x63\x61t\x69\x64";${"G\x4cOB\x41L\x53"}["e\x63\x63p\x61\x63w\x6dj\x64"]="\x63\x6fn";${${"\x47LO\x42\x41L\x53"}["\x74r\x6f\x63\x67\x78p\x71\x78\x71"]}=mysqli_query(${${"G\x4c\x4fB\x41\x4cS"}["ecc\x70\x61c\x77m\x6a\x64"]},"s\x65\x6ce\x63\x74 hsnco\x64\x65 f\x72om\x20\x6d\x61\x73t\x65\x72\x5fsubc\x61\x74e\x67\x6fry \x77\x68e\x72\x65\x20\x73\x63a\x74\x69\x64\x3d\x27".${${"\x47\x4c\x4fB\x41\x4cS"}["\x78\x6b\x6a\x75\x64\x77\x79i\x75sr"]}."\x27")or die(mysqli_error());}else{$ncnsichb="c\x6fm\x69d";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x77s\x66\x6e\x6eq"]="\x63on";$okiskgw="\x73ql";${$okiskgw}=mysqli_query(${${"\x47L\x4f\x42\x41\x4cS"}["\x6a\x77s\x66\x6e\x6e\x71"]},"\x73e\x6c\x65ct\x20h\x73n\x63od\x65\x20\x66ro\x6d ba\x72\x5f\x63\x6fmb\x69\x6ea\x74ion wh\x65\x72e\x20\x63o\x6did\x3d\x27".${$ncnsichb}."'")or die(mysqli_error());}if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73me\x75jpp\x6e"]}=mysqli_fetch_assoc(${$vvlxgixyf})){$exsqwqfkqn="\x72\x6f\x77";return${$exsqwqfkqn}["\x68s\x6ec\x6f\x64\x65"];}else{return"";}}include_once"\x74ax\x5ff\x75n\x63\x74io\x6es.p\x68\x70";include_once"\x6e\x65w_\x66u\x6ec\x74i\x6f\x6e\x73.p\x68p";
?>
Function Calls
None |
Stats
MD5 | 950e078389c41402e27b1d0d6c913ad4 |
Eval Count | 0 |
Decode Time | 465 ms |