/[gnuheter]/gnuheter/search.php
ViewVC logotype

Diff of /gnuheter/search.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by metaur, Sat Nov 2 22:32:15 2002 UTC revision 1.9 by metaur, Sun Nov 3 01:50:03 2002 UTC
# Line 63  echo "<select name=\"author\">"; Line 63  echo "<select name=\"author\">";
63  echo "<option value=\"\">Alla skribenter</option>\n";  echo "<option value=\"\">Alla skribenter</option>\n";
64  while(list($authors) = mysql_fetch_row($thing)) {  while(list($authors) = mysql_fetch_row($thing)) {
65          if ($authors == $author) { $sel = "selected "; }          if ($authors == $author) { $sel = "selected "; }
66          echo "<option value=\"$authors\">$authors</option>\n";          echo "<option $sel value=\"$authors\">$authors</option>\n";
67          $sel = "";          $sel = "";
68  }  }
69  echo "</select>"; ?>  echo "</select>"; ?>
# Line 78  echo "</select>"; ?> Line 78  echo "</select>"; ?>
78          <option <?= $days == 90 ? "selected " : ""; ?> value="90">3 månader</option>          <option <?= $days == 90 ? "selected " : ""; ?> value="90">3 månader</option>
79  </select><br>  </select><br>
80  Sök på:  Sök på:
81  <input type="radio" name="type" value="stories" checked> Artiklar  <input type="radio" name="type" value="stories"<?=
82  <input type="radio" name="type" value="comments"> Kommentarer    ((($type=='stories') or ($type=='nosearch') or ($type==''))
83  <input type="radio" name="type" value="sections"> Sektioner      ? ' checked' : '');
84  <input type="radio" name="type" value="users"> Användare  ?>> Artiklar
85    <input type="radio" name="type"
86     value="comments"<?= (($type=='comments') ? ' checked' : ''); ?>> Kommentarer
87    <input type="radio" name="type"
88     value="sections"<?= (($type=='sections') ? ' checked' : ''); ?>> Sektioner
89    <input type="radio" name="type"
90     value="users"<?= (($type=='users') ? ' checked' : ''); ?>> Användare
91  </form></td></tr></table><p>  </form></td></tr></table><p>
92  <?        <?      
93  if ($type == "stories" or !$type) {  if ($type == "stories" or !$type) {

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26