HEX
Server: Apache
System: Linux sg2plmcpnl492417.prod.sin2.secureserver.net 4.18.0-553.58.1.lve.el8.x86_64 #1 SMP Fri Jul 4 12:07:06 UTC 2025 x86_64
User: nyiet8349bzl (9207396)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/nyiet8349bzl/Backup/sbc_back/homedir/public_html/old-myadmin/admin/list.php
<?php
if (!defined('WEB_ROOT')) {
	exit ;
}
?>
<div id="ptitle">
	:.: Adminstrator Settings
</div>
<script type="text/javascript" src="<?php echo WEB_ROOT;?>myadmin/library/admin.js"></script>
<fieldset style="width:700px;">
	<legend>
		<b>Admin User</b>
	</legend>
	<form action="" method="post" id="frmListAdmin">
		<br>
		<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
			<tr align="center" bgcolor="#669999">
				<th width="150">Full Name</th>
				<th>E-Mail Address</th>
				<th>User Name</th>
				<th width="120">Change Password</th>
				<th width="50">Modify</th>
			</tr>
			<?php
$sql = "SELECT * FROM chadmin WHERE Status=1";
$result     = dbQuery($sql);
$parentId = 0;
if (dbNumRows($result) > 0) {
$i = 0;
while($row = dbFetchAssoc($result)) {
extract($row);
if ($i%2) {
$class = '#dddddd';
} else {
$class = '#CCCCCC';
}
$i += 1;
			?>
			<tr bgcolor="<?php echo $class;?>">
				<td><?php echo $Full_Name;?></td>
				<td><?php echo $Email;?></td>
				<td><?php echo $User_Name;?></td>
				<td><a href="javascript:changepsw(<?php echo $AID;?>)"> Change Password </a></td>
				<td width="70" align="center"><a href="javascript:modifyAdmin(<?php echo $AID;?>);">Modify</a></td>
			</tr>
			<?php
			} // end while
			?>

			<?php
			} else {
			?>
			<tr>
				<td colspan="5" align="center">No Admin Yet</td>
			</tr>
			<?php
			}
			?>
		</table>
	</form>
</fieldset>
<br/>
<br/>