* Copyright (c) 2003 - 2012 Klaus Henneberg
 *
 * Project owner:
 * Dipl.-Ing. Klaus Henneberg
 * 38889 Blankenburg, BRD
 *
 * This file is licensed under the terms of the Open Software License
 * http://www.opensource.org/licenses/osl-2.1.php
 */
include $sr . '/bin/share/functions/ajax_functions.php';
$result0 = mysql_query("SELECT * FROM {$table1} WHERE id = '{$uid}' AND aktiv = '1'");
$username = mysql_result($result0, isset($i0), 'username');
$result2 = mysql_query("SELECT * FROM {$table2}");
$num2 = mysql_num_rows($result2);
echo "\n<div class='page'>\n\n\t<p id='kopf'>pic2base :: Recherche-&Uuml;bersicht <span class='klein'>(User: "******")</span></p>\n\t<div class='navi'' style='clear:right;'>\n\t\t<div class='menucontainer'>";
createNavi2($uid);
echo "\n\t\t</div>\n\t</div>\n\t<div id='spalte1'>";
if (array_key_exists('bewertung', $_COOKIE)) {
    $bewertung = $_COOKIE['bewertung'];
}
if (empty($bewertung) or !isset($bewertung)) {
    $bewertung = '';
}
if ($num2 > 0) {
    $action = $_SERVER['PHP_SELF'];
    $sel1 = $sel2 = $sel3 = $sel4 = $sel5 = $sel6 = '';
    $sel21 = $sel22 = $sel31 = $sel32 = $sel41 = $sel42 = '';
    $bew = $bewertung;
    switch ($bew) {
        case '=1':
            $sel1 = 'selected';
fclose($fh);
$result2 = mysql_query("SELECT * FROM {$table2}");
$num2 = mysql_num_rows($result2);
//echo "Anz. der Bild-Datensaetze: ".$num2."<BR>";
//var_dump($_COOKIE);
?>
<div class="page">

	<p id="kopf">pic2base :: Recherche-&Uuml;bersicht <span class='klein'>(User: <?php 
echo $c_username;
?>
)</span></p>
	<div class="navi" style="clear:right;">
		<div class="menucontainer">
		<?php 
createNavi2($c_username);
//echo $navigation;
?>
		</div>
	</div>
	<div id="spalte1">
	
	<?php 
if (array_key_exists('bewertung', $_COOKIE)) {
    $bewertung = $_COOKIE['bewertung'];
}
if (empty($bewertung) or !isset($bewertung)) {
    $bewertung = '';
}
if ($num2 > 0) {
    $action = $_SERVER['PHP_SELF'];