Ejemplo n.º 1
0
                  <?php 
    if (ACCOUNT_COMPANY_VAT_CHECK == 'true') {
        ?>
                  <td class="dataTableHeadingContent hidden-xs hidden-sm" align="left"><?php 
        echo HEADING_TITLE_VAT;
        ?>
</td>
                  <?php 
    }
    ?>
                  <td class="dataTableHeadingContent hidden-xs hidden-sm" align="right"><?php 
    echo TABLE_COUPON_AMOUNT;
    ?>
</td>
                  <td class="dataTableHeadingContent hidden-xs hidden-sm" align="right"><?php 
    echo TABLE_HEADING_ACCOUNT_CREATED . xtc_sorting(FILENAME_CUSTOMERS, 'date_account_created');
    ?>
</td>
                  <td class="dataTableHeadingContent" align="right"><?php 
    echo TABLE_HEADING_ACTION;
    ?>
&nbsp;</td>
                </tr>
                <?php 
    $search = '';
    if (isset($_GET['search']) && xtc_not_null($_GET['search'])) {
        $keywords = xtc_db_input(xtc_db_prepare_input($_GET['search']));
        $search = "AND (c.customers_lastname LIKE '%" . $keywords . "%' \n                                  OR c.customers_firstname LIKE '%" . $keywords . "%' \n                                  OR c.customers_email_address LIKE '%" . $keywords . "%'\n\t\t\t\t\t\t\t\t  OR a.entry_company LIKE '%" . $keywords . "%'\n\t\t\t\t\t\t\t\t  OR c.customers_cid LIKE '%" . $keywords . "%'\n                                 )";
    }
    if (isset($_GET['status']) && ($_GET['status'] != '100' || $_GET['status'] == '0')) {
        $status = xtc_db_prepare_input($_GET['status']);
echo TABLE_HEADING_STATUS . xtc_sorting(FILENAME_CATEGORIES, 'status');
?>
               </td>
               <td class="dataTableHeadingContent hidden-xs" align="center" width="7%">
                  <?php 
echo TABLE_HEADING_STARTPAGE . xtc_sorting(FILENAME_CATEGORIES, 'startpage');
?>
               </td>
               <td class="dataTableHeadingContent hidden-xs" align="center" width="10%">
                  <?php 
echo TABLE_HEADING_PRICE . xtc_sorting(FILENAME_CATEGORIES, 'price');
?>
               </td>
               <td class="dataTableHeadingContent hidden-xs" align="center" width="12%">
                  <?php 
echo '%&nbsp;max' . xtc_sorting(FILENAME_CATEGORIES, 'discount');
?>
               </td>
               <td class="dataTableHeadingContent" width="10%" align="center">
                  <?php 
echo TABLE_HEADING_ACTION;
?>
               </td>
             </tr>
             <?php 
//multi-actions form STARTS
if (isset($_POST['multi_categories']) && xtc_not_null($_POST['multi_categories']) || isset($_POST['multi_products']) && xtc_not_null($_POST['multi_products'])) {
    $action_multi = "action=multi_action_confirm&" . xtc_get_all_get_params(array('cPath', 'action')) . (isset($_GET['cPath']) ? 'cPath=' . $cPath : '');
} else {
    $action_multi = "action=multi_action&" . xtc_get_all_get_params(array('cPath', 'action')) . (isset($_GET['cPath']) ? 'cPath=' . $cPath : '');
}