include "./inc/connect.inc";
include "./inc/infor.inc";
if($mf_infor[8]){include "../amember/inc/board_access.inc";}
include "./inc/file_size.inc";
include "./inc/string.inc";
//Á¶È¸¼ö Áõ°¡
$query="update aboard_".$mf_infor[2]." set cnt=cnt+1 where no='$no'";
$mq=mysql_query($query,$mc);
//°Ô½Ã¹° °¡Á®¿À±â
$query="select *from aboard_" . $mf_infor[2] . " where no='$no'";
$mq=mysql_query($query,$mc);
$mf=mysql_fetch_row($mq);
//ÆÄÀϽÎÀÌÁî
$fsize=getfilesize($mf[13]);
//³¯Â¥Çü½Ä
setlocale("LC_TIME","ko");
$mf[7]=strftime("%Y³â%m¿ù%dÀÏ%X",$mf[7]);
$mf[8]=Shorten_String($mf[8],"50","...");
//±ÛÇü½Ä
$mf[9] = stripslashes($mf[9]);
if($mf[10] ==2){
$mf[9] = htmlspecialchars($mf[9]);
$mf[9] = nl2br($mf[9]);
} else if($mf[10] ==3 || !$mf[10]) {
$mf[9] = strip_tags($mf[9]);
$mf[9] = nl2br($mf[9]);
}
//°Ë»ö¾î Ç¥½Ã
if($search_text){$mf[9] = eregi_replace("($search_text)","\\1",$mf[9]);}
?>
=$mf_infor[44]?>
=$mf_infor[17]?>>
|
>
¢Ã =$mf[8]?> |
|
|
|
border="0" cellpadding="10" cellspacing="0" width="100%" height="49">
$mf[5]
");}?>
>=$mf[9]?> |
|
|
|
if($mf_infor[43]){
$query="select no,name,subject from aboard_".$mf_infor[2]." where target='$mf[17]' order by no";
$mq=mysql_query($query,$mc);
$mn=mysql_num_rows($mq);
if($mn>1){?>
>°ü·Ã±Û(=$mn?>) |
";$temp2="";}
$data[1]=Shorten_String($data[1],"10","...");$data[2]=Shorten_String($data[2],"45","...");?>
¡¡
>=$temp1?>=$data[2]?>=$temp2?>> [=$data[1]?>] |
$temp1="";$temp2="";}?>
|
}}?>
for($i=$mf[0]+1;$i<$mf[0]+5;$i++){
$query="select no from aboard_".$mf_infor[2]." where no='$i'";
$mq=mysql_query($query,$mc);
$prev=mysql_num_rows($mq);
if($prev){echo(" ");break;}
}
for($i=$mf[0]-1;$i>0;$i--){
$query="select no from aboard_".$mf_infor[2]." where no='$i'";
$mq=mysql_query($query,$mc);
$next=mysql_num_rows($mq);
if($next){echo(" ");break;}
}?>
}?>
}else{?>
}?>
}else{?>
}?>
|
|
|
=$mf_infor[45]?>