use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$C->{AdminDashboardOn} = $C->{MerchantSettings}{admin_dashboard_on} && $C->{User}{privs}{master_};$this->out("\n");if ( ! $C->{AdminDashboardOn} ) {$this->out("<div class=\"jinHeader\" style=\"font-size: 150\%; margin-bottom:25px\">\nWelcome, $C->{User}{name}!\n</div>\n");}$this->out("\n");if ( $C->{LoggedAsAdmin} ) {$this->out("	<!-- <goth:include tmpl=\"/headfoot/sys_alert.html\"> -->\n	<iframe\n		width=\"50\%\" height=\"10\" frameborder=\"0\"\n		name=\"IFrameReleaseWarnings\" id=\"IFrameReleaseWarnings\"\n		src=\"$C->{SYS}{URL}/help/release_warnings.html\">\n	</iframe>\n");}$this->out("\n");$this->out(Zen::PerlHandler->get("II0f9a1afc6083747df39c4a3062b9c2b8->mnt_has_bcastnews")->do($this->{C}));$this->out("");if ( $C->{HasBcastnews} ) {$this->out("	<iframe\n		width=\"50\%\" height=\"10\" frameborder=\"0\"\n		name=\"IFrameBcastnews\" id=\"IFrameBcastnews\"\n		src=\"$C->{SYS}{URL}/master/plugins/bcastnews/show.html\">\n	</iframe>\n");}$this->out("\n");if ( $C->{MerchantSettings}{welcome_screen_on} ) {$this->out("");my $var = do { $C->{MerchantSettings}{welcome_screen} };\$this->out($var);$this->out("");}$this->out("\n");if ( $C->{AdminDashboardOn} ) {$this->out("\n<div class=\"row\">\n	<div class=\"col-lg-4 col-sm-12\">\n		<!-- Area Chart -->\n		<div class=\"card shadow mb-4\">\n			<div class=\"card-header py-3\">\n				<h6 class=\"m-0 font-weight-bold text-primary\">Total Revenue</h6>\n			</div>\n			<div class=\"card-body\">\n				<div class=\"chart-area\">\n                	<canvas id=\"myAreaChart1\"></canvas>\n                </div>\n			</div>\n		</div>\n	</div>\n	<div class=\"col-lg-4 col-sm-12\">\n		<!-- Area Chart -->\n		<div class=\"card shadow mb-4\">\n			<div class=\"card-header py-3\">\n				<h6 class=\"m-0 font-weight-bold text-primary\">Sales</h6>\n			</div>\n			<div class=\"card-body\">\n				<div class=\"chart-area\">\n                	<canvas id=\"myAreaChart2\"></canvas>\n                </div>\n			</div>\n		</div>\n	</div>\n	<div class=\"col-lg-4 col-sm-12\">\n		<!-- Area Chart -->\n		<div class=\"card shadow mb-4\">\n			<div class=\"card-header py-3\">\n				<h6 class=\"m-0 font-weight-bold text-primary\">Subscription Rebills</h6>\n			</div>\n			<div class=\"card-body\">\n				<div class=\"chart-area\">\n                	<canvas id=\"myAreaChart3\"></canvas>\n                </div>\n			</div>\n		</div>\n	</div>\n</div>\n");}$this->out("\n");{my $G = (ref $this)->get("/headfoot/hf_main.html", $this->{param}) or die "no skel /headfoot/hf_main.html";my $out1 = $this->getOutput;$C->{central_content} = join('', @$out1);@$out1 = ();my $out2 = $G->execute($C);$this->out(@$out2) if $out2;}$this->out("");}