package II5d743d6916e98237d7ecef7afecf25a3; use strict 'vars'; use base qw/II674e2407e107271bcc76478050bc636a/; use II8dae0e141ee45f5daba6a74e4a7c3b6f; use IIa66da94aed9b371a0ee16b72f938ea09; BEGIN{*II5d743d6916e98237d7ecef7afecf25a3::llIIIIIlIIllllII=\%{pack('H6','081807')^'MVQ'};*II5d743d6916e98237d7ecef7afecf25a3::lIllIlIlIlllIIIl=\&{pack('H24','2e35583a0f69297c7f3b3f70')^'CT1T5SZDHYGD'};$II5d743d6916e98237d7ecef7afecf25a3::llIlIIIlIIIIIlIl=pack('H18','116c0709171906636f')^'Y8SYHQI0;';$II5d743d6916e98237d7ecef7afecf25a3::lllIlllIllIlIIIl=pack('H12','77030018100f')^'=JNTYL'};sub dbTable     { 'jin_affinb_template' } BEGIN{*II5d743d6916e98237d7ecef7afecf25a3::IlIIllIlIlIlllll=\%{pack('H6','090f66')^'LA0'};*II5d743d6916e98237d7ecef7afecf25a3::llIllIlIIlIlllIl=\&{pack('H24','5959213663792b0366533572')^'48HXYCX;Q1MF'};$II5d743d6916e98237d7ecef7afecf25a3::IlIIIlllIIIlllll=pack('H18','0b0607131e73191c64')^'CRSCA;VO0';$II5d743d6916e98237d7ecef7afecf25a3::IlIlIIlIlIlIlIIl=pack('H12','1c0c73790305')^'VE=5JF'};sub dbFields    { qw/ owner_id template / } BEGIN{*II5d743d6916e98237d7ecef7afecf25a3::lIlIIIIlIlIIlIII=\%{pack('H6','711417')^'4ZA'};*II5d743d6916e98237d7ecef7afecf25a3::lIIIllIIIIlllIIl=\&{pack('H24','222b5d3a76773d7c782f3272')^'OJ4TLMNDOMJF'};$II5d743d6916e98237d7ecef7afecf25a3::IIIIllllllllIIIl=pack('H18','10166e156d7d051169')^'XB:E25JB=';$II5d743d6916e98237d7ecef7afecf25a3::IlIlIllIlIllllII=pack('H12','7302030b7d00')^'9KMG4C'};sub get { my ($class, $id) = @_; die "ID?" unless $id; my $this = $class->SUPER::get($id); my $user = II5d743d6916e98237d7ecef7afecf25a3::IlIIllIlIlllllII($II5d743d6916e98237d7ecef7afecf25a3::lIIIIIlIlIlIIlll{$IIa66da94aed9b371a0ee16b72f938ea09::IIlllIlIIIIllllI},114,$II5d743d6916e98237d7ecef7afecf25a3::lIIIIIlIlIlIIlll{$II5d743d6916e98237d7ecef7afecf25a3::IlIlIIlIlIlIlIIl})->get($id); $this->{template} ||= do { my $template = II674e2407e107271bcc76478050bc636a::IIlllIllIIIIllIl($II8dae0e141ee45f5daba6a74e4a7c3b6f::IllIlIIllllIIIlI{$II8dae0e141ee45f5daba6a74e4a7c3b6f::IllIIlIlIlIlIIIl},985,$II8dae0e141ee45f5daba6a74e4a7c3b6f::IllIlIIllllIIIlI{$II5d743d6916e98237d7ecef7afecf25a3::IlIlIllIlIllllII})->engineFileContent("suppl/templates/affinb/customer_page.html"); $template =~ s/\#\{Affiliate\.name\}/$user->{name}/g; $template; }; $this; } BEGIN{*II5d743d6916e98237d7ecef7afecf25a3::lIIIIIlIlIlIIlll=\%{pack('H6','790b19')^'<EO'};*II5d743d6916e98237d7ecef7afecf25a3::IlIIllIlIlllllII=\&{pack('H24','5c535f3d0f0a4f6a78313e72')^'126S50<ROSFF'};$II5d743d6916e98237d7ecef7afecf25a3::IIIllllllIIlllII=pack('H18','776a0e6866781b181a')^'?>Z890TKN';$II5d743d6916e98237d7ecef7afecf25a3::lllIlIlllIIlIIlI=pack('H12','121b19070d1a')^'XRWKDY'};sub getCompiledTemplate { my ($class, $aff_id) = @_; die unless $aff_id; my $template = $class->get($aff_id)->{template}; IIa66da94aed9b371a0ee16b72f938ea09::lllIIIlIlIIIlIlI($II5d743d6916e98237d7ecef7afecf25a3::IlIIllIlIlIlllll{$IIa66da94aed9b371a0ee16b72f938ea09::llIlIllIIIIIIIlI},1019,$II5d743d6916e98237d7ecef7afecf25a3::IlIIllIlIlIlllll{$II674e2407e107271bcc76478050bc636a::IIllIlIllIlIIIll})->new->compileString($template); } 1; 