';
switch($page_type) {
case "index";
print "
Index
"; show_tabs($catres,$this_cat,'','',''); print '';
print '
";
break;
case "search";
$recipesql = 'select * from recipe ';
$and=" where ";
if (isset($ingredient)) {
$recipesql .= $and.' (name like "%'.$ingredient.'%" ';
$recipesql .= ' or text like "%'.$ingredient.'%") ';
$and=" and ";
}
if ($stext!="") {
$recipesql .= $and.' (name like "%'.addslashes($stext).'%" ';
$recipesql .= ' or text like "%'.addslashes($stext).'%") ';
$and=" and ";
}
if ($scat!="") {
$recipesql .= $and.' (category = "'.$scat.'") ';
}
$recipesql .= 'order by name';
$reciperes = data_query($recipesql,__FILE__,__LINE__);
print '';
print '
'; print '
';
print 'Lucky Dip Recipe
'; $recipesql = 'select * from recipe order by rand()'; $reciperes = data_query($recipesql,__FILE__,__LINE__); $recipedata=data_fetch_array($reciperes,__FILE__,__LINE__); one_recipe($recipedata,$myRecipes); print ''; print '
';
print <<These recipes are provided to help stimulate your imagination in using Prenzel products.
Browse through the categories or search for a recipe using specific ingredients.
You will need to be able to accept cookies from our site to use this. Your recipe list will be stored in a cookie on your computer for 6 months.
";
print "Browse through the categories or search for a recipe using specific ingredients.
My Recipes
You may click the link at the bottom of each recipe to add it to you own stored recipebox.You will need to be able to accept cookies from our site to use this. Your recipe list will be stored in a cookie on your computer for 6 months.