$simple_categories = select("category", array("category_id", "category_name"), "category.category_status = 1 AND category.category_type_id = 1 ORDER BY category_name");
$custom_categories = select("category", array("category_id", "category_name"), "category.category_status = 1 AND category.category_type_id = 2 ORDER BY category_name");
?>
if (!$IE) { ?> } ?>
categorías
foreach($simple_categories as $simple_category) {
$category_name = $simple_category["category_name"];
$category_id = $simple_category["category_id"];
echo link_category($category_id, $category_name, "category_item block");
}
?>
foreach($custom_categories as $custom_category) {
$category_name = $custom_category["category_name"];
$category_id = $custom_category["category_id"];
echo link_category($category_id, $category_name, "category_item block");
}
?>
|
|
$message = pop_error();
echo $message;
if ($message) echo "";
?>
|
|
|
include($_SERVER["DOCUMENT_ROOT"]."/$file"); ?>
|
|
|
|
|
$movies = $_SESSION["cart"] ? unserialize($_SESSION["cart"]) : array();
if (count($movies))
foreach($movies as $movie) echo link_cart(show($movie, translation)." (".show($movie, year).")");
else
echo link_cart(DEFAULT_EMPTY_CART);
?>
|