ÿØÿà JFIF ` ` ÿþ
Server : Apache System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : tkt_travelbus ( 1137) PHP Version : 7.0.0p1 Disable Function : mysql_pconnect Directory : /tkt_travelbus/www/toadmin/board/ |
Upload File : |
<? include "../include/top_iframe.html"; include "_common.php"; if(!$BD_CD) exit; $BOARD_INFO = board_info_list('',$BD_CD); $BOARD_INFO = $BOARD_INFO[0]; if($MSEQ){ $sql_where = "where MSEQ='".$MSEQ."' "; $data = board_list($BD_CD,$sql_where); $data = $data[0]; if($BOARD_INFO[BD_WE]=='Y'){//에디터사용 $data['MCONT'] = view_smart($data['MCONT'],"editor"); }else{ $data['MCONT'] = view_smart($data['MCONT'], "text"); } $MEM_NM = $data[MEM_NM]; $MEM_EMAIL = $data[MEM_EMAIL]; $SqlType = "edit"; }else{ $SqlType = "insert"; $MEM_NM = $TO_MB['mb_nm']; $MEM_EMAIL = $TO_MB['mb_email']; } $href = "BD_CD=$BD_CD"; $href.= "&mode=$mode"; $href.= "&select_key=$select_key"; $href.= "&input_key=$input_key"; $param = $href."&page=$page"; // 게시물의 조회수 증가 db_query("update {$BD_CD} set READCNT = READCNT + 1 where MSEQ = '$MSEQ'"); if($data['MEM_ID']) { $data_member = get_member($data['MEM_ID']); //print_r2($data_member); } ?> <div class="iframe" style="padding-left:0px;margin-left:10px;"> <!-- 본문 --> <div class="title" style="margin-top:10px;"><?=$data['MTITLE']?></div> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write"> <tr> <th>작성자</th><td><?=$MEM_NM?></td> </tr> <tr> <th>이메일</th><td><?=$MEM_EMAIL?></td> </tr> <tr> <th height="350">내용</th><td valign="top"><?=$data['MCONT']?></td> </tr> <?if($BOARD_INFO[BD_FL]>0){//파일 for($f=1; $f<=$BOARD_INFO[BD_FL]; $f++) { ?> <tr> <th scope="row"> <? // 동영상 게시판일 경우 (20100813 ) if ($BOARD_INFO[BD_SORT] == "BDTPM04") { if ($f == 1) echo "이미지"; else echo "동영상"; }else{ ?> <img src="../../image/board/bullet_disk.gif" align="top" alt="파일첨부" /> #<?=$f?> <? } ?> </th> <td> <?if($data["MFILE".$f]){?> <img src="../../image/board/bullet_disk.gif" align="top" /> <a href="../lib/Download.php?Type=CMM&BD_CD=<?=$BD_CD?>&FileName=<?=$data["MFILE".$f]?>" title="다운로드"><span class="style_3"><?=$data["MFILE".$f]?></span></a> <? // 이미지 파일일 경우 (20090820 ) if (eregi("\.(jpg|jpe|gif|png|bmp)$", $data["MFILE".$f])) { $url1 = $_SERVER[DOCUMENT_ROOT]."/FileData/board/$BD_CD/".$data["MFILE".$f]; $target1 = "/FileData/board/$BD_CD/".$data["MFILE".$f]; // 이미지 사이즈를 구함 if (file_exists($url1)) { $img_size1 = GetImageSize($url1); $img_width1 = $img_size1[0]; //이미지의 넓이를 알 수 있음 $img_height1 = $img_size1[1]; //이미지의 높이를 알 수 있음 if ($img_width1 > 300) { $img_width1 = 300; } ?> <br /> <img src="<?=$target1?>" width="<?=$img_width1?>" onclick="to_dialog.image(this.src,'#<?=$f?>');" vspace="5" style="cursor:pointer;" alt="첨부이미지" /> <? } ?> <?}?> <br /> <?}?> </td> </tr> <? } } ?> <? if($BOARD_INFO['BD_CG']=='Y' && $MSEQ){//코멘트사용 ?> <tr> <th scope="row"><label for="CCONT">코멘트</label></th> <td> <? //print_r($data['COMT_LIST']); ?> <ul class="comment"> <? if($data['COMT_CNT']>0){ foreach($data['COMT_LIST'] as $PRow){ ?> <li> <span class="pr20 comment_date"><?=substr(str_replace("-",".",$PRow[INSDT]),2,14)?></span> <span class="comment_name"><?=$PRow[CMEM_NM]?>(<?=$PRow[CMEM_ID]?>)</span> </li> <?} }?> </ul> </td> </tr> <? } ?> </table> <!-- /본문 --> </div> <? include "../include/footer_iframe.html"; ?>