HOME


Mini Shell 1.0
DIR:/home/drsekaran/www/admin/pages/master/
Upload File :
Current File : /home/drsekaran/www/admin/pages/master/addcontact.php
<?php
include("../../header.php");
?>
        <!-- page content -->
        <div class="right_col" role="main">
          <div class="">
            <div class="page-title">
              <div class="">
              
			  
			  
			  
			  <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2>Contact me</h2>
          
                    <div class="clearfix"></div>
                  </div>
				 


                  <div class="x_content">
                    <br />
                   <!-- <form id="demo-form2" data-parsley-validate class="form-horizontal form-label-left">-->
					
					<form id="from1" name="from1" enctype="multipart/form-data"  action="<?php echo $home_path;?>/pages/master/action/addcontact.php" method="post" class="form-horizontal form-label-left" style="" autocomplete="off">
	

<?php
$sql=mysqli_query($conn,"select * from contact where id='1'");
$rw=mysqli_fetch_array($sql);
?>	

                                                     <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">Name <span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
 <input type="text" id="fname" name="namea" required="required" class="form-control col-md-7 col-xs-12" value="<?php echo $rw['namea']; ?>">
                        </div>
                      </div>
					  
					  
					                        <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">Email <span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <textarea id="fname" name="mail" required="required" class="form-control col-md-7 col-xs-12" style="height:50px;"><?php echo $rw['mail']; ?></textarea>
                        </div>
                      </div>
					  
					  
					  
					                        <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">Phone Number <span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                           <textarea id="fname" name="phno" required="required" class="form-control col-md-7 col-xs-12" style="height:50px;"><?php echo $rw['phno']; ?></textarea>
                        </div>
                      </div>



                                <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">Address <span class="required">*</span>
                        </label>
                        <div class="col-md-8 col-sm-8 col-xs-12">
                          <textarea id="fname" name="details" required="required" class="form-control col-md-7 col-xs-12" style="height:150px;"><?php echo $rw['details']; ?></textarea>
                        </div>
                      </div>
					  
					                                  <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">Map <span class="required">*</span>
                        </label>
                        <div class="col-md-8 col-sm-8 col-xs-12">
                          <textarea id="fname" name="map" class="form-control col-md-7 col-xs-12" style="height:150px;"><?php echo $rw['map']; ?></textarea>
                        </div>
                      </div>
					  
                      
<div class="form-group">
                        <div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-3">
						
                           <button type="submit" class="btn btn-success">Submit</button>
						  
						   
                        </div>
						
						<br><br><br><br>
                      </div>
                    </form>
                  </div>
                </div>
              </div>
			  
			  
			  
			  
			  
			  
              </div>
            </div>
          </div>
        </div>
        <!-- /page content -->
<?php
include("../../footer.php");
?>