Modificam forma acces interzis pentru paginile unde unele grupuri nu au acces la resurse.
urmatorul cod il puneti in locul mesajului de preintampinare din "Access denied" page
Code
<style>
.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>
<table width="525" align="center" border="0" cellpadding="0" cellspacing="0" height="220">
<tbody><tr>
<td width="100%">
<div class="errorwrap">
<h4>Acces interzis</h4>
<p align="center"> <b>Atentie! <br></b></p><p align="center">Dumneavoastra nu aveti acces la aceasta sursa,
<br>Veti fi rederectionat catre pagina principala 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//">MaxRom</a> <br>
</p>
<?if($LOGIN_FORM$)?>
<div align="center"><table width="224" align="center" border="0" cellpadding="0" cellspacing="0" height="90">
<tbody><tr>
<td width="100%">
<div class="errorwrap">
<h4>Logare</h4><div align="center">$LOGIN_FORM$
<br></div><div align="center"><br></div></div>
</td>
</tr>
</tbody></table></div><?endif?>
</div>
</td>
</tr>
</tbody></table><div align="center">
<script>
var ints = 20;
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>