ZenCart_Documentation  1.5.0
http://www.collinsharper.com
C:/xampp/htdocs/zen-cart/admin/coupon_restrict.php File Reference

Go to the source code of this file.

Namespaces

namespace  admin

Variables

 $restrict_array = array()
 $restrict_array [] = array('id'=>'Deny', text=>'Deny')
 $the_path = $_POST['cPath']
if(isset($_GET['action'])&&$_GET['action']=='switch_status')
if($_GET['action']=='add_category'&&isset($_POST['cPath']))
if($_GET['action']=='add_product'&&$_POST['products_drop']) 
if ($_GET['action']=='remove')
 $cr_query_raw = "' and category_id != '0'"
 $cr_split = new splitPageResults($_GET['cpage'], MAX_DISPLAY_RESTRICT_ENTRIES, $cr_query_raw, $cr_query_numrows)
 $cr_list = $db->Execute($cr_query_raw)
 while (!$cr_list->EOF)
 $pr_query_raw = "' and product_id != '0'"
 $pr_split = new splitPageResults($_GET['ppage'], MAX_DISPLAY_RESTRICT_ENTRIES, $pr_query_raw, $pr_query_numrows)
 $pr_list = $db->Execute($pr_query_raw)
 $products
 $products_array = array()

Variable Documentation

$cr_list = $db->Execute($cr_query_raw)

Definition at line 185 of file coupon_restrict.php.

$cr_query_raw = "' and category_id != '0'"

Definition at line 183 of file coupon_restrict.php.

$cr_split = new splitPageResults($_GET['cpage'], MAX_DISPLAY_RESTRICT_ENTRIES, $cr_query_raw, $cr_query_numrows)

Definition at line 184 of file coupon_restrict.php.

$pr_list = $db->Execute($pr_query_raw)

Definition at line 279 of file coupon_restrict.php.

$pr_query_raw = "' and product_id != '0'"

Definition at line 277 of file coupon_restrict.php.

$pr_split = new splitPageResults($_GET['ppage'], MAX_DISPLAY_RESTRICT_ENTRIES, $pr_query_raw, $pr_query_numrows)

Definition at line 278 of file coupon_restrict.php.

$products
Initial value:
 $db->Execute("select p.products_id, pd.products_name from " .
      TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c
      where p.products_id = pd.products_id and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'
      and p.products_id = p2c.products_id and p2c.categories_id = '" . $_POST['cPath_prod'] . "'
      order by pd.products_name")

Definition at line 328 of file coupon_restrict.php.

$products_array = array()

Definition at line 333 of file coupon_restrict.php.

$restrict_array = array()

Definition at line 11 of file coupon_restrict.php.

$restrict_array[] = array('id'=>'Deny', text=>'Deny')

Definition at line 12 of file coupon_restrict.php.

$the_path = $_POST['cPath']

Definition at line 21 of file coupon_restrict.php.

if (isset($_GET['action'])&&$_GET['action']=='switch_status') if ($_GET['action']=='add_category'&&isset($_POST['cPath'])) if ($_GET['action']=='add_product'&&$_POST['products_drop']) if($_GET['action']=='remove')

Definition at line 114 of file coupon_restrict.php.

if (!$products->EOF) while(!$products->EOF)

Definition at line 186 of file coupon_restrict.php.

 All Data Structures Namespaces Files Functions Variables Enumerations