420 lines
19 KiB
HTML
420 lines
19 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">
|
|
<script type="text/javascript" src="jquery.min.js"></script>
|
|
{literal}
|
|
<script type="text/javascript">
|
|
function neu(string) {
|
|
|
|
document.forms['searchform'].elements['q'].value =string;
|
|
if(document.searchform)document.searchform.textwort.focus();
|
|
}
|
|
</script>
|
|
<script type="text/javascript">
|
|
function fetch_select()
|
|
{
|
|
var kategorie = document.getElementById('kid').options[document.getElementById('kid').options.selectedIndex].value;
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: 'fetch_data.php',
|
|
data: {
|
|
get_option:kategorie
|
|
},
|
|
success: function (response) {
|
|
document.getElementById("ukid").innerHTML=response;
|
|
}
|
|
});
|
|
}
|
|
|
|
</script>
|
|
<script language='JavaScript' type='text/javascript'>
|
|
<!--
|
|
function start() {
|
|
fetch_select();
|
|
}
|
|
//-->
|
|
</script>
|
|
{/literal}
|
|
<style type="text/css">
|
|
{literal}
|
|
select{
|
|
width:250px;
|
|
}
|
|
/* Big box with list of options */
|
|
#ajax_listOfOptions{
|
|
position:absolute; /* Never change this one */
|
|
width:250px; /* Width of box */
|
|
height:200px; /* Height of box */
|
|
overflow:auto; /* Scrolling features */
|
|
border:1px solid #6487DC; /* Dark blue border */
|
|
background-color:#FFF; /* White background color */
|
|
text-align:left;
|
|
font-family : verdana, arial;
|
|
z-index:10000;
|
|
}
|
|
#ajax_listOfOptions div{ /* General rule for both .optionDiv and .optionDivSelected */
|
|
margin:1px;
|
|
padding:1px;
|
|
cursor:pointer;
|
|
font-size:0.9em;
|
|
}
|
|
#ajax_listOfOptions .optionDiv{ /* Div for each item in list */
|
|
}
|
|
#ajax_listOfOptions .optionDivSelected{ /* Selected item in the list */
|
|
background-color:#D6DFF7;
|
|
color:#002276;
|
|
font-family : verdana, arial;
|
|
font-weight : bold;
|
|
}
|
|
#ajax_listOfOptions_iframe{
|
|
background-color:#F00;
|
|
position:absolute;
|
|
z-index:500;
|
|
}
|
|
form{
|
|
display:inline;
|
|
}
|
|
{/literal}
|
|
</style>
|
|
<title>{$suche_titel}</title>
|
|
{literal}
|
|
<script type="text/javascript" src="livesearch/ajax.js"></script>
|
|
<script type="text/javascript" src="livesearch/ajax-dynamic-list.js">
|
|
/************************************************************************************************************
|
|
(C) www.dhtmlgoodies.com, April 2006
|
|
|
|
This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website.
|
|
|
|
Terms of use:
|
|
You are free to use this script as long as the copyright message is kept intact. However, you may not
|
|
redistribute, sell or repost it without our permission.
|
|
|
|
Thank you!
|
|
|
|
www.dhtmlgoodies.com
|
|
Alf Magne Kalleland
|
|
|
|
************************************************************************************************************/
|
|
</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="75%" 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">{$suche_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=suche method="POST" name="searchform">
|
|
<br>
|
|
<br>
|
|
<table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#E7E8ED" width="100%" id="AutoNumber1">
|
|
<tr>
|
|
<td width="30%" align="left" height="18">
|
|
<b>{$suche_field_thema}</b>
|
|
</td>
|
|
<td width="70%" align="left" height="18">
|
|
<!--[if lt IE 7]>
|
|
<div id="kategorie">
|
|
<![endif]-->
|
|
<select id='thema' name='thema'>
|
|
<option value=''>Select</option>
|
|
{section name=table_data loop=$table_data}
|
|
<option value="{$table_data[table_data].tid}">{$table_data[table_data].bezeichnung} </option>
|
|
{/section}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30%" align="left" height="18">
|
|
<b>{$suche_field_headline}</b>
|
|
</td>
|
|
<td width="70%" align="left" height="18">
|
|
<input type="text" name="ueberschrift" size="30">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30%" align="left" height="18">
|
|
<b>{$suche_field_stelle}</b>
|
|
</td>
|
|
<td width="70%" align="left" height="18">
|
|
<input type="text" id="textstelle" name="textstelle" value="" onkeyup="ajax_showOptions(this,'getWord',event)" size="30">
|
|
<input type="hidden" id="textstelle_hidden" name="textstelle_ID"><!-- THE ID OF the textstelle will be inserted into this hidden input -->
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30%" align="left" height="18">
|
|
<b>{$suche_field_wort}</b>
|
|
</td>
|
|
<td width="70%" align="left" height="18">
|
|
<input type="text" name="textwort" size="30">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30%" align="left" height="18">
|
|
<b>{$suche_field_inhalt}</b>
|
|
</td>
|
|
<td width="70%" align="left" height="18">
|
|
<input type="text" name="inhalt" size="30">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30%" align="left" height="18">
|
|
<b>{$suche_field_datum}</b>
|
|
</td>
|
|
<td width="70%" align="left" height="18">
|
|
<input type="text" name="tag" ID="text" size="1" value='TT' onFocus="{literal}if(this.value=='TT'){ this.value='';}{/literal}">.<input type="text" name="monat" value='MM' ID="text1" size="1" onFocus="{literal}if(this.value=='MM'){ this.value='';}{/literal}">.<input type="text" name="jahr" ID="text2" value='JJJJ' size="3" onFocus="{literal}if(this.value=='JJJJ'){ this.value='';}{/literal}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30%" align="left" height="18">
|
|
<b>{$suche_field_stapgd}</b>
|
|
</td>
|
|
<td width="70%" align="left" height="18">
|
|
<input type='Checkbox' name='stapgd' value='Y'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30%" align="left" height="18">
|
|
<b>{$suche_field_cat}</b>
|
|
</td>
|
|
<td width="70%" align="left" height="18">
|
|
<!--[if lt IE 7]>
|
|
<div id="kategorie">
|
|
<![endif]-->
|
|
<select id='kid' name='kid' onchange="fetch_select();">
|
|
<option value=''>Select</option>
|
|
{section name=table_data1 loop=$table_data1}
|
|
<option value="{$table_data1[table_data1].kid}">{$table_data1[table_data1].bezeichnung} </option>
|
|
{/section}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30%" align="left" height="18">
|
|
<b>{$suche_field_subcat}</b>
|
|
</td>
|
|
<td width="70%" align="left" height="18">
|
|
<!--[if lt IE 7]><div id="unterkategorie"><![endif]-->
|
|
<select id='ukid' name='ukid'>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</div>
|
|
<tr>
|
|
<td width="30%" align="left" height="18">
|
|
<b>{$suche_field_art}</b>
|
|
</td>
|
|
<td width="70%" align="left" height="18">
|
|
<label for="r3"><input type="radio" name="art" checked value="exact" id="r3"> {$suche_field_art_opt_ext}</label><br>
|
|
<label for="r4"><input type="radio" name="art" value="any" id="r4"> {$suche_field_art_opt_sim}</label>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<br>
|
|
<br>
|
|
<input type="submit" value="Abschicken">
|
|
</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>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
{/if}
|
|
{if $action == 'suche'}
|
|
{if $suche_nomatch == '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>{$suche_nomatch_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">{$suche_nomatch_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>{$suche_nomatch_text}</b>
|
|
<p align="center"><a href="javascript:history.back()">
|
|
<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 $suche_match == '1'}
|
|
<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>{$suche_match_titel}</title>
|
|
<style>
|
|
{literal}
|
|
<!--
|
|
.sl,.r{font-weight:normal;margin:0;display:inline}
|
|
.r{font-size:1em}
|
|
.g{margin-top:1em;margin-bottom:1em}
|
|
.a,.a:link{color:green}
|
|
body,td,div,.p,a{font-family:arial,sans-serif}
|
|
-->
|
|
{/literal}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table align="center" border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="95%" id="table1">
|
|
<tr>
|
|
<td>
|
|
<div align="center">
|
|
<table valign="top" 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">{$suche_match_titel}</font><br>
|
|
<span class="sh">Treffer: {$anzahltreffer}</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>
|
|
<table valign="top" border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#E7E8ED" width="60%" id="AutoNumber1">
|
|
{section name=table_data3 loop=$table_data3}
|
|
<tr>
|
|
<td>
|
|
<h2 class=r><a class=l href=ausgabe.php?lid={$table_data3[table_data3].lid}&suchart={$table_data3[table_data3].suchart}&inhalt_hig={$table_data3[table_data3].inhalt_hig}><b>{$table_data3[table_data3].ueberschrift}</b></a></h2>
|
|
<br>
|
|
{$table_data3[table_data3].preview}
|
|
<br>
|
|
<span class=a>Kategorie: {$table_data3[table_data3].kategorie}
|
|
{if $table_data3[table_data3].unterkategorie != ''}
|
|
/ {$table_data3[table_data3].unterkategorie}
|
|
{/if}
|
|
<br>
|
|
Datum: {$table_data3[table_data3].wochentag}, {$table_data3[table_data3].tag}.{$table_data3[table_data3].monat}.{$table_data3[table_data3].jahr}
|
|
{if $table_data3[table_data3].notizen > 0}
|
|
<br>
|
|
Eigene Notizen: vorhanden
|
|
{/if}
|
|
</span>
|
|
<p>
|
|
<p>
|
|
</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>
|
|
</body>
|
|
</html>
|
|
{/if}
|
|
{/if} |