<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <link rel="stylesheet" media="screen" type="text/css" href="style.css"/> <title></title> <style type="text/css"> /*<![CDATA[*/ .hide { display:none; } /*]]>*/ </style> <script type="text/javascript"> /*<![CDATA[*/ function Show(sel){ var obj=document.getElementById('p'+sel.selectedIndex); if (this.obj){ this.obj.style.display='none'; } if (obj){ this.obj=obj; obj.style.display='block'; } } /*]]>*/ </script> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head> <body> <b>RSS Feed ::</b> <form name="rss" action="updateRss.php" method="post"> <select name="Country" class="textfieldRequiredState" id="Country" onchange="Show(this);"> <option selected="selected">เลือก rss feed</option> <? require("Connections/connect.php"); $sql = "select * from rssfeed"; $result = mysql_db_query("fotocom",$sql); while($temp = mysql_fetch_array($result)){ ?> <option value="<?= $temp['feed_id']?>"><?= $temp["title"]?></option> <? } ?> </select> </p> <br><br> <? require("Connections/connect.php"); $sql = "select * from rssfeed where feed_id = 1"; $result = mysql_db_query("fotocom",$sql); $temp2 = mysql_fetch_array($result); ?> <p id="p1" class="hide" > <input name="rss1" type="text" id="rss1" size="50" value="<?= $temp2['feed']?>" /> </p> <? require("Connections/connect.php"); $sql = "select * from rssfeed where feed_id = 2"; $result = mysql_db_query("fotocom",$sql); $temp3 = mysql_fetch_array($result); ?> <p id="p2" class="hide" > <input name="rss2" type="text" id="rss2" size="50" value="<?= $temp3['feed']?>" /> </p> <? require("Connections/connect.php"); $sql = "select * from rssfeed where feed_id = 3"; $result = mysql_db_query("fotocom",$sql); $temp4 = mysql_fetch_array($result); ?> <p id="p3" class="hide" > <input name="rss3" type="text" id="rss3" size="50" value="<?= $temp4['feed']?>" /> </p> <br><br> <div><input type="submit" name"save" value="บันทึกการแก้ไข" class="button"></div> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง