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

Diff of /gnuheter/avantgo.php

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

revision 1.3 by pawal, Sat Aug 10 18:48:05 2002 UTC revision 1.4 by metaur, Sat Nov 2 22:32:15 2002 UTC
# Line 58  function avantgoindex() { Line 58  function avantgoindex() {
58        "<br><b>$slogan</center></b>\n";        "<br><b>$slogan</center></b>\n";
59      for ($m=0; $m < mysql_num_rows($result); $m++) {      for ($m=0; $m < mysql_num_rows($result); $m++) {
60        list($sid, $title) = mysql_fetch_row($result);        list($sid, $title) = mysql_fetch_row($result);
61        echo "<li><a href=\"".$nuke_url."avantgo.php?sid=$sid\">$title</a><br>\n";        echo "<li><a href=\"".$nuke_url."avantgo.php?sid=$sid\">".nowordlinkshtml($title)."</a><br>\n";
62      }      }
63      avantgofooter();      avantgofooter();
64    }    }
# Line 73  function avantgoarticle($sid) { Line 73  function avantgoarticle($sid) {
73    } else {    } else {
74      list($title,$hometext,$bodytext,$comments) = mysql_fetch_row($result);      list($title,$hometext,$bodytext,$comments) = mysql_fetch_row($result);
75      avantgoheader();      avantgoheader();
76      echo "<b>$title</b>";      echo "<b>".wordlinks($title)."</b>";
77      if ($comments == 1) {      if ($comments == 1) {
78          echo " (1 kommentar)";          echo " (1 kommentar)";
79      } elseif ($comments > 1) {      } elseif ($comments > 1) {
80          echo " ($comments kommentarer)";          echo " ($comments kommentarer)";
81      }      }
82      echo "<br>\n";      echo "<br>\n";
83      echo "$hometext\n";      echo wordlinks($hometext)."\n";
84      echo "$bodytext\n";      echo wordlinks($bodytext)."\n";
85      echo "<br><br>\n<a href=\"avantgo.php\">Tillbaks</a>\n";      echo "<br><br>\n<a href=\"avantgo.php\">Tillbaks</a>\n";
86      avantgofooter();      avantgofooter();
87    }    }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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