// Main config file include "./includes/conf/rp.php"; // Database functions include "./includes/database/db.php"; if ($list=="" | $nxval=="" | $prval=="") { if ($list=="") { $list = "n"; } if ($nxval=="") { $nxval = 50; } if ($prval=="") { $prval = 0; } } ?>
include "includes/navbar/navbar.php" ?> |
$valn = $_REQUEST['nxval']; $valp = $_REQUEST['prval']; $valn = 200; echo " Programs: $valp - $valn "; ?> if ($list=="n") { $ltype = "order by ProgramID DESC"; } if ($list=="t") { $ltype = "order by ProgramTitle ASC"; } if ($list=="s") { $ltype = "where Series != '' order by Series ASC"; } if ($list=="l") { $ltype = "order by Length DESC"; } if ($list=="h") { $ltype = "order by Length ASC"; } $result = db_query("SELECT ProgramID,ProgramTitle,Subtitle,Series,Summary,DateCreated,DateRec,Length,DateRecd from programs $ltype"); $nresult = db_num_rows("$result"); include "includes/browse/browse.php"; ?> |