20 lines
728 B
PHP
Executable File
20 lines
728 B
PHP
Executable File
<?php
|
|
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
|
require_once("../config.inc.php");
|
|
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
|
$smarty = new SmartyAdmin();
|
|
require_once "../language/german.inc.php";
|
|
|
|
if($_SESSION["prx_dst_id"] == ''){
|
|
echo"<script type='text/javascript'>window.top.location.href = \"index.php\";</script>";
|
|
}
|
|
$dst_id = $_SESSION["prx_dst_id"];
|
|
$result = $db->query("SELECT bez
|
|
FROM dvm_dienststellen
|
|
WHERE dst_id = '$dst_id'
|
|
");
|
|
$row = $result->fetch_array();
|
|
$smarty->assign('prx_stellenbezeichnung', $row['bez']);
|
|
|
|
$smarty->display("$template/praxisstelle/$templatename");
|
|
?>
|