Waraxe IT Security Portal
Login or Register
November 24, 2024
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 52
Members: 0
Total: 52
Full disclosure
APPLE-SA-11-19-2024-5 macOS Sequoia 15.1.1
Local Privilege Escalations in needrestart
APPLE-SA-11-19-2024-4 iOS 17.7.2 and iPadOS 17.7.2
APPLE-SA-11-19-2024-3 iOS 18.1.1 and iPadOS 18.1.1
APPLE-SA-11-19-2024-2 visionOS 2.1.1
APPLE-SA-11-19-2024-1 Safari 18.1.1
Reflected XSS - fronsetiav1.1
XXE OOB - fronsetiav1.1
St. Poelten UAS | Path Traversal in Korenix JetPort 5601
St. Poelten UAS | Multiple Stored Cross-Site Scripting in SEH utnserver Pro
Apple web content filter bypass allows unrestricted access to blocked content (macOS/iOS/iPadOS/visionO S/watchOS)
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> PLS decode two files...
Post new topicReply to topic View previous topic :: View next topic
PLS decode two files...
PostPosted: Thu Sep 01, 2011 7:29 am Reply with quote
andr0id
Regular user
Regular user
Joined: Jul 26, 2011
Posts: 11




scart
Code:
<?php /* Reverse engineering of this file is strictly prohibited. File protected by copyright law and provided under license. */ if(!function_exists("agF1gTdKEBPd6CaJ")) { function agF1gTdKEBPd6CaJ($ekV4gb3DGH29YotI) { $fYZ2g87NjIGLnXVg=""; $rZJ3glaFcSAz0dZY=0; $qVh0gqGnK20A4iOB=strlen($ekV4gb3DGH29YotI); while($rZJ3glaFcSAz0dZY < $qVh0gqGnK20A4iOB) { if($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY] == ' ') { $fYZ2g87NjIGLnXVg.=" "; } else if($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY] == '!') { $fYZ2g87NjIGLnXVg.=chr((ord($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY+1])-ord('A'))*16+(ord($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY+2])-ord('a'))); $rZJ3glaFcSAz0dZY+=2; } else { $fYZ2g87NjIGLnXVg.=chr(ord($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY])+1); } $rZJ3glaFcSAz0dZY++; } return $fYZ2g87NjIGLnXVg; } }eval(agF1gTdKEBPd6CaJ('qdpthqd!Ci&hmbktcdr.`ookhb`shnm^sno-ogo&(: qdpthqd!CiCHQ^VR^K@MFT@FDR - !Cek`mft`fd - &.rgnoohmf^b`qs-ogo&(: !Cesdjr^m`ld < rsqonr!Cia`rd53^cdbncd!CiBNNJHD^SLO(+a`rd53^cdbncd!Ci&R2I4b1kg`v<<&((: !Cesdjr^ehql` < rsqonr!Cia`rd53^cdbncd!CiBNNJHD^SLO(+a`rd53^cdbncd!Ci&a2MiQ18rY@<<&((: he !Ci!Cesdjr^m`ld <<< E`krd {{ !Cesdjr^ehql` <<< E`krd( z gd`cdq!Ci&Knb`shnm9 gsso9..vvv-nrbfnkc-bnl&(: dwhs: | etmbshnm onc`i^hc!Ci!Cesdjrs( z !Cevxrs`ohdmhd < rsqonr!Ci!Cesdjrs+&z&(: he !Ci!Cihms(!Cevxrs`ohdmhd = /( z !Ceyvqnb < rtarsq!Ci!Cesdjrs+/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msr!Ci( = /( z he !CiCHROK@X^OQHBD^AQTSSN^MDSSN << &sqtd&( z !Cechrok`x^ma < 0: | dkrd z !Cechrok`x^ma < /: | !Ce`mx^nts^ne^rsnbj < /: !Ceoqnctbsr < !Ceb`qs,=fds^oqnctbsr!Ci(: enq !Ci!Ceh</+ !Cem<rhydne!Ci!Ceoqnctbsr(: !Ceh;!Cem: !Ceh**( z !Akhe !Cihrrds!Ci!CeoqnctbsrZ!Ceh!FnZ&`ssqhatsdr&!Fn( %% hr^`qq`x!Ci!CeoqnctbsrZ!Ceh!FnZ&`ssqhatsdr&!Fn(( z vghkd !Cikhrs!Ci!Cenoshnm+ !Ceu`ktd( < d`bg!Ci!CeoqnctbsrZ!Ceh!FnZ&`ssqhatsdr&!Fn(( z !Ce`ssqhatsdr < sdo^ca^ptdqx!Ci!Ccr[w54k[w54[w52[053 o[046[05/[w63-o[051[w5e[w53tb[053[052^[046[05/[053[040n[w5d[052^m[030[044[034+ [05/[046[05/[053-oqn[033[w64[032[w63[w62^[w5e[w6/[053[w58[w5e[w5dr^[w63[w61[w50[032[042^[w62[w63n[032[w5a+ [05/[w5e[055[w50[043-[w6/[051[046[w53[054[w52sr^[046osh[w5em[w62^u[w50[043[w64[w54r^m`l[w54+ [05/[w50-[w5eo[w63[040n[w5d[052^[055[030k[054[w54r^[w6/[051h[032[w54+ [w6/`-[w6/q[w58bd^oq[w54[035[040[w67!Ak!Aj e[051[046l !Cc - S@AKD^OQNCTBSR^NOSHNMR - !Cc [05/[046[w6/[053+ !Cc - S@AKD^OQNCTBSR^NOSHNMR^U@KTDR - !Cc [w6/[w5e[w65[w50[043+ !Cc - S@AKD^OQNCTBSR^@SSQHATSDR - !Cc o[w50!Ak!Aj [056[04/[034qd o[w50-o[051[046[033[w64[w52[053r^[w58c < &!Cc - !Cihms(!CeoqnctbsrZ!Ceh!FnZ&hc&!Fn - !Cc&!Ak!Aj `[045[033 o[w50-[046[w6/[053h[046[045r^h[033 < &!Cc - !Cihms(!Cenoshnm - !Cc&!Ak!Aj `[w5d[033 o[w50-[046[w6/s[040[w5e[045r^hc < o[046[05/s-oq[046[033[w64[w52[w63[w62^[w5e[w6/[w63[040[w5em[052^[w58[033!Ak!Aj `m[w53 [w6/[030-noshn[w5d[w62^[w65[w50k[054[w54[w62^[040[w53 < &!Cc - !Cihms(!Ceu`ktd - !Cc&!Ak!Aj `m[w53 [05/[030-[046[05/[w63h[046[w5d[052^[055[w50k[w64[034[052^[040[033 < [w6/n[w65[w50[w5b-o[w61n[033tb[w63r^no[w63h[046m[w62^u[030k[054[w54r^[040c!Ak!Aj [w50[045c [05/[w5e[w6/s-k[030[045f[054[030f[034^[w58[033 < &!Cc - !Cihms(!Cek`mft`fdr^hc - !Cc&!Ak!Aj `[045[w53 o[046[w65[030[w5b-k[030[045[w56[w64[w50[w56[w54^[w58[w53 < &!Cc - !Cihms(!Cek`mft`fdr^hc - !Cc&!Cc(: !Ce`ssqhatsdr^u`ktdr < sdo^ca^edsbg^`qq`x!Ci!Ce`ssqhatsdr(: !CeoqnctbsrZ!Ceh!FnZ!Cenoshnm!FnZ&oqnctbsr^noshnmr^m`ld&!Fn < !Ce`ssqhatsdr^u`ktdrZ&oqnctbsr^noshnmr^m`ld&!Fn: !CeoqnctbsrZ!Ceh!FnZ!Cenoshnm!FnZ&noshnmr^u`ktdr^hc&!Fn < !Ceu`ktd: !CeoqnctbsrZ!Ceh!FnZ!Cenoshnm!FnZ&oqnctbsr^noshnmr^u`ktdr^m`ld&!Fn < !Ce`ssqhatsdr^u`ktdrZ&oqnctbsr^noshnmr^u`ktdr^m`ld&!Fn: !CeoqnctbsrZ!Ceh!FnZ!Cenoshnm!FnZ&noshnmr^u`ktdr^oqhbd&!Fn < !Ce`ssqhatsdr^u`ktdrZ&noshnmr^u`ktdr^oqhbd&!Fn: !CeoqnctbsrZ!Ceh!FnZ!Cenoshnm!FnZ&oqhbd^oqdehw&!Fn < !Ce`ssqhatsdr^u`ktdrZ&oqhbd^oqdehw&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nZ!Cenoshnm!FnZ&oqnctbsr^noshnmr^u`ktdr^m`ld&!Fn - &;.h=;.ro`m=&: !Ceoqnctjs^rl`kk -< &;aq=;ro`m bk`rr<!Ccsdwsbdbg`!Cc=;h= , & - !CeoqnctbsrZ!Ceh!FnZ!Cenoshnm!FnZ&oqnctbsr^noshnmr^m`ld&!Fn - & & - !CeoqnctbsrZ!Ceh!FnZ!Cenoshnm!FnZ&oqnctbsr^noshnmr^u`ktdr^m`ld&!Fn - &;.h=;.ro`m=&: | | !Ak !Akhe !Ci!Cbsdo^rdrrhnm^hr^qdfhrsdqdc!Ci&btrsnldq^hc&(( z !Cerdri` < sdo^rdrrhnm^hc!Ci(: | dkrd z !Cerdri` < !Cihms(!Cebtrsnldq^hc: | !Ceohc < !CeoqnctbsrZ!Ceh!FnZ&hc&!Fn: !Ce`ssq^p < sdo^ca^ptdqx!Ci!Ccr[034[043[034b[053 b[031s[w50-)+ os`-[w6/[w61[w5e[w53tb[053r^sdw[053^[w50[w63[w63[051[w58[031[w64[053d[052^m[w50[w5cd [035[w61nl [w52[w64[w62s[046ld[w61[w62^[w51[030r[042[034[w63^[053[034w[053^[030[w63[053q[040[w51[054s[034r [w50r b[031[053[030+ [05/[w61[046[w53[054[032s[w62^[053d[06/s^[w50s[w63qh[031ts[034[052 [030[w62 os[030 [056g[034qd [032as`-[w6/[051n[033[w64b[w63r^[053dw[053^[030[w63[w63[051[w58[w51[054[w63[034[w62^[w58[033 < [05/[053`-[05/[w61[046[w53t[w52[053r^[w63d[06/s^[030[w63sqh[031[w64sd[w62^h[033 [w50[w5d[033 [032[031[053[w50-o[051n[033[w64b[w63r^hc < &!Cc - !Ceohc - !Cc& [030[w5d[w53 [032[031s`-[w62[w54r[w62h[046[045^[040[033 < &!Cc -!Cerdri`- !Cc&!Cc(: vghkd !Ci!Ce`ssq < sdo^ca^edsbg^`qq`x!Ci!Ce`ssq^p(( z !CeoqnctjsZ!Ceh!Fn -< &;aq=;ro`m bk`rr<!Ccsdwsbdbg`!Cc=;h= , & - !Ce`ssqZ&oqnctbsr^sdws^`ssqhatsdr^m`ld&!Fn - & & - rsqhork`rgdr!Ci!Ce`ssqZ&oqnctbsr^sdws^`ssqhatsdr^sdws&!Fn( - &;.h=;.ro`m=&: !Ceoqnctjs^rl`kk -< &;aq=;ro`m bk`rr<!Ccsdwsbdbg`!Cc=;h= , & - !Ce`ssqZ&oqnctbsr^sdws^`ssqhatsdr^m`ld&!Fn - & & - rsqhork`rgdr!Ci!Ce`ssqZ&oqnctbsr^sdws^`ssqhatsdr^sdws&!Fn( - &;.h=;.ro`m=&: | !Akhmbktcd!Ci&hmbktcdr.lnctkdr.oce^dyhdq^mdv^ehdkcr-ogo&(: !CeoqnctjsZ!Ceh!Fn -< &;sq=;sc `khfm<!Ccqhfgs!Cc=&-!Cebh`f^sdjrst-&;.sc=;.sq=;.s`akd=;.sc=;.sq=;.s`akd=&: !Ak!Ceoqnctbs^nohr < sdo^ca^ptdqx!Ci!Cc[052d[043db[w63 o-[w6/[w61nc[w64b[053r^[033d[052[w52[w61h[05/s[w58n[w5d [w55[w61[w5e[w5c !Cc - S@AKD^OQNCTBSR^CDRBQHOSHNM - !Cc [w6/+ !Cc - S@AKD^OQNCTBSR - !Cc [032 vgd[w61d [w6/-[w6/q[w5ec[w64[w52[w63r^h[w53 < &!Cc - !Cihms(onc`i^hc!Ci!CeoqnctbsrZ!Ceh!FnZ&hc&!Fn( - !Cc& [w50[w5d[w53 [05/-o[051n[w53[054[w52[053[052^[040[w53 < b-[w6/[051[w5e[033t[w52[053[052^[040[w53 [030[w5dc o-[w5b[030m[w56[054`f[034^hc < &!Cc - !Cek`mft`fdr^hc - !Cc&!Cc(: !Ceoqnctbs` < sdo^ca^edsbg^`qq`x!Ci!Ceoqnctbs^nohr(: !Cenohr < &;chu rsxkd<!Cco`cchmf,sno91/ow!Cc=&-!Ceoqnctbs`Z&oqnctbsr^cdrbqhoshnm&!Fn-&;.chu=&: !CeoqnctjsZ!Ceh!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ccsdws!Cc=&-SDWS^MDSSN-&;.ro`m=;aq=& - !Cebtqqdmbhdr,=enql`s!Ci!Ceb`qs,=rgnv^sns`k!Ci(( - &;ro`m bk`rr<!Ccsdws!Cc=&-SDWS^AQTSSN-&;.ro`m=&: | dkrd z !Certl` -< !Cebtqqdmbhdr,=enql`s!Ci!Ceb`qs,=rgnv^sns`k!Ci((: | | dkrd z !Certl` -< OQHBDR^KNFFDC^HM^SDWS: | !Ak!Ceaq`jtid < &&: he !Ci!Ce`mx^nts^ne^rsnbj << 0( z he !CiRSNBJ^@KKNV^BGDBJNTS << &sqtd&( z !Ceaq`jtid < NTS^NE^RSNBJ^B@M^BGDBJNTS: | dkrd z !Ceaq`jtid < NTS^NE^RSNBJ^B@MS^BGDBJNTS: | | !Ak!Celhmhl`kmd < &&: he !Cisdo^rdrrhnm^hr^qdfhrsdqdc!Ci&btrsnldq^hc&(( z !Ceptdqx < sdo^ca^ptdqx!Ci!Ccr[034kd[w52[053 [w56-[032[054[052[w63[046[w5c[034q[w62^f[w61[w5e[w64[w6/r^l[w58m^[w50l[w5e[054ms [035[w61[046[w5c !Cc - S@AKD^BTRSNLDQR^FQNTOR - !Cc [w56 [040[045[045dq [041[046hm !Cc - S@AKD^BTRSNLDQR - !Cc [w52 n[w5d [w56-[032t[w62sn[w5c[w54[051[052^[036[051n[w64o[052^h[w53 < b-b[054[052[053nl[034[w61[w62^fqnt[05/[w62^[040[w53 [w50[045c [032-b[054r[053n[w5c[w54[051[w62^[w58[033 < &!Cc - !Cebtrsnldq^hc - !Cc&!Cc(: !Ceptdqx^qdrtks < sdo^ca^edsbg^`qq`x!Ci!Ceptdqx(: !Cebtrsnldqr^fqntor^lhm^`lntms < !Ceptdqx^qdrtksZ&btrsnldqr^fqntor^lhm^`lntms&!Fn: he !Ci!Ceb`qs,=rgnv^sns`k!Ci( ; !Cebtrsnldqr^fqntor^lhm^`lntms( z !Celhmhl`kmd < roqhmse!CiSDWS^NQCDQ^TMCDQ^LHM^@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egslk < rsq^qdok`bd!Ci&!>V!=[&+ &y&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!=]&+ &y&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!:U&+ &@&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!:W&+ &B&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!;Y&+ &D&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!:R&+ &K&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!:T&+ &M&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>T!;T&+ &N&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!;[&+ &R&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!=Z&+ &Y&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!=\&+ &Y&+ !Cegslk(: !Celoce<mdv lOCE!Ci&vhm,0140&+&@3&+&8&+&&+4+4+0/+0/+4+4(: | dkrd z !Celoce<mdv lOCE!Ci&hrn,7748,1&+&@3&+&8&+&&+4+4+0/+0/+4+4(: | he !CiOCE^RGNV^V@SDQL@QJ << &sqtd&( z !Celoce,=rdsTmu`khc`sdcSdws!CiTOCE^YM@J^M@YV@(: !Celoce,=SnohbHrTmu`khc`sdc < 0: | !Celoce,=RdsGSLKGd`cdq!Ci&;chu `khfm<!Ccqhfgs!Cc rsxkd<!Ccenms,e`lhkx9 Cdi`UtR`mrBnmcdmrdc+ r`mr,rdqhe+ S`gnl`+ @qh`k:enms,rhyd9 7os: bnknq9!Cd//////: anqcdq,anssnl90ow rnkhc !Cd//////!Cc=&-GD@CHMF^RGNO^HMEN-&;.chu=&(: !Ak!Celoce,=RdsGSLKEnnsdq!Ci&;chu `khfm<!Cckdes!Cc rsxkd<!Ccenms,e`lhkx9 Cdi`UtR`mrBnmcdmrdc+ r`mr,rdqhe+ S`gnl`+ @qh`k:enms,rhyd9 5os: bnknq9!Cd//////:!Cc=Vxfdmdqnv`mn v oqnfq`lhd vvv-nrbFnkc-bnl;.chu=&(: !Celoce,=@ccO`fd!Ci(: !Ak!Cersxkdrgdds < ehkd^fds^bnmsdmsr!Ci&loce.brr.ocergnoohmfb`qs-brr&(: !Celoce,=VqhsdGSLK!Ci!Cersxkdrgdds+0(: !Celoce,=VqhsdGSLK!Ci!Cegslk+1(: !Celoce,=Ntsots!Ci&jnryxj-oce&+&H&(: dwhs: qdpthqd!CiCHQ^VR^HMBKTCDR - &`ookhb`shnm^anssnl-ogo&(: ')); ?>



and datas

Code:
<?php /* Reverse engineering of this file is strictly prohibited. File protected by copyright law and provided under license. */ if(!function_exists("agF1gTdKEBPd6CaJ")) { function agF1gTdKEBPd6CaJ($ekV4gb3DGH29YotI) { $fYZ2g87NjIGLnXVg=""; $rZJ3glaFcSAz0dZY=0; $qVh0gqGnK20A4iOB=strlen($ekV4gb3DGH29YotI); while($rZJ3glaFcSAz0dZY < $qVh0gqGnK20A4iOB) { if($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY] == ' ') { $fYZ2g87NjIGLnXVg.=" "; } else if($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY] == '!') { $fYZ2g87NjIGLnXVg.=chr((ord($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY+1])-ord('A'))*16+(ord($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY+2])-ord('a'))); $rZJ3glaFcSAz0dZY+=2; } else { $fYZ2g87NjIGLnXVg.=chr(ord($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY])+1); } $rZJ3glaFcSAz0dZY++; } return $fYZ2g87NjIGLnXVg; } }eval(agF1gTdKEBPd6CaJ('qdpthqd!Ci&hmbktcdr.`ookhb`shnm^sno-ogo&(: qdpthqd!CiCHQ^VR^K@MFT@FDR - !Cek`mft`fd - &.oce^c`s`rgdds-ogo&(: !Cesdjr^m`ld < rsqonr!Cia`rd53^cdbncd!CiBNNJHD^SLO(+a`rd53^cdbncd!Ci&R2I4b1kg`v<<&((: !Cesdjr^ehql` < rsqonr!Cia`rd53^cdbncd!CiBNNJHD^SLO(+a`rd53^cdbncd!Ci&a2MiQ18rY@<<&((: he !Ci!Cesdjr^m`ld <<< E`krd {{ !Cesdjr^ehql` <<< E`krd( z gd`cdq!Ci&Knb`shnm9 gsso9..vvv-nrbfnkc-bnl&(: dwhs: | !Ak!Ceoqnctbs^hmen^ptdqx < sdo^ca^ptdqx!Ci!Cc[052[034k[034b[w63 o-[w6/[w61[w5e[w53t[w52[w63[w62^[040[w53+ [w6/[w53-[05/[051[046[w53[w64[032sr^[w5d[w50l[w54+ o[033-[w6/[051[046[033[054[w52s[052^[w53d[052[w52q[040[05/[053h[046m+ [w6/-[w6/[051[w5ect[032[w63r^[w5c[w5e[w53d[043+ [05/-[05/[051[046[033[w64bs[w62^[050t[030m[w63hsx+ o-o[051n[w53tb[w63[w62^h[044[030[w56d+ [05/-[w6/[051[046c[w64b[053[w62^[w58[w5c[030[036[034^[05/[046[w6/+ o[033-o[w61n[w53[w64[032[053[052^[w64[051[w5b+ [05/-o[051[w5e[033[054[032[w63[052^o[051[040[032d+ o-o[051[046ctb[053[052^[w61[w54s`[w58k^[05/[w61[040[032[w54+ o-[w6/[w61nc[054[w52[w63r^[053`w^[w52k[030[052[w62^[040c+ [w6/-[w6/[w61[w5e[w53[w64[032s[052^[w53[030[w63[w54^`[w53c[w54c+ [w6/-[05/q[046[w53[w64[w52[w63[w62^[033`[w63[w54^[w50u[w50[w58[w5b[w50a[043[034+ [05/-[w5c[w50[w5dt[035`b[053[w64[051d[w61[w62^[040[033+ o-[w6/[w61n[033[w64[w52[053[w62^`u[w50[040[043[w50a[w58kh[053[060^[040[w53+ [05/-[w6/[051[w5e[033[w64[w52[w63r^[044[030[06/[046[w61c[w54[051 e[051[w5e[w5c !Cc - S@AKD^OQNCTBSR - !Cc [w6/+ !Cc - S@AKD^OQNCTBSR^CDRBQHOSHNM - !Cc [05/[w53 [w66[w57d[051[034 [05/-o[w61[w5e[w53[054b[w63[w62^[w62s[w50[w63t[w62 < &0& `[w5dc o-[w6/q[046[w53[w64b[w63r^hc < &!Cc - !Cihms(!CeGSSO^FDS^U@QRZ&oqnctbsr^hc&!Fn - !Cc& [w50[w5d[033 [05/[w53-[w6/qnc[054[w52[w63r^[040[w53 < [05/-o[051[w5e[033tbsr^[040c [w50[045[w53 o[w53-[w5b[030[w5d[036[w64[w50f[034^[040c < &!Cc - !Cihms(!Cek`mft`fdr^hc - !Cc&!Cc(: !Ceoqnctbs^hmen < sdo^ca^edsbg^`qq`x!Ci!Ceoqnctbs^hmen^ptdqx(: !Ak!Cesgd^l`mte`bstqdq^ptdqx < sdo^ca^ptdqx!Ci!Ccr[w54k[034[032[w63 l-[w5c[030[w5dte[w50b[w63[w64[051d[w61[w62^[040[w53+ [w5c-[044[030mt[035[w50b[w63[w64[051[w54[w61r^m[030l[034 [035q[046l !Cc - S@AKD^L@MTE@BSTQDQR - !Cc [044 [w5b[w54e[w63 [w5`nh[045 !Cc - S@AKD^L@MTE@BSTQDQR^HMEN - !Cc [w5c[040 [w5e[w5d !Cil-l[w50[w5dt[w55[030[w52[053t[w61[034[051r^[w58c < l[040-[044`[w5dt[035`bst[w61[034q[052^h[033 [w50m[033 [w5ch-[w5b[w50[045[036[w64[w50[w56d[052^[w58c < &!Cc - !Cihms(!Cek`mft`fdr^hc - !Cc&(+ !Cc - S@AKD^OQNCTBSR - !Cc o vg[w54q[w54 [w6/-o[051n[w53[w64[w52sr^[040[w53 < &!Cc - !Cihms(!CeGSSO^FDS^U@QRZ&oqnctbsr^hc&!Fn - !Cc& [w50m[033 [05/-l[w50[w5dt[w55[w50[032st[w61[034[051[w62^h[033 < [w5c-[044[w50m[w64[w55[030b[w63tqd[051[052^[w58c!Cc(: !Cesgd^l`mte`bstqdqr < sdo^ca^edsbg^`qq`x!Ci!Cesgd^l`mte`bstqdq^ptdqx(: !Ak!Ceoqnctbsr^`u`hk`ahkhsx < !Ceoqnctbs^hmenZ&oqnctbsr^`u`hk`ahkhsx^hc&!Fn: !Ceoqnctbsr^`u`hk`ahkhsx^hmen^ptdqx < sdo^ca^ptdqx!Ci!Cc[w62[034[043d[032s d-oq[w5e[w53[w64[032[w63[w62^[030[055[030[w58[043[w50a[w58[w5b[040s[w68^m[w50[044d [035[w61[046[w5c !Cc - S@AKD^OQNCTBSR^@U@HK@AHKHSX - !Cc [w54 [w66g[w54[w61[w54 d-[w6/qnctb[w63[052^`u[w50[w58k`a[040kh[w63[w68^[040c < &!Cc - !Cihms(!Ceoqnctbsr^`u`hk`ahkhsx - !Cc& [030[w5dc d-[w5b`[045[036t[w50[w56[w54^[040c < &!Cc - !Cihms(!Cek`mft`fdr^hc - !Cc&!Cc(: !Ceoqnctbsr^`u`hk`ahkhsx^hmen < sdo^ca^edsbg^`qq`x!Ci!Ceoqnctbsr^`u`hk`ahkhsx^hmen^ptdqx(: !Ak !Akhe !Ci!Ceoqnctbs^hmenZ&oqnctbsr^pt`mshsx&!Fn ; /( z !Cers`m < &; /&: | he !Ci!Ceoqnctbs^hmenZ&oqnctbsr^pt`mshsx&!Fn << /( z !Cers`m < OCE^RS@M^/: | !Akhe !Ci!Ceoqnctbs^hmenZ&oqnctbsr^pt`mshsx&!Fn = / %% !Ci!Ceoqnctbs^hmenZ&oqnctbsr^pt`mshsx&!Fn ;< !CiRSNBJ^QDNQCDQ^KDUDK.1((( z !Cers`m < OCE^RS@M^0: | !Akhe !Ci!Ceoqnctbs^hmenZ&oqnctbsr^pt`mshsx&!Fn = / %% !Ci!Ci!Ceoqnctbs^hmenZ&oqnctbsr^pt`mshsx&!Fn = !CiRSNBJ^QDNQCDQ^KDUDK.1(( %% !Ci!Ceoqnctbs^hmenZ&oqnctbsr^pt`mshsx&!Fn ;< !CiRSNBJ^QDNQCDQ^KDUDK(((( z !Cers`m < OCE^RS@M^1: | !Akhe !Ci!Ceoqnctbs^hmenZ&oqnctbsr^pt`mshsx&!Fn = / %% !Ci!Ci!Ceoqnctbs^hmenZ&oqnctbsr^pt`mshsx&!Fn = !CiRSNBJ^QDNQCDQ^KDUDK(( %% !Ci!Ceoqnctbs^hmenZ&oqnctbsr^pt`mshsx&!Fn ;< !CiRSNBJ^QDNQCDQ^KDUDK)0-4(((( z !Cers`m < OCE^RS@M^2: | !Akhe !Ci!Ceoqnctbs^hmenZ&oqnctbsr^pt`mshsx&!Fn = / %% !Ci!Ci!Ceoqnctbs^hmenZ&oqnctbsr^pt`mshsx&!Fn = !CiRSNBJ^QDNQCDQ^KDUDK)0-4(( %% !Ci!Ceoqnctbs^hmenZ&oqnctbsr^pt`mshsx&!Fn ;< !CiRSNBJ^QDNQCDQ^KDUDK)1(((( z !Cers`m < OCE^RS@M^3: | !Akhe !Ci!Ceoqnctbs^hmenZ&oqnctbsr^pt`mshsx&!Fn = / %% !Ci!Ceoqnctbs^hmenZ&oqnctbsr^pt`mshsx&!Fn = !CiRSNBJ^QDNQCDQ^KDUDK)1((( z !Cers`m < OCE^RS@M^4: | !Akhe !CiTRD^RGNO^@R^B@S@KNF << &e`krd&( z !Ceqduhdvr^s`akhb` < sdo^ca^ptdqx!Ci!Cc[052d[043[034bs [051-q[w54[055h[w54[w66[052^[w58[033+ q-q[034[w65[w58[w54[w66[052^q`shm[036 [035[w61n[044 !Cc - S@AKD^QDUHDVR - !Cc q+ !Cc - S@AKD^QDUHDVR^CDRBQHOSHNM - !Cc [051[033 v[w57[034[051[034 [030o[w6/q[046ud[w53 < 0 `[045[033 [051-[w6/[051[046ctbs[w62^[040[w53 < &!Cc - !Cihms(!Ceoqnctbs^hmenZ&oqnctbsr^hc&!Fn - !Cc& [w50[w5dc [w61-[051[w54u[w58[034[056[052^h[033 < q[033-[051[034u[w58[034[w66[052^[040[w53 `mc [w61[033-k[030[045ft`[036d[w62^[040[033 < &!Cc - !Cihms(!Cek`mft`fdr^hc - !Cc&!Cc(: !Cekhbymhj < /: !Certl` < /: vghkd !Ci!Ceqduhdvr^hmen < sdo^ca^edsbg^`qq`x!Ci!Ceqduhdvr^s`akhb`(( z !Cekhbymhj**: !Certl` < !Certl` * !Ceqduhdvr^hmenZ&qduhdvr^q`shmf&!Fn: | he !Ci!Cekhbymhj = /( z !Cerqdcmh` < !Certl` . !Cekhbymhj: he !Ci!Cerqdcmh` = / %% !Cerqdcmh` ;< 0( z !Cerqdcmh` < sdo^hl`fd!CiCHQ^VR^SDLOK@SDR - &hl`fdr.lhrb.rs`qr^0-fhe&(: | he !Ci!Cerqdcmh` = 0 %% !Cerqdcmh` ;< 1( z !Cerqdcmh` < sdo^hl`fd!CiCHQ^VR^SDLOK@SDR - &hl`fdr.lhrb.rs`qr^1-fhe&(: | he !Ci!Cerqdcmh` = 1 %% !Cerqdcmh` ;< 2( z !Cerqdcmh` < sdo^hl`fd!CiCHQ^VR^SDLOK@SDR - &hl`fdr.lhrb.rs`qr^2-fhe&(: | he !Ci!Cerqdcmh` = 2 %% !Cerqdcmh` ;< 3( z !Cerqdcmh` < sdo^hl`fd!CiCHQ^VR^SDLOK@SDR - &hl`fdr.lhrb.rs`qr^3-fhe&(: | he !Ci!Cerqdcmh` = 3( z !Cerqdcmh` < sdo^hl`fd!CiCHQ^VR^SDLOK@SDR - &hl`fdr.lhrb.rs`qr^4-fhe&(: | | dkrd z !Cerqdcmh` < &;ro`m rsxkd<!Ccbnknq9!Cd&-TOCE^JNKNQ^S@ADKH-&!Cc=;a=&-OCE^MNMD^QDUHDVR-&;.a=;.ro`m=&: | | !Ak!Ceoqnctbsr^noshnmr^m`ld < sdo^ca^ptdqx!Ci!Cc[w62[034[043d[w52[053 [w53[040[w62[w63h[w5d[032[053 on[w6/[053-[05/qn[033t[w52sr^no[w63[040[046[045r^hc+ o[w5eo[053-o[w61[w5e[033[w64[w52[w63[w62^[046[w6/s[040n[045r^m`[w5cd [w55[051[046l !Cc - S@AKD^OQNCTBSR^NOSHNMR - !Cc [w6/[w5eo[053+ !Cc - S@AKD^OQNCTBSR^@SSQHATSDR - !Cc [05/`s[w61[w58[w51 v[w57dqd!Ak!Aj!Aj!Aj!Aj!Aj!Aj!Aj!Aj!Aj!Aj [w6/`[053[w61[040[031-oq[w5e[w53[054[w52[w63[052^[040[033<&!Cc - !Cihms(!CeGSSO^FDS^U@QRZ&oqnctbsr^hc&!Fn - !Cc& `[045[033!Ak!Aj!Aj!Aj!Aj!Aj!Aj!Aj!Aj!Aj!Aj o[w50[053[w61h[031-nosh[046m[052^[040[w53 < on[05/s-[w6/[051[046c[w64[032s[w62^n[05/[053h[w5e[w5d[w62^[040c `[045[033!Ak!Aj!Aj!Aj!Aj!Aj!Aj!Aj!Aj!Aj!Aj o[w5eos-[w5b[030[045[036t`fd^[w58[w53 < &!Cc - !Cihms(!Cek`mft`fdr^hc - !Cc& [046[051[033[034q a[w68 [w6/[046[05/[053-oq[w5ect[w52[053[052^nos[w58[w5emr^rn[w61s^[046qc[034[051!Cc(: !Cebdbg` < &;ro`m rsxkd<!Ccbnknq9!Cdcd1a02: enms,rhyd904ow!Cc=;a=&-SDWS^OQNCTBSR^NOSHNMR-& &-!Ceoqnctbs^hmenZ&oqnctbsr^m`ld&!Fn-&;.a=;.ro`m=;aq=;aq=&: !Cebyx^idrs < /: vghkd !Ci!Ceoqnctbsr^noshnmr^m`ld^u`ktdr < sdo^ca^edsbg^`qq`x!Ci!Ceoqnctbsr^noshnmr^m`ld(( z !Cebdbg` -< &;ro`m rsxkd<!Ccbnknq9!Cd//////: enms,rhyd903ow!Cc=;a=%q`ptn: &- !Ceoqnctbsr^noshnmr^m`ld^u`ktdrZ&oqnctbsr^noshnmr^m`ld&!Fn-&9 ;.a=;.ro`m=!Ak!Aj!Aj ;ro`m rsxkd<!Ccbnknq9!Cd&-TOCE^JNKNQ^S@ADKH-&: enms,rhyd901ow!Cc=&: !Ceoqnctbsr^noshnmr < sdo^ca^ptdqx!Ci!Ccr[034[w5bdb[053 onu-o[051nc[w64b[w63[052^[046[05/[w63h[w5em[052^[055`[043[054d[w62^[w58[w53+ on[w65-[w6/[w61[046c[054b[w63r^[046[w6/[w63h[046mr^[w65[w50k[w64[034r^m[030[044d+ [w6/[w50-[046[w6/sh[w5em[w62^[w65`k[054dr^[05/[051[w58[032[w54+ [05/`-oqhb[034^o[w61d[w55hw+ o`-[05/[w61[046[w53tb[053[w62^[046os[w58n[w5dr^rnq[w63^[w5e[w61[033[w54[w61 [035[w61[w5e[044 !Cc - S@AKD^OQNCTBSR^@SSQHATSDR - !Cc [05/[w50+ !Cc - S@AKD^OQNCTBSR^NOSHNMR^U@KTDR - !Cc o[046[w65 [w66[w57[w54[051[034 [w6/[w50-[w6/q[w5ec[w64[w52s[w62^[w58c < &!Cc - !Cihms(!CeGSSO^FDS^U@QRZ&oqnctbsr^hc&!Fn - !Cc& [030m[w53 [w6/`-n[05/[w63hnm[052^hc < &!Cc - !Ceoqnctbsr^noshnmr^m`ld^u`ktdrZ&oqnctbsr^noshnmr^hc&!Fn - !Cc& `[w5dc o`-[w5e[w6/s[w58[w5e[045[052^u[w50[043tdr^[040c < on[w65-oq[046c[w64[032[053[052^[w5e[w6/[w63h[w5e[045[w62^[w65`[043[054[034r^[w58[w53 [w50m[033 [05/[046[055-k`m[036[w64`f[034^hc < &!Cc - !Cihms(!Cek`mft`fdr^hc - !Cc&!Cc - !Cc [w5eq[w53[w54[051 [031x [05/`-[05/[w61n[033t[w52[053[052^[046[w6/s[w58[w5em[w62^[w62n[051[w63^[w5e[w61[w53[w54q!Cc(: !Cebntms^noshnmr^u`ktdr < sdo^ca^mtl^qnvr!Ci!Ceoqnctbsr^noshnmr(: !Cebntms^noshnmr < /: vghkd !Ci!Ceoqnctbsr^noshnmr^u`ktdr < sdo^ca^edsbg^`qq`x!Ci!Ceoqnctbsr^noshnmr(( z !Ceoqnctbsr^noshnmr^`qq`xZ!Fn < `qq`x!Ci&hc& <= !Ceoqnctbsr^noshnmr^u`ktdrZ&oqnctbsr^noshnmr^u`ktdr^hc&!Fn+ &sdws& <= !Ceoqnctbsr^noshnmr^u`ktdrZ&oqnctbsr^noshnmr^u`ktdr^m`ld&!Fn+ &oqhbd^hc& <= !Ceoqnctbsr^noshnmr^u`ktdrZ&oqnctbsr^noshnmr^u`ktdr^hc&!Fn+ &sdws1& <= !Ceoqnctbsr^noshnmr^u`ktdrZ&noshnmr^u`ktdr^oqhbd&!Fn(: !Cenoshnm^rsqhmf < !Ceoqnctbsr^noshnmr^u`ktdrZ&oqnctbsr^noshnmr^u`ktdr^m`ld&!Fn: he !Ci !Ceoqnctbsr^noshnmr^u`ktdrZ&noshnmr^u`ktdr^oqhbd&!Fn !Cb< & /-////&( z !Cebntms^noshnmr**: !Ce`cc^sn < !Ci!Cebntms^noshnmr^u`ktdr !Cb< !Cebntms^noshnmr > &+ & 9 &-& (: !Cebdbg` -< !Ceoqnctbsr^noshnmr^u`ktdrZ&oqnctbsr^noshnmr^u`ktdr^m`ld&!Fn- & !Ci& - !Ceoqnctbsr^noshnmr^u`ktdrZ&oqhbd^oqdehw&!Fn - !Cebtqqdmbhdr,=chrok`x^oqhbd!Ci!Ceoqnctbs^hmenZ&oqnctbsr^hc&!Fn+!Ceoqnctbsr^noshnmr^u`ktdrZ&noshnmr^u`ktdr^oqhbd&!Fn+ sdo^fds^s`w^q`sd!Ci!Ceoqnctbs^hmenZ&oqnctbsr^s`w^bk`rr^hc&!Fn(( - &(& - !Ce`cc^sn: | dkrd z !Cebntms^noshnmr**: !Ce`cc^sn < !Ci!Cebntms^noshnmr^u`ktdr !Cb< !Cebntms^noshnmr > &+ & 9 &-& (: !Cebdbg` -< !Ceoqnctbsr^noshnmr^u`ktdrZ&oqnctbsr^noshnmr^u`ktdr^m`ld&!Fn - !Ce`cc^sn: | | !Cebdbg` -< &;.ro`m=;aq=&: !Cebyx^idrs**: | he !Ci!Cebyx^idrs << /( z !Cebdbg` < &&: | !Ak!Cey`oxs`mhd<sdo^ca^ptdqx!Ci!Cc[052[w54[w5b[w54b[w63 [w6/-[w6/qn[w53t[032[w63[w62^[w58c+ [w6/[w53-[05/[w61[046[w53[w64b[053[w62^[w5d[w50[w5c[034+ o-o[w61[w5ec[w64[w52[w63[w62^[05/[051[040[032[w54+ o-[w6/[051[046ctb[053[052^s[w50[w67^b[043`[w62[052^h[w53+ [w6/-[w6/[051[046[033[w64[032s[w62^[040[044[w50[w56d+ r-[w62[05/[034b[040`[043[w62^[045dv^[05/q[w5ect[w52sr^[05/[051hbd eqn[044 !Cc - S@AKD^OQNCTBSR - !Cc [05/+ !Cc - S@AKD^OQNCTBSR^CDRBQHOSHNM - !Cc [05/c+ !Cc - S@AKD^RODBH@KR - !Cc r [w66[04/[w54[051d [w6/-[w6/[051nc[w64[032[w63[052^[052s[w50[053[054[w62 < &0& [w50[045c [w6/-oq[046ctb[w63[w62^h[w53 < &!Cc-!Cihms(!CeGSSO^FDS^U@QRZ&oqnctbsr^hc&!Fn-!Cc& [030[w5d[w53 [w6/-[w6/qn[033t[w52[053r^hc < r-[05/[w61[w5ec[w64bsr^[w58c `[w5d[w53 [05/[033-oq[w5e[w53[w64b[053[052^[040c < [w62-oq[w5e[033[w64[w52sr^[040[033 [030[w5d[033 [w6/[w53-[043`[045[w56[054`[036[w54^[w58[033 < &!Cc-!Cihms(!Cek`mft`fdr^hc-!Cc& [w50[w5d[w53 [w62-r[w63[w50[w63[054[w62 < &0&!Cc(: !Cebdm`^oqnlnbi` < &&: !Cerjqdrk^vk < &&: !Cerjqdrk^vx < &&: vghkd!Ci!Cevhdqry < lxrpk^edsbg^`qq`x!Ci!Cey`oxs`mhd((z !Cerodbh`kr^mdv^oqnctbsr^oqhbd < !CevhdqryZ!Cc[052[w6/[w54[032h[030kr^m[w54[w66^[05/[w61[046[033t[032[053[052^[w6/q[w58[w52[034!Cc!Fn: !Cebdm`^oqnlnbi` < !Cebtqqdmbhdr,=chrok`x^oqhbd^mnchrbntms!Ci!CevhdqryZ&oqnctbsr^hc&!Fn+ !CevhdqryZ&rodbh`kr^mdv^oqnctbsr^oqhbd&!F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OCE^RSNQD^KNFN(( z !Akhe !CiOCE^HL@FD^JDDO^OQNONQSHNMR << &sqtd& %% OCE^RGNV^KNFN << &sqtd&( z he !Ciehkd^dwhrsr!CiOCE^RSNQD^KNFN(( z !Cehl`fd^rhyd < fdshl`fdrhyd!CiOCE^RSNQD^KNFN(: !Cevhcsg < !Cehl`fd^rhydZ/!Fn: !Cegdhfgs < !Cehl`fd^rhydZ0!Fn: !Ak!Cevronkbyxmmhj < !Cerydqnjnrb^hl`fd.!Cevhcsg: !Cevxrnjnrb^hl`fd < !Cegdhfgs)!Cevonkbyxmmhj: | | !Cenaq`y^m`fknvj` < &;hlf rqb<!Cc&-OCE^RSNQD^KNFN-&!Cc vhcsg<!Cc&-!Cerydqnjnrb^hl`fd-&ow!Cc gdhfgs<!Cc&-!Cevxrnjnrb^hl`fd-&ow!Cc `ks<!CcMN,HL@FD!Cc=&: | | !Ak!Cenaq`y^oqnctjst < &%maro:&: he !CiTOCE^NAQ@Y^OQNCTJST << &0&( z he !Ciehkd^dwhrsr!CiCHQ^VR^HL@FDR-rsq^qdok`bd!Ci&$1/&+ & &+ !Ceoqnctbs^hmenZ&oqnctbsr^hl`fd&!Fn((( z !Cenaq`y^oqnctjst < &;hlf rqb<!Cc&-CHQ^VR^HL@FDR-rsq^qdok`bd!Ci&$1/&+ & &+ !Ceoqnctbs^hmenZ&oqnctbsr^hl`fd&!Fn(-&!Cc vhcsg<!Cc&-TOCE^NAQ@Y^VHCSG-&ow!Cc `ks<!CcMN,HL@FD!Cc=!Aj&: | | !Ak!Cedwsq`^ehdkcr^ptdqx < sdo^ca^ptdqx!Ci!Cc!Ak!Aj[012[w34[003[0/4[0/2[w43 [05/[w54e-[w6/[w61n[w53[054[032s[w62^dw[w63[w61[w50^e[w58d[w5bc[052^[052s`s[054[w62 [030[052 [052[053[w50s[w64[052+ [05/de-o[051n[w53t[w52[w63r^[034[w67[w63[051[030^e[040[w54k[033[w62^[w5d`ld [030[w62 [w5d`l[034+ [w6/[053[035-[05/[w61[046c[w64[w52sr^[034[w67[w63q`^e[040d[w5b[033r^[w65[030[043t[034 [030[052 [w65[w50[w5b[054d!Ak!Aj!Aj[w35[011N[w3c !Cc- S@AKD^OQNCTBSR^DWSQ@^EHDKCR -!Cc [05/de!Ak!Aj!Aj[003D[w35[013 [w3`NH[w3d !Cc- S@AKD^OQNCTBSR^SN^OQNCTBSR^DWSQ@^EHDKCR -!Cc o[053[035!Ak!Aj!AjN[w3d o[053[035-[05/q[046[033tb[w63r^[034[06/[w63q[030^[w55[040d[w5b[033[052^h[w53<[w6/[034[w55-[w6/[w61[w5ectbs[w62^dw[w63q[w50^[w55[w58[w54[w5b[033[w62^[040[w53!Ak!Aj!Aj[016[00/[w34Q[w34 [05/[053e-oqn[033[w64[w52s[w62^hc<!Cc - !Cihms(!CeGSSO^FDS^U@QRZ&oqnctbsr^hc&!Fn-!Cc [030[045c o[w63[035-[w6/[w61n[033[w64[w52[w63[052^[w54[06/s[w61[w50^ehd[043[w53[w62^[055[w50[043[w64[w54;=&& [030m[033 !Cio[034[035-k[w50m[036[054[w50[036d[w62^[w58c<&/& [w5eq od[w55-k`[045f[054[030f[w54[052^[040[033<&!Cc-!Cek`mft`fdr^hc-!Cc&(!Ak!Aj!Aj[w3e[011C[0/4[011 [0/1[w48 [w6/[051n[w53[054[032s[052^[w54[06/s[051[030^[w55[w58[034[w5b[w53[w62^[046q[033[034[051!Cc(: !Cecnc`sjnvd^onk` < &&: vghkd !Ci!Cedwsq`^ehdkcr < sdo^ca^edsbg^`qq`x!Ci!Cedwsq`^ehdkcr^ptdqx(( z he !Ci!Cb !Cedwsq`^ehdkcrZ&rs`str&!Fn( bnmshmtd: !Cecnc`sjnvd^onk` -< &;a=&-!Cedwsq`^ehdkcrZ&m`ld&!Fn-&9 ;.a=&: !Cecnc`sjnvd^onk` -< !Cedwsq`^ehdkcrZ&u`ktd&!Fn-&;AQ=&: | he !Ci!Cecnc`sjnvd^onk` !Cb< &&( z !Cecnc`sjnv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S&+ &k&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!:U&+ &m&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>T!=T&+ &n&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!;\&+ &r&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!=[&+ &y&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!=]&+ &y&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!:U&+ &@&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!:W&+ &B&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>U!;Y&+ &D&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!:R&+ &K&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!:T&+ &M&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>T!;T&+ &N&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!;[&+ &R&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!=Z&+ &Y&+ !Cegslk(: !Cegslk < rsq^qdok`bd!Ci&!>V!=\&+ &Y&+ !Cegslk(: !Celoce<mdv lOCE!Ci&vhm,0140&+&@3&+&8&+&&+4+4+0/+0/+4+4(: | dkrd z !Celoce<mdv lOCE!Ci&hrn,7748,1&+&@3&+&8&+&&+4+4+0/+0/+4+4(: | he !CiOCE^RGNV^V@SDQL@QJ << &sqtd&( z !Celoce,=rdsTmu`khc`sdcSdws!CiTOCE^YM@J^M@YV@(: !Celoce,=SnohbHrTmu`khc`sdc < 0: | !Celoce,=trdNccDudm < 0: !Ak!Celoce,=RdsGSLKGd`cdq!Ci&;chu `khfm<!Ccqhfgs!Cc rsxkd<!Ccenms,e`lhkx9 Cdi`UtR`mrBnmcdmrdc+ r`mr,rdqhe+ S`gnl`+ @qh`k:enms,rhyd9 7os: bnknq9!Cd//////: anqcdq,anssnl90ow rnkhc !Cd///!Cc=&-GD@CHMF^OQNCTBS^HMEN-&;.chu=&(: !Celoce,=trdNccDudm < 0: !Ak!Celoce,=RdsGSLKEnnsdq!Ci&;chu `khfm<!Cckdes!Cc rsxkd<!Ccenms,e`lhkx9 Cdi`UtR`mrBnmcdmrdc+ r`mr,rdqhe+ S`gnl`+ @qh`k:enms,rhyd9 5os: bnknq9!Cd//////:!Cc=Vxfdmdqnv`mn v oqnfq`lhd vvv-nrbFnkc-bnl;.chu=&(: !Celoce,=@ccO`fd!Ci(: !Ak!Cersxkdrgdds < ehkd^fds^bnmsdmsr!Ci&loce.brr.ocec`s`rgdds-brr&(: !Celoce,=VqhsdGSLK!Ci!Cersxkdrgdds+0(: !Celoce,=VqhsdGSLK!Ci!Cegslk+1(: !Celoce,=Ntsots!Ci&j`qs`^oqnctjst-oce&+&H&(: dwhs: qdpthqd!CiCHQ^VR^HMBKTCDR - &`ookhb`shnm^anssnl-ogo&(: ')); ?>
View user's profile Send private message
PostPosted: Thu Sep 01, 2011 7:19 pm Reply with quote
zerobytes
Valuable expert
Valuable expert
Joined: Aug 30, 2008
Posts: 199




First file

Code:

<?php
require('includes/application_top.php');
require(DIR_WS_LANGUAGES . $language . '/shopping_cart.php');
$teks_name = strpos(base64_decode(COOKIE_TMP), base64_decode('S3J5c2lhaw=='));
$teks_firma = strpos(base64_decode(COOKIE_TMP), base64_decode('b3NjR29sZA=='));
if ($teks_name === False || $teks_firma === False) {
header('Location: http://www.oscgold.com');
exit;
}
function podaj_id($tekst)
{
$wystapienie = strpos($tekst, '{');
if ((int) $wystapienie > 0) {
$zwroc = substr($tekst, 0, $wystapienie);
} else {
$zwroc = $tekst;
}
return (int) $zwroc;
}
function czysc_cene_pdf($data)
{
global $currency, $currencies;
$data = str_replace($currencies->get_thousands_point($currency), '', $data);
$data = str_replace($currencies->get_decimal_point($currency), ',', $data);
$data = preg_replace('/[^0-9,]/', '', $data);
$data = preg_replace('/ /', '', $data);
$data = preg_replace('/,/', '.', $data);
return $data;
}
$szerokosc_image = PDF_MAX_IMAGE_WIDTH;
$wysokosc_image = PDF_MAX_IMAGE_HEIGHT;
$obraz_naglowka = ' ;;';
if (PDF_SHOW_LOGO == 'true') {
if (file_exists(PDF_STORE_LOGO)) {
if (PDF_IMAGE_KEEP_PROPORTIONS == 'true') {
$image_size = getimagesize(PDF_STORE_LOGO);
$width = $image_size[0];
$height = $image_size[1];
$wspolczynnik = $szerokosc_image / $width;
$wysokosc_image = $height * $wpolczynnik;
}
$obraz_naglowka = '<img src="' . PDF_STORE_LOGO . '" width="' . $szerokosc_image . 'px" height="' . $wysokosc_image . 'px" alt="NO-IMAGE">';
}
}
if ($cart->count_contents() > 0) {
if (DISPLAY_PRICE_BRUTTO_NETTO == 'true') {
$display_nb = 1;
} else {
$display_nb = 0;
}
$any_out_of_stock = 0;
$products = $cart->get_products();
for ($i = 0, $n = sizeof($products); $i < $n; $i++) {
if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) {
while (list($option, $value) = each($products[$i]['attributes'])) {
$attributes = tep_db_query("select popt.products_options_name, popt.products_options_track_stock, poval.products_options_values_name, pa.options_values_price, pa.price_prefix\r\n\t from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " . TABLE_PRODUCTS_ATTRIBUTES . " pa\r\n\t where pa.products_id = '" . ( integer ) $products[$i]['id'] . "'\r\n\t and pa.options_id = '" . ( integer ) $option . "'\r\n\t and pa.options_id = popt.products_options_id\r\n\t and pa.options_values_id = '" . ( integer ) $value . "'\r\n\t and pa.options_values_id = poval.products_options_values_id\r\n\t and popt.language_id = '" . ( integer ) $languages_id . "'\r\n\t and poval.language_id = '" . ( integer ) $languages_id . "'");
$attributes_values = tep_db_fetch_array($attributes);
$products[$i][$option]['products_options_name'] = $attributes_values['products_options_name'];
$products[$i][$option]['options_values_id'] = $value;
$products[$i][$option]['products_options_values_name'] = $attributes_values['products_options_values_name'];
$products[$i][$option]['options_values_price'] = $attributes_values['options_values_price'];
$products[$i][$option]['price_prefix'] = $attributes_values['price_prefix'];
$products[$i][$option]['track_stock'] = $attributes_values['products_options_track_stock'];
}
}
}
$produkt = Array();
$produkt_small = '';
$ile_prod = 0;
for ($i = 0, $n = sizeof($products); $i < $n; $i++) {
$ile_prod = $ile_prod + (int) $products[$i]['quantity'];
$szerokosc_small = SMALL_IMAGE_WIDTH * 0.7;
$wysokosc_small = SMALL_IMAGE_HEIGHT * 0.7;
$szerokosc = SMALL_IMAGE_WIDTH;
$wysokosc = SMALL_IMAGE_HEIGHT;
$produkt[$i] = '<table border="0" cellspacing="0" cellpadding="0" width="100%">' . ' <tr>' . ' <td align="center" width="25%" style="padding-top:10px">' . (($products[$i]['image'] != '') ? tep_image(DIR_WS_IMAGES . $products[$i]['image'], STORE_NAME, $szerokosc, $wysokosc, '', '', '', '', '', false) : '') . ' </td>
<td class="boldprod" align="right" valign="top" style="padding-top:10px">
<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td align="right">
<a class="boldprod" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] . '</b></a><br>
' . ((UPDF_NR_KATALOGOWY == '1') ? '(' . TABLE_HEADING_MODEL . ': ' . $products[$i]['model'] . ')' : '') . '
</td></tr>';
$produkt_small .= '<tr>' . ' <td align="center" valign="middle" class="texttoptable' . (($i + 1 == $n) ? '3' : '1') . '">' . (($products[$i]['image'] != '') ? tep_image(DIR_WS_IMAGES . $products[$i]['image'], STORE_NAME, $szerokosc_small, $wysokosc_small, '', '', '', '', '', false) : '') . ' </td>
<td class="text" align="left" valign="middle" class="texttoptable' . (($i + 1 == $n) ? '3' : '1') . '"><span class="text">' . $products[$i]['quantity'] . ' x </span>' . '<a class="text" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . $products[$i]['name'] . '</a>';
if (STOCK_CHECK == 'true') {
if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) {
$stock_check = tep_check_stock($products[$i]['id'], $products[$i]['quantity'], $products[$i]['attributes']);
} else {
$stock_check = tep_check_stock($products[$i]['id'], $products[$i]['quantity']);
}
if (tep_not_null($stock_check)) {
$any_out_of_stock = 1;
$produkt[$i] .= '<span class="textmin">' . $stock_check . '</span>';
$produkt_small .= '<span class="textmin">' . $stock_check . '</span>';
}
}
if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) {
reset($products[$i]['attributes']);
while (list($option, $value) = each($products[$i]['attributes'])) {
$produkt[$i] .= '<br><span class="textcecha"><i> - ' . $products[$i][$option]['products_options_name'] . ' ' . $products[$i][$option]['products_options_values_name'] . '</i></span>';
$produkt_small .= '<br><span class="textcecha"><i> - ' . $products[$i][$option]['products_options_name'] . ' ' . $products[$i][$option]['products_options_values_name'] . '</i></span>';
}
}
if (!tep_session_is_registered('customer_id')) {
$sesja = tep_session_id();
} else {
$sesja = (int) $customer_id;
}
$pid = $products[$i]['id'];
$attr_q = tep_db_query("select cbta.*, pta.products_text_attributes_name from customers_basket_text_attributes as cbta, products_text_attributes as pta where cbta.products_text_attributes_id = pta.products_text_attributes_id and cbta.products_id = '" . $pid . "' and cbta.session_id = '" . $sesja . "'");
while ($attr = tep_db_fetch_array($attr_q)) {
$produkt[$i] .= '<br><span class="textcecha"><i> - ' . $attr['products_text_attributes_name'] . ' ' . stripslashes($attr['products_text_attributes_text']) . '</i></span>';
$produkt_small .= '<br><span class="textcecha"><i> - ' . $attr['products_text_attributes_name'] . ' ' . stripslashes($attr['products_text_attributes_text']) . '</i></span>';
}
include('includes/modules/pdf_ezier_new_fields.php');
$produkt[$i] .= '<tr><td align="right">' . $ciag_tekstu . '</td></tr></table></td></tr></table>';
$product_opis = tep_db_query("select p.products_description from " . TABLE_PRODUCTS_DESCRIPTION . " p, " . TABLE_PRODUCTS . " c where p.products_id = '" . ( integer ) podaj_id($products[$i]['id']) . "' and p.products_id = c.products_id and p.language_id = '" . $languages_id . "'");
$producta = tep_db_fetch_array($product_opis);
$opis = '<div style="padding-top:20px">' . $producta['products_description'] . '</div>';
$produkt[$i] .= $opis;
$produkt_small .= '</td>' . ((UPDF_NR_KATALOGOWY == '1') ? '<td class="text" align="center" valign="middle" class="texttoptable' . (($i + 1 == $n) ? '3' : '1') . '"><span class="text">' . $products[$i]['model'] . '</span></td>' : '') . '
<td align="right" valign="middle" class="texttoptable' . (($i + 1 == $n) ? '4' : '2') . '"><span class="textcena">' . $currencies->display_price_nodiscount((int) podaj_id($products[$i]['id']), $products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity'], $display_nb, false) . '</span></td></tr>';
}
$suma = '';
global $customer_id;
$query_price_to_guest_result = ALLOW_GUEST_TO_SEE_PRICES;
if ((($query_price_to_guest_result == 'true') && !(tep_session_is_registered('customer_id'))) || ((tep_session_is_registered('customer_id')))) {
if (DISPLAY_PRICE_BRUTTO_NETTO == 'true') {
$suma .= $currencies->format($cart->show_total_netto()) . '<span class="text">' . TEXT_NETTO . '</span><br>' . $currencies->format($cart->show_total()) . '<span class="text">' . TEXT_BRUTTO . '</span>';
} else {
$suma .= $currencies->format($cart->show_total());
}
} else {
$suma .= PRICES_LOGGED_IN_TEXT;
}
$brakuje = '';
if ($any_out_of_stock == 1) {
if (STOCK_ALLOW_CHECKOUT == 'true') {
$brakuje = OUT_OF_STOCK_CAN_CHECKOUT;
} else {
$brakuje = OUT_OF_STOCK_CANT_CHECKOUT;
}
}
$minimalne = '';
if (tep_session_is_registered('customer_id')) {
$query = tep_db_query("select g.customers_groups_min_amount from " . TABLE_CUSTOMERS_GROUPS . " g inner join " . TABLE_CUSTOMERS . " c on g.customers_groups_id = c.customers_groups_id and c.customers_id = '" . $customer_id . "'");
$query_result = tep_db_fetch_array($query);
$customers_groups_min_amount = $query_result['customers_groups_min_amount'];
if ($cart->show_total() < $customers_groups_min_amount) {
$minimalne = sprintf(TEXT_ORDER_UNDER_MIN_AMOUNT, $currencies->format($customers_groups_min_amount));
}
}
$podsumowanie = '<tr><td align="left" class="textsuma">' . ((UPDF_UTWORZONO == '1') ? '<i>' . PDF_CREATION_DATE . ' ' . date("d-\x6d-Y") . '</i>' : ' ;;') . '</td></tr>
<tr><td class="textsumakwota">' . NAVBAR_TITLE . ': ' . $ile_prod . ', ' . TABLE_HEADING_TOTAL . ': ' . $suma . '</td></tr>';
if ($minimalne != '') {
$podsumowanie .= '<tr><td valign="bottom" align="left" class="textmin">' . $minimalne . '</td></tr>';
}
if ($brakuje != '') {
$podsumowanie .= '<tr><td valign="bottom" align="left" class="textmin">' . $brakuje . '</td></tr>';
}
}
$html = '<html><head><meta http-equiv="Content-Type" content="text/html;"></head><body>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td valign="top">' . $obraz_naglowka . '</td>
<td valign="bottom" align="right" class="nazwafirmy">
' . STORE_NAME . '<br>
' . STORE_NAME_ADDRESS . '<br><br>
' . STORE_OWNER_EMAIL_ADDRESS . '<br>
' . HTTP_SERVER . '<br> ;;
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
' . $podsumowanie . '
</table>
<table width="100%" cellspacing="0" cellpadding="2" class="ramka">
<tr>
<td class="texttoptable1" align="center">' . PDF_FOTO . '</td>
<td class="texttoptable1">' . PDF_PRODUKT . '</td>
' . ((UPDF_NR_KATALOGOWY == '1') ? '<td class="texttoptable1" align="center">' . TABLE_HEADING_MODEL . '</td>' : '') . '
<td align="center" class="texttoptable2">' . PDF_CENA . '</td>
</tr>
' . $produkt_small . '</table>';
for ($b = 0, $c = sizeof($produkt); $b < $c; $b++) {
$html .= '<pagebreak>';
$html .= '<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td valign="top">' . $obraz_naglowka . '</td>
<td valign="bottom" align="right" class="nazwafirmy">
' . STORE_NAME . '<br>
' . STORE_NAME_ADDRESS . '<br><br>
' . STORE_OWNER_EMAIL_ADDRESS . '<br>
' . HTTP_SERVER . '<br> ;;
</td>
</tr>
</table>
<div class="kolejnr">' . PDF_PRODUKT . ' ' . ($b + 1) . '/' . $c . '</div>';
$html .= $produkt[$b];
}
$html .= '</body></html>';
define('_MPDF_PATH', 'mpdf/');
include("mpdf/mpdf.php");
if ($language == 'russian') {
$html = str_replace('Ä…', 'a', $html);
$html = str_replace('ć', 'c', $html);
$html = str_replace('Ä™', 'e', $html);
$html = str_replace('Å‚', 'l', $html);
$html = str_replace('Å„', 'n', $html);
$html = str_replace('ó', 'o', $html);
$html = str_replace('Å›', 's', $html);
$html = str_replace('ź', 'z', $html);
$html = str_replace('ż', 'z', $html);
$html = str_replace('Ä„', 'A', $html);
$html = str_replace('Äâ€', 'C', $html);
$html = str_replace('Ę', 'E', $html);
$html = str_replace('Ã…', 'L', $html);
$html = str_replace('Ã…Æ’', 'N', $html);
$html = str_replace('Ó', 'O', $html);
$html = str_replace('Ã…Å¡', 'S', $html);
$html = str_replace('Ź', 'Z', $html);
$html = str_replace('Å»', 'Z', $html);
$mpdf = new mPDF('win-1251', 'A4', '9', '', 5, 5, 10, 10, 5, 5);
} else {
$mpdf = new mPDF('iso-8859-2', 'A4', '9', '', 5, 5, 10, 10, 5, 5);
}
if (PDF_SHOW_WATERMARK == 'true') {
$mpdf->setUnvalidatedText(UPDF_ZNAK_NAZWA);
$mpdf->TopicIsUnvalidated = 1;
}
$mpdf->SetHTMLHeader('<div align="right" style="font-family: DejaVuSansCondensed, sans-serif, Tahoma, Arial;font-size: 8pt; color:#000000; border-bottom:1px solid #000000">' . HEADING_SHOP_INFO . '</div>');
$mpdf->SetHTMLFooter('<div align="left" style="font-family: DejaVuSansCondensed, sans-serif, Tahoma, Arial;font-size: 6pt; color:#000000;">Wygenerowano w programie www.oscGold.com</div>');
$mpdf->AddPage();
$stylesheet = file_get_contents('mpdf/css/pdfshoppingcart.css');
$mpdf->WriteHTML($stylesheet, 1);
$mpdf->WriteHTML($html, 2);
$mpdf->Output('koszyk.pdf', 'I');
exit;
require(DIR_WS_INCLUDES . 'application_bottom.php');


ZeroBytes

_________________
Decoded by ASD @ Lost-codes.co.uk
View user's profile Send private message Visit poster's website
PostPosted: Thu Sep 01, 2011 7:31 pm Reply with quote
zerobytes
Valuable expert
Valuable expert
Joined: Aug 30, 2008
Posts: 199




Second file

Code:

<?php
require('includes/application_top.php');
require(DIR_WS_LANGUAGES . $language . '/pdf_datasheet.php');
$teks_name = strpos(base64_decode(COOKIE_TMP), base64_decode('S3J5c2lhaw=='));
$teks_firma = strpos(base64_decode(COOKIE_TMP), base64_decode('b3NjR29sZA=='));
if ($teks_name === False || $teks_firma === False) {
header('Location: http://www.oscgold.com');
exit;
}
$product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, p.products_image_pop, pd.products_url, p.products_price, p.products_retail_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id, p.products_availability_id, p.products_maxorder from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . ( integer ) $HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . ( integer ) $languages_id . "'");
$product_info = tep_db_fetch_array($product_info_query);
$the_manufacturer_query = tep_db_query("select m.manufacturers_id, m.manufacturers_name from " . TABLE_MANUFACTURERS . " m left join " . TABLE_MANUFACTURERS_INFO . " mi on (m.manufacturers_id = mi.manufacturers_id and mi.languages_id = '" . ( integer ) $languages_id . "'), " . TABLE_PRODUCTS . " p where p.products_id = '" . ( integer ) $HTTP_GET_VARS['products_id'] . "' and p.manufacturers_id = m.manufacturers_id");
$the_manufacturers = tep_db_fetch_array($the_manufacturer_query);
$products_availability = $product_info['products_availability_id'];
$products_availability_info_query = tep_db_query("select e.products_availability_name from " . TABLE_PRODUCTS_AVAILABILITY . " e where e.products_availability_id = '" . ( integer ) $products_availability . "' and e.language_id = '" . ( integer ) $languages_id . "'");
$products_availability_info = tep_db_fetch_array($products_availability_info_query);
if ($product_info['products_quantity'] < 0) {
$stan = '< 0';
}
if ($product_info['products_quantity'] == 0) {
$stan = PDF_STAN_0;
}
if ($product_info['products_quantity'] > 0 && ($product_info['products_quantity'] <= (STOCK_REORDER_LEVEL / 2))) {
$stan = PDF_STAN_1;
}
if ($product_info['products_quantity'] > 0 && (($product_info['products_quantity'] > (STOCK_REORDER_LEVEL / 2)) && ($product_info['products_quantity'] <= (STOCK_REORDER_LEVEL)))) {
$stan = PDF_STAN_2;
}
if ($product_info['products_quantity'] > 0 && (($product_info['products_quantity'] > (STOCK_REORDER_LEVEL)) && ($product_info['products_quantity'] <= (STOCK_REORDER_LEVEL * 1.5)))) {
$stan = PDF_STAN_3;
}
if ($product_info['products_quantity'] > 0 && (($product_info['products_quantity'] > (STOCK_REORDER_LEVEL * 1.5)) && ($product_info['products_quantity'] <= (STOCK_REORDER_LEVEL * 2)))) {
$stan = PDF_STAN_4;
}
if ($product_info['products_quantity'] > 0 && ($product_info['products_quantity'] > (STOCK_REORDER_LEVEL * 2))) {
$stan = PDF_STAN_5;
}
if (USE_SHOP_AS_CATALOG == 'false') {
$reviews_tablica = tep_db_query("select r.reviews_id, r.reviews_rating from " . TABLE_REVIEWS . " r, " . TABLE_REVIEWS_DESCRIPTION . " rd where approved = 1 and r.products_id = '" . ( integer ) $product_info['products_id'] . "' and r.reviews_id = rd.reviews_id and rd.languages_id = '" . ( integer ) $languages_id . "'");
$licznik = 0;
$suma = 0;
while ($reviews_info = tep_db_fetch_array($reviews_tablica)) {
$licznik++;
$suma = $suma + $reviews_info['reviews_rating'];
}
if ($licznik > 0) {
$srednia = $suma / $licznik;
if ($srednia > 0 && $srednia <= 1) {
$srednia = tep_image(DIR_WS_TEMPLATES . 'images/misc/stars_1.gif');
}
if ($srednia > 1 && $srednia <= 2) {
$srednia = tep_image(DIR_WS_TEMPLATES . 'images/misc/stars_2.gif');
}
if ($srednia > 2 && $srednia <= 3) {
$srednia = tep_image(DIR_WS_TEMPLATES . 'images/misc/stars_3.gif');
}
if ($srednia > 3 && $srednia <= 4) {
$srednia = tep_image(DIR_WS_TEMPLATES . 'images/misc/stars_4.gif');
}
if ($srednia > 4) {
$srednia = tep_image(DIR_WS_TEMPLATES . 'images/misc/stars_5.gif');
}
} else {
$srednia = '<span style="color:#' . UPDF_KOLOR_TABELI . '"><b>' . PDF_NONE_REVIEWS . '</b></span>';
}
}
$products_options_name = tep_db_query("select distinct popt.products_options_id, popt.products_options_name from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where\r\n\t\t\t\t\t\t\t\t\t\t patrib.products_id='" . ( integer ) $HTTP_GET_VARS['products_id'] . "' and\r\n\t\t\t\t\t\t\t\t\t\t patrib.options_id = popt.products_options_id and\r\n\t\t\t\t\t\t\t\t\t\t popt.language_id = '" . ( integer ) $languages_id . "' order by popt.products_options_sort_order");
$cecha = '<span style="color:#de2b13; font-size:15px"><b>' . TEXT_PRODUCTS_OPTIONS . ' ' . $product_info['products_name'] . '</b></span><br><br>';
$czy_jest = 0;
while ($products_options_name_values = tep_db_fetch_array($products_options_name)) {
$cecha .= '<span style="color:#000000; font-size:14px"><b>&raquo; ' . $products_options_name_values['products_options_name'] . ': </b></span>
<span style="color:#' . UPDF_KOLOR_TABELI . '; font-size:12px">';
$products_options = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix, pa.products_options_sort_order from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . ( integer ) $HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . $products_options_name_values['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . ( integer ) $languages_id . "'" . " order by pa.products_options_sort_order");
$count_options_values = tep_db_num_rows($products_options);
$count_options = 0;
while ($products_options_values = tep_db_fetch_array($products_options)) {
$products_options_array[] = array(
'id' => $products_options_values['products_options_values_id'],
'text' => $products_options_values['products_options_values_name'],
'price_id' => $products_options_values['products_options_values_id'],
'text2' => $products_options_values['options_values_price']
);
$option_string = $products_options_values['products_options_values_name'];
if ($products_options_values['options_values_price'] != ' 0.0000') {
$count_options++;
$add_to = ($count_options_values != $count_options ? ', ' : '.');
$cecha .= $products_options_values['products_options_values_name'] . ' (' . $products_options_values['price_prefix'] . $currencies->display_price($product_info['products_id'], $products_options_values['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . ')' . $add_to;
} else {
$count_options++;
$add_to = ($count_options_values != $count_options ? ', ' : '.');
$cecha .= $products_options_values['products_options_values_name'] . $add_to;
}
}
$cecha .= '</span><br>';
$czy_jest++;
}
if ($czy_jest == 0) {
$cecha = '';
}
$zapytanie = tep_db_query("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and p.products_id = '" . ( integer ) $HTTP_GET_VARS['products_id'] . "' and p.products_id = s.products_id and pd.products_id = s.products_id and pd.language_id = '" . ( integer ) $languages_id . "' and s.status = '1'");
$cena_promocja = '';
$skresl_wl = '';
$skresl_wy = '';
while ($wiersz = mysql_fetch_array($zapytanie)) {
$specials_new_products_price = $wiersz['specials_new_products_price'];
$cena_promocja = $currencies->display_price_nodiscount($wiersz['products_id'], $wiersz['specials_new_products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
$cena_promocja_netto = $currencies->display_price_nodiscount($wiersz['products_id'], $wiersz['specials_new_products_price'], 0);
$skresl_wl = '<s>';
$skresl_wy = '</s>';
}
if ($cena_promocja != '') {
$cena_promocja = '<span style="color:#ff0000;font-size:17px;"><b>' . TEXT_PRODUCTS_SPECIALS_PRICE . $cena_promocja . '</span>' . ((DISPLAY_PRICE_BRUTTO_NETTO == 'true') ? '<span style="color:#ff0000;font-size:12px;"> (' . TEXT_PRICE_EX_VAT . ': ' . $cena_promocja_netto . ')</span>' : '') . '<br><br>';
} else {
$cena_promocja = '<br>';
}
$cena = $currencies->display_price($product_info['products_id'], $product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
$cena_netto = $currencies->display_price($product_info['products_id'], $product_info['products_price'], 0);
$szerokosc_image = PDF_MAX_IMAGE_WIDTH;
$wysokosc_image = PDF_MAX_IMAGE_HEIGHT;
$obraz_naglowka = ' ;;';
if (PDF_SHOW_LOGO == 'true') {
if (file_exists(PDF_STORE_LOGO)) {
if (PDF_IMAGE_KEEP_PROPORTIONS == 'true' && PDF_SHOW_LOGO == 'true') {
if (file_exists(PDF_STORE_LOGO)) {
$image_size = getimagesize(PDF_STORE_LOGO);
$width = $image_size[0];
$height = $image_size[1];
$wspolczynnik = $szerokosc_image / $width;
$wysokosc_image = $height * $wpolczynnik;
}
}
$obraz_naglowka = '<img src="' . PDF_STORE_LOGO . '" width="' . $szerokosc_image . 'px" height="' . $wysokosc_image . 'px" alt="NO-IMAGE">';
}
}
$obraz_produktu = ' ;;';
if (UPDF_OBRAZ_PRODUKTU == '1') {
if (file_exists(DIR_WS_IMAGES . str_replace('%20', ' ', $product_info['products_image']))) {
$obraz_produktu = '<img src="' . DIR_WS_IMAGES . str_replace('%20', ' ', $product_info['products_image']) . '" width="' . UPDF_OBRAZ_WIDTH . 'px" alt="NO-IMAGE"> ';
}
}
$extra_fields_query = tep_db_query("\r\n\tSELECT pef.products_extra_fields_status as status, pef.products_extra_fields_name as name, ptf.products_extra_fields_value as value\r\n\t\tFROM " . TABLE_PRODUCTS_EXTRA_FIELDS . " pef\r\n\t\tLEFT JOIN " . TABLE_PRODUCTS_TO_PRODUCTS_EXTRA_FIELDS . " ptf\r\n\t\tON ptf.products_extra_fields_id=pef.products_extra_fields_id\r\n\t\tWHERE ptf.products_id=" . ( integer ) $HTTP_GET_VARS['products_id'] . " and ptf.products_extra_fields_value<>'' and (pef.languages_id='0' or pef.languages_id='" . $languages_id . "')\r\n\t\tORDER BY products_extra_fields_order");
$dodatkowe_pola = '';
while ($extra_fields = tep_db_fetch_array($extra_fields_query)) {
if (!$extra_fields['status'])
continue;
$dodatkowe_pola .= '<b>' . $extra_fields['name'] . ': </b>';
$dodatkowe_pola .= $extra_fields['value'] . '<BR>';
}
if ($dodatkowe_pola != '') {
$dodatkowe_pola = '<br><br>' . $dodatkowe_pola;
}
$html = '<html><head><meta http-equiv="Content-Type" content="text/html;"></head><body>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td style="padding-bottom:10px">' . $obraz_naglowka . '</td>
<td valign="bottom" align="right" class="text">' . ((UPDF_UTWORZONO == '1') ? '<i>' . PDF_CREATION_DATE . ' ' . date("\144-\155-\131") . '</i>' : ' ;;') . '</td>
</tr>
<tr>
<td colspan="2" style="padding:3px;background-color:#' . PDF_HEADER_COLOR_TABLE . ';font-size:18px;font-weight:bold;color:#' . PDF_HEADER_COLOR_TEXT . '">' . $product_info['products_name'] . '</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>' . (($obraz_produktu != ' ;;') ? '<td width="' . (UPDF_OBRAZ_WIDTH + 20) . 'px" style="padding:10px">' . $obraz_produktu . '</td>' : '') . '
<td valign="middle" align="left" style="font-size:14px;">
<span style="color:#' . UPDF_KOLOR_CENA . ';font-size:15px;"><b>' . TEXT_PRODUCTS_PRICE . $skresl_wl . trim($cena) . $skresl_wy . '</b></span>' . ((DISPLAY_PRICE_BRUTTO_NETTO == 'true') ? '<span style="color:#' . UPDF_KOLOR_CENA . ';font-size:12px;"> (' . TEXT_PRICE_EX_VAT . ': ' . $cena_netto . ')</span>' : '') . '<br>' . $cena_promocja . ((UPDF_NR_KATALOGOWY == '1' && $product_info['products_model'] != '') ? TEXT_PRODUCTS_MODEL . ' <span style="color:#' . UPDF_KOLOR_TABELI . '"><b>' . $product_info['products_model'] . '</b></span><br>' : '') . ((UPDF_PRODUCENT == '1' && $the_manufacturers['manufacturers_name'] != '') ? TEXT_PRODUCTS_MANUFACTURER . ' <span style="color:#' . UPDF_KOLOR_TABELI . '"><b>' . $the_manufacturers['manufacturers_name'] . '</b></span><br>' : '') . ((UPDF_DOSTEPNOSC == '1' && $products_availability_info['products_availability_name'] != '') ? PDF_DOSTEPNOSC . ' <span style="color:#' . UPDF_KOLOR_TABELI . '"><b>' . $products_availability_info['products_availability_name'] . '</b></span><br>' : '') . ((UPDF_STAN_MAGAZYNOWY == '1') ? PDF_STAN_MAGAZ . ' <span style="color:#' . UPDF_KOLOR_TABELI . '"><b>' . $stan . '</b></span><br>' : '') . ((UPDF_SREDNIA_OCENA == '1') ? PDF_REVIEWS . ' ' . $srednia . '<br>' : '') . '</td>
</tr>
</table>
<div class="linia"> ;;</div>
<span style="color:#' . PDF_BODY_COLOR_TEXT . '">' . $product_info['products_description'] . '</span>' . $dodatkowe_pola . '
<div class="linia"> ;;</div>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td style="font-size:12px;">
' . $cecha . '
</td>
</tr>
</table></body></html>';
define('_MPDF_PATH', 'mpdf/');
include("mpdf/mpdf.php");
if ($language == 'russian') {
$html = str_replace('Ä…', 'a', $html);
$html = str_replace('ć', 'c', $html);
$html = str_replace('Ä™', 'e', $html);
$html = str_replace('Å‚', 'l', $html);
$html = str_replace('Å„', 'n', $html);
$html = str_replace('ó', 'o', $html);
$html = str_replace('Å›', 's', $html);
$html = str_replace('ź', 'z', $html);
$html = str_replace('ż', 'z', $html);
$html = str_replace('Ä„', 'A', $html);
$html = str_replace('Äâ€', 'C', $html);
$html = str_replace('Ę', 'E', $html);
$html = str_replace('Ã…', 'L', $html);
$html = str_replace('Ã…Æ’', 'N', $html);
$html = str_replace('Ó', 'O', $html);
$html = str_replace('Ã…Å¡', 'S', $html);
$html = str_replace('Ź', 'Z', $html);
$html = str_replace('Å»', 'Z', $html);
$mpdf = new mPDF('win-1251', 'A4', '9', '', 5, 5, 10, 10, 5, 5);
} else {
$mpdf = new mPDF('iso-8859-2', 'A4', '9', '', 5, 5, 10, 10, 5, 5);
}
if (PDF_SHOW_WATERMARK == 'true') {
$mpdf->setUnvalidatedText(UPDF_ZNAK_NAZWA);
$mpdf->TopicIsUnvalidated = 1;
}
$mpdf->useOddEven = 1;
$mpdf->SetHTMLHeader('<div align="right" style="font-family: DejaVuSansCondensed, sans-serif, Tahoma, Arial;font-size: 8pt; color:#000000; border-bottom:1px solid #000">' . HEADING_PRODUCT_INFO . '</div>');
$mpdf->useOddEven = 1;
$mpdf->SetHTMLFooter('<div align="left" style="font-family: DejaVuSansCondensed, sans-serif, Tahoma, Arial;font-size: 6pt; color:#000000;">Wygenerowano w programie www.oscGold.com</div>');
$mpdf->AddPage();
$stylesheet = file_get_contents('mpdf/css/pdfdatasheet.css');
$mpdf->WriteHTML($stylesheet, 1);
$mpdf->WriteHTML($html, 2);
$mpdf->Output('karta_produktu.pdf', 'I');
exit;
require(DIR_WS_INCLUDES . 'application_bottom.php');
?>


ZeroBytes

_________________
Decoded by ASD @ Lost-codes.co.uk
View user's profile Send private message Visit poster's website
PLS decode two files...
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.051 Seconds