<?php
/************************************************************************/
/* Top Music: Administration Module */
/* ================================ */
/* */
/* Copyright (c) 2004 by SergiDs.com */
/* http://phpnuke.org */
/* */
/* 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. */
/************************************************************************/
if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }
$aid = trim($aid);
$result = mysql_query("select radminsuper from ".$prefix."_authors where aid='$aid'");
list($radminsuper) = mysql_fetch_row($result);
if ($radminsuper==1) {
?>
<table border="0" align="center">
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<?php if(count($chartList)>0){ ?>
<tr>
<td> </td>
<td>
<?php
$chartView=new ChartAdminView();
$chartView->printChartList($chartList);
?>
</td>
<td> </td>
</tr>
<?php }else{ ?>
<tr>
<td> </td>
<td><strong><?=_TOPMUSIC_NOCHARTS?>:</strong></td>
<td> </td>
</tr>
<?php } ?>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<?php
} else {
echo "Access Denied";
}
?>