Mini Shell
<?php include'header.php'; ?>
<?php include'menu.php'; ?>
<!-- /#Start -->
<!-- /#Start -->
</div><!-- /#left -->
<div id="content">
<div class="outer">
<div class="inner bg-light lter">
<style>
.form-control.col-lg-6 {
width: 50% !important;
}
</style>
<div class="row">
<div class="col-lg-12">
<div class="box">
<header class="dark">
<div class="icons">
<i class="fa fa-check"></i>
</div>
<h5>PROFILE INFO</h5>
<!-- .toolbar -->
<div class="toolbar">
<nav style="padding: 8px;">
<a href="javascript:;" class="btn btn-default btn-xs collapse-box">
<i class="fa fa-minus"></i>
</a>
<a href="javascript:;" class="btn btn-default btn-xs full-box">
<i class="fa fa-expand"></i>
</a>
<a href="javascript:;" class="btn btn-danger btn-xs close-box">
<i class="fa fa-times"></i>
</a>
</nav>
</div><!-- /.toolbar -->
</header>
<div id="collapse2" class="body">
<form class="form-horizontal" id="popup-validation" action="profile_edit.php" method="post">
<?php
$pro=mysql_query("select * from reg ");
while($profetch=mysql_fetch_row($pro))
{
?>
<div class="form-group">
<label class="control-label col-lg-4">Profile Pic</label>
<div class="col-lg-8">
<div class="fileinput fileinput-new" data-provides="fileinput">
<div class="fileinput-preview thumbnail" data-trigger="fileinput" style="width: 200px; height: 150px;">
<?php
if($profetch[4])
{
?>
<img src="admin_pic/<?php echo $profetch[4];?>" align="right" class="img"/>
<?php }
else
{?> <img src="img/gallery/photo5.jpg" align="right" class="img"/>
<?php } ?>
</div>
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-4">Name</label>
<div class="col-lg-4">
<input type="text" value="<?php echo $profetch[1];?>" class="validate[required] form-control" name="req" id="req" disabled>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-4">E-mail</label>
<div class=" col-lg-4">
<input class="validate[required,custom[email]] form-control" type="text" value="<?php echo $profetch[3];?>" name="email1" id="email1" disabled/>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-4">User Name</label>
<div class=" col-lg-4">
<input class="validate[required] form-control" value="<?php echo $profetch[1];?>" type="text" name="pass1" id="pass1" disabled/>
</div>
</div>
<div class="form-actions no-margin-bottom" align="center">
<input type="submit" value="Edit" class="btn btn-primary">
</div>
<?php
}
?>
</form>
</div>
</div>
</div><!-- /.col-lg-12 -->
</div><!-- /.row -->
</div><!-- /.inner -->
</div><!-- /.outer -->
</div><!-- /#content -->
</div><!-- /#wrap -->
<?php include'footer.php'; ?>
Zerion Mini Shell 1.0