<?php $__env->startSection('defaultcontent'); ?> <?php $peticion=explode('/',$_SERVER['REDIRECT_URL']); $lastParam=$peticion[count($peticion) -1]; $wizardInvocation=$peticion[count($peticion) -3].'/'.$peticion[count($peticion) -2].'/'.$peticion[count($peticion) -1]; ?> <?php if(!isset( $_SESSION['session_app']) && $wizardInvocation !="uploadMatriculeFiles/index/YES" && $wizardInvocation !="valuesMatricule/index/YES"): ?> <div style="float: left; height: 100%"> <button id="trigger" class="menu-trigger" style="background-color: rgb(0,175,239);height: 100%;"></button> </div> <?php endif; ?> <?php echo $sidebar; ?> <div class="scroller"> <div class="" style="height: 100%"> <?php if(!isset( $_SESSION['session_app'])): ?> <div class="row" id="general_header"> <div class="col-xs-offset-1 col-xs-2"> <?php echo HTML::image('/../../img/logo/default_logo.png','logo',array('class'=>'img-responsive','id'=>'logo','style'=>'max-width: 50%; padding-top:10px;')); ?> <label style="color:#484848; font-size:11px; border: none;">Powered by <a target="_blank" href="https://www.rutatec.com" style="color:#484848;text-decoration: underline">RUTATEC</a></label> </div> <?php if(isset($_SESSION['alternative_rutademic_serial_usr'])): ?> <div class="col-xs-2" style="padding-top: 30px;"> <input id="button-stop-substitution" class="btn-default btn" type ="button" value="Detener Sustitución" style=" float: left; background-color:rgba(246,40,35,0.81); border-radius: 50px; border-color:rgba(246,40,35,0.81); color: whitesmoke; font-size: 13px; " onmouseenter="this.style.backgroundColor='rgba(235,46,41,0.56)'" onmouseout="this.style.backgroundColor='#F62823'"/> <br/> <br/> <span style="color: black; text-align: left; padding-left: 10px;">Regresar como:</span> <br/> <span style="color: black; text-align: left; padding-left: 10px; color:rgb(0,175,239);"><?php echo $_SESSION['alternative_rutademic_serial_usr']['fullname_usr']; ?></span> <br/> <?php foreach($_SESSION['alternative_rutademic_serial_usr']['profiles'] as $item): ?> <?php if($item['in_use']==1): ?> <span style="color: black; text-align: left; padding-left: 10px; color:rgb(0,175,239);"><?php echo $item['name_prf']; ?></span> <?php endif; ?> <?php endforeach; ?> </div> <input id='log_simulation' type='hidden' value='SIMULATION'/> <?php else: ?> <input id='log_simulation' type='hidden' value='NONE'/> <?php endif; ?> <div <?php if(isset($_SESSION['alternative_rutademic_serial_usr'])): ?> class="col-xs-6" <?php else: ?> class="col-xs-7" <?php endif; ?>> <br/> <br/> <?php if(isset($_SESSION['rutademic_serial_usr']) && count($_SESSION['rutademic_serial_usr']) > 0): ?> <?php $profiles = $_SESSION['rutademic_serial_usr']['profiles']; ?> <div style="color: rgb(0,175,239); float: right"> <a href=<?php echo DOCUMENT_ROOT_LOGIC; ?>modules/user/fUserAccount><i style="color: rgb(0,175,239);" class="fa fa-gear fa-2x"></i></a> <a href=<?php echo DOCUMENT_ROOT_LOGIC; ?>index><i style="color: rgb(0,175,239);" class="fa fa-power-off fa-2x"></i></a> </div> <br/> <br/> <div style="float: right; text-align: right"> <h5><?php echo Global_Functions::utf8_encode_fix($_SESSION['rutademic_serial_usr']['fullname_usr']); ?><br/> <?php if(count($profiles) > 1): ?> <?php echo Form::hidden('change_route',action('ChangeProfile@postChangeProfile'),array('id'=>'change_route')); ?> <select name="selProfilesMainLaravel" id="selProfilesMainLaravel"> <?php foreach($profiles as $p): ?> <option value=<?php echo $p['serial_prf']; ?> <?php if($p['in_use'] ==1): ?> selected='selected' <?php endif; ?> > <?php echo Global_Functions::utf8_encode_fix($p['name_prf']); ?></option> <?php endforeach; ?> </select> <?php else: ?> <b><?php echo Global_Functions::utf8_encode_fix($_SESSION['rutademic_serial_usr']['profiles'][0]['name_prf']); ?></b> <?php endif; ?> </h5> </div> <?php endif; ?> </div> </div> <br/> <div class="row"> <div class="col-md-offset-8 col-md-3"> <?php if(Auth::check() && (isset($_SESSION['rutademic_serial_usr']) && count($_SESSION['rutademic_serial_usr']) > 0)): ?> <div class="pull-right"> <?php $guardianAspirant = AspirantGuardian::find(Auth::user()->serial_asgu) ?> <p style="color: #555"> Bienvenido <?php echo $guardianAspirant->first_name_asgu.' '.$guardianAspirant->last_name_asgu; ?></p> <a href=<?php echo DOCUMENT_ROOT_LOGIC; ?>laravel/public/Admission/alias-login style="color: rgb(0,175,239); float: right"> <i class="fa fa-sign-out"></i> <label> Salir</label> </a> </div> <?php endif; ?> <?php if(Auth::check() && Session::has('users')): ?> <div class="pull-right"> <?php $guardianAspirant = AspirantGuardian::find(Auth::user()->serial_asgu) ?> <p style="color: #555"> Bienvenido <?php echo $guardianAspirant->first_name_asgu.' '.$guardianAspirant->last_name_asgu; ?></p> <a href=<?php echo DOCUMENT_ROOT_LOGIC; ?>laravel/public/loginAdmission/log-out style="color: rgb(0,175,239); float: right"> <i class="fa fa-sign-out"></i> <label> Salir</label> </a> </div> <?php endif; ?> <?php if(Auth::check() && (!isset($_SESSION['rutademic_serial_usr']))): ?> <div class="pull-right"> <?php $guardianAspirant = AspirantGuardian::find(Auth::user()->serial_asgu) ?> <p style="color: #555"> Bienvenido <?php echo $guardianAspirant->first_name_asgu.' '.$guardianAspirant->last_name_asgu; ?></p> <a href=<?php echo DOCUMENT_ROOT_LOGIC; ?>laravel/public/loginAdmission/log-out style="color: rgb(0,175,239); float: right"> <i class="fa fa-sign-out"></i> <label> Salir</label> </a> </div> <?php endif; ?> </div> </div> <?php endif; ?> <div class="row" style="border-top: solid 1px rgb(0,175,239)"> <div class="row"> <div class="col-lg-6 col-lg-offset-3"> <?php if(Session::has('message')): ?> <div class="alert alert-success alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Cerrar</span> </button> <?php echo Session::get('message'); ?> </div> <?php endif; ?> <?php if(Session::has('error')): ?> <div class="alert alert-danger alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Cerrar</span> </button> <?php echo Session::get('error'); ?> </div> <?php endif; ?> <?php if(Session::has('errors')): ?> <div class="alert alert-danger alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Cerrar</span> </button> <ul> <?php foreach($errors->all() as $error): ?> <li><?php echo $error; ?></li> <?php endforeach; ?> </ul> </div> <?php endif; ?> </div> </div> <br/> <div class="col-xs-offset-1 col-xs-10"> <?php echo $__env->yieldContent('content'); ?> </div> </div> </div> </div> <?php echo HTML::script('js/logAlternativeSession/index.js'); ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('layout.default', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>