#!/usr/bin/perl

print "Content-Type: Text/HTML\n\n";

use CGI ':standard';
use Vpanel 1.00;
#require $header;
require $accountinfo;
$domainname = find_domain ($mainuser);

# Define the tab which appears to the front
#$tab_section = $tabnum_website;

# Output the content associated with this tab
#print "<body class=section-$tab_section>";

# display tabs
#require $tabdisplay;

# require the front for this tab
#require $tab_front[$tab_section-1];

$target = "http://$domainname/stats";

print<<STATS;
<html>
<head>
<title>
  Redirecting to your website's statistics ...
</title>
</head>


<SCRIPT Language="JavaScript">
  document.location="$target"
</SCRIPT>

<!-- <A HREF="$target">Click here for the website statistics of $domainname ...</A>  -->
</div>
</body>
</html>

STATS

