
<link type="text/css" href="assets/plugins/form-daterangepicker/daterangepicker-bs3.css" rel="stylesheet">    <!-- DateRangePicker -->

<link type="text/css" href="assets/plugins/gridforms/gridforms/gridforms.css" rel="stylesheet"> 									<!-- Gridforms -->


<?php

$sid=$convert->encode($_GET['id']);
$GetProStep1perosnal=mysql_query("SELECT * FROM `step1_perosonal` WHERE `sid` = '$sid'");
$GetProStep1perosnal1=mysql_fetch_assoc($GetProStep1perosnal);

$GetProStep1Contact=mysql_query("SELECT * FROM `step1_contact` WHERE `sid` = '$sid'");
$GetProStep1Contact1=mysql_fetch_assoc($GetProStep1Contact);

$Chksenir=mysql_query("SELECT * FROM `step2_education` WHERE `sid` = '$GetStudentDetail1[sid]' AND `education_level` = 2");
$Chksenir1=mysql_fetch_assoc($Chksenir);

$Chksenir2=$Chksenir1['max_marks'];
$Chksenir3=$Chksenir1['board_university'];

?>

<div class="page-content">
                            <ol class="breadcrumb">
                                
<li class=""><a href="index.html">Home</a></li>
<li class="active"><a href="index.html">Dashboard</a></li>
                            </ol>
                            <div class="container-fluid">
                                



<div data-widget-group="group1">
	

<style type="text/css" media="print">
.dontprint
{ display: none; }
</style>

	


	

	<div class="row">
		<div class="col-md-12">
			<div class="panel panel-realtime" data-widget='{"draggable": "false"}'>
                <div class="panel-heading"><div align="center"><font size="+1" color="#000000"><b>Hostel Admission Form</b></font></div>
                 

                    
                </div>
<style>



</style>				
				
                <div class="panel-body">
<font size="+1"><table cellpadding="0" cellspacing="0" width="100%">
<tr><td>

<table cellpadding="0" cellspacing="0" width="100%" class="">
<tr><td width="70%" valign="top">
<table cellpadding="0" cellspacing="0" width="100%">
<tr style="line-height:35px"><td width="40%">
<strong>Name of The Student</strong></td><td width="60%"><?php echo $GetProStep1perosnal1['firstname']; ?> <?php echo $GetProStep1perosnal1['middlename']; ?> <?php echo $GetProStep1perosnal1['lastname']; ?></td></tr>
<tr style="line-height:35px"><td width="40%"><strong>Course Name</strong></td><td width="60%"><?php  
										$GetProg=mysql_query("SELECT * FROM `sgvu_courses` WHERE `course_id` = '$GetProStep1perosnal1[program]'");
										$GetProg1=mysql_fetch_assoc($GetProg);
										echo $GetProg1['coursename'];
										?></td></tr>
<tr style="line-height:35px"><td width="40%"><strong>Father's Name</strong></td><td width="60%"><?php echo $GetProStep1perosnal1['father_name']; ?></td></tr>
<tr style="line-height:35px"><td width="40%"><strong>Mother's Name</strong></td><td width="60%"><?php echo $GetProStep1perosnal1['mother_name']; ?></td></tr>
</table>

</td><td width="30%"> <?php
										$GetPhoto=mysql_query("SELECT * FROM `step3_document` WHERE `doc_type` = 1 AND `sid` = '$sid'");
										$GetPhoto1=mysql_fetch_assoc($GetPhoto);
										
										?>
										<img id="ContentPlaceHolder2_Image1" src="../new-admin/upload/<?php echo $GetPhoto1['image'];?>" style="height:120px;width:120px; padding:4px; background:#E9E9E9" class="img-rounded" ></td></tr>
</table>

</td></tr>

<tr><td>

<table cellpadding="0" cellspacing="0" width="100%">
<tr style="line-height:35px"><td width="20%"><strong>Date of Birth</strong></td><td width="30%"><?php echo $GetProStep1perosnal1['dob']; ?></td>
  <td width="20%"><strong><font size="+1">Sex</font></strong></td><td width="30%"><?php echo $GetProStep1perosnal1['sex']; ?></td></tr>
<tr style="line-height:35px">
  <td width="20%"><strong><font size="+1">Blood Group</font></strong></td><td width="30%"></td>
  <td width="20%"><strong><font size="+1">Year of Joining</font></strong></td><td width="30%">2016</td></tr>
</table>
</td></tr>


<tr><td style="padding-top:30px">
<font color="#990000"><b>Postal Address</b></font> <hr />
<table cellpadding="0" cellspacing="0" width="100%">
<tr style="line-height:35px"><td width="20%"><strong>Address</strong></td><td width="30%"><?php echo $GetProStep1Contact1['add1']; ?>, <?php echo $GetProStep1Contact1['add2']; ?></td><td width="20%"><strong>City</strong></td><td width="30%"><?php echo $GetProStep1Contact1['city1'];
																$GetCity=mysql_query("SELECT * FROM `city` WHERE `city_id` ='$GetProStep1Contact1[city]'");
																$GetCity1=mysql_fetch_assoc($GetCity);
																
																?></td></tr>
<tr style="line-height:35px"><td width="20%"><strong>District</strong></td><td width="30%"><?php echo $GetCity1['cityname'];?></td><td width="20%"><strong>State</strong></td>
<td width="30%"> <?php 
																$GetState=mysql_query("SELECT * FROM `state` WHERE `ids` = '$GetProStep1Contact1[state]'");
																$GetState1=mysql_fetch_assoc($GetState);
																echo $GetState1['state'];
																?></td></tr>
<tr style="line-height:35px"><td width="20%"><strong>Pincode </strong></td>
<td width="30%"><?php echo $GetProStep1Contact1['pincode']; ?></td><td width="20%"><strong>Country</strong></td>
<td width="30%">India</td></tr>
<tr style="line-height:35px">
  <td width="20%"><strong><font size="+1">Mobile</font></strong></td>
  <td width="30%"><?php echo $GetIniStep1['mobile']; ?></td>
  <td width="20%"><strong><font size="+1">Father's Mobile</font></strong></td>
  <td width="30%"><?php echo $GetProStep1Contact1['parent_mobile']; ?></td></tr>
<tr style="line-height:35px">
  <td width="20%"><strong><font size="+1">Email Address</font></strong></td>
  <td width="30%"><?php echo $GetIniStep1['email']; ?></td><td width="20%">&nbsp;</td>
<td width="30%">&nbsp;</td>
</tr>
</table>
</td></tr>


</table>

</font>
<br /><br />
<font color="#990000" size="+1"><b>Information of the Local Guardian</b></font> <hr />
								
					

<form class="grid-form" method="post" action="action-pages/hostel-form-action.php" enctype="multipart/form-data" id="validate-form" data-parsley-validate="" novalidate="">
					<input type="hidden" name="sid" value="<?php echo $GetStudentDetail1['sid']; ?>" />
						<fieldset>
							
							<div data-row-span="4">
							  <div data-field-span="2">
									<font color="#FF0000" size="">*</font><label><a class="tooltips" data-trigger="hover" data-original-title="Name of you Local Guardian.">Name </a> 
									
									</label>


									
									
									
																		<input type="text" required name="lg_name" value="">
							  </div>
                                <div data-field-span="2">
									<font color="#FF0000" size="">*</font><label><a class="tooltips" data-trigger="hover" data-original-title="Relationship with the ward">Relationship</a> 
									
									</label>


									
									
									
																		<input type="text" required name="relationship" value="" data-parsley-pattern="^[A-Za-z]*$">
								</div>
								
								
							</div>
							
							
							
							
							<div data-row-span="2" style="height:100px">
								<div data-field-span="1">

									<font color="#FF0000" size="">*</font><label><a class="tooltips" data-trigger="hover" data-original-title="Enter the address of Local Guardian">address </a></label>
								  <input type="text" required name="firstname" value="">
								</div>
								<div data-field-span="1">
									<font color="#FF0000" size=""></font><label><a class="tooltips" data-trigger="hover" data-original-title="Please Enter the Phone Number of Local Guardian">Phone Number</a></label>
									
						        <input type="text"  name="phone"  data-parsley-type="digits">
						   
								</div>

								
							</div>
                            <div data-row-span="2" style="height:100px">
                              

								<div data-field-span="1">
									<font color="#FF0000" size="">*</font><label><a class="tooltips" data-trigger="hover" data-original-title="Please Enter the mobile Number of Local Guardian">Mobile No. </a></label>
									<input type="text" required="" name="mobile" data-parsley-type="digits">
								</div>
                                
                                <div data-field-span="1">
									<font color="#FF0000" size="">*</font><label><a class="tooltips" data-trigger="hover" data-original-title="Please Upload the Photo of Local Guardian">Local Guardian Photo </a></label>
									<input type="file" required="" name="image">
								</div>
							</div>
							
                        </fieldset>


						<fieldset>
						<br>
			
					
						
						<div class="clearfix pt-md">
							<div class="">
							
							
							          <div  class="dontprint">
<textarea name="txtarea1" id="txtarea1" cols="50" rows="4" class="form-control" style="border:#CCCCCC 1px solid">
Rules and Regulations of the Hostel:
1. Boarders are allowed to occupy only the rooms allotted to them. No change is permissible without proper authorization.
2. Prior to leaving the room all doors and windows should be closed, lights and fan switched off, and the water taps should be shut.
3. The Warden should be informed of any complaints regarding the mess or any other facility of the hostel.
4. Vehicles should be parked in the designated parking lots.
5. Ragging is strictly prohibited in the Hostel premises. (Ragging is a punishable offence under law).
6. Smoking, the consumption of alcoholic drinks, use of any narcotic or psychotropic drugs is strictly prohibited. Any infringement will attract severe penalties.
7. Indulgence in any political or quasi political activities, or any activity that compromises the discipline of the hostel is forbidden.
8. Members of the opposite sex are not allowed to visit boarders in their rooms.
9. Proper care should be taken of personal valuables. The Hostel/University will not be responsible for them.
10. No Boarder is allowed to encourage, foment, or participate in any agitation on the campus.
11. The use of electric Heaters, Electric Irons, Coolers, Electric Kettle, Stereo, tape, musical instruments is prohibited without the prior approval of the warden.
12. Staying outside the hostel is not permissible in any of the circumstances, but if any student wishes to stay then he/she has to withdraw from the hostel immediately.


UNDERTAKING
1. I hereby solemnly promise that:
      i) That I shall obey in word and spirit the rules and regulations of the Hostel and any amendments thereof.
      ii) I  shall at all times maintain the discipline and decorum of the Hostel.
      iii) I shall preserve, tend and safeguard the property of the hostel, and shall not knowingly or otherwise destroy, damage, or deface Hostel property.
      iv) I shall keep my room and the common grounds of the hostel clean and unsoiled at all times.
      v) I will maintain cordial and friendly relations with my fellow boarders.
      vi) I shall ensure that all dues, including any fines or penalties that may have been imposed against me, are paid in time to the University.
      vii) I will be bound by the time schedule of the hostel, and shall strictly abide by it.
2. During the tenure of my residence at the hostel, I will NOT leave the premises/campus WITHOUT the permission of the warden, and shall keep him/her informed if I stay away beyond permissible hours or overnight.
3. I shall strictly observe and abide by the code of conduct the Hostel.

I have read and understood the rules and regulations of the hostel, the general rules and the code of conduct,
and I agree to follow them in word and in spirit faithfully and to the best of my ability.

I will not cause any loss or damage to the hostel or hostel property, and should I inadvertently cause or be an
instrument for such damages, I shall recompense the University for the Monetary Loss incurred because of the
damages. 


</textarea>

<input type="checkbox" require=""/> I agree with the Rules and Regulations of the Hostel.<br /><br />

<input type="submit" class="btn-primary btn" id="submit" name="submit" value="Submit &raquo;">

		</div>

								
							</div>
						</div>
					</form>					
					
                </div>
                
            </div>
		</div>
		<div class="col-sm-8">
	


	</div>
	</div>
	<div class="row">
                    <div class="col-md-12">
                       
                    </div>
                </div>
	
</div>
                            </div> <!-- .container-fluid -->
</div>
						

<script type="text/javascript" src="assets/js/jquery-1.10.2.min.js"></script> 							<!-- Load jQuery -->
<script type="text/javascript" src="assets/js/jqueryui-1.10.3.min.js"></script> 							<!-- Load jQueryUI -->
<script type="text/javascript" src="assets/js/bootstrap.min.js"></script> 								<!-- Load Bootstrap -->
<script type="text/javascript" src="assets/js/enquire.min.js"></script> 									<!-- Load Enquire -->

<script type="text/javascript" src="assets/plugins/velocityjs/velocity.min.js"></script>					<!-- Load Velocity for Animated Content -->
<script type="text/javascript" src="assets/plugins/velocityjs/velocity.ui.min.js"></script>

<script type="text/javascript" src="assets/plugins/wijets/wijets.js"></script>     						<!-- Wijet -->

<script type="text/javascript" src="assets/plugins/codeprettifier/prettify.js"></script> 				<!-- Code Prettifier  -->
<script type="text/javascript" src="assets/plugins/bootstrap-switch/bootstrap-switch.js"></script> 		<!-- Swith/Toggle Button -->

<script type="text/javascript" src="assets/plugins/bootstrap-tabdrop/js/bootstrap-tabdrop.js"></script>  <!-- Bootstrap Tabdrop -->

<script type="text/javascript" src="assets/plugins/iCheck/icheck.min.js"></script>     					<!-- iCheck -->

<script type="text/javascript" src="assets/plugins/nanoScroller/js/jquery.nanoscroller.min.js"></script> <!-- nano scroller -->

<script type="text/javascript" src="assets/js/application.js"></script>
<script type="text/javascript" src="assets/demo/demo.js"></script>
<script type="text/javascript" src="assets/demo/demo-switcher.js"></script>

<!-- End loading site level scripts -->
    
    <!-- Load page level scripts-->
<script type="text/javascript" src="assets/plugins/gridforms/gridforms/gridforms.js"></script>  								<!-- Gridforms -->
<script>
// See Docs
	window.ParsleyConfig = {
    	  successClass: 'has-success'
		, errorClass: 'has-error'
		, errorElem: '<span></span>'
		, errorsWrapper: '<span class="help-block"></span>'
		, errorTemplate: "<div></div>"
		, classHandler: function(el) {
    		return el.$element.closest(".form-group");
		}
	};
</script>

<script type="text/javascript" src="assets/plugins/form-parsley/parsley.js"></script>  					<!-- Validate Plugin / Parsley -->
<script type="text/javascript" src="assets/plugins/form-daterangepicker/moment.min.js"></script>              			<!-- Moment.js for Date Range Picker -->

<script type="text/javascript" src="assets/plugins/form-colorpicker/js/bootstrap-colorpicker.min.js"></script> 			<!-- Color Picker -->

<script type="text/javascript" src="assets/plugins/form-daterangepicker/daterangepicker.js"></script>     				<!-- Date Range Picker -->
<script type="text/javascript" src="assets/plugins/bootstrap-datepicker/bootstrap-datepicker.js"></script>      			<!-- Datepicker -->
<script type="text/javascript" src="assets/plugins/bootstrap-timepicker/bootstrap-timepicker.js"></script>      			<!-- Timepicker -->
<script type="text/javascript" src="assets/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js"></script> <!-- DateTime Picker -->

<script type="text/javascript" src="assets/plugins/clockface/js/clockface.js"></script>     								<!-- Clockface -->


<script type="text/javascript" src="assets/demo/demo-pickers.js"></script>
<script type="text/javascript" src="assets/demo/demo-formvalidation.js"></script>
<script type="text/javascript" src="assets/demo/demo-pickers.js"></script>
    <!-- Load page level scripts-->
    
    
<!-- Charts -->
