33 lines
708 B
PHP
33 lines
708 B
PHP
<?php
|
|
//
|
|
// Display requested nutritional info
|
|
//
|
|
$ValidAccess = 2010;
|
|
require_once("include/globals.php");
|
|
|
|
|
|
if (array_key_exists('item',$_GET)) $item = $_GET['item'];
|
|
|
|
// Get the info record
|
|
$results = db_query("select item_title,nutritional_info from hotlunch_menu_items where record_num = $item");
|
|
|
|
|
|
if (db_num_rows($results) == 1) {
|
|
$row = db_fetch_array($results);
|
|
$title = $row['item_title'];
|
|
$info = $row['nutritional_info'];
|
|
}
|
|
|
|
?>
|
|
<html>
|
|
<head>
|
|
<title><>? displayLanguageText('TEXT-ADDITIONAL-INFO'); ?></title>
|
|
<link rel="stylesheet" href="css/master.css" type="text/css">
|
|
</head>
|
|
<body>
|
|
<h2><?php echo($title) ?></h2>
|
|
<p><?php echo(nl2br($info)) ?></p>
|
|
<hr>
|
|
</body>
|
|
</html>
|