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,027

HOME > PHP > PHP Forum > ขอโค้ด ข่าว แสดงข่าว รายละอียดของข่าว ประมานนนี้ ครับ



 

ขอโค้ด ข่าว แสดงข่าว รายละอียดของข่าว ประมานนนี้ ครับ

 



Topic : 032748



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



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




ขอโค้ด ข่าว

666666666666666

ประมานนนี้ ครับ



Tag : - - - -







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2009-10-07 22:28:39 By : wave777 View : 1807 Reply : 13
 

 

No. 1



โพสกระทู้ ( 74,058 )
บทความ ( 838 )

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

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

ใช้หลักการ เพิ่มข้อมูล และ แสดงข้อมูล ครับ ไม่ยากครับ






Date : 2009-10-08 06:28:34 By : webmaster
 


 

No. 2



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



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


งง อ่า ครับ มี ตย ให้ดูไหมครับ
Date : 2009-10-08 07:39:32 By : wave777
 

 

No. 3



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



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


Code (PHP)
<body>
<? head_news();?>
<table width="800" border="0" align="center" cellpadding="2" cellspacing="1">
  <tr> 
    <td> </td>
  </tr>
  <tr> 
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr class="text2"> 
                <td width="16%" nowrap="nowrap"><strong><a href="index.php">News Management</a> &gt; จัดการข่าว</strong></td>
                <td width="84%" background="images/border_1.gif"><div align="right">สวัสดีคุณ: <? echo $_SESSION['sess_user'];?></div></td>
              </tr>
            </table><? news_menu();?></td>
  </tr>
  <!-------------------------------------->
  <tr> 
    <td class="text2">
	<!-------------------------------------->
	<tr>
	<?
		$sql_count="select * from news";
		$result_count=mysql_query($sql_count);
 		$count=mysql_num_rows($result_count);
	?>
		<td bgcolor="#f4f4f4" class="bot1">มีข่าวทั้งหมด จำนวน<? echo $count;?>ข่าว</td>
		</tr>
	<tr>
		<td>
	      <div align="center">
		  	<!------------------table-------------------->
		  	<form id="form1" name="form1" method="post" action="send_news.php" enctype="multipart/form-data">
            
		  	<table width="724" border="0" cellspacing="2" cellpadding="2">
        <tr bgcolor="#666666" class="text1">
          <td colspan="2"><div align="center" class="bot2"><strong><font color="#FFFFFF">หมวดหมู่เนื้อหา</font></strong></div></td>
          </tr>
		 <tr bgcolor="#666666" class="text1">
		   <td nowrap="nowrap" bgcolor="#f4f4f4" class="bot2"><div align="right"><b>หมวดหมู่ :</b></div></td>
		   <td width="602" bgcolor="f4f4f4">
		     <div align="left">
		       <select name="ddl_type" id="ddl_type" class="text1">			   
		         <option value="00">เลือกหมวดหมู่</option>
				 <?
				 
				 $sql_typenews="select * from news_type";
				 $result_typenews=mysql_query($sql_typenews) or die ("here");
				while($row_typenews=mysql_fetch_array($result_typenews))
				 {
				 	 $id_typenews=$row_typenews['id_type'];
					 $type_detail=$row_typenews['type_detail'];
					 echo "<option value=\"$id_typenews\">$type_detail</option>";			 
				 }
				 ?>
               </select>
	        </div>		   </td>
		   </tr>
		 <tr bgcolor="#666666" class="text1">
           <td colspan="2" bgcolor="#666666"><div align="center" class="bot2"><strong><font color="#FFFFFF">รายละเอียดเนื้อหา</font></strong></div></td>
          </tr>
		  <tr bgcolor="#666666" class="text1">
          <td nowrap="nowrap" bgcolor="f4f4f4" class="bot2"><div align="right"><span class="bot2"><b>หัวข้อข่าว</b></span><b> :</b></div></td>
          <td bgcolor="f4f4f4">
            <div align="left">
              <textarea name="txt_head" cols="55" rows="1" class="text1" id="txt_head"></textarea>
              </div>          </td>
          </tr>
		  <tr bgcolor="#666666" class="text1">
          <td nowrap="nowrap" bgcolor="f4f4f4" class="bot2"><div align="right"><b>เนื้อหาย่อ :</b></div></td>
          <td bgcolor="f4f4f4">
            <div align="left">
              <textarea name="txt_title" cols="55" rows="3" id="txt_title" class="text1"></textarea>
            </div>          </td>
          </tr>
		  <tr bgcolor="#666666" class="text1">
          <td height="194" nowrap="nowrap" bgcolor="f4f4f4" class="bot2"><div align="right"><b>เนื้อหาหลัก :</b></div></td>
          <td bgcolor="f4f4f4">
            <div align="left">
              <textarea name="txt_content" class="mceAdvanced" id="txt_content"></textarea>
              </div>          </td>
          </tr>
		  <tr bgcolor="#666666" class="text1">
          <td nowrap="nowrap" bgcolor="f4f4f4">&nbsp;</td>
          <td bgcolor="f4f4f4"><div align="left"></div></td>
          </tr>
		  <tr bgcolor="#666666" class="text1">
          <td colspan="2" nowrap="nowrap" bgcolor="#666666"><div align="center" class="bot2"><strong><font color="#FFFFFF">รูปภาพประกอบ</font></strong></div></td>
          </tr>
		  <tr bgcolor="#666666" class="text1">
          <td nowrap="nowrap" bgcolor="f4f4f4" class="bot2"><div align="right"><b>รูปภาพหัวข้อข่าว :</b></div></td>
          <td bgcolor="f4f4f4" class="text1">
            <div align="left" class="text1 style2"><strong>
              <input name="pics_head" type="file" class="text1" size="40"/></strong></div></td>
		  </tr>
		   <tr bgcolor="#666666" class="text1">
          <td nowrap="nowrap" bgcolor="f4f4f4" class="bot2"><div align="right"><b>Multimedia file :</b></div></td>
          <td bgcolor="f4f4f4" class="text1">
            <div align="left">
              <input name="file_media" type="file" class="text1" id="file_media" size="40"/>
              </div>          </td>
          </tr>
		   <tr bgcolor="#666666" class="text1">
		     <td nowrap="nowrap" bgcolor="f4f4f4" class="bot2"><div align="right"><b>Multimedia URL :</b></div></td>
		     <td bgcolor="f4f4f4" class="text1"><div align="left">
		       <TEXTAREA NAME="flash_url" ROWS="6" COLS="50"></TEXTAREA>
	          </div></td>
		     </tr>
		   <tr bgcolor="#666666" class="text1">
		     <td nowrap="nowrap" bgcolor="f4f4f4" class="bot2">&nbsp;</td>
		     <td bgcolor="f4f4f4" class="text1"><div align="left">(URL หรือ <b>Embed</b> ของ youtube.com) </div></td>
		     </tr>
		   <tr bgcolor="#666666" class="text1">
		     <td nowrap="nowrap" bgcolor="f4f4f4" class="bot2"><div align="right"><b>อ้างอิงข่าว :</b></div></td>
		     <td nowrap="nowrap" bgcolor="f4f4f4" class="text1"><div align="left">
              <input name="txt_ref" type="text" class="text1" id="txt_ref" size="40"/>
              </div></td>
		     </tr>
		   <tr bgcolor="#666666" class="text1">
          <td nowrap="nowrap" bgcolor="f4f4f4" class="bot2"><div align="right"><b>ที่มาของข่าว 
              (link): :</b></div></td>
          <td bgcolor="f4f4f4" class="text1"><div align="left">
            <input type="text" name="source_credit_link" class="text1" value="http://" size="40" />
          </div></td>
          </tr>
		   <tr bgcolor="#666666" class="text1">
          <td colspan="2" nowrap="nowrap" bgcolor="#666666"><div align="center" class="bot2"><strong><font color="#FFFFFF">เสริม</font></strong></div></td>
          </tr>
		   <tr bgcolor="#666666" class="text1">
          <td nowrap="nowrap" bgcolor="f4f4f4" class="bot2"><div align="right"><b>สถานะข่าว :</b></div></td>
          <td bgcolor="f4f4f4">
            <div align="left">
              <select name="ddl_status" class="text1" id="ddl_status">
                <option value="01">ON</option>
                <option value="00">OFF</option>
              </select>
            </div></td>
          </tr>
		   <tr bgcolor="#666666" class="text1">
          <td nowrap="nowrap" bgcolor="f4f4f4">&nbsp;</td>
          <td bgcolor="f4f4f4">
		  <div align="left">
              <input type="submit" name="Submit" value="Save" />
              </div>          </td>
          </tr>
		   <tr bgcolor="#666666" class="text1">
          <td nowrap="nowrap" bgcolor="f4f4f4">&nbsp;</td>
          <td bgcolor="f4f4f4">&nbsp;</td>
          </tr>
      </table>
	  </form>
	      </div></td>
	</tr>
	<!-------------------------------------->
	<!--------------table added here------------------->
	<!-------------------------------------->
	</td>
  </tr>
</table>
</body>

Date : 2009-10-08 11:43:33 By : apicha31
 


 

No. 4



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



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


มีไฟล์ดเดียวหรา ครับ
Date : 2009-10-08 17:07:32 By : wave777
 


 

No. 5



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



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


-*-
Date : 2009-10-08 19:13:38 By : wave777
 


 

No. 6



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



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


มีหลายคับ มันเชื่อมกันแต่ส่งให้แค่นี้แหละคับแหะๆ เอาเป็นแนวทางประยุกต์ได้อ่าคับ
Date : 2009-10-08 22:16:11 By : apicha31
 


 

No. 7



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

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

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

มหา'ลัยนี้มัน...ที่ครั้งหนึ่งเราเคยอยู่นิน่าาา ตอนนี้ไม่ได้อยู่แหล่ะ
Date : 2009-10-08 22:26:17 By : xbeginner01
 


 

No. 8



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

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

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

เอิ๊กๆ .................... ช่วงนี้ขอหลบเที่ยวไปโน้นไปนี้ก่อนนะครับ
Date : 2009-10-08 22:43:56 By : nerobenz
 


 

No. 9



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



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


ลองเดินไปร้านหนังสือครับ แล้วดูหนังสือ PHP Web Application ครับ ไม่แน่ใจว่าเล่ม 1หรือ 2 นะ มีตัวอย่างให้ดู
น่าจะเข้าใจนะ
Date : 2009-10-08 23:02:09 By : killnight
 


 

No. 10



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



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


มานไม่สวยอ่า ครับ
Date : 2009-10-11 17:58:04 By : wave777
 


 

No. 11



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

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

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


สวยไม่สวยมันขั้นกับการตกแต่งของคุณ พวกการทำงานก็เอาโค๊ดในหนังสือก็ได้
Date : 2009-10-11 22:01:01 By : plakrim
 


 

No. 12



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

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

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


เห้อ ไม่ลงทุน ไม่ลงแรง ไม่พยายามเลย ขอ ขอ และขอ เมื่อไรจะเป็นอ่ะครับ

ผมว่าเอาปัญหามาโพสถามจะมีหลายๆ ท่านรีบเข้ามาช่วยกันแก้ปัญหาหรือแนะนำแนวทางแก้ปัญหาให้นะครับ
Date : 2009-10-12 08:46:26 By : pokultra
 


 

No. 13



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

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

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


Date : 2009-10-12 08:56:56 By : gummezaka
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
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 00
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 อัตราราคา คลิกที่นี่