separates rows in brief presentation titles stored in array in brief presentation 2003.08.27 table borders thru css 2003.06.06 commented ordered list right table, created bicolor table 2003.04 initial */ include("../inc/prepend.inc.php"); $db = new DB_Sql; $content = ""; $title_array = array(); $object_id_loopcount = array(); if (!isset($cat_id)) $cat_id = 6; $q = "select sub from CATEGORY where cat_id = \"$cat_id\""; $db->query($q); $db->next_record(); $cat = $db->f("sub"); // Sorting rows // if ( //SORTEREN PER JAAR ($cat_id == "7") || //jubileumuitgaven ($cat_id == "8") || //programmaboekjes ($cat_id == "10")|| //plaatjesalbums ($cat_id == "13") //toegangskaarten ) $sort = "year"; if (!isset($sort)) $sort = "title"; // Set table head // $table_head = $cat; $q = "select * from OBJECT where cat_id = \"$cat_id\" order by $sort"; $db->query($q); $nr = $db-> num_rows(); // START BUILDING LISTING TABLE (RIGHT COLUMN) // $right_table= $right_table."
\n" ; $right_table= $right_table."\n"; $right_table = $right_table."
\n"; page_l(); page_m($cat,$content); page_r("meer...",$right_table); ?>