</ul> </div> </div> </li> <?php } ?> <li> <?php $superProductsUser = getsuperProducts($c_id); if(count($superProductsUser)>0) { ?> <table width="100%"> <tbody><tr style="background-color: #F9F2DE;border-bottom: 1px solid #FF7E00;"> <td style="width:70px"></td> <td style="padding:8px;font-weight:bold;width:160px;text-align: center;">Product</td> <td style="padding:8px;font-weight:bold;width:30px;text-align: center;">Price</td> <td style="padding:8px;font-weight:bold;width:40px;padding-right:14px;">Quantity</td> <td style="padding:8px;font-weight:bold;width:50px;text-align: center;padding-right:1px;">Sub Total</td> <td style="padding:8px;font-weight:bold;width:75px;text-align: center;padding-right:1px;"></td> </tr>
</tbody></table> <?php } ?> </li> </ul> </div> </div> </li> <?php } ?> <li> <?php $product_id = getProductId($id); $superProductsUser = getsuperProducts($c_id,$product_id['sp_product_id']); if(count($superProductsUser)>0) { ?> <table width="100%"> <tbody> <tr style="background-color: #F9F2DE;border-bottom: 1px solid #FF7E00;color:#fff;"> <td align="center" height="30" valign="middle" bgcolor="#f68210" class="brdr pad_lft">Product Name</td> <td align="center" valign="middle" bgcolor="#f68210" class="brdr pad_lft">List Price</td> <td align="center" valign="middle" bgcolor="#f68210" class="brdr pad_lft">Discount(%)</td> <td align="center" valign="middle" bgcolor="#f68210" class="brdr pad_lft">Selling Price</td> <td align="center" valign="middle" width="80" bgcolor="#f68210" class="brdr">Action</td> </tr> <?php foreach ($superProductsUser as $Product) { $special_price=in_array($Product['id'],$sprice_product) ? $sprice_dprice[$Product['id']][0] : $Product['list_price']; $price_product=in_array($Product['id'],$sprice_product) ? $sprice_dprice[$Product['id']][2] : $Product['list_price']; $discount = in_array($Product['id'],$sprice_product) ? $sprice_dprice[$Product['id']][1] : "0.00";