require "include/bittorrent.php"; dbconn(); loggedinorreturn(); stdhead("Request Details"); $id = (int) $_GET["id"]; if( $id === 0) stderr( _('Error'), _('Input missing') ); $res = do_mysql_query("SELECT r.*, UNIX_TIMESTAMP(r.added) as utadded, u.username FROM requests r LEFT JOIN users u ON r.userid = u.id WHERE r.id = ".$id) or sqlerr(); $num = mysql_fetch_array($res); $timezone = $num['added']; $s = $num["request"]; print("
Request | ".$num['request']." |
Info | ".$num['descr']." |
Added | ".$timezone." |
Requested By | ".$username." |
Vote for this request | Vote |