<?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;
}
.Estilo2 {	font-family: "Trebuchet MS";
	font-size: 18px;
	color:#000066;
}
.Estilo43 {font-family: "Trebuchet MS"; font-size: 13px; color: #373737; }
.Estilo44 {	font-size: 14px;

	font-family: Verdana, Arial, Helvetica, sans-serif;
}
-->
</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">
        <table width="825" border="0" align="center" class="Estilo44">
          <tr>
            <td width="438" valign="top"><span style=";font-family:<?php echo $style_titulo ?>;font-size:35px;color:<?php echo $d_color_titulo?>;">Contáctenos</span><br />
                <br />
                <?php 
include('concha.php');


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


mysql_select_db ("$basedatos");





$sql = "SELECT * FROM configuracion";





$consulta = mysql_query ($sql);


while ($row = mysql_fetch_array($consulta))


{


$contacto = $row["contacto"];









}


mysql_free_result($consulta);


?>
                </span>
                <p class="Estilo2"><?php echo $contacto ?></p></td>
            <td width="377"><table width="90%" border="0" align="left">
                <tr>
                  <td width="64%" valign="top" class="Estilo44"><form action="formct.php" method="post" name="form1" id="form1">
                      <div id="infoct">
                        <div class="Estilo1" id="campo1">Nombre:</div>
                        <div id="campo2">
                          <label>
                          <input name="nombre" type="text" class="Estilo44" id="nombre" size="50" />
                          </label>
                        </div>
                        <div class="Estilo1" id="campo1">Tel&eacute;fono:</div>
                        <div id="campo2">
                          <input name="telefono" type="text" class="Estilo44" id="telefono" size="50" />
                        </div>
                        <div class="Estilo1" id="campo1">e-mail:</div>
                        <div id="campo2">
                          <input name="email" type="text" class="Estilo44" id="email" size="50" />
                        </div>
                        <div class="Estilo1" id="campo1">
                          <div class="Estilo1" id="campo3"></div>
                          <div id="campo4"></div>
                          Consulta:</div>
                        <div id="campo2">
                          <label>
                          <textarea name="consulta" cols="50" rows="6" class="Estilo44" id="consulta"></textarea>
                          </label>
                        </div>
                        <br />
                        <span class="Estilo43">Escriba las letras que aparecen en donde indica la flecha</span><br />
                        <?php
						
          require_once('recaptchalib.php');
          $publickey = "6LdAWMESAAAAAHpz874QmLV5K9eiTJJbr6Pha0Qe"; // you got this from the signup page
          echo recaptcha_get_html($publickey);
        ?>
                        <br />
                        <input name="Submit" type="submit" class="Estilo44" value="Enviar Consulta" />
                        </label>
                      </div>
                    
                  </form></td>
                </tr>
              </table>
                <p class="Estilo2">&nbsp;</p></td>
          </tr>
        </table>
      </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>