Commit ca068b25 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Change the thumbnail so it does not end up printed as unprintable

chars on the stats page; instead put in a link to the picture.
parent 90e77f5c
......@@ -78,9 +78,18 @@ echo "</tr>\n";
mysql_data_seek($query_result, 0);
while ($row = mysql_fetch_assoc($query_result)) {
$rsrcidx = $row[idx];
echo "<tr>\n";
foreach($row as $key => $value) {
echo "<td nowrap>$value</td>\n";
if ($key == "thumbnail") {
echo "<td nowrap>
<a href='showthumb.php3?idx=$rsrcidx'>Thumbnail</a>
</td>\n";
}
else {
echo "<td nowrap>$value</td>\n";
}
}
echo "</tr>\n";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment