Location: PHPKode > projects > Openology PHP Application Integration > openology/backend/sys_user_del.php
<?php
header('content-type:text/html;charset=UTF-8');
require(dirname(__FILE__)."/config.php");
if(empty($job)) $job="";
if(empty($ID)) $ID="";
if($ID!=""&&$job=="yes")
{
	$ID = ereg_replace("[^0-9]","",$ID);
	$conn = connectMySql();
	mysql_query("delete from bbb_user where ID=$ID",$conn);
	ShowMsg("$delSuc","sys_manager.php");
	exit();
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-EU" lang="en-EU">
<head>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
<title><?php echo $TEXT['adminDel'];?></title>
<link href='css/style.css' rel='stylesheet' type='text/css'>
</head>
<body>
<table id="tt" border="0" cellspacing="0" cellpadding="0" width="90%" align="center">
  <tr height="28">
    <td id="tl">&nbsp;</td>
    <td id="tc"><h2><?php echo $TEXT['adminDel'];?>[&nbsp;<a href="sys_manager.php"><?php echo $TEXT['admin'];?></a>&nbsp;]</h2></td>
	<td id="tr">&nbsp;</td>
  </tr>
  <tr>
    <td id="l">&nbsp;</td>
    <td align="center" valign="top"><form name="form1">
	<input type="hidden" name="ID" value="<?=$ID?>">
	<input type="hidden" name="job" value="yes">
	   <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td>&nbsp;</td>
          </tr>
          <tr> 
            <td id="tf" height="30"><?php echo $TEXT['delUser'];?>:&nbsp;<?=$ad_name?>&nbsp; <?php echo $TEXT['ma'];?>?</td>
          </tr>
          <tr> 
            <td height="41"><input type="submit" name="Submit" value="<?php echo $TEXT['confirm'];?>"><input type="button" name="close" value="<?php echo $TEXT['cancel'];?>" onclick="javascript:history.go(-1);" /></td>
          </tr>
        </table>
	  </form>
	  </td>
	  <td id="r">&nbsp;</td>
  </tr>
  <tr>
  <td id="bl">&nbsp;</td>
  <td id="bc">&nbsp;</td>
  <td id="br">&nbsp;</td>
  </tr>
</table>
</body>
</html>
Return current item: Openology PHP Application Integration