include "common_db.php";
define("DEFAULT_NUM_RECS2", 120);
$link_id = db_connect($default_dbname);
$sqlcategory = "select * from projects p, project_name d where p.project_folder=d.project_folder and p.project_folder='".$_GET['project']."' ORDER BY d.project_folder asc";
$resultcategory = mysql_query($sqlcategory, $link_id);
while ($rowcategory=mysql_fetch_array($resultcategory)){
$i=$i%3;
if ($i=="0") {
echo "