Location: PHPKode > projects > Axis Groupware > musiclib/unused/tunez/Copy of index.php
<?

# index.php
#
# The Tunez Frontpage

$phpgw_info["flags"] = array ("currentapp" => "tunez",
							 "enable_nextmatchs_class" => True);
							 
include ("../header.inc.php"); #PHP Groupware header

include ("tunez.inc.php");
$title = "Jack Morton Mp3s";
$refreshThisPage = true;
include ("header.inc.php");

?>
<h2>This is tunez.</h2>

<?
if ($user_id < 1)
{
    echo "<p>Tunez doesn't know who you are. If you haven't used Tunez before, this might be a good time to <a href=signup.php class=dik>Sign up!</a> to get an account. You need it to vote.<BR><BR>If you already have an account, sign in using the form on the right</p>";
}

if ($mode == "stream")
{
    echo "<p>This installation is set up to use streaming with icecast.<BR>";
    echo "Point your mp3-player to the icecast server (probably http://$SERVER_NAME:8000) to listen to the stream</p>";
}
if ($mode == "local")
{
    echo "<p>This installation is set up to use local playback with mpg123</p>";
}
?>
<p>
All pages refresh every 40 seconds, to update playlist etc.
</p>
<p>
Click <a href="listen.pls">here</a> to listen to a stream<br>
For updates, info etc, go to <a href="http://tunez.sourceforge.net" class="dik">http://tunez.sourceforge.net</a>
</p>
<?
include ("footer.inc.php");
?>
Return current item: Axis Groupware