1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
<div style="width: 100%; padding-left: 10px;font-size: 15px;">
<?=lang("Language")?>: <select name="wlangcode" onchange="location.href='index.php?wlangcode='+this.value"> <?php foreach ($arraylangcode as $langcode => $langname) { echo '<option value="'.$langcode.'" '.($_SESSION["wlangcode"]==$langcode?"selected":"").'>'.$langname.'</option>'; } ?> </select>
<p><?=lang("Login as").": <b>".$_SESSION["cmsusername"]."</b>"?></p> <p style="padding-left: 0px; color: #04244B; font-weight: bold; text-decoration: underline;"><?php if($_SESSION["role"] == "user") echo lang("Role: Supplier"); else echo lang("Role: Platform"); ?>11</p> </div> <div class="arrowlistmenu" style="margin-bottom: 150px; margin-top: 10px;">
<?php if($_SESSION["role"] == "super_admin" || $_SESSION["role"] == "admin"){ ?> <div class="menuheader expandable"><?=lang("Site info")?></div> <ul class="categoryitems"> <li><a href="site_info_modifyform.php"><?=lang("Edit Site info")?></a></li> </ul> <?php } ?>
<?php if($_SESSION["role"] == "super_admin" || $_SESSION["role"] == "admin"){ ?> <div class="menuheader expandable"><?=lang("Pop Up")?></div> <ul class="categoryitems"> <li><a href="popup_modifyform.php?popup_id=1"><?=lang("Edit Pop Up")?></a></li> </ul> <?php } ?>
<?php if($_SESSION["role"] == "super_admin" || $_SESSION["role"] == "admin"){ ?> <div class="menuheader expandable"><?=lang("Head Promotion")?></div> <ul class="categoryitems"> <li><a href="head_promotion_index.php"><?=lang("Edit Head Promotion")?></a></li> </ul> <?php } ?>
<?php if($_SESSION["role"] == "super_admin" || $_SESSION["role"] == "admin"){ ?> <div class="menuheader expandable"><?=lang("Slide Show")?></div> <ul class="categoryitems"> <li><a href="slideshow_index.php?slidetype=1"><?=lang("Edit Slide Show (Main)")?></a></li> <li><a href="slideshow_index.php?slidetype=2"><?=lang("Edit Slide Show (New Arrival)")?></a></li> </ul> <?php } ?>
<?php if($_SESSION["role"] == "super_admin" || $_SESSION["role"] == "admin"){ ?> <div class="menuheader expandable"><?=lang("What's Hot")?></div> <ul class="categoryitems"> <li><a href="whatshot_index.php"><?=lang("Edit What’s Hot")?></a></li> </ul> <?php } ?>
<?php if($_SESSION["role"] == "super_admin" || $_SESSION["role"] == "admin"){ ?> <div class="menuheader expandable"><?=lang("Delivery")?></div> <ul class="categoryitems"> <li><a href="shipping_fee_index.php"><?=lang("Edit Shipping Fee")?></a></li> </ul> <?php } ?>
<div class="menuheader expandable"><?=lang("Customer")?></div> <ul class="categoryitems"> <li><a href="customer_index.php"><?=lang("View Customer")?></a></li> <li><a href="vip_grade_index.php"><?=lang("Edit VIP Grade")?></a></li> </ul>
<div class="menuheader expandable"><?=lang("Order")?></div> <ul class="categoryitems"> <?php if($_SESSION["role"] == "super_admin" || $_SESSION["role"] == "admin"){ ?> <li><a href="order_index.php"><?=lang("View Order")?></a></li> <?php } ?> <li><a href="supplier_order_index.php"><?=lang("View Supplier Order")?></a></li> <li><a href="supplier_shipment_index.php"><?=lang("Edit Supplier Shipment")?></a></li> <li><a href="refund_index.php"><?=lang("Edit Refund")?></a></li> </ul>
<?php if($_SESSION["role"] == "super_admin" || $_SESSION["role"] == "admin"){ ?> <div class="menuheader expandable"><?=lang("Supplier")?></div> <ul class="categoryitems"> <li><a href="supplier_index.php"><?=lang("Edit Supplier")?></a></li> <li><a href="inventory_txn_index.php"><?=lang("View Inventory Movement")?></a></li> </ul> <?php } ?>
<div class="menuheader expandable"><?=lang("Brand")?></div> <ul class="categoryitems"> <li><a href="brand_index.php"><?=lang("Edit Brand")?></a></li> </ul>
<div class="menuheader expandable"><?=lang("Report")?></div> <ul class="categoryitems"> <li><a href="report_productordered_index.php"><?=lang("Product Ordered")?></a></li> <li><a href="report_productincarts_index.php"><?=lang("Product in Carts")?></a></li> </ul>
<div class="menuheader expandable"><?=lang("Product")?></div> <ul class="categoryitems"> <?php if($_SESSION["role"] == "super_admin" || $_SESSION["role"] == "admin"){ ?> <li><a href="product_category_index.php"><?=lang("Edit Product Category")?></a></li> <?php } ?> <li><a href="product_detail_index.php?category_id=0"><?=lang("Edit Product Detail")?></a></li> </ul>
<?php if($_SESSION["role"] == "super_admin" || $_SESSION["role"] == "admin"){ ?> <div class="menuheader expandable"><?=lang("Flag")?></div> <ul class="categoryitems"> <li><a href="flag_index.php"><?=lang("Edit Flag")?></a></li> </ul> <?php } ?>
<div class="menuheader expandable"><?=lang("Discount")?></div> <ul class="categoryitems"> <li><a href="product_group_index.php"><?=lang("Edit Product Group")?></a></li> <li><a href="discount_index.php"><?=lang("Edit Discount")?></a></li> <li><a href="coupon_master_index.php"><?=lang("Edit Coupon")?></a></li> <li><a href="redeem_cash_rule_index.php"><?=lang("Edit Redeem Cash Rule")?></a></li> </ul>
<?php if($_SESSION["role"] == "super_admin" || $_SESSION["role"] == "admin"){ ?> <div class="menuheader expandable"><?=lang("Static Content")?></div> <ul class="categoryitems"> <li><a href="otherspage_index.php?page_category=1"><?=lang("Edit Delivery")?></a></li> <li><a href="otherspage_index.php?page_category=2"><?=lang("Edit Warranty")?></a></li> <li><a href="contact_us_index.php?contact_id=1"><?=lang("Edit Contact Us")?></a></li> <li><a href="contact_us_index.php?contact_id=2"><?=lang("Edit Google Map")?></a></li> <li><a href="faq_index.php?faq_type=1"><?=lang("Edit FAQ")?></a></li> <li><a href="otherspage_index.php?page_category=4"><?=lang("Edit About Us")?></a></li> <li><a href="otherspage_index.php?page_category=5"><?=lang("Edit Privacy & Cookies")?></a></li> <li><a href="otherspage_index.php?page_category=6"><?=lang("Edit Terms & Conditions")?></a></li> <li><a href="otherspage_index.php?page_category=7"><?=lang("Edit Refund / Exchange Terms and Conditions")?></a></li>
</ul> <?php } ?>
<?php if($_SESSION["role"] == "super_admin" || $_SESSION["role"] == "admin"){ ?> <div class="menuheader expandable"><?=lang("CMS Management")?></div> <ul class="categoryitems"> <li><a href="sys_cms_user_index.php"><?=lang("Edit CMS User Management")?></a></li> </ul> <?php } ?>
<div class="menuheader expandable"><?=lang("Logout")?></div> <ul class="categoryitems"> <li><a href="logout.php"><?=lang("Logout")?></a></li> </ul>
<?php if($_SESSION["role"] == "super_admin" || $_SESSION["role"] == "admin"){ ?> <div class="menuheader expandable"><?=lang("PayEase Logs (Temp)")?></div> <ul class="categoryitems"> <li><a href="payease_payment_index.php"><?=lang("Payments")?></a></li> </ul> <?php } ?> </div>
|