Annotation of /com_supacart/trunk/admin_files/html/shop.manufacturer_page.php
Parent Directory
|
Revision Log
Revision 4 - (view) (download)
| 1 : | andphe | 4 | <?php |
| 2 : | defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); | ||
| 3 : | /** | ||
| 4 : | * | ||
| 5 : | * @version $Id: shop.manufacturer_page.php 617 2007-01-04 19:43:08Z soeren_nb $ | ||
| 6 : | * @package SupaCart | ||
| 7 : | * @subpackage html | ||
| 8 : | * See COPYRIGHT.php for copyright notices and details. | ||
| 9 : | * @license GNU/GPL Version 2, see LICENSE.php | ||
| 10 : | * SupaCart is free software, originally derived from Virtuemart. This version may have been modified pursuant | ||
| 11 : | * to the GNU General Public License, and as distributed it includes or | ||
| 12 : | * is derivative of works licensed under the GNU General Public License or | ||
| 13 : | * other free or open source software licenses. | ||
| 14 : | * See /administrator/components/com_supacart/COPYRIGHT.php for copyright notices and details. | ||
| 15 : | * | ||
| 16 : | * http://www.supacart.com | ||
| 17 : | */ | ||
| 18 : | mm_showMyFileName( __FILE__ ); | ||
| 19 : | |||
| 20 : | $manufacturer_id = intval( mosGetParam( $_GET, 'manufacturer_id' )); | ||
| 21 : | |||
| 22 : | if( !empty( $manufacturer_id ) ) { | ||
| 23 : | $q = "SELECT manufacturer_id, mf_name,mf_email,mf_desc,mf_url FROM #__{sc}_manufacturer WHERE "; | ||
| 24 : | $q .= "manufacturer_id=$manufacturer_id"; | ||
| 25 : | $db->query($q); | ||
| 26 : | $db->next_record(); | ||
| 27 : | |||
| 28 : | $mf_name=$db->f("mf_name"); | ||
| 29 : | $mf_email=$db->f("mf_email"); | ||
| 30 : | $mf_desc=$db->f("mf_desc"); | ||
| 31 : | $mf_url = $db->f("mf_url"); | ||
| 32 : | |||
| 33 : | ?><h3><?php echo $mf_name;?></h3> | ||
| 34 : | |||
| 35 : | <table align="center"cellspacing="0" cellpadding="0" border="0"> | ||
| 36 : | <tr valign="top"> | ||
| 37 : | <th colspan="2" align="center"class="sectiontableheader"> | ||
| 38 : | <strong><?php echo $VM_LANG->_PHPSHOP_MANUFACTURER_FORM_INFO_LBL ?></strong> | ||
| 39 : | </th> | ||
| 40 : | </tr> | ||
| 41 : | <tr valign="top"> | ||
| 42 : | <td align="center"colspan="2"><br /> | ||
| 43 : | <?php echo " " . $mf_name . "<br />"; ?> | ||
| 44 : | <br /><br /> | ||
| 45 : | </td> | ||
| 46 : | </tr> | ||
| 47 : | |||
| 48 : | <tr> | ||
| 49 : | <td valign="top" align="center"colspan="2"> | ||
| 50 : | <br /><?php echo $VM_LANG->_PHPSHOP_STORE_FORM_EMAIL ?>: | ||
| 51 : | <a href="mailto:<?php echo $mf_email; ?>"><?php echo $mf_email; ?></a> | ||
| 52 : | <br /> | ||
| 53 : | <br /><a href="<?php echo $mf_url ?>" target="_blank"><?php echo $mf_url ?></a><br /> | ||
| 54 : | </td> | ||
| 55 : | </tr> | ||
| 56 : | <tr> | ||
| 57 : | <td valign="top" align="left" colspan="2"> | ||
| 58 : | <br /><?php echo $mf_desc ?><br /> | ||
| 59 : | </td> | ||
| 60 : | </tr> | ||
| 61 : | |||
| 62 : | </table> | ||
| 63 : | <?php | ||
| 64 : | } | ||
| 65 : | ?> |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

