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
|
<?php Global $bbsinfo, $notice_array, $list_array, $cust_info, $cinfo, $cate_array, $total_page, $list_num, $total_count, $b_table, $cate_screen_out; qstr_extract($_SERVER['QUERY_STRING']); // $qstr을 $_GET변수에 넣는다. extract($_GET); // $_GET를 변수로 풀어준다. $cate = urldecode($cate);
$cur_img_url = $j3_img_url."/".$sk['sk_img_path'];
if($skin_css!=''){ echo $skin_css; } else { ?> <!-- 상단 카테고리 내 위치 --> <style>
</style> <?php }?> <style> .width_22 { width:22%; } </style>
<div class="class_skin_idx_<?php echo $sk_idx;?>"> <div class='bbs_head_foot_class'> <?php echo $bbsinfo['b_top_cont']; // 게시판 상단 내용?> </div> <h1 class="p15_0 align_c"><?php echo $bbsinfo['b_title'];?> 게시판</h1>
<?php if($cinfo['idx']!=''){ // 게시판 상세 보기 ?> <!--게시판 --> <div class="mb10 m0_10 black_line_t"> <h2 class="screen_out">글보기</h2> <dl class="width_full txt13"> <dt> <p class="p5_0 p0_10"> <span>공지</span> <em class="bold"><?php echo $cinfo['w_subject'];?><!-- <span class="custom2">[5]</span>--></em> </p> <p class="p5_0 p0_10 gray_line_b bg_gray"> <span class="custom1 bold"><?php echo $cinfo['w_name'];?></span> <em class="float_r gray"><?php echo $cinfo['w_regdate'];?></em> </p> </dt> <dd class="p5_0 p0_10 gray_line_b w_content_class" > <?php echo $cinfo['w_content'];?> <?php if(count($cinfo['file_array'])>0 && $bbsinfo['b_dload_lv']<=$cust_info['mb_lv']){?> <br> <?php foreach($cinfo['file_array'] as $key=>$val){ echo "file : ".$val["download_url"]."<br>"; }?> <?php }?> </dd> </dl> </div> <!-- //게시판-->
<div class="gray_line_b2 separate_line"> <h2 class="p0_10 txt14 l_height35">댓글작성</h2>
<div class="mb5 p0_10 height26"> <a class="block float_l width_22 height24 custom1 txt14 align_c l_height24 bg_white custom_line1 mr10 board_list_class">목록</a> <?php if($bbsinfo['b_reply_lv']<=$cust_info['mb_lv']){?> <a class="block float_l width_22 height26 white txt14 align_c l_height26 bg_custom1 mr10 board_reply_class">답변</a> <?php }?> <?php if($id_ccode==$cinfo['w_ccode'] || $cinfo['w_login_id']==''){?> <a class="block float_l width_22 height24 custom3 txt14 align_c l_height24 bg_white custom_line1 mr10 board_edit_class">수정</a> <a class="block float_l width_22 height24 custom2 txt14 align_c l_height24 bg_white custom_line1 board_del_class">삭제</a> <?php } ?> </div>
<?php include("./board_comm.inc.php"); ?> </div> <?php } // 게시판 상세 보기 끝 ?>
<p class="p0_10 height24 txt13 l_height24"> <span class="float_r">Total <em class="red txt14 bold total_cnt_class">0</em>건</span> </p>
<!--게시판 --> <div class="mb10 m0_10 black_line_t"> <dl> <dt class="screen_out">글목록</dt> <?php for($i=0;$i<count($notice_array);$i++){ $info = $notice_array[$i]; ?> <dd class="width_full txt13 l_height35 ellipsis gray_line_b pointer bg_gray"> <span class="pl10">공지<input type='hidden' name='codes[]' value='<?php echo $info['idx'];?>'></span> <em class="pl10 bold"><a class='board_view_class'><?php echo $info['w_subject'].$info['w_file_icon'];?><span class="custom2"><?php echo $info['comm_cnt']; ?></span></a></em> <span class="pr10 float_r gray"><?php echo substr($info['w_regdate'],0,10);?></span> </dd> <?php } ?> <?php $num = $total_count - ($page - 1) * $list_num; for($i=0;$i<count($list_array);$i++){ $info = $list_array[$i]; if($info['idx']!=''){ ?> <dd class="width_full txt13 l_height35 ellipsis gray_line_b pointer"> <span class="pl10"><?php echo $num;?><input type='hidden' name='codes[]' value='<?php echo $info['idx'];?>'></span> <em class="pl10 bold"><a class='board_view_class'><?php echo $info['w_rep_icon'].$info['w_subject'].$info['w_file_icon'];?><span class="custom2"><?php echo $info['comm_cnt']; ?></a></em> <span class="pr10 float_r gray"><?php echo substr($info['w_regdate'],0,10);?></span> </dd> <?php } $num--; } ?> </dl>
<div class="mt7 width_full"> <?php if($bbsinfo['b_write_lv']<=$cust_info['mb_lv']){ ?> <a class="block height30 txt13 align_c l_height30 bg_custom1 board_new_class" ><span class="white bold">게시글쓰기</span></a> <?php }?> </div> <div class='pg_wrap' style='padding-top:0px;'> <?php echo get_paging($list_num, $page, $total_page, "?$qstr");?> </div> </div> <!-- //게시판--> <div class='bbs_head_foot_class'> <?php echo $bbsinfo['b_bot_cont']; // 게시판 하단 내용?> </div> </div>
|