Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with my footer please!!!!!


Chris Smith

Recommended Posts

Hi everyone,

this is my website Personalise Your Gift.com (it's not live so pay no attention to the logo or items for sale), but if you look at the footer it's a little messed up. How can I get every thing right? what I want is for the PayPal to be at the top aligned left, the secured by Thwarte top aligned right and the tems and conditions and everything under these two aligned centre.

 

Any advise is welcome here's my footer.php

 

<?php

/*

$Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require(DIR_WS_INCLUDES . 'counter.php');

?>

 

</td></tr>

</table>

</td></tr>

<tr><td valign=bottom>

<table cellspacing=0 cellpadding=0 width=717 border=0>

<tr><td height=7></td></tr>

<td align="right" class="footer">??<?php echo $counter_now . '' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>??</td>

 

<tr><td colspan=2><img src="images/m15.gif" width="721" height="8"></a></td></tr></table>

 

<!-- PayPal Logo --><table border="0" cellpadding="0" cellspacing="0" align="left"><tr><td align="left"></td></tr>

<tr><td align="left"><a href="#" onclick="java script:window.open('https://www.paypal.com/uk/cgi-bin/webscr?cmd=xpt/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=400, height=350');"><img src="https://www.paypal.com/en_GB/i/bnr/horizontal_solution_PP.gif" border="0" alt="Solution Graphics"></a></td></tr></table><!-- PayPal Logo --></td></tr>

 

<tr><td align="right"><script src="https://siteseal.thawte.com/****/******/************.exe">

</script></tr></td>

 

<tr><td width=494 valign="top" align="centre"></tr></td>

<table cellspacing=10 cellpadding=0 width=474 style="padding-left: 20px">

<tr><td class=ch9><a href=<?=tep_href_link('index.php')?> class=ml6>Home</a><span class=ch10></span>|<span class=ch10></span><a href=<?=tep_href_link('products_new.php')?> class=ml6>New products</a><span class=ch10></span>|<span class=ch10></span><a href=<?=tep_href_link('account.php')?> class=ml6>My account</a><span class=ch10></span>|<span class=ch10></span><a href=<?=tep_href_link('shopping_cart.php')?> class=ml6>Shopping cart</a><span class=ch10></span>|<span class=ch10></span><a href=<?=tep_href_link('checkout_shipping.php')?> class=ml6>Checkout</a></td></tr>

<tr><td height=3></td></tr>

<tr><td class=ch11>Copyright ? 2006 Personalise Your Gift.Com <a class=ml7 href=http://oscommerce.com target=_blank><b>Powered by osCommerce</b></a><br><a href=<?=tep_href_link('privacy.php')?> class=ml7>Privacy Policy</a> | <a href=<?=tep_href_link('conditions.php')?> class=ml7>Conditions of Use</a></td></tr>

 

</table>

</td></tr>

<tr><td height=76></td></tr>

</table>

</td></tr>

</table>

 

 

<?php

if ($banner = tep_banner_exists('dynamic', '468x50')) {

?>

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td align="center"><?php echo tep_display_banner('static', $banner); ?></td>

</tr>

</table>

<br>

<?php

}

?>

Link to comment
Share on other sites

What about something like

 

</td></tr> 
</table> 
</td></tr>
<tr><td valign=bottom>
<table cellspacing=0 cellpadding=0 width=717 border=0>
<tr><td height=7></td></tr> 
<td align="right" class="footer">  <?php echo $counter_now . '' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>  </td>

<tr><td colspan=2><img src="images/m15.gif" width="721" height="8"></a></td></tr></table>

<table cellspacing=10 cellpadding=0 width=100% style="padding-left: 20px">
 <tr>
<td class=ch9 align="center"><a href=<?=tep_href_link('index.php')?> class=ml6>Home</a><span class=ch10></span>|<span class=ch10></span><a href=<?=tep_href_link('products_new.php')?> class=ml6>New products</a><span class=ch10></span>|<span class=ch10></span><a href=<?=tep_href_link('account.php')?> class=ml6>My account</a><span class=ch10></span>|<span class=ch10></span><a href=<?=tep_href_link('shopping_cart.php')?> class=ml6>Shopping cart</a><span class=ch10></span>|<span class=ch10></span><a href=<?=tep_href_link('checkout_shipping.php')?> class=ml6>Checkout</a><a href=<?=tep_href_link('privacy.php')?> class=ml7>Privacy Policy</a> | <a href=<?=tep_href_link('conditions.php')?> class=ml7>Conditions of Use</a>
</td>
 </tr></table>

<table border="0" cellpadding="0" cellspacing="0" align="left">
 <tr>
<td align="left" colspan="3"> 
</td>
 </tr>
 <tr>
<td align="left"><a href="#" onclick="java script:window.open('https://www.paypal.com/uk/cgi-bin/webscr?cmd=xpt/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=400, height=350');"><img src="https://www.paypal.com/en_GB/i/bnr/horizontal_solution_PP.gif" border="0" alt="Solution Graphics"></a></td>
<td class=ch11>Copyright ? 2006 Personalise Your Gift.Com <a class=ml7 href=http:\/\/oscommerce.com target=_blank><b>Powered by osCommerce</b></a><br></td>
<td align="right"><script src="https://siteseal.thawte.com/****/******/************.exe"></script></td>
 </tr>
</table>

<?php
if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
</tr>
</table>
<br>
<?php
}
?>

 

Not certain on how it will look exactly as I don't have your stylesheet.

 

You should get the idea though.

 

With a bit of fiddling around, you should be able to get it the way you want it to look.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...