// Parameter uebernehmen
// ---------------------------------------
// Suchkriterien - das wird geloescht
$suchen1 = isset($_GET['suchen1']) ? $_GET['suchen1'] : null;
$filter1 = isset($_GET['filter1']) ? $_GET['filter1'] : '';
$firmentyp_kurzbz1 = isset($_GET['firmentyp_kurzbz1']) ? $_GET['firmentyp_kurzbz1'] : '';
// Suchkriterien - das bleibt
$suchen2 = isset($_GET['suchen2']) ? $_GET['suchen2'] : null;
$filter2 = isset($_GET['filter2']) ? $_GET['filter2'] : '';
$firmentyp_kurzbz2 = isset($_GET['firmentyp_kurzbz2']) ? $_GET['firmentyp_kurzbz2'] : '';
// ---------------------------------------
// Fixe Tabellenwerte einlesen
// ---------------------------------------
$firma = new firma();
$rows = array();
if ($firma->getFirmenTypen()) {
    foreach ($firma->result as $row) {
        $rows[] = $row;
    }
}
?>
	
<html>
<head>
	<title>Firmen Zusammenlegung</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	
	<link rel="stylesheet" href="../../skin/vilesci.css" type="text/css">
	<link rel="stylesheet" href="../../include/js/tablesort/table.css" type="text/css">
	<script src="../../include/js/tablesort/table.js" type="text/javascript"></script>
<!--        <script src="../../include/js/jquery.js" type="text/javascript"></script> -->
Ejemplo n.º 2
0
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" href="../../skin/vilesci.css" type="text/css">
	<link rel="stylesheet" href="../../include/js/tablesort/table.css" type="text/css">
	<script src="../../include/js/tablesort/table.js" type="text/javascript"></script>
</head>
<body class="background_main">
	<h2>Firmen - &Uuml;bersicht</h2>
<?php 
echo '<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr>';
//Suche
echo '<form onsubmit="parent.frames[1].location.href =\'firma_details.php\';parent.frames[2].location.href =\'firma_detailwork.php\';" action="' . $_SERVER['PHP_SELF'] . '" method="GET"><td>';
echo '&nbsp;Suche: <input type="text" name="filter" value="' . $filter . '">';
echo '&nbsp;Typ: <SELECT name="firmentypfilter">
			<option value="">-- Alle --</option>';
$firma = new firma();
$firma->getFirmenTypen();
foreach ($firma->result as $row) {
    if ($row->firmentyp_kurzbz == $firmentypfilter) {
        $selected = 'selected';
    } else {
        $selected = '';
    }
    echo "<option value='{$row->firmentyp_kurzbz}' {$selected}>{$row->firmentyp_kurzbz}</option>";
}
echo '</SELECT>';
echo '&nbsp;<input type="submit" name="suchen" value="Suchen">';
echo '</td></form>';
echo "<td align='right'><input type='button' onclick='parent.detail_firma.location=\"firma_details.php?neu=true\"' value='Neue Firma anlegen'/></td>";
echo '</tr></table>';
echo creatList($suchen, $filter, $firmentypfilter);
?>