diff --git a/Scripts/expressInstall.swf b/Scripts/expressInstall.swf new file mode 100644 index 0000000..86958bf Binary files /dev/null and b/Scripts/expressInstall.swf differ diff --git a/Scripts/swfobject_modified.js b/Scripts/swfobject_modified.js new file mode 100644 index 0000000..04881fa --- /dev/null +++ b/Scripts/swfobject_modified.js @@ -0,0 +1,669 @@ +/*! SWFObject v2.0 + Copyright (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis + This software is released under the MIT License +*/ + +var swfobject = function() { + + var UNDEF = "undefined", + OBJECT = "object", + SHOCKWAVE_FLASH = "Shockwave Flash", + SHOCKWAVE_FLASH_AX = "ShockwaveFlash.ShockwaveFlash", + FLASH_MIME_TYPE = "application/x-shockwave-flash", + EXPRESS_INSTALL_ID = "SWFObjectExprInst", + + win = window, + doc = document, + nav = navigator, + + domLoadFnArr = [], + regObjArr = [], + timer = null, + storedAltContent = null, + storedAltContentId = null, + isDomLoaded = false, + isExpressInstallActive = false; + + /* Centralized function for browser feature detection + - Proprietary feature detection (conditional compiling) is used to detect Internet Explorer's features + - User agent string detection is only used when no alternative is possible + - Is executed directly for optimal performance + */ + var ua = function() { + var w3cdom = typeof doc.getElementById != UNDEF && typeof doc.getElementsByTagName != UNDEF && typeof doc.createElement != UNDEF && typeof doc.appendChild != UNDEF && typeof doc.replaceChild != UNDEF && typeof doc.removeChild != UNDEF && typeof doc.cloneNode != UNDEF, + playerVersion = [0,0,0], + d = null; + if (typeof nav.plugins != UNDEF && typeof nav.plugins[SHOCKWAVE_FLASH] == OBJECT) { + d = nav.plugins[SHOCKWAVE_FLASH].description; + if (d) { + d = d.replace(/^.*\s+(\S+\s+\S+$)/, "$1"); + playerVersion[0] = parseInt(d.replace(/^(.*)\..*$/, "$1"), 10); + playerVersion[1] = parseInt(d.replace(/^.*\.(.*)\s.*$/, "$1"), 10); + playerVersion[2] = /r/.test(d) ? parseInt(d.replace(/^.*r(.*)$/, "$1"), 10) : 0; + } + } + else if (typeof win.ActiveXObject != UNDEF) { + var a = null, fp6Crash = false; + try { + a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".7"); + } + catch(e) { + try { + a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".6"); + playerVersion = [6,0,21]; + a.AllowScriptAccess = "always"; // Introduced in fp6.0.47 + } + catch(e) { + if (playerVersion[0] == 6) { + fp6Crash = true; + } + } + if (!fp6Crash) { + try { + a = new ActiveXObject(SHOCKWAVE_FLASH_AX); + } + catch(e) {} + } + } + if (!fp6Crash && a) { // a will return null when ActiveX is disabled + try { + d = a.GetVariable("$version"); // Will crash fp6.0.21/23/29 + if (d) { + d = d.split(" ")[1].split(","); + playerVersion = [parseInt(d[0], 10), parseInt(d[1], 10), parseInt(d[2], 10)]; + } + } + catch(e) {} + } + } + var u = nav.userAgent.toLowerCase(), + p = nav.platform.toLowerCase(), + webkit = /webkit/.test(u) ? parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/, "$1")) : false, // returns either the webkit version or false if not webkit + ie = false, + windows = p ? /win/.test(p) : /win/.test(u), + mac = p ? /mac/.test(p) : /mac/.test(u); + /*@cc_on + ie = true; + @if (@_win32) + windows = true; + @elif (@_mac) + mac = true; + @end + @*/ + return { w3cdom:w3cdom, pv:playerVersion, webkit:webkit, ie:ie, win:windows, mac:mac }; + }(); + + /* Cross-browser onDomLoad + - Based on Dean Edwards' solution: http://dean.edwards.name/weblog/2006/06/again/ + - Will fire an event as soon as the DOM of a page is loaded (supported by Gecko based browsers - like Firefox -, IE, Opera9+, Safari) + */ + var onDomLoad = function() { + if (!ua.w3cdom) { + return; + } + addDomLoadEvent(main); + if (ua.ie && ua.win) { + try { // Avoid a possible Operation Aborted error + doc.write(""); // String is split into pieces to avoid Norton AV to add code that can cause errors + var s = getElementById("__ie_ondomload"); + if (s) { + s.onreadystatechange = function() { + if (this.readyState == "complete") { + this.parentNode.removeChild(this); + callDomLoadFunctions(); + } + }; + } + } + catch(e) {} + } + if (ua.webkit && typeof doc.readyState != UNDEF) { + timer = setInterval(function() { if (/loaded|complete/.test(doc.readyState)) { callDomLoadFunctions(); }}, 10); + } + if (typeof doc.addEventListener != UNDEF) { + doc.addEventListener("DOMContentLoaded", callDomLoadFunctions, null); + } + addLoadEvent(callDomLoadFunctions); + }(); + + function callDomLoadFunctions() { + if (isDomLoaded) { + return; + } + if (ua.ie && ua.win) { // Test if we can really add elements to the DOM; we don't want to fire it too early + var s = createElement("span"); + try { // Avoid a possible Operation Aborted error + var t = doc.getElementsByTagName("body")[0].appendChild(s); + t.parentNode.removeChild(t); + } + catch (e) { + return; + } + } + isDomLoaded = true; + if (timer) { + clearInterval(timer); + timer = null; + } + var dl = domLoadFnArr.length; + for (var i = 0; i < dl; i++) { + domLoadFnArr[i](); + } + } + + function addDomLoadEvent(fn) { + if (isDomLoaded) { + fn(); + } + else { + domLoadFnArr[domLoadFnArr.length] = fn; // Array.push() is only available in IE5.5+ + } + } + + /* Cross-browser onload + - Based on James Edwards' solution: http://brothercake.com/site/resources/scripts/onload/ + - Will fire an event as soon as a web page including all of its assets are loaded + */ + function addLoadEvent(fn) { + if (typeof win.addEventListener != UNDEF) { + win.addEventListener("load", fn, false); + } + else if (typeof doc.addEventListener != UNDEF) { + doc.addEventListener("load", fn, false); + } + else if (typeof win.attachEvent != UNDEF) { + win.attachEvent("onload", fn); + } + else if (typeof win.onload == "function") { + var fnOld = win.onload; + win.onload = function() { + fnOld(); + fn(); + }; + } + else { + win.onload = fn; + } + } + + /* Main function + - Will preferably execute onDomLoad, otherwise onload (as a fallback) + */ + function main() { // Static publishing only + var rl = regObjArr.length; + for (var i = 0; i < rl; i++) { // For each registered object element + var id = regObjArr[i].id; + if (ua.pv[0] > 0) { + var obj = getElementById(id); + if (obj) { + regObjArr[i].width = obj.getAttribute("width") ? obj.getAttribute("width") : "0"; + regObjArr[i].height = obj.getAttribute("height") ? obj.getAttribute("height") : "0"; + if (hasPlayerVersion(regObjArr[i].swfVersion)) { // Flash plug-in version >= Flash content version: Houston, we have a match! + if (ua.webkit && ua.webkit < 312) { // Older webkit engines ignore the object element's nested param elements + fixParams(obj); + } + setVisibility(id, true); + } + else if (regObjArr[i].expressInstall && !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac)) { // Show the Adobe Express Install dialog if set by the web page author and if supported (fp6.0.65+ on Win/Mac OS only) + showExpressInstall(regObjArr[i]); + } + else { // Flash plug-in and Flash content version mismatch: display alternative content instead of Flash content + displayAltContent(obj); + } + } + } + else { // If no fp is installed, we let the object element do its job (show alternative content) + setVisibility(id, true); + } + } + } + + /* Fix nested param elements, which are ignored by older webkit engines + - This includes Safari up to and including version 1.2.2 on Mac OS 10.3 + - Fall back to the proprietary embed element + */ + function fixParams(obj) { + var nestedObj = obj.getElementsByTagName(OBJECT)[0]; + if (nestedObj) { + var e = createElement("embed"), a = nestedObj.attributes; + if (a) { + var al = a.length; + for (var i = 0; i < al; i++) { + if (a[i].nodeName.toLowerCase() == "data") { + e.setAttribute("src", a[i].nodeValue); + } + else { + e.setAttribute(a[i].nodeName, a[i].nodeValue); + } + } + } + var c = nestedObj.childNodes; + if (c) { + var cl = c.length; + for (var j = 0; j < cl; j++) { + if (c[j].nodeType == 1 && c[j].nodeName.toLowerCase() == "param") { + e.setAttribute(c[j].getAttribute("name"), c[j].getAttribute("value")); + } + } + } + obj.parentNode.replaceChild(e, obj); + } + } + + /* Fix hanging audio/video threads and force open sockets and NetConnections to disconnect + - Occurs when unloading a web page in IE using fp8+ and innerHTML/outerHTML + - Dynamic publishing only + */ + function fixObjectLeaks(id) { + if (ua.ie && ua.win && hasPlayerVersion("8.0.0")) { + win.attachEvent("onunload", function () { + var obj = getElementById(id); + if (obj) { + for (var i in obj) { + if (typeof obj[i] == "function") { + obj[i] = function() {}; + } + } + obj.parentNode.removeChild(obj); + } + }); + } + } + + /* Show the Adobe Express Install dialog + - Reference: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6a253b75 + */ + function showExpressInstall(regObj) { + isExpressInstallActive = true; + var obj = getElementById(regObj.id); + if (obj) { + if (regObj.altContentId) { + var ac = getElementById(regObj.altContentId); + if (ac) { + storedAltContent = ac; + storedAltContentId = regObj.altContentId; + } + } + else { + storedAltContent = abstractAltContent(obj); + } + if (!(/%$/.test(regObj.width)) && parseInt(regObj.width, 10) < 310) { + regObj.width = "310"; + } + if (!(/%$/.test(regObj.height)) && parseInt(regObj.height, 10) < 137) { + regObj.height = "137"; + } + doc.title = doc.title.slice(0, 47) + " - Flash Player Installation"; + var pt = ua.ie && ua.win ? "ActiveX" : "PlugIn", + dt = doc.title, + fv = "MMredirectURL=" + win.location + "&MMplayerType=" + pt + "&MMdoctitle=" + dt, + replaceId = regObj.id; + // For IE when a SWF is loading (AND: not available in cache) wait for the onload event to fire to remove the original object element + // In IE you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work + if (ua.ie && ua.win && obj.readyState != 4) { + var newObj = createElement("div"); + replaceId += "SWFObjectNew"; + newObj.setAttribute("id", replaceId); + obj.parentNode.insertBefore(newObj, obj); // Insert placeholder div that will be replaced by the object element that loads expressinstall.swf + obj.style.display = "none"; + win.attachEvent("onload", function() { obj.parentNode.removeChild(obj); }); + } + createSWF({ data:regObj.expressInstall, id:EXPRESS_INSTALL_ID, width:regObj.width, height:regObj.height }, { flashvars:fv }, replaceId); + } + } + + /* Functions to abstract and display alternative content + */ + function displayAltContent(obj) { + if (ua.ie && ua.win && obj.readyState != 4) { + // For IE when a SWF is loading (AND: not available in cache) wait for the onload event to fire to remove the original object element + // In IE you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work + var el = createElement("div"); + obj.parentNode.insertBefore(el, obj); // Insert placeholder div that will be replaced by the alternative content + el.parentNode.replaceChild(abstractAltContent(obj), el); + obj.style.display = "none"; + win.attachEvent("onload", function() { obj.parentNode.removeChild(obj); }); + } + else { + obj.parentNode.replaceChild(abstractAltContent(obj), obj); + } + } + + function abstractAltContent(obj) { + var ac = createElement("div"); + if (ua.win && ua.ie) { + ac.innerHTML = obj.innerHTML; + } + else { + var nestedObj = obj.getElementsByTagName(OBJECT)[0]; + if (nestedObj) { + var c = nestedObj.childNodes; + if (c) { + var cl = c.length; + for (var i = 0; i < cl; i++) { + if (!(c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param") && !(c[i].nodeType == 8)) { + ac.appendChild(c[i].cloneNode(true)); + } + } + } + } + } + return ac; + } + + /* Cross-browser dynamic SWF creation + */ + function createSWF(attObj, parObj, id) { + var r, el = getElementById(id); + if (typeof attObj.id == UNDEF) { // if no 'id' is defined for the object element, it will inherit the 'id' from the alternative content + attObj.id = id; + } + if (ua.ie && ua.win) { // IE, the object element and W3C DOM methods do not combine: fall back to outerHTML + var att = ""; + for (var i in attObj) { + if (attObj[i] != Object.prototype[i]) { // Filter out prototype additions from other potential libraries, like Object.prototype.toJSONString = function() {} + if (i == "data") { + parObj.movie = attObj[i]; + } + else if (i.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword + att += ' class="' + attObj[i] + '"'; + } + else if (i != "classid") { + att += ' ' + i + '="' + attObj[i] + '"'; + } + } + } + var par = ""; + for (var j in parObj) { + if (parObj[j] != Object.prototype[j]) { // Filter out prototype additions from other potential libraries + par += ''; + } + } + el.outerHTML = '' + par + ''; + fixObjectLeaks(attObj.id); // This bug affects dynamic publishing only + r = getElementById(attObj.id); + } + else if (ua.webkit && ua.webkit < 312) { // Older webkit engines ignore the object element's nested param elements: fall back to the proprietary embed element + var e = createElement("embed"); + e.setAttribute("type", FLASH_MIME_TYPE); + for (var k in attObj) { + if (attObj[k] != Object.prototype[k]) { // Filter out prototype additions from other potential libraries + if (k == "data") { + e.setAttribute("src", attObj[k]); + } + else if (k.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword + e.setAttribute("class", attObj[k]); + } + else if (k != "classid") { // Filter out IE specific attribute + e.setAttribute(k, attObj[k]); + } + } + } + for (var l in parObj) { + if (parObj[l] != Object.prototype[l]) { // Filter out prototype additions from other potential libraries + if (l != "movie") { // Filter out IE specific param element + e.setAttribute(l, parObj[l]); + } + } + } + el.parentNode.replaceChild(e, el); + r = e; + } + else { // Well-behaving browsers + var o = createElement(OBJECT); + o.setAttribute("type", FLASH_MIME_TYPE); + for (var m in attObj) { + if (attObj[m] != Object.prototype[m]) { // Filter out prototype additions from other potential libraries + if (m.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword + o.setAttribute("class", attObj[m]); + } + else if (m != "classid") { // Filter out IE specific attribute + o.setAttribute(m, attObj[m]); + } + } + } + for (var n in parObj) { + if (parObj[n] != Object.prototype[n] && n != "movie") { // Filter out prototype additions from other potential libraries and IE specific param element + createObjParam(o, n, parObj[n]); + } + } + el.parentNode.replaceChild(o, el); + r = o; + } + return r; + } + + function createObjParam(el, pName, pValue) { + var p = createElement("param"); + p.setAttribute("name", pName); + p.setAttribute("value", pValue); + el.appendChild(p); + } + + function getElementById(id) { + return doc.getElementById(id); + } + + function createElement(el) { + return doc.createElement(el); + } + + function hasPlayerVersion(rv) { + var pv = ua.pv, v = rv.split("."); + v[0] = parseInt(v[0], 10); + v[1] = parseInt(v[1], 10); + v[2] = parseInt(v[2], 10); + return (pv[0] > v[0] || (pv[0] == v[0] && pv[1] > v[1]) || (pv[0] == v[0] && pv[1] == v[1] && pv[2] >= v[2])) ? true : false; + } + + /* Cross-browser dynamic CSS creation + - Based on Bobby van der Sluis' solution: http://www.bobbyvandersluis.com/articles/dynamicCSS.php + */ + function createCSS(sel, decl) { + if (ua.ie && ua.mac) { + return; + } + var h = doc.getElementsByTagName("head")[0], s = createElement("style"); + s.setAttribute("type", "text/css"); + s.setAttribute("media", "screen"); + if (!(ua.ie && ua.win) && typeof doc.createTextNode != UNDEF) { + s.appendChild(doc.createTextNode(sel + " {" + decl + "}")); + } + h.appendChild(s); + if (ua.ie && ua.win && typeof doc.styleSheets != UNDEF && doc.styleSheets.length > 0) { + var ls = doc.styleSheets[doc.styleSheets.length - 1]; + if (typeof ls.addRule == OBJECT) { + ls.addRule(sel, decl); + } + } + } + + function setVisibility(id, isVisible) { + var v = isVisible ? "visible" : "hidden"; + if (isDomLoaded) { + getElementById(id).style.visibility = v; + } + else { + createCSS("#" + id, "visibility:" + v); + } + } + + function getTargetVersion(obj) { + if (!obj) + return 0; + var c = obj.childNodes; + var cl = c.length; + for (var i = 0; i < cl; i++) { + if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "object") { + c = c[i].childNodes; + cl = c.length; + i = 0; + } + if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param" && c[i].getAttribute("name") == "swfversion") { + return c[i].getAttribute("value"); + } + } + return 0; + } + + function getExpressInstall(obj) { + if (!obj) + return ""; + var c = obj.childNodes; + var cl = c.length; + for (var i = 0; i < cl; i++) { + if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "object") { + c = c[i].childNodes; + cl = c.length; + i = 0; + } + if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param" && c[i].getAttribute("name") == "expressinstall") { + return c[i].getAttribute("value"); + } + } + return ""; + } + + return { + /* Public API + - Reference: http://code.google.com/p/swfobject/wiki/SWFObject_2_0_documentation + */ + registerObject: function(objectIdStr, swfVersionStr, xiSwfUrlStr) { + if (!ua.w3cdom || !objectIdStr) { + return; + } + var obj = document.getElementById(objectIdStr); + var xi = getExpressInstall(obj); + var regObj = {}; + regObj.id = objectIdStr; + regObj.swfVersion = swfVersionStr ? swfVersionStr : getTargetVersion(obj); + regObj.expressInstall = xiSwfUrlStr ? xiSwfUrlStr : ((xi != "") ? xi : false); + regObjArr[regObjArr.length] = regObj; + setVisibility(objectIdStr, false); + }, + + getObjectById: function(objectIdStr) { + var r = null; + if (ua.w3cdom && isDomLoaded) { + var o = getElementById(objectIdStr); + if (o) { + var n = o.getElementsByTagName(OBJECT)[0]; + if (!n || (n && typeof o.SetVariable != UNDEF)) { + r = o; + } + else if (typeof n.SetVariable != UNDEF) { + r = n; + } + } + } + return r; + }, + + embedSWF: function(swfUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr, xiSwfUrlStr, flashvarsObj, parObj, attObj) { + if (!ua.w3cdom || !swfUrlStr || !replaceElemIdStr || !widthStr || !heightStr || !swfVersionStr) { + return; + } + widthStr += ""; // Auto-convert to string to make it idiot proof + heightStr += ""; + if (hasPlayerVersion(swfVersionStr)) { + setVisibility(replaceElemIdStr, false); + var att = (typeof attObj == OBJECT) ? attObj : {}; + att.data = swfUrlStr; + att.width = widthStr; + att.height = heightStr; + var par = (typeof parObj == OBJECT) ? parObj : {}; + if (typeof flashvarsObj == OBJECT) { + for (var i in flashvarsObj) { + if (flashvarsObj[i] != Object.prototype[i]) { // Filter out prototype additions from other potential libraries + if (typeof par.flashvars != UNDEF) { + par.flashvars += "&" + i + "=" + flashvarsObj[i]; + } + else { + par.flashvars = i + "=" + flashvarsObj[i]; + } + } + } + } + addDomLoadEvent(function() { + createSWF(att, par, replaceElemIdStr); + if (att.id == replaceElemIdStr) { + setVisibility(replaceElemIdStr, true); + } + }); + } + else if (xiSwfUrlStr && !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac)) { + setVisibility(replaceElemIdStr, false); + addDomLoadEvent(function() { + var regObj = {}; + regObj.id = regObj.altContentId = replaceElemIdStr; + regObj.width = widthStr; + regObj.height = heightStr; + regObj.expressInstall = xiSwfUrlStr; + showExpressInstall(regObj); + }); + } + }, + + getFlashPlayerVersion: function() { + return { major:ua.pv[0], minor:ua.pv[1], release:ua.pv[2] }; + }, + + hasFlashPlayerVersion:hasPlayerVersion, + + createSWF: function(attObj, parObj, replaceElemIdStr) { + if (ua.w3cdom && isDomLoaded) { + return createSWF(attObj, parObj, replaceElemIdStr); + } + else { + return undefined; + } + }, + + createCSS: function(sel, decl) { + if (ua.w3cdom) { + createCSS(sel, decl); + } + }, + + addDomLoadEvent:addDomLoadEvent, + + addLoadEvent:addLoadEvent, + + getQueryParamValue: function(param) { + var q = doc.location.search || doc.location.hash; + if (param == null) { + return q; + } + if(q) { + var pairs = q.substring(1).split("&"); + for (var i = 0; i < pairs.length; i++) { + if (pairs[i].substring(0, pairs[i].indexOf("=")) == param) { + return pairs[i].substring((pairs[i].indexOf("=") + 1)); + } + } + } + return ""; + }, + + // For internal usage only + expressInstallCallback: function() { + if (isExpressInstallActive && storedAltContent) { + var obj = getElementById(EXPRESS_INSTALL_ID); + if (obj) { + obj.parentNode.replaceChild(storedAltContent, obj); + if (storedAltContentId) { + setVisibility(storedAltContentId, true); + if (ua.ie && ua.win) { + storedAltContent.style.display = "block"; + } + } + storedAltContent = null; + storedAltContentId = null; + isExpressInstallActive = false; + } + } + } + + }; + +}(); diff --git a/Scripts/swfobject_source.js b/Scripts/swfobject_source.js new file mode 100644 index 0000000..05c157a --- /dev/null +++ b/Scripts/swfobject_source.js @@ -0,0 +1,230 @@ +/** + * SWFObject v1.5.1: Flash Player detection and embed - http://blog.deconcept.com/swfobject/ + * + * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License: + * http://www.opensource.org/licenses/mit-license.php + * + */ +if(typeof deconcept == "undefined") var deconcept = {}; +if(typeof deconcept.util == "undefined") deconcept.util = {}; +if(typeof deconcept.SWFObjectUtil == "undefined") deconcept.SWFObjectUtil = {}; +deconcept.SWFObject = function(swf, id, w, h, ver, c, quality, xiRedirectUrl, redirectUrl, detectKey) { + if (!document.getElementById) { return; } + this.DETECT_KEY = detectKey ? detectKey : 'detectflash'; + this.skipDetect = deconcept.util.getRequestParameter(this.DETECT_KEY); + this.params = {}; + this.variables = {}; + this.attributes = []; + if(swf) { this.setAttribute('swf', swf); } + if(id) { this.setAttribute('id', id); } + if(w) { this.setAttribute('width', w); } + if(h) { this.setAttribute('height', h); } + if(ver) { this.setAttribute('version', new deconcept.PlayerVersion(ver.toString().split("."))); } + this.installedVer = deconcept.SWFObjectUtil.getPlayerVersion(); + if (!window.opera && document.all && this.installedVer.major > 7) { + // only add the onunload cleanup if the Flash Player version supports External Interface and we are in IE + // fixes bug in some fp9 versions see http://blog.deconcept.com/2006/07/28/swfobject-143-released/ + if (!deconcept.unloadSet) { + deconcept.SWFObjectUtil.prepUnload = function() { + __flash_unloadHandler = function(){}; + __flash_savedUnloadHandler = function(){}; + window.attachEvent("onunload", deconcept.SWFObjectUtil.cleanupSWFs); + } + window.attachEvent("onbeforeunload", deconcept.SWFObjectUtil.prepUnload); + deconcept.unloadSet = true; + } + } + if(c) { this.addParam('bgcolor', c); } + var q = quality ? quality : 'high'; + this.addParam('quality', q); + this.setAttribute('useExpressInstall', false); + this.setAttribute('doExpressInstall', false); + var xir = (xiRedirectUrl) ? xiRedirectUrl : window.location; + this.setAttribute('xiRedirectUrl', xir); + this.setAttribute('redirectUrl', ''); + if(redirectUrl) { this.setAttribute('redirectUrl', redirectUrl); } +} +deconcept.SWFObject.prototype = { + useExpressInstall: function(path) { + this.xiSWFPath = !path ? "expressinstall.swf" : path; + this.setAttribute('useExpressInstall', true); + }, + setAttribute: function(name, value){ + this.attributes[name] = value; + }, + getAttribute: function(name){ + return this.attributes[name] || ""; + }, + addParam: function(name, value){ + this.params[name] = value; + }, + getParams: function(){ + return this.params; + }, + addVariable: function(name, value){ + this.variables[name] = value; + }, + getVariable: function(name){ + return this.variables[name] || ""; + }, + getVariables: function(){ + return this.variables; + }, + getVariablePairs: function(){ + var variablePairs = []; + var key; + var variables = this.getVariables(); + for(key in variables){ + variablePairs[variablePairs.length] = key +"="+ variables[key]; + } + return variablePairs; + }, + getSWFHTML: function() { + var swfNode = ""; + if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) { // netscape plugin architecture + if (this.getAttribute("doExpressInstall")) { + this.addVariable("MMplayerType", "PlugIn"); + this.setAttribute('swf', this.xiSWFPath); + } + swfNode = ' 0){ swfNode += 'flashvars="'+ pairs +'"'; } + swfNode += '/>'; + } else { // PC IE + if (this.getAttribute("doExpressInstall")) { + this.addVariable("MMplayerType", "ActiveX"); + this.setAttribute('swf', this.xiSWFPath); + } + swfNode = ''; + swfNode += ''; + var params = this.getParams(); + for(var key in params) { + swfNode += ''; + } + var pairs = this.getVariablePairs().join("&"); + if(pairs.length > 0) {swfNode += '';} + swfNode += ""; + } + return swfNode; + }, + write: function(elementId){ + if(this.getAttribute('useExpressInstall')) { + // check to see if we need to do an express install + var expressInstallReqVer = new deconcept.PlayerVersion([6,0,65]); + if (this.installedVer.versionIsValid(expressInstallReqVer) && !this.installedVer.versionIsValid(this.getAttribute('version'))) { + this.setAttribute('doExpressInstall', true); + this.addVariable("MMredirectURL", escape(this.getAttribute('xiRedirectUrl'))); + document.title = document.title.slice(0, 47) + " - Flash Player Installation"; + this.addVariable("MMdoctitle", document.title); + } + } + if(this.skipDetect || this.getAttribute('doExpressInstall') || this.installedVer.versionIsValid(this.getAttribute('version'))){ + var n = (typeof elementId == 'string') ? document.getElementById(elementId) : elementId; + n.innerHTML = this.getSWFHTML(); + return true; + }else{ + if(this.getAttribute('redirectUrl') != "") { + document.location.replace(this.getAttribute('redirectUrl')); + } + } + return false; + } +} + +/* ---- detection functions ---- */ +deconcept.SWFObjectUtil.getPlayerVersion = function(){ + var PlayerVersion = new deconcept.PlayerVersion([0,0,0]); + if(navigator.plugins && navigator.mimeTypes.length){ + var x = navigator.plugins["Shockwave Flash"]; + if(x && x.description) { + PlayerVersion = new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/, "").replace(/(\s+r|\s+b[0-9]+)/, ".").split(".")); + } + }else if (navigator.userAgent && navigator.userAgent.indexOf("Windows CE") >= 0){ // if Windows CE + var axo = 1; + var counter = 3; + while(axo) { + try { + counter++; + axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+ counter); +// document.write("player v: "+ counter); + PlayerVersion = new deconcept.PlayerVersion([counter,0,0]); + } catch (e) { + axo = null; + } + } + } else { // Win IE (non mobile) + // do minor version lookup in IE, but avoid fp6 crashing issues + // see http://blog.deconcept.com/2006/01/11/getvariable-setvariable-crash-internet-explorer-flash-6/ + try{ + var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); + }catch(e){ + try { + var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); + PlayerVersion = new deconcept.PlayerVersion([6,0,21]); + axo.AllowScriptAccess = "always"; // error if player version < 6.0.47 (thanks to Michael Williams @ Adobe for this code) + } catch(e) { + if (PlayerVersion.major == 6) { + return PlayerVersion; + } + } + try { + axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); + } catch(e) {} + } + if (axo != null) { + PlayerVersion = new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(",")); + } + } + return PlayerVersion; +} +deconcept.PlayerVersion = function(arrVersion){ + this.major = arrVersion[0] != null ? parseInt(arrVersion[0]) : 0; + this.minor = arrVersion[1] != null ? parseInt(arrVersion[1]) : 0; + this.rev = arrVersion[2] != null ? parseInt(arrVersion[2]) : 0; +} +deconcept.PlayerVersion.prototype.versionIsValid = function(fv){ + if(this.major < fv.major) return false; + if(this.major > fv.major) return true; + if(this.minor < fv.minor) return false; + if(this.minor > fv.minor) return true; + if(this.rev < fv.rev) return false; + return true; +} +/* ---- get value of query string param ---- */ +deconcept.util = { + getRequestParameter: function(param) { + var q = document.location.search || document.location.hash; + if (param == null) { return q; } + if(q) { + var pairs = q.substring(1).split("&"); + for (var i=0; i < pairs.length; i++) { + if (pairs[i].substring(0, pairs[i].indexOf("=")) == param) { + return pairs[i].substring((pairs[i].indexOf("=")+1)); + } + } + } + return ""; + } +} +/* fix for video streaming bug */ +deconcept.SWFObjectUtil.cleanupSWFs = function() { + var objects = document.getElementsByTagName("OBJECT"); + for (var i = objects.length - 1; i >= 0; i--) { + objects[i].style.display = 'none'; + for (var x in objects[i]) { + if (typeof objects[i][x] == 'function') { + objects[i][x] = function(){}; + } + } + } +} +/* add document.getElementById if needed (mobile IE < 5) */ +if (!document.getElementById && document.all) { document.getElementById = function(id) { return document.all[id]; }} + +/* add some aliases for ease of use/backwards compatibility */ +var getQueryParamValue = deconcept.util.getRequestParameter; +var FlashObject = deconcept.SWFObject; // for legacy support +var SWFObject = deconcept.SWFObject; diff --git a/css.css b/css.css index dd19cf8..5caae47 100644 --- a/css.css +++ b/css.css @@ -1,3 +1,7 @@ +body { + position: relative; +} + .credits { font-family: Verdana; font-size: 9px; @@ -41,7 +45,7 @@ } .menu { font-family: Verdana; - font-size: 14px; + font-size: 13px; font-style: normal; line-height: normal; font-weight: normal; @@ -84,7 +88,7 @@ .menu2 { font-family: Verdana; - font-size: 14px; + font-size: 13px; font-style: normal; line-height: normal; font-weight: bold; @@ -101,3 +105,27 @@ margin: 0; padding: 0; } + +.texto-pie { + font-family: Verdana, Geneva, sans-serif; + font-size: 10px; + color: #FFF; +} + +a.reservas-online { + font-family: Verdana, Geneva, sans-serif; + font-size: 14px; + font-weight: bold; + z-index: 99; + position: relative; + top: 165px; + left: 500px; + text-align: right; + color: #fff; + text-decoration: none; +} + +#FlashID { + position: absolute; + z-index: 1; +} \ No newline at end of file diff --git a/eng/alojamiento_eng.htm b/eng/alojamiento_eng.htm index 560b499..eb274ad 100644 --- a/eng/alojamiento_eng.htm +++ b/eng/alojamiento_eng.htm @@ -1,4 +1,4 @@ - + @@ -23,9 +23,7 @@ ideal para tus vacaciones y fines de semana de turismo rural en Cantabria "> - La Villa de Palacios :: Casonal rural :: Cantabria - - - - + + - - - - - - - - -
  +34 942 679 150 
- -


-  LODGING 
-
-
Eight double rooms with bathroom; one of them suitable for disabled people.
- • Color TV, tea service and hairdryer available in all rooms.
- • One living-room with chimney, library and sun gallery.
- • Caring service for pets (please, consult previously if you want to bring yours).
- • Private parking.
-
- Wireless Internet connection available.

-
-
-
-
-
-

Acceso a inernet por Wi-fi

-
-
-
-
-
- - - - - - -
-

Services
-
-• Season's menu for lunch or dinners, we offer also a cold meals - snacks menu during all the year.
-• We serve suppers and foods under demand.
-• We can prepare lunch-boxes for excursions.
-• We organize events and meetings .

-


-

Active tourism
-
- We can contact with different local companies to organize active tourism activities:
-
-•  Sports:
-Quads, horse-riding, kayak, rafting, cave visiting, trekking, etc.
-
-•  Culture:
-Visit the Natural Reserve of Santoña's salt marsh (bird's sighting), prehistoric art, romanic, boat visit to the Santoña's bay, etc.
-
- The rooms
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1. The Cow
-
-
It is oriented to three facades: East, North and Western. It's located in the anexed wing, and it has a great terrace with direct exit to the garden. This room, of colonial style, is very confy.
-
-
-
- - - - - - -
-
-

- 2. The Rabbit
-
- The blue room. It's oriented to two facades, with two large balconies of iron. To the East, it has views to all the valley and to the South the singular mountain called the "Punishment of the rage" that characterizes the Aras' valley.
-
-
- - - - - -
-

-
- 3. The Rooster
-
- The orange room. It's oriented to the South , possesses two balconies of forge that give exit to an long terrace. To the entrance of the room there is a distributor framed by a mortar's arch recovered from the time of construction of the house.
-
-
-
- - - - - -
-

-
4. The Cat
-
- The lilac room. It is oriented to two facades. To the South the view of the mountain, and at the West the farm and the orange's tree with it's fragrance. It has a bath with a great round bathtub and a balcony of forge.
-
-
-
- - - - - -

-
- 5. The Pig
-
- The green room. It is a room located in the annex wing where the old kitchens were. It's oriented to two facades. The high ceilings have permitted to build a mezzanine with two beds where the children love to sleep and play.
-
-
-
- - - - - -

-
6. The Robin
-
- The ocher room. It is oriented to two facades. At the East, the main facade possesses a small terrace of geraniums with an inscription in stone from the year of construction of the casona (1871). From this terrace you can view the valley and the Virgen de Palacios' hermitage, to the North it has nice views of the mountain.
-
-
-
- - - - - - -

-
- 7. The Goat
-
- The white room. It is oriented to the South facade with views to the hill called "Punishment of the Rage" and to the garden. It's bath has a small window that was hidden till the rehabilitation and that appeared like a trace of a building previous to 1871.
-
-
-
- - - - - - -
-

-
- 8. The Horse
-
-The yellow room, situated in the low plant, has a very functional use, therefore is thought for persons with reduced mobility. It has an extensive forge window that looks just to the main entrance. The door of entrance gives to the hall and to the parlor, with a ramp for easier access. The bath, very extensive, is also prepared for this function.
-
-
- - - - - - -
-
-
- + + + + + + + + + + + + + + + + + +
+

Content on this page requires a newer version of Adobe Flash Player.

+

Get Adobe Flash player

+
+ +
+ +
+ Reserve online now + + + + + + + + + + +
 +34 942 679 150 
+


+  LODGING 
+
+
Eight double rooms with bathroom; one of them suitable for disabled people.
+ • Color TV, tea service and hairdryer available in all rooms.
+ • One living-room with chimney, library and sun gallery.
+ • Caring service for pets (please, consult previously if you want to bring yours).
+ • Private parking.

+ Wireless Internet connection available.

+
+
+
+
+
+

Acceso a inernet por Wi-fi

+
+
+
+
+
+ + + + + + +

Services
+
+ • Season's menu for lunch or dinners, we offer also a cold meals - snacks menu during all the year.
+ • We serve suppers and foods under demand.
+ • We can prepare lunch-boxes for excursions.
+ • We organize events and meetings .

+


+

Active tourism
+
+ We can contact with different local companies to organize active tourism activities:
+
+ •  Sports:
+ Quads, horse-riding, kayak, rafting, cave visiting, trekking, etc.
+
+ •  Culture:
+ Visit the Natural Reserve of Santoña's salt marsh (bird's sighting), prehistoric art, romanic, boat visit to the Santoña's bay, etc.
+
+ The rooms
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
1. The Cow
+
+
It is oriented to three facades: East, North and Western. It's located in the anexed wing, and it has a great terrace with direct exit to the garden. This room, of colonial style, is very confy.
+
+
+ + + + + + +
+

+ 2. The Rabbit
+
+ The blue room. It's oriented to two facades, with two large balconies of iron. To the East, it has views to all the valley and to the South the singular mountain called the "Punishment of the rage" that characterizes the Aras' valley.
+
+
+ + + + + +
+

+
3. The Rooster
+
+ The orange room. It's oriented to the South , possesses two balconies of forge that give exit to an long terrace. To the entrance of the room there is a distributor framed by a mortar's arch recovered from the time of construction of the house.
+
+
+ + + + + +

+
4. The Cat
+
+ The lilac room. It is oriented to two facades. To the South the view of the mountain, and at the West the farm and the orange's tree with it's fragrance. It has a bath with a great round bathtub and a balcony of forge.
+
+
+ + + + + +

+
5. The Pig
+
+ The green room. It is a room located in the annex wing where the old kitchens were. It's oriented to two facades. The high ceilings have permitted to build a mezzanine with two beds where the children love to sleep and play.
+
+
+ + + + + +

+
6. The Robin
+
+ The ocher room. It is oriented to two facades. At the East, the main facade possesses a small terrace of geraniums with an inscription in stone from the year of construction of the casona (1871). From this terrace you can view the valley and the Virgen de Palacios' hermitage, to the North it has nice views of the mountain.
+
+
+ + + + + + +

+
7. The Goat
+
+ The white room. It is oriented to the South facade with views to the hill called "Punishment of the Rage" and to the garden. It's bath has a small window that was hidden till the rehabilitation and that appeared like a trace of a building previous to 1871.
+
+
+ + + + + + +
+

+
8. The Horse
+
+ The yellow room, situated in the low plant, has a very functional use, therefore is thought for persons with reduced mobility. It has an extensive forge window that looks just to the main entrance. The door of entrance gives to the hall and to the parlor, with a ramp for easier access. The bath, very extensive, is also prepared for this function.
+
+
+ + + + + + +
+
- + + + + + +
Casona La Villa de Palacios - Barrio Palacios 150 - San Miguel de Aras. Voto - 39766 - Cantabria
+ Tel. +34 942 679 150 - Fax. +34 942 679 241 - e-mail: info@villadepalacios.com
+ - + diff --git a/eng/cantabria_eng.htm b/eng/cantabria_eng.htm index e2f95fb..dbcccf5 100644 --- a/eng/cantabria_eng.htm +++ b/eng/cantabria_eng.htm @@ -1,4 +1,4 @@ - + @@ -23,9 +23,7 @@ ideal para tus vacaciones y fines de semana de turismo rural en Cantabria "> - La Villa de Palacios :: Casonal rural :: Cantabria - - - - + + - - - - - - - - -
  +34 942 679 150 
- -  THE REGION: ASÓN-AGÜERA 
-
- - - - - - - - + + + + +
-

La villa de Palacios is placed in the northern region of Asón-Agüera, midway between the mountain and the sea.
-
- The mountain
-The region of Asón-Agüera is the most unknown of Cantabria. The beauty of its landscapes, paths and routes does of this place an ideal spot for relax and the enjoyment of the nature that reaches its highest point in the Natural Park of Hillocks of the Asón (in Soba), with exceptional views of the valley and birth of the river of the same name in a spectacular waterfall of 50 meters. The birth of the river Gándara, thick forests, numerous routes of great beauty, beautiful rustic villages or the exceptional plateresque altarpiece of the Rozas' church among other architectural wealth.
-
- The sea
-At three kilometers from our hotel begins the Natural Reserve of the marshes of Santoña, Victoria and Joyel. A great deal of time ago, the marshes were seen as zones of scarce value, but the science has shown that they are one of the richest ecosystems of the planet. These marshes constitute the main humid zone of the Cantabrian cornice. They occupy 3.866 hectares distributed among the municipal terms of Argoños, Bárcena of Cicero , Colindres, Escalante, Laredo, Clean, Noja, Santoña and Voto. This singular spot, besides plenty of marine fauna, is utilized for the migratory fowls coming from the north, in its displacement toward warmer lands. In this natural space have been observed, up to date, more than 121 species of aquatic fowls.
-
- Prehistoric Art
-Cantabria hoards in its subsoil one of the greater concentrations of caves with art rupestre in Europe. Till today about 50 deposits have been confirmed, but recent discoveries permit to think that this census can grow in the future.
-Paying a visit to any of these deposits that are found at few kilometers from our Casona is a perfect activity when the weather is harsh.
-
- Cities & culture
-Our Casona is found half distance of Santander and Bilbao. In about 45 minutes you will be in the center of any of these cities and will be able to enjoy the great cultural offering that both have to offer.
-
-In Bilbao you can find the famous Guggenheim museum of modern art and also the very interesting Museum of Fine Arts. But it shall not to be forgotten the Archaeological Museum , the Etnographic and Historic one or the Diocesan Museum.

- -

- In Santander you can visit the Prehistory and Archeology Museum, the Nautic Museum , besides the Fine Arts Museum, and the Maritim Museum of Cantabric.
- Outside, but not far from Santander we recommend to visit the Altamira's Museum of Santillana, the Nature's Museum in Cabezón de la Sal, and the National Park of Cabárceno, plenty of wild and exotic species in complete freedom.

-


- Santander

-
- Landscape of the Aras Valley , with the hotel at the left side.
-
-
-
- A perfect place for the practice of trekking. -


- -
- Laredo (with Santoña)
-
-

- Covalanas
-
-

-Fisher's port of Colindres.
-

- -
- + + + + + + + + + + + + + + + + +
+

Content on this page requires a newer version of Adobe Flash Player.

+

Get Adobe Flash player

+
+ +
+ +
+ Reserve online now +
+ + + + + + + +
 +34 942 679 150 
+  THE REGION: ASÓN-AGÜERA 
+
+ + + + + + + + - -

+ La villa de Palacios is placed in the northern region of Asón-Agüera, midway between the mountain and the sea.
+
+ The mountain
+ The region of Asón-Agüera is the most unknown of Cantabria. The beauty of its landscapes, paths and routes does of this place an ideal spot for relax and the enjoyment of the nature that reaches its highest point in the Natural Park of Hillocks of the Asón (in Soba), with exceptional views of the valley and birth of the river of the same name in a spectacular waterfall of 50 meters. The birth of the river Gándara, thick forests, numerous routes of great beauty, beautiful rustic villages or the exceptional plateresque altarpiece of the Rozas' church among other architectural wealth.
+
+ The sea
+ At three kilometers from our hotel begins the Natural Reserve of the marshes of Santoña, Victoria and Joyel. A great deal of time ago, the marshes were seen as zones of scarce value, but the science has shown that they are one of the richest ecosystems of the planet. These marshes constitute the main humid zone of the Cantabrian cornice. They occupy 3.866 hectares distributed among the municipal terms of Argoños, Bárcena of Cicero , Colindres, Escalante, Laredo, Clean, Noja, Santoña and Voto. This singular spot, besides plenty of marine fauna, is utilized for the migratory fowls coming from the north, in its displacement toward warmer lands. In this natural space have been observed, up to date, more than 121 species of aquatic fowls.
+
+ Prehistoric Art
+ Cantabria hoards in its subsoil one of the greater concentrations of caves with art rupestre in Europe. Till today about 50 deposits have been confirmed, but recent discoveries permit to think that this census can grow in the future.
+ Paying a visit to any of these deposits that are found at few kilometers from our Casona is a perfect activity when the weather is harsh.
+
+ Cities & culture
+ Our Casona is found half distance of Santander and Bilbao. In about 45 minutes you will be in the center of any of these cities and will be able to enjoy the great cultural offering that both have to offer.
+
+ In Bilbao you can find the famous Guggenheim museum of modern art and also the very interesting Museum of Fine Arts. But it shall not to be forgotten the Archaeological Museum , the Etnographic and Historic one or the Diocesan Museum.
+

+ +

In Santander you can visit the Prehistory and Archeology Museum, the Nautic Museum , besides the Fine Arts Museum, and the Maritim Museum of Cantabric.
+ Outside, but not far from Santander we recommend to visit the Altamira's Museum of Santillana, the Nature's Museum in Cabezón de la Sal, and the National Park of Cabárceno, plenty of wild and exotic species in complete freedom.

+


+ Santander

Landscape of the Aras Valley , with the hotel at the left side.
+
+

+ A perfect place for the practice of trekking.

+
+
+ Laredo (with Santoña)
+
+

+ Covalanas
+
+

+ Fisher's port of Colindres.
+

+
-
- + + + + + +
Casona La Villa de Palacios - Barrio Palacios 150 - San Miguel de Aras. Voto - 39766 - Cantabria
+ Tel. +34 942 679 150 - Fax. +34 942 679 241 - e-mail: info@villadepalacios.com
+ - + diff --git a/eng/contacto_eng.htm b/eng/contacto_eng.htm index a599678..3af5cb5 100644 --- a/eng/contacto_eng.htm +++ b/eng/contacto_eng.htm @@ -1,4 +1,4 @@ - + @@ -23,9 +23,7 @@ ideal para tus vacaciones y fines de semana de turismo rural en Cantabria "> - La Villa de Palacios :: Casonal rural :: Cantabria - - - - + + - - - - - - - - -
  +34 942 679 150 
- -
-
-  RESERVES & CONTACT 

-
- - - - - -

To make a reservation or receive more information, please do not hesitate to contact us by phone
- or e-mail.
-
- - info@villadepalacios.com
-
-
Barrio Palacios 150
- San Miguel de Aras. Voto
- 39766 - Cantabria
-
- Tel. 942 679 150
-Mov. 627 030 030
-

-

To reach the hotel:
-Take the way out at the Km. 177 (Treto-Cicero) from the motorway Santander-Bilbao.
-Go in direction Treto and soon you will see indications to SAN MIGUEL DE ARAS. There's about 9 Km. from motorway to the hotel “La Villa de Palacios”.

-

Pulse para ampliar el mapa
-
How to reach us: 45 minutes from Bilbao or Santander.
-
Click on the image to get a larger view and print.

-
-

G.P.S. Coordinates
- Longitude: W03 degrees   30 minutes  57 seconds.
- Latitude: N43 degrees  19 minutes 52 seconds.

- + + + + + + + + + + + + + + + + + +
+

Content on this page requires a newer version of Adobe Flash Player.

+

Get Adobe Flash player

+
+ +
+ +
+ Reserve online now + + + + + + + + + + +
 +34 942 679 150 
+
+
 RESERVES & CONTACT 

+
+ + + + + +

To make a reservation or receive more information, please do not hesitate to contact us by phone
+ or e-mail.
+
+ info@villadepalacios.com
+
+
Barrio Palacios 150
+ San Miguel de Aras. Voto
+ 39766 - Cantabria
+
+ Tel. +34 942 679 150
+ Fax. +34 942 679 241
+ Mov. 627 030 030
+

+

To reach the hotel:
+ Take the way out at the Km. 177 (Treto-Cicero) from the motorway Santander-Bilbao.
+ Go in direction Treto and soon you will see indications to SAN MIGUEL DE ARAS. There's about 9 Km. from motorway to the hotel “La Villa de Palacios”.

+

Pulse para ampliar el mapa
+
How to reach us: 45 minutes from Bilbao or Santander.
+
Click on the image to get a larger view and print.

+
+

G.P.S. Coordinates
+ Longitude: W03 degrees   30 minutes  57 seconds.
+ Latitude: N43 degrees  19 minutes 52 seconds.

- + + + + + +
Casona La Villa de Palacios - Barrio Palacios 150 - San Miguel de Aras. Voto - 39766 - Cantabria
+ Tel. +34 942 679 150 - Fax. +34 942 679 241 - e-mail: info@villadepalacios.com
+ - + diff --git a/eng/galeria2_eng.htm b/eng/galeria2_eng.htm index c27506e..0ef6ee2 100644 --- a/eng/galeria2_eng.htm +++ b/eng/galeria2_eng.htm @@ -1,125 +1,133 @@ - - - - - - - - - - - - - - -La Villa de Palacios :: Casonal rural :: Cantabria - - - - - - - - - - - - - - -
- - - - -
- - - - - - - - - - -
-
-
- - + + + + + + + + + + + + + + +La Villa de Palacios :: Casonal rural :: Cantabria + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + + + + + +
+ + + + + +
Casona La Villa de Palacios - Barrio Palacios 150 - San Miguel de Aras. Voto - 39766 - Cantabria
+ Tel. +34 942 679 150 - Fax. +34 942 679 241 - e-mail: info@villadepalacios.com
+
+
+
+ + diff --git a/eng/galeria_eng.htm b/eng/galeria_eng.htm index cffceae..c3519dd 100644 --- a/eng/galeria_eng.htm +++ b/eng/galeria_eng.htm @@ -1,4 +1,4 @@ - + @@ -23,9 +23,7 @@ ideal para tus vacaciones y fines de semana de turismo rural en Cantabria "> - La Villa de Palacios :: Casonal rural :: Cantabria - - - + + - + + + + + +
- - - - - - - - - - -
  +34 942 679 150 
- +
+ + + + + + + + + + + + + + + + +
+

Content on this page requires a newer version of Adobe Flash Player.

+

Get Adobe Flash player

+
+ +
+ +
+ Reserve online now +
+ + + + + + + +
 +34 942 679 150 

-  IMAGES GALLERY 

-
- Here you can see some photographs of the Hotel and the property. You will find some images of the rooms in the section
Rooms.
+  IMAGES GALLERY 
+
+ Here you can see some photographs of the Hotel and the property. You will find some images of the rooms in the section
Rooms.

- - - -
- - - - -
Indoors Common areas -
- - - - - - - - -
   
-
- - - - - - - - -
   

- - - - - -
The casona A hotel full of details -
- - - - - - - - -
   
-
- - - - - - - - -
   

- - - - - -
The property 8.000 square meters to relax -
- - - - - - - - -
   
-
- - - - - - - - -
   
-

Click here to see more images
-
-

-
+ + + + +
Indoors Common areas 
+ + + + + + + + +
   
+
+ + + + + + + + +
   
+
+ + + + + +
The casona A hotel full of details
+ + + + + + + + +
   
+
+ + + + + + + + +
   
+
+ + + + + +
The property8.000 square meters to relax
+ + + + + + + + +
   
+
+ + + + + + + + +
   
+

Click here to see more images
+
+

- + + + + + +
Casona La Villa de Palacios - Barrio Palacios 150 - San Miguel de Aras. Voto - 39766 - Cantabria
+ Tel. +34 942 679 150 - Fax. +34 942 679 241 - e-mail: info@villadepalacios.com
+ - + diff --git a/eng/home_eng.htm b/eng/home_eng.htm index 91c8862..58c7333 100644 --- a/eng/home_eng.htm +++ b/eng/home_eng.htm @@ -1,4 +1,4 @@ - + @@ -23,9 +23,7 @@ ideal para tus vacaciones y fines de semana de turismo rural en Cantabria "> - La Villa de Palacios :: Casonal rural :: Cantabria - - - + + - - - - - - - - - -
  +34 942 679 150 
- -
- - - - + + + +
+
 WELCOME  - + + + + + + + + + + + + + + + + +
+

Content on this page requires a newer version of Adobe Flash Player.

+

Get Adobe Flash player

+
+ +
+ +
+ Reserve online now +
+ + + + + +
 +34 942 679 150 
-
- - - - - - - - -
La Villa de Palacios hotel, placed near Laredo, is the perfect destine for your holidays thanks to its placement in the privileged lands of the Voto's manor. Surroundend by nice mountains, leafy woods and just 15 minutes from the beach.
-
-It's also well communicated and full of leisure posibilities, at 40 minutes form the main towns of Bilbao (location of the famed Guggenhaim Museum) and Santander.
-
-A wide gardened land of 8.000 m², full of walnuts, chestnuts and cherry trees frames the country hotel La Villa de Palacios, offering to the guest a comfort in consonance with its privileged landscape views to the Aras valley.
-
-Make an escapade and enjoy the best of country sightseeing near the best beaches of Cantabria. Pay a visit to the Natural Reserve Swamps of Santoña, or practice some trekking, speleology and adventure sports in the neighboring mountains.
-
-


-
- Welcome to the Villa de Palacios***

-
- Acceso a inernet por Wi-fi
-

-

- - - - - -
La Villa de Palacios holds the category of "Casonas (country hotels) and Palaces of Cantabria" the clasification for rural establishments that list the buildings of special architectural values.
-
-Outside and inside, decoration and furniture correspond in quality and comfort to the level of a tradicional palace. Casonas and Palacios must maintain standars at least equivalent to any 3 stars hotel.

- www.calidadcantabria.com
-
+ + + +
 WELCOME 
+
+ + + + + + + + +
La Villa de Palacios hotel, placed near Laredo, is the perfect destine for your holidays thanks to its placement in the privileged lands of the Voto's manor. Surroundend by nice mountains, leafy woods and just 15 minutes from the beach.
+
+ It's also well communicated and full of leisure posibilities, at 40 minutes form the main towns of Bilbao (location of the famed Guggenhaim Museum) and Santander.
+
+ A wide gardened land of 8.000 m², full of walnuts, chestnuts and cherry trees frames the country hotel La Villa de Palacios, offering to the guest a comfort in consonance with its privileged landscape views to the Aras valley.
+
+ Make an escapade and enjoy the best of country sightseeing near the best beaches of Cantabria. Pay a visit to the Natural Reserve Swamps of Santoña, or practice some trekking, speleology and adventure sports in the neighboring mountains.
+
+


+
+ Welcome to the Villa de Palacios***

+
+ Acceso a inernet por Wi-fi
+

+

+ + + + + +
La Villa de Palacios holds the category of "Casonas (country hotels) and Palaces of Cantabria" the clasification for rural establishments that list the buildings of special architectural values.
+
+ Outside and inside, decoration and furniture correspond in quality and comfort to the level of a tradicional palace. Casonas and Palacios must maintain standars at least equivalent to any 3 stars hotel.

+ www.calidadcantabria.com
- + + + + + +
Casona La Villa de Palacios - Barrio Palacios 150 - San Miguel de Aras. Voto - 39766 - Cantabria
+ Tel. +34 942 679 150 - Fax. +34 942 679 241 - e-mail: info@villadepalacios.com
+ - + diff --git a/eng/pop-up offer.htm b/eng/pop-up offer.htm index 3aea9ba..6955874 100644 --- a/eng/pop-up offer.htm +++ b/eng/pop-up offer.htm @@ -1,36 +1,41 @@ - - - -:::Special Offers::: - - - - - - - - - - - - - -
-
     Winter - promotions
-
-


- 3x2 - - Stay for 3 nights pay just 2.
-
or
- Free dinner - - We invite you to a free dinner with 2 night bookings. -

- -
- - + + + +:::Special Offers::: + + + + + + + + + + + + + +
+
     Winter + promotions
+
+


+ 3x2 + - Stay for 3 nights pay just 2.
+
or
+ Free dinner - + We invite you to a free dinner with 2 night bookings. +

+ +
+ + + diff --git a/eng/promotions.htm b/eng/promotions.htm index bdc312c..e41f358 100644 --- a/eng/promotions.htm +++ b/eng/promotions.htm @@ -1,77 +1,82 @@ - - - -:::Special Offers::: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
July promotions

-
75 €
- each person
COUPLE Promotion
- Included:
-- Welcome present
-- 2 hotel nights
-- 2 breakfast
-- 1 romantic dinner
-
80 €
- each person
SPORT promotion
Included:
-- 2 hotel nights
-- 2 breakfast
-- 1 QUAD ride trough the Aras Valley
or cave exploration
-(diferent levels)
-
136 €
- total
-
FAMILY 4 promotion  
- promotion A (4 persons):
-- 2 nights in double room
-- 2 added beds
-- 4 breakfast

-
204 €
-
total
-
FAMILY 6 promotion  
- promotion B (6 persons):
-- 2 nights in 2 double room
-- 2 added beds
-- 6 breakfast

-

- This promotions are valid until 29th July, 7% V.A.T. not included.
-
-
- - + + + +:::Special Offers::: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
July promotions

+
75 €
+ each person
COUPLE Promotion
+ Included:
+- Welcome present
+- 2 hotel nights
+- 2 breakfast
+- 1 romantic dinner
+
80 €
+ each person
SPORT promotion
Included:
+- 2 hotel nights
+- 2 breakfast
+- 1 QUAD ride trough the Aras Valley
or cave exploration
+(diferent levels)
+
136 €
+ total
+
FAMILY 4 promotion  
+ promotion A (4 persons):
+- 2 nights in double room
+- 2 added beds
+- 4 breakfast

+
204 €
+
total
+
FAMILY 6 promotion  
+ promotion B (6 persons):
+- 2 nights in 2 double room
+- 2 added beds
+- 6 breakfast

+

+ This promotions are valid until 29th July, 7% V.A.T. not included.
+
+
+ + + diff --git a/eng/tarifas_eng sin ofertas.htm b/eng/tarifas_eng sin ofertas.htm index 2540f89..6adde3a 100644 --- a/eng/tarifas_eng sin ofertas.htm +++ b/eng/tarifas_eng sin ofertas.htm @@ -1,228 +1,213 @@ - - - - - - - - - - - - - - - -La Villa de Palacios :: Casonal rural :: Cantabria - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - -
 
-
-
 PRICES 
-
- Accommodation prices
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  -
-

Single

-
-
Double
-
Added bed
Low season
- (1 October - 1 Juny)
-
50 €
-
-

58 €

-
-
16 €
Medium season
- (1- Juny - 15 July | 15 - 30 September)
-
62 €
72 €
-
21 €
High season
- (15 July - 15 September
- + Easter
-+ Christmas
-+ National holidays )
-
76 €
-
88 €
-
25 €
>> Información y reservas
-
- Prices full reservation
-
- For groups, family celebrations, seminars and profesional activities, this mode means the right to reserve the entire hotel in exclusive. Not valid during August.
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

 

-

Whole hotel
-(each night)

Added bed
Breakfast surplus
-(each person)
Surplus for kitchen use
-
(optional)
Low season
- (1 October - 30 June)
-
373
-
16 €
5,60 € -
10 €
Medium Season
- (1- 15 July |
-1 -30 September)
-
471
-
21 €
5,60 € -
10 €
-
582
-
-

25 €

-
5,60 € -
10 €
>> Information and reserves
-
- • In High and Medium seasons, minimun stances are 2 nights.
-• Hotel counts with 8 double-rooms. The full reservation can include the use of the hotel's kitchen at the prices above indicated.
-• If you want to bring your pet, please ask previously.
-(7% VAT not included)
- - + + + + + + + + + + + + + + +La Villa de Palacios :: Casonal rural :: Cantabria + + + + + + + + + + + + + + + +
+ + + + + + + + + +
 
+
+
 PRICES 
+
+ Accommodation prices
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
+

Single

+
Double
Added bed
Low season
+ (1 October - 1 Juny)
50 €
+

58 €

+
16 €
Medium season
+ (1- Juny - 15 July | 15 - 30 September)
62 €
72 €
21 €
High season
+ (15 July - 15 September
+ + Easter
+ + Christmas
+ + National holidays )
76 €
88 €
25 €
>> Información y reservas
+
+ Prices full reservation
+
+ For groups, family celebrations, seminars and profesional activities, this mode means the right to reserve the entire hotel in exclusive. Not valid during August.
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

 

+

Whole hotel
+ (each night)

Added bed
Breakfast surplus
+ (each person)
Surplus for kitchen use
+
(optional)
Low season
+ (1 October - 30 June)
373
16 €
5,60 €
10 €
Medium Season
+ (1- 15 July |
+ 1 -30 September)
471
21 €
5,60 €
10 €
582
+

25 €

+
5,60 €
10 €
>> Information and reserves
+
+ • In High and Medium seasons, minimun stances are 2 nights.
+ • Hotel counts with 8 double-rooms. The full reservation can include the use of the hotel's kitchen at the prices above indicated.
+ • If you want to bring your pet, please ask previously.
+ (7% VAT not included)
+ + + + +
Casona La Villa de Palacios - Barrio Palacios 150 - San Miguel de Aras. Voto - 39766 - Cantabria
+ Tel. +34 942 679 150 - Fax. +34 942 679 241 - e-mail: info@villadepalacios.com
+ + + diff --git a/eng/tarifas_eng.htm b/eng/tarifas_eng.htm index a6c445e..203a291 100644 --- a/eng/tarifas_eng.htm +++ b/eng/tarifas_eng.htm @@ -68,7 +68,8 @@ function MM_preloadImages() { //v3.0 } --> - + + diff --git a/esp/alojamiento_esp.htm b/esp/alojamiento_esp.htm index e1afee3..6181d77 100644 --- a/esp/alojamiento_esp.htm +++ b/esp/alojamiento_esp.htm @@ -1,4 +1,4 @@ - + @@ -23,9 +23,7 @@ ideal para tus vacaciones y fines de semana de turismo rural en Cantabria "> - La Villa de Palacios :: Casonal rural :: Cantabria - - - - + + - - - - - - - - -
  942 679 150
-

-
-  ALOJAMIENTO 
-
-
Ocho habitaciones dobles con baño y vistas; - una de ellas apta para personas con movilidad reducida.
- • Televisión, servicio - de té y secador en todas las habitaciones.
- • Un salón con chimenea, una sala de lectura y solana.
- • Servicio de guardería para animales - (consulte previamente si desea traer a su mascota).
- • Aparcamiento propio.

- Conexión inalámbrica a internet.

-

Acceso a inernet por Wi-fi

- - - - - - -
-

Servicios -
-
-• Disponemos de habitaciones especiales para personas - con problemas de movilidad.
-• Servicio de comedor: menú de temporada o - por encargo (* consultar tarifas), carta de - picoteo y bolsa de picnic.
-• Bar de uso exclusivo para nuestros huéspedes.
-• Consulte nuestras promociones.

Actividades
-
- Contactamos con diversas - empresas de la comarca (la oferta varía según - temporada) para organizar actividades:
-
-•
Deportivas:
-Quads, paseos a caballo, piragüismo, rafting, -ía, senderismo.
-
-•
Culturales:
-Visitas a la Reserva - Natural de las Marismas de Santoña (observación - de aves), arte rupestre, románico, observación - de la naturaleza, paseos en barco por la Bahía - de Santoña, etc.
-
-

- Las habitaciones
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1. La vaca
-

-
La habitación crema. Está orientada a tres fachadas: Este, Norte y Oeste. Ubicada en el ala anexa, y dispone de una gran terraza con salida directa al jardín. Esta habitación de estilo colonial resulta muy acogedora.
-
-
-
- - - - - - -
-
-

- 2. El Conejo

-
- La habitación azul. Está orientada a dos fachadas, con dos grandes balcones de rejería. Al Este, se ve todo el valle y al Sur la singular montaña llamada el Castigo de la Rabia.
-
-
- - - - - -
-

- 3. El Gallo

-
- La habitación naranja. Orientada al Sur, posee dos amplios balcones de rejería que dan salida a una amplia terraza y está decorada en un precioso estilo colonial donde destaca el arco de entrada en ladrillo visto.
-
-
-
- - - - - -
-

- 4. El Gato

-

- La habitación lila. Está orientada a dos fachadas. Al Sur la vista del Castigo de la Rabia y al Oeste las montañas del Mullir y la finca. Tiene un baño con balcón de rejería y con una gran bañera redonda.
-
-
-
- - - - - -

- 5. El Chon

-
- La habitación verde, ubicada en un ala anexa del edificio principal. Sus altos techos han permitido sacar un camarote en el alto, con dos camitas que hacen las delicias de los niños.
-
-
-
- - - - - -

- 6. El Petirrojo

-
- La habitación ocre. Está orientada a dos fachadas. Al Este, la fachada principal, posee una pequeña terraza plena de geranios con una inscripción en piedra del año de construcción de la casona (1871) desde la que se divisa el valle y la ermita de la Virgen de Palacios. Al Norte tiene bonitas vistas a la montaña.
-
-
-
- - - - - - -
-

- 7. La cabra

-
- La habitación blanca. Está orientada a la fachada Sur con vistas al Castigo de la Rabia y al jardín. Se ubica en la antigua zona de servidumbre de la casona. El baño tiene una ventanita que estuvo escondida hasta la rehabilitación y que apareció como un vestigio de una edificación anterior a 1871.
-
-
-
- - - - - - -
-
-

- 8. El caballo

-
- La habitación amarilla. Esta habitación, situada en la planta baja, tiene un uso muy funcional pues está pensada para personas con movilidad reducida. Tiene un amplio ventanal de rejería que asoma justo a la cancela de la entrada principal en la fachada Este. La puerta de entrada da al vestíbulo y al salón con una rampa de acceso a éste último. El baño, muy amplio, está también preparado para esta función.
-
-
- - - - - - -
-
- + + + + + + + + + + + + + + + + + +
+

El contenido de esta página requiere de una versión más moderna de Adobe Flash Player.

+

Get Adobe Flash player

+
+ +
+ +
+ Haz tu reserva online + + + + + + + + + + +
 942 679 150
+


+  ALOJAMIENTO 
+
+
Ocho habitaciones dobles con baño y vistas; + una de ellas apta para personas con movilidad reducida.
+ • Televisión, servicio + de té y secador en todas las habitaciones.
+ • Un salón con chimenea, una sala de lectura y solana.
+ • Servicio de guardería para animales (consulte previamente si desea traer a su mascota).
+ • Aparcamiento propio.

+ Conexión inalámbrica a internet.

+

Acceso a inernet por Wi-fi

+ + + + + + +

Servicios
+
+ • Disponemos de habitaciones especiales para personas + con problemas de movilidad.
+ • Servicio de comedor: menú de temporada, carta de + picoteo y bolsa de picnic.
+ • Bar de uso exclusivo para nuestros huéspedes.
+
• Aceptamos mascotas. Consultar previamente. +
+ • Disponemos de barbacoa.
+
• Tarifas especiales para:
+    - Ocupación completa de la Casona con posibilidad de uso de cocina.
+    - Empresas, grupos y eventos.

Actividades
+
+ Contactamos con diversas + empresas de la comarca (la oferta varía según + temporada) para organizar actividades:
+
+ •
Deportivas:
+ Quads, paseos a caballo, piragüismo, rafting, + ía, senderismo.
+
+ •
Culturales:
+ Visitas a la Reserva + Natural de las Marismas de Santoña (observación + de aves), arte rupestre, románico, observación + de la naturaleza, paseos en barco por la Bahía + de Santoña, etc.
+
+

+ Las habitaciones
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
1. La vaca
+

+
La habitación crema. Está orientada a tres fachadas: Este, Norte y Oeste. Ubicada en el ala anexa, y dispone de una gran terraza con salida directa al jardín. Esta habitación de estilo colonial resulta muy acogedora.
+
+
+ + + + + + +
+

+ 2. El Conejo

+
+ La habitación azul. Está orientada a dos fachadas, con dos grandes balcones de rejería. Al Este, se ve todo el valle y al Sur la singular montaña llamada el Castigo de la Rabia.
+
+
+ + + + + +
+

+ 3. El Gallo

+
+ La habitación naranja. Orientada al Sur, posee dos amplios balcones de rejería que dan salida a una amplia terraza y está decorada en un precioso estilo colonial donde destaca el arco de entrada en ladrillo visto.
+
+
+ + + + + +

+ 4. El Gato

+

+ La habitación lila. Está orientada a dos fachadas. Al Sur la vista del Castigo de la Rabia y al Oeste las montañas del Mullir y la finca. Tiene un baño con balcón de rejería y con una gran bañera redonda.
+
+
+ + + + + +

+ 5. El Chon

+
+ La habitación verde, ubicada en un ala anexa del edificio principal. Sus altos techos han permitido sacar un camarote en el alto, con dos camitas que hacen las delicias de los niños.
+
+
+ + + + + +

+ 6. El Petirrojo

+
+ La habitación ocre. Está orientada a dos fachadas. Al Este, la fachada principal, posee una pequeña terraza plena de geranios con una inscripción en piedra del año de construcción de la casona (1871) desde la que se divisa el valle y la ermita de la Virgen de Palacios. Al Norte tiene bonitas vistas a la montaña.
+
+
+ + + + + + +

+ 7. La cabra

+
+ La habitación blanca. Está orientada a la fachada Sur con vistas al Castigo de la Rabia y al jardín. Se ubica en la antigua zona de servidumbre de la casona. El baño tiene una ventanita que estuvo escondida hasta la rehabilitación y que apareció como un vestigio de una edificación anterior a 1871.
+
+
+ + + + + + +
+

+ 8. El caballo

+
+ La habitación amarilla. Esta habitación, situada en la planta baja, tiene un uso muy funcional pues está pensada para personas con movilidad reducida. Tiene un amplio ventanal de rejería que asoma justo a la cancela de la entrada principal en la fachada Este. La puerta de entrada da al vestíbulo y al salón con una rampa de acceso a éste último. El baño, muy amplio, está también preparado para esta función.
+
+
+ + + + + + +
+
- + + + + + + +
Casona La Villa de Palacios - Barrio Palacios 150 - San Miguel de Aras. Voto - 39766 - Cantabria
+ Tel. 942 679 150 - Fax. 942 679 241 - e-mail: info@villadepalacios.com
+ + - + diff --git a/esp/cantabria_esp.htm b/esp/cantabria_esp.htm index d2c13f8..5df9df5 100644 --- a/esp/cantabria_esp.htm +++ b/esp/cantabria_esp.htm @@ -1,4 +1,4 @@ - + @@ -23,9 +23,7 @@ ideal para tus vacaciones y fines de semana de turismo rural en Cantabria "> - La Villa de Palacios :: Casonal rural :: Cantabria - - - - + + - - - - - - - - -
  942 679 150
-
-
 LA COMARCA: ASÓN-AGÜERA 

-
- - - - - - - - + + + + +
-

La - Villa de Palacios está situada en la comarca - Asón-Agüera,
entre la montaña y el mar. Muy próxima a las villas marineras de Laredo y Santoña, a media hora del Parque de la Naturaleza de Cabárceno, Santander y Bilbao. -
-                                                               >> Ver SITUACIÓN de la CASONA
-

-
La montaña
- La comarca de Asón-Agüera - es la más desconocida de Cantabria. La belleza - indiscutible de sus paisajes, sendas y rutas hace de - este lugar un paraje ideal para el descanso y el disfrute - de la naturaleza que alcanza su máximo esplendor - en el Parque Natural de Collados del Asón ( en - Soba ), con excepcionales vistas del valle y nacimiento - del río que le da nombre en una espectacular - cascada de 50 metros. El mirador y nacimiento del río - Gándara, espesos bosques, numerosas rutas de - gran belleza, hermosas aldeas rústicas, etc.
-
- El mar y las playas
- La villa marinera de Laredo con su gran playa se encuentra a 15 minutos de nuestra casona y sólo a 3 Km comienza la Reserva Natural de las Marismas de Santoña, Victoria y Joyel. Este es el mayor humedal del norte de España y de gran interés para los amantes de las aves acuáticas ya que en este enclave se han podido observar hasta la fecha 121 especies.
-
- Cuevas y arte rupestre
- Nuestra comarca posee una gran concentración de cuevas por lo que es visitada por espeleólogos del mundo entero. -Existen otras cuevas con vistosas formaciones geológicas y también con pinturas rupestres las cuales están accesibles al público como Covalanas, Cullalvera, Coventosa, etc. -No obstante las famosas Cuevas de Altamira y El Soplao se encuentran a menos de una hora de trayecto desde nuestro hotel. -
-
- Ciudades
- Nuestra Casona se encuentra equidistante de Santander - y Bilbao. En unos 45 minutos estarás en el centro - de cualquiera de estas ciudades y podrás disfrutar - de la gran oferta cultural que ambas ofrecen.
-
- En Bilbao cuentas con el emblemático Museo Guggenheim y también con el muy interesante Museo - de Bellas Artes. Pero no es para olvidarse del Museo - Arqueológico, Etnográfico e Histórico - o del Museo Diocesano.
-

-

En Santander está el Museo de - Prehistoria y Arqueología y el Museo Marítimo - del Cantábrico, además de el Museo de - Bellas Artes. Tambien puedes visitar el Palacio de la Magdalena y el Sardinero.

-


-
- Santander

-
- Vista del valle de Aras, con la casona
- a la izquierda.
-
-
-
- Una zona ideal para el senderismo.


- -
- Laredo (Santoña al fondo).
-
-
-Covalanas
-
-
-
- Puerto pesquero de Colindres.
-

-
- + + + + + + + + + + + + + + + + +
+

El contenido de esta página requiere de una versión más moderna de Adobe Flash Player.

+

Get Adobe Flash player

+
+ +
+ +
+ Haz tu reserva online +
+ + + + + + + +
 942 679 150
+
+
 LA COMARCA: ASÓN-AGÜERA 

+
+ + + + + + + + - -

La + Villa de Palacios está situada en la comarca Asón-Agüera,
+ entre la montaña y el mar. Muy próxima a las villas marineras de Laredo y Santoña, a media hora del Parque de la Naturaleza de Cabárceno, Santander y Bilbao.
+                                                               >> Ver SITUACIÓN de la CASONA
+

+
La montaña
+ La comarca de Asón-Agüera es la más desconocida de Cantabria. La belleza + indiscutible de sus paisajes, sendas y rutas hace de + este lugar un paraje ideal para el descanso y el disfrute + de la naturaleza que alcanza su máximo esplendor + en el Parque Natural de Collados del Asón ( en + Soba ), con excepcionales vistas del valle y nacimiento + del río que le da nombre en una espectacular + cascada de 50 metros. El mirador y nacimiento del río + Gándara, espesos bosques, numerosas rutas de + gran belleza, hermosas aldeas rústicas, etc.
+
+ El mar y las playas
+ La villa marinera de Laredo con su gran playa se encuentra a 15 minutos de nuestra casona y sólo a 3 Km comienza la Reserva Natural de las Marismas de Santoña, Victoria y Joyel. Este es el mayor humedal del norte de España y de gran interés para los amantes de las aves acuáticas ya que en este enclave se han podido observar hasta la fecha 121 especies.
+
+ Cuevas y arte rupestre
+ Nuestra comarca posee una gran concentración de cuevas por lo que es visitada por espeleólogos del mundo entero. + Existen otras cuevas con vistosas formaciones geológicas y también con pinturas rupestres las cuales están accesibles al público como Covalanas, Cullalvera, Coventosa, etc. + No obstante las famosas Cuevas de Altamira y El Soplao se encuentran a menos de una hora de trayecto desde nuestro hotel.
+
+ Ciudades
+ Nuestra Casona se encuentra equidistante de Santander + y Bilbao. En unos 45 minutos estarás en el centro + de cualquiera de estas ciudades y podrás disfrutar + de la gran oferta cultural que ambas ofrecen.
+
+ En Bilbao cuentas con el emblemático Museo Guggenheim y también con el muy interesante Museo + de Bellas Artes. Pero no es para olvidarse del Museo + Arqueológico, Etnográfico e Histórico + o del Museo Diocesano.
+

+

En Santander está el Museo de + Prehistoria y Arqueología y el Museo Marítimo + del Cantábrico, además de el Museo de + Bellas Artes. Tambien puedes visitar el Palacio de la Magdalena y el Sardinero.

+


+
+ Santander

Vista del valle de Aras, con la casona
+ a la izquierda.
+
+

+ Una zona ideal para el senderismo.

+
+
+ Laredo (Santoña al fondo).
+
+

+ Covalanas
+
+

+ Puerto pesquero de Colindres.
+

+
-
- + + + + + +
Casona La Villa de Palacios - Barrio Palacios 150 - San Miguel de Aras. Voto - 39766 - Cantabria
+ Tel. 942 679 150 - Fax. 942 679 241 - e-mail: info@villadepalacios.com
+ - + diff --git a/esp/contacto_esp.htm b/esp/contacto_esp.htm index f2a34ee..6f43116 100644 --- a/esp/contacto_esp.htm +++ b/esp/contacto_esp.htm @@ -1,4 +1,4 @@ - + @@ -23,9 +23,7 @@ ideal para tus vacaciones y fines de semana de turismo rural en Cantabria "> - La Villa de Palacios :: Casonal rural :: Cantabria - - - + + - - - - - - - -
  942 679 150
-
-
-  RESERVAS Y CONTACTO 

-
- - - - - -

Para - realizar una reserva o solicitar más información, -
- contacte con nosotros:
-
- - info@villadepalacios.com
-
-
Barrio Palacios 150
- San Miguel de Aras. Voto
- 39766 - Cantabria
-
- Tel. 942 679 150
- Mov. 627 030 030
-
-
- Lea nuestra - política de reservas y cancelación.

- - -

-

Para - llegar:
- Salida en Km 177 (Treto-Cicero)
- de la autovía - Santander-Bilbao.
- Ir dirección Treto y enseguida van apareciendo - indicaciones hacia
- SAN MIGUEL DE ARAS.
- Hay unos 9 - Km. Desde la autovía hasta “La Villa - de Palacios”.
-

-
-

Pulse para ampliar el mapa
- A 45 minutos de Bilbao y de - Santander
.
-
Pulse en la imagen para ampliar e imprimir.

-
-

Coordenadas G.P.S.
- Longitud: W03 grados   30 minutos  57 segundos
- Latitud: N43 grados  19 minutos 52 segundos

- + + + + + + + + + + + + + + + + + +
+

El contenido de esta página requiere de una versión más moderna de Adobe Flash Player.

+

Get Adobe Flash player

+
+ +
+ +
+ Haz tu reserva online + + + + + + + + + + +
 942 679 150
+
+
 RESERVAS Y CONTACTO 

+
+ + + + + +

Para + realizar una reserva o solicitar más información,
+ contacte con nosotros:
+
+ info@villadepalacios.com
+
+
Barrio Palacios 150
+ San Miguel de Aras. Voto
+ 39766 - Cantabria
+
+ Tel. 942 679 150
+ Fax. 942 679 241

+ Mov. 627 030 030
+

+ Lea nuestra política de reservas y cancelación.
+
+

+

Para + llegar:
+ Salida en Km 177 (Treto-Cicero)
+ de la autovía + Santander-Bilbao.
+ Ir dirección Treto y enseguida van apareciendo + indicaciones hacia
+ SAN MIGUEL DE ARAS.
+ Hay unos 9 + Km. Desde la autovía hasta “La Villa + de Palacios”.
+

+

Pulse para ampliar el mapa
+ A 45 minutos de Bilbao y de + Santander
.
+
Pulse en la imagen para ampliar e imprimir.

+
+

Coordenadas G.P.S.
+ Longitud: W03 grados   30 minutos  57 segundos
+ Latitud: N43 grados  19 minutos 52 segundos

- + + + + + +
Casona La Villa de Palacios - Barrio Palacios 150 - San Miguel de Aras. Voto - 39766 - Cantabria
+ e-mail: info@villadepalacios.com
+ - + diff --git a/esp/galeria2_esp.htm b/esp/galeria2_esp.htm index c27506e..544bc41 100644 --- a/esp/galeria2_esp.htm +++ b/esp/galeria2_esp.htm @@ -1,125 +1,138 @@ - - - - - - - - - - - - - - -La Villa de Palacios :: Casonal rural :: Cantabria - - - - - - - - - - - - - - -
- - - - -
- - - - - - - - - - -
-
-
- - + + + + + + + + + + + + + + +La Villa de Palacios :: Casonal rural :: Cantabria + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + + + + + +
+ + + + + +
Casona La Villa de Palacios - Barrio Palacios 150 - San Miguel de Aras. Voto - 39766 - Cantabria
+ Tel. 942 679 150 - Fax. 942 679 241 - e-mail: info@villadepalacios.com
+
+
+
+ + + diff --git a/esp/galeria_esp.htm b/esp/galeria_esp.htm index 919e379..ea22a70 100644 --- a/esp/galeria_esp.htm +++ b/esp/galeria_esp.htm @@ -1,4 +1,4 @@ - + @@ -23,9 +23,7 @@ ideal para tus vacaciones y fines de semana de turismo rural en Cantabria "> - La Villa de Palacios :: Casonal rural :: Cantabria - - - + + - + + + + + +
- - - - - - - - -
  942 679 150
-
-  GALERÍA DE IMÁGENES 

-
- Aquí tiene algunas imágenes de la Casona y sus alrededores. Puede ver fotografías de las habitaciones en la sección
Alojamiento. -
+
+ + + + + + + + + + + + + + + + +
+

El contenido de esta página requiere de una versión más moderna de Adobe Flash Player.

+

Get Adobe Flash player

+
+ +
+ +
+ Haz tu reserva online +
+ + + + + + + +
 942 679 150
+
+  GALERÍA DE IMÁGENES 

+
+ Aquí tiene algunas imágenes de la Casona y sus alrededores. Puede ver fotografías de las habitaciones en la sección
Alojamiento.

- - - -
- - - - -
Interiores Los espacios comunes -
- - - - - - - - -
   
-
- - - - - - - - -
   

- - - - - -
La casona Un ambiente sosegado y detallista -
- - - - - - - - -
   
-
- - - - - - - - -
   

- - - - - -
La finca 8.000 - metros cuadrados para disfrutar -
- - - - - - - - -
   
-
- - - - - - - - -
   
-

Pulse aquí para ver más imágenes
-
-

-
+ + + + +
Interiores Los espacios comunes 
+ + + + + + + + +
   
+
+ + + + + + + + +
   
+
+ + + + + +
La casona Un ambiente sosegado y detallista
+ + + + + + + + +
   
+
+ + + + + + + + +
   
+
+ + + + + +
La finca 8.000 + metros cuadrados para disfrutar
+ + + + + + + + +
   
+
+ + + + + + + + +
   
+

Pulse aquí para ver más imágenes
+
+

- + + + + + +
Casona La Villa de Palacios - Barrio Palacios 150 - San Miguel de Aras. Voto - 39766 - Cantabria
+ Tel. 942 679 150 - Fax. 942 679 241 - e-mail: info@villadepalacios.com
+ - + diff --git a/esp/home_esp.htm b/esp/home_esp.htm index 5f5f31f..8a3acd6 100644 --- a/esp/home_esp.htm +++ b/esp/home_esp.htm @@ -1,4 +1,4 @@ - + @@ -23,9 +23,8 @@ ideal para tus vacaciones y fines de semana de turismo rural en Cantabria "> - Hotel con encanto ::: Turismo rural en Cantabria - + - - - + + + + + + + + + + + + + + + + + +
+

El contenido de esta página requiere de una versión más moderna de Adobe Flash Player.

+

Get Adobe Flash player

+
+ +
+ +
+ Haz tu reserva online + + + - - - - - - -
  942 679 150
- -
-
+ +   + Presentación ·Fotografías ·Alojamiento·La comarca·Reserva y Contacto ·Tarifas + + 942 679 150 + + +
+
- - +
 PRESENTACIÓN  -  PRESENTACIÓN 

- - - - - - - - -
La - Villa de Palacios, una preciosa casa del siglo - XIX completamente reformada, es el destino ideal para una estancia de tiempo - libre. Está situada en el privilegiado enclave - de la Junta de Voto, rodeada de montañas y frondosos - bosques. o
-
- oooooooooooooooo
>> Ver SITUACIÓN de la CASONA

-
-
- Una finca de 8.000 m², - con nogales, castaños, encinas y avellanos enmarca - el hotel-casona La Villa de Palacios, - ofreciendo al visitante un espacio en consonancia con - el bello entorno natural del Valle de Aras.
-
-
- Haz una escapada y disfruta - del mejor turismo rural - en un sitio con excelentes comunicaciones y posibilidades de ocio: a 15 minutos de Laredo - y sus playas y a 40 minutos de Santander y de Bilbao.
-
- Visita el conocido - Museo Guggenheim, conoce la Reserva Natural de las Marismas - de Santoña, o practica el excursionismo, la espeleología - y los deportes de aventura en las montañas de - la zona.
-
-


-
- Bienvenido a La Villa de Palacios ***

-

Acceso a inernet por Wi-fi
-

-

-
- - - - - -
La Villa de Palacios ostenta la categoría de Palacios y Casonas de Cantabria y pertenece al exigente Club de Calidad Cantabria Gran Reserva:
- www.calidadcantabria.com
- + + + + + + + + +
La + Villa de Palacios, una preciosa casa del siglo + XIX completamente reformada, es el destino ideal para una estancia de tiempo + libre. Está situada en el privilegiado enclave + de la Junta de Voto, rodeada de montañas y frondosos + bosques. o
+
+ oooooooooooooooo
>> Ver SITUACIÓN de la CASONA

+
+
Una finca de 8.000 m², + con nogales, castaños, encinas y avellanos enmarca + el hotel-casona La Villa de Palacios, + ofreciendo al visitante un espacio en consonancia con + el bello entorno natural del Valle de Aras.
+
+
Haz una escapada y disfruta + del mejor turismo rural en un sitio con excelentes comunicaciones y posibilidades de ocio: a 15 minutos de Laredo + y sus playas y a 40 minutos de Santander y de Bilbao.
+
+ Visita el conocido Museo Guggenheim, conoce la Reserva Natural de las Marismas + de Santoña, o practica el excursionismo, la espeleología y los deportes de aventura en las montañas de + la zona.
+
+


+
+ Bienvenido a La Villa de Palacios ***

+

Acceso a inernet por Wi-fi
+

+

+
+ + + + + +
La Villa de Palacios ostenta la categoría de Palacios y Casonas de Cantabria y pertenece al exigente Club de Calidad Cantabria Gran Reserva:
+ www.calidadcantabria.com
- + + + + + + +
Casona La Villa de Palacios - Barrio Palacios 150 - San Miguel de Aras. Voto - 39766 - Cantabria
+ Tel. 942 679 150 - Fax. 942 679 241 - e-mail: info@villadepalacios.com
+ + - + diff --git a/esp/ofertas.htm b/esp/ofertas.htm index 727bdaf..5ca2047 100644 --- a/esp/ofertas.htm +++ b/esp/ofertas.htm @@ -1,94 +1,99 @@ - - - -:::OFERTAS::: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
Promociones - Julio

-
62
-por día
Promoción WEEK
Incluye:
-- Una semana en habitación doble con desayuno para dos personas durante la semana.
*Válida hasta el 31 de Julio*
-
75 - € -
- por persona
Promoción COUPLE
Incluye:
-- Detalle de bienvenida
-- 2 noches de hotel
-- 2 desayunos
-- 1 cena romántica
-
80 - € -
- por persona
Promoción SPORT
- Incluye:
- - 2 noches de hotel
-- 2 desayunos
-- 1 ruta en QUAD biplaza por el Valle de Aras o práctica de espeleología (distintos niveles).
-
136 €
- en total
-
Fin - de semana FAMILY 4
- oferta - A (4 personas):
- - 2 noches en habitación doble
- - 2 camas supletorias
- - 8 desayunos
-
204 €
-
en total
-
Fin - de semana FAMILY 6
- oferta B (6 personas):
- - 2 noches en 2 habitaciones dobles
- - 2 camas supletorias
- - 12 desayunos
-

-
Ofertas válidas hasta el 29 de Julio. 7% de I.V.A no incluido.
-
-
- - + + + +:::OFERTAS::: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
Promociones + Julio

+
62
+por día
Promoción WEEK
Incluye:
+- Una semana en habitación doble con desayuno para dos personas durante la semana.
*Válida hasta el 31 de Julio*
+
75 + € +
+ por persona
Promoción COUPLE
Incluye:
+- Detalle de bienvenida
+- 2 noches de hotel
+- 2 desayunos
+- 1 cena romántica
+
80 + € +
+ por persona
Promoción SPORT
+ Incluye:
+ - 2 noches de hotel
+- 2 desayunos
+- 1 ruta en QUAD biplaza por el Valle de Aras o práctica de espeleología (distintos niveles).
+
136 €
+ en total
+
Fin + de semana FAMILY 4
+ oferta + A (4 personas):
+ - 2 noches en habitación doble
+ - 2 camas supletorias
+ - 8 desayunos
+
204 €
+
en total
+
Fin + de semana FAMILY 6
+ oferta B (6 personas):
+ - 2 noches en 2 habitaciones dobles
+ - 2 camas supletorias
+ - 12 desayunos
+

+
Ofertas válidas hasta el 29 de Julio. 7% de I.V.A no incluido.
+
+
+ + + diff --git a/esp/politica-cancelacion.htm b/esp/politica-cancelacion.htm index cb17db7..2a893c1 100644 --- a/esp/politica-cancelacion.htm +++ b/esp/politica-cancelacion.htm @@ -88,5 +88,10 @@ de antelación a la fecha + diff --git a/esp/pop-up oferta.htm b/esp/pop-up oferta.htm index 062fcf2..3b4b2fb 100644 --- a/esp/pop-up oferta.htm +++ b/esp/pop-up oferta.htm @@ -1,38 +1,43 @@ - - - -:::OFERTAS::: - - - - - - - - - - - - - -
-
     Promociones - de invierno
-
-


- 3x2 - - Estancia de 3 noches pagando sólo - 2
-
ó
-     Cena - gratis
- - Te invitamos a una cena con la estancia - de 2 noches.

- -
- - + + + +:::OFERTAS::: + + + + + + + + + + + + + +
+
     Promociones + de invierno
+
+


+ 3x2 + - Estancia de 3 noches pagando sólo + 2
+
ó
+     Cena + gratis
+ - Te invitamos a una cena con la estancia + de 2 noches.

+ +
+ + + diff --git a/esp/tarifas_esp.htm b/esp/tarifas_esp.htm index 086eec4..5b43ae5 100644 --- a/esp/tarifas_esp.htm +++ b/esp/tarifas_esp.htm @@ -72,7 +72,8 @@ function MM_preloadImages() { //v3.0 } --> - + + diff --git a/index.htm b/index.htm index 027ed93..4bd7426 100644 --- a/index.htm +++ b/index.htm @@ -1,109 +1,114 @@ - - - - - - - - - - - - - - - - - - - - -La Villa de Palacios :: Casona rural :: Cantabria - - - - - - - - - - -
- - - - -
-
- - + + + + + + + + + + + + + + + + + + + + +La Villa de Palacios :: Casona rural :: Cantabria + + + + + + + + + + +
+ + + + +
+
+ + + diff --git a/privado/funciones.php b/privado/funciones.php index 35204e5..1f0505c 100644 --- a/privado/funciones.php +++ b/privado/funciones.php @@ -3,18 +3,6 @@ return unserialize(file_get_contents($filename)); } - function cargar_datos_promociones () { - return cargar_datos("promociones.dat"); - } - - function cargar_datos_temporadas () { - return cargar_datos("temporadas.dat"); - } - - function cargar_datos_tarifas () { - return cargar_datos("tarifas.dat"); - } - function cargar_plantilla_cas () { return file_get_contents('./plantillas/tarifas_esp.htm'); } @@ -23,15 +11,23 @@ return file_get_contents('./plantillas/tarifas_eng.htm'); } - function generar_pagina_tarifas_cas ($texto_tarifas_cas) { - $fichero = fopen('../tarifas_esp.htm', 'w'); + function generar_pagina_tarifas_cas ($texto_tarifas_cas, $accion) { + if ($accion == 'guardar') + $fichero = fopen('../esp/tarifas_esp.htm', 'w'); + else + $fichero = fopen('previsualizar_tarifas_esp.htm', 'w'); + fwrite($fichero, $texto_tarifas_cas); fclose($fichero); } - function generar_pagina_tarifas_eng ($texto_tarifas_eng) { - $fichero = fopen('../tarifas_eng.htm', 'w'); - fwrite($fichero, $texto_tarifas_eng); + function generar_pagina_tarifas_eng ($texto_tarifas_eng, $accion) { + if ($accion == 'guardar') + $fichero = fopen('../eng/tarifas_eng.htm', 'w'); + else + $fichero = fopen('previsualizar_tarifas_eng.htm', 'w'); + + fwrite($fichero, $texto_tarifas_eng); fclose($fichero); } diff --git a/privado/index.htm b/privado/index.htm index 18817ad..3dee3c9 100644 --- a/privado/index.htm +++ b/privado/index.htm @@ -1,10 +1,50 @@ - - + - -Documento sin título - +La Villa de Palacios :: Casona rural :: Cantabria + + + - + + + + + +
+ + + + +
+
diff --git a/privado/plantillas/tarifas_eng.htm b/privado/plantillas/tarifas_eng.htm index 97332e2..46ce045 100644 --- a/privado/plantillas/tarifas_eng.htm +++ b/privado/plantillas/tarifas_eng.htm @@ -68,7 +68,8 @@ function MM_preloadImages() { //v3.0 } --> - + + diff --git a/privado/plantillas/tarifas_esp.htm b/privado/plantillas/tarifas_esp.htm index fc891c1..016f3eb 100644 --- a/privado/plantillas/tarifas_esp.htm +++ b/privado/plantillas/tarifas_esp.htm @@ -72,7 +72,8 @@ function MM_preloadImages() { //v3.0 } --> - + + diff --git a/privado/proceso.php b/privado/proceso.php index 733906b..4202dba 100644 --- a/privado/proceso.php +++ b/privado/proceso.php @@ -4,11 +4,15 @@ $seccion = $_REQUEST['seccion']; $accion=$_REQUEST['accion']; - echo 'seccion -> '.$seccion; - echo 'accion -> '.$accion; - + $fichero_promociones = "promociones.dat"; + $fichero_temporadas = "temporadas.dat"; + $fichero_tarifas = "tarifas.dat"; + if ($seccion == 'promociones') { - $filename = "promociones.dat"; + if ($accion == 'guardar') + $fichero_promociones = "promociones.dat"; + else + $fichero_promociones = "promociones_previsualizar.dat"; $promo_1 = array(TITULO_CAS => $_REQUEST['titulo1-cas'], TITULO_ENG => $_REQUEST['titulo1-eng'], @@ -46,17 +50,19 @@ TEXTO_ENG => $_REQUEST['texto5-eng']); $promos = array($promo_1, $promo_2, $promo_3, $promo_4, $promo_5); - echo "
";
-		print_r($promos);
-		echo "
"; + // Guardar los datos - $fp = fopen($filename, 'w+') or die("No puedo abrir el fichero ".$filename." para guardar."); + $fp = fopen($fichero_promociones, 'w+') or die("No puedo abrir el fichero ".$fichero_promociones." para guardar."); fwrite($fp, serialize($promos)); fclose($fp); } if ($seccion == 'tarifas') { - $filename = "temporadas.dat"; + if ($accion == 'guardar') + $fichero_temporadas = "temporadas.dat"; + else + $fichero_temporadas = "temporadas_previsualizar.dat"; + $temporadas = array(BAJA_CAS => $_REQUEST['temp-baja-cas'], BAJA_ENG => $_REQUEST['temp-baja-eng'], MEDIA_CAS => $_REQUEST['temp-media-cas'], @@ -64,11 +70,15 @@ ALTA_CAS => $_REQUEST['temp-alta-cas'], ALTA_ENG => $_REQUEST['temp-alta-eng']); // Guardar los datos - $fp = fopen($filename, 'w+') or die("No puedo abrir el fichero ".$filename." para guardar."); + $fp = fopen($fichero_temporadas, 'w+') or die("No puedo abrir el fichero ".$fichero_temporadas." para guardar."); fwrite($fp, serialize($temporadas)); fclose($fp); - $filename = "tarifas.dat"; + if ($accion == 'guardar') + $fichero_tarifas = "tarifas.dat"; + else + $fichero_tarifas = "tarifas_previsualizar.dat"; + $tarifas_generales_baja = array(INDIVIDUAL => $_REQUEST['tarifa-baja-individual'], DOBLE => $_REQUEST['tarifa-baja-doble'], CAMA => $_REQUEST['tarifa-baja-cama'], @@ -114,7 +124,7 @@ COMPLETA => array($tarifas_completa_baja, $tarifas_completa_media, $tarifas_completa_alta)); // Guardar los datos - $fp = fopen($filename, 'w+') or die("No puedo abrir el fichero ".$filename." para guardar."); + $fp = fopen($fichero_tarifas, 'w+') or die("No puedo abrir el fichero ".$fichero_tarifas." para guardar."); fwrite($fp, serialize($tarifas)); fclose($fp); @@ -123,18 +133,29 @@ $plantilla_cas = cargar_plantilla_cas(); $plantilla_eng = cargar_plantilla_eng(); - $promos = cargar_datos_promociones(); + $promos = cargar_datos($fichero_promociones); $plantilla_cas = actualizar_promociones_cas($promos, $plantilla_cas); $plantilla_eng = actualizar_promociones_eng($promos, $plantilla_eng); - $temporadas = cargar_datos_temporadas(); + $temporadas = cargar_datos($fichero_temporadas); $plantilla_cas = actualizar_temporadas_cas($temporadas, $plantilla_cas); $plantilla_eng = actualizar_temporadas_eng($temporadas, $plantilla_eng); - $tarifas = cargar_datos_tarifas(); + $tarifas = cargar_datos($fichero_tarifas); $plantilla_cas = actualizar_tarifas($tarifas, $plantilla_cas); $plantilla_eng = actualizar_tarifas($tarifas, $plantilla_eng); - generar_pagina_tarifas_cas($plantilla_cas); - generar_pagina_tarifas_eng($plantilla_eng); + generar_pagina_tarifas_cas($plantilla_cas, $accion); + generar_pagina_tarifas_eng($plantilla_eng, $accion); + + if ($accion == 'guardar') { + print ""; + print(""); + } + else { + if ($accion == 'previsualizar_castellano') + header('Location: previsualizar_tarifas_esp.htm'); + else + header('Location: previsualizar_tarifas_eng.htm'); + } ?> diff --git a/privado/promociones.dat b/privado/promociones.dat index 47c194f..569a800 100644 --- a/privado/promociones.dat +++ b/privado/promociones.dat @@ -1,4 +1,4 @@ a:5:{i:0;a:6:{s:10:"TITULO_CAS";s:20:"Fin de semana COUPLE";s:10:"TITULO_ENG";s:16:"ROMANTIC weekend";s:10:"PRECIO_CAS";s:16:"73 € por persona";s:10:"PRECIO_ENG";s:16:"73 € por persona";s:9:"TEXTO_CAS";s:232:"

Incluye:

-
Detalle de bienvenida
- 2 noches de hotel
- 2 desayunos
- 1 cena romántica

";s:9:"TEXTO_ENG";s:126:"

Include:

-
Welcome gift
- 2 nights
- 2 breakfast
- 1 romantic dinner

";}i:1;a:6:{s:10:"TITULO_CAS";s:19:"Fin de semana SPORT";s:10:"TITULO_ENG";s:13:"SPORT weekend";s:10:"PRECIO_CAS";s:16:"79 € por persona";s:10:"PRECIO_ENG";s:16:"79 € por persona";s:9:"TEXTO_CAS";s:356:"

Incluye:

-
2 noches de hotel
- 2 desayunos

una actividad deportiva,
a elegir entre:
* 1 ruta de Quad biplaza por el Valle de Aras
* Paseo en canoa por el Asón
* Actividad espeleológica o visita a cueva de la comarca

";s:9:"TEXTO_ENG";s:269:"

Include:

-
2 nights
- 2 breakfast

one sport activity,
to choose between:
* 1 quad rute thru the Aras Valley
* Kayak sailing down the Asón river
* Cave exploring

";}i:2;a:6:{s:10:"TITULO_CAS";s:22:"Fin de semana FAMILY 4";s:10:"TITULO_ENG";s:8:"FAMILY 4";s:10:"PRECIO_CAS";s:11:"140 € Total";s:10:"PRECIO_ENG";s:11:"140 € Total";s:9:"TEXTO_CAS";s:193:"

Incluye:

 

2 noches en habitación doble
+ 2 camas supletorias
+ 4 desayunos

";s:9:"TEXTO_ENG";s:111:"

For 4 persons

-

2 nights in double-room
+ 2 added beds
+ 4 breakfast

";}i:3;a:6:{s:10:"TITULO_CAS";s:22:"Fin de semana FAMILY 6";s:10:"TITULO_ENG";s:9:"FAMILY 6 ";s:10:"PRECIO_CAS";s:12:"250 € Total ";s:10:"PRECIO_ENG";s:12:"250 € Total ";s:9:"TEXTO_CAS";s:196:"

Oferta para 6 personas

2 noches en
2 habitaciones dobles
+ 2 camas supletorias
+ 6 desayunos

";s:9:"TEXTO_ENG";s:116:"

For 6 persons

2 nights in double-room
+ 2 added beds
+ 6 breakfast

";}i:4;a:6:{s:10:"TITULO_CAS";s:10:"OFERTA 3x2";s:10:"TITULO_ENG";s:9:"OFFER 3x2";s:10:"PRECIO_CAS";s:11:"140 € Total";s:10:"PRECIO_ENG";s:11:"140 € Total";s:9:"TEXTO_CAS";s:175:"

Por dos días de estancia, el tercero le sale gratis (no acumulable a las otras ofertas. No incluye los desayunos)

";s:9:"TEXTO_ENG";s:178:"

For 2 days of stance the third goes free (can't be used with other promotions. Does not include breakfast)

";}} \ No newline at end of file +

2 nights in double-room
+ 2 added beds
+ 4 breakfast

";}i:3;a:6:{s:10:"TITULO_CAS";s:22:"Fin de semana FAMILY 6";s:10:"TITULO_ENG";s:9:"FAMILY 6 ";s:10:"PRECIO_CAS";s:12:"250 € Total ";s:10:"PRECIO_ENG";s:12:"250 € Total ";s:9:"TEXTO_CAS";s:196:"

Oferta para 6 personas

2 noches en
2 habitaciones dobles
+ 2 camas supletorias
+ 6 desayunos

";s:9:"TEXTO_ENG";s:116:"

For 6 persons

2 nights in double-room
+ 2 added beds
+ 6 breakfast

";}i:4;a:6:{s:10:"TITULO_CAS";s:10:"OFERTA 3x2";s:10:"TITULO_ENG";s:9:"OFFER 3x2";s:10:"PRECIO_CAS";s:11:"140 € Total";s:10:"PRECIO_ENG";s:11:"140 € Total";s:9:"TEXTO_CAS";s:175:"

Por dos días de estancia, el tercero le sale gratis (no acumulable a las otras ofertas. No incluye los desayunos)

";s:9:"TEXTO_ENG";s:177:"

For 2 days of stance the third goes free (can't be used with other promotions. Does not include breakfast)

";}} \ No newline at end of file diff --git a/privado/promociones.php b/privado/promociones.php index 79aae8d..0901813 100644 --- a/privado/promociones.php +++ b/privado/promociones.php @@ -229,9 +229,9 @@ h1 {
- - - + + +

diff --git a/privado/promociones_previsualizar.dat b/privado/promociones_previsualizar.dat new file mode 100644 index 0000000..569a800 --- /dev/null +++ b/privado/promociones_previsualizar.dat @@ -0,0 +1,4 @@ +a:5:{i:0;a:6:{s:10:"TITULO_CAS";s:20:"Fin de semana COUPLE";s:10:"TITULO_ENG";s:16:"ROMANTIC weekend";s:10:"PRECIO_CAS";s:16:"73 € por persona";s:10:"PRECIO_ENG";s:16:"73 € por persona";s:9:"TEXTO_CAS";s:232:"

Incluye:

-
Detalle de bienvenida
- 2 noches de hotel
- 2 desayunos
- 1 cena romántica

";s:9:"TEXTO_ENG";s:126:"

Include:

-
Welcome gift
- 2 nights
- 2 breakfast
- 1 romantic dinner

";}i:1;a:6:{s:10:"TITULO_CAS";s:19:"Fin de semana SPORT";s:10:"TITULO_ENG";s:13:"SPORT weekend";s:10:"PRECIO_CAS";s:16:"79 € por persona";s:10:"PRECIO_ENG";s:16:"79 € por persona";s:9:"TEXTO_CAS";s:356:"

Incluye:

-
2 noches de hotel
- 2 desayunos

una actividad deportiva,
a elegir entre:
* 1 ruta de Quad biplaza por el Valle de Aras
* Paseo en canoa por el Asón
* Actividad espeleológica o visita a cueva de la comarca

";s:9:"TEXTO_ENG";s:269:"

Include:

-
2 nights
- 2 breakfast

one sport activity,
to choose between:
* 1 quad rute thru the Aras Valley
* Kayak sailing down the Asón river
* Cave exploring

";}i:2;a:6:{s:10:"TITULO_CAS";s:22:"Fin de semana FAMILY 4";s:10:"TITULO_ENG";s:8:"FAMILY 4";s:10:"PRECIO_CAS";s:11:"140 € Total";s:10:"PRECIO_ENG";s:11:"140 € Total";s:9:"TEXTO_CAS";s:193:"

Incluye:

+

 

+

2 noches en habitación doble
+ 2 camas supletorias
+ 4 desayunos

";s:9:"TEXTO_ENG";s:111:"

For 4 persons

+

2 nights in double-room
+ 2 added beds
+ 4 breakfast

";}i:3;a:6:{s:10:"TITULO_CAS";s:22:"Fin de semana FAMILY 6";s:10:"TITULO_ENG";s:9:"FAMILY 6 ";s:10:"PRECIO_CAS";s:12:"250 € Total ";s:10:"PRECIO_ENG";s:12:"250 € Total ";s:9:"TEXTO_CAS";s:196:"

Oferta para 6 personas

2 noches en
2 habitaciones dobles
+ 2 camas supletorias
+ 6 desayunos

";s:9:"TEXTO_ENG";s:116:"

For 6 persons

2 nights in double-room
+ 2 added beds
+ 6 breakfast

";}i:4;a:6:{s:10:"TITULO_CAS";s:10:"OFERTA 3x2";s:10:"TITULO_ENG";s:9:"OFFER 3x2";s:10:"PRECIO_CAS";s:11:"140 € Total";s:10:"PRECIO_ENG";s:11:"140 € Total";s:9:"TEXTO_CAS";s:175:"

Por dos días de estancia, el tercero le sale gratis (no acumulable a las otras ofertas. No incluye los desayunos)

";s:9:"TEXTO_ENG";s:177:"

For 2 days of stance the third goes free (can't be used with other promotions. Does not include breakfast)

";}} \ No newline at end of file diff --git a/privado/tarifas.dat b/privado/tarifas.dat new file mode 100644 index 0000000..06b5244 --- /dev/null +++ b/privado/tarifas.dat @@ -0,0 +1 @@ +a:2:{s:9:"GENERALES";a:3:{i:0;a:5:{s:10:"INDIVIDUAL";s:4:"55 €";s:5:"DOBLE";s:4:"65 €";s:4:"CAMA";s:4:"17 €";s:4:"CUNA";s:3:"0 €";s:7:"MASCOTA";s:3:"0 €";}i:1;a:5:{s:10:"INDIVIDUAL";s:4:"67 €";s:5:"DOBLE";s:4:"79 €";s:4:"CAMA";s:4:"22 €";s:4:"CUNA";s:3:"0 €";s:7:"MASCOTA";s:3:"0 €";}i:2;a:5:{s:10:"INDIVIDUAL";s:4:"83 €";s:5:"DOBLE";s:4:"96 €";s:4:"CAMA";s:4:"26 €";s:4:"CUNA";s:3:"0 €";s:7:"MASCOTA";s:3:"0 €";}}s:8:"COMPLETA";a:3:{i:0;a:6:{s:5:"HOTEL";s:5:"392 €";s:4:"CAMA";s:4:"17 €";s:8:"DESAYUNO";s:3:"6 €";s:6:"COCINA";s:4:"12 €";s:4:"CUNA";s:3:"0 €";s:7:"MASCOTA";s:3:"0 €";}i:1;a:6:{s:5:"HOTEL";s:5:"495 €";s:4:"CAMA";s:4:"22 €";s:8:"DESAYUNO";s:3:"6 €";s:6:"COCINA";s:4:"12 €";s:4:"CUNA";s:3:"0 €";s:7:"MASCOTA";s:3:"0 €";}i:2;a:6:{s:5:"HOTEL";s:5:"611 €";s:4:"CAMA";s:4:"26 €";s:8:"DESAYUNO";s:3:"6 €";s:6:"COCINA";s:4:"12 €";s:4:"CUNA";s:3:"0 €";s:7:"MASCOTA";s:3:"0 €";}}} \ No newline at end of file diff --git a/privado/tarifas.php b/privado/tarifas.php index 5585200..ac68679 100644 --- a/privado/tarifas.php +++ b/privado/tarifas.php @@ -79,16 +79,12 @@ h1 {
@@ -137,27 +133,27 @@ h1 { Temp. baja - - - - - + + + + + Temp. media - - - - - + + + + + Temp. alta - - - - - + + + + +
@@ -173,37 +169,37 @@ h1 { Temp. baja - - - - - - + + + + + + Temp. media - - - + + - - - + + + Temp. alta - - - - - - + + + + + +
- + diff --git a/privado/tarifas_previsualizar.dat b/privado/tarifas_previsualizar.dat new file mode 100644 index 0000000..723a24b --- /dev/null +++ b/privado/tarifas_previsualizar.dat @@ -0,0 +1 @@ +a:2:{s:9:"GENERALES";a:3:{i:0;a:5:{s:10:"INDIVIDUAL";s:4:"55 €";s:5:"DOBLE";s:4:"65 €";s:4:"CAMA";s:4:"17 €";s:4:"CUNA";s:3:"0 €";s:7:"MASCOTA";s:3:"0 €";}i:1;a:5:{s:10:"INDIVIDUAL";s:4:"67 €";s:5:"DOBLE";s:4:"79 €";s:4:"CAMA";s:4:"22 €";s:4:"CUNA";s:3:"0 €";s:7:"MASCOTA";s:3:"0 €";}i:2;a:5:{s:10:"INDIVIDUAL";s:4:"83 €";s:5:"DOBLE";s:4:"96 €";s:4:"CAMA";s:4:"26 €";s:4:"CUNA";s:3:"0 €";s:7:"MASCOTA";s:3:"0 €";}}s:8:"COMPLETA";a:3:{i:0;a:6:{s:5:"HOTEL";s:5:"392 €";s:4:"CAMA";s:4:"17 €";s:8:"DESAYUNO";s:3:"6 €";s:6:"COCINA";s:4:"12 €";s:4:"CUNA";s:3:"0 €";s:7:"MASCOTA";s:3:"0 €";}i:1;a:6:{s:5:"HOTEL";s:5:"495 €";s:4:"CAMA";s:4:"22 €";s:8:"DESAYUNO";s:3:"6 €";s:6:"COCINA";s:4:"12 €";s:4:"CUNA";s:3:"1 €";s:7:"MASCOTA";s:3:"0 €";}i:2;a:6:{s:5:"HOTEL";s:5:"611 €";s:4:"CAMA";s:4:"26 €";s:8:"DESAYUNO";s:3:"6 €";s:6:"COCINA";s:4:"12 €";s:4:"CUNA";s:3:"0 €";s:7:"MASCOTA";s:3:"0 €";}}} \ No newline at end of file diff --git a/privado/temporadas.dat b/privado/temporadas.dat new file mode 100644 index 0000000..39fb886 --- /dev/null +++ b/privado/temporadas.dat @@ -0,0 +1 @@ +a:6:{s:8:"BAJA_CAS";s:23:"16 septiembre - 31 mayo";s:8:"BAJA_ENG";s:25:"September 16th - May 31st";s:9:"MEDIA_CAS";s:18:"1 junio - 14 julio";s:9:"MEDIA_ENG";s:20:"June 1st - July 14th";s:8:"ALTA_CAS";s:70:"15 julio - 15 septiembre + Semana Santa + Navidad + puentes nacionales";s:8:"ALTA_ENG";s:67:"July 15th - September 15th + Easter + Christmas + National holidays";} \ No newline at end of file diff --git a/privado/temporadas_previsualizar.dat b/privado/temporadas_previsualizar.dat new file mode 100644 index 0000000..39fb886 --- /dev/null +++ b/privado/temporadas_previsualizar.dat @@ -0,0 +1 @@ +a:6:{s:8:"BAJA_CAS";s:23:"16 septiembre - 31 mayo";s:8:"BAJA_ENG";s:25:"September 16th - May 31st";s:9:"MEDIA_CAS";s:18:"1 junio - 14 julio";s:9:"MEDIA_ENG";s:20:"June 1st - July 14th";s:8:"ALTA_CAS";s:70:"15 julio - 15 septiembre + Semana Santa + Navidad + puentes nacionales";s:8:"ALTA_ENG";s:67:"July 15th - September 15th + Easter + Christmas + National holidays";} \ No newline at end of file