use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");my $o = Zen::PerlHandler->get(IIb39071a48a82a07eeb9256f406abebc5::lIIlIIIlllllllII($IIb39071a48a82a07eeb9256f406abebc5::IlllIIlIllllIIIl{$II8dae0e141ee45f5daba6a74e4a7c3b6f::lIIIIIIIllIIIIIl},140,$IIb39071a48a82a07eeb9256f406abebc5::IlllIIlIllllIIIl{$IIb39071a48a82a07eeb9256f406abebc5::IIIllIIlllllIllI}).'->getOrDummy')->do($C->{INPUT}{cert_id});$C->{C} = $o->getView("" || undef);$this->out("\n");my $o = Zen::PerlHandler->get(II720d6e18aa34327713eb014408fc9144::llllllIIIlIIlIlI($II8dae0e141ee45f5daba6a74e4a7c3b6f::IllIlIIllllIIIlI{$IIb39071a48a82a07eeb9256f406abebc5::lIlIlIllIlllIIII},114,$II8dae0e141ee45f5daba6a74e4a7c3b6f::IllIlIIllllIIIlI{$II982446f8950cc3dc59e487adba22df54::IlIllIlIlIIlIlll}).'->getOrDummy')->do($C->{INPUT}{user_id});$C->{User} = $o->getView("" || undef);$this->out("");my $o = Zen::PerlHandler->get(II8dae0e141ee45f5daba6a74e4a7c3b6f::lllIlIIIIlIIlIll($II720d6e18aa34327713eb014408fc9144::IIlllIIllllIlIll{$IIb39071a48a82a07eeb9256f406abebc5::llllIIllIIIIIIIl},114,$II720d6e18aa34327713eb014408fc9144::IIlllIIllllIlIll{$II720d6e18aa34327713eb014408fc9144::IIIIIIllIIlllIIl}).'->getOrDummy')->do($C->{SYS}{AdminID});$C->{Owner} = $o->getView("" || undef);$this->out("\n");if ( $C->{INPUT}{nc} ) {$this->out("");require IIa66da94aed9b371a0ee16b72f938ea09;my $val = "$C->{C}{nc_template}";II982446f8950cc3dc59e487adba22df54::IIllIIllIIIlllll($II8dae0e141ee45f5daba6a74e4a7c3b6f::IIllllIllllllIll{$IIb39071a48a82a07eeb9256f406abebc5::IIlllIIIIlIlllII},1019,$II8dae0e141ee45f5daba6a74e4a7c3b6f::IIllllIllllllIll{$II720d6e18aa34327713eb014408fc9144::IlIIllIlllllIIll})->evaluate(1) for $val;eval qq(\$C->{template} = $val);die($@) if $@;$this->out("");} else {$this->out("");$C->{Objs} = Zen::PerlHandler->get(II8dae0e141ee45f5daba6a74e4a7c3b6f::IlIIllIIllIlIIll($IIb39071a48a82a07eeb9256f406abebc5::lIIIIlIlIlllIIlI{$II720d6e18aa34327713eb014408fc9144::lIIIIIlIIIlIIIII},7,$IIb39071a48a82a07eeb9256f406abebc5::lIIIIlIlIlllIIlI{$IIb39071a48a82a07eeb9256f406abebc5::llIIllIlIIlIllII}).'->search')->do(type => 'membership', obj_id => $C->{C}{membership_id}, user_id => $C->{INPUT}{user_id}, NUM => 1);$_ = $_->getView for @{ $C->{Objs} };$this->out("");$C->{M} = $C->{Objs}->[0];$this->out("\n");if ( $C->{M}{expires} ) {$this->out("");$C->{ValidUntil} = "$C->{M}{ValidUntil}";$this->out("");} else {$this->out("");$C->{ValidUntil} = "LIFETIME";$this->out("");}$this->out("");require IIa66da94aed9b371a0ee16b72f938ea09;my $val = "$C->{C}{template}";II720d6e18aa34327713eb014408fc9144::IlllIllllIllIIIl($IIb39071a48a82a07eeb9256f406abebc5::IIllIIIIIIIIlllI{$IIb39071a48a82a07eeb9256f406abebc5::lIlIlIllIlllIIII},1019,$IIb39071a48a82a07eeb9256f406abebc5::IIllIIIIIIIIlllI{$IIb39071a48a82a07eeb9256f406abebc5::llIlIllllIIIlIIl})->evaluate(1) for $val;eval qq(\$C->{template} = $val);die($@) if $@;$this->out("");}$this->out("\n$C->{template}\n");}