예제 #1
0
                                                                    <?php 
if (isset($_GET['success1'])) {
    ?>
                                                                    <div class="app-alerts alert alert-success fade in">
                                                                        <button type="button" class="close" data-dismiss="alert" aria-hidden="true"></button>
                                                                         Profile Successfully updated.
                                                                    </div>
                                                                    <?php 
}
?>
                                                                   
                                                                        <div class="form-group">
										<label class="col-md-4 control-label">Usertype</label>
										<div class="col-md-8">
                                                                                    <?php 
$utypea = get_the_usertype($userarrxx['slno']);
?>
                                                                                    <input type="text" value="<?php 
echo ucfirst($utypea['usertype']);
?>
"   class="form-control"  disabled>
										</div>
									</div>
                                                                    
									<div class="form-group">
										<label class="col-md-4 control-label">Username</label>
										<div class="col-md-8">
											
                                                                                            <input type="text" value="<?php 
echo $userarrxx['username'];
?>
예제 #2
0
						<div class="portlet-title">
							<div class="caption">
								<i class="fa fa-reorder"></i> Edit User
							</div>

						</div>

						<div class="portlet-body form">
                                                    <form class="form-horizontal" role="form" method="post">

								<div class="form-body">
                                                                    <div class="form-group">
										<label class="col-md-3 control-label">User type</label>
										<div class="col-md-4">
                                                                                    <input type="text" class="form-control" name="username" placeholder="Enter Username" value="<?php 
$utype = get_the_usertype($user_arr['usertype']);
echo $utype['usertype'];
?>
" readonly >

										</div>
									</div>
									<div class="form-group">
										<label class="col-md-3 control-label">Username</label>
										<div class="col-md-4">
                                                                                    <input type="text" class="form-control" name="username" placeholder="Enter Username" value="<?php 
echo $user_arr['username'];
?>
" required>

										</div>
예제 #3
0
$page = isset($_GET['page']) ? (int) $_GET['page'] : 1;
$start = ($page - 1) * $per_page;
$resultu = mysql_query($rs_vw . " LIMIT {$start},{$per_page}");
while ($data = mysql_fetch_array($resultu)) {
    ?>
                                                                    <tr>
                                                                        <td><input type="checkbox" class="each-check" name="id[]" value="<?php 
    echo $data['slno'];
    ?>
"></td>
                                                                        <td><?php 
    echo $data['slno'];
    ?>
</td>
                                                                        <td><?php 
    $utype = get_the_usertype($data['usertype']);
    echo $utype['usertype'];
    ?>
</td>
                                                                        <td><?php 
    echo $data['username'];
    ?>
</td>
                                                                        <td><?php 
    echo date("M,d Y", strtotime($data['debut']));
    ?>
</td>
                                                                        <td><?php 
    echo user_have_email($data['slno']);
    ?>
</td>