Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,030

HOME > PHP > PHP Forum > อยากสร้างเว็บบอร์ดเอง(ใครก็ได้ช่วยบอกหน่อย) อยากสร้างเว็บบอร์ดเอง (ใครก็ได้ช่วยบอกหน่อย)



 

อยากสร้างเว็บบอร์ดเอง(ใครก็ได้ช่วยบอกหน่อย) อยากสร้างเว็บบอร์ดเอง (ใครก็ได้ช่วยบอกหน่อย)

 



Topic : 013893

Guest




อยากสร้างเว็บบอร์ดเอง (ใครก็ได้ช่วยบอกหน่อย) อยากได้เว็บบอร์ดแบบที่มีระบบแต่งตัวอะ มีตัวอย่างให้ดู http://www.zheza.com ใครเปนบอกด้วย
---------------------------------------------------------------------------------------------------------------------------------------------
คุณนะ


Tag : - - - -







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 28 พ.ค. 2550 16:43:57 By : TokyU View : 5912 Reply : 12
 

 

No. 1

Guest


เว็บอะไรมะรู้ สวยซะแสบตา ดูได้ 2 นาทีปิดทิ้งโลด






Date : 28 พ.ค. 2550 20:33:05 By : แมว
 


 

No. 2

Guest


[marquee][/marquee]
Date : 2010-07-18 20:09:21 By : Bee
 

 

No. 3



โพสกระทู้ ( 37 )
บทความ ( 0 )



สถานะออฟไลน์
Twitter Facebook Hi5

อยากได้โค้ดเขียนเว็บบอร์ดด้วยค่ะ อยากเขียนเอง คัยพอจะช่วยได้บ้างค่ะ
Date : 2010-07-18 23:16:45 By : nujoy
 


 

No. 4



โพสกระทู้ ( 2,794 )
บทความ ( 0 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์


PHP Webboard Text - Free Webboard Script
ลองเอาไปเป็นแนวทางดูครับ แต่ใช้ Text เก็บข้อมูลนะครับ
Date : 2010-07-18 23:37:04 By : panyapol
 


 

No. 5



โพสกระทู้ ( 37 )
บทความ ( 0 )



สถานะออฟไลน์
Twitter Facebook Hi5

นู๋อยากได้แบบเขียนขึ้นเอง เก็บข้อมูลลงฐานข้อมูลอ่ะค่ะ พอจะช่วยได้ไหมค่ะ
Date : 2010-07-18 23:48:05 By : nujoy
 


 

No. 6



โพสกระทู้ ( 11,835 )
บทความ ( 10 )

สมาชิกที่ใส่เสื้อไทยครีเอท Hall of Fame 2012

สถานะออฟไลน์


เขียนเองก็ไม่ยากครับ insert, edit, delete แค่นี้เอง ใช้ table 2 table หรือจะใช้ 1 table ก็ได้
Date : 2010-07-19 00:21:44 By : PlaKriM
 


 

No. 7



โพสกระทู้ ( 2 )
บทความ ( 0 )



สถานะออฟไลน์


พี่พอมีตัวอย่างมั้ยค่ะ นู๋ก็อยากได้เหมือนกัน
Date : 2010-07-19 00:42:02 By : tangofruit
 


 

No. 8



โพสกระทู้ ( 3,748 )
บทความ ( 0 )

สมาชิกที่ใส่เสื้อไทยครีเอท Hall of Fame 2012

สถานะออฟไลน์
Facebook

อันนี้ผมเขียนครั้งแรก คิวรี่สองรอบ ไม่ได้เชื่อมตารางเข้าหากันนะครับ เอาไปประยุกต์ดูได้
index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="../css/style.css">
<link rel="stylesheet" type="text/css" href="../css/css.css" />
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>Board</title>
</head>
<body>
<? include("head.php");?>
<table width="950" height="30" border="0" class="bglin2" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="670" scope="col">&nbsp;</th>
    <th width="280" scope="col" class="style1"><? include("../function/function_date.php");echo thai_date($eng_date);?></th>
  </tr>
</table>
<table width="950" height="66" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td height="44" align="center" valign="top" scope="col"><table width="100%" height="30" border="1" cellspacing="0" cellpadding="0" bgcolor="#FF6633" bordercolor="#FFFFFF">
      <tr>
        <th width="587" scope="col" class="style14">หัวข้อกระทู้</th>
        <th width="240" scope="col" class="style14">เมื่อวันที่</th>
        <th width="115" scope="col" class="style14">โพสโดย</th>
        </tr>
    </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <th width="60" scope="col">&nbsp;</th>
          <th width="775" scope="col">&nbsp;</th>
          <td width="115" scope="col" align="center" class="style5"><a href="board/post/new.php"><img src="../Them/iconadd.gif" width="13" height="13" border="0" /><span class="style15">&nbsp;เพิ่มหัวข้อ</span></a></td>
        </tr>
    </table>
<?
include("../config/config.inc.php");
$sql="select * from board_post order by id desc";
$result=mysql_query($sql,$dbcon) or die (mysql_error());
	while($array=mysql_fetch_array($result))
	{
	?>
<table width="100%" height="20" border="1" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF" bgcolor="#F2F2F2">
        <tr>
          <td width="60" scope="col" align="center" class="style1"><img src="../Them/blue_speech_bubble_48.png" width="30" height="30" /></td>
          <td width="525" scope="col" class="style1" align="left"><a href="board/index.php?id=<?=$array["id"]?>?000154<?=$array["id"]?>?00124<?=$array["id"]?>"><?=$array["title"]?></a></td>
          <td width="240" scope="col" align="center" class="style1"><?=$array["date"]?></td>
          <td width="115" scope="col" align="center" class="style1"><?=$array["name"]?></td>
        </tr>
    </table>
    <? } ?>
    </td>
  </tr>
  <tr>
    <td height="22" align="center" valign="top" scope="col">&nbsp;</td>
  </tr>
</table>
<? include("floater.php")?>
</body>
</html>

Date : 2010-07-19 09:16:44 By : Dragons_first
 


 

No. 9



โพสกระทู้ ( 3,748 )
บทความ ( 0 )

สมาชิกที่ใส่เสื้อไทยครีเอท Hall of Fame 2012

สถานะออฟไลน์
Facebook

board.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="../../css/style.css">
<link rel="stylesheet" type="text/css" href="../../css/css.css" />
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>Board</title>
<script type="text/javascript" src="../../ckeditor/ckeditor.js"></script><!-- ckeditor -->
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
</head>
<body>
<table width="950" height="30" border="0" class="bglin2" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th scope="col"><img src="../../Them/002-158.jpg" width="2555" height="157" /></th>
  </tr>
  <tr>
    <th scope="col">&nbsp;</th>
  </tr>
</table>          
		<?
		  require("../../config/config.inc.php");
		  $id=$_GET["id"];
		  $sql="select * from board_post  where id='$id'";
		  $result=mysql_query($sql,$dbcon) or die (mysql_error());
		   $array=mysql_fetch_array($result);
			?>
<table width="950" height="103" border="1" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" bordercolor="#F2F2F2">
  <tr>
    <td height="81" align="center" valign="top" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <th width="162" scope="col" align="center">หัวข้อ</th>
          <th width="784" scope="col" align="left" class="style12"><?=$array["title"]?></th>
        </tr>
    </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <th scope="col">&nbsp;</th>
        </tr>
      </table>
             <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="130" valign="top" scope="col" align="center"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <th scope="col"><img src="../../Them/cylane.gif" width="47" height="48" /></th>
            </tr>
          </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td scope="col" class="style10">กระทู้ถาม</td>
              </tr>
          </table></td>
          <td width="620" valign="top" scope="col" align="left" class="style1"><?=$array["text"]?></td>
        </tr>
    </table>
             <table width="100%" border="0" cellspacing="0" cellpadding="0">
               <tr>
                 <th scope="col">&nbsp;</th>
               </tr>
             </table>
             <table width="100%" height="20" border="0" cellspacing="0" cellpadding="0" bgcolor="#F2F2F2">
               <tr>
                 <th width="79" scope="col" align="right" class="style14">Date :&nbsp;</th>
                 <td width="234" scope="col" align="left" class="style14"><?=$array["date"]?></td>
                 <th width="134" scope="col" align="right" class="style14">Time :&nbsp;</th>
                 <td width="192" scope="col" align="left" class="style14"><?=$array["time"]?></td>
                 <th width="110" scope="col" align="right" class="style14">Post By :&nbsp;</th>
                 <td width="197" scope="col" align="left" class="style14"><?=$array["name"]?></td>
               </tr>
    </table>
    </td>
  </tr>
</table><br />
		<?
		  $sql="select * from board_reply where no='$id' order by id ";
		  $result=mysql_query($sql,$dbcon) or die (mysql_error());
		 		while($array=mysql_fetch_array($result)){
			?>
<table width="950" height="103" border="1" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" bordercolor="#F2F2F2">
  <tr>
    <td height="81" align="center" valign="top" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <th width="162" scope="col" align="center">อ้างอิงหัวข้อ</th>
          <th width="784" scope="col" align="left" class="style16"><?=$array["title"]?></th>
        </tr>
    </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <th scope="col">&nbsp;</th>
        </tr>
      </table>
             <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="130" valign="top" scope="col" align="center"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <th scope="col"><img src="../../Them/cylane.gif" width="47" height="48" /></th>
            </tr>
          </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td scope="col" align="center" class="style10">กระทู้ตอบ</td>
              </tr>
          </table></td>
          <td width="620" valign="top" scope="col" align="left" class="style1"><?=$array["text"]?></td>
        </tr>
    </table>
             <table width="100%" border="0" cellspacing="0" cellpadding="0">
               <tr>
                 <th scope="col">&nbsp;</th>
               </tr>
             </table>
             <table width="100%" height="20" border="0" cellspacing="0" cellpadding="0" bgcolor="#F2F2F2">
               <tr>
                 <th width="79" scope="col" align="right" class="style14">Date :&nbsp;</th>
                 <td width="234" scope="col" align="left" class="style14"><?=$array["date"]?></td>
                 <th width="134" scope="col" align="right" class="style14">Time :&nbsp;</th>
                 <td width="192" scope="col" align="left" class="style14"><?=$array["time"]?></td>
                 <th width="110" scope="col" align="right" class="style14">Reply By :&nbsp;</th>
                 <td width="197" scope="col" align="left" class="style14"><?=$array["name"]?></td>
               </tr>
    </table>
    </td>
  </tr>
</table><br />
<? } ?>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="884" scope="col">&nbsp;</th>
    <th width="66" scope="col"><a href="#"><img src="../../Them/back3.png" border="0" title="Exit" onclick="history.back();" /></a></th>
  </tr>
</table><br /><br />
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="365" scope="col" class="style12">แสดงความคิดเห็นผ่านแบบฟอร์มข้างล่างนี้</th>
  </tr>
</table>
		<?
		  require("../../config/config.inc.php");
		  $id=$_GET["id"];
		  $sql="select * from board_post  where id='$id'";
		  $result=mysql_query($sql,$dbcon) or die (mysql_error());
		   $array=mysql_fetch_array($result);
		  include("function.php");
		  include("../../function/function_date.php");
	?>
 <form id="form1" name="form1" method="post" action="reply/reply_.php">
         <table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#D3D3D3">
        <tr>
          <td width="15%" height="25" scope="col" align="right" class="style14">&nbsp;</td>
          <td width="85%" height="25" scope="col"><input name="title" type="hidden"  value="<?=$array["title"]?>"/><input name="id" type="hidden"  value="<?=$array["id"]?>" /></td>
        </tr>
        <tr>
          <td width="15%" height="25" scope="col" align="right" class="style14"><span class="style11">*</span>&nbsp;จากคุณ :&nbsp;</td>
          <td width="85%" height="25" scope="col"><input name="name" type="text" size="40" maxlength="100" title="กรอกชื่อคุณ"  />
            <input name="date" type="hidden"  value="<? echo thai_date($eng_date);?>" size="20"  /></td>
        </tr>
        <tr>
          <td width="15%" height="25" scope="col" align="right" class="style14"><span class="style11">*</span>&nbsp;Email :&nbsp;</td>
          <td width="85%" height="25" scope="col">
          <input name="email" type="text" size="40" maxlength="50"  title="ที่อยู่อีเมล์เพื่อติดต่อกลับ เช่น [email protected]" />&nbsp;<span class="style11">ข้อมูลนี้จะไม่ถูกเผยแพร่</span>
            <input name="time" type="hidden"  value="<? echo thai_time($eng_time);?>" size="20"  /></td>
        </tr>
        <tr>
          <td width="15%" height="25" scope="col" align="right" class="style14"><span class="style11">*</span>&nbsp;เบอร์ติดต่อกลับ :&nbsp;</td>
          <td width="85%" height="25" scope="col"><input name="phone"  type="text" size="40" maxlength="15"  title="เบอร์โทรศัทพ์ของคุณ เช่น 0811234567" />&nbsp;<span class="style11">ข้อมูลนี้จะไม่ถูกเผยแพร่</span></td>
        </tr>
        <tr>
          <td width="15%" height="25" align="right" valign="top" class="style14" scope="col">ข้อความ :&nbsp;</td>
          <td width="85%" height="25" scope="col"><textarea name="text" class="ckeditor" cols="80" rows="10" title="กรอกข้อมูลเพื่อสอบถาม"></textarea></td>
        </tr>
        <tr>
          <td width="15%" height="40" scope="col" align="right" class="style14">&nbsp;</td>
          <td width="85%" height="40" scope="col"><img src="pic_text.php?str=<?=$ran_str?>"></td>
        </tr>
        <tr>
          <td width="15%" height="25" scope="col" align="right" class="style14">รหัสภาพ :&nbsp;</td>
          <td width="85%" height="25" scope="col"><input name="code_input" type="text" class="style10" size="15" maxlength="6"  title="กรุณาใส่รหัสภาพให้ถูกต้องด้วยค่ะ" /><span class="style11" >&nbsp;*กรุณากรอกรหัสให้ตรงกับภาพด้านบน</span><input type="hidden" name="code_hidden" value="<?=$ran_str?>"></td>
        </tr>
        <tr>
          <td width="15%" height="25" scope="col" align="right" class="style14">&nbsp;</td>
          <td width="85%" height="25" scope="col">&nbsp;</td>
        </tr>
        <tr>
          <td height="25" colspan="2" align="center" class="style14" scope="col"><a href="#" onclick="history.back();"><img src="../../Them/back2.gif" border="0" /></a>&nbsp;
          <input name="submit" type="image" src="../../Them/send2.gif"  border="0"/></td>
          </tr>
        <tr>
          <td height="25" scope="col" align="right" class="style14">&nbsp;</td>
          <td height="25" scope="col">&nbsp;</td>
        </tr>
        <tr>
          <td width="15%" height="25" scope="col" align="right" class="style14">&nbsp;</td>
          <td width="85%" height="25" scope="col">&nbsp;</td>
        </tr>
      </table>
    </form>
</body>
</html>

Date : 2010-07-19 09:17:19 By : Dragons_first
 


 

No. 10



โพสกระทู้ ( 3,748 )
บทความ ( 0 )

สมาชิกที่ใส่เสื้อไทยครีเอท Hall of Fame 2012

สถานะออฟไลน์
Facebook

post.php
<? session_start();?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<link rel="stylesheet" type="text/css" href="../../../css/style.css" />
<link rel="stylesheet" type="text/css" href="../../../css/css.css" />
<script type="text/javascript" src="../../../ckeditor/ckeditor.js"></script><!-- ckeditor -->
<title>New</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style></head>
<body>
<table width="100%" height="100" border="0" class="bglin3" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th scope="col">&nbsp;</th>
  </tr>
</table>
<table width="100%" height="100" border="0"  align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td scope="col"><hr />
    	<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <th scope="col" class="style9">กฎ กติกา ในการร่วมแสดงความคิดเห็น / โพสข้อความทั่วไป</th>
      </tr>
      <tr>
        <td scope="col" class="style10">&nbsp;</td>
      </tr>
      <tr>
        <td scope="col" align="left" class="style10">1) ห้ามโพสข้อความหรือเนื้อหา ที่เป็นการวิพากษ์วิจารณ์ หรือ พาดพิงสถาบันพระมหากษัตริย์ และ ราชวงศ์ เป็นอันขาด</td>
      </tr>
      <tr>
        <td scope="col" align="left" class="style10">2) ห้ามโพสข้อความหรือเนื้อหา ที่ส่อไปในทางลามก อนาจาร เกินกว่าบรรทัดฐานของสังคม</td>
      </tr>
      <tr>
        <td scope="col" align="left" class="style10">3) ห้ามโพส ข้อความหรือเนื้อหา ที่ส่อไปในทางหยาบคาย ก้าวร้าว โดยมีเจตนาก่อให้เกิดการทะเลาะวิวาท หรือ มีเจตนาทำให้สังคมเข้าใจผิดต่อตัวบุคคล และ สถาบันใดๆ</td>
      </tr>
      <tr>
        <td scope="col" align="left" class="style10">4) ห้ามโพสข้อความหรือเนื้อหา โจมตี หรือวิพากษ์วิจารณ์ศาสนา และ คำสอนของศาสนาใดๆ ทุกศาสนา</td>
      </tr>
      <tr>
        <td scope="col" align="left" class="style10">5) ห้ามโพสข้อความหรือเนื้อหา ที่เกี่ยวข้องกับสิ่งผิดกฎหมาย ลิขสิทธิ์ และ ผิดศีลธรรม</td>
      </tr>
      <tr>
        <td scope="col" align="left" class="style10">6) ห้ามโพสโฆษณาใดๆทั้งสิ้น เพราะเป็นสิ่งที่นอกเหนือวัตถุประสงค์ของบริษัท</td>
      </tr>
      <tr>
        <td scope="col" align="left" class="style10">7) ทุกความคิดเห็นไม่เกี่ยวข้องกับผู้ดำเนินการเว็บไซต์ และไม่สามารถนำไปอ้างอิงทางกฎหมายได้ </td>
      </tr>
      <tr>
        <td scope="col" align="left" class="style10">8) ทีมงานเว็บมาสเตอร์ขอสงวนสิทธิ์ในการลบความคิดเห็น โดยไม่ต้องชี้แจงเหตุผลใดๆ ต่อเจ้าของความคิดเห็นนั้น  </td>
      </tr>
    </table><hr /></td>
  </tr>
</table>         
	<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#A7A7A7">
           <tr>
             <td scope="col">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td scope="col">
	<? include("../function.php");
		  include("../../../function/function_date.php");
	?>
    <form id="form1" name="form1" method="post" action="new_.php">
         <table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#D3D3D3">
        <tr>
          <td height="25" scope="col" align="right" class="style14">&nbsp;</td>
          <td height="25" scope="col">&nbsp;</td>
        </tr>
        <tr>
          <td width="23%" height="25" scope="col" align="right" class="style14"><span class="style11">*</span>&nbsp;หัวข้อ :&nbsp;</td>
          <td width="77%" height="25" scope="col"><input name="title" type="text" size="80" maxlength="500" title="ตั้งชื่อหัวข้อของท่าน เช่น ขอสอบถามราคา" /></td>
        </tr>
        <tr>
          <td width="23%" height="25" scope="col" align="right" class="style14"><span class="style11">*</span>&nbsp;จากคุณ :&nbsp;</td>
          <td width="77%" height="25" scope="col"><input name="name" type="text" size="40" maxlength="100" title="กรอกชื่อคุณ"  />
            <input name="date" type="hidden"  value="<? echo thai_date($eng_date);?>" size="20"  /></td>
        </tr>
        <tr>
          <td width="23%" height="25" scope="col" align="right" class="style14"><span class="style11">*</span>&nbsp;Email :&nbsp;</td>
          <td width="77%" height="25" scope="col">
          <input name="email" type="text" size="40" maxlength="50"  title="ที่อยู่อีเมล์เพื่อติดต่อกลับ เช่น [email protected]" />&nbsp;<span class="style11">ข้อมูลนี้จะไม่ถูกเผยแพร่</span>
            <input name="time" type="hidden"  value="<? echo thai_time($eng_time);?>" size="20"  /></td>
        </tr>
        <tr>
          <td width="23%" height="25" scope="col" align="right" class="style14"><span class="style11">*</span>&nbsp;เบอร์ติดต่อกลับ :&nbsp;</td>
          <td width="77%" height="25" scope="col"><input name="phone" type="text" size="40" maxlength="15"  title="เบอร์โทรศัทพ์ของคุณ เช่น 0811234567" />&nbsp;<span class="style11">ข้อมูลนี้จะไม่ถูกเผยแพร่</span></td>
        </tr>
        <tr>
          <td width="23%" height="25" align="right" valign="top" class="style14" scope="col"><span class="style11">*</span>&nbsp;ข้อความ :&nbsp;</td>
          <td width="77%" height="25" scope="col"><textarea name="text" class="ckeditor" cols="80" rows="10" title="กรอกข้อมูลเพื่อสอบถาม"></textarea></td>
        </tr>
        <tr>
          <td width="23%" height="40" scope="col" align="right" class="style14">&nbsp;</td>
          <td width="77%" height="40" scope="col"><img src="../pic_text.php?str=<?=$ran_str?>"></td>
        </tr>
        <tr>
          <td width="23%" height="25" scope="col" align="right" class="style14">รหัสภาพ :&nbsp;</td>
          <td width="77%" height="25" scope="col"><input name="code_input" type="text" class="style10" size="15" maxlength="6"  title="กรุณาใส่รหัสภาพให้ถูกต้องด้วยค่ะ" /><span class="style11" >&nbsp;*กรุณากรอกรหัสให้ตรงกับภาพด้านบน</span><input type="hidden" name="code_hidden" value="<?=$ran_str?>"></td>
        </tr>
        <tr>
          <td width="23%" height="25" scope="col" align="right" class="style14">&nbsp;</td>
          <td width="77%" height="25" scope="col">&nbsp;</td>
        </tr>
        <tr>
          <td height="25" scope="col" align="right" class="style14">&nbsp;</td>
          <td height="25" scope="col"><a href="#" onclick="history.back();"><img src="../../../Them/back2.gif" border="0" /></a>&nbsp;
            <input name="submit" type="image" src="../../../Them/send2.gif"  border="0"/></td>
        </tr>
        <tr>
          <td height="25" scope="col" align="right" class="style14">&nbsp;</td>
          <td height="25" scope="col">&nbsp;</td>
        </tr>
        <tr>
          <td width="23%" height="25" scope="col" align="right" class="style14">&nbsp;</td>
          <td width="77%" height="25" scope="col">&nbsp;</td>
        </tr>
      </table>
    </form>
    </td>
  </tr>
</table>
</td>
           </tr>
         </table>
         </body>
</html>

post_.php
<?
		if($_POST["title"]==""  or $_POST["name"]=="" or $_POST["phone"]=="" or $_POST["text"]==""){
		echo "<hr><br><center><strong><font color=\"#FF0000\">คุณกรอกข้อมูลไม่ครบถ้วน กรุณากลับไปกรอกข้อมูลใหม่ เพื่อทำรายการต่อไป</font></strong><br><br><a href=# onclick=history.back();><img src=../../../Them/back3.png border=0 /></a></center><br><hr>";
		}else{
		if (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $_POST["email"])){ 
		echo "<hr><br><center><strong><font color=\"#FF0000\">คุณกรอกที่อยู่อีเมลผิดหรืออีเมลไม่มีอยู่จริง กรุณากลับไปกรอกอีเมลที่ถูกต้อง เพื่อทำรายการต่อไป</font></strong><br><br><a href=# onclick=history.back();><img src=../../../Them/back3.png border=0 /></a></center><br><hr>";
		}else{
		if(strcmp($_POST['code_input'],$_POST['code_hidden'])==0){  
		include("../../../config/config.inc.php");
		$sql="insert into board_post (name,title,email,phone,text,date,time) values('".$_POST["name"]."', '".$_POST["title"]."' , '".$_POST["email"]."', '".$_POST["phone"]."' , '".$_POST["text"]."' ,'".$_POST["date"]."', '".$_POST["time"]."')";
		$dbquery=mysql_query($sql,$dbcon) or die (mysql_error());
			if(dbquery){
				echo "<link rel=stylesheet type=text/css href=../../../css/style.css />";
				echo "<link rel=stylesheet type=text/css href=../../../css/css.css />";
				echo "<META HTTP-EQUIV=Refresh CONTENT=5;URL=http://www.okatools.com>";
				echo "<table width=100% height=100 border=1 class=bglin3 align=center cellpadding=0 cellspacing=0>
  <tr>
    <th scope=col aling=center></th>
 </tr>
</table><hr><br>
         <table width=950 border=0 align=center cellpadding=0 cellspacing=0>        
		 <tr>
          <td width=23% height=25 scope=col align=center class=style13><img src=../../../Them/loading.gif><br><font size=1>Loardding</font></td>
        </tr>
        <tr>
          <td height=25 scope=col align=center class=style12>คุณได้โพสข้อความทั้งหมดลงบนเว็บบอร์ดของบริษัท หนึ่งมงคล จำกัด เรียบร้อยแล้ว</td>
        </tr>
        <tr>
          <td width=23% height=25 scope=col align=center class=style13>กด <a href=../../board.php>ที่นี่</a> เพื่อต้องการดูข้อความของคุณ หรือรอสักครู่ ระบบจะกลับไปหน้าหลักให้คุณ อัตโนมัติ</td>
        </tr>
        <tr>
          <td width=23% height=25 scope=col align=center class=style13>ทีมงานเว็บมาสเตอร์ขอสงวนสิทธิ์ในการลบข้อความที่ไม่เหมาะสมโดยไม่ต้องแจ้งให้เจ้าของกระทู้ทราบ</td>
        </tr>
		</table><br><hr>
";
			}
		}
	else{
		echo "<hr><br><center><strong><font color=\"#FF0000\">คุณกรอกรหัสผิด กรุณากลับไปกรอกข้อมูลใหม่ เพื่อทำรายการต่อไป</font></strong><br><br><a href=# onclick=history.back();><img src=../../../Them/back3.png border=0 /></a></center><br><hr>";
	}
		}
		}
?>

Date : 2010-07-19 09:18:46 By : Dragons_first
 


 

No. 11



โพสกระทู้ ( 3,748 )
บทความ ( 0 )

สมาชิกที่ใส่เสื้อไทยครีเอท Hall of Fame 2012

สถานะออฟไลน์
Facebook

reply.php
<?
		if($_POST["name"]=="" or $_POST["phone"]=="" or $_POST["text"]==""){
		echo "<hr><br><center><strong><font color=\"#FF0000\">คุณกรอกข้อมูลไม่ครบถ้วน กรุณากลับไปกรอกข้อมูลใหม่ เพื่อทำรายการต่อไป</font></strong><br><br><a href=# onclick=history.back();><img src=../../../Them/back3.png border=0 /></a></center><br><hr>";
		}else{
		if (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $_POST["email"])){ 
		echo "<hr><br><center><strong><font color=\"#FF0000\">คุณกรอกที่อยู่อีเมลผิดหรืออีเมลไม่มีอยู่จริง กรุณากลับไปกรอกอีเมลที่ถูกต้อง เพื่อทำรายการต่อไป</font></strong><br><br><a href=# onclick=history.back();><img src=../../../Them/back3.png border=0 /></a></center><br><hr>";
		}else{
		if(strcmp($_POST['code_input'],$_POST['code_hidden'])==0){  
		include("../../../config/config.inc.php");
		$sql="insert into board_reply (no,name,title,email,phone,text,date,time) values('".$_POST["id"]."' ,'".$_POST["name"]."', '".$_POST["title"]."' , '".$_POST["email"]."', '".$_POST["phone"]."' , '".$_POST["text"]."' ,'".$_POST["date"]."', '".$_POST["time"]."')";
		$dbquery=mysql_query($sql,$dbcon) or die (mysql_error());
			if(dbquery){
				echo "<link rel=stylesheet type=text/css href=../../../css/style.css />";
				echo "<link rel=stylesheet type=text/css href=../../../css/css.css />";
				echo "<META HTTP-EQUIV=Refresh CONTENT=5;URL=http://www.okatools.com>";
				echo "<table width=100% height=100 border=1 class=bglin3 align=center cellpadding=0 cellspacing=0>
  <tr>
    <th scope=col aling=center></th>
 </tr>
</table><hr><br>
         <table width=950 border=0 align=center cellpadding=0 cellspacing=0>        
		 <tr>
          <td width=23% height=25 scope=col align=center class=style13><img src=../../../Them/loading.gif><br><font size=1>Loardding</font></td>
        </tr>
        <tr>
          <td height=25 scope=col align=center class=style12>คุณได้โพสข้อความทั้งหมดลงบนเว็บบอร์ดของบริษัท หนึ่งมงคล จำกัด เรียบร้อยแล้ว</td>
        </tr>
        <tr>
          <td width=23% height=25 scope=col align=center class=style13>กด <a href=../../board.php>ที่นี่</a> เพื่อต้องการดูข้อความของคุณ หรือรอสักครู่ ระบบจะกลับไปหน้าหลักให้คุณ อัตโนมัติ</td>
        </tr>
        <tr>
          <td width=23% height=25 scope=col align=center class=style13>ทีมงานเว็บมาสเตอร์ขอสงวนสิทธิ์ในการลบข้อความที่ไม่เหมาะสมโดยไม่ต้องแจ้งให้เจ้าของกระทู้ทราบ</td>
        </tr>
		</table><br><hr>
";
			}
		}
	else{
		echo "<hr><br><center><strong><font color=\"#FF0000\">คุณกรอกรหัสผิด กรุณากลับไปกรอกข้อมูลใหม่ เพื่อทำรายการต่อไป</font></strong><br><br><a href=# onclick=history.back();><img src=../../../Them/back3.png border=0 /></a></center><br><hr>";
	}
		}
		}
?>

Date : 2010-07-19 09:19:30 By : Dragons_first
 


 

No. 12



โพสกระทู้ ( 120 )
บทความ ( 0 )



สถานะออฟไลน์


มีการตอบกระทู้ อ้างอิงจาก กระทู้....ไหมค่ะ quote อ่ะค่ะ
Date : 2012-07-02 11:09:25 By : chadjan
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : อยากสร้างเว็บบอร์ดเอง(ใครก็ได้ช่วยบอกหน่อย) อยากสร้างเว็บบอร์ดเอง (ใครก็ได้ช่วยบอกหน่อย)
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ FTP| ใส่แถวของตาราง ใส่คอลัมน์ตาราง| ตัวยก ตัวห้อย ตัวพิมพ์ดีด| ใส่โค้ด ใส่การอ้างถึงคำพูด| ใส่ลีสต์
smiley for :lol: smiley for :ken: smiley for :D smiley for :) smiley for ;) smiley for :eek: smiley for :geek: smiley for :roll: smiley for :erm: smiley for :cool: smiley for :blank: smiley for :idea: smiley for :ehh: smiley for :aargh: smiley for :evil:
Insert PHP Code
Insert ASP Code
Insert VB.NET Code Insert C#.NET Code Insert JavaScript Code Insert C#.NET Code
Insert Java Code
Insert Android Code
Insert Objective-C Code
Insert XML Code
Insert SQL Code
Insert Code
เพื่อความเรียบร้อยของข้อความ ควรจัดรูปแบบให้พอดีกับขนาดของหน้าจอ เพื่อง่ายต่อการอ่านและสบายตา และตรวจสอบภาษาไทยให้ถูกต้อง

อัพโหลดแทรกรูปภาพ

Notice

เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ
อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง

   
  เพื่อความปลอดภัยและการตรวจสอบ กระทู้ที่แทรกไฟล์อัพโหลดไฟล์จากที่อื่น อาจจะถูกลบทิ้ง
 
โดย
อีเมล์
บวกค่าให้ถูก
<= ตัวเลขฮินดูอารบิก เช่น 123 (หรือล็อกอินเข้าระบบสมาชิกเพื่อไม่ต้องกรอก)







Exchange: นำเข้าสินค้าจากจีน, Taobao, เฟอร์นิเจอร์, ของพรีเมี่ยม, ร่ม, ปากกา, power bank, แฟลชไดร์ฟ, กระบอกน้ำ

Load balance : Server 04
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่