<?php
// If you want use the W2SP in a public net you should use something to secure this file!
// If you are not using any security tool yet, I would recommend phpSecurityAdmin:
//
// http://hn273.users.phpclasses.org/browse.html/package/391.html
// @require_once('YourPathTo_SECURITY_ADMIN' . '/_restrict.php');
// require configfile (and classfile)
require_once('hidden/w2sp.config.php');
// initialize the classinstance, validate requests and send them if Valid, - or die!
if ($W2SP =& new Winamp2ShellProXy($w2sp_settings))
{
$W2SP->ValidateRequest($_GET);
}
else
{
die("Sorry, Winamp2 ShellProxy isn't set up in valid mode!");
}
$TableWidth = 0;
$OUTPUT = "";
$buttons = array(
0 => array('40001','',''),
1 => array('50000','',''),
2 => array('blank','8','16'),
3 => array('40044','',''),
4 => array('40045','',''),
5 => array('40046','',''),
6 => array('40047','',''),
7 => array('40048','',''),
8 => array('blank','8','16'),
9 => array('40022','',''),
10 => array('40023','',''),
11 => array('blank','8','16'),
12 => array('55555','',''),
13 => array('blank','8','16'),
14 => array('60001','',''),
15 => array('60002','','')
);
foreach($buttons as $v) $OUTPUT .= "<td align=\"left\">".$W2SP->DisplayButton($v[0],$v[1],$v[2],&$TableWidth)."</td>\r\n";
$OUTPUT = "<table width=\"".$TableWidth."px\" cellspacing=0 cellpadding=0 border=0>\r\n<tr>\r\n".$OUTPUT."</tr>\r\n<tr>\r\n";
$OUTPUT .= "<td colspan=\"".count($buttons)."\" align=\"center\">".$W2SP->DisplayTrackListSelect($TableWidth)."</td>\r\n</tr>\r\n</table>\r\n";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html40/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<?PHP echo $W2SP->MetaRefresh(1);?>
<meta http-equiv="content-language" content="en">
<meta name="description" lang="en" content="The Winamp2 ShellProXy is a package of two components, A) the w2sp.exe, a little commandline tool written in VB which acts as a proxy on the system shell and B) a php-class which serve a full featured winamp remote control to a webclient.">
<meta name="keywords" lang="en" content="Winamp, Winamp2, ShellProXy, Shell, ProXy, Plugin, phpclass, Netjuke,">
<meta name="author" content="Horst Nogajski">
<meta name="copyright" content="Horst Nogajski">
<meta name="publisher" content="Horst Nogajski">
<meta name="generator" content="handwritten with NoteTab Pro, Komodo 1.2, =:)">
<meta name="date" content="2003-10-10T08:00+01:00">
<meta http-equiv="imagetoolbar" content="no">
<style type="text/css">
<!--
a {
font: 12px Verdana,Helvetica,Arial,sans-serif;
text-decoration: none;
}
a:link, a:visited {
color: #E0E0E0;
}
a:hover, a:active {
color: #999999;
background-color: #EEEEEE;
}
body {
font-family: Verdana,Helvetica,Arial,sans-serif;
color: #DDDDDD;
background-color: #999999;
margin-top: 20px;
margin-bottom: 50px;
margin-left: 30px;
margin-right: 30px;
}
p,h1,h2,h3,h4,h5,h6,ul,ol,li,td,th {
font-family: Verdana,Helvetica,Arial,sans-serif;
}
h3 {
font: bold 14px Verdana,Helvetica,Arial,sans-serif;
color: #555555;
}
p {
font: 12px Verdana,Helvetica,Arial,sans-serif;
}
.txt {
font-size : 10px;
font-style : normal;
font-weight : bold;
}
<?PHP echo $W2SP->CSSclasses();?>
-->
</style>
</head>
<body>
<div align="center">
<?PHP echo $OUTPUT;?>
</div>
</body>
</html>
|