<?php include './config.php'; $sort_date = $_REQUEST['sort'] == 'a' ? 'd' : 'a'; $sort_date_img = $_REQUEST['sort'] == 'a' ? 'down' : 'up'; $sort_jrn = $_REQUEST['sort'] == 'jna' ? 'jnd' : 'jna'; $sort_jrn_img = $_REQUEST['sort'] == 'jna' ? 'down' : 'up'; $sort_prc = $_REQUEST['sort'] == 'pa' ? 'pd' : 'pa'; $sort_prc_img = $_REQUEST['sort'] == 'pa' ? 'down' : 'up'; $Orders = getOrdersAll($_REQUEST['sort']); if ($_GET['tax_status']) { $tax_id = $_GET['tax_status']; $sql = "UPDATE sohorepro_product_master SET tax_status = '0' WHERE order_id = " . $tax_id . " "; $sql_result = mysql_query($sql); if ($sql_result) { $result = "success_tax"; } else { $result = "failure_tax"; } } ?> <!doctype html> <html> <head> <meta charset="utf-8"> <title>Soho-repro</title> <link href="style/style.css" rel="stylesheet" type="text/css" media="all" /> <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/jquery-1.10.1.min.js"></script>
$sort_prc = $_REQUEST['sort'] == 'pa' ? 'pd' : 'pa'; $sort_prc_img = $_REQUEST['sort'] == 'pa' ? 'down' : 'up'; $page = 1; //Default page $limit = 25; //Records per page $start = 0; //starts displaying records from 0 if (isset($_GET['page']) && $_GET['page'] != '') { $page = $_GET['page']; } $start = ($page - 1) * $limit; if ($_GET['limite']) { $limit = $_GET['limite']; } $Orders = getOrdersAll($_REQUEST['sort'], $start, $limit); $rows = count(OrdersCount()); if ($_GET['tax_status']) { $tax_id = $_GET['tax_status']; $sql = "UPDATE sohorepro_product_master SET tax_status = '0' WHERE order_id = " . $tax_id . " "; $sql_result = mysql_query($sql); if ($sql_result) { $result = "success_tax"; } else { $result = "failure_tax"; } } ?> <?php include './mpdf/mpdf.php';