Location: PHPKode > projects > Mirroring Boards > list_mirror.php
<?

echo "<table>\n";
echo " <tr>\n";
echo "  <td width=150>Name\n";
echo "  <td width=75>Protocol\n";
echo "  <td width=150>User\n";
echo "  <td width=150>Server\n";
echo "  <td width=150>Path\n";

echo " <tr><td colspan=5><hr>\n";

require_once ("secure/mysql.php");

$sql = mysql_query ("SELECT * FROM `mb_mirrors` ORDER BY id ASC");
while (@extract (mysql_fetch_array ($sql), EXTR_PREFIX_ALL, "mirror"))
 {
  echo "<tr><td>$mirror_name<td>$mirror_protocol ://<td>$mirror_uid <td>@ $mirror_srv <td>$mirror_path\n";
 }

echo "</table><br><br>\n";

echo "<a href=add_mirror.php>Add Mirror</a>\n";

mysql_close();

?>
Return current item: Mirroring Boards