532 lines
25 KiB
HTML
532 lines
25 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">
|
|
<title>{$bearbeiten_titel}</title>
|
|
{literal}
|
|
<script type="text/javascript" src="livesearch/ajax.js"></script>
|
|
{/literal}
|
|
{literal}
|
|
<script type="text/javascript" src="livesearch/ajax-dynamic-list.js"></script>
|
|
{/literal}
|
|
<style type="text/css">
|
|
{literal}
|
|
select{
|
|
width:500px;
|
|
}
|
|
|
|
#ajax_listOfOptions{
|
|
position:absolute;
|
|
width:320px;
|
|
height:200px;
|
|
overflow:auto;
|
|
border:1px solid #6487DC;
|
|
background-color:#FFF;
|
|
text-align:left;
|
|
font-family : verdana, arial;
|
|
z-index:10000;
|
|
}
|
|
#ajax_listOfOptions div{
|
|
margin:1px;
|
|
padding:1px;
|
|
cursor:pointer;
|
|
font-size:0.9em;
|
|
}
|
|
#ajax_listOfOptions .optionDiv{
|
|
|
|
}
|
|
#ajax_listOfOptions .optionDivSelected{
|
|
background-color:#D6DFF7;
|
|
color:#002276;
|
|
font-family : verdana, arial;
|
|
font-weight : bold;
|
|
}
|
|
#ajax_listOfOptions_iframe{
|
|
background-color:#F00;
|
|
position:absolute;
|
|
z-index:500;
|
|
}
|
|
{/literal}
|
|
</style>
|
|
{literal}
|
|
<script type="text/javascript">
|
|
<!--
|
|
function Ziel() {
|
|
var sortorder1 = '';
|
|
var sort1 = '';
|
|
var anz1 = '';
|
|
|
|
for (var i = 0; i < document.einzel.Auswahl1.length; i++){
|
|
if (document.einzel.Auswahl1[i].type == 'radio') {
|
|
if(document.einzel.Auswahl1[i].checked == true){
|
|
sortorder1 += document.einzel.Auswahl1[i].value
|
|
}
|
|
}
|
|
}
|
|
|
|
for (var i = 0; i < document.einzel.Auswahl.length; i++){
|
|
if (document.einzel.Auswahl[i].type == 'radio') {
|
|
if(document.einzel.Auswahl[i].checked == true){
|
|
sort1 += document.einzel.Auswahl[i].value
|
|
}
|
|
}
|
|
}
|
|
|
|
for (var i = 0; i < document.einzel.Auswahl2.length; i++){
|
|
if (document.einzel.Auswahl2[i].type == 'radio') {
|
|
if(document.einzel.Auswahl2[i].checked == true){
|
|
anz1 += document.einzel.Auswahl2[i].value
|
|
}
|
|
}
|
|
}
|
|
|
|
if(document.einzel.Auswahl[0].checked == true)
|
|
location.href = "?sort="+sort1+"&sortorder="+sortorder1+"&sortanz="+anz1;
|
|
else if(document.einzel.Auswahl[1].checked == true)
|
|
location.href = "?sort="+sort1+"&sortorder="+sortorder1+"&sortanz="+anz1;
|
|
else if(document.einzel.Auswahl[2].checked == true)
|
|
location.href = "?sort="+sort1+"&sortorder="+sortorder1+"&sortanz="+anz1;
|
|
}
|
|
|
|
|
|
//-->
|
|
</script>
|
|
{/literal}
|
|
</head>
|
|
<body onload="{literal}if(document.einzel)document.einzel.lied.focus();return false;{/literal}">
|
|
<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 width="95%" background="templates/{$global_template}/images/box_top.gif">
|
|
<img height="10" src="templates/{$global_template}/images/blank.gif" width="1"><br>
|
|
<font class="hd">{$wort_exegese_titel}</font><br>
|
|
<td nowrap="nowrap" align="left" width="3%" background="templates/{$global_template}/images/box_top.gif" valign="top"></td>
|
|
<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>
|
|
<form action=?action=exeg1 method="POST" name="einzel">
|
|
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber1" height="115">
|
|
<tr>
|
|
<td width="25%" height="17">
|
|
</td>
|
|
<td width="25%" height="17"> </td>
|
|
<td width="25%" height="17">
|
|
<p> </p>
|
|
</td>
|
|
<td width="25%" height="17">
|
|
<p></p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="100%" height="17">
|
|
<p align="center">
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
|
|
<td width="100%" align="left" height="17">
|
|
{$wort_exegese_text}
|
|
<br><br>
|
|
<select size="15" name="wort_exegese">
|
|
<option value="" selected>Neuen Datensatz hinzufügen</option>
|
|
{section name=table_data1 loop=$table_data1}
|
|
<option value="{$table_data1[table_data1].wort}">{$table_data1[table_data1].wort}</option>
|
|
{/section}
|
|
</select>
|
|
<br><br>
|
|
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="100%" height="17">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td width="100%" colspan='2' align="center">
|
|
<input type="submit" value="Abschicken" name="B1"></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="50%" height="18">
|
|
</td>
|
|
<td width="50%">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td width="50%">
|
|
</td>
|
|
<td width="50%" align="center">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="50%">
|
|
</td>
|
|
<td width="50%" align="center">
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</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" 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 $action == 'exeg1'}
|
|
|
|
<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">
|
|
<style type='text/css'>
|
|
{literal}
|
|
select{
|
|
width:265px;
|
|
}
|
|
{/literal}
|
|
</style>
|
|
|
|
<title>{$bearbeiten_titel}</title>
|
|
{literal}
|
|
<script type='text/javascript' src='CKEditor_4.6.1/ckeditor.js'></script>
|
|
{/literal}
|
|
</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="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">{$wort_exegese_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=exeg2 method="POST" name="bearbeiten">
|
|
<table border="0" cellpadding="4" cellspacing="0" style="border-width:0; border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" height="18">
|
|
<tr>
|
|
<td width="20%">
|
|
<b>{$wort_exegese_field_titel}</b>
|
|
</td>
|
|
<td width="80%" align="left">
|
|
<input type="text" name="titel" value="{$wort_exegese_begriff}" size="40">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="20%">
|
|
<b>{$wort_exegese_field_beschreibung}</b>
|
|
</td>
|
|
<td width="80%" align="left">
|
|
|
|
<textarea id='beschreibung' name='beschreibung'></textarea>
|
|
{literal}
|
|
<script type='text/javascript'>
|
|
CKEDITOR.replace( 'beschreibung', {
|
|
height: 200,
|
|
enterMode : CKEDITOR.ENTER_BR
|
|
} );
|
|
</script>
|
|
{/literal}
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="20%">
|
|
<b>{$wort_exegese_field_link}</b>
|
|
</td>
|
|
<td width="80%" align="left">
|
|
<input type="text" name="link" value="" size="80">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="20%">
|
|
|
|
</td>
|
|
<td width="80%" align="left">
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<b>{$wort_exegese_field_vorh_titel}</b>
|
|
<br>
|
|
<br>
|
|
<table border="0" cellpadding="4" cellspacing="0" style="border-width:0; border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" height="18">
|
|
<tr>
|
|
<td width="20%" valign="top">
|
|
<b>{$wort_exegese_field_vorh_wort}</b><br>
|
|
</td>
|
|
<td width="80%" valign="top">
|
|
<b>{$wort_exegese_field_vorh_beschreibung}</b><br>
|
|
</td>
|
|
<td width="20%" valign="top">
|
|
<b>{$wort_exegese_field_vorh_action}</b><br>
|
|
</td>
|
|
</tr>
|
|
{section name=table_data2 loop=$table_data2}
|
|
<tr>
|
|
<td width="20%" valign="top">
|
|
{$table_data2[table_data2].wort}
|
|
</td>
|
|
<td width="80%" valign="top">
|
|
{$table_data2[table_data2].beschreibung}
|
|
</td>
|
|
<td width="20%" valign="top">
|
|
<table width="100%">
|
|
<tr>
|
|
<td width="33%">
|
|
<a href=?action=edit&weid={$table_data2[table_data2].weid}><img title = "Wort bearbeiten" border="0" height=10 src="templates/{$global_template}/images/edit.png"></a>
|
|
</td>
|
|
{if $table_data2[table_data2].del == '1'}
|
|
<td width="33%">
|
|
<a href=?action=del&weid={$table_data2[table_data2].weid}><img title = "Wort löschen" border="0" height=10 src="templates/{$global_template}/images/drop.png"></a>
|
|
</td>
|
|
{/if}
|
|
{if $table_data2[table_data2].link_vorh == '1'}
|
|
<td width="33%">
|
|
<a href="{$table_data2[table_data2].link}" target='_blank'><img title = "Link öffnen" border="0" height=10 src="templates/{$global_template}/images/link.png"></a>
|
|
</td>
|
|
</tr>
|
|
{/if}
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
{/section}
|
|
</table>
|
|
|
|
<br>
|
|
<p align=center><input type="submit" value="Abschicken" name="B1"></p>
|
|
</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 == 'exeg2'}
|
|
<meta http-equiv="refresh" content="5; URL=wort_exegese.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>{$bearbeiten_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">{$wort_exegese_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">{$wort_exegese_finish}
|
|
<p align="center"><a href="wort_exegese.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 $action == 'edit'}
|
|
<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">
|
|
<style type='text/css'>
|
|
{literal}
|
|
select{
|
|
width:265px;
|
|
}
|
|
{/literal}
|
|
</style>
|
|
|
|
<title>{$bearbeiten_titel}</title>
|
|
<script type='text/javascript' src='CKEditor_4.6.1/ckeditor.js'></script>
|
|
</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="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">{$wort_exegese_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=edit2 method="POST" name="bearbeiten">
|
|
<table border="0" cellpadding="4" cellspacing="0" style="border-width:0; border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" height="18">
|
|
<tr>
|
|
<td width="20%">
|
|
<b>{$wort_exegese_field_titel}</b>
|
|
</td>
|
|
<td width="80%" align="left">
|
|
<input type="text" name="titel" value="{$wort_exegese_edit_begriff}" size="40">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="20%">
|
|
<b>{$wort_exegese_field_beschreibung}</b>
|
|
</td>
|
|
<td width="80%" align="left">
|
|
|
|
<textarea id='beschreibung' name='beschreibung'>{$wort_exegese_edit_beschreibung}</textarea>
|
|
{literal}
|
|
<script type='text/javascript'>
|
|
CKEDITOR.replace( 'beschreibung', {
|
|
height: 200,
|
|
enterMode : CKEDITOR.ENTER_BR
|
|
} );
|
|
</script>
|
|
{/literal}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
|
|
<tr>
|
|
<td width="20%">
|
|
<b>{$wort_exegese_field_link}</b>
|
|
</td>
|
|
<td width="80%" align="left">
|
|
<input type="text" name="link" value="{$wort_exegese_edit_link}" size="80">
|
|
</td>
|
|
</tr>
|
|
<td width="20%">
|
|
|
|
</td>
|
|
<td width="80%" align="left">
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<br>
|
|
<p align=center><input type="submit" value="Abschicken" name="B1"></p>
|
|
</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} |