= $_GET[search_string_year_after]" ; } if (isset($_GET["search_string_year_before"]) and $_GET["search_string_year_before"]) { $searchstring = "name_id=14 and CAST(lower(value) AS UNSIGNED) <= $_GET[search_string_year_before]" ; } ?>

Listar verk efter

2) { $lang = 1; } $sort_column = intval(isset($_GET["sort_column"]) ? $_GET["sort_column"] : 0); $sort_direction = (intval(isset($_GET["sort_direction"]) ? $_GET["sort_direction"] : 1) != 0 ? "desc" : "asc"); $q = "select a.name_id, a.name, l.sortorder from lists l natural join defnames a where l.list_id=$list and (lang=$lang or lang is null) order by l.sortorder"; $res = mysql_query($q) or die($query. "

".mysql_error()); $colcnt = 0; while ($row = mysql_fetch_row($res)) { if ($sort_column == 0) { $sort_column = $row[0]; } $sort_column_col = $columns[$colcnt++] = $row[0]; $sort_direction_col = 0; if ($sort_column == $sort_column_col) { $sort_direction_col = (($sort_direction == "asc") ? 1 : 0); } ?>
".mysql_error()); $curr = -1; $rowcnt = 0; $colcnt = 0; while($row = mysql_fetch_row($res)) { $id = $row[0]; $value = htmlspecialchars($row[1]); $name_id = $row[4]; ?>= 0 && $curr != $id) { echo "\n"; $rowcnt++; $colcnt = 0; } $colcnt++; if ($curr != $id) { ?>