Test
This commit is contained in:
@ -0,0 +1,194 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2021-09-03 12:30:31
|
||||
from '/var/www/web360/htdocs/leitgedanken_php8/templates/standard/kat_cont.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_6131f947976f94_77100670',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1a236876caa5a37ac3f63c05946b5e619e5f10bd' =>
|
||||
array (
|
||||
0 => '/var/www/web360/htdocs/leitgedanken_php8/templates/standard/kat_cont.html',
|
||||
1 => 1630662653,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6131f947976f94_77100670 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title><?php echo $_smarty_tpl->tpl_vars['men_titel']->value;?>
|
||||
</title>
|
||||
<base target="Hauptframe">
|
||||
<style type="text/css">
|
||||
|
||||
body { font-family:Verdana;font-size:11px;background-color:#d6dff7; }
|
||||
a:link { font-family:verdana, arial;font-weight:bold;color:#000066; text-decoration:none;}
|
||||
a:active { font-family:verdana, arial;font-weight:bold;color:#000066; text-decoration:none;}
|
||||
a:visited { font-family:verdana, arial;font-weight:bold;color:#000066; text-decoration:none;}
|
||||
a:hover { font-family:verdana, arial;font-weight:bold;color:#000066;text-decoration:underline; }
|
||||
a:link.sub { font-family:Verdana;font-size:10px;color:#000000;text-decoration:none; }
|
||||
a:active.sub { font-family:Verdana;font-size:10px;color:#000000;text-decoration:none; }
|
||||
a:visited.sub { font-family:Verdana;font-size:10px;color:#000000;text-decoration:none; }
|
||||
a:hover.sub { font-family:Verdana;font-size:10px;color:#000000;text-decoration:underline; }
|
||||
table {
|
||||
font-family : verdana, arial;
|
||||
font-size : 8pt;
|
||||
line-height : 120%;
|
||||
}
|
||||
table:link { font-family:verdana, arial;font-weight:normal;color:#000066; text-decoration:none;}
|
||||
table:active { font-family:verdana, arial;font-weight:normal;color:#000066; text-decoration:none;}
|
||||
table:visited { font-family:verdana, arial;font-weight:normal;color:#000066; text-decoration:none;}
|
||||
table:hover { font-family:verdana, arial;font-weight:normal;color:#000066;text-decoration:underline; }
|
||||
table:link.sub { font-family:Verdana;font-size:10px;color:#000000;text-decoration:none; }
|
||||
table:active.sub { font-family:Verdana;font-size:10px;color:#000000;text-decoration:none; }
|
||||
table:visited.sub { font-family:Verdana;font-size:10px;color:#000000;text-decoration:none; }
|
||||
table:hover.sub { font-family:Verdana;font-size:10px;color:#000000;text-decoration:underline; }
|
||||
p {
|
||||
margin-top: 5pt;
|
||||
margin-bottom: 0pt;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
<!--
|
||||
function show(divid) {
|
||||
var box = document.getElementById(divid)
|
||||
if(divid != "cat1"){
|
||||
document.getElementById("cat1").style.display="none";
|
||||
}
|
||||
if(divid != "cat2"){
|
||||
document.getElementById("cat2").style.display="none";
|
||||
}
|
||||
if(divid != "cat3"){
|
||||
document.getElementById("cat3").style.display="none";
|
||||
}
|
||||
if(divid != "cat4"){
|
||||
document.getElementById("cat4").style.display="none";
|
||||
}
|
||||
if(divid != "cat5"){
|
||||
document.getElementById("cat5").style.display="none";
|
||||
}
|
||||
if(divid != "cat6"){
|
||||
document.getElementById("cat6").style.display="none";
|
||||
}
|
||||
if(divid != "cat7"){
|
||||
document.getElementById("cat7").style.display="none";
|
||||
}
|
||||
if(divid != "cat8"){
|
||||
document.getElementById("cat8").style.display="none";
|
||||
}
|
||||
if(divid != "cat9"){
|
||||
document.getElementById("cat9").style.display="none";
|
||||
}
|
||||
if(divid != "cat10"){
|
||||
document.getElementById("cat10").style.display="none";
|
||||
}
|
||||
if(divid != "cat11"){
|
||||
document.getElementById("cat11").style.display="none";
|
||||
}
|
||||
if(divid != "cat12"){
|
||||
document.getElementById("cat12").style.display="none";
|
||||
}
|
||||
if(divid != "cat13"){
|
||||
document.getElementById("cat13").style.display="none";
|
||||
}
|
||||
if(divid != "cat14"){
|
||||
document.getElementById("cat14").style.display="none";
|
||||
}
|
||||
if(divid != "cat15"){
|
||||
document.getElementById("cat15").style.display="none";
|
||||
}
|
||||
if(divid != "cat16"){
|
||||
document.getElementById("cat16").style.display="none";
|
||||
}
|
||||
if(divid != "cat17"){
|
||||
document.getElementById("cat17").style.display="none";
|
||||
}
|
||||
if(divid != "cat18"){
|
||||
document.getElementById("cat18").style.display="none";
|
||||
}
|
||||
|
||||
if(box.style.display == "block")
|
||||
{
|
||||
box.style.display = "none"
|
||||
return 0
|
||||
}
|
||||
box.style.display = "block"
|
||||
return 1
|
||||
}
|
||||
//-->
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body leftmargin="5" rightmargin="5" onload="show('cat<?php echo $_smarty_tpl->tpl_vars['open_kap']->value;?>
|
||||
')">
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<?php
|
||||
$__section_outer_loop_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['outer_loop']->value) ? count($_loop) : max(0, (int) $_loop));
|
||||
$__section_outer_loop_0_total = $__section_outer_loop_0_loop;
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_outer_loop'] = new Smarty_Variable(array());
|
||||
if ($__section_outer_loop_0_total !== 0) {
|
||||
for ($__section_outer_loop_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] = 0; $__section_outer_loop_0_iteration <= $__section_outer_loop_0_total; $__section_outer_loop_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']++){
|
||||
?>
|
||||
|
||||
<p><a href="kat_main.php?knk=<?php echo $_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['knk'];?>
|
||||
" onclick="show('cat<?php echo $_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['zaehler'];?>
|
||||
')" target="main"><?php echo $_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['ueberschrift'];?>
|
||||
</a><br></p>
|
||||
<div id="cat<?php echo $_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['zaehler'];?>
|
||||
" style="display: none;">
|
||||
<?php
|
||||
$__section_inner_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['inner']) ? count($_loop) : max(0, (int) $_loop));
|
||||
$__section_inner_1_total = $__section_inner_1_loop;
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_inner'] = new Smarty_Variable(array());
|
||||
if ($__section_inner_1_total !== 0) {
|
||||
for ($__section_inner_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] = 0; $__section_inner_1_iteration <= $__section_inner_1_total; $__section_inner_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']++){
|
||||
?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['knk_sub'] != '') {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['knk_num'] == '1') {?>
|
||||
<a name="<?php echo $_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['knk_sub'];?>
|
||||
"></a><a target="main" href="kat_main.php?knk=<?php echo $_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['knk'];?>
|
||||
&knksub=<?php echo $_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['knk_sub'];?>
|
||||
#<?php echo $_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['knk_sub'];?>
|
||||
" class="sub"><table><tr><td valign='top' width=70><?php echo $_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['knk_sub'];?>
|
||||
</td><td><?php echo $_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['ueberschrift_sub'];?>
|
||||
</td></tr></table></a>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['knk_num'] == '0') {?>
|
||||
<!-- Wenn in knk keine Kapitelzahl steht, dann erste Spalte in Tabelle nicht anzeigen-->
|
||||
<a name="<?php echo $_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['knk_sub'];?>
|
||||
"></a><a target="main" href="kat_main.php?knk=<?php echo $_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['knk'];?>
|
||||
&knksub=<?php echo $_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['knk_sub'];?>
|
||||
#<?php echo $_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['knk_sub'];?>
|
||||
" class="sub"><table><tr><td><?php echo $_smarty_tpl->tpl_vars['outer_loop']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_outer_loop']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['ueberschrift_sub'];?>
|
||||
</td></tr></table></a>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</body>
|
||||
</html><?php }
|
||||
}
|
Reference in New Issue
Block a user