Esempio n. 1
0
        echo $_SESSION['msg'] = "";
    }
}
?>
					</p>
            	</div>


				<!-------- starting Form-------->
				<div class="col-sm-12 contact-form">
	 				<form action="#" id="contact_form" name="contact_form" method="POST" enctype="multipart/form-data">

	 				<?php 
if (isset($_GET['id'])) {
    $id = $_GET['id'];
    $auth->show_edit_admin($id);
} else {
    ?>
		 				<div class='form-group'>
		 					<label for='name'>User Name<span> *</span></label>	
		 					<label class='input'>
								<i class='form-icon reg'><img src='../img/user.png'></i>
								<input id='name' class='form-control' type='text' name='name'>
							</label>
						</div>

						<div class='form-group'>	
							<label for='email'>Email<span> *</span></label>					
							<label class='input'>
								<i class='form-icon reg'><img src='../img/email.png'></i>
								<input id='email' type='email' name='email' class='form-control'>