#########################################
###### yes board ver 1.0 #######
###### ÃÖ¿ë¿î #######
###### webmaster@phpsoft.co.kr #######
###### °³Àο뵵·Î »ç¿ë¹× ¼öÁ¤ #######
###### Àç¹èÆ÷°¡ ÀÚÀ¯·Ó½À´Ï´Ù #######
###### ´Ü »ó¾÷¿ëÀ¸·Î »ç¿ëÇÏ½Ç #######
###### ¼ö ¾ø½À´Ï´Ù. »ó¾÷¿ëÀ¸·Î #######
###### ÆÇ¸ÅÇÏ´ÂÇàÀ§´Â ÀúÀ۱ǹý #######
###### ¿¡ À§¹èµË´Ï´Ù. #######
###### º» °Ô½ÃÆÇÀÇ ÃֽŹöÀüÀº #######
###### phpsoft.co.kr ¿¡¼ #######
###### ´Ù¿î·Îµå¹ÞÀ¸½Ç¼ö #######
###### ÀÖ½À´Ï´Ù. #######
#########################################
include "up.php";
include "conn.php";
include "lib/lib.php";
$query="select id,subject,comment,fid,indent,name,mail,home,view,file,filetype,filesize,fileurl
from $table where id=$id";
$result=mysql_query($query,$conn);
if(!$result){
echo("result error!");
exit;
}
$read_id=mysql_result($result,0,0);
$read_subject=mysql_result($result,0,1);
$read_comment=mysql_result($result,0,2);
$read_comment=stripslashes($read_comment);
$fid = mysql_result($result,0,3);
$indent = mysql_result($result,0,4);
$read_name=mysql_result($result,0,5);
$read_mail=mysql_result($result,0,6);
$read_home=mysql_result($result,0,7);
##################################----------------// Á¶È¸¼ö Áõ°¡¸¦À§ÇѺκÐ
$view=mysql_result($result,0,8);
$file=mysql_result($result,0,9);
$filetype=mysql_result($result,0,10);
$filesize=mysql_result($result,0,11);
$fileurl=mysql_result($result,0,12);
if(!$view){
$view=1;
}else{
++$view;
}
$view_query=mysql_query("UPDATE $table SET ref=$view WHERE uid=$read_id ",$conn);
?>
border='0' cellspacing='0' cellpadding='2' align='center'>
$read_subject=nl2br($read_subject);
echo("$read_subject"); ?> |
À̸§ | echo("$read_name"); ?> | ¸ÞÀÏ
| echo("$read_mail"); ?> |
|
Ȩ | echo("$read_home"); ?> |
|
$read_comment=nl2br($read_comment);
echo("$read_comment"); ?>
|
if($filesize > 0){
echo("
¢¹ $file ¢·
Å©±â : $filesize byte ŸÀÔ : $filetype |
");
}
?>
[»èÁ¦] [´äº¯]
[¼öÁ¤]
|
include "list.php";
include "dn.php";
?>