first commit
This commit is contained in:
20
praxisstelle/titel.php
Executable file
20
praxisstelle/titel.php
Executable file
@ -0,0 +1,20 @@
|
||||
<?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 bpm_dienststellen
|
||||
WHERE dst_id = '$dst_id'
|
||||
");
|
||||
$row = $result->fetch_array();
|
||||
$smarty->assign('prx_stellenbezeichnung', $row['bez']);
|
||||
|
||||
$smarty->display("$template/praxisstelle/$templatename");
|
||||
?>
|
Reference in New Issue
Block a user