require_once 'inc.header1.php'; require_once 'inc.header2.php'; require_once 'inc.header3.php'; require_once 'inc.content1.php'; require_once 'class.db.category.php'; $sql = "SELECT c.name, cd.description FROM category c LEFT OUTER JOIN category_description cd ON cd.category = c.id AND cd.lingua = ".$db->quote($lingua)." ORDER BY c.name;"; $arr = $db->getAssoc($sql); $str = gettext('CATEGORIES'); echo "
$category_name | \n"; echo "\t\t$description | \n"; echo "\t