<commit_before><!DOCTYPE html>
<html lang="es-ES">

    <head>

        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="application-name" content="{$smarty.const.TXT_ICASUS}">
        <meta name="description" content="{$smarty.const.TXT_APP_DESCRIPCION}">
        <meta name="author" content="<NAME>">
        <meta name="author" content="<NAME>">
        <meta name="author" content="<NAME>">

        <title>{$_nombre_pagina} - {$smarty.const.TXT_ICASUS}</title>

        <!-- Favicon -->
        <link rel="shortcut icon" href="favicon.ico">

        <!-- Bootstrap Core CSS -->
        <link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">

        <!-- Chosen CSS -->
        <link href="lib/chosen/chosen.min.css" rel="stylesheet">
        <link href="lib/chosen/chosen-bootstrap.css" rel="stylesheet">

        <!-- Bootstrap DatePicker -->
        <link href="lib/bootstrap-datepicker/css/bootstrap-datepicker3.min.css" rel="stylesheet">

        <!-- Bootstrap Toggle -->
        <link href="lib/bootstrap-toggle/css/bootstrap-toggle.min.css" rel="stylesheet">

        <!-- Datatables -->
        <link href="lib/dataTables/css/dataTables.bootstrap.css" rel="stylesheet">

        <!-- Datatables Buttons -->
        <link href="lib/dataTables/css/buttons.bootstrap.min.css" rel="stylesheet">

        <!-- Datatables FixedHeader -->
        <link href="lib/dataTables/css/fixedHeader.bootstrap.min.css" rel="stylesheet">

        <!-- Datatables FixedColumns -->
        <link href="lib/dataTables/css/fixedColumns.bootstrap.min.css" rel="stylesheet">

        <!-- Highslide -->
        <link rel="stylesheet" type="text/css" href="lib/highslide/highslide.css"/>
        <script type='text/javascript' src="lib/highslide/js/highslide-full.min.js"></script>
        <script type='text/javascript' src="lib/highslide/js/highslide.config.js"></script>

        <!-- Custom CSS -->
        <link href="css/estilo.css" rel="stylesheet">
        <!-- Modificaciones modo demo -->
        {if $smarty.const.IC_MODO_DEMO}<link href="css/demo.css" rel="stylesheet">{/if}

        <!-- Custom Fonts -->
        <link href="lib/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

        <!-- Google Analytics -->
        <script src="js/google_analytics.js"></script>

        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
            <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->

    </head>

    <body {if !isset($_usuario)} class="login-page" data-on_login="true"{/if} data-on_login="false">

        {if isset($_usuario)}
            {* Si se ha iniciado sesión *}
            <div id="wrapper">

                <!-- Navigation -->
                <nav id="top" class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                            <span class="sr-only">{$smarty.const.TXT_MOSTAR_OCULTAR_NAV}</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" title="{$smarty.const.TXT_APP_DESCRIPCION}" href="index.php">
                            <img class="logo pull-left" alt="{$smarty.const.TXT_UNIVERSIDAD}" src="images/logo.png">
                            {$smarty.const.TXT_ICASUS}
                        </a>
                    </div>
                    <!-- /.navbar-header -->

                    <ul class="nav navbar-top-links navbar-right">
                        <li class="dropdown">
                            <span id="fecha_actual" title="{$smarty.const.FIELD_FECHA}: {$smarty.now|date_format:'%d-%m-%Y'}"><i class="fa fa-calendar fa-fw"></i> {$smarty.now|date_format:'%d-%m-%Y'}</span>
                        </li>
                        <!-- /.dropdown -->
                        <li class="dropdown">
                            <a href='index.php?page=pagina_mostrar&alias=indice' title="{$smarty.const.TXT_AYUDA}"><i class="fa fa-question-circle fa-fw"></i></a>
                        </li>
                        <!-- /.dropdown -->
                        <li class="dropdown">
                            <a class="dropdown-toggle" title="{$smarty.const.TXT_INICIO_DESCRIPCION}" data-toggle="dropdown" href="#">
                                <i class="fa fa-th-list fa-fw"></i> <i class="fa fa-caret-down"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-alerts">
                                <li>
                                    <a title="{$smarty.const.TXT_USER_UNIDS} ({$num_entidades_usuario})" href='index.php?page=entidad_listar'>
                                        <div>
                                            <i class="fa fa-sitemap fa-fw"></i><sub class="fa fa-user fa-fw"></sub> {$smarty.const.TXT_USER_UNIDS}:
                                            <span class="pull-right badge">{$num_entidades_usuario}</span>
                                        </div>
                                    </a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a title="{$smarty.const.TXT_USER_PROCS} ({$num_procesos_propios})" href='index.php?page=procesos'>
                                        <div>
                                            <i class="fa fa-gears fa-fw"></i><sub class="fa fa-user fa-fw"></sub> {$smarty.const.TXT_USER_PROCS}:
                                            <span class="pull-right badge">{$num_procesos_propios}</span>
                                        </div>
                                    </a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a title="{$smarty.const.TXT_USER_INDIC} ({$num_indicadores_propios})" href='index.php?page=indicadores'>
                                        <div>
                                            <i class="fa fa-dashboard fa-fw"></i><sub class="fa fa-user fa-fw"></sub> {$smarty.const.TXT_USER_INDIC}:
                                            <span class="pull-right badge">{$num_indicadores_propios}</span>
                                        </div>
                                    </a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a title="{$smarty.const.TXT_USER_CUADROS} ({$num_cuadros_propios})" href='index.php?page=cuadros'>
                                        <div>
                                            <i class="fa fa-th fa-fw"></i><sub class="fa fa-user fa-fw"></sub> {$smarty.const.TXT_USER_CUADROS}:
                                            <span class="pull-right badge">{$num_cuadros_propios}</span>
                                        </div>
                                    </a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a title="{$smarty.const.TXT_USER_OBJOPS} ({$num_objops_propios})" href='index.php?page=planes'>
                                        <div>
                                            <i class="fa fa-bullseye fa-fw"></i><sub class="fa fa-user fa-fw"></sub> {$smarty.const.TXT_USER_OBJOPS}:
                                            <span class="pull-right badge">{$num_objops_propios}</span>
                                        </div>
                                    </a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a class="text-center" title="{$smarty.const.TXT_VER} {$smarty.const.TXT_TODOS} ({$smarty.const.TXT_INICIO})" href="index.php">
                                        <strong><i class="fa fa-home fa-fw"></i> {$smarty.const.TXT_INICIO} <i class="fa fa-angle-right"></i></strong>
                                    </a>
                                </li>
                            </ul>
                            <!-- /.dropdown-alerts -->
                        </li>
                        <!-- /.dropdown -->
                        <li class="dropdown">
                            <a class="dropdown-toggle" title="{$smarty.const.FIELD_USER}: {$_usuario->login}" data-toggle="dropdown" href="#">
                                <i class="fa fa-user fa-fw"></i> {$_usuario->login} <i class="fa fa-caret-down"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-user">
                                <li>
                                    <a title="{$smarty.const.TXT_USER_PERFIL}" href='index.php?page=usuario_mostrar&id_usuario={$_usuario->id}'><i class="fa fa-user fa-fw"></i> {$smarty.const.TXT_USER_PERFIL}</a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a title="{$smarty.const.TXT_CERRAR_SESION}" href="index.php?page={$smarty.const.IC_TIPO_LOGIN}&logout=true"><i class="fa fa-sign-out fa-fw"></i> {$smarty.const.TXT_CERRAR_SESION}</a>
                                </li>
                            </ul>
                            <!-- /.dropdown-menu -->
                        </li>
                        <!-- /.dropdown -->
                    </ul>
                    <!-- /.navbar-top-links -->

                    <div class="navbar-default sidebar" role="navigation" >
                        <div class="sidebar-nav navbar-collapse">
                            <ul class="nav" id="side-menu">
                                <li class="sidebar-search">
                                    <form method="get" action="index.php">
                                        <div class="input-group">
                                            <input type="hidden" name="page" value="busqueda">
                                            <input id="texto_buscar" name="texto_buscar" {if isset($texto) && $texto != ''}value='{$texto}'{/if} class="form-control" placeholder="{$smarty.const.TXT_BUSCAR}" type="text">
                                            <span class="input-group-btn">
                                                <button id="btn_buscar" title="{$smarty.const.TXT_BUSCAR}" class="btn btn-primary" type="submit">
                                                    <i class="fa fa-search fa-fw"></i>
                                                </button>
                                            </span>
                                        </div>
                                        <!-- /input-group -->
                                    </form>
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_INICIO}" href='index.php?page=inicio' accesskey='h'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-home fa-fw"></i></span>{$smarty.const.TXT_INICIO}</a>      
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_UNIDS_US}" href='index.php?page=entidad_listar'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-sitemap fa-fw"></i></span>{$smarty.const.TXT_UNIDS_US}</a>
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_PLANES_US}" href='index.php?page=planes'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-book fa-fw"></i></span>{$smarty.const.TXT_PLANES_US}</a>
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_CARTAS_US}" href='index.php?page=cartas'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-map-o fa-fw"></i></span>{$smarty.const.TXT_CARTAS_US}</a>
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_PROCS_US}" href='index.php?page=procesos'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-gears fa-fw"></i></span>{$smarty.const.TXT_PROCS_US}</a>
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_INDICS_US}" href='index.php?page=indicadores'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-dashboard fa-fw"></i></span>{$smarty.const.TXT_INDICS_US}</a>
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_CUADROS_MANDO_US}" href='index.php?page=cuadros'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-th fa-fw"></i></span>{$smarty.const.TXT_CUADROS_MANDO_US}</a>
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_USERS_US}" href='index.php?page=usuario_listar'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-users fa-fw"></i></span>{$smarty.const.TXT_USERS_US}</a>
                                </li>
                            </ul>
                        </div>
                        <!-- /.sidebar-collapse -->
                    </div>
                    <!-- /.navbar-default-sidebar -->

                </nav> 
                <!-- /Navigation -->

                <!-- Page Content -->
                <div id="page-wrapper">
                    <div id="page-container" class="container-fluid">

                        <!-- Notificaciones -->
                        {if isset($smarty.get.error)}
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="alert alert-danger alert-dismissible notificacion">
                                        <button type="button" class="close" data-dismiss="alert" aria-label="{$smarty.const.TXT_CERRAR}">
                                            <span aria-hidden="true">&times;</span></button>
                                        <i class="fa fa-exclamation-circle fa-fw"></i> 
                                        {$smarty.get.error}
                                    </div>
                                </div>
                                <!-- /.col-lg-12 -->
                            </div>
                            <!-- /.row -->
                        {/if}
                        {if isset($error)}
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="alert alert-danger alert-dismissible notificacion">
                                        <button type="button" class="close" data-dismiss="alert" aria-label="{$smarty.const.TXT_CERRAR}">
                                            <span aria-hidden="true">&times;</span></button>
                                        <i class="fa fa-exclamation-circle fa-fw"></i>  
                                        {$error}
                                    </div>
                                </div>
                                <!-- /.col-lg-12 -->
                            </div>
                            <!-- /.row -->
                        {/if}
                        {if isset($smarty.get.aviso)}
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="alert alert-warning alert-dismissible notificacion">
                                        <button type="button" class="close" data-dismiss="alert" aria-label="{$smarty.const.TXT_CERRAR}">
                                            <span aria-hidden="true">&times;</span></button>
                                        <i class="fa fa-exclamation-triangle fa-fw"></i>
                                        {$smarty.get.aviso}
                                    </div>
                                </div>
                                <!-- /.col-lg-12 -->
                            </div>
                            <!-- /.row -->
                        {/if}
                        {if isset($aviso)}
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="alert alert-warning alert-dismissible notificacion">
                                        <button type="button" class="close" data-dismiss="alert" aria-label="{$smarty.const.TXT_CERRAR}">
                                            <span aria-hidden="true">&times;</span></button>
                                        <i class="fa fa-exclamation-triangle fa-fw"></i> 
                                        {$aviso}
                                    </div>
                                </div>
                                <!-- /.col-lg-12 -->
                            </div>
                            <!-- /.row -->
                        {/if}           
                        {if isset($smarty.get.exito)}
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="alert alert-success alert-dismissible notificacion">
                                        <button type="button" class="close" data-dismiss="alert" aria-label="{$smarty.const.TXT_CERRAR}">
                                            <span aria-hidden="true">&times;</span></button>
                                        <i class="fa fa-check fa-fw"></i>
                                        {$smarty.get.exito}
                                    </div>
                                </div>
                                <!-- /.col-lg-12 -->
                            </div>
                            <!-- /.row -->
                        {/if}
                        {if isset($exito)}
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="alert alert-success alert-dismissible notificacion">
                                        <button type="button" class="close" data-dismiss="alert" aria-label="{$smarty.const.TXT_CERRAR}">
                                            <span aria-hidden="true">&times;</span></button>
                                        <i class="fa fa-check fa-fw"></i> 
                                        {$exito}
                                    </div>
                                </div>
                                <!-- /.col-lg-12 -->
                            </div>
                            <!-- /.row -->
                        {/if}
                        <!-- /Notificaciones -->

                        {* El cuerpo del template va aqui *}
                        {include file=$plantilla}

                    </div>
                    <!-- /.container-fluid -->
                </div>
                <!-- /#page-wrapper -->

                <!-- Footer -->
                <footer class="text-center footer">
                    <div class="container-fluid">
                        <div class="row">
                            <div class="col-lg-12">

                                <!-- Back to Top -->
                                <a title="{$smarty.const.TXT_VOLVER_ARRIBA}" id="top-link-block" href="#top" class="btn btn-primary hidden"  
                                   {literal}
                                       onclick="$('html,body').animate({scrollTop: 0}, 'slow');
                                               return false;"
                                   {/literal}>
                                    <i class="fa fa-chevron-up"></i>
                                </a>
                                <!-- /Back to Top -->

                                <span class="h4">{$smarty.const.TXT_ICASUS}</span> - {$smarty.const.TXT_APP_DESCRIPCION} - <a href="https://{$smarty.const.TXT_APP_WEB}">{$smarty.const.TXT_APP_WEB}</a>
                            </div>
                            <!-- /.col-lg-12 -->
                        </div>
                        <!-- /.row -->
                        <div class="row">
                            <div class="col-lg-12">
                                <small>{$smarty.const.FIELD_VERSION}: {$smarty.const.IC_VERSION} - {$smarty.const.FIELD_FECHA_REV}: {$smarty.const.IC_FECHA_REVISION}</small>
                            </div>
                            <!-- /.col-lg-12 -->
                        </div>
                        <!-- /.row -->
                    </div>
                    <!-- /.container-fluid -->
                </footer>
                <!-- /Footer -->

            </div>
            <!-- /#wrapper -->
        {else}
            {* Si no hay sesión iniciada *}
            <div class="container-fluid">
                {* El cuerpo del template va aqui *}
                {include file=$plantilla}
            </div>
            <!-- /.container-fluid --> 
        {/if}

        <!-- Diálogo Sesión expirada -->
        <div class="modal fade" id="dialogo_sesion_expirada" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h3 class="modal-title" id="myModalLabel"><i class="fa fa-exclamation-triangle fa-fw"></i> {$smarty.const.MSG_NO_SESION}</h3>
                    </div>
                    <div class="modal-footer">
                        <button type="button" title="{$smarty.const.TXT_BTN_ACEPTAR}" class="btn btn-primary" data-dismiss="modal" onclick="location.reload();"><i class="fa fa-check fa-fw"></i> {$smarty.const.TXT_BTN_ACEPTAR}</button>
                    </div>
                </div>
            </div>
        </div>
        <!-- /Diálogo Sesión expirada -->

        <!-- jQuery -->
        <script src="lib/jquery/jquery.min.js"></script>

        <!-- Bootstrap Core JavaScript -->
        <script src="lib/bootstrap/js/bootstrap.min.js"></script>

        <!-- Bootstrap Validator -->
        <script src="lib/bootstrap-validator/validator.min.js"></script>

        <!-- Bootstrap DatePicker -->
        <script src="lib/bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script>
        <script src="lib/bootstrap-datepicker/locales/bootstrap-datepicker.es.min.js"></script>

        <!-- Bootstrap Toggle -->
        <script src="lib/bootstrap-toggle/js/bootstrap-toggle.min.js"></script>

        <!-- Bootstrap FileStyle -->
        <script src="lib/bootstrap-filestyle/bootstrap-filestyle.min.js"></script>

        <!-- Chosen Plugin JavaScript -->
        <script src="lib/chosen/chosen.jquery.min.js"></script>

        <!-- Map Responsive Plugin JavaScript -->
        <script src="lib/jquery-rwdImageMaps/jquery.rwdImageMaps.min.js"></script>

        <!-- Datatables -->
        <script src="lib/dataTables/js/jquery.dataTables.min.js"></script>
        <script src="lib/dataTables/js/dataTables.bootstrap.js"></script>

        <!-- Datatables FixedHeader -->
        <script src="lib/dataTables/js/dataTables.fixedHeader.min.js"></script>

        <!-- Datatables FixedColumns -->
        <script src="lib/dataTables/js/dataTables.fixedColumns.min.js"></script>

        <!-- Datatables Buttons -->
        <script src="lib/dataTables/js/dataTables.buttons.min.js"></script>
        <script src="lib/dataTables/js/buttons.bootstrap.min.js"></script>
        <script src="lib/dataTables/js/buttons.html5.min.js"></script>
        <script src="lib/dataTables/js/buttons.print.min.js"></script>
        <script src="lib/dataTables/js/buttons.colVis.min.js"></script>

        <!-- JSZip -->
        <script src="lib/jszip/jszip.min.js"></script>

        <!-- Highcharts -->
        <script src="lib/highcharts/highcharts.js"></script>
        <script src="lib/highcharts/exporting.js"></script>
        <script src="lib/highcharts/Conjunto.js"></script>
        <script src="lib/highcharts/HighchartSerie.js"></script>

        <!-- Counter Up -->
        <script src="lib/counterup/waypoints.min.js"></script>
        <script src="lib/counterup/jquery.counterup.min.js"></script>

        <!-- Custom JavaScript -->
        <script src="js/index.js"></script>

        <!-- Validaciones personalizadas -->
        <script src="js/validador.js"></script>

        <!-- Configuration Script -->
        {if isset($_javascript)}
            {foreach from=$_javascript item=script} 
                <script type='text/javascript' src="js/{$script}.js"></script>
            {/foreach}
        {/if}

    </body>

</html><commit_msg>Incluye hoja de estilo modo demo<commit_after><!DOCTYPE html>
<html lang="es-ES">

    <head>

        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="application-name" content="{$smarty.const.TXT_ICASUS}">
        <meta name="description" content="{$smarty.const.TXT_APP_DESCRIPCION}">
        <meta name="author" content="<NAME>">
        <meta name="author" content="<NAME>">
        <meta name="author" content="<NAME>">

        <title>{$_nombre_pagina} - {$smarty.const.TXT_ICASUS}</title>

        <!-- Favicon -->
        <link rel="shortcut icon" href="favicon.ico">

        <!-- Bootstrap Core CSS -->
        <link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">

        <!-- Chosen CSS -->
        <link href="lib/chosen/chosen.min.css" rel="stylesheet">
        <link href="lib/chosen/chosen-bootstrap.css" rel="stylesheet">

        <!-- Bootstrap DatePicker -->
        <link href="lib/bootstrap-datepicker/css/bootstrap-datepicker3.min.css" rel="stylesheet">

        <!-- Bootstrap Toggle -->
        <link href="lib/bootstrap-toggle/css/bootstrap-toggle.min.css" rel="stylesheet">

        <!-- Datatables -->
        <link href="lib/dataTables/css/dataTables.bootstrap.css" rel="stylesheet">

        <!-- Datatables Buttons -->
        <link href="lib/dataTables/css/buttons.bootstrap.min.css" rel="stylesheet">

        <!-- Datatables FixedHeader -->
        <link href="lib/dataTables/css/fixedHeader.bootstrap.min.css" rel="stylesheet">

        <!-- Datatables FixedColumns -->
        <link href="lib/dataTables/css/fixedColumns.bootstrap.min.css" rel="stylesheet">

        <!-- Highslide -->
        <link rel="stylesheet" type="text/css" href="lib/highslide/highslide.css"/>
        <script type='text/javascript' src="lib/highslide/js/highslide-full.min.js"></script>
        <script type='text/javascript' src="lib/highslide/js/highslide.config.js"></script>

        <!-- Custom CSS -->
        <link href="css/estilo.css" rel="stylesheet">
        <!-- Modificaciones modo demo -->
        {if $smarty.const.IC_MODO_DEMO === true}<link href="css/demo.css" rel="stylesheet">{/if}

        <!-- Custom Fonts -->
        <link href="lib/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

        <!-- Google Analytics -->
        <script src="js/google_analytics.js"></script>

        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
            <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->

    </head>

    <body {if !isset($_usuario)} class="login-page" data-on_login="true"{/if} data-on_login="false">

        {if isset($_usuario)}
            {* Si se ha iniciado sesión *}
            <div id="wrapper">

                <!-- Navigation -->
                <nav id="top" class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                            <span class="sr-only">{$smarty.const.TXT_MOSTAR_OCULTAR_NAV}</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" title="{$smarty.const.TXT_APP_DESCRIPCION}" href="index.php">
                            <img class="logo pull-left" alt="{$smarty.const.TXT_UNIVERSIDAD}" src="images/logo.png">
                            {$smarty.const.TXT_ICASUS}
                        </a>
                    </div>
                    <!-- /.navbar-header -->

                    <ul class="nav navbar-top-links navbar-right">
                        <li class="dropdown">
                            <span id="fecha_actual" title="{$smarty.const.FIELD_FECHA}: {$smarty.now|date_format:'%d-%m-%Y'}"><i class="fa fa-calendar fa-fw"></i> {$smarty.now|date_format:'%d-%m-%Y'}</span>
                        </li>
                        <!-- /.dropdown -->
                        <li class="dropdown">
                            <a href='index.php?page=pagina_mostrar&alias=indice' title="{$smarty.const.TXT_AYUDA}"><i class="fa fa-question-circle fa-fw"></i></a>
                        </li>
                        <!-- /.dropdown -->
                        <li class="dropdown">
                            <a class="dropdown-toggle" title="{$smarty.const.TXT_INICIO_DESCRIPCION}" data-toggle="dropdown" href="#">
                                <i class="fa fa-th-list fa-fw"></i> <i class="fa fa-caret-down"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-alerts">
                                <li>
                                    <a title="{$smarty.const.TXT_USER_UNIDS} ({$num_entidades_usuario})" href='index.php?page=entidad_listar'>
                                        <div>
                                            <i class="fa fa-sitemap fa-fw"></i><sub class="fa fa-user fa-fw"></sub> {$smarty.const.TXT_USER_UNIDS}:
                                            <span class="pull-right badge">{$num_entidades_usuario}</span>
                                        </div>
                                    </a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a title="{$smarty.const.TXT_USER_PROCS} ({$num_procesos_propios})" href='index.php?page=procesos'>
                                        <div>
                                            <i class="fa fa-gears fa-fw"></i><sub class="fa fa-user fa-fw"></sub> {$smarty.const.TXT_USER_PROCS}:
                                            <span class="pull-right badge">{$num_procesos_propios}</span>
                                        </div>
                                    </a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a title="{$smarty.const.TXT_USER_INDIC} ({$num_indicadores_propios})" href='index.php?page=indicadores'>
                                        <div>
                                            <i class="fa fa-dashboard fa-fw"></i><sub class="fa fa-user fa-fw"></sub> {$smarty.const.TXT_USER_INDIC}:
                                            <span class="pull-right badge">{$num_indicadores_propios}</span>
                                        </div>
                                    </a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a title="{$smarty.const.TXT_USER_CUADROS} ({$num_cuadros_propios})" href='index.php?page=cuadros'>
                                        <div>
                                            <i class="fa fa-th fa-fw"></i><sub class="fa fa-user fa-fw"></sub> {$smarty.const.TXT_USER_CUADROS}:
                                            <span class="pull-right badge">{$num_cuadros_propios}</span>
                                        </div>
                                    </a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a title="{$smarty.const.TXT_USER_OBJOPS} ({$num_objops_propios})" href='index.php?page=planes'>
                                        <div>
                                            <i class="fa fa-bullseye fa-fw"></i><sub class="fa fa-user fa-fw"></sub> {$smarty.const.TXT_USER_OBJOPS}:
                                            <span class="pull-right badge">{$num_objops_propios}</span>
                                        </div>
                                    </a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a class="text-center" title="{$smarty.const.TXT_VER} {$smarty.const.TXT_TODOS} ({$smarty.const.TXT_INICIO})" href="index.php">
                                        <strong><i class="fa fa-home fa-fw"></i> {$smarty.const.TXT_INICIO} <i class="fa fa-angle-right"></i></strong>
                                    </a>
                                </li>
                            </ul>
                            <!-- /.dropdown-alerts -->
                        </li>
                        <!-- /.dropdown -->
                        <li class="dropdown">
                            <a class="dropdown-toggle" title="{$smarty.const.FIELD_USER}: {$_usuario->login}" data-toggle="dropdown" href="#">
                                <i class="fa fa-user fa-fw"></i> {$_usuario->login} <i class="fa fa-caret-down"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-user">
                                <li>
                                    <a title="{$smarty.const.TXT_USER_PERFIL}" href='index.php?page=usuario_mostrar&id_usuario={$_usuario->id}'><i class="fa fa-user fa-fw"></i> {$smarty.const.TXT_USER_PERFIL}</a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a title="{$smarty.const.TXT_CERRAR_SESION}" href="index.php?page={$smarty.const.IC_TIPO_LOGIN}&logout=true"><i class="fa fa-sign-out fa-fw"></i> {$smarty.const.TXT_CERRAR_SESION}</a>
                                </li>
                            </ul>
                            <!-- /.dropdown-menu -->
                        </li>
                        <!-- /.dropdown -->
                    </ul>
                    <!-- /.navbar-top-links -->

                    <div class="navbar-default sidebar" role="navigation" >
                        <div class="sidebar-nav navbar-collapse">
                            <ul class="nav" id="side-menu">
                                <li class="sidebar-search">
                                    <form method="get" action="index.php">
                                        <div class="input-group">
                                            <input type="hidden" name="page" value="busqueda">
                                            <input id="texto_buscar" name="texto_buscar" {if isset($texto) && $texto != ''}value='{$texto}'{/if} class="form-control" placeholder="{$smarty.const.TXT_BUSCAR}" type="text">
                                            <span class="input-group-btn">
                                                <button id="btn_buscar" title="{$smarty.const.TXT_BUSCAR}" class="btn btn-primary" type="submit">
                                                    <i class="fa fa-search fa-fw"></i>
                                                </button>
                                            </span>
                                        </div>
                                        <!-- /input-group -->
                                    </form>
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_INICIO}" href='index.php?page=inicio' accesskey='h'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-home fa-fw"></i></span>{$smarty.const.TXT_INICIO}</a>      
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_UNIDS_US}" href='index.php?page=entidad_listar'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-sitemap fa-fw"></i></span>{$smarty.const.TXT_UNIDS_US}</a>
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_PLANES_US}" href='index.php?page=planes'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-book fa-fw"></i></span>{$smarty.const.TXT_PLANES_US}</a>
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_CARTAS_US}" href='index.php?page=cartas'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-map-o fa-fw"></i></span>{$smarty.const.TXT_CARTAS_US}</a>
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_PROCS_US}" href='index.php?page=procesos'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-gears fa-fw"></i></span>{$smarty.const.TXT_PROCS_US}</a>
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_INDICS_US}" href='index.php?page=indicadores'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-dashboard fa-fw"></i></span>{$smarty.const.TXT_INDICS_US}</a>
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_CUADROS_MANDO_US}" href='index.php?page=cuadros'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-th fa-fw"></i></span>{$smarty.const.TXT_CUADROS_MANDO_US}</a>
                                </li>
                                <li>
                                    <a title="{$smarty.const.TXT_USERS_US}" href='index.php?page=usuario_listar'>
                                        <span class="fa-stack fa-lg"><i class="fa fa-users fa-fw"></i></span>{$smarty.const.TXT_USERS_US}</a>
                                </li>
                            </ul>
                        </div>
                        <!-- /.sidebar-collapse -->
                    </div>
                    <!-- /.navbar-default-sidebar -->

                </nav> 
                <!-- /Navigation -->

                <!-- Page Content -->
                <div id="page-wrapper">
                    <div id="page-container" class="container-fluid">

                        <!-- Notificaciones -->
                        {if isset($smarty.get.error)}
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="alert alert-danger alert-dismissible notificacion">
                                        <button type="button" class="close" data-dismiss="alert" aria-label="{$smarty.const.TXT_CERRAR}">
                                            <span aria-hidden="true">&times;</span></button>
                                        <i class="fa fa-exclamation-circle fa-fw"></i> 
                                        {$smarty.get.error}
                                    </div>
                                </div>
                                <!-- /.col-lg-12 -->
                            </div>
                            <!-- /.row -->
                        {/if}
                        {if isset($error)}
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="alert alert-danger alert-dismissible notificacion">
                                        <button type="button" class="close" data-dismiss="alert" aria-label="{$smarty.const.TXT_CERRAR}">
                                            <span aria-hidden="true">&times;</span></button>
                                        <i class="fa fa-exclamation-circle fa-fw"></i>  
                                        {$error}
                                    </div>
                                </div>
                                <!-- /.col-lg-12 -->
                            </div>
                            <!-- /.row -->
                        {/if}
                        {if isset($smarty.get.aviso)}
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="alert alert-warning alert-dismissible notificacion">
                                        <button type="button" class="close" data-dismiss="alert" aria-label="{$smarty.const.TXT_CERRAR}">
                                            <span aria-hidden="true">&times;</span></button>
                                        <i class="fa fa-exclamation-triangle fa-fw"></i>
                                        {$smarty.get.aviso}
                                    </div>
                                </div>
                                <!-- /.col-lg-12 -->
                            </div>
                            <!-- /.row -->
                        {/if}
                        {if isset($aviso)}
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="alert alert-warning alert-dismissible notificacion">
                                        <button type="button" class="close" data-dismiss="alert" aria-label="{$smarty.const.TXT_CERRAR}">
                                            <span aria-hidden="true">&times;</span></button>
                                        <i class="fa fa-exclamation-triangle fa-fw"></i> 
                                        {$aviso}
                                    </div>
                                </div>
                                <!-- /.col-lg-12 -->
                            </div>
                            <!-- /.row -->
                        {/if}           
                        {if isset($smarty.get.exito)}
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="alert alert-success alert-dismissible notificacion">
                                        <button type="button" class="close" data-dismiss="alert" aria-label="{$smarty.const.TXT_CERRAR}">
                                            <span aria-hidden="true">&times;</span></button>
                                        <i class="fa fa-check fa-fw"></i>
                                        {$smarty.get.exito}
                                    </div>
                                </div>
                                <!-- /.col-lg-12 -->
                            </div>
                            <!-- /.row -->
                        {/if}
                        {if isset($exito)}
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="alert alert-success alert-dismissible notificacion">
                                        <button type="button" class="close" data-dismiss="alert" aria-label="{$smarty.const.TXT_CERRAR}">
                                            <span aria-hidden="true">&times;</span></button>
                                        <i class="fa fa-check fa-fw"></i> 
                                        {$exito}
                                    </div>
                                </div>
                                <!-- /.col-lg-12 -->
                            </div>
                            <!-- /.row -->
                        {/if}
                        <!-- /Notificaciones -->

                        {* El cuerpo del template va aqui *}
                        {include file=$plantilla}

                    </div>
                    <!-- /.container-fluid -->
                </div>
                <!-- /#page-wrapper -->

                <!-- Footer -->
                <footer class="text-center footer">
                    <div class="container-fluid">
                        <div class="row">
                            <div class="col-lg-12">

                                <!-- Back to Top -->
                                <a title="{$smarty.const.TXT_VOLVER_ARRIBA}" id="top-link-block" href="#top" class="btn btn-primary hidden"  
                                   {literal}
                                       onclick="$('html,body').animate({scrollTop: 0}, 'slow');
                                               return false;"
                                   {/literal}>
                                    <i class="fa fa-chevron-up"></i>
                                </a>
                                <!-- /Back to Top -->

                                <span class="h4">{$smarty.const.TXT_ICASUS}</span> - {$smarty.const.TXT_APP_DESCRIPCION} - <a href="https://{$smarty.const.TXT_APP_WEB}">{$smarty.const.TXT_APP_WEB}</a>
                            </div>
                            <!-- /.col-lg-12 -->
                        </div>
                        <!-- /.row -->
                        <div class="row">
                            <div class="col-lg-12">
                                <small>{$smarty.const.FIELD_VERSION}: {$smarty.const.IC_VERSION} - {$smarty.const.FIELD_FECHA_REV}: {$smarty.const.IC_FECHA_REVISION}</small>
                            </div>
                            <!-- /.col-lg-12 -->
                        </div>
                        <!-- /.row -->
                    </div>
                    <!-- /.container-fluid -->
                </footer>
                <!-- /Footer -->

            </div>
            <!-- /#wrapper -->
        {else}
            {* Si no hay sesión iniciada *}
            <div class="container-fluid">
                {* El cuerpo del template va aqui *}
                {include file=$plantilla}
            </div>
            <!-- /.container-fluid --> 
        {/if}

        <!-- Diálogo Sesión expirada -->
        <div class="modal fade" id="dialogo_sesion_expirada" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h3 class="modal-title" id="myModalLabel"><i class="fa fa-exclamation-triangle fa-fw"></i> {$smarty.const.MSG_NO_SESION}</h3>
                    </div>
                    <div class="modal-footer">
                        <button type="button" title="{$smarty.const.TXT_BTN_ACEPTAR}" class="btn btn-primary" data-dismiss="modal" onclick="location.reload();"><i class="fa fa-check fa-fw"></i> {$smarty.const.TXT_BTN_ACEPTAR}</button>
                    </div>
                </div>
            </div>
        </div>
        <!-- /Diálogo Sesión expirada -->

        <!-- jQuery -->
        <script src="lib/jquery/jquery.min.js"></script>

        <!-- Bootstrap Core JavaScript -->
        <script src="lib/bootstrap/js/bootstrap.min.js"></script>

        <!-- Bootstrap Validator -->
        <script src="lib/bootstrap-validator/validator.min.js"></script>

        <!-- Bootstrap DatePicker -->
        <script src="lib/bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script>
        <script src="lib/bootstrap-datepicker/locales/bootstrap-datepicker.es.min.js"></script>

        <!-- Bootstrap Toggle -->
        <script src="lib/bootstrap-toggle/js/bootstrap-toggle.min.js"></script>

        <!-- Bootstrap FileStyle -->
        <script src="lib/bootstrap-filestyle/bootstrap-filestyle.min.js"></script>

        <!-- Chosen Plugin JavaScript -->
        <script src="lib/chosen/chosen.jquery.min.js"></script>

        <!-- Map Responsive Plugin JavaScript -->
        <script src="lib/jquery-rwdImageMaps/jquery.rwdImageMaps.min.js"></script>

        <!-- Datatables -->
        <script src="lib/dataTables/js/jquery.dataTables.min.js"></script>
        <script src="lib/dataTables/js/dataTables.bootstrap.js"></script>

        <!-- Datatables FixedHeader -->
        <script src="lib/dataTables/js/dataTables.fixedHeader.min.js"></script>

        <!-- Datatables FixedColumns -->
        <script src="lib/dataTables/js/dataTables.fixedColumns.min.js"></script>

        <!-- Datatables Buttons -->
        <script src="lib/dataTables/js/dataTables.buttons.min.js"></script>
        <script src="lib/dataTables/js/buttons.bootstrap.min.js"></script>
        <script src="lib/dataTables/js/buttons.html5.min.js"></script>
        <script src="lib/dataTables/js/buttons.print.min.js"></script>
        <script src="lib/dataTables/js/buttons.colVis.min.js"></script>

        <!-- JSZip -->
        <script src="lib/jszip/jszip.min.js"></script>

        <!-- Highcharts -->
        <script src="lib/highcharts/highcharts.js"></script>
        <script src="lib/highcharts/exporting.js"></script>
        <script src="lib/highcharts/Conjunto.js"></script>
        <script src="lib/highcharts/HighchartSerie.js"></script>

        <!-- Counter Up -->
        <script src="lib/counterup/waypoints.min.js"></script>
        <script src="lib/counterup/jquery.counterup.min.js"></script>

        <!-- Custom JavaScript -->
        <script src="js/index.js"></script>

        <!-- Validaciones personalizadas -->
        <script src="js/validador.js"></script>

        <!-- Configuration Script -->
        {if isset($_javascript)}
            {foreach from=$_javascript item=script} 
                <script type='text/javascript' src="js/{$script}.js"></script>
            {/foreach}
        {/if}

    </body>

</html>
{'fraction_non_alphanumeric': 0.1501758006573416, 'fraction_numerical': 0.0020637468470534283, 'mean_word_length': 1.065721954685403, 'pattern_counts': {'":': 0, '<': 1067, '<?xml version=': 0, '>': 1073, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 306, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7113975', 'n_tokens_mistral': 13676, 'n_tokens_neox': 12985, 'n_words': 1989}