<?php include('header.php');

$cust_id = $_REQUEST['id']; 

$cust_data_fetch = custom_mysql_fetch_array(custom_mysql_query("SELECT * FROM act_holder_details WHERE cust_act_number = '".$_SESSION['act_number']."'"));

?>





			<div>

				<ul class="breadcrumb">

					<li>

						<a href="dashboard.php">Home</a> <span class="divider">/</span>

					</li>

					<li>

						<a href="#"> Customer Details </a>

					</li>

				</ul>

			</div>

			

			<div class="row-fluid sortable">

				<div class="box span12">

					<div class="box-header well" data-original-title>

						<h2><i class="icon-edit"></i> Details of <?php echo $get_details['cust_name']; ?> </h2>

						<div style="clear: none; float: right; height: 18px; margin: -1px 2px 0;">

						<!--<a href="add_cust.php" title="Add New Page" data-rel="tooltip" class="btn btn-warning">Add Customer</a>-->

							<!--<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>-->

							<!--<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>

							<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>-->

						</div>

					</div>

					<div class="box-content">

						<form class="form-horizontal" action="<?php $_SERVER['PHP_SELF'] ?>" method="post">

						  <fieldset>

							<!--<legend>Datepicker, Autocomplete, WYSIWYG</legend>-->

							

							<div class="control-group">

							  <label class="control-label" for="date01"> Name</label>

							 <div class="controls">

								  <input class="input-xlarge focused" id="focusedInput" type="text" value="<?php echo $cust_data_fetch[cust_name];?>" name="cust_name">

								</div>

							</div>	

							

							<div class="control-group">

							  <label class="control-label" for="date01"> Sex </label>

							 <div class="controls">

								  <label class="radio">

									<input type="radio" name="cust_sex" id="optionsRadios1" <?php if($cust_data_fetch[cust_sex]=="male") { ?> checked="checked" <?php } ?> value="male"> Male

								  </label>

								  <div style="clear:both"></div>

								  <label class="radio">

									<input type="radio" name="cust_sex" id="optionsRadios2"  <?php if($cust_data_fetch[cust_sex]=="female") { ?> checked="checked" <?php } ?> value="female"> Female

								  </label>

								</div>

							</div>	

							

                            <div class="control-group">

							  <label class="control-label" for="date01"> Mail ID</label>

							 <div class="controls">

								  <input class="input-xlarge focused" id="focusedInput" type="text" value="<?php echo $cust_data_fetch[cust_mail];?>" name="cust_mail">

								</div>

							</div>	

                            

                            <div class="control-group">

							  <label class="control-label" for="date01"> Phone Number</label>

							 <div class="controls">

								  <input class="input-xlarge focused" id="focusedInput" type="text" value="<?php echo $cust_data_fetch[cust_phone];?>" name="cust_phone">

								</div>

							</div>

                            

                            <div class="control-group">

							  <label class="control-label" for="date01">Password</label>

							 <div class="controls">

								  <input class="input-xlarge focused" id="focusedInput" type="password" value="<?php echo $cust_data_fetch[cust_password];?>" name="cust_password">

								</div>

							</div>	

                            

							<div class="control-group">

							  <label class="control-label" for="date01"> Address</label>

							 <div class="controls">

								  <textarea class="autogrow" name="cust_address"><?php echo $cust_data_fetch[cust_address];?></textarea>

								</div>

							</div>	

                            

                            <div class="control-group">

							  <label class="control-label" for="typeahead"> Bank Name </label>

							  <div class="controls">

                              <input class="input-xlarge focused" id="focusedInput" type="text" value="<?php echo $cust_data_fetch[cust_bank_name];?>" name="cust_bank_name">

                                </div>

							</div>	

                            

                            <div class="control-group">

							  <label class="control-label" for="typeahead"> Branch Name </label>

							  <div class="controls">

                              <input class="input-xlarge focused" id="focusedInput" type="text" value="<?php echo $cust_data_fetch[cust_branch_name];?>" name="cust_branch_name">

							  </div>

							</div>	

                            

                            <div class="control-group">

							  <label class="control-label" for="date01"> Account Number </label>

							 <div class="controls">

								  <input class="input-xlarge focused" id="focusedInput" type="text" value="<?php echo $cust_data_fetch[cust_act_number];?>" name="act_number">

								</div>

							</div>		

                            

                            <div class="control-group">

							  <label class="control-label" for="typeahead"> Account Type </label>

							  <div class="controls">

								  <input class="input-xlarge focused" id="focusedInput" type="text" value="<?php echo $cust_data_fetch[cust_atc_type];?>" name="act_type">

								</div>

							</div>	

							

							<!--<div class="form-actions">

							  <a href="view_act_holder.php" class="btn">Back</a>

							</div>-->

						  </fieldset>

						</form>   



					</div>

				</div><!--/span-->



			</div><!--/row-->







    

<?php include('footer.php'); ?>

