" ; echo "alert('!! กรุณากรอกข้อมูลให้ครบค่ะ ')" ; echo "" ; echo ""; exit(); } if($code<>$textcode){ echo "" ; echo ""; exit(); } if ($sa_email<>"" AND !email($sa_email)) { echo "" ; echo ""; exit(); } $part1="../webboard_img/"; $size1=600; $file_temp=$_FILES['file1']['tmp_name']; $file_name=$_FILES['file1']['name']; $file_type=$_FILES['file1']['type']; if($file_name<>""){ $newFile=imagesFile2($file_temp,$file_name,$file_type,$part1,$size1); } insert("$tb_commentboard","detail,email,postby,postdate,images,id_board"," '$sa_detail','$sa_email','$sa_postby','$sa_date' ,'$newFile','$id_board' "); echo "" ; echo""; } $id=$_GET[id]; $rs=select("$tb_webboard","where id='$id' "); if($rs==0){ exit(); } $numpage=$rs['pageview']; $numpage=$numpage+1; update("$tb_webboard","pageview='$numpage' ","where id='$id' "); ?>
    รายละเอียดหัวข้อ


""){ $ext = strtolower(end(explode('.', $rs[images]))); if ($ext == "jpg" or $ext == "jpeg" or $ext=="gif" or $ext=="bmp" or $ext=="png") { $showfiles="

"; }else{ $showfiles="

"; } }?>



โดยคุณ    e-mail::       ( อ่าน ครั้ง)



""){ $pic=""; }else{ $pic=""; } $count=$count+1; echo " ความคิดเห็นที่ [$count]
$pic

$com_detail


คุณ $com_postby     e-mail:: $com_email    ("; datethai($com_postdate); echo ")

"; } ?>