403Webshell
Server IP : 172.67.187.206  /  Your IP : 162.159.115.42
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 :  E:/Inetpub/www/myschool/ratana/2569/modules/news/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/myschool/ratana/2569/modules/news/index1.php
    
	<TABLE cellSpacing=0 cellPadding=0 width=1000 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="700" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="200"><div align="left"><IMG SRC="images/menu/textmenu_news.gif" BORDER="0"></div></td>
    <td width="500" valign="top"><div align="right"><?
			if($_SESSION['user_user']){
			//Admin Login Show Icon
			?>
				 <IMG src="images/trash_16[1].gif"  align="absbottom"> <a href="?name=news&file=add&op=news_add" align="absbottom"><FONT COLOR="#990000"><b> เพิ่มเรื่องใหม่</b></FONT></a>
				<?
			}
		 { 	  
		?>
		<? } ?></div></td>
  </tr>
</table>
<hr>
				<TABLE width="700" align=center cellSpacing=0 cellPadding=0 border=0>
<?
//แสดงข่าวสาร/ประชาสัมพันธ์ 
if($_GET[category]){
	$SQLwhere = " category='".$_GET[category]."' ";
	$SQLwhere2 = " WHERE category='".$_GET[category]."' ";
}
$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$limit = 20 ;
$SUMPAGE = $db->num_rows(TB_NEWS,"id","$SQLwhere");
$page=$_GET[page];
if (empty($page)){
	$page=1;
}
$rt = $SUMPAGE%$limit ;
$totalpage = ($rt!=0) ? floor($SUMPAGE/$limit)+1 : floor($SUMPAGE/$limit); 
$goto = ($page-1)*$limit ;

$res[news] = $db->select_query("SELECT * FROM ".TB_NEWS." $SQLwhere2 ORDER BY id DESC LIMIT $goto, $limit ");
$count=0;
while($arr[news] = $db->fetch($res[news])){
	if ($count==0) { echo "<TR>"; }
	//ชื่อหมวดหมู่ 
	$res[category] = $db->select_query("SELECT category_name FROM ".TB_NEWS_CAT." WHERE id='".$arr[news][category]."' "); 
	$arr[category] = $db->fetch($res[category]);
?>
			<TD width="50%" valign=top>	
				<TABLE width="100%">
				<TR>
					<TD><FONT COLOR="#990000"><B>
					ผู้เขียน : <?=$arr[news][posted];?><br><?= ThaiTimeConvert($arr[news][post_date],"","");?>
					</B></FONT></TD>
				</TR>
				<TR><TD height="3" ></TD></TR>
				<TR>
					<TD>
					<A HREF="?name=news&file=readnews&id=<?=$arr[news][id];?>">
					<IMG SRC="newsicon/<?=$arr[news][post_date];?>.jpg " WIDTH="48" HEIGHT="48" BORDER="0" ALIGN="left" class="topicicon"><B><?=$arr[news][topic];?></A></B>
					<BR><?=$arr[news][headline];?><A HREF="?name=news&file=readnews&id=<?=$arr[news][id];?>"> <FONT COLOR="#990000">อ่านต่อ...</FONT></A><?NewsIcon(TIMESTAMP, $arr[news][post_date], "images/icon_new.gif");?>
					</TD>
				</TR>
				<TR><TD height="3" ></TD></TR>
				</TABLE>
			</TD>
<?
$count++;
if (($count%_NEWS_COL) == 0) { echo "</TR><TR><TD colspan=2 height=\"1\" class=\"dotline\"></TD></TR>"; $count=0; }
}
$db->closedb ();
//จบการแสดงข่าวสาร
?>
				</TABLE>
				<BR>
				<table border="0" cellpadding="0" cellspacing="1" width="700" align=center>
					<tr>
						<td>
				<?
				SplitPage($page,$totalpage,"?name=news&category=".$_GET[category]."");
				echo $ShowSumPages ;
				echo "<BR>";
				echo $ShowPages ;
				?>
						</td>
					</tr>
				</table>
				<BR><BR>
			<!-- End News -->
		  </TD>
        </TR>
      </TBODY>
    </TABLE>
	<BR><BR><BR>

Youez - 2016 - github.com/yon3zu
LinuXploit