let me explain, when using the header.html in there you see the code ($heading) to load the theme images to be use, one for the front page and the other if the navigation variable is present, load the diferent theme or should I said print the header of every page.. those two bits work 100% .
...the last bit is the problem see...
<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?>
<hr size="1" noshade="noshade" />
<?php } ?>
<!-- END OF HEADER -->
when using this last part of the code load the header but only prints the <body> will not print the normal code just the body tag
<body bgcolor="#A2C0C9" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#739fc4">
!missing the openning of the table representing the green color in the footer.html if this bit is not present, the design does not display correctly if the table is not openning in the header!
<!-- END OF HEADER -->
<!-- from here on goes the print from moodle -->
<br />
<table align="center" class="generalbox" border="0" cellpadding="5" cellspacing="0">
<tr>
<td bgcolor="#FFBBBB" class="generalboxcontent">Sorry, guests are not allowed to post</td></tr>
</table><p align="center"><font size="3"><b><a href="Continuehttp://www.lajotadj.com/course/view.php?id=2">Continue</a></b></font></p>
<!-- START OF FOOTER --><!-- from here print the footer for the 3 if $heading variable in the header.html-->
</td>
</tr>
<tr> <td></td></tr>
<tr> <td></td></tr>
<tr> <td></td></tr>
</table></body></html>
can this part be fix in the footer or the header htmls files using another statement in order to print the missing <table> + <tr>