-
Notifications
You must be signed in to change notification settings - Fork 15
/
dokument.php
32 lines (32 loc) · 1.11 KB
/
dokument.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
require_once("inc/stdLib.php");
include("inc/template.inc");
include("inc/crmLib.php");
$t = new Template($base);
$menu = $_SESSION['menu'];
if ( isset($_GET['P']) && $_GET['P']==1 ) {
$head = mkHeader();
$t->set_var(array(
'JAVASCRIPTS' => '',
'STYLESHEETS' => $menu['stylesheets'],
'PRE_CONTENT' => '',
'START_CONTENT' => '',
'END_CONTENT' => '',
'CRMPATH' => $head['CRMPATH'],
'JQUERYUI' => $head['JQUERYUI'],
'THEME' => $head['THEME'],
'CRMCSS' => $head['CRMCSS'],
'JQUERY' => $head['JQUERY'],
'ELFINDER' => $head['ELFINDER'],
));
} else {
doHeader($t);
}
$t->set_file(array("doc" => "dokument.tpl"));
$t->set_var(array(
'PICUP' => ( isset($_GET['P']) )?'true':'false',
'mandant' => $_SESSION['dbname'],
'tiny' => ($_SESSION['tinymce'])?'true':'false'
));
$t->Lpparse("out",array("doc"),$_SESSION['countrycode'],"firma");
?>