First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,32 @@
|
||||
<?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>
|
||||
Reference in new issue
Block a user