Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for Zend Encoder/SafeGuard & PhpExpress)
- *
- * @ Version : 1.1.5.0
- * @ Author : DeZender
- * @ Release on : 09.06.2012
- * @ Official site : http://DeZender.Net
- *
- */
- function MyBrand() {
- global $page_member_id;
- global $tablepre;
- global $db;
- $mm_brand = array( );
- $q = $db->query( 'SELECT id,brandname FROM `' . $tablepre . 'brand_table` WHERE isCheck=\'1\' OR supplier_id=\'' . $page_member_id . '\' ORDER BY `id` DESC' );
- while ($rt = $db->fetch_array( $q )) {
- $mm_brand[0] = '--';
- $mm_brand[$rt['id']] = $rt['brandname'];
- }
- return $mm_brand;
- }
- define( 'MVMMALL_SCR', 'index' );
- require_once( 'include/common.inc.php' );
- require_once( MVMMALL_ROOT . 'header.php' );
- if (in_array( $action, array( 'list', 'uplist', 'downlist' ) )) {
- require_once( MVMMALL_ROOT . './include/pager.class.php' );
- $search_sql = 'WHERE `supplier_id`=\'' . $page_member_id . '\' ';
- if ($action == 'uplist') {
- $search_sql .= ' AND upv=\'1\'';
- }
- ....................................................................
- ................................
- .......
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement