Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.



Recommended Posts

Hello everyone.


I'm hoping someone can help me figure out why the boarders are missing from around the Categories and only 3 boarders are around the mindsparx specials box i installed on the main page. I've spent all day trying to put them in but can't figure it out. i hope some one can help. also can you let me know what you think of my site.


Many thanks

Link to comment
Share on other sites

correct errors in your html & things will be better, ie u have


class="box_outline3 border=" for the table!!



Remember, What you think I ment may not be what I thought I ment when I said it.




Auto Backup your Database, Easy way


Multi Images with Fancy Pop-ups, Easy way


Products in columns with multi buy etc etc


Disable any Category or Product, Easy way


Secure & Improve your account pages et al.

Link to comment
Share on other sites

Thanks spooks i took out the box_outline3 border and got the boarders, what do you think of the code? does it look ok or would you make any changes to it?


Not sure how to get all the boarders to line up, here is the code for the Categories part that not lining up. any one have an idea whats wrong?



$Id: new_products.php,v 1.34 2003/06/09 22:49:58 hpdl Exp $


osCommerce, Open Source E-Commerce Solutions



Copyright © 2003 osCommerce


Released under the GNU General Public License



<!-- main_categories - EM-STUDIO.info//-->



$info_box_contents = array();

$info_box_contents[] = array('align' => 'center',



new infoBoxHeading($info_box_contents, true, false);


$mc_counter = 0;

$mc_col = 4;

$result = tep_db_query("SELECT * FROM " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd WHERE c.parent_id = '0' AND c.categories_id = cd.categories_id AND cd.language_id = '" . (int)$languages_id . "' ORDER BY sort_order ");

echo '<table border="1" cellspacing="5" cellpadding="0" width="100%" bgcolor="#FFFFFF">'."\n";

while($data = tep_db_fetch_array($result)){

if($mc_counter == 0){

echo '<tr>'."\n";


$width = 100/$mc_col;

echo '<td width="'.$width.'%" align="center" class="smallText" ><a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_path($data[categories_id])) . '">' . tep_image(DIR_WS_IMAGES . $data['categories_image'], $data['categories_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '<br>'.$data['categories_name'].'</td>'."\n";


$mc_counter = $mc_counter+1;


if($mc_counter == $mc_col){

echo '</tr>'."\n";

$mc_counter = 0;





echo '</table>'."\n";


<!-- main_categories_eof //-->

Link to comment
Share on other sites


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

  • Create New...