40 |
$i = 1; |
$i = 1; |
41 |
while(list($sid, $title, $time, $counter) = mysql_fetch_row($result)) { |
while(list($sid, $title, $time, $counter) = mysql_fetch_row($result)) { |
42 |
if($counter>0) { |
if($counter>0) { |
43 |
echo " <b>$i</b>: <a href=\"article.php?sid=$sid$rmflags\">$title</a> - (Läst $counter gånger)<br>\n"; |
echo " <b>$i</b>: <a href=\"article.php?sid=$sid$rmflags\">".nowordlinkshtml($title)."</a> - (Läst $counter gånger)<br>\n"; |
44 |
$i++; |
$i++; |
45 |
} |
} |
46 |
} |
} |
52 |
$i = 1; |
$i = 1; |
53 |
while(list($sid, $title, $comments) = mysql_fetch_row($result)) { |
while(list($sid, $title, $comments) = mysql_fetch_row($result)) { |
54 |
if($comments>0) { |
if($comments>0) { |
55 |
echo " <b>$i</b>: <a href=\"article.php?sid=$sid$rmflags\">$title</a> - ($comments kommentarer)<br>\n"; |
echo " <b>$i</b>: <a href=\"article.php?sid=$sid$rmflags\">".nowordlinkshtml($title)."</a> - ($comments kommentarer)<br>\n"; |
56 |
$i++; |
$i++; |
57 |
} |
} |
58 |
} |
} |
78 |
$i = 1; |
$i = 1; |
79 |
while(list($sid, $title, $counter) = mysql_fetch_row($result)) { |
while(list($sid, $title, $counter) = mysql_fetch_row($result)) { |
80 |
if($counter>0) { |
if($counter>0) { |
81 |
echo " <b>$i</b>: <a href=\"article.php?sid=$sid$rmflags\">$title</a> - (Läst $counter gånger)<br>\n"; |
echo " <b>$i</b>: <a href=\"article.php?sid=$sid$rmflags\">".nowordlinkshtml($title)."</a> - (Läst $counter gånger)<br>\n"; |
82 |
$i++; |
$i++; |
83 |
} |
} |
84 |
} |
} |