ideenmanagement/menu_gutachter.php
2023-03-09 11:22:13 +01:00

38 lines
784 B
PHP
Executable File

<?php
include_once 'classes/TestProjektSmarty.class.php';
require_once("config.inc.php");
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
$smarty = new Smarty();
require_once "language/german.inc.php";
$action = $_GET['action'];
if($action == ''){
}
if($action == 'suche'){
$suchid = $_POST['suchid']." ";
$findMich = ' ';
$pos = strpos($suchid, $findMich);
$vid = trim(substr($suchid,0,$pos));
echo"
<script type='text/javascript'>
<!--
parent.menu_gutachter.location.href='".$_SERVER['PHP_SELF']."';
parent.gutachter_haupt.location.href='gutachten_bearbeiten.php?id=$vid';
//-->
</script>
";
}
$smarty->assign('action', "$action");
$smarty->display("$template/$templatename");
?>