View of /com_supacart/trunk/admin_files/html/shop.manufacturer_page.php
Parent Directory
|
Revision Log
Revision 4 -
(download)
(annotate)
Tue Aug 4 12:46:30 2009 UTC (3 years, 9 months ago) by andphe
File size: 2210 byte(s)
Tue Aug 4 12:46:30 2009 UTC (3 years, 9 months ago) by andphe
File size: 2210 byte(s)
+ adding first set of files for version control
<?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); /** * * @version $Id: shop.manufacturer_page.php 617 2007-01-04 19:43:08Z soeren_nb $ * @package SupaCart * @subpackage html * See COPYRIGHT.php for copyright notices and details. * @license GNU/GPL Version 2, see LICENSE.php * SupaCart is free software, originally derived from Virtuemart. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See /administrator/components/com_supacart/COPYRIGHT.php for copyright notices and details. * * http://www.supacart.com */ mm_showMyFileName( __FILE__ ); $manufacturer_id = intval( mosGetParam( $_GET, 'manufacturer_id' )); if( !empty( $manufacturer_id ) ) { $q = "SELECT manufacturer_id, mf_name,mf_email,mf_desc,mf_url FROM #__{sc}_manufacturer WHERE "; $q .= "manufacturer_id=$manufacturer_id"; $db->query($q); $db->next_record(); $mf_name=$db->f("mf_name"); $mf_email=$db->f("mf_email"); $mf_desc=$db->f("mf_desc"); $mf_url = $db->f("mf_url"); ?><h3><?php echo $mf_name;?></h3> <table align="center"cellspacing="0" cellpadding="0" border="0"> <tr valign="top"> <th colspan="2" align="center"class="sectiontableheader"> <strong><?php echo $VM_LANG->_PHPSHOP_MANUFACTURER_FORM_INFO_LBL ?></strong> </th> </tr> <tr valign="top"> <td align="center"colspan="2"><br /> <?php echo " " . $mf_name . "<br />"; ?> <br /><br /> </td> </tr> <tr> <td valign="top" align="center"colspan="2"> <br /><?php echo $VM_LANG->_PHPSHOP_STORE_FORM_EMAIL ?>: <a href="mailto:<?php echo $mf_email; ?>"><?php echo $mf_email; ?></a> <br /> <br /><a href="<?php echo $mf_url ?>" target="_blank"><?php echo $mf_url ?></a><br /> </td> </tr> <tr> <td valign="top" align="left" colspan="2"> <br /><?php echo $mf_desc ?><br /> </td> </tr> </table> <?php } ?>
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

