<?php require_once("../wp-config.php"); ?>
<html>
<head>
<meta http-equiv="Content-Language" content="es">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>DIARIO EL PINGUINO</title>
<style type="text/css">
<!--
.titular {
font-family: Georgia, "Times New Roman", "Trebuchet MS";
font-size: 25px;
font-weight: normal;
color: #000066;
text-decoration: none;
}
.post_titletv {
float: left;
width: 560px;
position: relative;
padding-bottom: 10px;
}
.post_metatv {
float: left;
width: 560px;
padding-bottom: 10px;
background-repeat: no-repeat;
background-position: left bottom;
}
.textonoticiatv {
padding-top: 8px;
padding-bottom: 8px;
line-height: 25px;
text-align: justify;
color: #000000;
font-size: 20px;
font-family: Arial, Helvetica, sans-serif;
font-weight: normal;
}
.categorytv {
float: left;
width: 425px;
margin: 0px;
color: #003333;
text-align: left;
font-family: Arial, Helvetica, sans-serif;
font-size: 18px;
font-weight: normal;
}
.Estilo6 {
font-size: 35px;
font-family: Arial, Helvetica, sans-serif;
color: #000000;
letter-spacing: 1px;
}
.foto {
border: 3px solid #FFFFFF;
background-color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
.fotomargen {
float: left;
border: 1px solid #CCCCCC;
margin-top: 0px;
margin-right: 7px;
margin-bottom: 7px;
margin-left: 0px;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.scrollsuperior {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
color: #003366;
font-size: 20px;
text-decoration: none;
}
.infos{
display:block;
text-align:right;
font-size: 18px;
font-family:Arial, Helvetica, sans-serif;
width:90%;
float:right;
margin-bottom:10px;
border-style:solid;
border-width:1px;
border-color:#03F;
padding:4px;
}
.infos h2{
margin: 0;
padding: 2px;
font-size: 20px;
color: #fff;
background-color: #003263;
text-align:right;
margin-bottom:4px;
}
.infos2{
display:block;
text-align:right;
font-size: 18px;
font-family:Arial, Helvetica, sans-serif;
width:90%;
float:right;
margin-bottom:10px;
border-style:solid;
border-width:1px;
border-color:#03F;
padding:4px;
height:219px;
}
.infos2 h2{
margin: 0;
padding: 2px;
font-size: 20px;
color: #fff;
background-color: #003263;
text-align:right;
margin-bottom:4px;
}
-->
</style>
<script language="javascript" type="text/javascript">
var RequestObject = false;
var Archivo = 'publicidad.html';
window.setInterval("actualizacion_reloj()", 1800000);
if (window.XMLHttpRequest)
RequestObject = new XMLHttpRequest();
if (window.ActiveXObject)
RequestObject = new ActiveXObject("Microsoft.XMLHTTP");
function ReqChange() {
if (RequestObject.readyState==4) {
if(RequestObject.status==200){
location.href=Archivo
}
}
}
function llamadaAjax() {
RequestObject.open("POST", Archivo , true);
RequestObject.onreadystatechange = ReqChange;
RequestObject.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
RequestObject.send("accion=mostrar");
}
function actualizacion_reloj() {
llamadaAjax();
}
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<script>
var clockid=new Array()
var clockidoutside=new Array()
var i_clock=-1
var thistime= new Date()
var hours=thistime.getHours()
var minutes=thistime.getMinutes()
var seconds=thistime.getSeconds()
if (eval(hours) <10) {hours="0"+hours}
if (eval(minutes) < 10) {minutes="0"+minutes}
if (seconds < 10) {seconds="0"+seconds}
var thistime = hours+":"+minutes+":"+seconds
function writeclock() {
i_clock++
if (document.all || document.getElementById || document.layers) {
clockid[i_clock]="clock"+i_clock
document.write("<span id='"+clockid[i_clock]+"' style='position:relative'>"+thistime+"</span>")
}
}
function clockon() {
thistime= new Date()
hours=thistime.getHours()
minutes=thistime.getMinutes()
seconds=thistime.getSeconds()
if (eval(hours) <10) {hours="0"+hours}
if (eval(minutes) < 10) {minutes="0"+minutes}
if (seconds < 10) {seconds="0"+seconds}
thistime = hours+":"+minutes+":"+seconds
if (document.all) {
for (i=0;i<=clockid.length-1;i++) {
var thisclock=eval(clockid[i])
thisclock.innerHTML=thistime
}
}
if (document.getElementById) {
for (i=0;i<=clockid.length-1;i++) {
document.getElementById(clockid[i]).innerHTML=thistime
}
}
var timer=setTimeout("clockon()",1000)
}
window.onload=clockon
</script>
<script>
var auto_refresh = setInterval(
function ()
{
$('#programacion').load('cargaswap.php').fadeIn("slow");
}, 5000); // refresh every 10000 milliseconds
</script>
<script>
var auto_refresh = setInterval(
function ()
{
$('#informacion').fadeOut('slow').load('cargaswapinfo.php').fadeIn("slow");
}, 10000); // refresh every 10000 milliseconds
</script>
</head>
<!--Tabla 1 : Contenido del Logo, Header, Reloj -->
<body scrolling="no">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<!--Primer grupo de celdas-->
<tr>
<!--Logo -->
<td height="100" valign="top" background="../webtvredv2/fondoold1.jpg" bgcolor="#FFFFFF"><table width="760" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<!--Espacio en blanco -->
<td width="430" height="23"></td>
</tr>
<!--Insertar reloj-->
<tr>
<td>
<div align="right"><span class="Estilo6">
<script>writeclock()</script>
</span>
</div>
</td>
</tr>
<!--Espacio en blanco para alinear reloj -->
<tr>
<td><div align="right"></div></td>
</tr>
</table>
</td>
</tr>
<!--Linea en blanco abajo del header -->
<tr>
<td height="2" bgcolor="#ffffff"></td>
</tr>
<tr>
<td height="25" bgcolor="#b0d3e2">
<!--Scroll superior con 20 titulares de noticias de Categoria Mensajes en TVRed -->
<div class="scrollsuperior">
<marquee scrollamount="1" scrolldelay="1" width="800" height="30" behavior="scroll">
<?php query_posts('showposts=45&cat=2023'); ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_title(); ?> -
<?php endwhile; ?>
</marquee></div>
<div>
</td>
</tr>
<tr>
<td height="2" bgcolor="#FFFFFF"></td>
</tr>
<!--Scroll superior con 20 titulares de noticias de Categoria Indicadores Economicos -->
<td height="25" bgcolor="#FAC84F">
<div class="scrollsuperior"><marquee direction="right" scrollamount=1 scrolldelay=1 width=800 behavior="scroll" height=30>
<?php query_posts('showposts=1&cat=14651'); ?>
<?php
$i=0; //inicializo el contamiento
while (have_posts()) : the_post(); ?>
<?php the_title(); ?><?php endwhile; ?>
</marquee>
</div>
<tr>
<td>
<!--INICIO SCROLL -->
<table width="790" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="560">
<!--INICIO DE PRIMER LOTE DE 3 NOTICIAS -->
<marquee behavior="scroll" direction="up" width=100% height=401 scrollamount=0 scrolldelay=80 onstart="this.scrollAmount=1">
<?php query_posts('showposts=10&cat=1'); ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post_metatv" id="post-<?php the_ID(); ?>">
<div class="post_titletv">
<div class="titular"><?php the_title(); ?></div>
<span class="categorytv">Publicado el <?php the_time('j F Y'); ?> a las <?php the_time('H:i a'); ?></span></div>
<div class="fotomargen"><?php image_extractor(true, 1, 260, 190, 'foto', '', '', '')?></div>
<div class="textonoticiatv"><?php the_excerpt(); ?>
</div>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<td><table width="560" height="90" border="0" cellpadding="0" cellspacing="0">
<tr>
<?php
if($i==3){
echo '<td height="90" colspan="3"><img src="http://www.elpinguino.com/diario/motel1.jpg" width="560" height="100"></td>';
$i=0;
}
</tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF"> </td>
</tr>
</table>
</td>
</table>
<?php
$i++;
endwhile; ?>
</marquee>
<!--FIN DE PRIMER LOTE DE 3 NOTICIAS --></td>
<td>
<div class="infos">
<h2>PINGUINO RADIO</h2>
<div id="programacion"></div>
</div>
<div class="infos2">
<h2>SERVICIOS</h2>
<div id="informacion"></div>
</div>
</td>
<!--FIN SCROLL -->
</tr>
</table>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5962894-1");
pageTracker._trackPageview();
</script>
<tr>
<td height="25" bgcolor="#b0d3e2">
<div class="scrollsuperior"><marquee direction=left scrollamount=1 scrolldelay=1 width=800 height="25">
<?php query_posts('showposts=1&cat=14657'); ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_title(); ?><?php endwhile; ?>
</marquee></div></td>
</tr>
<!--link rel="stylesheet" href="demo.css" type="text/css" media="all"-->
<link rel="stylesheet" href="jquery.twitter.css" type="text/css" media="all">
<!--<script type="text/javascript" src="jquery-1.3.2.min.js"></script>-->
<script src="http://ajax.googleapis.com/ajax/
libs/jquery/1.3.0/jquery.min.js"></script>
<script type="text/javascript" src="jquery.twitter.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#twitters").getTwitter({
userName: "pinguiprogramas",
numTweets: 1,
loaderText: "Cargando programación...",
showHeading: true,
headingText: "PINGUINO RADIO",
showProfileLink: false,
showTimestamp: false
});
$("#twitters_infopuq").getTwitter({
userName: "infopuq",
numTweets: 1,
loaderText: "Cargando informacion...",
showHeading: true,
headingText: "ITINERARIOS",
showProfileLink: false,
showTimestamp: false
});
});
</script>
</body>
</html>