Sindbad~EG File Manager

Current Path : /home/sarayaglobal/.trash/tar/
Upload File :
Current File : /home/sarayaglobal/.trash/tar/adminupdate.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" />
<title>CMS</title>
    <link rel="stylesheet" type="text/css" href="css/style.css">

</head>

<style type="text/css">

.save {
	position: absolute;
	top: 75px;
	left: 750px;
	width: 123px;
	height: 30px;
}


</style>
<?php
session_start();

include 'dbc.php';

$id = $_GET['id'];
$sql="SELECT * FROM staff WHERE sid='$id'";
$result=mysql_query($sql);
$row = mysql_fetch_array($result);
$count=mysql_num_rows($result);

				$sqlad = "SELECT * FROM staff where sname='".$_SESSION["sname"]."'";
      			$rowad = mysql_query($sqlad);  // Retrieve all the rows
				$data=mysql_fetch_array($rowad);
?>

<body>
<div class="full-wrapper">
<div class="header">
<div class="container">
<div class="logo">
<img src="img/logo.png" style="width: 240px;"> 
</div>
<h2>KOMTAR DIGITAL SIGNAGE SYSTEM <span style="font-size:12px">v.1.2</span></h2>
</div>
</div>
<div class="main-container">

<div class="menu">
<div class="container">
<div class="name">
 <a href="main.php"><img src="img/home.png" width="15" height="15" /></a>
</div>
<div class="logout">
<table width="93" border="0">
<tr> <td width="40">
<a href="admin.php"> <img src="img/user.png" width="20" height="20" /></a> 
</td>
<td width="55">
<a href="logout.php"> <img src="img/logout-1.png" width="20" height="20" /></a>
</td></tr>
</table>
</div>
</div>
</div>
<div class="sidemain">
<div class="sidebar" >
<div class="directory">
<a href="directory/stores.php">
<span  class="head"> Directory</span></a>
</div>
<div class="directory">
<a href="directory/storeadd.php">
<span style="line-height: 25px;"><img src="img/store.png" width="25px" style="float: left; margin-right: 10px;"> Add Store</span></a>
</div>
<div class="directory">
<a href="directory/stsearch.php">
<span style="line-height: 25px;"><img src="img/search.png" width="25px" style="float: left; margin-right: 10px;"> Search Store</span></a>
</div>
<div class="directory">
<a href="directory/events2.php">
<span style="line-height: 25px;"><img src="img/events.png" width="25px" style="float: left; margin-right: 10px;"> Events & Promotions</span></a>
</div>
<div class="directory">
<a href="directory/slider2.php">
<span style="line-height: 25px;"><img src="img/slider.png" width="25px" style="float: left; margin-right: 10px;"> Slider</span></a>
</div>
<div class="directory ">
<a href="signage/signage-list.php">
<span  class="head">Signage</span></a>
</div>
<div class="directory">
<a href="signage/shadd.php">
<span style="line-height: 25px;"><img src="img/add-signage.png" width="25px" style="float: left; margin-right: 10px;"> Add Signage</span></a>
</div>
<div class="directory">
<a href="signage/signage-list.php">
<span style="line-height: 25px;"><img src="img/add-signage.png" width="25px" style="float: left; margin-right: 10px;"> Signage List</span></a>
</div>

<div class="directory">
<a href="category.php">
<span  class="head"> Category </span></a>
</div>
<div class="directory">
<a href="subcategory.php">
<span  class="head"> Sub Category </span></a>
</div>
<div class="directory">
<a href="media.php">
<span  class="head"> Media Library</span></a>
</div>
<div class="directory">
<a href="admin.php">
<span  class="head"> Settings </span></a>
</div>
 </div>
</div>
<!--
<div class="menu">
<table width="606">
<tr>
<td width="116" align="center"><a href="transport.php"><img src="img/transparent.png" width="105" height="25" /></a></td>
<td width="82" align="center"><a href="stores.php"><img src="img/transparent.png" width="57" height="25" /></a></td>
<td width="113" align="center"><a href="promotions2.php"><img src="img/transparent.png" width="94" height="25" /></a></td>
<td width="89" align="center"><a href="events2.php"><img src="img/transparent.png" width="61" height="25" /></a></td>
<td width="104" align="center"><a href="contact.php"><img src="img/transparent.png" width="86" height="25" /></a></td>
<td width="74" align="center"><a href="main.php"><img src="img/transparent.png" width="49" height="25" /></a></td>
</tr>
</table>
</div> -->

<div class="content">
	<form action="updateadminpro.php" method="POST">
        <table width="603" height="314"  border="0">
          <tr>
            <td height="35" colspan="2"><strong>ADMIN UPDATE</strong></td>
          </tr>  
           <tr>
            <td width="120" height="29" bgcolor="#ECF0F1"><p>Password </p></td>
            <td width="473" bgcolor="#ECF0F1"><p>
              : 
              <input name="spass" type="password" value="" /> *
            </p></td>
          </tr>
          <tr>
            <td width="120" height="43" bgcolor="#CCCCFF">Name </td>
            <td width="473" bgcolor="#CCCCFF">
                <input type="hidden" name="sid" value="<?php echo $row['sid']; ?>" />
                : 
                <input name="name" type="text" value="<?php echo $row['name']; ?>" size="50" /></td>
          </tr>
           <tr>
            <td width="120" height="46" bgcolor="#CCCCFF">Username </td>
            <td width="473" bgcolor="#CCCCFF"> 
                : 
                <input name="sname" type="text" value="<?php echo $row['sname']; ?>" size="50" /></td>
          </tr>
           <tr>
            <td width="120" height="51" bgcolor="#CCCCFF">New Password </td>
            <td width="473" bgcolor="#CCCCFF">
                : 
                <input name="spass2" type="password" value="" /></td>
          </tr>
  		<tr>
        <td height="96" colspan="2">
          <p>
          <a href="admin.php"> <img src="img/back2.png" width="35" height="25" /></a>
            <input type="image" src="img/btn_upload-01.png" value="submit" name="SENT" width="80" height="25" >
            </p>
          <p>&nbsp; </p></td>
  </tr>
	  </table> 
  </form>
</div>
</div>
</div>

</body>
</html>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists