2023-01-30 08:01:11 +01:00

581 lines
28 KiB
HTML
Executable File

{if $atelierwahl_zeit== '1'}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="templates/{$global_template}/css/styles_pc.php" type="text/css">
<title>{$atelierwahl_titel_nologin}</title>
</head>
<body>
<table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
<tr>
<td>
<div align="center">
<table cellspacing="0" cellpadding="0" width="550" border="0">
<tr>
<td width="10" background="templates/standard/images/box_e1.gif">
<img height="40" src="templates/standard/images/blank.gif" width="22">
</td>
<td nowrap="nowrap" align="left" width="3%" background="templates/standard/images/box_top.gif" valign="top">
<img src="templates/standard/images/i_login.gif">
</td>
<td width="95%" background="templates/standard/images/box_top.gif">
<img height="10" src="templates/standard/images/blank.gif" width="1"><br>
<span class="sh">{$atelierwahl_titel_nologin}</span><br>
<img height="5" src="templates/standard/images/blank.gif" width="1">
</td>
<td nowrap="nowrap" align="right" width="1%" background="templates/standard/images/box_e2.gif">
<img height="40" src="templates/standard/images/blank.gif" width="22">
</td>
</tr>
<tr>
<td width="1%" background="templates/standard/images/box_l.gif">
<img height="1" src="templates/standard/images/blank.gif" width="22">
</td>
<td colspan="2">
<br>
<p align="center"><b>{$atelierwahl_txt_zeit}</b>
</p>
<p align="center"><a href='hauptframe.php'>
<img border="0" src="templates/standard/images/zurueck.gif" width="77" height="22"></img></a><br>
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p><br>
</p>
</td>
<td width="1%" background="templates/standard/images/box_r.gif">
<img height="1" src="templates/standard/images/blank.gif" width="22">
</td>
</tr>
<tr>
<td nowrap="nowrap" align="left" width="1%" background="templates/standard/images/box_e3.gif">
<img height="16" src="templates/standard/images/blank.gif" width="22">
</td>
<td nowrap="nowrap" align="left" width="98%" background="templates/standard/images/box_bottom.gif" colspan="2">
<img height="16" src="templates/standard/images/blank.gif" width="8">
</td>
<td nowrap="nowrap" align="right" width="1%" background="templates/standard/images/box_e4.gif">
<img height="16" src="templates/standard/images/blank.gif" width="22">
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
{/if}
{if $atelierwahl_save== '1'}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="templates/{$global_template}/css/styles_pc.php" type="text/css">
<title>{$atelierwahl_titel_nologin}</title>
</head>
<body>
<table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
<tr>
<td>
<div align="center">
<table cellspacing="0" cellpadding="0" width="550" border="0">
<tr>
<td width="10" background="templates/standard/images/box_e1.gif">
<img height="40" src="templates/standard/images/blank.gif" width="22">
</td>
<td nowrap="nowrap" align="left" width="3%" background="templates/standard/images/box_top.gif" valign="top">
<img src="templates/standard/images/i_login.gif">
</td>
<td width="95%" background="templates/standard/images/box_top.gif">
<img height="10" src="templates/standard/images/blank.gif" width="1"><br>
<span class="sh">{$atelierwahl_titel_nologin}</span><br>
<img height="5" src="templates/standard/images/blank.gif" width="1">
</td>
<td nowrap="nowrap" align="right" width="1%" background="templates/standard/images/box_e2.gif">
<img height="40" src="templates/standard/images/blank.gif" width="22">
</td>
</tr>
<tr>
<td width="1%" background="templates/standard/images/box_l.gif">
<img height="1" src="templates/standard/images/blank.gif" width="22">
</td>
<td colspan="2">
<br>
<p align="center"><b>{$atelierwahl_txt_nologin}</b>
</p>
<p align="center"><a href='hauptframe.php'>
<img border="0" src="templates/standard/images/zurueck.gif" width="77" height="22"></img></a><br>
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p><br>
</p>
</td>
<td width="1%" background="templates/standard/images/box_r.gif">
<img height="1" src="templates/standard/images/blank.gif" width="22">
</td>
</tr>
<tr>
<td nowrap="nowrap" align="left" width="1%" background="templates/standard/images/box_e3.gif">
<img height="16" src="templates/standard/images/blank.gif" width="22">
</td>
<td nowrap="nowrap" align="left" width="98%" background="templates/standard/images/box_bottom.gif" colspan="2">
<img height="16" src="templates/standard/images/blank.gif" width="8">
</td>
<td nowrap="nowrap" align="right" width="1%" background="templates/standard/images/box_e4.gif">
<img height="16" src="templates/standard/images/blank.gif" width="22">
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
{/if}
{if $action== ''}
<html>
<head>
<!-- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> -->
<link rel="stylesheet" href="templates/{$global_template}/css/styles_pc.php" type="text/css">
<title>{$atelierwahl_titel}</title>
<script type="text/javascript" src="jquery-1.9.1.js"></script>
<script type='text/javascript'>
$(window).load(function(){
$('#close-panel').click(function() {
$('.panel').slideToggle('slow');
$(this).toggleClass('transform');
});
});
</script>
<style>
.stundenplan {
border:1px solid #C0C0C0;
border-collapse:collapse;
padding:3px;
}
.stundenplan th {
border:1px solid #C0C0C0;
padding:3px;
background:#F0F0F0;
}
.stundenplan td {
border:1px solid #C0C0C0;
padding:3px;
}
.fieldset1{
border: solid 2px #080808;
}
.shadow1 {
text-shadow: 1px 1px 1px white,
1px -1px 1px white,
-1px 1px 1px white,
-1px -1px 1px white;
}
.transform {
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
}
</style>
</head>
<body onload="if (document.pers_daten)
document.pers_daten.pw_alt.focus();
return false;">
<table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
<tr>
<td>
<div align="center">
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td width="10" background="templates/{$global_template}/images/box_e1.gif">
<img height="40" src="templates/{$global_template}/images/blank.gif" width="22">
</td>
<td nowrap="nowrap" align="left" width="98%" background="templates/{$global_template}/images/box_top.gif" valign="top">
<img height="10" src="templates/{$global_template}/images/blank.gif" width="1"><br>
<font class="hd">{$atelierwahl_titel} {$atelierwahl_hj_text}</font><br>
<img height="5" src="templates/{$global_template}/images/blank.gif" width="1"></font>
</td>
<td nowrap="nowrap" align="right" width="1%" background="templates/{$global_template}/images/box_e2.gif">
<img height="40" src="templates/{$global_template}/images/blank.gif" width="22">
</td>
</tr>
<tr>
<td width="1%" background="templates/{$global_template}/images/box_l.gif">
<img height="1" src="templates/{$global_template}/images/blank.gif" width="22">
</td>
<td>
<br>
<table class="stundenplan" width="100%">
<thead>
<tr>
<th width="10%"><br></th>
{section name=table_data loop=$table_data}
<th width="18%">{$table_data[table_data].bezeichnung}</th>
{/section}
</tr>
</thead>
<tbody>
<!-- schulstunden -->
{section name=table_data2 loop=$table_data2}
<tr>
<th>
{$table_data2[table_data2].bezeichnung}<br>
<font size=1>{$table_data2[table_data2].von} - {$table_data2[table_data2].bis}</font>
</th>
<!-- Montag, Dienstag, Mittwoch, Do, Fr -->
{section name=table_data loop=$table_data}
<td valign='top'>
<table width="100%" border="0">
{section name=table_data1 loop=$table_data1}
{if $table_data1[table_data1].Wochentag == {$table_data[table_data].bezeichnung}}
{if $table_data1[table_data1].std_von == {$table_data2[table_data2].std_von}}
<tr bgcolor="{$table_data1[table_data1].farbe}">
<td>
<b>Atelier:</b> {$table_data1[table_data1].Atelier} - ({$table_data1[table_data1].Gruppe})<br>
{if {$table_data1[table_data1].Pflichtfeld} != ''}
<b>Kategorie:</b> {$table_data1[table_data1].Pflichtfeld}
{/if}
</td>
</tr>
{/if}
{/if}
{/section}
</table>
{/section}
</td>
{/section}
</tr>
</table>
<br>
<fieldset class="fieldset1">
<legend><div style="float:left;"><b>Vorgaben&nbsp;</b></div>
<div id="close-panel" style="float:left; background-image:url('templates/{$global_template}/images/icon-close-round-20.png'); background-repeat: no-repeat; cursor:pointer; height:20px; width:20px;"><i class="ion ion-ios7-close-empty"></i>
</div>
</legend>
<div class="panel">
<div class="header-area">
<fieldset>
<legend>Vorgaben, die im aktuellen Halbjahr erf&uuml;llt werden m&uuml;ssen</legend>
<table width="100%" border="0">
<tr>
<td>
<b>{$atelierwahl_diff_bereiche}</b>
</td>
<td>
{if $atelierwahl_erf_gruppen == '1'}
<img src="templates/{$global_template}/images/ok.png" border="0" width=20>
{/if}
{if $atelierwahl_erf_gruppen == '0'}
<img src="templates/{$global_template}/images/cross.png" border="0" width=20>
{/if}
</td>
</tr>
<tr>
<td>
<b>{$atelierwahl_alle_blocke}</b>
</td>
<td>
&nbsp;
</td>
</tr>
{section name=table_block loop=$table_block}
<tr>
<td>
{$table_block[table_block].wochentag}, {$table_block[table_block].std}
</td>
<td width="40">
{if $table_block[table_block].blockwahl == '1'}
<img src="templates/{$global_template}/images/ok.png" border="0" width=20>
{/if}
{if $table_block[table_block].blockwahl == '0'}
<img src="templates/{$global_template}/images/cross.png" border="0" width=20>
{/if}
</td>
</tr>
{/section}
</table>
</fieldset>
<br>
<fieldset>
<legend>Vorgaben, die bis Ende <b><u>Klasse 6</u></b> erf&uuml;llt werden m&uuml;ssen</legend>
{section name=table_data_gruppe loop=$table_data_gruppe}
{if $table_data_gruppe[table_data_gruppe].erreicht == '0'}
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr bgcolor={$table_data_gruppe[table_data_gruppe].farbe}>
<td colspan="2" style="padding-left:10px">
<b>Gruppe {$table_data_gruppe[table_data_gruppe].bezeichnung}</b>
</td>
</tr>
<tr bgcolor={$table_data_gruppe[table_data_gruppe].farbe}>
<td colspan="2" style="padding-left:10px">
<!-- Variante 1 -->
{if $table_data_gruppe[table_data_gruppe].ugr_pf == 'J' AND $table_data_gruppe[table_data_gruppe].anz_pf != 0}
<b>Ziel:</b> <i>Es m&uuml;ssen mindestens {$table_data_gruppe[table_data_gruppe].anz_pf} unterschiedliche Kategorien gew&auml;hlt werden!</i>
<br>
{/if}
<!-- Variante 2 -->
{if $table_data_gruppe[table_data_gruppe].ugr_pf == 'J' AND $table_data_gruppe[table_data_gruppe].anz_pf == 0}
<b>Ziel:</b> <i>Es m&uuml;ssen alle Kategorien gew&auml;hlt werden!</i>
<br>
{/if}
<!-- Variante 3 -->
{if $table_data_gruppe[table_data_gruppe].ugr_pf == 'N' AND $table_data_gruppe[table_data_gruppe].anz_pf != 0}
<b>Ziel:</b> <i>Es m&uuml;ssen mindestens {$table_data_gruppe[table_data_gruppe].anz_pf} unterschiedliche Ateliers gew&auml;hlt werden!</i>
<br>
{/if}
<!-- Variante 4 -->
{if $table_data_gruppe[table_data_gruppe].ugr_pf == 'N' AND $table_data_gruppe[table_data_gruppe].anz_pf == 0}
<b>Ziel:</b> <i>Es m&uuml;ssen alle Ateliers gew&auml;hlt werden!</i>
<br>
{/if}
<br>
</td>
</tr>
{section name=inner_kenner loop=$table_data_gruppe[table_data_gruppe].inner_kenner}
{if $table_data_gruppe[table_data_gruppe].inner_kenner[inner_kenner].bezeichnung != ''}
<tr bgcolor={$table_data_gruppe[table_data_gruppe].farbe}>
<td style="padding-left:20px">
{$table_data_gruppe[table_data_gruppe].inner_kenner[inner_kenner].bezeichnung}
</td>
<td width="40">
{if $table_data_gruppe[table_data_gruppe].inner_kenner[inner_kenner].belegt == '1'}
<img src="templates/{$global_template}/images/ok.png" border="0" width=20>
{/if}
{if $table_data_gruppe[table_data_gruppe].inner_kenner[inner_kenner].belegt == '0'}
<img src="templates/{$global_template}/images/cross.png" border="0" width=20>
{/if}
</td>
</tr>
{/if}
{/section}
<tr bgcolor={$table_data_gruppe[table_data_gruppe].farbe}>
<td colspan="2" style="padding-left:10px">
<br>
{if $table_data_gruppe[table_data_gruppe].erreicht == '1'}
<!-- Gesamte Gruppe wird ausgeblendet (s.o.), wenn erreicht, daher wird das nicht angezeigt -->
<b><font class="shadow1" color="green">Ergebnis: Gruppenziel erreicht</font></b>
{/if}
{if $table_data_gruppe[table_data_gruppe].erreicht == '0'}
<b><font class="shadow1" color="red">Gruppenziel nicht erreicht</font></b>
{/if}
</td>
</tr>
</table>
<br>
{/if}
{/section}
{if $atelierwahl_vorg_kl6 == '0'}
<i>{$atelierwahl_txt_vorg_kl6}</i>
{/if}
</fieldset>
</div>
</div>
</fieldset>
<br>
<!-- Buchungen-->
<fieldset class="fieldset1">
<legend><b>Atelierbuchung</b></legend>
<form action=?action=save method="POST" name="buchung">
<table width="100%" border="0" cellpadding="0"cellspacing="0">
<tr height='25' bgcolor='#C8C8C8' >
<td>
<b>{$atelierwahl_tabheader_wann}</b>
</td>
<td>
<b>{$atelierwahl_tabheader_atelier}</b>
</td>
<td>
<b>{$atelierwahl_tabheader_bereich}</b>
</td>
<td>
<b>{$atelierwahl_tabheader_kategorie}</b>
</td>
<td>
<b>{$atelierwahl_tabheader_restplatz}</b>
</td>
<td>
<b>{$atelierwahl_tabheader_auswahl}</b>
</td>
</tr>
{section name=table_atelier loop=$table_atelier}
{if $table_atelier[table_atelier].trenner == '1'}
<tr>
<td colspan=5>
&nbsp;
</td>
</tr>
<tr height='25' bgcolor='#C8C8C8' >
<td>
<b>{$atelierwahl_tabheader_wann}</b>
</td>
<td>
<b>{$atelierwahl_tabheader_atelier}</b>
</td>
<td>
<b>{$atelierwahl_tabheader_bereich}</b>
</td>
<td>
<b>{$atelierwahl_tabheader_kategorie}</b>
</td>
<td>
<b>{$atelierwahl_tabheader_restplatz}</b>
</td>
<td>
<b>{$atelierwahl_tabheader_auswahl}</b>
</td>
</tr>
{/if}
{if $table_atelier[table_atelier].ausblenden != '1'}
{if $table_atelier[table_atelier].show == '1'}
<tr bgcolor="{$table_atelier[table_atelier].farbe}" height='25'>
<td>
<label for="{$table_atelier[table_atelier].aid}">
{$table_atelier[table_atelier].Wochentag}, {$table_atelier[table_atelier].std_von}./{$table_atelier[table_atelier].std_bis}. Stunde
</label>
</td>
<td>
<label for="{$table_atelier[table_atelier].aid}">
{$table_atelier[table_atelier].Atelier} {if {$table_atelier[table_atelier].anzeigen_bis_format} != '00.00.0000'}<br><b>Buchbar bis:</b> {$table_atelier[table_atelier].anzeigen_bis_format}{/if}
</label>
</td>
<td>
<label for="{$table_atelier[table_atelier].aid}">
{$table_atelier[table_atelier].Gruppe}
</label>
</td>
<td>
<label for="{$table_atelier[table_atelier].aid}">
{$table_atelier[table_atelier].Pflichtfeld}
</label>
</td>
<td>
<label for="{$table_atelier[table_atelier].aid}">
{$table_atelier[table_atelier].restplatz}
</label>
</td>
<td align="center">
<input type="radio" name="{$table_atelier[table_atelier].kenner}" id="{$table_atelier[table_atelier].aid}" value="{$table_atelier[table_atelier].aid}" {if $table_atelier[table_atelier].selected == 1} checked {/if} {if $table_atelier[table_atelier].disable_auswahl == 1} disabled {/if}>
</td>
</tr>
{/if}
{/if}
{/section}
<tr>
<td colspan=5>
&nbsp;
</td>
</tr>
<tr>
<td colspan=5 align= center>
<input class="btn_green" type="submit" value="Auswahl vormerken" name="B1" size="20">
</td>
</tr>
</table>
</form>
</fieldset>
<!-- Buchungen Ende-->
</td>
<td width="1%" background="templates/{$global_template}/images/box_r.gif">
<img height="1" src="templates/{$global_template}/images/blank.gif" width="22">
</td>
</tr>
<tr>
<td nowrap="nowrap" align="left" width="1%" background="templates/{$global_template}/images/box_e3.gif">
<img height="16" src="templates/{$global_template}/images/blank.gif" width="22">
</td>
<td nowrap="nowrap" align="left" width="98%" background="templates/{$global_template}/images/box_bottom.gif">
<img height="16" src="templates/{$global_template}/images/blank.gif" width="8">
</td>
<td nowrap="nowrap" align="right" width="1%" background="templates/{$global_template}/images/box_e4.gif">
<img height="16" src="templates/{$global_template}/images/blank.gif" width="22">
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
{/if}
{if $action== 'save'}
{if $atelierwahl_fehler_restplatze== '1'}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="templates/{$global_template}/css/styles_pc.php" type="text/css">
<title>{$index_mandatory_titel}</title>
</head>
<body>
<table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
<tr>
<td>
<div align="center">
<table cellspacing="0" cellpadding="0" width="550" border="0">
<tr>
<td width="10" background="templates/standard/images/box_e1.gif">
<img height="40" src="templates/standard/images/blank.gif" width="22">
</td>
<td nowrap="nowrap" align="left" width="3%" background="templates/standard/images/box_top.gif" valign="top">
<img src="templates/standard/images/i_login.gif">
</td>
<td width="95%" background="templates/standard/images/box_top.gif">
<img height="10" src="templates/standard/images/blank.gif" width="1"><br>
<span class="sh">{$index_mandatory_titel}</span><br>
<img height="5" src="templates/standard/images/blank.gif" width="1">
</td>
<td nowrap="nowrap" align="right" width="1%" background="templates/standard/images/box_e2.gif">
<img height="40" src="templates/standard/images/blank.gif" width="22">
</td>
</tr>
<tr>
<td width="1%" background="templates/standard/images/box_l.gif">
<img height="1" src="templates/standard/images/blank.gif" width="22">
</td>
<td colspan="2">
<br>
<p align="center"><b>{$atelierwahl_fehler_restplatze_txt}</b>
</p>
<p align="center"><a href='?hj={$atelierwahl_fehler_hj}'>
<img border="0" src="templates/standard/images/zurueck.gif" width="77" height="22"></img></a><br>
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p><br>
</p>
</td>
<td width="1%" background="templates/standard/images/box_r.gif">
<img height="1" src="templates/standard/images/blank.gif" width="22">
</td>
</tr>
<tr>
<td nowrap="nowrap" align="left" width="1%" background="templates/standard/images/box_e3.gif">
<img height="16" src="templates/standard/images/blank.gif" width="22">
</td>
<td nowrap="nowrap" align="left" width="98%" background="templates/standard/images/box_bottom.gif" colspan="2">
<img height="16" src="templates/standard/images/blank.gif" width="8">
</td>
<td nowrap="nowrap" align="right" width="1%" background="templates/standard/images/box_e4.gif">
<img height="16" src="templates/standard/images/blank.gif" width="22">
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
{/if}
{/if}