403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.155
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/myschool/queencollege/modules/news/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/queencollege/modules/news/read.php
<script type="text/javascript">
function showemotion() {
	emotion1.style.display = 'none';
	emotion2.style.display = '';
}
function closeemotion() {
	emotion1.style.display = '';
	emotion2.style.display = 'none';
}

function emoticon(theSmilie) {

	document.form2.COMMENT.value += ' ' + theSmilie + ' ';
	document.form2.COMMENT.focus();
}
</script>
	<TABLE cellSpacing=0 cellPadding=0 width=760 border=0>
      <TBODY>
        <TR>
          <TD width="10" vAlign=top><IMG src="images/fader.gif" border=0></TD>
          <TD width="710" vAlign=top><IMG src="images/topfader.gif" border=0><BR>
		  <!-- News -->
		  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="30%" align="left" valign="top"> <IMG SRC="images/menu/textmenu_news.gif" BORDER="0"></td>
    <td width="70%" align="right" valign="top"><div align="right"></div></td>
  </tr>
</table>
 <HR>
				<TABLE width="700" align=center cellSpacing=0 cellPadding=0 border=0>
<?
$_GET['id'] = intval($_GET['id']);
//แสดงข่าวสาร/ประชาสัมพันธ์ 
$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$res[news] = $db->select_query("SELECT * FROM ".TB_NEWS." WHERE id='$_GET[id]' ");
$arr[news] = $db->fetch($res[news]);
$db->closedb ();
if(!$arr[news][id]){
	echo "<BR><BR><BR><BR><CENTER><IMG SRC=\"images/icon/notview.gif\" BORDER=\"0\" ><BR><BR><B>ไม่มีรายการข่าวสาร/ประชาสัมพันธ์นี้</B></CENTER><BR><BR><BR><BR>";
}else{
	$FileNewsTopic = "data/newsdata/".$arr[news][post_date].".txt";
	$file_open = @fopen($FileNewsTopic, "r");
	$content = @fread ($file_open, @filesize($FileNewsTopic));
	$Detail = stripslashes(FixQuotes($content));
	//ทำการเพิ่มจำนวนคนเข้าชม
	$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
	$q[Pageview] = "UPDATE ".TB_NEWS." SET pageview = pageview+1 WHERE id = '".$_GET[id]."' ";
	$sql[Pageview] = mysql_query ( $q[Pageview] ) or sql_error ( "db-query",mysql_error() );
	//ชื่อหมวดหมู่ 
	$res[category] = $db->select_query("SELECT * FROM ".TB_NEWS_CAT." WHERE id='".$arr[news][category]."' "); 
	$arr[category] = $db->fetch($res[category]);
	$db->closedb ();
?>
				<TR>
					<TD>
					<table width="700" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="60"><img src="data/newsicon/<?=$arr[news][post_date];?>.jpg" width="80" height="80" align="middle"class="topicicon"></td>
    <td width="500" align="left" valign="top"><B><FONT COLOR="#990000" size=2>เรื่อง : <?=$arr[news][topic];?><br>ผู้เขียน : <?=$arr[news][posted];?><br>
					<?= ThaiTimeConvert($arr[news][post_date],"1","");?><br>เข้าชม : <?=$arr[news][pageview];?></FONT></B></td>
	 <td width="110" align="center" valign="top">
	<A HREF="?name=news&file=index2&id=<?=$arr[news][id];?>"><center><B><FONT COLOR="#CC0000">กลับไปแก้ไข</FONT></B></center></A></td>
  </tr>
</table>

<hr>
					</TD>
				</TR>
				<TR>
					<TD>
					<BR>
					<?=$Detail;?>
					<BR><BR>
					</TD>
				</TR>
				<TR>
					<TD height="1" class="dotline"></TD>
				</TR>
				<TR>
					<TD>
					<B><FONT COLOR="#990000"><?=$arr[category][category_name];?> 5 อันดับล่าสุด</B></FONT><BR><BR>
<?
//แสดงข่าวสาร/ประชาสัมพันธ์ 5 อันดับล่าสุดของหมวดหมู่ 
$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$res[cat_news] = $db->select_query("SELECT * FROM ".TB_NEWS." WHERE category='".$arr[category][id]."' ORDER BY id DESC LIMIT 5 ");
$rows[cat_news] = $db->rows($res[cat_news]); 
if(!$rows[cat_news]){
	echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ไม่มีรายการในประกาศหมวดหมู่นี้ ";
}
while($arr[cat_news] = $db->fetch($res[cat_news])){
?>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<IMG SRC="images/icon/suggest.gif" BORDER="0" ALIGN="absmiddle"> <B><A HREF="?name=news&file=readnews&id=<?=$arr[cat_news][id];?>" target="_blank"><?=$arr[cat_news][topic];?></A></B> <?= ThaiTimeConvert($arr[cat_news][post_date],"","");?><BR>
<?
}
$db->closedb ();
?>
					</TD>
				</TR>
<?
}
?>
			</TABLE>
			<br>
	<center><br>
<?
if($arr[news][enable_comment]){

	//Check Comment
	$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
	$res[comment] = $db->select_query("SELECT * FROM ".TB_NEWS_COMMENT." WHERE news_id='".$arr[news][id]."' ORDER BY id ");
	$count=0;
	while($arr[comment] = $db->fetch($res[comment])){
		$count  ++;
?>
			<TABLE cellSpacing=5 cellPadding=0 width=480 border=0 align="center" class="tablecomment">
			<TR>
				<TD><B><FONT COLOR="#990000">ความคิดเห็นที่ <?=$count;?></FONT></B>
				<?if($_SESSION['admin_user']){echo " <A HREF=\"?name=news&file=delete_comment&id=".$_GET[id]."&comment=".$arr[comment][id]."\"><IMG SRC=\"images/admin/trash.gif\" WIDTH=\"20\" HEIGHT=\"20\" BORDER=\"0\" ALIGN=\"absmiddle\"></A>";};?>
				<BR><?= ThaiTimeConvert($arr[comment][post_date],"1","1");?>
				</TD>
			</TR>
			<TR>
				<TD height="1" class="dotline"></TD>
			</TR>
			<TR>
				<TD><?=banword(CHANGE_EMOTICON(BBCODE($arr[comment][comment])));?></TD>
			</TR>
			<TR>
				<TD height="1" class="dotline"></TD>
			</TR>
			<TR>
				<TD><B><FONT COLOR="#990000">โดย : </FONT></B> <?=$arr[comment][name];?> &nbsp;&nbsp; <FONT COLOR="#990000"><B>ไอพี : </B></FONT><?=$arr[comment][ip];?>
				</TD>
			</TR>
			</TABLE>
			<BR>
<?
	}
	$db->closedb ();
?>
			<!-- Enable Comment -->
<?
if($_SESSION['user_user']){
//CheckUser($_SESSION['admin_user']);
		$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
		$res[admin] = $db->select_query("SELECT * FROM ".TB_ADMIN." WHERE username='".$_SESSION['admin_user']."' ");
		$arr[admin] = $db->fetch($res[admin]);
		?>
<?

//CheckUser($_SESSION['user_user']);
		$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
		$res[user] = $db->select_query("SELECT * FROM ".TB_user." WHERE username='".$_SESSION['user_user']."' ");
		$arr[user] = $db->fetch($res[user]);
		?>
			<TABLE cellSpacing=0 cellPadding=0 width=500 border=0 align="center">
			  <TBODY>
				<TR>
				  <TD width="10" vAlign=top><IMG src="images/fader.gif" border=0></TD>
				  <TD width="490" vAlign=top><IMG src="images/topfader.gif" border=0><BR>
				  <IMG SRC="images/menu/textmenu_comment.gif" BORDER="0"><BR>
						<FORM NAME="form2" METHOD=POST ACTION="?name=news&file=comment&id=<?=$_GET[id];?>">
						<TABLE cellSpacing=5 cellPadding=0 width=450 border=0 align="center">
						<TR>
							<TD width=80 align=right><B>ไอคอน : </B></TD>
							<TD>
										<div id="emotion1">
										  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
											<tr>
											  <td class="tahoma_blue"><a href="javascript:showemotion();">ใช้ไอคอน</a><br>
											  </td>
											</tr>
										  </table>
										</div>
										  <div id="emotion2" style="display: none;">
											<table width="100%"  border="0" cellspacing="0" cellpadding="0">
											  <tr>
												<td class="tahoma_blue">
						<a href="javascript:emoticon(':emo1:');"><img src="images/emotion/angel_smile.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo2:');"><img src="images/emotion/angry_smile.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo3:');"><img src="images/emotion/broken_heart.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo4:');"><img src="images/emotion/cake.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo5:');"><img src="images/emotion/confused_smile.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo6:');"><img src="images/emotion/cry_smile.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo7:');"><img src="images/emotion/devil_smile.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo8:');"><img src="images/emotion/embaressed_smile.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo9:');"><img src="images/emotion/envelope.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo10:');"><img src="images/emotion/heart.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo11:');"><img src="images/emotion/kiss.gif" border="0"></a>&nbsp; <br>
						<a href="javascript:emoticon(':emo12:');"><img src="images/emotion/lightbulb.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo13:');"><img src="images/emotion/omg_smile.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo14:');"><img src="images/emotion/regular_smile.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo15:');"><img src="images/emotion/sad_smile.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo16:');"><img src="images/emotion/shades_smile.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo17:');"><img src="images/emotion/teeth_smile.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo18:');"><img src="images/emotion/thumbs_down.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo19:');"><img src="images/emotion/thumbs_up.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo20:');"><img src="images/emotion/tounge_smile.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo21:');"><img src="images/emotion/whatchutalkingabout_smile.gif" border="0"></a>&nbsp; <a href="javascript:emoticon(':emo22:');"><img src="images/emotion/wink_smile.gif" border="0"></a>&nbsp;<BR>
						<a href="javascript:emoticon(':emo23:');"><img src="images/emotion2/001.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo24:');"><img src="images/emotion2/002.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo25:');"><img src="images/emotion2/003.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo26:');"><img src="images/emotion2/004.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo27:');"><img src="images/emotion2/005.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo28:');"><img src="images/emotion2/006.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo29:');"><img src="images/emotion2/007.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo30:');"><img src="images/emotion2/008.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon('::emo31:');"><img src="images/emotion2/009.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo32:');"><img src="images/emotion2/010.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo33:');"><img src="images/emotion2/011.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo34:');"><img src="images/emotion2/012.gif" border="0"></a>&nbsp; <BR>
						<a href="javascript:emoticon(':emo35:');"><img src="images/emotion2/013.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo36:');"><img src="images/emotion2/014.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo37:');"><img src="images/emotion2/015.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo38:');"><img src="images/emotion2/016.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo39:');"><img src="images/emotion2/017.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo40:');"><img src="images/emotion2/018.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo41:');"><img src="images/emotion2/019.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo42:');"><img src="images/emotion2/020.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo43:');"><img src="images/emotion2/021.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo44:');"><img src="images/emotion2/022.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo45:');"><img src="images/emotion2/023.gif" border="0"></a>&nbsp; <BR>
						<a href="javascript:emoticon(':emo46:');"><img src="images/emotion2/024.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo47:');"><img src="images/emotion2/025.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo48:');"><img src="images/emotion2/026.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo49:');"><img src="images/emotion2/027.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo50:');"><img src="images/emotion2/028.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo51:');"><img src="images/emotion2/029.gif" border="0"></a>&nbsp; 
						<a href="javascript:emoticon(':emo52:');"><img src="images/emotion2/030.gif" border="0"></a>&nbsp; 
						&nbsp;&nbsp;&nbsp;<a href="javascript:closeemotion();">ปิด</a> </td>
											  </tr>
											</table>
										  </div>

						<script language="JavaScript">
						function setURL()
						{
							var temp = window.prompt('ใส่ URL ที่คุณต้องการสร้างเป็นลิงค์','http://'); 
							if(temp) setsmile('[url]'+temp+'[/url]');
						}

						function setImage()
						{
							var temp = window.prompt('ใส่ URL ของรูปที่คุณต้องการให้แสดง','http://'); 
							if(temp) setsmile('[img]'+temp+'[/img]');
						}

						function setBold()
						{
							var temp = window.prompt('ใส่ข้อความที่คุณต้องการทำเป็นตัวหนา',''); 
							if(temp) setsmile('[b]'+temp+'[/b]');
						}
						function setLeft()
						{
							var temp = window.prompt('ใส่ข้อความที่คุณต้องการจัดซ้าย',''); 
							if(temp) setsmile('[left]'+temp+'[/left]');
						}
						function setCenter()
						{
							var temp = window.prompt('ใส่ข้อความที่คุณต้องการจัดกลาง',''); 
							if(temp) setsmile('[center]'+temp+'[/center]');
						}
						function setRight()
						{
							var temp = window.prompt('ใส่ข้อความที่คุณต้องการจัดขวา',''); 
							if(temp) setsmile('[right]'+temp+'[/right]');
						}
						function setsup()
						{
							var temp = window.prompt('ใส่ข้อความที่คุณต้องการทำเป็นตัวยก',''); 
							if(temp) setsmile('[sup]'+temp+'[/sup]');

						}
						function setsub()
						{
							var temp = window.prompt('ใส่ข้อความที่คุณต้องการทำเป็นตัวห้อย',''); 
							if(temp) setsmile('[sub]'+temp+'[/sub]');
						}
						function setglow()
						{
							var temp = window.prompt('ใส่ข้อความที่คุณต้องการทำเป็นตัวเรืองแสง',''); 
							if(temp) setsmile('[glow]'+temp+'[/glow]');
						}
						function setshadow()
						{
							var temp = window.prompt('ใส่ข้อความที่คุณต้องการทำเป็นตัวอักษรมีเงา',''); 
							if(temp) setsmile('[shadow]'+temp+'[/shadow]');
						}
						function setItalic()
						{
							var temp = window.prompt('ใส่ข้อความที่คุณต้องการทำเป็นตัวเอียง',''); 
							if(temp) setsmile('[i]'+temp+'[/i]');
						}

						function setUnderline()
						{
							var temp = window.prompt('ใส่ข้อความที่คุณต้องการให้มีเส้นใต้',''); 
							if(temp) setsmile('[u]'+temp+'[/u]');
						}

						function setColor(color,name)
						{
							var temp = window.prompt('ใส่ข้อความที่คุณต้องการให้เป็นสี'+name,''); 
							if(temp) setsmile('[color='+color+']'+temp+'[/color]');
						}
						function setWinamp()
						{
							var temp = window.prompt('ใส่ URL ของไฟล์เพลงที่ท่านต้องการแทรกในข้อความของท่าน','http://'); 
							if(temp) setsmile('[media]'+temp+'[/media]');
						}
						function setVideo()
						{
							var temp = window.prompt('ใส่ URL ของไฟล์วีดีโอคลิปที่ท่านต้องการแทรกในข้อความของท่าน','http://'); 
							if(temp) setsmile('[movie]'+temp+'[/movie]');
						}
						function setlink()
						{
							var temp = window.prompt('ใส่ URL ของเว็บไซต์ที่ต้องการทำลิงก์','http://'); 
							if(temp) setsmile('[url]'+temp+'[/url]');
						}
						function setEmail()
						{
							var temp = window.prompt('ใส่ อีเมล์ของท่าน',''); 
							if(temp) setsmile('[email]'+temp+'[/email]');
						}
						function setFlash()
						{
							var temp = window.prompt('ใส่ URL ของไฟล์ Flash ที่ท่านต้องการนำมาแสดง','http://'); 
							if(temp) setsmile('[flash=200,200]'+temp+'[/flash]');
						}


						function setsmile(what)
						{
							document.form2.COMMENT.value = document.form2.elements.COMMENT.value+" "+what;
							document.form2.COMMENT.focus();
						}
						</script>
						<a href="javascript:setsmile('[---]')"><img src="images/icon/indent.gif" border=0 alt="ย่อหน้า"></a> 
						<a href="javascript:setLeft()"><img src="images/icon/left.gif" border=0 alt="จัดซ้าย"></a> 
						<a href="javascript:setCenter()"><img src="images/icon/center.gif" border=0 alt="จัดกลาง"></a> 
						<a href="javascript:setRight()"><img src="images/icon/right.gif" border=0 alt="จัดขวา"></a> 
													<a href="javascript:setBold()"><img src="images/icon/b.gif" border=0 alt="ตัวหนา"></a> 
													<a href="javascript:setItalic()"><img src="images/icon/i.gif" border=0 alt="ตัวเอียง"></a> 
													<a href="javascript:setUnderline()"><img src="images/icon/u.gif" border=0 alt="เส้นใต้"></a> 
													<a href="javascript:setsup()"><img src="images/icon/sup.gif" border=0 alt="ตัวยก"></a> 
													<a href="javascript:setsub()"><img src="images/icon/sub.gif" border=0 alt="ตัวห้อย"></a> 
													<a href="javascript:setglow()"><img src="images/icon/glow.gif" border=0 alt="ตัวหนังสือเรืองแสง"></a> 
													<a href="javascript:setshadow()"><img src="images/icon/shadow.gif" border=0 alt="ตัวหนังสือมีเงา"></a> 
													<a href="javascript:setColor('#FF0000','แดง')"><img src="images/icon/redcolor.gif" border=0 alt="สีแดง"></a> 
													<a href="javascript:setColor('#009900','เขียว')"><img src="images/icon/greencolor.gif" border=0 alt="สีเขียว"></a> 
													<a href="javascript:setColor('#0000FF','น้ำเงิน')"><img src="images/icon/bluecolor.gif" border=0 alt="สีน้ำเงิน"></a> 
													<a href="javascript:setColor('#FF6600','ส้ม')"><img src="images/icon/orangecolor.gif" border=0 alt="สีส้ม"></a> 
													<a href="javascript:setColor('#FF00FF','ชมพู')"><img src="images/icon/pinkcolor.gif" border=0 alt="สีชมพู"></a> 
													<a href="javascript:setColor('#999999','เทา')"><img src="images/icon/graycolor.gif" border=0 alt="สีเทา"></a>
													<BR><a href="javascript:setsmile('[quote][/quote]')"><img src="images/icon/quote.gif" border=0 alt="อ้างอิงคำพูด"></a>
													<a href="javascript:setWinamp()"><img src="images/icon/winamp.gif" border=0 alt="เพิ่มเพลง"></a> 
													<a href="javascript:setVideo()"><img src="images/icon/video.gif" border=0 alt="เพิ่มวีดีโอคลิป"></a> 
													<a href="javascript:setImage()"><img src="images/icon/tree.gif" border=0 alt="เพิ่มรูปภาพ"></a>
													<a href="javascript:setFlash('')"><img src="images/icon/flash.gif" border=0 alt="เพิ่มไฟล์ Flash"></a>
													<a href="javascript:setlink()"><img src="images/icon/link.gif" border=0 alt="เพิ่มลิงก์"></a>
													<a href="javascript:setEmail()"><img src="images/icon/email.gif" border=0 alt="เพิ่มอีเมล์"></a>
							</TD>
						</TR>
						<TR>
							<TD width="80" align="right" valign=top><B>ความคิดเห็น : </B></TD>
							<TD><TEXTAREA NAME="COMMENT" ROWS="7" COLS="5" style="width:300"></TEXTAREA></TD>
						</TR>
						<TR>
							<TD width="80" align="right"><B>ผู้บันทึก : </B></TD>
						<TD><INPUT TYPE="text" NAME="POSTED" style="width:300" VALUE="<?=$arr[admin][name];?> <?=$arr[user][name];?> "  readonly style=\"color: #FF0000" ></TD><br>
						</TR>
<?
if(USE_CAPCHA){
?>
						<TR>
							<TD width="80" align="right">
							<?if(CAPCHA_TYPE == 1){ 
								echo "<img src=\"capcha/CaptchaSecurityImages.php?width=".CAPCHA_WIDTH."&height=".CAPCHA_HEIGHT."&characters=".CAPCHA_NUM."\" width=\"".CAPCHA_WIDTH."\" height=\"".CAPCHA_HEIGHT."\" align=\"absmiddle\" />";
							}else if(CAPCHA_TYPE == 2){ 
								echo "<img src=\"capcha/val_img.php?width=".CAPCHA_WIDTH."&height=".CAPCHA_HEIGHT."&characters=".CAPCHA_NUM."\" width=\"".CAPCHA_WIDTH."\" height=\"".CAPCHA_HEIGHT."\" align=\"absmiddle\" />";
							};?>
							</TD>
							<TD><input name="security_code" type="text" id="security_code" size="20" maxlength="6" style="width:80" > ใส่รหัสที่ท่านเห็นลงในช่องนี้ </TD>
						</TR>
<?
}
?>
						<TR>
							<TD width="80" align="right" valign=top></TD>
							<TD><INPUT TYPE="submit" value=" แสดงความคิดเห็น "><BR>
							</TD>
						</TR>
						</TABLE>
						</FORM>
				  </TD>
				</TR>
			  </TBODY>
			</TABLE>
	<?
}
 { 	  
?>
<? } ?>
			<!-- End Enable Comment -->
<?
}
?>

			<!-- End News -->
		  </TD>
        </TR>
      </TBODY>
    </TABLE>

Youez - 2016 - github.com/yon3zu
LinuXploit