<?php require_once('Connections/conexion.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
$colname_home = "-1";
if (isset($_GET['id'])) {
$colname_home = $_GET['id'];
}
mysql_select_db($database_argentino, $argentino);
$query_home = sprintf("SELECT * FROM textos_dcha WHERE id = 1", GetSQLValueString($colname_home, "int"));
$home = mysql_query($query_home, $argentino) or die(mysql_error());
$row_home = mysql_fetch_assoc($home);
$totalRows_home = mysql_num_rows($home);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/plantilla_ru.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>LA WEB</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- styles needed by jScrollPane - include in your own sites -->
<link type="text/css" href="scripts/vitch-jScrollPane-f3143b0/style/jquery.jscrollpane.css" rel="stylesheet" media="all" />
<!-- latest jQuery direct from google's CDN -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<!-- the mousewheel plugin -->
<script type="text/javascript" src="scripts/vitch-jScrollPane-f3143b0/script/jquery.mousewheel.js"></script>
<!-- the jScrollPane script -->
<script type="text/javascript" src="scripts/vitch-jScrollPane-f3143b0/script/jquery.jscrollpane.min.js"></script>
<script type="text/javascript" id="sourcecode">
$(function()
{
$('.scroll-pane').jScrollPane(
{
showArrows: true,
arrowScrollOnHover: true
}
);
});
</script>
<script type="text/javascript">
var $ = jQuery.noConflict();
</script>
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />
<script type="text/javascript" src="scripts/jquery.ez-bg-resize.js" charset="utf8"></script>
<script type="text/javascript">
$(document).ready(function() {
$("body").ezBgResize({
img : "img/fondos/home_solo3.jpg", // Relative path example. You could also use an absolute url (http://...).
opacity : 1, // Opacity. 1 = 100%. This is optional.
center : true // Boolean (true or false). This is optional. Default is true.
});
});
</script>
<!-- InstanceEndEditable -->
<!-- main css -->
<link href="css/estilos.css" rel="stylesheet" type="text/css" />
<!-- media queries css -->
<link href="css/media-queries.css" rel="stylesheet" type="text/css">
</head>
<body>
<?php include_once("includes/analyticstracking.php") ?>
<div id="wrapper">
<div id="col1">
<div id="sepmenuhaut">
</div>
<div id="menu">
<ul id="menudedans">
<!-- InstanceBeginEditable name="menudedans" -->
<li class="menuin"><span style="font-weight:normal">></span>HOME</li>
<li><a href="carta.php">MENÚS1</a></li>
<li><a href="menus.php">MENÚS2</a></li>
<li><a href="galeria.php">MENÚS3</a></li>
<li><a href="MENU.php">MENÚS4</a></li>
<li><a href="MENU.php">MENÚS5</a></li>
<li><a href="MENU.php">MENÚS6</a></li>
<li><a href="MENU.php">MENÚS7</a></li>
<li><a href="MENU.php">MENÚS8</a></li>
<!-- InstanceEndEditable -->
</ul>
</div>
</div>
<div id="col2">
<div id="cabecera">
<div id="logo">
<p><a href="index.php"><img src="img/logo.png" /></a></p>
</div>
<div id="lineas">
</div>
<div id="idiomas">
<p><a href="indexcat.php">CAT</a> <a href="indexen.php">ING</a> <a href="indexfr.php">FRA</a></p>
</div>
</div>
<div id="cuerpo">
<!-- InstanceBeginEditable name="cuerpo" -->
<img id="imagehome" src="<?php echo $row_home['img']; ?>" />
<!-- InstanceEndEditable -->
</div>
<div id="pie">
<div id="galeria"><!-- InstanceBeginEditable name="galeria" --><div id="menucentre"><a href="menus.php"><img src="img/menus/iconos/iconos 1.png" width="7%" style="float:left; padding:2%" /> <br />MENÚS<br /> MENÚS</a></div><!-- InstanceEndEditable -->
</div>
<div id="tel">
<div id="direc">
<p><a href="http://maps.google.es/maps?q=Carrer08011+Barcelona,+Catalunya&t=m&z=17" target="_blank">ARAGÓN </a></p>
</div>
<div id="iconos">
<div id="facebook" onclick="window.open('https://www.facebook.com/page','_blank');" style="cursor:pointer;">
<img src="img/facebook.png" />
</div>
<div id="mail" onclick="location.href='mailto:elma@gmail.com'" style="cursor:pointer;">
<img src="img/mail.png" />
</div>
<div id="telef">
<img src="img/tel.png" />
</div>
</div>
<div id="tele">
<p>+965565655</p>
</div>
</div>
</div>
<div id="piebottom"></div>
</div>
<div id="col3">
<div id="septexto">
</div>
<!-- InstanceBeginEditable name="texto" -->
<div id="texto">
<div id="septextoin"></div>
<div id="textoin">
<div class="scroll-pane">
<?php echo $row_home['ru']; ?>
</div>
</div>
</div>
<!-- InstanceEndEditable -->
</div>
</div>
</body>
<!-- InstanceEnd --></html>
<?php
mysql_free_result($home);
?>