Location: PHPKode > projects > Easy Music Box > pls.php
<form style="text-align: center" method="post" id="3z_id" name="3z_name" action="" onsubmit="doSubmit(this)"><p align="center"><br />
<?
$limit = 10;

if (isset($_GET['page'])) {
    $page = $_GET['page'];
    $array_num = $limit * ($page-1);
}
else {
      $page = 1;
      $array_num = 0;
}
$mainpls = new playlist;
echo $mainpls->get_pls($array_num,$limit,1);
?>
<input type=hidden name="page" value="<?= $page ?>">
<input type=hidden name="limit" value="<?= $limit ?>">
<br><br>
<input type=button value="Select All" onClick="plsSelectAll()">
<input type="submit" value="Play All" onclick="popUp('player.php')" />
<input type="submit" value="Remove from playlist" onclick="popupMode=false" />
</p></form>
<?
// $cookiesSet = array_keys($_COOKIE);
// for ($x = 0; $x < count($cookiesSet); $x++) {
   // if (is_array($_COOKIE[$cookiesSet[$x]])) {
       // $cookiesSetA = array_keys($_COOKIE[$cookiesSet[$x]]);
       // for ($c = 0; $c < count($cookiesSetA); $c++) {
           // $aCookie = $cookiesSet[$x].'['.$cookiesSetA[$c].']';
           // setcookie($aCookie,"",time()-1);
       // }
   // }
   // setcookie($cookiesSet[$x],"",time()-1);
// } 
$mainpls->paginate_pls($page);
?>
Return current item: Easy Music Box