<?php include 'concha.php';?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="//www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $nombresitio ?> - Panel de Administracion</title>
    
    <!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<style type="text/css">
<!--


body {
	background-image: url(../fondeux.jpg);
}


</style>

<style type="text/css">
<!--
.Estilo3 {
	font-family: "Trebuchet MS";
	font-size: 24px;
}
-->
</style>

<script type="text/javascript" src="//recursos.radiosnethosting.com/ckeditor/ckeditor.js"></script>

    
    
    <style type="text/css">
<!--
.Estilo4 {
	font-family: "Trebuchet MS";
	font-size:12px;

}
.Estilo8 {color: #FF0000; font-size: 10px; }
.Estilo23 {font-style: italic}
.Estilo24 {color: #000000}
-->
    </style>
 <style>
                    .form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
                      
                      </style>
                      

</head>

<body>

<script language=javascript>
function ventanaSecundaria (URL){
   window.open(URL,"ventana1","width=550,height=450,scrollbars=NO")
}
  </script>

        <div class="container" style="background-color:#F1F2ED;max-width:960px;">
        
        <nav class="navbar navbar-default">
        
        <?php include 'menu.php';  ?>
     
     </nav>
    
    </div>
   
      <div style="background-color:#fff;max-width:960px;" class="container">
                  
                <div class="page-header" style="text-align:center;">
  
                  <h2>EDITAR INFORMACIÓN EQUIPOS</h2>

              </div>
              

    </div>   
        
              <div style="background-color:#fff;max-width:960px;min-height:90vh;" class="container">
              
              <div class="row">
              
                  
                  
                                      <?php 
	  $ID = (int)$_GET['ID'];
                                
mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");
$sql = "SELECT * FROM `equipos` WHERE ID = '$ID' LIMIT 1";
$consulta = mysql_query ($sql);
while ($row = mysql_fetch_array($consulta))
{

$ID = $row["ID"];
$nombre = $row["nombre"];
$logo = $row["logo"];
$localidad = $row["localidad"];

 }    
                
?>
               
              <div class="col-12 col-lg-6">
                  
                      <form id="formy1" name="formy1" action="form_editar_info_principal_equipos.php" method="POST">
                            
                          <div class="form-group" style="display: none;">
                              
                              <input value="<?php echo $ID ;?>" type="text" class="form-control" name="ID1" placeholder="ID">
                          
                          </div>
                          
                          <div class="form-group">
                              
                              <input value="<?php echo $nombre ;?>" type="text" class="form-control" name="nombre1" placeholder="Nombre y Apellido">
                          
                          </div>
                                                                            
                          <div class="form-group">
                              
                              <input value="<?php echo $localidad ;?>" type="mail" class="form-control" name="localidad1" placeholder="Correo">
                          
                          </div>
                                                 
                        <button type="submit" class="btn btn-primary btn-lg btn-block">Cargar</button>
                    
                      </form>
                  
                  </div>
                  
                  <div class="col-12 col-lg-6">        
                      
              <div class="container-fluid">
              <div class="row bloque">
                  
                  <div class="col-12 col-lg-6">
                  
                    <style>
                  
                        .bloque{
                            
                            background-color: #fff;
                        }
                        
                  .grid-item{
                      margin-bottom: 1em;
                  }
                  .afterBefore {
                      background-color: #fff;
                      
                  }
                  .afterBefore a {
                      
                      display: block;
                      text-align: center;
                      border: 1px #0066FF solid;
                      padding: 0.5em;
                      margin: 0.5em 0;
                      background-color: #0066FF;
                      color: white;
                  } 
                  
                  .afterBefore a p {
                      margin: 0;
                      font-size: 0.9em;
                  }
                  
                 .afterBefore ul{
                      list-style: none;
                      padding: 1em;
                     margin-bottom: 0;
                  }
                  
                  .tituloAfter h4{
                      /*text-align: center;*/
                      
                      
                  }
                  
                  </style>
                  
                   <div class="afterBefore">
                       
                       <img src="<?php   echo "$dom/$logo" ;?>" class="surhive" alt="RadiosNet" style="max-width: 100%;"> 
                  
                  
                       
                  </div>
                      
                      </div>
                  <div style="background-color:#fff;" class="col-12 col-lg-6">
                  <div class="tituloAfter">
                  
                      <h4><?php   echo $nombre     ;?></h4>
                  
                  </div>
                  
              <div class="afterBefore">
                 <ul>
                                          
                     <li><p><?php echo $localidad ;?></p></li>                     
                     <li><p><?php echo $estadio ;?></p></li>
                     
                     <li><p><?php echo $instagrama     ;?></p></li>
                     <li><p><?php echo $facebooka     ;?></p></li>
                     <li><p><?php   echo $whatsappa     ;?></p></li>
                  
                  
                  </ul>
             
                  
                  
              </div>
              </div>
              </div>
                 </div>     
              <?php 


mysql_free_result($consulta);

?>   
                  
              </div>
              </div>
              
  </div>
           
     

    <script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>      
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
 
    <script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.js"></script>
<script type="text/javascript">
window.setInterval(function(){
  $('.grid').isotope({
  itemSelector: '.grid-item'
});
}, 2000);
</script>
    
   
</body>
</html>
