<?php include 'concha.php';
?>



<?


  
$e = $_GET['e'];

  include 'concha.php';


mysql_connect ("$host", "$usuario", "$contra");


mysql_select_db ("$basedatos");


$sql = "SELECT * FROM menu WHERE ID = '$e'";


$consulta = mysql_query ($sql);


while ($row = mysql_fetch_array($consulta))


{


$texto= $row["link"];


$url = $row["url"];



$titulo = $row["titulo"];





 }


mysql_free_result($consulta);

?>

<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<?php include 'concha.php';?>
<title><?php echo $nombresitio ?> - <?php echo $titulo ?></title>

 
<!-- Mobile viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

<link rel="shortcut icon" href="images/favicon.ico"  type="image/x-icon">

<!-- CSS-->
<!-- Google web fonts. You can get your own bundle at http://www.google.com/fonts. Don't forget to update the CSS accordingly!-->
<link href='http://fonts.googleapis.com/css?family=Droid+Serif|Ubuntu' rel='stylesheet' type='text/css'>

<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="js/flexslider/flexslider.css">
<link rel="stylesheet" href="css/basic-style.css">

<!-- end CSS-->
    
<!-- JS-->
<script src="js/libs/modernizr-2.6.2.min.js"></script>
<!-- end JS-->


<!-- columns demo style. DELETE IT! -->
<style type="text/css">
<!--

#columnsdemo .grid_1,
#columnsdemo .grid_2,
#columnsdemo .grid_3,
#columnsdemo .grid_4,
#columnsdemo .grid_5,
#columnsdemo .grid_6,
#columnsdemo .grid_7,
#columnsdemo .grid_8,
#columnsdemo .grid_9,
#columnsdemo .grid_10,
#columnsdemo .grid_11,
#columnsdemo .grid_12 {
border: solid 1px #999;
color:#999;
text-align: center;
margin-top:20px;
padding:20px 15px;
}
.Estilo1 {color: #333333}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>

<body id="home">
  
<!-- header area -->
    <header class="wrapper clearfix">
		       
        <div id="banner">        
        	<div id="logo"><a href="index.php"><img src="<?php echo $logo_C ?>" alt="logo"></a></div> 
      </div>
        
    <?php  include 'menu.php';?>
  
    </header><!-- end header -->
 
 
      
      
    <!-- columns demo, delete it!-->
    <section id="columnsdemo" style="margin-bottom:60px; width:100%" class="clearfix">

 
        
 
        
      <div class="grid_12">
      
      
      <div align="center">
        <span class="Estilo1"><strong>Lunes:</strong><br>

              <?php $dia = "Lunes";  include 'select_programacion.php'; ?>
        </span></div>
              <div align="center" class="Estilo1">
              <strong>Martes:</strong><br>

              <?php $dia = "Martes";  include 'select_programacion.php'; ?>
        </div>
          
          <div align="center" class="Estilo1">
          <strong>Miercoles:</strong><br>

              <?php $dia = "Miercoles";  include 'select_programacion.php'; ?>
        </div><div align="center" class="Estilo1">
          <strong>Jueves:</strong><br>

              <?php $dia = "Jueves";  include 'select_programacion.php'; ?>
          </div>
          <div align="center" class="Estilo1">
          <strong>Viernes:</strong><br>

              <?php $dia = "Viernes";  include 'select_programacion.php'; ?>
        </div>
          <div align="center" class="Estilo1">
          <strong>Sabado:</strong><br>

              <?php $dia = "Sabado";  include 'select_programacion.php'; ?>
        </div><div align="center" class="Estilo1">
          <b>Domingo:</b><br>

              <?php $dia = "Domingo";  include 'select_programacion.php'; ?>
          </div>
      </div>
  
     
    </section>
    <!-- end columns demo -->  
    
      
  </div><!-- #end div #main .wrapper -->


<!-- footer area -->    
<footer>
	<div id="colophon" class="wrapper clearfix">
<?php echo     	$nombresitio ?>
    </div>
    

    
</footer><!-- #end footer area --> 


<!-- jQuery -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.9.0.min.js">\x3C/script>')</script>

<script defer src="js/flexslider/jquery.flexslider-min.js"></script>

<!-- fire ups - read this file!  -->   
<script src="js/main.js"></script>

</body>
</html>