Файловый менеджер - Редактировать - /home2/cocinasdalloway/public_html/promociones/205689/List.php.tar
Назад
home2/cocinasdalloway/public_html/grupodly.com/views/Carrito/List.php 0000644 00000012210 15014577500 0022042 0 ustar 00 <!-- Alert--> <div id="alert-list-cart"></div> <!-- Shopping Cart--> <div class="table-responsive shopping-cart"> <table class="table"> <thead> <tr> <th>Descripción</th> <th class="text-center">Cantidad</th> <th class="text-center">Subtotal</th> <th class="text-center"><a class="btn btn-sm btn-outline-danger" href="#">Quitar</a></th> </tr> </thead> <tbody> <?php @session_start(); if (isset($_SESSION['Ecommerce-PedidoKey'])) { if (!class_exists('DetalleController')) { include $_SERVER['DOCUMENT_ROOT'].'/models/Pedido/Detalle.Controller.php'; } $DetalleController = new DetalleController(); $ResultDetalleController = (object)$DetalleController->getDetallePedido(false); // print_r($ResultDetalleController); if ($ResultDetalleController->count > 0) { foreach ($ResultDetalleController->records as $key => $row){ $Imgpath = '../../public/img/Productos/'.$row->ProductoImg.'.jpg'; $Img = file_exists($Imgpath) ? $Imgpath : $_SESSION['Ecommerce-ImgNotFound']; ?> <tr> <td> <div class="product-item"> <a class="product-thumb" href="../Productos/index.php?codigo=<?php echo $row->ProductoCodigo ?>"> <img src="<?php echo $Img ?>" alt="<?php echo $row->ProductoDescripcion; ?>" width="100" height="50"> </a> <div class="product-info"> <h4 class="product-title"> <a href="../Productos/index.php?codigo=<?php echo $row->ProductoCodigo ?>"><?php echo $row->ProductoDescripcion; ?></a> <!-- </h4><span><em>Size:</em> 10.5</span><span><em>Color:</em> Dark Blue</span> --> </div> </div> </td> <td class="text-center"><?php echo $row->DetalleCantidad; ?></td> <td class="text-center text-lg text-medium">$<?php echo number_format($row->DetalleSubtotal); ?></td> <td class="text-center"> <a class="remove-from-cart" data-toggle="tooltip" title="Eliminar articulo" productokey="<?php echo $row->ProductoKey ?>" onclick="deleteProductoCarrito(this)"><i class="icon-cross"></i></a> </td> </tr> <?php } }else{ ?> <td colspan="5"> <div class="alert alert-danger alert-dismissible fade show text-center" style="margin-bottom: 30px;"> <span class="alert-close" data-dismiss="alert"></span> ¡Error al procesar la información acerca del pedido. Favor de recargar, si el problema persiste por favor contactanos! </div> </td> <?php } }else{ ?> <td colspan="5"> <div class="alert alert-danger alert-dismissible fade show text-center" style="margin-bottom: 30px;"> <span class="alert-close" data-dismiss="alert"></span> ¡Aún no hay productos en el carrito! </div> </td> <?php } ?> </tbody> </table> </div> <div class="shopping-cart-footer"> <!-- <div class="column"> <form class="coupon-form" method="post"> <input class="form-control form-control-sm" type="text" placeholder="Coupon code" required> <button class="btn btn-outline-primary btn-sm" type="submit">Apply Coupon</button> </form> </div> --> <?php if (isset($_SESSION['Ecommerce-PedidoKey'])) { $obj = $ResultDetalleController->records[0]; $_SESSION['Ecommerce-PedidoTotal'] = $obj->PedidoTotal > 0 ? $obj->PedidoTotal : 0; ?> <div class="column text-lg"> Subtotal: <span class="text-medium">$<?php echo $obj->PedidoSubtotal; ?></span><br> Iva: <span class="text-medium">$<?php echo $obj->PedidoIva; ?></span><br> Total: <span class="text-medium">$<?php echo $obj->PedidoTotal; ?></span> </div> <?php }else{ ?> <div class="column text-lg"> Subtotal: <span class="text-medium">0</span><br> Iva: <span class="text-medium">0</span><br> Total: <span class="text-medium">0</span> </div> <?php } ?> </div> <div class="shopping-cart-footer"> <!-- <div class="column"><a class="btn btn-outline-secondary" href="shop-grid-ls.html"><i class="icon-arrow-left"></i> Back to Shopping</a></div> --> <div class="column"><!-- <a class="btn btn-primary" href="#">Update Cart</a> --><a class="btn btn-success" href="../Checkout/">Terminar</a></div> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.2.22 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка