Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with the front page


raneman

Recommended Posts

Hey you guys;

I have a question for you. I just hand quoted some html tag in the front page of the shop (I know that is not a good practice)

 

Here is the index.php file

 

**********************************

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', '

 

<!-- table begins here -->

 

<table width="70%" border="0" align="left" cellpadding="0" cellspacing="0">

 

<tr>

<td>

 

 

<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>

<td>

<p align="center"><font face="Arial, Helvetica, sans-serif">As a growing company in a competitive industry, you know that first impressions are often the key to a successful future. That is why your advertisement must make a remarkable impact, which is representative of your products and services.</font><font face="Arial, Helvetica, sans-serif">we can help you make your first impression unforgettable. </font> </p>

<p align="center"><strong><font color="#006600" face="Arial, Helvetica, sans-serif">asdfasdf, where <em><font color="#FF6600">asfasdf</font></em> asdfasdfasdf</font> </strong></p>

<p align="center"> </p></td>

</tr>

 

 

<tr valign="top">

<td height="14" bgcolor="#990000"><div align="right"></div> <img src="../../../catalog/images/add_images/conrner.gif" width="80" height="20" hspace="0" align="right"></td>

</tr>

</table>

 

 

<tr>

<td>

<table width="98%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#990000" background="../../../catalog/images/add_images/BG-tb.gif">

<tr>

<td>

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

 

<tr>

 

<!-- Category window -->

 

 

<td colspan="3"><div align="center">

<p><font color="#993300" size="5"><strong>Product Categories</strong></font></p>

</div></td>

</tr>

<tr>

 

<td valign="top"><div align="center"><a href="http://client.com/index.php/cPath/25"><img src="../../../catalog/images/add_images/Biz_Card.gif" alt="Business Cards, Biz cards, full color cards" width="100" height="137" border="0"></a></div></td>

<td><div align="center"><a href="http://client.com/index.php/cPath/60"><img src="../../../catalog/images/add_images/post_cards.gif" alt="postcards, Mailer, Flyer, 4X6, 5.5X8.5" width="100" height="137" border="0"></a></div></td>

<td><div align="center"><a href="http://client.com/index.php/cPath/69"><img src="../../../catalog/images/add_images/sell_sheet.gif" alt="sell sheet, flyer, catalog" width="100" height="137" border="0"></a></div></td>

</tr>

<tr>

<td height="20">

</td>

</tr>

<tr>

<td><div align="center"><a href="http://client.com/index.php/cPath/72"><img src="../../../catalog/images/add_images/news_letter.gif" alt="newsletter, 6 pager brochure, bruchure, pamphlet" width="100" height="137" border="0"></a></div></td>

 

<td><div align="center"><a href="http://client.com/index.php/cPath/24"><img src="../../../catalog/images/add_images/brochures.gif" alt="6 pager Brochures, 8 Pager Brochures," width="100" height="137" border="0"></a></div></td>

<td><div align="center"><a href="http://client.com/index.php/cPath/25"><img src="../../../catalog/images/add_images/catalogs.gif" alt="8 Pager Catalogs, 16 Pager Catalogs, 32 pager catalogs" width="100" height="137" border="0"></a></div></td>

</tr>

<tr>

<td height="20">

</td>

</tr>

<tr>

<td><div align="center"><a href="http://client.com/index.php/cPath/75"><img src="../../../catalog/images/add_images/poster.gif" alt="Poster, commertial print, offset printing" width="100" height="137" border="0"></a></div></td>

<td><div align="center"><a href="http://client.com/index.php/cPath/27"><img src="../../../catalog/images/add_images/package.gif" alt="custom packaging, automatic bottom boxes, custom boxes, currogated boxes" width="100" height="137" border="0"></a> </div></td>

<td><div align="center"><a href="http://client.com/product_info.php/cPath/26/products_id/121"><img src="../../../catalog/images/add_images/custom.gif" alt="8 Pager Catalogs, 16 Pager Catalogs, 32 pager catalogs" width="100" height="137" border="0"></a></div></td>

</tr>

<tr>

<td> </td>

<td> </td>

<td> </td>

</tr>

<tr>

<td> </td>

<td> </td>

<td> </td>

</tr>

</table>

</td>

</tr>

</table>

 

 

 

 

</td>

</tr>

<tr>

<td colspan="2">

<p align="center"> </p>

<p align="center"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif">To make an everlasting impression you could either have our design department create an eye catching product or simply create your own design, select a product from the menu and upload your files. We will do the rest. <em>Your design our press equipment, satisfaction guaranteed.</em></font></p>

<p align="center"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif">Remember, you could always contact us requesting a custom price quote and consultation.</font> </p></td>

</tr>

</table></td>

</tr>

</table>

 

 

 

<!-- table ends here -->

 

 

 

');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', 'Choose the product with desired quantity');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 \'');

define('TEXT_NOW', '\' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'You Design it, We Print It. That Simple!');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Select a Category or Choose a Product');

}

?>

 

******************************************

All the new changes are selfcontained in tables. The problem is that these tables are forcing one of the boxes from right column to go all the way down to the bottom left. Now if I replace this table with some text, everything will go back to normal.

 

Any idea?

 

thx

Link to comment
Share on other sites

  • 2 weeks later...

Archived

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

×
×
  • Create New...