Ejemplo n.º 1
0
					{
						sortList: [[0,0]],
						widgets: ["zebra"],
						headers: {2:{sorter:false},3:{sorter:false}}
					}); 
			});
</script>
<body>
<H2>Funktionen</H2>
<h3>&Uuml;bersicht</h3>
<table id="t1" class="tablesorter">

<?php 
if ($result_funktion != 0) {
    $num_rows = $db->db_num_rows($result_funktion);
    $num_fields = $db->db_num_fields($result_funktion);
    echo '<thead>
			<tr>';
    for ($i = 0; $i < $num_fields; $i++) {
        echo "<th class='table-sortable:default'>" . $db->db_field_name($result_funktion, $i) . "</th>";
    }
    echo '<th></th>';
    echo '<th></th>';
    echo '</tr></thead><tbody>';
    for ($j = 0; $j < $num_rows; $j++) {
        $row = $db->db_fetch_row($result_funktion, $j);
        echo "<tr>";
        for ($i = 0; $i < $num_fields; $i++) {
            echo "<td>{$row[$i]}</td>";
        }
        echo "<td><a href=\"funktion_det.php?kurzbz={$row['1']}\">Details</a></td>";
Ejemplo n.º 2
0
<html>
<head>
<title>Reservierung Check Details</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<LINK rel="stylesheet" href="../../../skin/vilesci.css" type="text/css">
</head>
<body>
<H1>Mehrfachbelegungen in Reservierungen Detailansicht</H1>
<table border="<?php 
echo $cfgBorder;
?>
">
<tr>
<?php 
if ($num_rows > 0) {
    $num_fields = $db->db_num_fields($result);
    $foo = 0;
    for ($i = 0; $i < $num_fields; $i++) {
        echo "<th>" . $db->db_field_name($result, $i) . "</th>";
    }
    for ($j = 0; $j < $num_rows; $j++) {
        $row = $db->db_fetch_row($result, $j);
        $bgcolor = $cfgBgcolorOne;
        $foo % 2 ? 0 : ($bgcolor = $cfgBgcolorTwo);
        echo '<tr class="' . $bgcolor . '">';
        for ($i = 0; $i < $num_fields; $i++) {
            echo "<td>{$row[$i]}&nbsp;</td>";
        }
        echo "<td><a href=\"res_check_delete.php?id={$row['0']}\">Delete</a></td>";
        echo "<td><a href=\"res_check_mail.php?id={$row['0']}\">Mail&Delete</a></td>";
        echo "</tr>\n";