<?php
defined('BASEPATH') OR exit('No direct script access allowed');

?>
<div class="content-wrapper ">
	<section class="content-header">
		<?php echo $pagetitle; ?>
		<?php echo $breadcrumb; ?>
	</section>
	<section class="content">
		<div class="row">
			<div class="box-header with-border" style="background-color: #E6E6E6">
			</div>
			<!-- Custom Tabs -->
			<div class="nav-tabs-custom">
				<ul class="nav nav-tabs">
					<li class="active" ><a  data-toggle="tab" href="<?php echo site_url('monitoreo/panel_control/panel_control/informe_principal'); ?>" aria-expanded="true" style="background-color:#F0F0F0">General</a></li>
					<li class=""><a href="<?php echo site_url('monitoreo/panel_control/panel_control/informe_finiquitados');    	?>" aria-expanded="false" style="background-color:#25a541">Finiquitados</a></li>
					<li class=""><a href="<?php echo site_url('monitoreo/panel_control/panel_control/informe_formulados');     ?>" aria-expanded="false" style="background-color:#1ecce5">Formulados</a></li>
					<li class=""><a href="<?php echo site_url('monitoreo/panel_control/panel_control/informe_ocupacion_efectiva');?>" aria-expanded="false" style="background-color:#fdff39">Ocupación Efectiva</a></li>
					<li class=""><a href="<?php echo site_url('monitoreo/panel_control/panel_control/informe_ocupacion_irregular');?>" aria-expanded="false" style="background-color:#f44d4d">Ocupados de Manera Irregular</a></li>
					<li class=""><a href="<?php echo site_url('monitoreo/panel_control/panel_control/informe_adjudicados');?>" aria-expanded="false" style="background-color:#1ddb00">Adjudicados</a></li>
				</ul>
				<div class="tab-content" style="background-color:#F0F0F0">
					<div id="tab_1" class="tab-pane active">
						<div class="box-body" style="background-color:#F0F0F0" id="div_reg01">
							<!-- Bloque de Formulario-->
							<div class="col-md-6">
								<div class="box box-primary">

									<div class="box-body">
										<div class="form-group">
											<?php echo form_open(current_url(), array('class' => 'form-horizontal', 'id' => 'form-empate')); ?>
											<div class="col-sm-5">
												<?php $attribute = 'class="selectpicker show-tick form-control" title="Seleccione la colonia" name="dptodistritocolonia" id="dptodistritocolonia" data-live-search="true"';
												
												echo form_dropdown('dptodistritocolonia', $dptodistritocolonia, $dptodistritocolonia_sel, $attribute);   ?>
											</div>
											<?php echo form_button(array('type' => 'submit', 'class' => 'btn btn-primary btn-flat', 'content' => 'EMPATAR', 'id' => 'boton_empatar'));
											?>
											<?php echo form_close();?>
										</div>
										<hr>
										<?php if (isset($result_empate)):?>
											<div class="form-group">
												<div class="info-box">
													<span class="info-box-icon" style="background-color: #25a541">
													</span>
													<div class="info-box-content">
														<span class="info-box-text">Finiquitados</span>
														<span class="info-box-number"><?php //echo $result_empate['empatados'];?></span>
													</div>
												</div>
											</div>

											<div class="form-group">
												<div class="info-box">
													<span class="info-box-icon" style="background-color: #1ecce5">
													</span>
													<div class="info-box-content">
														<span class="info-box-text">Formulados</span>
														<span class="info-box-number"><?php //echo $result_empate['no_en_reg01'];?></span>
													</div>
												</div>
											</div>

											<div class="form-group">
												<div class="info-box">
													<span class="info-box-icon" style="background-color: #fdff39">
													</span>
													<div class="info-box-content">
														<span class="info-box-text">Ocupación efectiva</span>
														<span class="info-box-number"><?php //echo $result_empate['no_en_in_temp'];?></span>
													</div>
												</div>
											</div>

											<div class="form-group">
												<div class="info-box">
													<span class="info-box-icon" style="background-color: #f44d4d">
													</span>
													<div class="info-box-content">
														<span class="info-box-text">Ocupados de manera irregular</span>
														<span class="info-box-number"><?php //echo $result_empate['no_en_in_temp'];?></span>
													</div>
												</div>
											</div>

											<div class="form-group">
												<div class="info-box">
													<span class="info-box-icon" style="background-color: #1ddb00">
													</span>
													<div class="info-box-content">
														<span class="info-box-text">Adjudicados</span>
														<span class="info-box-number"><?php //echo $result_empate['no_en_in_temp'];?></span>
													</div>
												</div>
											</div>
										<?php else: ?>
											<div class="form-group">
												<h2>Primero elija una colonia.</h2>
											</div>
										<?php endif; ?>
									</div>
								</div>
							</div>
						</div><!-- /.box-body -->
					</div><!-- /.tab-pane -->
				</div><!-- /.tab-content -->
			</div><!-- nav-tabs-custom -->                          
		</div>
	</section>
</div>
