26 lines
854 B
PHP
26 lines
854 B
PHP
<?php
|
|
## INDEX gegen DB
|
|
if (!isset($_SESSION)) {
|
|
session_start();
|
|
}
|
|
#$_SESSION['sessionid'] = session_id();
|
|
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
|
require_once("../config.inc.php");
|
|
$smarty = new SmartyAdmin();
|
|
if(!rechte('__noright__', $uid)){
|
|
echo "<meta http-equiv=\"refresh\" content=\"0; URL=error.php\">";
|
|
exit;
|
|
}
|
|
$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html";
|
|
require_once "../language/german.inc.php";
|
|
|
|
$row10['originalname'] = "Einwilligungserklaerung_personenbezogene_Daten.pdf";
|
|
$dateiarray = explode(".",$row10['originalname']);
|
|
$endung = ".".$dateiarray[count($dateiarray)-1];
|
|
$datei_short = substr($row10['originalname'],0,8)."[...]".$endung;
|
|
echo $datei_short;
|
|
|
|
#$smarty->assign('action', "$action");
|
|
#$smarty->display("modern/dashboard/$templatename");
|
|
?>
|