Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can i change the front page


killersoul

Recommended Posts

Posted

i'm trying to insert html in index.php in language directory but it doesn't work

 

<?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', '<td bgcolor="#FFFFFF" width="572">

<div align="center"><img src="images/m_top.gif" width="572" height="8" alt="" border="0"></div>

<p class="px5">

<table border="0" cellpadding="0" cellspacing="0" width="95%" align="center" height="25" background="images/fon_bar01.gif">

<tr>

<td>

<table border="0" cellpadding="0" cellspacing="0" background="" bgcolor="#FFFFFF">

<tr>

<td><img src="images/e03.gif" width="21" height="21" alt="" border="0" align="left"></td>

<td><p class="bar01" style="color: #DA0008; font-size: 18px;">Today?s special </p></td>

</tr>

</table>

</td>

</tr>

</table>

<table border="0" cellpadding="3" cellspacing="0" align="center">

<tr valign="top">

<td>

<!-- left -->

<table border="0" cellpadding="0" cellspacing="0">

<tr>

<td><img src="images/t_11.gif" width="10" height="9" alt="" border="0"></td>

<td background="images/t_13.gif"><img src="images/t_12.gif" width="6" height="9" alt="" border="0"></td>

<td background="images/t_13.gif" align="right"><img src="images/t_14.gif" width="6" height="9" alt="" border="0"></td>

<td><img src="images/t_15.gif" width="10" height="9" alt="" border="0"></td>

</tr>

<tr valign="top">

<td background="images/t_fon_left.gif"><img src="images/t_21.gif" width="10" height="6" alt="" border="0"></td>

<td rowspan="2" colspan="2">

<!-- in -->

<table border="0" cellpadding="0" cellspacing="0" width="255">

<tr>

<td><img src="images/temp01.gif" width="124" height="92" alt="" border="0"></td>

<td>

<p style="color: #1F86DE; font-size: 15px; padding-bottom: 0px;"><b>Pentium 4</b></p>

<p>CPU Intel P4 2GHz<br>

DIMM 256<br>

HDD 20 GB<br>

CASE MINITOWER</p>

<p style="color: #DA0008; font-size: 17px; padding-bottom: 5px;"><b>$ 500.00</b></p>

</td>

</tr>

</table>

<div align="right">

<a href=""><img src="images/b_buy.gif" width="45" height="24" alt="" border="0"></a>

<a href=""><img src="images/b_det.gif" width="75" height="24" alt="" border="0"></a> 

</div>

<!-- /in -->

</td>

<td background="images/t_fon_right.gif"><img src="images/t_23.gif" width="10" height="6" alt="" border="0"></td>

</tr>

<tr valign="bottom">

<td background="images/t_fon_left.gif"><img src="images/t_31.gif" width="10" height="7" alt="" border="0"></td>

<td background="images/t_fon_right.gif"><img src="images/t_33.gif" width="10" height="7" alt="" border="0"></td>

</tr>

<tr>

<td><img src="images/t_41.gif" width="10" height="10" alt="" border="0"></td>

<td background="images/t_fon_bot.gif"><img src="images/t_42.gif" width="6" height="10" alt="" border="0"></td>

<td background="images/t_fon_bot.gif" align="right"><img src="images/t_44.gif" width="6" height="10" alt="" border="0"></td>

<td ><img src="images/t_45.gif" width="10" height="10" alt="" border="0"></td>

</tr>

</table>

<!-- /left -->

</td>

<td>

<!-- left -->

<table border="0" cellpadding="0" cellspacing="0">

<tr>

<td><img src="images/t_11.gif" width="10" height="9" alt="" border="0"></td>

<td background="images/t_13.gif"><img src="images/t_12.gif" width="6" height="9" alt="" border="0"></td>

<td background="images/t_13.gif" align="right"><img src="images/t_14.gif" width="6" height="9" alt="" border="0"></td>

<td><img src="images/t_15.gif" width="10" height="9" alt="" border="0"></td>

</tr>

<tr valign="top">

<td background="images/t_fon_left.gif"><img src="images/t_21.gif" width="10" height="6" alt="" border="0"></td>

<td rowspan="2" colspan="2">

<!-- in -->

<table border="0" cellpadding="0" cellspacing="0" width="255">

<tr>

<td><img src="images/temp02.gif" alt="" width="116" height="118" border="0"></td>

<td>

<p style="color: #1F86DE; font-size: 15px; padding-bottom: 0px;"><b>Pentium 4</b></p>

<p>CPU Intel P4 2GHz<br>

DIMM 256<br>

HDD 20 GB<br>

CASE MINITOWER</p>

<p style="color: #DA0008; font-size: 17px; padding-bottom: 5px;"><b>$ 500.00</b></p>

</td>

</tr>

</table>

<div align="right">

<a href=""><img src="images/b_buy.gif" width="45" height="24" alt="" border="0"></a>

<a href=""><img src="images/b_det.gif" width="75" height="24" alt="" border="0"></a> 

</div>

<!-- /in -->

</td>

<td background="images/t_fon_right.gif"><img src="images/t_23.gif" width="10" height="6" alt="" border="0"></td>

</tr>

<tr valign="bottom">

<td background="images/t_fon_left.gif"><img src="images/t_31.gif" width="10" height="7" alt="" border="0"></td>

<td background="images/t_fon_right.gif"><img src="images/t_33.gif" width="10" height="7" alt="" border="0"></td>

</tr>

<tr>

<td><img src="images/t_41.gif" width="10" height="10" alt="" border="0"></td>

<td background="images/t_fon_bot.gif"><img src="images/t_42.gif" width="6" height="10" alt="" border="0"></td>

<td background="images/t_fon_bot.gif" align="right"><img src="images/t_44.gif" width="6" height="10" alt="" border="0"></td>

<td ><img src="images/t_45.gif" width="10" height="10" alt="" border="0"></td>

</tr>

</table>

<!-- /left -->

</td>

</tr>

</table>

<table border="0" cellpadding="0" cellspacing="0" width="95%" align="center" height="25" background="images/fon_bar01.gif">

<tr>

<td>

<table border="0" cellpadding="0" cellspacing="0" background="" bgcolor="#FFFFFF">

<tr>

<td><img src="images/e04.gif" width="21" height="21" alt="" border="0" align="left"></td>

<td><p class="bar01" style="color: #3466DE; font-size: 18px;">Featured Products </p></td>

</tr>

</table>

</td>

</tr>

</table>

<table border="0" cellpadding="3" cellspacing="0" align="center">

<tr valign="top">

<td>

<!-- left -->

<table border="0" cellpadding="0" cellspacing="0">

<tr>

<td><img src="images/t_11.gif" width="10" height="9" alt="" border="0"></td>

<td background="images/t_13.gif"><img src="images/t_12.gif" width="6" height="9" alt="" border="0"></td>

<td background="images/t_13.gif" align="right"><img src="images/t_14.gif" width="6" height="9" alt="" border="0"></td>

<td><img src="images/t_15.gif" width="10" height="9" alt="" border="0"></td>

</tr>

<tr valign="top">

<td background="images/t_fon_left.gif"><img src="images/t_21.gif" width="10" height="6" alt="" border="0"></td>

<td rowspan="2" colspan="2">

<!-- in -->

<table border="0" cellpadding="0" cellspacing="0" width="160">

<tr>

<td><img src="images/temp03.gif" alt="" width="58" height="54" border="0"></td>

<td>

<p style="color: #1F86DE; font-size: 15px; padding-bottom: 0px;"><b>Mouse</b></p>

<p>CPU Intel<br>

DIMM 256<br>

HDD 20 GB</p>

<p style="color: #DA0008; font-size: 17px; padding-bottom: 5px;"><b>$5.00</b></p>

</td>

</tr>

</table>

<!-- /in -->

</td>

<td background="images/t_fon_right.gif"><img src="images/t_23.gif" width="10" height="6" alt="" border="0"></td>

</tr>

<tr valign="bottom">

<td background="images/t_fon_left.gif"><img src="images/t_31.gif" width="10" height="7" alt="" border="0"></td>

<td background="images/t_fon_right.gif"><img src="images/t_33.gif" width="10" height="7" alt="" border="0"></td>

</tr>

<tr>

<td><img src="images/t_41.gif" width="10" height="10" alt="" border="0"></td>

<td background="images/t_fon_bot.gif"><img src="images/t_42.gif" width="6" height="10" alt="" border="0"></td>

<td background="images/t_fon_bot.gif" align="right"><img src="images/t_44.gif" width="6" height="10" alt="" border="0"></td>

<td ><img src="images/t_45.gif" width="10" height="10" alt="" border="0"></td>

</tr>

</table>

<!-- /left -->

</td>

<td>

<!-- left -->

<table border="0" cellpadding="0" cellspacing="0">

<tr>

<td><img src="images/t_11.gif" width="10" height="9" alt="" border="0"></td>

<td background="images/t_13.gif"><img src="images/t_12.gif" width="6" height="9" alt="" border="0"></td>

<td background="images/t_13.gif" align="right"><img src="images/t_14.gif" width="6" height="9" alt="" border="0"></td>

<td><img src="images/t_15.gif" width="10" height="9" alt="" border="0"></td>

</tr>

<tr valign="top">

<td background="images/t_fon_left.gif"><img src="images/t_21.gif" width="10" height="6" alt="" border="0"></td>

<td rowspan="2" colspan="2">

<!-- in -->

<table border="0" cellpadding="0" cellspacing="0" width="160">

<tr>

<td><img src="images/temp03.gif" alt="" width="58" height="54" border="0"></td>

<td>

<p style="color: #1F86DE; font-size: 15px; padding-bottom: 0px;"><b>Mouse</b></p>

<p>CPU Intel<br>

DIMM 256<br>

HDD 20 GB</p>

<p style="color: #DA0008; font-size: 17px; padding-bottom: 5px;"><b>$5.00</b></p>

</td>

</tr>

</table>

<!-- /in -->

</td>

<td background="images/t_fon_right.gif"><img src="images/t_23.gif" width="10" height="6" alt="" border="0"></td>

</tr>

<tr valign="bottom">

<td background="images/t_fon_left.gif"><img src="images/t_31.gif" width="10" height="7" alt="" border="0"></td>

<td background="images/t_fon_right.gif"><img src="images/t_33.gif" width="10" height="7" alt="" border="0"></td>

</tr>

<tr>

<td><img src="images/t_41.gif" width="10" height="10" alt="" border="0"></td>

<td background="images/t_fon_bot.gif"><img src="images/t_42.gif" width="6" height="10" alt="" border="0"></td>

<td background="images/t_fon_bot.gif" align="right"><img src="images/t_44.gif" width="6" height="10" alt="" border="0"></td>

<td ><img src="images/t_45.gif" width="10" height="10" alt="" border="0"></td>

</tr>

</table>

<!-- /left -->

</td>

<td>

<!-- left -->

<table border="0" cellpadding="0" cellspacing="0">

<tr>

<td><img src="images/t_11.gif" width="10" height="9" alt="" border="0"></td>

<td background="images/t_13.gif"><img src="images/t_12.gif" width="6" height="9" alt="" border="0"></td>

<td background="images/t_13.gif" align="right"><img src="images/t_14.gif" width="6" height="9" alt="" border="0"></td>

<td><img src="images/t_15.gif" width="10" height="9" alt="" border="0"></td>

</tr>

<tr valign="top">

<td background="images/t_fon_left.gif"><img src="images/t_21.gif" width="10" height="6" alt="" border="0"></td>

<td rowspan="2" colspan="2">

<!-- in -->

<table border="0" cellpadding="0" cellspacing="0" width="160">

<tr>

<td><img src="images/temp03.gif" alt="" width="58" height="54" border="0"></td>

<td>

<p style="color: #1F86DE; font-size: 15px; padding-bottom: 0px;"><b>Mouse</b></p>

<p>CPU Intel<br>

DIMM 256<br>

HDD 20 GB</p>

<p style="color: #DA0008; font-size: 17px; padding-bottom: 5px;"><b>$5.00</b></p>

</td>

</tr>

</table>

<!-- /in -->

</td>

<td background="images/t_fon_right.gif"><img src="images/t_23.gif" width="10" height="6" alt="" border="0"></td>

</tr>

<tr valign="bottom">

<td background="images/t_fon_left.gif"><img src="images/t_31.gif" width="10" height="7" alt="" border="0"></td>

<td background="images/t_fon_right.gif"><img src="images/t_33.gif" width="10" height="7" alt="" border="0"></td>

</tr>

<tr>

<td><img src="images/t_41.gif" width="10" height="10" alt="" border="0"></td>

<td background="images/t_fon_bot.gif"><img src="images/t_42.gif" width="6" height="10" alt="" border="0"></td>

<td background="images/t_fon_bot.gif" align="right"><img src="images/t_44.gif" width="6" height="10" alt="" border="0"></td>

<td ><img src="images/t_45.gif" width="10" height="10" alt="" border="0"></td>

</tr>

</table>

<!-- /left -->

</td>

</tr>

</table>

<table border="0" cellpadding="0" cellspacing="0" width="95%" align="center" height="25" background="images/fon_bar01.gif">

<tr>

<td>

<table border="0" cellpadding="0" cellspacing="0" background="" bgcolor="#FFFFFF">

<tr>

<td><img src="images/e05.gif" width="21" height="21" alt="" border="0"></td>

<td><p class="bar01" style="color: #4AC250; font-size: 18px;">Top News </p></td>

</tr>

</table>

</td>

</tr>

</table>

<p class="px5">

<table border="0" cellpadding="0" cellspacing="0" align="center">

<tr>

<td width="275">

<p class="left"><img src="images/dot_b.gif" width="5" height="5" alt="" border="0" align="absmiddle">  <b>Lorem ipsum dolor sit amet, consectetuer</b></p>

<p class="left">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh commodo consequat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh commodo consequat.</p>

<p class="left"><a href="">Read More</a></p>

</td>

<td bgcolor="#979797"><img src="images/px1.gif" width="1" height="1" alt="" border="0"></td>

<td width="275">

<p class="left"><img src="images/dot_b.gif" width="5" height="5" alt="" border="0" align="absmiddle">  <b>Lorem ipsum dolor sit amet, consectetuer</b></p>

<p class="left">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh commodo consequat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh commodo consequat.</p>

<p class="left"><a href="">Read More</a></p>

</td>')

define('TABLE_HEADING_NEW_PRODUCTS', 'Produse Noi pentru %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Produse Cerute');

define('TABLE_HEADING_DATE_EXPECTED', 'Data de intrare in stoc');

 

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

  define('HEADING_TITLE', 'SUPERGAME Un super sistem la un super pret');

  define('TABLE_HEADING_IMAGE', '');

  define('TABLE_HEADING_MODEL', 'Model');

  define('TABLE_HEADING_PRODUCTS', 'Nume Produs');

  define('TABLE_HEADING_MANUFACTURER', 'Firma');

  define('TABLE_HEADING_QUANTITY', 'Cantitate');

  define('TABLE_HEADING_PRICE', 'Pret');

  define('TABLE_HEADING_WEIGHT', 'Greutate');

  define('TABLE_HEADING_BUY_NOW', 'Cumpara Acuma');

  define('TEXT_NO_PRODUCTS', 'Nu este nici un produs in aceasta categorie.');

  define('TEXT_NO_PRODUCTS2', 'Nu este nici un produs de la aceasta firma.');

  define('TEXT_NUMBER_OF_PRODUCTS', 'Numar de Produse: ');

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

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

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

  define('TEXT_ALL_CATEGORIES', 'Toate Categoriile');

  define('TEXT_ALL_MANUFACTURERS', 'Toate Firmele');

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

  define('HEADING_TITLE', 'Cei NOU aici?');

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

  define('HEADING_TITLE', 'Categorii');

}

?>

 

 

Can someone see something wrong there?

Please help

Posted

Likewise, I wish to change the home page. I have followed the tutorial but cannot find the way to the directory that will allow me to change the file attrubutes and the CHMOD.

 

Can you assist PLEASE :rolleyes:

Archived

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

×
×
  • Create New...