use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");{my $G = (ref $this)->get("/headfoot/inner_header.html", $this->{param}) or die "no skel /headfoot/inner_header.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("\n<div style=\"margin: 10px\" align=\"left\">\n\nBelow is the certificate HTML code. You can copy it and paste into any HTML document. Replace USER_ID with real user ID\n<br><br>\n<textarea rows=\"3\" cols=\"75\" readOnly>\n<script src=\"$C->{SYS}{URI}/master/plugins/certman/cert.txt?cert_id=$C->{INPUT}{id}&user_id=USER_ID\"></script>\n</textarea>\n	\n</div>\n\n");{my $G = (ref $this)->get("/headfoot/inc_closewindow.html", $this->{param}) or die "no skel /headfoot/inc_closewindow.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("");{my $G = (ref $this)->get("/headfoot/inner_footer.html", $this->{param}) or die "no skel /headfoot/inner_footer.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("\n");}