<?php
// yer standard connection crap goes in these four lines
$host="localhost";
$port=5038;
$user="basicpanel";
$pass="basicpanelpass";


// this is a default url.
// if someone visits just index.php it redirects them to this url
// i suggest changing the number 2 to whatever conference you use
$default_url ""$_SERVER['PHP_SELF'] ."?show=2";

// here is a simple menu. it is displayed at the bottom of the manager.
// i have this one configuration set to display various conferences.
// you can also access the blacklist function in here.
//  (if your setup uses a blacklist to keep tools out)
function config_menu()
{
       echo(
"<html><head></head><body bgcolor=\"#ffffff\">");
        echo(
"
                <table width=\"100%\" height=\"100%\"><tr><td>\n
                Conferences:<br />\n
                <a target=\"_parent\" href=\""
$_SERVER['PHP_SELF'] ."?show=2\"> #2 (general)</a><br />\n
                <a target=\"_parent\" href=\""
$_SERVER['PHP_SELF'] ."?show=69\">#69 (telephuck)</a><br />\n
                </td><td>\n
        Blacklist:<br />\n
                <a target=\"_self\" href=\""
$_SERVER['PHP_SELF'] ."?blacklist=edit\"> Blacklist Editor</a><br />\n
                </td></tr>\n
                </table>\n
        "
);
        echo(
"</body></html>");
}


?>