Leitgedanken/templates/standard/lue_erfassen.html
2022-11-21 09:47:28 +01:00

290 lines
15 KiB
HTML

{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">
{literal}
<script language='JavaScript' type='text/javascript'>
<!--
function start() {
if(document.lue_erf)document.lue_erf.thema.focus();return false;
}
//-->
</script>
{/literal}
<title>{$lue_erfassen_titel}</title>
{literal}
<script type='text/javascript' src='CKEditor_4.6.1/ckeditor.js'></script>
{/literal}
</head>
<body onload="start();">
<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">{$lue_erfassen_titel}</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>
<form action=?action=erfassen method="POST" name="lue_erf">
<table border="0" cellpadding="4" cellspacing="0" style="border-width:0; border-collapse: collapse" bordercolor="#111111" width="102%" id="AutoNumber1" height="18">
<tr>
<td width="20%">
<b>{$lue_erfassen_field_thema}</b>
</td>
<td width="80%" align="left">
<input type="text" name="thema" size="40">
</td>
</tr>
<tr>
<td width="20%">
<b>{$lue_erfassen_field_einleitung}</b>
</td>
<td width="80%" align="left">
<textarea id='einleitung' name='einleitung'></textarea>
{literal}
<script type='text/javascript'>
CKEDITOR.replace( 'einleitung', {
height: 100,
enterMode : CKEDITOR.ENTER_BR
} );
</script>
{/literal}
</td>
</tr>
<tr>
<td width="20%">
<b>{$lue_erfassen_field_inhalt}</b>
</td>
<td width="80%" align="left">
<textarea id='ausfuehrung' name='ausfuehrung'></textarea>
{literal}
<script type='text/javascript'>
CKEDITOR.replace( 'ausfuehrung', {
height: 180,
enterMode : CKEDITOR.ENTER_BR
} );
</script>
{/literal}
</td>
</tr>
<tr>
<td width="20%">
<b>{$lue_erfassen_field_extrakt}</b>
</td>
<td width="80%" align="left">
<textarea id='extrakt' name='extrakt'></textarea>
{literal}
<script type='text/javascript'>
CKEDITOR.replace( 'extrakt', {
height: 180,
enterMode : CKEDITOR.ENTER_BR
} );
</script>
{/literal}
</td>
</tr>
<tr>
<td width="20%">
<b>{$lue_erfassen_field_art}</b>
</td>
<td width="80%" align="left">
<select id='art' name='art'>
<option value=''>Select</option>
{section name=table_data loop=$table_data}
<option value="{$table_data[table_data].lueaid}">{$table_data[table_data].bezeichnung}&nbsp;&nbsp;&nbsp;</option>
{/section}
</select>
</td>
</tr>
<tr>
<td width="20%">
<b>{$lue_erfassen_field_quelle}</b>
</td>
<td width="80%" align="left">
<input type="text" name="quelle" size="40">
</td>
</tr>
<tr>
<td width="20%">
<b>{$lue_erfassen_field_gruppe}</b>
</td>
<td width="80%" align="left">
<select size="20" multiple id='gruppe' name='gruppe[]'>
<option style="font-family:courier" value="">Keine Gruppe&nbsp;&nbsp;&nbsp;</option>
{section name=table_data1 loop=$table_data1}
<option {if $table_data1[table_data1].selected == 1}selected{/if} style="font-family:courier" value="{$table_data1[table_data1].eid}" >{$table_data1[table_data1].eid} | {$table_data1[table_data1].bezeichnung} {$table_data1[table_data1].thema}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
{/section}
</select>
</td>
</tr>
<tr>
<td width="20%">
&nbsp;
</td>
<td width="80%" align="left">
&nbsp;
</td>
</tr>
</table>
&nbsp; <input type="submit" value="Abschicken" name="B1">
<input type="reset" value="Zur&uuml;cksetzen" name="B2"></form>
</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 == 'erfassen'}
{if $lue_erfassen_sql_err1 == '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>{$lue_erfassen_inserterr_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/{$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="3%" background="templates/{$global_template}/images/box_top.gif" valign="top"></td>
<td width="95%" background="templates/{$global_template}/images/box_top.gif">
<img height="10" src="templates/{$global_template}/images/blank.gif" width="1"><br>
<span class="sh">{$lue_erfassen_inserterr_titel}</span><br>
<img height="5" src="templates/{$global_template}/images/blank.gif" width="1"></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 colspan="2"><br>
<p align="center"><b>{$lue_erfassen_inserterr_text}</b>
</p>
<p align="center"><a href="javascript:history.back()">
<img border="0" src="templates/{$global_template}/images/zurueck.gif" width="77" height="22"></a><br>
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p><br>
</p>
</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" colspan="2">
<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 $lue_erfassen_success == '1'}
<meta http-equiv="refresh" content="1; URL=lue_erfassen.php">
<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>{$lue_erfassen_success_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/{$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="3%" background="templates/{$global_template}/images/box_top.gif" valign="top"></td>
<td width="95%" background="templates/{$global_template}/images/box_top.gif">
<img height="10" src="templates/{$global_template}/images/blank.gif" width="1"><br>
<span class="sh">{$lue_erfassen_success_titel}</span><br>
<img height="5" src="templates/{$global_template}/images/blank.gif" width="1"></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 colspan="2"><br>
<p align="center"><b>{$lue_erfassen_success_text}</b>
<p align="center"><a href="hauptframe.php">
<img border="0" src="templates/{$global_template}/images/zurueck.gif"></a>
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p><br>
</p>
</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" colspan="2">
<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}