DivaVocals/zen_SuperOrders — pull request #1 by retched (2014-07-21 22:58:15+00:00)
Title: Full changes made

Essentially these changes are three fold.

1) All `mysql_` functions are replaced with `mysqli_` functions with a twist. Since many people still use 1.3.9 (for some reason), I went ahead and made changes so that SO picks up whether it is running on a `mysql_` dependent ZenCart or a `mysqli_` dependent one. If SO sees that it is running on 1.5.3 (which is `mysqli_` dependent) any function such as `mysql_insert_id()` will be replaced with `mysqli_insert_id($db->link)` instead. I'm not entirely sure about my changes to `1_Base_Files/YOUR_ADMIN/includes/init_includes/init_so_config.php`. So this could be left out. I have no easy way to test this.

2) There is a fix for the pages which uses check all buttons. Instead of calling for the page to be refreshed and have all checkboxes, instead a `

` was created around the area of those boxes (might not be the **_best valid_** HTML but it works functionally.)

3) Made changes to some of the display pages such as `YOUR_ADMIN\super_data_sheet.php` and `YOUR_ADMIN\orders.php` instead of using a new MySQL(i) query link or whatever (mostly for currency codes and currency values), this will use the same `$db(->link)` that is being used by Super Orders throughout instead and retrieve the values.

With the exception of the change to `1_Base_Files/YOUR_ADMIN/includes/init_includes/init_so_config.php`, there shouldn't be any problems. If there are please let me know.