use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");my $o = Zen::PerlHandler->get(II8dae0e141ee45f5daba6a74e4a7c3b6f::lllIllIIIllIllII($II982446f8950cc3dc59e487adba22df54::lIlllIllIIlIIlll{$II8dae0e141ee45f5daba6a74e4a7c3b6f::IIIlIIlllIIlIlII},47,$II982446f8950cc3dc59e487adba22df54::lIlllIllIIlIIlll{$II982446f8950cc3dc59e487adba22df54::IIIIIIlIIlIlIIlI}).'->getOrDummy')->do();$C->{SYS} = $o->getView("" || undef);$this->out("");$C->{Testimonial} ||= $C->{Object}{view};$this->out("\n");$C->{player} = sub {$this->replaceOutput([]);$this->out("");if ( $C->{Testimonial}{player} eq 'flv' ) {$this->out("	<object\n		classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\"\n		codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\"\n		width=\"320\" height=\"320\" id=\"movieplayer240\" align=\"middle\">\n		<param name=\"FlashVars\" value=\"fileNumber=0&startStreaming=true&moviePath=$C->{Testimonial}{videofileURL}&movieLength=77&finalRedirectURL=&redirNewWindow=_self\">\n		<param name=\"allowScriptAccess\" value=\"sameDomain\" />\n		<param name=\"movie\" value=\"$C->{SYS}{URL}/suppl/players/video_flv/movieplayer240.swf\"/>\n		<param name=\"quality\" value=\"high\"/>\n		<param name=\"bgcolor\" value=\"#ffffff\"/>\n\n		<embed\n			src=\"$C->{SYS}{URL}/suppl/players/video_flv/movieplayer240.swf\"\n			FlashVars=\"fileNumber=0&startStreaming=true&moviePath=$C->{Testimonial}{videofileURL}&movieLength=77&finalRedirectURL=&redirNewWindow=_self\"\n			quality=\"high\"\n			bgcolor=\"#ffffff\"\n			width=\"320\" height=\"320\" name=\"movieplayer240\" align=\"middle\"\n			allowScriptAccess=\"sameDomain\"\n			type=\"application/x-shockwave-flash\"\n		pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />\n\n	</object>\n");} elsif ( $C->{Testimonial}{player} eq 'swf' ) {$this->out("	<OBJECT\n		classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"\n		codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0\"\n		WIDTH=\"800\" HEIGHT=\"642\" id=\"movie$C->{Testimonial}{id}\">\n	<PARAM NAME=movie VALUE=\"$C->{Testimonial}{videofileURL}\"> \n	<PARAM NAME=quality VALUE=\"high\">\n	<PARAM NAME=bgcolor VALUE=\"#ffffff\">\n	<EMBED src=\"$C->{Testimonial}{videofileURL}\"\n		quality=\"high\"\n		bgcolor=\"#ffffff\"\n		WIDTH=\"800\" HEIGHT=\"642\" \n		NAME=\"movie\" ALIGN=\"\" TYPE=\"application/x-shockwave-flash\"\n		PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\">\n	</EMBED>\n	</OBJECT>\n");} elsif ( $C->{Testimonial}{player} eq 'youtube' ) {$this->out("	<object width=\"425\" height=\"355\">\n		<param name=\"movie\" value=\"http://www.youtube.com/v/$C->{Testimonial}{youtube_id}&rel=1\"></param>\n		<param name=\"wmode\" value=\"transparent\"></param>\n		<embed\n			src=\"http://www.youtube.com/v/$C->{Testimonial}{youtube_id}&rel=1\"\n			type=\"application/x-shockwave-flash\"\n			wmode=\"transparent\"\n			width=\"425\" height=\"355\">\n			</embed>\n	</object>\n");} elsif ( $C->{Testimonial}{player} eq 'mp3' ) {$this->out("");$C->{fileURL} = "$C->{Testimonial}{videofileURL}";$this->out("");$C->{ptype} = "normal";$this->out("");$C->{sysurl} = "$C->{SYS}{URL}";$this->out("");{my $G = (ref $this)->get("/players/audio.html", $this->{param}) or die "no skel /players/audio.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("");}$this->out("<br>\n");return join("",@{ $this->restoreOutput });};$this->out("\n<div>\n	<b>Added on</b> $C->{Testimonial}{TblCtime}<br>\n	<br>\n	\n");if ( $C->{Testimonial}{image} ) {$this->out("");if ( $C->{Page}{photo_width} ) {$this->out("");$C->{width_tag} = " width=$C->{Page}{photo_width}";$this->out("");}$this->out("		<img src=\"$C->{Testimonial}{imageURL}\" align=left style=\"margin-bottom:5px;margin-right: 10px\"$C->{width_tag}>\n");}$this->out("\n	$C->{Testimonial}{testimonial}<br>\n</div>\n<div style=\"clear:left\">\n	<br>\n	\n");if ( $C->{Testimonial}{hasVideo} ) {$this->out("	".&{$C->{player}}."\n");}$this->out("	\n	<br>\n	<b>$C->{Testimonial}{name}</b><br>\n	\n");if ( $C->{Testimonial}{website_url} ) {$this->out("");$C->{website_title} = $C->{Testimonial}{website_title} || $C->{Testimonial}{website_url};$this->out("	<a target=\"_blank\" href=\"$C->{Testimonial}{website_url}\">$C->{website_title}</a><br>\n");}$this->out("	\n</div>\n");}