Posted by ohhh Mon 26th Feb 2007 18:31 - Syntax is PHP - 62 viewsRun this post in the PHP shell
Download | New Post | Modify | Hide line numbers
PHP parser reported no syntax errors in this post!
Description:
aahh

  1. class="main">
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. /* sort user interface */
  12. $_sort = isset($_GET['sort']) && in_array($_GET['sort'],array("id","title","rate","genre","seen")) ? $_GET['sort'] : "id";
  13. $_sortdir = isset($_GET['sortdir']) && in_array($_GET['sortdir'],array("asc","desc")) ? $_GET['sortdir'] : "asc";
  14.  
  15. if (isset($_GET['pagenr'])) { $_pagenr = $_GET['pagenr']; }
  16. if ((empty($_pagenr) || !is_numeric($_pagenr))) { $_pagenr = 1; }

  17. PermaLink to this entry https://pastebin.co.uk/11010
    Posted by ohhh Mon 26th Feb 2007 18:31 - Syntax is PHP - 62 viewsRun this post in the PHP shell
    Download | New Post | Modify | Hide line numbers

     

    Comments: 0

    class="top">class="black" href="?sort=title&sortdir= echo $_sortdir == 'asc' ? 'desc' : 'asc'; ?> "> Movie title "width:100px;" class="top">class="black" href="?sort=rate&sortdir= echo $_sortdir == 'asc' ? 'desc' : 'asc'; ?> ">Dice rate "width:100px;" class="top">class="black" href="?sort=genre&sortdir= echo $_sortdir == 'asc' ? 'desc' : 'asc'; ?> ">Genre "width:180px;" class="top">class="black" href="?sort=seen=&sortdir echo $_sortdir == 'asc' ? 'desc' : 'asc'; ?> ">Seen