2 $dbtable_menu='care_cafe_menu';
4 /* Check whether the content is language dependent */
5 if(defined('LANG_DEPENDENT') && (LANG_DEPENDENT
==1)) {
6 /* Set the sql query for fetching the menu */
7 $sql_menu="SELECT menu FROM $dbtable_menu WHERE cdate='".date("Y-m-d")."' AND lang='".$lang."'";
10 /* Set the sql query for fetching the menu */
11 $sql_menu="SELECT menu FROM $dbtable_menu WHERE cdate='".date("Y-m-d")."'";
14 if($ergebnis=$db->Execute($sql_menu)) {
16 if($rows=$ergebnis->RecordCount()) {
17 $menu = $ergebnis->FetchRow();
20 $menu['menu']=$LDNoMenu;
24 if(!$menu['menu']) $menu['menu']=$LDNoMenu;