0byt3m1n1 - D7net
0byt3m1n1 - D7net
Path:
/
home
/
s13cf5ef
/
www
/
camisetaseconomicas.com.es
/
includes
/
boxes
/
[
Home
]
Name File: manbox.php
< back
<?php /* $Id: manbox.php,v 1.19 2003/06/09 22:17:13 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License Module created by Sergyo(SL-Lab.ru) */ ?> <tr align=center> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => 'Enlaces'); new infoBoxHeading($info_box_contents, true, false); $info_box_contents = array(); $fullstring = '<table width=100% border=0 cellpadding=0 cellspacing=3>'; $row=0; $manufacturers_query = tep_db_query("select manufacturers_url, manufacturers_name, manufacturers.manufacturers_id, manufacturers_image, manufacturers_htc_title_tag from " . TABLE_MANUFACTURERS . " inner join manufacturers_info on manufacturers_info.manufacturers_id = manufacturers.manufacturers_id where manufacturers_htc_title_tag IS NOT NULL order by manufacturers_name" ); if (tep_db_num_rows($manufacturers_query) >= '1') { while ($manufacturers = tep_db_fetch_array($manufacturers_query)) { $row++; $fullstring .= '<tr><td align=center valign=middle class=smallText>'; $fullstring .= '<a target="_blank" href='.$manufacturers['manufacturers_url'].'>'; if ($manufacturers['manufacturers_image']) { $fullstring .= '<img src='. DIR_WS_IMAGES . $manufacturers['manufacturers_image'] . ' width=130 height=130 border=0> '; } else { $fullstring .= '<a target="_blank" href='.$manufacturers['manufacturers_url'].'>'. $manufacturers['manufacturers_name']; } $fullstring .= '</a>'; $fullstring .= '</td><tr>'; if ((($row / 2) == (double)floor($row / 2))) { $fullstring .=''; } } } $fullstring .= '</td></tr></table>'; $info_box_contents = array(); $info_box_contents[] = array('text' => $fullstring); //echo $fullstring; new infoBox($info_box_contents); ?> </td> </tr>
©
2018. | Recode by D7net