Codice PHP:
<!DOCTYPE html>
<head>
<link rel="stylesheet" href="assets/css/modal.css" type="text/css" />
<script src="assets/js/jquery.js" type="text/javascript"></script>
<script src="assets/js/main.min.js" type="text/javascript"></script>
<style type="text/css">
a.ssbutton{
border-radius:6px;
display:inline-block;
font-family:arial;
font-size:15px;
font-weight:bold;
padding:6px 24px;
text-decoration:none;
color:#ffffff;
text-shadow:1px 1px 0px #000,2px 2px 2px rgba(0,0,0,0.5);
height: 52px;
font-size:36px;
line-height:52px;
}
a.ssbutton:active {
position:relative;
top:1px;
}
a.ssbutton.enter {
width:auto;display:block;margin:5px 12px 5px 12px;
}
a.ssbutton.red{
box-shadow:inset 0px 1px 0px 0px #f29c93;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fe1a00), color-stop(1, #ce0100) );
background:-moz-linear-gradient( center top, #fe1a00 5%, #ce0100 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#fe1a00", endColorstr="#ce0100");
background-color:#fe1a00;
border:1px solid #d83526;
}
a.ssbutton.red:hover {
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ce0100), color-stop(1, #fe1a00) );
background:-moz-linear-gradient( center top, #ce0100 5%, #fe1a00 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ce0100", endColorstr="#fe1a00");
background-color:#ce0100;
}
a.ssbutton.green {
box-shadow:inset 0px 1px 0px 0px #caefab;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #77d42a), color-stop(1, #5cb811) );
background:-moz-linear-gradient( center top, #77d42a 5%, #5cb811 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#77d42a", endColorstr="#5cb811");
background-color:#77d42a;
border:1px solid #268a16;
}
a.ssbutton.green:hover {
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #5cb811), color-stop(1, #77d42a) );
background:-moz-linear-gradient( center top, #5cb811 5%, #77d42a 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#5cb811", endColorstr="#77d42a");
background-color:#5cb811;
}
#attenzione,
#attenzione:hover{
text-decoration:none !important;
border-bottom: none;
}
body {
background-color: #000;color:#ccc;
width: 350px;
}
#page {
border: 1px solid #000;
background-color: rgb(0, 0, 0) !important;
}
hr {
background: #666;
border:none;
height:2px;
}
#container {
color: #999 !important;
}
p{
text-align: center;
}
</style>
</head>
<body>
<aside id="ac-wrapper" style="display:none">
[img]attenzione2.png[/img]
<div id="ac-modal">
<font color="eee">Stai entrando in un'area con contenuti pornografici adatti ad un pubblico adulto. Vuoi continuare?</font></p>
<footer>
[url="http://miosito.it/url_originale.php"]Si[/url][url="http://miosito.it"]No[/url]
</footer>
</div>
</aside>
<div>
[img]http://it.androlib.com/appscreenmax/tCqzC.u.cs.png[/img]
</div>
</body>
Avrei bisogno di memorizzare nei cookies se un utente clicca su si. Da dove iniziare?