Skip to content

Commit

Permalink
Update admin_shop.php (#282)
Browse files Browse the repository at this point in the history
* Update admin_shop.php

https://otland.net/threads/znote-tfs1-2-shop-error.249779/

* Update admin_shop.php
  • Loading branch information
glombers authored and Znote committed Feb 25, 2017
1 parent b252bca commit 1ea4772
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin_shop.php
Expand Up @@ -5,7 +5,7 @@
admin_only($user_data);

$orders = mysql_select_multi('SELECT * FROM `znote_shop_orders` ORDER BY `id` DESC;');
$order_types = array(1 => 'Item', 2 => 'Premium Days', 3 => 'Gender Change', 4 => 'Name Change', 5 => 'Custom');
$order_types = array(1 => 'Item', 2 => 'Premium Days', 3 => 'Gender Change', 4 => 'Name Change', 5 => 'Outfits', 6 =>'Mounts');
$items = getItemList();
?>
<h1>Shop Logs</h1>
Expand Down Expand Up @@ -36,7 +36,7 @@
</table>

<?php
$orders = mysql_select_multi("SELECT `id`, `account_id`, `type`, `itemid`, `count`, `points`, `time` FROM `znote_shop_logs` ORDER BY `id` DESC;");
$order_types = array(1 => 'Item', 2 => 'Premium Days', 3 => 'Gender Change', 4 => 'Name Change', 5 => 'Outfit', 6 =>'Mount', 7 =>'Custom');

This comment has been minimized.

Copy link
@MatheusGrilo

MatheusGrilo Mar 2, 2017

Contributor

Is this line fine? $orders removed?

?>
<h2>Order History</h2>
<p>This list contains all transactions bought in the shop.</p>
Expand Down Expand Up @@ -66,4 +66,4 @@
</table>
<?php
include 'layout/overall/footer.php';
?>
?>

0 comments on commit 1ea4772

Please sign in to comment.