BigJohnson |
03-27-2003 10:34 PM |
I am having some trouble.
Thisd is what my template looks like.
Code:
{htmldoctype}
<html>
<head><title>$bbtitle - $thread[title]</title>
$headinclude
<script language="javascript" type="text/javascript">
<!--
function aimwindow(aimid) {
window.open("member.php?s=$session[sessionhash]&action=aimmessage&aim="+aimid,"_blank","toolbar=no,location=no,menubar=no,scrollbars=no,width=175,height=275,resizeable=yes,status=no")
}
function who(userid) {
window.open("userrate.php?s=$session[sessionhash]&action=show&rateuser="+userid, "whorated", "toolbar=no,scrollbars=yes,resizable=yes,width=230,height=300");
}
function pubs() {
window.open('member.php?s=$session[sessionhash]&action=pubsthreads&postuserid=$post[userid]','pubsthreads','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=no,width=300,height=300,top=200,left=300');
}
function whodownloaded(attachmentid) {
window.open("whodownloaded.php?s=$session[sessionhash]&attachmentid=" + attachmentid, "whodownloaded", "toolbar=no,scrollbars=yes,resizable=no,width=240,height=300, top=50, left=50");
}
function showwarnings(userid) {
window.open("warn.php?s=&action=show_warn&userid="+userid,
"show_warn", "toolbar=no,scrollbars=yes,resizable=yes,width=600,height=350");
}
function addwarnings(postid) {
window.open("warn.php?s=&action=add_warn&postid="+postid,
"add_warn", "toolbar=no,scrollbars=yes,resizable=yes,width=400,height=200");
}
function whovoted(pollid) {
window.open("poll.php?action=whovoted&pollid=$pollinfo[pollid]="+pollid, "whovoted", "toolbar=no,scrollbars=yes,resizable=no,width=350,height=400, top=50, left=50");
}
// -->
</script>
</head>
<body>
$header
<!-- breadcrumb, nav links -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<form action="newreply.php" method="POST">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="threadid" value="$threadid">
$poll
<form action="newreply.php" method="POST">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="threadid" value="$threadid">
<tr>
<td bgcolor="{firstaltcolor}" {bevel1} valign="top" width="68%" align="left">$navbar<br>
<smallfont>This thread, which was started by <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]">$thread[postusername]</a>, contains $thread[replycount] replies, has been viewed $thread[views] times, and contains $thread[attach] attachments.</smallfont>
<br>
<smallfont>$pagenav $firstunread </smallfont>
<br>
$ratingdisplay
</td>
<td bgcolor="{secondaltcolor}" {bevel2} valign="top" align="right" width="32%"><smallfont>
<a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{newthreadimage}" border="0" alt="Post New Thread"></a>
<input type="image" src="$replyclose" border="0" alt="Post A Reply" name="submit" class="bginput"></smallfont>
<br>
<smallfont>
<img src="{imagesfolder}/prev.gif" alt="" border="0">
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
<img src="{imagesfolder}/next.gif" alt="" border="0"></smallfont>
<br>
<smallfont><b>All times are GMT$timediff.<br>The time now is $timenow.</b></smallfont>
</tr>
</table></table>
<!-- /breadcrumb, nav links -->
<a name="posttop"></a>
<!-- End content area table (CREATED IN HEADER!!) -->
</td>
</tr>
</table></form>
<!-- spacer -->
<table background="{imagesfolder}/logobg.gif" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%">
<!-- /spacer -->
<br>
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<!-- /Thread nav and post images -->
</td>
</tr>
</table>
</td></tr></table>
<!-- /spacer -->
</td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>
<!-- /spacer -->
$postbits
<!-- spacer -->
<table background="{imagesfolder}/logobg.gif" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%">
<!-- spacer -->
<!-- breadcrumb, nav links -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<form action="newreply.php" method="POST">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="threadid" value="$threadid">
<tr>
<td bgcolor="{secondaltcolor}" {bevel2} valign="top" align="left" width="32%"><smallfont>
<a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{newthreadimage}" border="0" alt="Post New Thread"></a>
<input type="image" src="$replyclose" border="0" alt="Post A Reply" name="submit" class="bginput"></smallfont>
<br>
<smallfont>
<img src="{imagesfolder}/prev.gif" alt="" border="0">
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
<img src="{imagesfolder}/next.gif" alt="" border="0"></smallfont>
<br>
<smallfont><b>All times are GMT$timediff.<br>The time now is $timenow.</b></smallfont></td></form>
<td bgcolor="{firstaltcolor}" {bevel1} valign="top" width="68%" align="left">$navbar<br>
<smallfont>This thread, which was started by <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]">$thread[postusername]</a>, contains $thread[replycount] replies, has been viewed $thread[views] times, and contains $thread[attach] attachments.</smallfont>
<br>
<smallfont>$pagenav $firstunread </smallfont>
<br>
$ratingdisplay
</tr></td>
</table></table></form></form>
<!-- /breadcrumb, nav links -->
<!-- /spacer -->
</td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>
<!-- /spacer -->
<!-- restart content table from header -->
<table cellpadding="10" cellspacing="0" border="0" width="{tablewidth}" background="{imagesfolder}/logobg.gif" align="center">
<tr>
<td>
$replybox
$similarthreads
<!-- thread options links -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="625">
<tr>
<td bgcolor="{firstaltcolor}" {bevel1} align="center" width="625" colspan="3"><smallfont>
<img src="{imagesfolder}/printer.gif" alt="" border="0" align="absmiddle">
<a href="printthread.php?s=$session[sessionhash]&threadid=$threadid">Show Printable Version</a> |
<img src="{imagesfolder}/sortasc.gif" alt="" border="0" align="absmiddle">
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&action=download">Download Thread</a> |
<img src="{imagesfolder}/sendtofriend.gif" alt="" border="0" align="absmiddle">
<a href="sendtofriend.php?s=$session[sessionhash]&threadid=$threadid">Email this Page</a> |
<img src="{imagesfolder}/subscribe.gif" alt="" border="0" align="absmiddle">
$log_subscription_link
</smallfont></td>
</tr>
<tr>
<td bgcolor="{secondaltcolor}" {bevel2} align="center" width="40%">$forumjump</td>
<td bgcolor="{secondaltcolor}" {bevel2} align="center" width="30%">$adminoptions</td>
<td bgcolor="{secondaltcolor}" {bevel2} align="center" width="30%">$threadrateselect</td>
</tr>
<tr>
<td colspan="3" bgcolor="{firstaltcolor}" {bevel1} align="center" width="100%">$searchthread</td>
</tr>
</table>
</td></tr></table>
<!-- /thread options links -->
<br>
<!-- forum rules and admin links -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr valign="bottom">
<center><td align="center"><smallfont><b>Forum Rules:</b>$forumrules</smallfont></td></center>
</tr>
</table>
<!-- /forum rules and admin links -->
$footer
<object classid="clsid:FB7199AB-79BF-11d2-8D94-0000F875C541" codeType="application/x-oleobject" id="MsgrApp" width="0" height="0"></object>
<object classid="clsid:F3A614DC-ABE0-11d2-A441-00C04F795683" codetype="application/x-oleobject" id="MsgrObj" width="0" height="0" codebase="#Version=2,0,0,83"></object>
</body>
</html>
When i click the quote box and then click reply nothing shows in the message area. I don't know what my problem is.
I am guessing it has something to do with the FORM actions and closing of the form tags in the wrong areas. Can someone please help me thanks.
|