* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * This copyright notice MUST APPEAR in all copies of the script! ***************************************************************/ /** * Show guest escorts * * Guest * * @since 2004-06-05 * @author Christian Ehret <*****@*****.**> */ $smartyType = "www"; include_once "../includes/default.inc.php"; $auth->is_authenticated(); include_once 'guestclass.inc.php'; $guest = new Guest(); $smarty->assign("tpl_title", "Gast bearbeiten/anlegen"); if ($request->GetVar('type', 'get') == "edit") { $smarty->assign('tpl_nav', 'gast'); } else { $smarty->assign('tpl_nav', 'showgast'); } $smarty->assign('tpl_subnav', 'escort'); if ($request->GetVar('guestid', 'get') !== $request->undefined) { $smarty->assign('tpl_gast', $guest->getGuest($request->GetVar('guestid', 'get'))); } $smarty->assign('tpl_escort', $guest->getEscort($request->GetVar('guestid', 'get'))); $smarty->display('showescort.tpl');