MaxRom | Scripturi uCoz Romania

Bannerul tau aici
[ Mesaje noi · Membrii · Regulamentul forumului · RSS ]
  • Pagina 1 din 1
  • 1
Forum » uCoz system » Alte » Forma Error 404
Forma Error 404
Muşatinu Date: Vineri, 2009-10-16, 20:32 | Message # 1
Mesaje: 1801
Awards: 202
« 53 »

Copieim codul si-l inscriem in Notepad, apoi il salvam ca 404.htm si codificarea cu UTF-8
Apoi incarcam paggina in manageru de fisiere.

Code
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<head>
<style type="text/css">
body{    
    font-family: Verdana, Tahoma, Arial, Trebuchet MS, Sans-Serif, Georgia, Courier, Times New Roman, Serif;
    font-size: 11px;
    margin: 0;
    padding: 0; /* required for Opera to have 0 margin */
}
.errorwrap {
    background: white;
    border: 1px solid #217a82;
    border-top: 0;
    margin: 5px;
    padding: 0;
    background: white;
       
    color: #0f688d;
       
       
    font-size: 11px;
}

.errorwrap h4 {
    background: #c6e2e4;
    border: 1px solid #217a82;
    border-left: 0;
    border-right: 0;
    color: #3c7a7f;    
    font-size: 12px;
    font-weight: bold;    
    padding: 5px;
}

</style>
<title>Eroare 404 - Error404</title>
</head><body>
<br><br><br><br><br><br><br><br><br>
<table width="525" align="center" border="0" cellpadding="0" cellspacing="0" height="220">
<tbody><tr>
<td width="100%">
<div class="errorwrap">
<h4><center>Eroare 404 - Error 404</center></h4>
    <p align="center"> <b>Atenţie!</b></p><p align="center"><b>Pagina nu există sau a fost ştearsă!</b>

    <br>Dvs. veţi fi redirectionat(ă) peste <b><span id="calc">--</span></b> sec.    
    <br> Daca Browseru dvs. nu suportă auto redirecţionare, apăsaţi mai jos
<a href="http://maxrom.ucoz.com">Acasă</a>
</div>

</p></div>
</td>
</tr>
</tbody></table><div align="center">

<script>

// *************
// **    
// *************

    var ints = 10;
       
       
    function alertes () {
       
    document.getElementById('calc').innerHTML = ints;
       
    if ( ints == 0 ) {
    document.location.href = 'http://maxrom.ucoz.com/';
    ints = '--';
    }
    if ( ints > 0 ) {
    ints--;
    }
    };
       
    function refresh(){
    if(ints > 0) time_Interval = setInterval("alertes ()", 1000 );
    };
       
    refresh();    
       
</script></div></body></html>



 
Forum » uCoz system » Alte » Forma Error 404
  • Pagina 1 din 1
  • 1
Căutare: