Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with the Footer - Deleted # of request since ...


Guest

Recommended Posts

Posted

These deals with the Footer Section:

 

Currently there is the dates and the number of request since the day I loaded osCommerce.

 

How do I only delete the number of request since the day I loaded osCommerce.

 

I prefer not to let people know how many people have visited the website.

 

Please provide me with the location and what I need to delete.

 

Thanks in advance.

 

----

 

Here is the codes that is in the following file: catalog/includes/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');

?>

<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 echo FOOTER_TEXT_BODY; ?></td>

</tr>

</table>

Posted
These deals with the Footer Section:

 

Currently there is the dates and the number of request since the day I loaded osCommerce.

 

How do I only delete the number of request since the day I loaded osCommerce.

 

I prefer not to let people know how many people have visited the website.

 

Please provide me with the location and what I need to delete.

 

Thanks in advance.

 

----

 

Here is the codes that is in the following file: catalog/includes/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');

?>

<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 echo FOOTER_TEXT_BODY; ?></td>

</tr>

</table>

 

 

You could comment out the following:

 

<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>

 

Notice the // after the <?php

 

This will comment out the information you are looking for. Hope this helps.

Do or Do Not, there is no try.

Posted
You could comment out the following:

 

<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>

 

Notice the // after the <?php

 

This will comment out the information you are looking for. Hope this helps.

 

If you want to display the date dont comment out the strftime(DATE_FORMAT_LONG) bit ... if you just want to hide the counter then comment out <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>  </td> like michael said

Posted
You could comment out the following:

 

<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>

 

Notice the // after the <?php

 

This will comment out the information you are looking for. Hope this helps.

 

TY, it was very helpful

In fact, very good.

Posted

$counter_now is responsible for the value.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Archived

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

×
×
  • Create New...