<?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 scope="col"> </th>
<td scope="col"> </th>
<td scope="col"> </th>
</tr>
<tr>
<th scope="col"> </th>
<th scope="col"><?=_TOPMUSIC_ORPHANSONGS?></th>
<th scope="col"> </th>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>
<table width="100%" border="0">
<tr>
<td colspan="2"><strong><?=_TOPMUSIC_LISTORPHANSONGS?>:</strong></td>
</tr>
<tr>
<td colspan="2">
<?php
$songView=new SongAdminView();
$songView->printOrphanSongList($orphanList);
?>
</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<?php
} else {
OpenTable();
echo "Access Denied";
CloseTable();
}
?>