Location: PHPKode > projects > phpMyPrepaid > phpmyprepaid/www/main.php

/*  dhalbe-Admin - a webbased application for simplifying working with 
    a Free-Radius server and an MySQL as Backend-Database. Common tasks
    are generating prePaid accounts / cards in various formats, designing
    layout of printable cards and much more.
    Copyright (C) 2004	dhalbe-Admin Project  
    Copyright (C) 2004  Michael Conrad (hide@address.com),
    Copyright (C) 2004  Christian Roedel (hide@address.com)

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

unset($_SESSION['drop']); // prevents confusion	
// -----------> This is the default gooey center
echo "<div style=\"text-align: center;\">";
echo '<table  border="3">';
	echo '<tr>';
	echo "<td >";
echo '<td class="maincell" align ="center"><b>';
		echo($maintext); //set in config.inc.php
		echo "</b><img  src='$Logo' ALT=\"Logo\">";

	echo '</td>';
	echo '<td>';
	echo '</td>';
	echo '</tr>';
	echo '<tr ><td>';  
	echo "</td><td class=\"maincell\" ><p class=\"information\">Users have used  :</p><div style=\"text-align:left; margin-left:30px;\">";
	echo "<li> ".time2str($sec)." this month</li>";
	echo "  <li>  ".bytes2str($outputoctet)." output bytes this month</li>";
	echo "  <li>  ".bytes2str($inputoctet)." input bytes this month</li>";
	echo "  <li>  ".bytes2str($totaloctet)." input + output bytes this month</li>";
	echo '</td><td >';
	echo '</td>';
	echo '<tr><td colspan="2">
	<small>Quick Print PPC file requires a client app to process and send it to a printer.</small></td><td></td></tr>';
echo '</table></div>';
Return current item: phpMyPrepaid