Add / Remove Boxes | Last Update: 10th August, 2005 Article ID: 66 |
<tr>
<td>
##BOX CONTENT HERE##
</td>
</tr>
<!-- information //-->
<tr>
<td>
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => BOX_HEADING_INFORMATION);
new infoBoxHeading($info_box_contents, false, false);
$info_box_contents = array();
$info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_SITEMAP) . '">' . BOX_INFORMATION_SITEMAP . '</a>');
new infoBox($info_box_contents);
?>
</td>
</tr>
<!-- information_eof //-->
<!-- my new box //-->
<tr>
<td>
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => BOX_HEADING_MY_NEW_BOX);
new infoBoxHeading($info_box_contents, false, false);
$info_box_contents = array();
$info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_PAGE1) . '">' . BOX_MY_NEW_BOX_PAGE1 . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_PAGE2) . '">' . BOX_MY_NEW_BOX_PAGE2 . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_PAGE3) . '">' . BOX_MY_NEW_BOX_PAGE3 . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_PAGE4) . '">' . BOX_MY_NEW_BOX_PAGE4 . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_PAGE5) . '">' . BOX_MY_NEW_BOX_PAGE5 . '</a>');
new infoBox($info_box_contents);
?>
</td>
</tr>
<!-- information_eof //-->
<?php
require(DIR_WS_BOXES . 'categories.php');
require(DIR_WS_BOXES . 'manufacturers.php');
require(DIR_WS_BOXES . 'whats_new.php');
require(DIR_WS_BOXES . 'search.php');
require(DIR_WS_BOXES . 'my_new_box.php');
require(DIR_WS_BOXES . 'information.php');
?>
// information box text in includes/boxes/information.php
define('BOX_HEADING_INFORMATION', 'Information');
define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');
define('BOX_INFORMATION_CONDITIONS', 'Terms & Conditions');
define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns');
define('BOX_INFORMATION_CONTACT', 'Contact Us');
define('BOX_INFORMATION_SITEMAP', 'Sitemap');
// my new box text in includes/boxes/my_new_box.php
define('BOX_HEADING_MY_NEW_BOX', 'My New Box');
define('BOX_MY_NEW_BOX_PAGE1', 'Page1');
define('BOX_MY_NEW_BOX_PAGE2', 'New Page2');
define('BOX_MY_NEW_BOX_PAGE3', 'New Page3');
define('BOX_MY_NEW_BOX_PAGE4', 'New Page4');
define('BOX_MY_NEW_BOX_PAGE5', 'New Page5');
<?php
require(DIR_WS_BOXES . 'categories.php');
require(DIR_WS_BOXES . 'manufacturers.php');
require(DIR_WS_BOXES . 'whats_new.php');
require(DIR_WS_BOXES . 'search.php');
//require(DIR_WS_BOXES . 'my_new_box.php');
require(DIR_WS_BOXES . 'information.php');
?>
Trademark Policy | Copyright Policy | Sitemap Copyright © 2000-2005 osCommerce. All rights reserved. |