tlsn
September 9th, 2004, 11:53
im unable to get the content to come on the content layout.
the content appears above or below the content layout
u will understand better if you visit my site
http://www.the-leisure-shack.uni.cc/phpnuke/
can u tell me what im doing wrong
and give me the correct code for that
here is the code for the tables.php
------------------------------------------------------------
Code Of tables.php
------------------------------------------------------------
<?php
function OpenTable() {
echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"aufperga_n\">
<tr>
<td colspan=\"2\" align=\"right\"><img src=\"themes/tww/images/hp_stange_ol.gif\" width=\"40\" height=\"25\"></td>
<td width=\"100%\" height=\"25\" background=\"themes/tww/images/hp_perga_ohg.jpg\"><span class=\"storytitle\">$title</span></td>
<td colspan=\"2\"><img src=\"themes/tww/images/hp_stange_or.gif\" width=\"43\" height=\"25\"></td>
</tr>
<tr>
<td width=\"20\"><img src=\"themes/tww/images/pixel.gif\" width=\"19\" height=\"10\"></td>
<td width=\"21\" background=\"themes/tww/images/hp_perga_l.jpg\"><img src=\"themes/tww/images/pixel.gif\" width=\"21\" height=\"10\"></td>
<td background=\"themes/tww/images/hp_pergament.jpg\" width=\"100%\"><font color=\"#000000\"><br>
<br><br>
</font><br></td>
<br>
<td width=\"21\" background=\"themes/tww/images/hp_perga_r.jpg\"><img src=\"themes/tww/images/pixel.gif\" width=\"21\" height=\"10\"></td>
<td width=\"41\"><img src=\"themes/tww/images/pixel.gif\" width=\"22\" height=\"10\"></td>";
}
function OpenTable2() {
echo "<table width=\"712\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"aufperga_n\">
<tr>
<td colspan=\"2\" align=\"right\"><img src=\"themes/tww/images/hp_stange_ol.gif\" width=\"40\" height=\"25\"></td>
<td width=\"100%\" height=\"25\" background=\"themes/tww/images/hp_perga_ohg.jpg\"><span class=\"storytitle\"><font face=\"Verdana, Arial, Helvetica, sans-serif\">
</font></span></td>
<td colspan=\"2\"><img src=\"themes/tww/images/hp_stange_or.gif\" width=\"43\" height=\"25\"></td>
</tr>
<tr>
<td width=\"20\"><img src=\"themes/tww/images/pixel.gif\" width=\"19\" height=\"10\"></td>
<td width=\"21\" background=\"themes/tww/images/hp_perga_l.jpg\"><img src=\"themes/tww/images/pixel.gif\" width=\"21\" height=\"10\"></td>
<td background=\"themes/tww/images/hp_pergament.jpg\" width=\"100%\"> <font class=\"content\">$content</font><br><br><br>
<font class=\"content\">$posted</font><br></td>
<td width=\"21\" background=\"themes/tww/images/hp_perga_r.jpg\"><img src=\"themes/tww/images/pixel.gif\" width=\"21\" height=\"10\"></td>
<td width=\"41\"><img src=\"themes/tww/images/pixel.gif\" width=\"22\" height=\"10\"></td>";
}
function CloseTable() {
echo "</tr>
<tr>
<td width=\"20\"> </td>
<td width=\"21\"><img src=\"themes/tww/images/hp_ecke_ul.gif\" width=\"21\" height=\"22\"></td>
<td background=\"themes/tww/images/hp_perga_ubg.gif\" width=\"100%\"> </td>
<td colspan=\"2\"><img src=\"themes/tww/images/hp_perga_ul.gif\" width=\"43\" height=\"22\"></td>
</tr>
</table>";
}
function CloseTable2() {
echo "</tr>
<tr>
<td width=\"20\"> </td>
<td width=\"21\"><img src=\"themes/tww/images/hp_ecke_ul.gif\" width=\"21\" height=\"22\"></td>
<td background=\"themes/tww/images/hp_perga_ubg.gif\" width=\"100%\"> </td>
<td colspan=\"2\"><img src=\"themes/tww/images/hp_perga_ul.gif\" width=\"43\" height=\"22\"></td>
</tr>
</table>";
}
?>
------------------------------------------------------------
the content appears above or below the content layout
u will understand better if you visit my site
http://www.the-leisure-shack.uni.cc/phpnuke/
can u tell me what im doing wrong
and give me the correct code for that
here is the code for the tables.php
------------------------------------------------------------
Code Of tables.php
------------------------------------------------------------
<?php
function OpenTable() {
echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"aufperga_n\">
<tr>
<td colspan=\"2\" align=\"right\"><img src=\"themes/tww/images/hp_stange_ol.gif\" width=\"40\" height=\"25\"></td>
<td width=\"100%\" height=\"25\" background=\"themes/tww/images/hp_perga_ohg.jpg\"><span class=\"storytitle\">$title</span></td>
<td colspan=\"2\"><img src=\"themes/tww/images/hp_stange_or.gif\" width=\"43\" height=\"25\"></td>
</tr>
<tr>
<td width=\"20\"><img src=\"themes/tww/images/pixel.gif\" width=\"19\" height=\"10\"></td>
<td width=\"21\" background=\"themes/tww/images/hp_perga_l.jpg\"><img src=\"themes/tww/images/pixel.gif\" width=\"21\" height=\"10\"></td>
<td background=\"themes/tww/images/hp_pergament.jpg\" width=\"100%\"><font color=\"#000000\"><br>
<br><br>
</font><br></td>
<br>
<td width=\"21\" background=\"themes/tww/images/hp_perga_r.jpg\"><img src=\"themes/tww/images/pixel.gif\" width=\"21\" height=\"10\"></td>
<td width=\"41\"><img src=\"themes/tww/images/pixel.gif\" width=\"22\" height=\"10\"></td>";
}
function OpenTable2() {
echo "<table width=\"712\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"aufperga_n\">
<tr>
<td colspan=\"2\" align=\"right\"><img src=\"themes/tww/images/hp_stange_ol.gif\" width=\"40\" height=\"25\"></td>
<td width=\"100%\" height=\"25\" background=\"themes/tww/images/hp_perga_ohg.jpg\"><span class=\"storytitle\"><font face=\"Verdana, Arial, Helvetica, sans-serif\">
</font></span></td>
<td colspan=\"2\"><img src=\"themes/tww/images/hp_stange_or.gif\" width=\"43\" height=\"25\"></td>
</tr>
<tr>
<td width=\"20\"><img src=\"themes/tww/images/pixel.gif\" width=\"19\" height=\"10\"></td>
<td width=\"21\" background=\"themes/tww/images/hp_perga_l.jpg\"><img src=\"themes/tww/images/pixel.gif\" width=\"21\" height=\"10\"></td>
<td background=\"themes/tww/images/hp_pergament.jpg\" width=\"100%\"> <font class=\"content\">$content</font><br><br><br>
<font class=\"content\">$posted</font><br></td>
<td width=\"21\" background=\"themes/tww/images/hp_perga_r.jpg\"><img src=\"themes/tww/images/pixel.gif\" width=\"21\" height=\"10\"></td>
<td width=\"41\"><img src=\"themes/tww/images/pixel.gif\" width=\"22\" height=\"10\"></td>";
}
function CloseTable() {
echo "</tr>
<tr>
<td width=\"20\"> </td>
<td width=\"21\"><img src=\"themes/tww/images/hp_ecke_ul.gif\" width=\"21\" height=\"22\"></td>
<td background=\"themes/tww/images/hp_perga_ubg.gif\" width=\"100%\"> </td>
<td colspan=\"2\"><img src=\"themes/tww/images/hp_perga_ul.gif\" width=\"43\" height=\"22\"></td>
</tr>
</table>";
}
function CloseTable2() {
echo "</tr>
<tr>
<td width=\"20\"> </td>
<td width=\"21\"><img src=\"themes/tww/images/hp_ecke_ul.gif\" width=\"21\" height=\"22\"></td>
<td background=\"themes/tww/images/hp_perga_ubg.gif\" width=\"100%\"> </td>
<td colspan=\"2\"><img src=\"themes/tww/images/hp_perga_ul.gif\" width=\"43\" height=\"22\"></td>
</tr>
</table>";
}
?>
------------------------------------------------------------