|
Header.php and footer.php (header.asp and footer.asp) files are used to display header and footer on all generated PHP (ASP) pages. You can put your custom html, JavaScript or PHP (ASP) code to these files.
By default there is no header. To add/edit header double-click the header element or select Header from the Tables list panel on the Visual Editor tab. Then you can edit header by editing header.php (header.asp) file stored in visual subfolder in your project folder.
For example, if you want to enclose all output in a centered table 600 pixels wide with logo above
and some text below the table you need to change the header and the footer with the following contents:
header.php/header.asp
<p align="center"><img src="include/logo.jpg" border="0"></p>
<table width="600" border="1" bordercolor=#2237cbb align="center" cellpadding="5">
<tr>
<td>
footer.php/footer.asp
</td>
</tr>
</table>
<p align="center">
<b><font color=#237cbb> © 1999 - 2010 XLineSoft. All rights reserved.</font></b></p>
How it looks in browser:

Applies to:
ASPRunner Pro
PHPRunner
Back to top
|