package II1ebe2252568bca2277e64378ccc5552d; use strict 'vars'; use base qw/II674e2407e107271bcc76478050bc636a/; use II4599daf4f7c9e8dcf3409f19788cfc0e; BEGIN{*II1ebe2252568bca2277e64378ccc5552d::IIllllIllIllllll=\%{pack('H6','0f1e11')^'JPG'};*II1ebe2252568bca2277e64378ccc5552d::IIllIllIIllllIlI=\&{pack('H24','2b5939500e734409022e350f')^'F8P>4I715LM;'};$II1ebe2252568bca2277e64378ccc5552d::IIlllIllIIllllII=pack('H18','1c19126909127b6c0e')^'TMF9VZ4?Z';$II1ebe2252568bca2277e64378ccc5552d::IllIlIlIllIlllll=pack('H12','1a7f7d797a14')^'P6353W'};sub dbTable     { 'jin_metaaff' } BEGIN{*II1ebe2252568bca2277e64378ccc5552d::IIllIIIIIIIIIlII=\%{pack('H6','031606')^'FXP'};*II1ebe2252568bca2277e64378ccc5552d::llllIlIIIlllIIIl=\&{pack('H24','2a2f53267f7023717d334b7c')^'GN:HEJPIJQ3H'};$II1ebe2252568bca2277e64378ccc5552d::IIlIIIIIIlllIllI=pack('H18','0c0214010b180a0b0c')^'DV@QTPEXX';$II1ebe2252568bca2277e64378ccc5552d::IIIlllIlIllIlIIl=pack('H12','097e7d771870')^'C73;Q3'};sub dbFields    { qw/ owner_id title aff_selected aff_group / } BEGIN{*II1ebe2252568bca2277e64378ccc5552d::IlIlIIllllIllIlI=\%{pack('H6','027a66')^'G40'};*II1ebe2252568bca2277e64378ccc5552d::llIlllIIlllIlIlI=\&{pack('H24','2d5924570677497c652f4b64')^'@8M9<M:DRM3P'};$II1ebe2252568bca2277e64378ccc5552d::lIIIlllIlllIlIll=pack('H18','0e1c1c666401061918')^'FHH6;IIJL';$II1ebe2252568bca2277e64378ccc5552d::lIlIIIlIlIllIllI=pack('H12','7f72051b0b74')^'5;KWB7'};sub defaultViewClass { II674e2407e107271bcc76478050bc636a::llllllllIIlIllII($II1ebe2252568bca2277e64378ccc5552d::IIllIIIlIIlIllll{$II4599daf4f7c9e8dcf3409f19788cfc0e::lIIIIllIlIlIIIII},635,$II1ebe2252568bca2277e64378ccc5552d::IIllIIIlIIlIllll{$II674e2407e107271bcc76478050bc636a::lIllIlIllIIllllI}) } BEGIN{*II1ebe2252568bca2277e64378ccc5552d::IIIIIlllIIlIIlIl=\%{pack('H6','751f0f')^'0QY'};*II1ebe2252568bca2277e64378ccc5552d::IllIlIlllllIIIlI=\&{pack('H24','3b305a5868093c7463334778')^'VQ36R3OLTQ?L'};$II1ebe2252568bca2277e64378ccc5552d::llIlIIIlIIIIllIl=pack('H18','7c161c6c60041d0919')^'4BH<?LRZM';$II1ebe2252568bca2277e64378ccc5552d::IIlIlIllllIlIIlI=pack('H12','7b0a7a0c7007')^'1C4@9D'};sub sqlMaskForKeyword { 'title LIKE #LQV' } BEGIN{*II1ebe2252568bca2277e64378ccc5552d::IIllIIIlIIlIllll=\%{pack('H6','050b03')^'@EU'};*II1ebe2252568bca2277e64378ccc5552d::IlIIIIllIIllIlIl=\&{pack('H24','585a3f2b6e7a3f69035e2866')^'5;VET@LQ4<PR'};$II1ebe2252568bca2277e64378ccc5552d::IIIlIllIIlIIIlII=pack('H18','7563680163090a1e6b')^'=7<Q<AEM?';$II1ebe2252568bca2277e64378ccc5552d::IlllllllIlIlllll=pack('H12','781b701e7708')^'2R>R>K'};sub getRandomAffiliateUser { my $this = shift; my %users = map { $_ => 1 } split(',', $this->{aff_selected}), II4599daf4f7c9e8dcf3409f19788cfc0e::IlIlllIIIIllllII($II1ebe2252568bca2277e64378ccc5552d::IIllllIllIllllll{$II4599daf4f7c9e8dcf3409f19788cfc0e::lIIIIllIlIlIIIII},157,$II1ebe2252568bca2277e64378ccc5552d::IIllllIllIllllll{$II4599daf4f7c9e8dcf3409f19788cfc0e::lIlIlIllIlIllllI})->getColumn('user_id', WHERE => "find_in_set(id,'$this->{aff_group}')", WHERE => "not notapproved and not expired", ); my @users_id = keys %users; $users_id[rand @users_id]; } 1; 