2022-11-21 09:47:28 +01:00

556 lines
29 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 type='text/javascript' src='overlib/overlib.js'></script>
<script type='text/javascript' src='overlib/overlib_centerpopup.js'></script>
{/literal}
{literal}
<script type="text/javascript">
function change_aend(){
var headline = document.getElementById( 'ueberschrift_kat' ).value;
if ( headline == 1 ){
var value_head = 'Leitgedanken online';
var value = 'Die Leitgedanken für&nbsp;&nbsp;sind nun verfügbar!';
}else if( headline == 2){
var value_head = 'Stammapostelgottesdienst in ';
var value = 'UF:';
}else{
var value_head = '';
var value ='';
}
var editor = CKEDITOR.instances.aenderung;
if ( editor.mode == 'wysiwyg' )
{
document.getElementById('ueberschrift').value = value_head;
editor.setData( value );
}
}
</script>
{/literal}
<style type="text/css">
{literal}
<!--
.text_overlib {font-family:Verdana,Arial,sans-serif; font-size:10px;}
select{width:250px;}
.r{text-decoration: none;font-weight: bold; color: black;}
.text_overlib {font-family:Verdana,Arial,sans-serif; font-size:10px;}
-->
.link{
text-decoration: none;
color: black;
}
{/literal}
</style>
<title>{$changelog_titel}</title>
<script type='text/javascript' src='CKEditor_4.6.1/ckeditor.js'></script>
</head>
<body onload="start();">
<div id="overDiv" style="position: absolute; visibility: hidden; z-index: 1000; left: 10px; top: 0px; background-image: none;"></div>
<table border="0" style="border-collapse: collapse" width="100%" height="90%" cellpadding="0" 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">{$changelog_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=change_erfassen method="POST" name="change_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>{$changelog_field_art}</b>
</td>
<td width="80%" align="left">
<select name='art' size='2'>
<option value='1' selected>Datenbestand</option>
<option value='2'>System</option>
</select>
</td>
</tr>
<tr>
<td width="20%">
<b>{$changelog_field_headline}</b>
</td>
<td width="80%" align="left">
<select name='ueberschrift_kat' id='ueberschrift_kat' onchange='change_aend();' size='1' o>
{section name=table_data_kat loop=$table_data_kat}
<option value='{$table_data_kat[table_data_kat].ckid}'>{$table_data_kat[table_data_kat].bezeichnung}</option>
{/section}
</select>:
<input type="text" name="ueberschrift" id="ueberschrift" value='Leitgedanken online' size="80">
</td>
</tr>
<tr>
<td width="20%">
<b>{$changelog_field_change}</b>
</td>
<td width="80%" align="left">
<textarea id='aenderung' name='aenderung'>Die Leitgedanken für&nbsp;&nbsp;sind nun verfügbar!</textarea>
{literal}
<script type='text/javascript'>
CKEDITOR.replace( 'aenderung', {
height: 80,
width: "90%",
enterMode : CKEDITOR.ENTER_BR
} );
</script>
{/literal}
</td>
</tr>
<tr>
<td width="20%">
<b>{$changelog_field_freigabe}</b>
</td>
<td width="80%" align="left">
<select name='freigabe' size='2'>
<option value='1'>Administrator</option>
<option value='2' selected>Standardanwender</option>
</select>
</td>
</tr>
</table>
<br>
&nbsp; <input type="submit" value="Abschicken" name="B1"> <input type="reset" value="Zur&uuml;cksetzen" name="B2">
</form>
<br>
<br>
<br>
<table cellspacing="0" cellpadding="0" width="100%" height='10%'border="0">
<tr>
<td>
<b>Datum</b>
</td>
<td>
<b>Änderung</b>
</td>
<td>
<b>Art</b>
</td>
<td>
<b>Freigabe</b>
</td>
<td align='center'>
<b>Löschen</b>
</td>
</tr>
{section name=table_data loop=$table_data}
<tr>
<td>
{$table_data[table_data].datum}
</td>
<td>
{if $table_data[table_data].link != ''}
<a href="{$table_data[table_data].link}" onmouseover="{literal}return overlib('{/literal}{$table_data[table_data].text}{literal}', CAPTION,'{/literal}{$table_data[table_data].datum_kurz}{literal} - {/literal}{$table_data[table_data].titel}{literal}', STATUS,'', ABOVE, TEXTFONTCLASS,'text_overlib', WIDTH, 350, TEXTSIZE, '10px', CAPTIONSIZE, '10px', CAPTIONFONT, 'Arial', OFFSETX, 20, OFFSETY, 20, CENTERPOPUP);{/literal}" onmouseout="{literal}nd();{/literal}">{$table_data[table_data].ueberschrift}</a><br>
{else}
<a class=link href="{literal}javascript:void(0);{/literal}" onmouseover="{literal}return overlib('{/literal}{$table_data[table_data].text}{literal}', CAPTION,'{/literal}{$table_data[table_data].datum_kurz}{literal} - {/literal}{$table_data[table_data].titel}{literal}', STATUS,'', ABOVE, TEXTFONTCLASS,'text_overlib', WIDTH, 350, TEXTSIZE, '10px', CAPTIONSIZE, '10px', CAPTIONFONT, 'Arial', OFFSETX, 20, OFFSETY, 20, CENTERPOPUP);{/literal}" onmouseout="{literal}nd();{/literal}">{$table_data[table_data].ueberschrift}</a><br>
{/if}
</td>
<td>
{$table_data[table_data].art}
</td>
<td>
{$table_data[table_data].freigabe}
</td>
<td align='center'>
<a href=?action=del&id={$table_data[table_data].id}><img title = "Change löschen"border="0" height=10 src="templates/{$global_template}/images/drop2.png"></a>
</td>
</tr>
{/section}
</table>
</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>
<br>
<br>
</body>
</html>
{/if}
{if $action == 'change_erfassen'}
{if $changelog_textwortwahl == '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>{$wort_titel}</title>
<style type='text/css'>
{literal}
select{
width:750px;
}
{/literal}
</style>
</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="30%" 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>
<font class="hd">{$wort_titel}</font><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>
<form action=?action=change_erfassen2 method="POST">
<select size="20" name="wort">
{section name=table_data1 loop=$table_data1}
<option value="{$table_data1[table_data1].lid}">{$table_data1[table_data1].datum}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$table_data1[table_data1].ueberschrift}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
{/section}
</select>
<br>
<br>
<p align="center">
<input type="submit" value="Abschicken" name="B1"> </p>
</form>
<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 $changelog_ohnekat == '1'}
<meta http-equiv="refresh" content="0; URL=?action=change_erfassen2">
{/if}
{if $changelog_luewahl == '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_wahl_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="50%" 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>
<font class="hd">{$lue_wahl_titel}</font><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>
<form action=?action=change_erfassen2 method="POST">
<select size="20" name="lue">
{section name=table_data1 loop=$table_data1}
<option value="{$table_data1[table_data1].eid}">{$table_data1[table_data1].thema}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
{/section}
</select>
<br>
<br>
<p align="center">
<input type="submit" value="Abschicken" name="B1"> </p>
</form>
<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 $changelog_sql == '1' or $changelog_sql == '2' }
<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>{$changelog_sql_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="50%" 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>
<font class="hd">{$changelog_sql_titel}</font><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>
<form action=?action=change_erfassen2 method="POST">
<textarea rows="14" cols="100" id='sql' name='sql'>{if $changelog_sql == '2' }SELECT a.lid, ueberschrift, textstelle, inhalt, DATE_Format(a.datum, \'%d\') tag, DATE_Format(a.datum, \'%m\') monat, DATE_Format(a.datum, \'%Y\') jahr, b.bezeichnung, c.bezeichnung, a.kid, a.ukid
FROM quelle a, kategorie b, unterkategorie c, thema d
WHERE a.kid=b.kid
AND a.ukid=c.ukid
AND a.thema=d.tid
AND d. bezeichnung = \'Sonderausgabe {$changelog_datum}\'
{/if}{if $changelog_sql == '1' }SELECT a.lid, a.ueberschrift, a.textstelle, a.inhalt, DATE_Format(a.datum, \'%d\') tag, DATE_Format(a.datum, \'%m\') monat, DATE_Format(a.datum, \'%Y\') jahr, b.bezeichnung, c.bezeichnung, a.kid, a.ukid
FROM quelle a, kategorie b, unterkategorie c
WHERE a.kid=b.kid
AND a.ukid=c.ukid
AND datum LIKE \'%{$changelog_datum}%\'
AND a.kid = 1
ORDER BY `a`.`datum` ASC
{/if}
</textarea>
<br>
<br>
<p align="center">
<input type="submit" value="Abschicken" name="B1"> </p>
</form>
<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}
{if $action == 'change_erfassen2'}
{if $changelog_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>{$changelog_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">{$changelog_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>{$changelog_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 $changelog_success == '1'}
<meta http-equiv="refresh" content="1; URL=changelog.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>{$changelog_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">{$changelog_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>{$changelog_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}