Location: PHPKode > scripts > Report Manger > report-manger/DeletingUser.php
<?php
	require('config.php');
	require_once('Auth.php');
	require_once('classMySql.php');
	$Uid = $_SESSION["uid"] ;
	$mydb = new db_mysql($locaaal,$useeer,$paaass,$dataaabase);
        print "<p align=\"right\" dir=\"rtl\">شما با نام کاربری " . "<b>" . $Uid . "</b> وارد شده اید<br>";
        $value=$Uid;
        $sql = "select PN,Permission from logins where (UserId = '$value');";
        $result2=mysql_query($sql);
        $show=mysql_fetch_row($result2);
        print "گروهی که شما در فعالیت می کنید :" . "<b>" . $show[0] . "<B><br><br></p>";
	$id = $_GET["id"] ;
	$mydb->select("`UserId`,`Name`,`FullName`","`logins`","1 AND `UserId` LIKE '$id'");
	$myar = $mydb->fetch_row() ;
	$id = $_GET["id"] ;
?>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Athur" content="Ali Hosseini" Email="hide@address.com">
<LINK href="style/style.css" rel=stylesheet>
<title>حذف کاربر</title>
</head>
<BODY topmargin="0" leftmargin="0" bgcolor="#e6e6e6">
<P><BR><BR>
</P>
<center>
  <TABLE border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="70%" id="AutoNumber1" height="102">
    <tr>
            <TD background="images/top_01_1.gif" height="41" align="right">
	   <?php
    switch ($show[1]){
        case "0";
        echo "<A href=\"sh_active.php\"><img src=\"images/top_activity.gif\" width=\"44\" height=\"41\" border=\"0\"></A>
	      <A href=\"sh_trouble.php\"><img src=\"images/top_troubles.gif\" width=\"44\" height=\"41\" border=\"0\"></A>
	      <A href=\"super_admin.php\"><img src=\"images/top_reports.gif\" width=\"44\" height=\"41\" border=\"0\"></A>
              <A href=\"Super_admin_EdittingUsers.php\"><img src=\"images/eidt_user.gif\" width=\"44\" height=\"41\" border=\"0\"></A>
              <A href=\"ChangePass.php\"><img src=\"images/chpass.gif\" width=\"44\" height=\"41\" border=\"0\"></A>
              <A href=\"LogOut.php\"><IMG src=\"images/logout_on.gif\" width=\"44\" height=\"41\" border=\"0\"></A>
              </TD>";
        break;
        case "1";
        echo "<A href=\"admin_Sender.php\"><img src=\"images/top_send.gif\" width=\"44\" height=\"41\" border=\"0\"></A>
	      <A href=\"admin.php\"><img src=\"images/top_reports.gif\" width=\"44\" height=\"41\" border=\"0\"></A>
              <A href=\"EdittingUsers.php\"><img src=\"images/eidt_user.gif\" width=\"44\" height=\"41\" border=\"0\"></A>
              <A href=\"ChangePass.php\"><img src=\"images/chpass.gif\" width=\"44\" height=\"41\" border=\"0\"></A>
              <A href=\"LogOut.php\"><IMG src=\"images/logout_on.gif\" width=\"44\" height=\"41\" border=\"0\"></A>
              </TD>";
        break;
        case "2";
        echo "<A href=\"Sender.php\"><img src=\"images/top_send.gif\" width=\"44\" height=\"41\" border=\"0\"></A>
              <A href=\"ChangePass.php\"><img src=\"images/chpass.gif\" width=\"44\" height=\"41\" border=\"0\"></A>
              <A href=\"LogOut.php\"><IMG src=\"images/logout_on.gif\" width=\"44\" height=\"41\" border=\"0\"></A>
              </TD>";
        break;
    }
    ?>



</TD>
    </tr>
    <TR>
      <TD bgcolor="#ffffff"><p dir="rtl" align="center"><FONT color="#000000" size="6">آيا از حذف <?php echo $myar[1]." ".$myar[2]." " ;?>مطمئن هستيد ؟</FONT></p>
<p align="center">
<input type="button" value="خير" onclick="javascript:location.href='http:EdittingUsers.php';"> <input type="button" value="بله" tabindex="1" onclick="javascript:location.href='DeletingUser2.php?id=<?php echo $id ?>';"></p>
</TD>
    </TR>
    <tr>
      <TD width="80%" height="19" background="images/bottom_bg.gif">&nbsp;</TD>
    </tr>
  </TABLE>
  </center>

</BODY>

</html>
Return current item: Report Manger