<?php require "itemView.php"; require "config.php"; $mostbauer = getItemNameFamName($ID); header("Content-type: text/vnd.wap.wml"); if (isset($_GET["tag"]) && $_GET["tag"] != "") { $dayTargetLinkParameter = "tag=" . $_GET["tag"]; } $WML = <<<EOB <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card id="home" title="{$mostbauer}" newcontext="true"> <p align="center"> <small>{$mostbauer}</small><br/> ---------<br/> </p> <p align="left"> <small> EOB; $WML .= sachenViewWML($ID); $WML .= <<<EOB </small> <a href="schmalzbrot.wml.php?ID={$ID}&{$dayTargetLinkParameter}">Zurück zu den Details</a> </p> </card> </wml> EOB; echo $WML;
<?php require "itemView.php"; if (!($nameFamName = getItemNameFamName($ID))) { die("Der Mostbauer mit der ID='{$ID}' ist nicht oder nicht mehr im System."); } $name = getItemName($ID); global $CmsLinkInfo; ?> <?php if (!isset($_REQUEST["include"])) { ?> <html> <head> <title>www.Mostbauer.com - Mostbauern Eckn für d' Stodleit - Detail: <?php echo $nameFamName; ?> </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" href="styles.css" type="text/css"> <link rel="stylesheet" type="text/css" href="mb_gmaps.css" /> <script type="text/javascript"> // set page-parameters var anfahrtId=<?php echo $ID; ?> ; var gmapsBackendURL = "mb_gmaps_backend.php"; </script> <script src="javascript/detail_div.js" type="text/javascript"></script>
<?php header('Content-Type: text/plain; charset=utf-8'); require "itemView.php"; require "config.php"; $resultTitleText = ""; if (isset($_REQUEST["ID"])) { $resultTitleText = getItemNameFamName($_REQUEST["ID"]); // if( $_REQUEST["bauerPageType"] == "schmalzbrotdetail" ) $resultTitleText .= "nothing to add CG thinks"; if ($_REQUEST["bauerPageType"] == "schmalzbrotbew") { $resultTitleText .= " ::: Bewertung"; } if ($_REQUEST["bauerPageType"] == "schmalzbrotgalerie") { $resultTitleText .= " ::: Fotogalerie"; } } else { if ($_REQUEST["wochentag"] === "alle") { $resultTitleText = "Alle Mostbauern auf Mostbauer.com"; } else { if (!isset($_REQUEST["wochentag"]) || $_REQUEST["wochentag"] == "heute") { $resultTitleText = "Alle Mostbauern, die heute offen haben"; } else { $wochentagName = $weekdayStringArray[$_REQUEST["wochentag"]]; $resultTitleText = "Alle Mostbauern, die am {$wochentagName} offen haben"; } } } // need to replace - for joomla-title, else " - " gets stripped away // do NOT encode to utf-8, else joomla does it again $resultTitleText = str_replace("-", "\\-", $resultTitleText); echo $resultTitleText;