/home/mjc1/public_html/j3demo/shopm/sample_view.php


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
<?php
include_once("./_common.php");
include 
"../header.sub.php";
if(
$pos=='header' || $pos=='menu'){
    include(
$j3_shopm_path."/shop_header.php");
}
if(
$pos=='main'){
    include(
$j3_shopm_path."/index.php");
}
if(
$pos=='footer'){
    include(
$j3_shopm_path."/shop_footer.php");
}
if(
$pos=='list'){
    
$code="001001001"$page=1;
    include(
$j3_shopm_path."/list.php");
}
if(
$pos=='item'){
    
$code="000001";
    include(
$j3_shopm_path."/item.php");
}
if(
$pos=='cart'){
    include(
$j3_shopm_path."/cart.php");
}
if(
$pos=='orderform'){
    include(
$j3_shopm_path."/orderform.php");
}
if(
$pos=='ordercomp'){
    include(
$j3_shopm_path."/orderresult.php");
}
if(
$pos=='orderlist'){
    include(
$j3_shopm_path."/order.php");
}
if(
$pos=='orderview'){
    include(
$j3_shopm_path."/orderview.php");
}
if(
$pos=='wish'){
    include(
$j3_shopm_path."/wish.php");
}
if(
$pos=='mypage'){
    include(
$j3_shopm_path."/mypage.php");
}
if(
$pos=='listtype'){
    
$type='type1';
    include(
$j3_shopm_path."/listtype.php");
}
if(
$pos=='event'){
    
$idx 1;
    include(
$j3_shopm_path."/event.php");
}
if(
$pos=='search'){
    include(
$j3_shopm_path."/search.php");
}

if(
$pos=='login'){
    include(
$j3_shopm_path."/login.php");
}
if(
$pos=='regjoin'){
    include(
$j3_shopm_path."/join.php");
}
if(
$pos=='regjoin'){
    include(
$j3_shopm_path."/join.php");
}
if(
$pos=='regist'){
    include(
$j3_shopm_path."/register_form.php");
}
if(
$pos=='regcomp'){
    include(
$j3_shopm_path."/register_result.php");
}
if(
$pos=='board'){
    
$b_table='notice';
    include(
$j3_shopm_path."/board.php");
}
if(
$pos=='content'){
    
$co_id='about';
    include(
$j3_shopm_path."/content.php");
}
if(
$pos=='qa'){
    include(
$j3_shopm_path."/1n1.php");
}
if(
$pos=='faq'){
    include(
$j3_shopm_path."/faq.php");
}

?>