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
|
<?php include("./_common.php"); header("Content-type:text/html;charset=euc-kr");
$table = "mBoard_guide"; $code = $_GET['code'];
if($code!=''){ $sql = "select * from {$table} a where idx = '{$code}' "; $res = mysql_query($sql,$connect_web); $cinfo = mysql_fetch_array($res); } ?> <style> html {background-color:#515252;} .cont_tit {font-size:0;margin-left:12px;} .cont_tit .tit_deco {display:inline-block;width:25px;background-color:#F38066;height:30px;border-radius:12px 0 0 0;vertical-align:bottom;} .cont_tit .tit_box {display:inline-block;vertical-align:bottom;} .cont_tit .tit_box h1 {font-size:22px;letter-spacing:-2.5; border-radius:12px 12px 0 0;background-color:#F9DE97;padding:8px 12px;margin:0;} .cont_box {width: 100%;box-sizing: border-box;border-radius: 12px;background-color: #fff;border: 1px solid #262626;height: 80%;} .cont_box .cont_wrap {box-sizing: border-box;height: 94%;width: 97%;margin: 12px;overflow-y: scroll;} </style> <div class="cont_tit"> <div class="tit_deco"></div> <div class="tit_box"><h1><?php echo $cinfo['title'];?></h2></div> </div> <div class="cont_box"> <div class="cont_wrap"> <?php echo $cinfo['content'];?> </div> </div>
|