if (!empty($added_options)) { foreach ($added_options as $option) { $pid = $option['fldProductsOptionProductsId']; $category_id = $option['fldProductsOptionCategoryId']; $option_id = $option['fldProductsOptionMainId']; ProductsOption::addProductsOption($category_id, $option_id, $pid); } } } /*************************************************************************************************************************************** * END OF ALGORITHM FORM OPTIONS PANEL ***************************************************************************************************************************************/ $updates = 'Update products content'; AdminAction::addAdminAction($_SESSION['admin_name'], $updates); } $products = Products::findProducts($product_id); ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo $ROOT_URL; ?> _admin/_assets/css/core3.css" /> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo $ROOT_URL; ?> _admin/_assets/css/modules.css" /> <link rel="stylesheet" type="text/css" media="screen" href="<?php
} else { $page = $_GET[page]; } $pagination = new Pagination(); //for display $pg = $pagination->page_pagination(20, $count_record, $page, 20); //$result_prod = mysql_query($query_Recordset2.$pg[1]); $cart = Cart::displayAllByOrders($order_id); ?> <? if($count_record == 0) { ?> <tr> <td colspan="6" align="center" style="font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#F00; font-weight:bold">No Orders Found</td> </tr> <? } else { foreach($cart as $carts) { $products = Products::findProducts($carts->fldCartProductID); $total = $carts->fldCartQuantity * $carts->fldCartProductPrice; $grandtotal = $grandtotal + $total; ?> <tr> <td style="padding:5px 5px"><img src="<?php echo $ROOT_URL; ?> products_image/<?php echo $products->fldProductsImage; ?> " width="75"></td> <td style="padding:5px 5px"><?php echo $carts->fldCartProductName; ?>
<body> <? if(isset($success)) { ?> <div class="alert"> <?php echo $success; ?> </div> <? } ?> <div id="store_overview"> <ul class="btn"> <li><a href="<?php echo $ROOT_URL; ?> _admin/modules_specials/view/">Back</a></li> </ul> </div> <? $products = Products::findProducts($_REQUEST['id']); ?> <form id="store_page" action="<? $PHP_SELF; ?>" method="post" enctype="multipart/form-data"> <h3>ACM Simple E-Cart (Products)</h3> <fieldset style="width:1065px;"> <legend>Special Products Panel</legend> <ul> <li> <label for="title">Product Name</label> <input type="text" id="title" name="name" value="<?php echo stripslashes($products->fldProductsName); ?> "> </li> <li>