function escolher_empresa() { echo "<div class='uk-width-1-1 '>\n\t\t\t\t\t<div class='uk-grid '>\n\t\t\t\t\t\t<div class='uk-width-1-1'>\n\t\t\t\t\t\t\t<div class='uk-text-left uk-width-small-1-1 uk-width-medium-1-1 uk-width-large-1-1 '>\n\t\t\t\t\t\t\t\t<div class='uk-thumbnail uk-width-1-1' style='background: none repeat scroll 0% 0% rgb(255, 255, 255) ! important;'>\n\t\t\t\t\t\t\t\t\t<div class='uk-thumbnail-caption uk-text-left'>\n\t\t\t\t\t\t\t\t\t\t<div id=''>\n\t\t\t\t\t\t\t\t\t\t<span class='uk-article-lead'><i class='uk-icon-exchange' style=''></i> Mudar de empresa</br>\n\t\t\t\t\t\t\t\t\t\t\t<span class='uk-article-meta'>Escolha uma empresa para se logar</span>\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t<table class='uk-table uk-table-hover' style='font-size: 12px ! important;' >\n\t\t\t\t\t\t\t\t\t\t\t <thead>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-1'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-grid'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-small-1-1 uk-width-medium-2-3 uk-width-large-4-5'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRazão Social\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-small-1-1 uk-width-medium-1-3 uk-width-large-1-5'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tCNPJ\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\t\t\t\t\t</thead>"; $navempresa = new navempresa(); $navempresa->listar_cad_empresa_('0', $_SESSION['cod_usuario']); echo "</table>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<form action='index.php' method='post' id='form_login_empresa'>\n\t\t\t\t\t\t\t\t\t\t\t<input type='text' name='cod_empresa' id='cod_empresa' hidden />\n\t\t\t\t\t\t\t\t\t\t</form>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>"; }
include "php/config.php"; include "php/sql.php"; include "php/login.php"; include "php/nav_bar.php"; include "dependencias.php"; $login = new login(); $login->login_empresa(); $login->checklogin(); ?> <div class="uk-width-small-1-1 uk-width-medium-4-5 uk-width-large-3-4 uk-container-center uk-text-center"> <div class="uk-grid "> <?php if ((isset($_GET['act']) and $_GET['act'] == "mudar_empresa" or isset($_SESSION['cod_empresa']) == false or isset($_SESSION['cod_empresa']) and $_SESSION['cod_empresa'] == "") and (isset($_SESSION['loged']) and $_SESSION['loged'] == true)) { $navempresa = new navempresa(); $navempresa->escolher_empresa(); } else { if (isset($_SESSION['cod_empresa'])) { $navbar = new navbar(); $navbar->navbar_intranet(); } } ?> </div> </div> <style>