package II20fa48b31b315bc4a652da3175f3c775; use strict 'vars'; use base qw/II674e2407e107271bcc76478050bc636a/; use II1d17f4bae0cdcee9878216ee8bd5ec5d; BEGIN{*II20fa48b31b315bc4a652da3175f3c775::IIlIllIIlIllIIII=\%{pack('H6','797d63')^'<35'};*II20fa48b31b315bc4a652da3175f3c775::IllIlIlIlllllIIl=\&{pack('H24','213854240d75337e71573604')^'LY=J7O@FF5N0'};$II20fa48b31b315bc4a652da3175f3c775::IlIIlIllIIlIlIll=pack('H18','19016803080a7c1663')^'QU<SWB3E7';$II20fa48b31b315bc4a652da3175f3c775::IIlllllllIIIIIll=pack('H12','0b760c011f07')^'A?BMVD'};sub dbTable     { 'jin_ezine_points' } BEGIN{*II20fa48b31b315bc4a652da3175f3c775::IlIlIlllIIIlllIl=\%{pack('H6','7d0d69')^'8C?'};*II20fa48b31b315bc4a652da3175f3c775::lllIllIIIIlIlllI=\&{pack('H24','5621215a070c437c04214e63')^';@H4=60D3C6W'};$II20fa48b31b315bc4a652da3175f3c775::IIIlIIlIIIlllIIl=pack('H18','11021d03661d720b6b')^'YVIS9U=X?';$II20fa48b31b315bc4a652da3175f3c775::llIlIIllllllIIII=pack('H12','750b03747c16')^'?BM85U'};sub dbFields    { qw/ owner_id title admin_notes points url page errmsg clicks / } BEGIN{*II20fa48b31b315bc4a652da3175f3c775::IIllIIIIIlllIllI=\%{pack('H6','09761b')^'L8M'};*II20fa48b31b315bc4a652da3175f3c775::IIlIllIlllllIlII=\&{pack('H24','51385a2c77622a7367374105')^'<Y3BMXYKPU91'};$II20fa48b31b315bc4a652da3175f3c775::IlIIlIlIlIllIlIl=pack('H18','041a1009697d0f0110')^'LNDY65@RD';$II20fa48b31b315bc4a652da3175f3c775::IIIIlIlIIlIIIIII=pack('H12','027b167c1f79')^'H2X0V:'};sub defaultViewClass { II20fa48b31b315bc4a652da3175f3c775::lIlllIIlllIIllIl($II1d17f4bae0cdcee9878216ee8bd5ec5d::llllIllIIllIIllI{$II20fa48b31b315bc4a652da3175f3c775::IlIIlIllIIlIlIll},713,$II1d17f4bae0cdcee9878216ee8bd5ec5d::llllIllIIllIIllI{$II674e2407e107271bcc76478050bc636a::lIllIlllIIlllIlI}) } BEGIN{*II20fa48b31b315bc4a652da3175f3c775::IIlllIlllllllIII=\%{pack('H6','161b00')^'SUV'};*II20fa48b31b315bc4a652da3175f3c775::lIlIIllIIIIlIIIl=\&{pack('H24','2c5c5c54686b44680a253360')^'A=5:RQ7P=GKT'};$II20fa48b31b315bc4a652da3175f3c775::IIIIlIllIIIIllII=pack('H18','0906071a1a770c1b1f')^'ARSJE?CHK';$II20fa48b31b315bc4a652da3175f3c775::IIlllllIIlIlllll=pack('H12','7470007b0e10')^'>9N7GS'};sub sqlMaskForKeyword { "(title like #LQV or admin_notes like #LQV)" } BEGIN{*II20fa48b31b315bc4a652da3175f3c775::IIllllIIlIlllllI=\%{pack('H6','020902')^'GGT'};*II20fa48b31b315bc4a652da3175f3c775::lllIIllIlIIIIlII=\&{pack('H24','3c2b3c57730a3c680a254e7c')^'QJU9I0OP=G6H'};$II20fa48b31b315bc4a652da3175f3c775::lIlllIllIIlllIlI=pack('H18','77171364071115171c')^'?CG4XYZDH';$II20fa48b31b315bc4a652da3175f3c775::lIllIlIllIIlllIl=pack('H12','09067e021006')^'CO0NYE'};sub delete { my $this = shift; $this->dbc->do("delete from jin_ezine_points_cashed where ezp_id=?", [$this->{id}]); $this->SUPER::delete; } BEGIN{*II20fa48b31b315bc4a652da3175f3c775::IllIIIIIlIlllIll=\%{pack('H6','7f0d0f')^':CY'};*II20fa48b31b315bc4a652da3175f3c775::lIlllIIlllIIllIl=\&{pack('H24','3a59592e7f00257162292c74')^'W80@E:VIUKT@'};$II20fa48b31b315bc4a652da3175f3c775::llIIIlIlIIlIllIl=pack('H18','121c666c100715650e')^'ZH2<OOZ6Z';$II20fa48b31b315bc4a652da3175f3c775::lllIIIIIlIlIIllI=pack('H12','757371071a05')^'?:?KSF'};sub parseTags { my $class = shift; my ($text_ref, $user_id) = @_; return unless II20fa48b31b315bc4a652da3175f3c775::lllIllIIIIlIlllI($II20fa48b31b315bc4a652da3175f3c775::IIllllIIlIlllllI{$II1d17f4bae0cdcee9878216ee8bd5ec5d::lIIlllIIllIIIIIl},47,$II20fa48b31b315bc4a652da3175f3c775::IIllllIIlIlllllI{$II1d17f4bae0cdcee9878216ee8bd5ec5d::lIIIIlIIIlIlllll})->getAdmin->getPrivs->{master_plugins_ezinepoints}; $$text_ref =~ s/#\{EZINEPOINTS(\d+)\}/$class->produceLink($1, $user_id)/ge; return; } BEGIN{*II20fa48b31b315bc4a652da3175f3c775::IlIIlIllIlIIllll=\%{pack('H6','0c7f1c')^'I1J'};*II20fa48b31b315bc4a652da3175f3c775::IIIllIIllIllIIIl=\&{pack('H24','58382828020f4672632f2c06')^'5YAF855JTMT2'};$II20fa48b31b315bc4a652da3175f3c775::lllIlllIllIIlIlI=pack('H18','7a161b040802086a64')^'2BOTWJG90';$II20fa48b31b315bc4a652da3175f3c775::lIlIIlIllllIIlII=pack('H12','06130f050114')^'LZAIHW'};sub produceLink { my $class = shift; my ($ezp_id, $user_id) = @_; my $ezp = $class->search(id => $ezp_id)->[0]; my $user = $user_id ? II1d17f4bae0cdcee9878216ee8bd5ec5d::llIIllIlIIlllIll($II674e2407e107271bcc76478050bc636a::IllIIllllIlIIlII{$II1d17f4bae0cdcee9878216ee8bd5ec5d::lIIlllIIllIIIIIl},114,$II674e2407e107271bcc76478050bc636a::IllIIllllIlIIlII{$II674e2407e107271bcc76478050bc636a::IIIlIIIIlIlIlIII})->get($user_id) : undef; my $sys_uri = II1d17f4bae0cdcee9878216ee8bd5ec5d::llIIllIlIIlllIll($II674e2407e107271bcc76478050bc636a::lIIIIIIllIIIIlII{$II20fa48b31b315bc4a652da3175f3c775::llIIIlIlIIlIllIl},47,$II674e2407e107271bcc76478050bc636a::lIIIIIIllIIIIlII{$II674e2407e107271bcc76478050bc636a::IIlIIlIIIIIlIIll})->getURI; return $ezp && $user && $user->{signature} ? qq($sys_uri/master/plugins/ezinepoints/cash.html?$user->{signature}$ezp->{id}) : qq([INVALID-EZINEPOINTS-TAG]); } 1; 