Example #1
0
</tr></thead>
<tbody><?php 
    $Query = "SELECT * FROM users WHERE email!='' ORDER BY id DESC LIMIT 0,5";
    $Result = mysql_query($Query) or die(mysql_error());
    while ($Row = mysql_fetch_array($Result)) {
        if ($Row['content'] == "") {
        } else {
            $Row['content'] = unserialize($Row['content']);
        }
        if ($Row['info'] == "") {
        } else {
            $Row['info'] = unserialize($Row['info']);
        }
        if ($Row['info']['access'] == "0") {
        } else {
            $Access = CwUserAccess($Row['info']['access']);
            $Status = CwUserStatus($Row['info']['status']);
            if (mysql_real_escape_string($Row['name']) == "") {
                $Row['name'] = $Row['info']['firstname'] . " " . $Row['info']['lastname'];
            }
            ?>
<tr class="odd gradeX">
<td><?php 
            echo mysql_real_escape_string($Row['name']);
            ?>
</td>
<td><?php 
            echo mysql_real_escape_string($Access);
            ?>
</td>
<td><?php 
Example #2
0
<div class="form-group">
<<<<<<< HEAD
=======
<label class="col-sm-3 control-label">E-Mail</label>
<div class="col-sm-6">
<input type="text" name='email' placeholder="Enter Title" class="form-control" value='<?php 
echo $CurrentUser['email'];
?>
'>
</div></div><br><br>
<div class="form-group">
>>>>>>> origin/master
<label class="col-sm-3 control-label">Account Type:</label>
<div class="col-sm-6">
<input type="text" class="form-control" value='<?php 
echo CwUserAccess($Current_Admin_Access);
?>
' disabled>
</div></div><br><br>
<br><br>
Change Account Password: 
<hr>
<div class="form-group">
<label class="col-sm-3 control-label">Enter Password</label>
<div class="col-sm-6">
<input type="password" name='pword[1]' placeholder="Enter New Password" class="form-control" value=''>
</div></div><br><br>
<div class="form-group">
<label class="col-sm-3 control-label">Confirm Password</label>
<div class="col-sm-6">
<input type="password" name='pword[2]' placeholder="Confirm New Password" class="form-control" value=''>