Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

categories.php replacement


Guest

Recommended Posts

can I use this code for replacing the categories.php file (boxes/...):

 

<tr>

<td><strong><font size="2" face="Arial, Helvetica, sans-serif">Kategorien</font></strong></td>

</tr>

<?php do { ?>

<tr>

<? if ($row_category['categories_id'] =='92') {?>

<td class="main">

<a href="##" target="_self"><IMG SRC=images/categories/arrow_right.gif" WIDTH="9" HEIGHT="9" BORDER="0" ALT=""><?php echo $row_category['categories_name']; ?></a></td>

<? } else {?>

<td class="main">

<? $cPath_new = 'cPath=' . $row_category['categories_id']; ?>

<a href="<?php echo tep_href_link(FILENAME_DEFAULT, $cPath_new); ?>">

<IMG SRC=images/categories/arrow_right.gif" WIDTH="9" HEIGHT="9" BORDER="0" ALT=""><?php echo $row_category['categories_name']; ?></a></td>

<? } ?>

</tr>

<?php } while ($row_category = mysql_fetch_assoc($category)); ?>

 

<?php

mysql_free_result($category);

?>

 

Why? The point is, that I want to include external category-overview sites...

 

Torsten

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...