package II57698c379382888d019f3dcb11089132; use strict 'vars'; use base qw/IIc0dddbcc5525420e139003092ae80eb6/; use IIc0dddbcc5525420e139003092ae80eb6::datetime; __PACKAGE__->standardHandler($_, ctime => 'datetime(%d.%m.%y)') for qw/TblCtime/; BEGIN{*II57698c379382888d019f3dcb11089132::IIllIlllIlIIIIIl=\%{pack('H6','040d16')^'AC@'};*II57698c379382888d019f3dcb11089132::IIIIIlIlIlIIlIll=\&{pack('H24','5c5d2c596971430371574762')^'1<E7SK0;F5?V'};$II57698c379382888d019f3dcb11089132::llIlIIlIllIIIIII=pack('H18','740e06651c731c0018')^'<ZR5C;SSL';$II57698c379382888d019f3dcb11089132::lIlIlIlllIIllIlI=pack('H12','12137f0c7974')^'XZ1@07'};sub getTblSubject { my $this = shift; my $object = $this->getDecorated; my $sysURL = II57698c379382888d019f3dcb11089132::IIIIIlIlIlIIlIll($II57698c379382888d019f3dcb11089132::IlIIIlIlllllIllI{$II57698c379382888d019f3dcb11089132::IIlIlIlIIIllllll},47,$II57698c379382888d019f3dcb11089132::IlIIIlIlllllIllI{$IIc0dddbcc5525420e139003092ae80eb6::IlIIlllIlIllIIll})->getURL; qq(<a class="jinTableLink" href="$sysURL/master/users/massmail/job.html?job=$object->{job_id}">$object->{subject}</a>); } BEGIN{*II57698c379382888d019f3dcb11089132::IllIlIIIIIlllIII=\%{pack('H6','7f1717')^':YA'};*II57698c379382888d019f3dcb11089132::IllllIIllIIlIlIl=\&{pack('H24','52273d5e74693c6964223867')^'?FT0NSOQS@@S'};$II57698c379382888d019f3dcb11089132::IlllIIIlIlIIIlII=pack('H18','0f0c6e6a1712711501')^'GX::HZ>FU';$II57698c379382888d019f3dcb11089132::llIIIIlIlIllIIII=pack('H12','0f071805797f')^'ENVI0<'};sub getProgress { my $this = shift; my $object = $this->getDecorated; my $progress = $object->{emails_num} && $object->{emails_sent} ? int($object->{emails_sent} / $object->{emails_num} * 100) : '0'; $progress >= 100 ? __PACKAGE__->message('massmail.job.msg.done') : "$progress%"; } BEGIN{*II57698c379382888d019f3dcb11089132::IIIIlIIIIllIIIII=\%{pack('H6','011719')^'DYO'};*II57698c379382888d019f3dcb11089132::lllIIIIIIIIllIIl=\&{pack('H24','56375c34737d426f642c2008')^';V5ZIG1WSNX<'};$II57698c379382888d019f3dcb11089132::lIllllIlIIIllIII=pack('H18','1b0202601d060a6011')^'SVV0BNE3E';$II57698c379382888d019f3dcb11089132::IlIlllIlllIIIIlI=pack('H12','770e19767c06')^'=GW:5E'};sub getStatus { my $this = shift; my $object = $this->getDecorated; my $status; if ($object->{complete}) { $status = IIc0dddbcc5525420e139003092ae80eb6::datetime::get($this, 'fdate', '%d.%m.%y&nbsp;%H:%M:%S'); } elsif (! $object->{scheduled} && $object->{ldate}) { if ($this->{isInterrupted}) { my $msg_interrupted = __PACKAGE__->message('massmail.msg.interrupted'); my $msg_resume = __PACKAGE__->message('massmail.msg.resume'); my $sysURI = II57698c379382888d019f3dcb11089132::lllIIIIIIIIllIIl($IIc0dddbcc5525420e139003092ae80eb6::llIlIlllllIIlIll{$II57698c379382888d019f3dcb11089132::IlllIIIlIlIIIlII},47,$IIc0dddbcc5525420e139003092ae80eb6::llIlIlllllIIlIll{$II57698c379382888d019f3dcb11089132::lIlIlIlllIIllIlI})->getURI; $status = qq($msg_interrupted&nbsp<a class="jinTableLink" href="$sysURI/master/users/massmail/job.html?job=$object->{job_id}">[$msg_resume]</a>); } else { $status = __PACKAGE__->message('massmail.msg.running'); } } $status; } BEGIN{*II57698c379382888d019f3dcb11089132::IlIIIlIlllllIllI=\%{pack('H6','111c6f')^'TR9'};*II57698c379382888d019f3dcb11089132::IIIlIIlIIIlllIlI=\&{pack('H24','3b5c3d560e722101045e4209')^'V=T84HR93<:='};$II57698c379382888d019f3dcb11089132::IIlIlIlIIIllllll=pack('H18','1f050d176b70036107')^'WQYG48L2S';$II57698c379382888d019f3dcb11089132::IIlIIllIIlllllII=pack('H12','12017973080d')^'XH7?AN'};sub getIsInterrupted { my $this = shift; my $object = $this->getDecorated; my $isInterrupted = ! $object->{complete} && ! $object->{scheduled} && $object->{ldate} && $object->{ldate} lt IIc0dddbcc5525420e139003092ae80eb6::IllIlIIIIlIIllIl($II57698c379382888d019f3dcb11089132::IlIIIlIlllllIllI{$IIc0dddbcc5525420e139003092ae80eb6::lllIIIlIIIlIllIl},1010,$II57698c379382888d019f3dcb11089132::IlIIIlIlllllIllI{$II57698c379382888d019f3dcb11089132::IIlIIllIIlllllII})->new->addSec(-15 * 60)->datetime ? 1 : 0; $isInterrupted; } 1; 