public static function getDelivery() { $data = Orders::getOrderById(Funcs::$uri[3]); if ($data['address']['city'] == 'Москва') { $data['data']['courier']['cost'] = Delivery::getMoscowPrice(); } elseif ($data['address']['region'] == '42') { $data['data']['couriermo']['cost'] = Delivery::getMOPrice(); } else { $data['data']['multiship'] = Delivery::getMultishipPrice('admin', Funcs::$uri[3]); } //$data['data']['pickpoint']=Delivery::getPickPointPrice('admin',Funcs::$uri[3]); //$data['data']['pickpoint']['list']=Delivery::getPickPointList('admin',Funcs::$uri[3]); print View::getPluginEmpty('delivery/delivery', $data); }
public static function files_new($dealer, $filename) { $dealer = DealersMain::getOne($dealer); self::send($dealer['emailreport'], 'Новый файл сайте www.' . self::site(), View::getPluginEmpty('email/files_new', array('dealer' => $dealer, 'file' => $filename))); }
<div class="ltCell cell_page-content sizeParent"> <div class="ltContainer ltFullWidth sizeChild"> <div class="ltRow"> <div class="ltCell cell_page-content_header"> <h1 class="cell_page-content_header_text"> Управление промо-кодами </h1> </div> </div> <div class="ltRow"> <?php echo View::getPluginEmpty('menu'); ?> </div> <div class="ltRow jsScrollContainer"> <div class="jsScrollWrapper"> <div class="jsScroll whiteOverflow sections_container"> <table class="sections_table jsMoveContainerTR" tab="<?php echo Funcs::$uri[1]; ?> " page="<?php echo $_GET['p']; ?> "> <tr class="sections_table_caption_row jsMoveFixed"> <th class="sections_table_cell"> <div class="sections_table_caption-holder jsFixedY"> <span class="sections_table_caption">Дата</span> </div> </th> <th class="sections_table_cell">
public function orderhistory() { $list = DealersOrders::getHistory($_GET['id']); echo View::getPluginEmpty('orders/history', array('list' => $list)); }
public static function getPayment() { $model = new Orders(); $data = $model->getOrderById(Funcs::$uri[3]); print View::getPluginEmpty('payment', $data); }
</div> <div class="link_step_back_holder"> <a class="link_step_back" href="/<?php echo Funcs::$cdir; ?> /<?php echo Funcs::$uri[1]; ?> /?id=<?php echo $dealer['id']; ?> "></a> </div> </div> <?php echo View::getPluginEmpty('orders/menu', array('statuses' => $statuses, 'dealer' => $dealer, 'dealers_list' => $dealers_list, 'city_list' => $city_list)); ?> <div class="ltRow jsScrollContainer"> <div class="jsScrollWrapper"> <div class="jsScroll whiteOverflow sections_container"> <table class="sections_table sections_table_zebra"> <tr class="sections_table_caption_row"> <th class="sections_table_cell"> <div class="sections_table_caption-holder jsFixedY"> <span class="sections_table_caption">Дата <span class="icon_sort_down"></span></span> <span class="sections_table_caption jsIcon"><span class="icon_sort"></span></span> </div> </th> <th class="sections_table_cell"> <div class="sections_table_caption-holder jsFixedY"> <span class="sections_table_caption">Номер</span>
?> $</td> </tr> <?php } ?> </table> </li></ul> <?php } else { ?> <?php if (isset($item['sub']) && !$item['model']) { ?> <?php echo View::getPluginEmpty('orders/editbranch', array('catalog' => $item['sub'], 'goods' => $goods, 'depth' => $depth + 1)); ?> <?php } ?> <?php } ?> </li> <?php /* <ul class="neworder_list"> <li class="neworder_header"> <span class="neworder_header_text" style="margin-left: 0">Men's Jackets (3)</span> </li>
<div class="ltCell cell_page-content sizeParent"> <?php echo View::getPluginEmpty('header'); ?> <script type='text/javascript' src='/<?php echo Funcs::$cdir; ?> /js/basket.js'></script> <div class="ltContainer ltFullWidth sizeChild"> <div class="ltRow jsScrollContainer"> <div class="link_step_back_holder"> <a class="link_step_back" href="/<?php echo Funcs::$cdir; ?> /<?php echo Funcs::$uri[1]; ?> /"></a> </div> <div class="jsScrollWrapper"> <div class="jsScroll whiteOverflow edit_container"> <div class="ltRow"> <div class="ltCell cell_page-content_header"> <h1 class="cell_page-content_header_text"><?php echo $title; ?> </h1> </div> </div> <div class="gray_line_top"> <a style="float: left;margin-right: 10px;" href="<?php
<div class="ltCell cell_page-content sizeParent"> <div class="ltContainer ltFullWidth sizeChild"> <div class="ltRow"> <div class="ltCell cell_page-content_header"> <h1 class="cell_page-content_header_text"> Управление карточками грузополучателя дилера <?php echo $dealer['company']; ?> </h1> </div> </div> <div class="ltRow"> <?php echo View::getPluginEmpty('consignee/menu', array('dealer' => $dealer['id'])); ?> </div> <div class="ltRow jsScrollContainer"> <div class="link_step_back_holder"> <a class="link_step_back" href="/<?php echo Funcs::$cdir; ?> /<?php echo Funcs::$uri[1]; ?> /"></a> </div> <div class="jsScrollWrapper"> <div class="jsScroll whiteOverflow sections_container"> <table class="sections_table jsMoveContainerTR" tab="<?php echo Funcs::$uri[1]; ?>
<style> .order_table { width:100%; } .plugin_dealers_orders_head td{ padding: !important 2px; } </style> <!-- СПИСОК ТОВАРОВ --> <ul class="neworder_list"> <li class="neworder_item"> <div class="neworder_header neworder_header_opened"> <span class="neworder_header_text" style="margin-left: 0">Каталог</span> </div> <?php echo View::getPluginEmpty('orders/editbranch', array('catalog' => $catalog, 'goods' => $goods, 'depth' => 0)); ?> </li> </ul> <ul class="neworder_list"> <li class="neworder_item"> Общая сумма клиента: <?php echo $order['price']; ?> $ </li> <li class="neworder_item"> Общая сумма клиента (1$=<?php echo Funcs::$conf['currency']['USD']; ?> руб.): <?php
function actselectuser() { Orders::setOrderUser($_GET['ordrerid'], $_GET['iuserid']); print View::getPluginEmpty('popup/close'); }
public function getdeliveryb2c() { if ($_GET['act'] == '') { print View::getPluginEmpty('delivery/deliveryB2Cpopup'); } elseif ($_GET['act'] == 'send') { $data = Delivery::getB2Cupload(); print View::getPluginEmpty('delivery/deliveryB2Cpopup', array('postal' => $data)); } }
<div class="ltCell cell_page-content sizeParent"> <div class="ltContainer ltFullWidth sizeChild"> <div class="ltRow"> <div class="ltCell cell_page-content_header"> <h1 class="cell_page-content_header_text"> Управление магазинами дилера <?php echo $dealer['company']; ?> </h1> </div> </div> <div class="ltRow"> <?php echo View::getPluginEmpty('address/menu', array('dealer' => $dealer['id'])); ?> </div> <div class="ltRow jsScrollContainer"> <div class="link_step_back_holder"> <a class="link_step_back" href="/<?php echo Funcs::$cdir; ?> /<?php echo Funcs::$uri[1]; ?> /"></a> </div> <div class="jsScrollWrapper"> <div class="jsScroll whiteOverflow sections_container"> <table class="sections_table jsMoveContainerTR" tab="<?php echo Funcs::$uri[1]; ?>