Ver Mensaje Individual
  #1 (permalink)  
Antiguo 02/07/2013, 11:54
MaxShadow
 
Fecha de Ingreso: julio-2013
Mensajes: 1
Antigüedad: 10 años, 10 meses
Puntos: 0
Pregunta Estas saliendo de está Pagina, edit code

Quiero editar estas lineas con codigos para automatizarlos, para mi SMS Wordpress, que es una pagina para informarle a los usuarios cuando clickean un link k están saliendo del post:

Código PHP:
<meta http-equiv="refresh" content="10; URL=Aquí la dirección k le damos click"
Código PHP:
<b>Aquí va el nombre del Post</b
Código PHP:
<p id="url"><a href="donde seras redirigido">nombre de donde seras redirigido</a></p
Aquí está completo el archivo php donde necesito editarlo:

Código PHP:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
    <
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <
title>HunterX</title>
<
head>

<
meta http-equiv="refresh" content="10; URL=Aquí la dirección k le damos click">

<
script type="text/javascript"
function 
display_c(start){
window.start parseFloat(start);
var 
end // change this to stop the counter at a higher value
var refresh=1000// Refresh rate in milli seconds
if(window.start >= end ){
mytime=setTimeout('display_ct()',refresh)
}
else {
//alert("Time Over ");
}
}

function 
display_ct() {
// Calculate the number of days left
var days=Math.floor(window.start 86400); 
// After deducting the days calculate the number of hours left
var hours Math.floor((window.start - (days 86400 ))/3600)
// After days and hours , how many minutes are left 
var minutes Math.floor((window.start - (days 86400 ) - (hours *3600 ))/60)
// Finally how many seconds left after removing days, hours and minutes. 
var secs Math.floor((window.start - (days 86400 ) - (hours *3600 ) - (minutes*60)))

var 
window.start;


document.getElementById('ct').innerHTML x;
window.startwindow.start1;

tt=display_c(window.start);
}
</script>

    <style type="text/css">
    html {
        background: #000;
    }
    body {
        background: #404040;
        border: 1px solid #666;
        color: #999;
        font: 14px "Lucida Grande", "Lucida Sans Unicode", tahoma, verdana, arial, sans-serif;
        margin: 5% 10%;
        text-align: center;
    }

    a {
        color: #FF8301;
    }

    h1 {
        color: #EEE;
    }

    #container {
        background: #292929;
        line-height: 2.4;
        padding: 1em;
    }

    p#url {
        font-weight: bold;
        overflow: hidden;
        width: 100%;
    }

    </style>
</head>

<body onload=display_c(9);>

    <h1>HunterX</h1>
    <div id="container">
        <p>Please wait while you're being redirected to ...<br />
        In einer Sekunde geht es zu ...<br />
        Espera mientras te redireccionamos a ...</p>
        
        <b>Aquí va el nombre del Post</b><br/>       
        <span id='ct'></span><br/>
        
        <p id="url"><a href="donde seras redirigido">nombre de donde seras redirigido</a></p>
        
        
        <p>
    </div>
<script id="_waue93">var _wau = _wau || []; _wau.push(["small", "2xgwchwxd888", "e93"]);
(function() {var s=document.createElement("script"); s.async=true;
s.src="http://widgets.amung.us/small.js";
document.getElementsByTagName("head")[0].appendChild(s);
})();</script>
</body>
</html> 

Última edición por MaxShadow; 02/07/2013 a las 11:57 Razón: agregar datos