300 |
list($subject) = mysql_fetch_row(mysql_query("SELECT subject FROM comments WHERE tid='$pid'")); |
list($subject) = mysql_fetch_row(mysql_query("SELECT subject FROM comments WHERE tid='$pid'")); |
301 |
} |
} |
302 |
|
|
303 |
|
|
304 |
echo "<form method=\"POST\" action=\"$REQUEST_URI\">\n"; |
echo "<form method=\"POST\" action=\"$REQUEST_URI\">\n"; |
305 |
echo "<p><font color=\"$bgcolor2\"><b>Ditt namn:</b></font>\n"; |
echo "<p><font color=\"$bgcolor2\"><b>Ditt namn:</b></font>\n"; |
306 |
if ($user) { |
if ($user) { |
308 |
echo "<a href=\"user.php\">$cookie[1]</a> <font size=2>[ <a href=\"user.php?op=logout\">Logga ut</a> ]</font>"; |
echo "<a href=\"user.php\">$cookie[1]</a> <font size=2>[ <a href=\"user.php?op=logout\">Logga ut</a> ]</font>"; |
309 |
} else { |
} else { |
310 |
echo "<font color=\"Red\">$anonymous</font><font color=\"Black\">\n"; |
echo "<font color=\"Red\">$anonymous</font><font color=\"Black\">\n"; |
311 |
echo "[ <a href=\"user.php\">Ny användare</a> ]</font>\n"; |
echo "[ <a href=\"user.php\">Ny användare</a> | <a href=\"user.php?op=commentsLogin&passOn=".urlencode($REQUEST_URI)."\">Logga in</a> ]</font>\n"; |
312 |
} |
} |
313 |
echo "<p><font color=\"$bgcolor2\"><b>Ärende</b></font><br>\n"; |
echo "<p><font color=\"$bgcolor2\"><b>Ärende</b></font><br>\n"; |
314 |
if (!eregi("Re:",$subject)) $subject = "Re: $subject"; |
if (!eregi("Re:",$subject)) $subject = "Re: $subject"; |