mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 18:59:21 +02:00
Update admin_shop.php (#282)
* Update admin_shop.php https://otland.net/threads/znote-tfs1-2-shop-error.249779/ * Update admin_shop.php
This commit is contained in:
parent
b252bca43a
commit
1ea47721f4
@ -5,7 +5,7 @@ protect_page();
|
||||
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>
|
||||
@ -36,7 +36,7 @@ $items = getItemList();
|
||||
</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');
|
||||
?>
|
||||
<h2>Order History</h2>
|
||||
<p>This list contains all transactions bought in the shop.</p>
|
||||
@ -66,4 +66,4 @@ $orders = mysql_select_multi("SELECT `id`, `account_id`, `type`, `itemid`, `coun
|
||||
</table>
|
||||
<?php
|
||||
include 'layout/overall/footer.php';
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user