<?php
session_start();

include "../phpconfig/config.php";
include "../phpconfig/valida_login.php";
include "../includes/topo.php"; 

$id = $_GET['id'];

$sql = mysql_query("SELECT * FROM empresas WHERE id='$id'");
$sql2 = mysql_query("SELECT * FROM empresamais WHERE id_emp='$id'");
$lin = mysql_fetch_assoc($sql);
$lin2 = mysql_fetch_assoc($sql2);




$id_uf = $lin['id_uf'];
$id_cidade = $lin['id_cidade'];
$id_bairro = $lin['id_bairro'];
$slug = $lin['slug'];




$sqle = mysql_query("SELECT * FROM l_estados ORDER BY estado asc");
$sqlc2 = mysql_query("SELECT * FROM l_cidades WHERE id_uf='$id_uf' ORDER BY cidade asc");
$sqlb2 = mysql_query("SELECT * FROM l_bairros WHERE id_cidade='$id_cidade' ORDER BY bairro asc");

?>

<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
    <style>    
    #mapCanvas{
        width:100%;
        height:300px;

    }
    #mapCanvas img {
        border: 0 none;
        height: auto;
        max-width: none;

     }
      body {
        padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
      }

      body {
        padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
      }
    </style>

        <ul class="breadcrumb">
          <li><a href="<?php echo sti('adm');  ?>">Home</a></li>
          <li class="active">Empresa deletada</li>
         
        </ul>
        </br>
         </br>
          </br>
       <center><h3><p class="text-success">Empresa deletada</p></center>
    
      </br>
       </br>
        </br>
         </br>

          <hr>

  

        <div class="form-actions">


          <div class="form-actions">
        
            <a class="btn btn-warning pull-laft" href="../completo/edit2.php?id=">Novo: Editar / Remover</a>
            




      </script>

<?php include "../includes/rodape.php"; ?>

