-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStoreSetting.php
More file actions
73 lines (62 loc) · 1.43 KB
/
Copy pathStoreSetting.php
File metadata and controls
73 lines (62 loc) · 1.43 KB
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
<?php
require_once("session.php");
$session=new session();
if(!$SerialNumbers=$session->get_value("SerialNumbers"))
{
echo "******************取得SerialNumbers失敗******************";
exit();
}
if(!$StoreType=$session->get_value("StoreType"))
{
echo "******************取得StoreType失敗******************";
exit();
}
if($StoreType=="1")
{
$text="我的商品";
$link="MyItem.php";
}
if($StoreType=="2")
{
$text="商品清單";
$link="StoreTakenItemList.php";
}
?>
<div id="StoreSettingTable">
<div class="StoreSettingTableTr">
<div class="StoreSettingTableTd">
<button id="ModifyInformation" class="StoreSettngFont"><span>修改商家資訊</span></button>
</div>
</div>
<div class="StoreSettingTableTr">
<div class="StoreSettingTableTd">
<button id="StoreItemListSettingButton" class="StoreSettngFont"><span ><?php echo $text; ?></span></button>
</div>
</div>
<!---
<div class="StoreSettingTableTr">
<div class="StoreSettingTableTd">
<button id="PreferenceSetting" class="StoreSettngFont"><span>喜好設定</span></button>
</div>
</div>
-->
</div>
<script>
$('#ModifyInformation').click(
function()
{
loadpage("#content","ModifyStoreInformation.php");
});
$('#StoreItemListSettingButton').click(
function()
{
loadpage("#content","<?php echo $link; ?>");
});
/*
$('#PreferenceSetting').click(
function()
{
loadpage("#content","PreferenceSetting.php");
});
*/
</script>