Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

copyright


casper010377

Recommended Posts

move

 

<br>

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

<tr>

<td align="center" class="smallText">

<?php

/*

The following copyright announcement can only be

appropriately modified or removed if the layout of

the site theme has been modified to distinguish

itself from the default osCommerce-copyrighted

theme.

 

For more information please read the following

Frequently Asked Questions entry on the osCommerce

support site:

 

http://www.oscommerce.com/community.php/faq,26/q,50

 

Please leave this comment intact together with the

following copyright announcement.

*/

 

echo FOOTER_TEXT_BODY

?>

</td>

</tr>

</table>

 

to right above the last

<?php

}

?>

 

on catalog/includes/footer.php

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

move

 

<br>

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

  <tr>

    <td align="center" class="smallText">

<?php

/*

  The following copyright announcement can only be

  appropriately modified or removed if the layout of

  the site theme has been modified to distinguish

  itself from the default osCommerce-copyrighted

  theme.

 

  For more information please read the following

  Frequently Asked Questions entry on the osCommerce

  support site:

 

  http://www.oscommerce.com/community.php/faq,26/q,50

 

  Please leave this comment intact together with the

  following copyright announcement.

*/

 

  echo FOOTER_TEXT_BODY

?>

    </td>

 

  </tr>

</table>

 

to right above the last

<?php

  }

?>

 

on catalog/includes/footer.php

 

Hi i did what you said and sorry to say i got an error

 

Parse error: parse error, unexpected '<' in /home/fhlinux200/b/budgetbuyer.co.uk/user/htdocs/includes/footer.php on line 52

Link to comment
Share on other sites

Hi i did what you said and sorry to say i got an error

 

Parse error: parse error, unexpected '<' in /home/fhlinux200/b/budgetbuyer.co.uk/user/htdocs/includes/footer.php on line 52

 

 

here it is

 

<?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');

?>

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

<tr class="footer">

<td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>

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

</tr>

</table>

 

/*

The following copyright announcement can only be

appropriately modified or removed if the layout of

the site theme has been modified to distinguish

itself from the default osCommerce-copyrighted

theme.

 

For more information please read the following

Frequently Asked Questions entry on the osCommerce

support site:

 

http://www.oscommerce.com/community.php/faq,26/q,50

 

Please leave this comment intact together with the

following copyright announcement.

*/

 

echo FOOTER_TEXT_BODY

?>

</td>

</tr>

</table>

<?php

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

?>

<br>

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

<tr>

<td align="center" class="smallText">

<?php

<p>

<head>

<title></title>

</head>

<body>

<CENTER><A HREF="http://www.paypal.com">

<IMG SRC="http://images.paypal.com/en_US/i/bnr/paypal_mrb_banner.gif" BORDER="0"><BR>

</CENTER>

</body>

</html>

<br>

</p>

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

<tr>

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

</table>

<?php

}

?>

<script LANGUAGE="JavaScript">

//Modified by CoffeeCup Software

//This code is Copyright © 1997 CoffeeCup Software

//all rights reserved. License is granted to a single user to

//reuse this code on a personal or business Web Site.

 

 

 

var yourtext = "* Welcome! You are now at BudgetBuyer (Uk)! *";

var wedge1=" ";

var wedge2=" ";

var message1=wedge1+yourtext+wedge2;

var dir = "lside";

var speed = 50;

 

function bouncey() {

 

if (dir == "lside") {

message2=message1.substring(2,message1.length)+" ";

window.status=message2;

setTimeout("bouncey();",speed);

message1=message2;

 

if (message1.substring(0,1) == "*") {

dir="rside";

}

}

 

else {

message2=" "+message1.substring(0,message1.length-2);

window.status=message2;

setTimeout("bouncey();",speed);

message1=message2;

if (message1.substring(message1.length-1,message1.length) == "*") {

dir="lside";

}

}

}

 

// -- End Hiding Here -->

</SCRIPT>

 

<body onLoad="bouncey()">

 

</body>

</html>

<head>

Link to comment
Share on other sites

You dumped a bunch of javascript and html after the end of the php file, "?>". That's not going to work.

 

Suggest you revert back to the original footer.php and get that working, just put your custom code just before the "echo FOOTER_TEXT_BODY".

 

Not sure exactly what you are trying to do, but things like your:

<body onLoad="bouncey()">

 

</body>

</html>

<head>

 

really don't belong there either...

 

Hope that helps.

Link to comment
Share on other sites

You dumped a bunch of javascript and html after the end of the php file, "?>". That's not going to work.

 

Suggest you revert back to the original footer.php and get that working, just put your custom code just before the "echo FOOTER_TEXT_BODY".

 

Not sure exactly what you are trying to do, but things like your:

<body onLoad="bouncey()">

 

</body>

</html>

<head>

 

really don't belong there either...

 

Hope that helps.

 

 

Thanks Corrected that, but still need to move the copyright under banners and not above

 

Thanks

Link to comment
Share on other sites

Thanks Corrected that, but still need to move the copyright under banners and not above

 

Thanks

 

Go into footer.php, and dump your custom code just before:

"echo FOOTER_TEXT_BODY"

 

See if that works.

 

Always save a copy of the orginal footer.php of course ;)

Link to comment
Share on other sites

<?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');

?>

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

<tr class="footer">

<td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>

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

</tr>

</table>

</td>

</tr>

</table>

<?php

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

?>

<br>

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

<tr>

<td align="center" class="smallText">

 

<CENTER><A HREF="http://www.paypal.com">

<IMG SRC="http://images.paypal.com/en_US/i/bnr/paypal_mrb_banner.gif" BORDER="0"><BR>

</CENTER>

</body>

</html>

<br>

 

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

<tr>

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

<?php

/*

The following copyright announcement can only be

appropriately modified or removed if the layout of

the site theme has been modified to distinguish

itself from the default osCommerce-copyrighted

theme.

 

For more information please read the following

Frequently Asked Questions entry on the osCommerce

support site:

 

http://www.oscommerce.com/community.php/faq,26/q,50

 

Please leave this comment intact together with the

following copyright announcement.

*/

 

echo FOOTER_TEXT_BODY

?><br><br></td>

</table>

<?php

}

?>

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

I took out the javascript and body tags. You had put a couple of things in the wrong spots and the javascript will not work where you put it, as far as I know. I tried it with no success.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Go into footer.php, and dump your custom code just before:

"echo FOOTER_TEXT_BODY"

 

See if that works.

 

Always save a copy of the orginal footer.php of course  ;)

 

 

Tried that didnt work, may of done it wrong below is my footer from /htdocs/includes

 

<?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');

?>

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

<tr class="footer">

<td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>

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

</tr>

</table>

<br>

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

<tr>

<td align="center" class="smallText">

<?php

/*

The following copyright announcement can only be

appropriately modified or removed if the layout of

the site theme has been modified to distinguish

itself from the default osCommerce-copyrighted

theme.

 

For more information please read the following

Frequently Asked Questions entry on the osCommerce

support site:

 

http://www.oscommerce.com/community.php/faq,26/q,50

 

Please leave this comment intact together with the

following copyright announcement.

*/

 

echo FOOTER_TEXT_BODY

?>

</td>

</tr>

</table>

<?php

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

?>

<p>

<head>

<title></title>

</head>

<body>

<CENTER><A HREF="http://www.paypal.com">

<IMG SRC="http://images.paypal.com/en_US/i/bnr/paypal_mrb_banner.gif" BORDER="0"><BR>

</CENTER>

</body>

</html>

<br>

</p>

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

<tr>

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

</table>

<?php

}

?>

<script LANGUAGE="JavaScript">

//Modified by CoffeeCup Software

//This code is Copyright © 1997 CoffeeCup Software

//all rights reserved. License is granted to a single user to

//reuse this code on a personal or business Web Site.

 

 

 

var yourtext = "* Welcome! You are now at BudgetBuyer (Uk)! *";

var wedge1=" ";

var wedge2=" ";

var message1=wedge1+yourtext+wedge2;

var dir = "lside";

var speed = 50;

 

function bouncey() {

 

if (dir == "lside") {

message2=message1.substring(2,message1.length)+" ";

window.status=message2;

setTimeout("bouncey();",speed);

message1=message2;

 

if (message1.substring(0,1) == "*") {

dir="rside";

}

}

 

else {

message2=" "+message1.substring(0,message1.length-2);

window.status=message2;

setTimeout("bouncey();",speed);

message1=message2;

if (message1.substring(message1.length-1,message1.length) == "*") {

dir="lside";

}

}

}

 

// -- End Hiding Here -->

</SCRIPT>

 

<body onLoad="bouncey()">

 

</body>

</html>

<head>

Link to comment
Share on other sites

Tried that didnt work, may of done it wrong below is my footer from /htdocs/includes

 

SORRY JUST DID WENDYJAMES CODE AND WORKED FINE I DIDNT CHECK IT SORRY TO ALL.

 

NOW all im left with fixing is the ssl see my post

 

Thankyou to all

<?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');

?>

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

  <tr class="footer">

    <td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>

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

  </tr>

</table>

<br>

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

  <tr>

    <td align="center" class="smallText">

<?php

/*

  The following copyright announcement can only be

  appropriately modified or removed if the layout of

  the site theme has been modified to distinguish

  itself from the default osCommerce-copyrighted

  theme.

 

  For more information please read the following

  Frequently Asked Questions entry on the osCommerce

  support site:

 

  http://www.oscommerce.com/community.php/faq,26/q,50

 

  Please leave this comment intact together with the

  following copyright announcement.

*/

 

  echo FOOTER_TEXT_BODY

?>

    </td>

  </tr>

</table>

<?php

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

?>

<p>

<head>

  <title></title>

</head>

<body>

<CENTER><A HREF="http://www.paypal.com">

<IMG SRC="http://images.paypal.com/en_US/i/bnr/paypal_mrb_banner.gif" BORDER="0"><BR>

</CENTER>

</body>

</html>

<br>

</p>

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

  <tr>

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

</table>

<?php

  }

?>

<script LANGUAGE="JavaScript">

//Modified by CoffeeCup Software

//This code is Copyright ? 1997 CoffeeCup Software

//all rights reserved. License is granted to a single user to

//reuse this code on a personal or business Web Site.

var yourtext = "* Welcome! You are now at BudgetBuyer (Uk)! *";

var wedge1="                        ";

var wedge2="                        ";

var message1=wedge1+yourtext+wedge2;

var dir = "lside";

var speed = 50;

 

function bouncey() {

 

if (dir == "lside") {

  message2=message1.substring(2,message1.length)+"  ";

  window.status=message2;

  setTimeout("bouncey();",speed);

  message1=message2;

 

  if (message1.substring(0,1) == "*") {

  dir="rside";

  }

}

 

else {

  message2="  "+message1.substring(0,message1.length-2);

  window.status=message2;

  setTimeout("bouncey();",speed);

  message1=message2;

  if (message1.substring(message1.length-1,message1.length) == "*") {

  dir="lside";

  }

}

}

 

// -- End Hiding Here -->

</SCRIPT>

 

<body onLoad="bouncey()">

 

</body>

</html>

<head>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...