Location: PHPKode > projects > Axis Groupware > musiclib/random.php
<?php
$phpgw_info["flags"] = array ("currentapp" => "musiclib",
							 "enable_nextmatchs_class" => True);
$GLOBALS['phpgw_info']['cursor_focus'] = "document.defaultsearch.searchFor.focus();
										  document.defaultsearch.searchFor.select();";
	 
$rows = 2;

include ("../header.inc.php"); #PHP Groupware header

include ("inc/config.inc.php");
include ("inc/functions.inc.php");
include ("inc/sidebar.inc.php");

$title = "Random Play";

include ("inc/header.inc.php");

echo "Random Play in pull down menu on sidebar randomizes all music in this database.<br>";
echo "Here are a few more ways to listen to random music:<br>";

echo "<br><a href=";
echo $GLOBALS['phpgw']->link("/musiclib/listen.php","mode=random&type=album");
echo "><font size=2>Random music from Albums</font></a><br>";

echo "<br><a href=";
echo $GLOBALS['phpgw']->link("/musiclib/listen.php","mode=random&type=misc");
echo "><font size=2>Random music from Misc</font></a><br>";

echo "<br><a href=";
echo $GLOBALS['phpgw']->link("/musiclib/listen.php","mode=random&type=playlist");
echo "><font size=2>Random music from My Playlists</font></a><br>";

?>
Return current item: Axis Groupware