<?php
/*
///////////////////////////////////////////////////////////////////////
/  Project Name 	: Gurudev
/  File Name 		: vessel_manage.php  
/  Created on  		: 17/08/2017
/  Created by       : Pintu
/  Last Changed By 	: 
/  Updated On		: 
/  Purpose			: To manage/add vessel
/  ---------
/  
////////////////////////////////////////////////////////////////////////
*/
?>
<?php
	include('common/header.php');
?>
	<div class="">
		<div class="col-xm-12">
			<div class="widget-box light-border">
				<div class="widget-header header-color-grey">
					<h4 class="smaller">
						Vessel
					</h4>
				</div>
				<div class="widget-body">
					<div class="widget-main">
						<div class="row">
							<div class="col-sm-12">
								<form class="form-horizontal" role="form" name="module_form" id="module_form">
								<div class="">
									<!-- PAGE CONTENT BEGINS -->									
									<div class="form-group" id="admin_type_code">  
										<label class="col-sm-5 control-label" for="form-field-2" ><?php echo 'Vessel Code ';?><font style="color:red">*</font></label>
										<div class="col-sm-7">	
											<?php	
												$vessel_code_data=array('name'=>'vessel_code',
																			'id'=>'vessel_code',
																			'placeholder'=>'Vessel Code',
																			'value'=> ''
																			);
												echo form_input($vessel_code_data,'');
												echo form_error('vessel_code');
											?>
										</div>
									</div>						
									<div class="form-group">  
										<label class="col-sm-5 control-label" for="form-field-2" ><?php echo 'Vessel Title ';?><font style="color:red">*</font></label>
										<div class="col-sm-7">	
											<?php	
												$vessel_title_data=array('name'=>'vessel_title',
																		'id'=>'vessel_title',
																		'placeholder'=>'Vessel Title',
																		'value'=> ''
																		);
												echo form_input($vessel_title_data,'');
												echo form_error('vessel_title');
											?>
										</div>
									</div>
									<div class="form-group">  
										<label class="col-sm-5 control-label" for="form-field-2" ><?php echo 'Container Size ';?><font style="color:red">*</font></label>
										<div class="col-sm-7">	
											<?php	
												$container_data=array('name'=>'container_size',
																'id'=>'container_size',
																'placeholder'=>'Container Size',
																'value'=> ''
																);
												echo form_input($container_data,'');
												echo form_error('container_size');
											?>
										</div>
									</div> 
																
								</div>
								</form>	
							</div>
						</div>
					</div>	
				</div>
			</div>
		</div>
		<!-- /.col -->
	</div>
	<div class="clearfix form-actions">
		<div class="col-md-offset-5 col-md-5">
			<button class="btn btn-info" type="button" onclick="javascript:window.location='<?php echo base_url();?>index.php/<?php echo VESSEL_PATH;?>list_vessel'">
				Back
			</button>
			<button class="btn btn-info" type="button">
				<?php echo $purpose;?> Vessel
			</button>
		</div>
	</div>
	<div class="space-4"></div>
		<!-- /.page-row -->
        <!-- /.page-content --> 
    </div>
    <!-- /.main-content --> 
	</div>
    <!-- /#ace-settings-container --> 
	</div>
	<!-- /.main-container-inner --> 
<script>
function hide()
{
	document.getElementById("admin_type_code").style.display="none";
}
function show()
{
	document.getElementById("admin_type_code").style.display="";
}
</script>
<script type="text/javascript">
$(document).ready(function() {
    $('form:first *:input[type!=hidden]:first').focus();
});
</script>	
<?php
	include('common/footer.php');
?>