Location: PHPKode > projects > Axis Groupware > musiclib/unused/tunez/tunez_admin.inc.php
<?
$accountid = get_account_id();
if ($accountid == $admin1 or $accountid == $admin2) { $status = 2; }
if ($status < 2) die("Access Denied");

function displayAdminNavBar()
{
	global $messageTitle;
	global $messageBody;
	global $status;
	

	
	if (isset($messageTitle))
	{
		showBox($messageTitle, $messageBody);
	}
}

function gimmeSpaces($nrOfSpaces)
{

	for ($i=0 ; $i < $nrOfSpaces ; $i++)
	{
		$x .= " ";
	}
	return $x;
}

function dropdown_genre($selected)
{
        echo "<select name=genre>\n";
        $kweerie = "SELECT genre, genrename FROM genres ORDER BY genrename";
        $result = mysql_db_query("tunez", $kweerie);
        while($row = mysql_fetch_array($result))
        {
	    echo "<option value=\"" . $row[0] . "\"";
    	    if ($row[0] == $selected) { echo " SELECTED"; }
            echo ">" . $row[1];
    	}
        echo "\n</select>\n";
}


?>
Return current item: Axis Groupware