Well you could do it two ways..
Eg.
1)
PHP Code:
$footer = "
<div id='footer'>
<div class='left_footer'>
<a href='" . $BASEURl . "/index.php'>home</a><a href='" . $BASEURl . "/faq.php'>faq</a><a href='" . $BASEURl . "/rules.php'>privacy policy</a><a href='mailto:chezandrei@gmail.com'>contact</a>
</div>
<div class='right_footer'>
<a href='#' target='_blank'><img src='http://www.bvlist.com/images/chezdesign.gif' border='0' alt='' title='' /></a>
</div>
</div>
</div>";
Or
PHP Code:
<div id="footer">
<div class="left_footer">
<a href=<?=BASEURL?>"/index.php">Home</a><a href=<?=BASEURL ?>"/faq.php">Faq</a><a href="Privacy Policy">rules</a><a href="mailto:mailto:chezandrei@gmail.com">Contact</a>
</div>
<div class="right_footer"><img src="http://site.ninjacentral.co.za/ban.png" width="350" height="80" alt="Footer"/>
</div>
</div>