Viewing file: header.php (2.09 KB) -rw-rw-r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<?
include_once("/home/wwwroot/frames/conn.php");
?>
<title>m.<?echo SERVIDOR;?></title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js"></script>
<style type="text/css">
@font-face {
font-family: "fontin";
src: url("http://<? echo SERVIDOR;?>/fonts/Diavlo_BLACK_II_37.otf");
}
span.rojo {
color:red;
}
span.verde {
color:green;
}
span.azul {
color:#0000FF;
}
</style>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-27490659-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<?
function reSanitizar( $titulo ) {
return( ereg_replace( '[^ A-Za-zá-úü-Ñ0-9_-]', '', $titulo ));
}
function acentos_mini($cadena){
$tofind = "���������������������������������������������������";
$replac = "AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuy";
return(strtr($cadena,$tofind,$replac));
}
function cabecera(){
return("<div data-role='header'>
<a rel=external href='javascript:history.back(1)' data-icon='back'>".'Atrás'."</a>
<a rel=external href='http://m.".SERVIDOR."/inicio.php#' data-icon='home'>".'Inicio'."</a>
<h1 style='font-family: ".'"fontin"'.";'>m.".SERVIDOR."</h1>
</div>");
}
// variables. Las cojemos de la cookie ( si existe)
if (!$_COOKIE['formato']){
$formato="c";
$formato_contraste="e";
$portadillas=1;
}else{
$formato=$_COOKIE['formato'];
$formato_contraste="e";
$portadillas=1;
}
?>
|