<?php
/*
This PHP script is licensed under the GPL
Author: Terence Yim
E-mail: chtyim@gmail.com
Homepage: http://web-news.sourceforge.net
*/
ob_start();
?>
<!DOCTYPE html><html itemscope="" itemtype="http://schema.org/WebPage" lang="it">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<meta name="viewport" content="initial-scale=1, minimum-scale=1, width=device-width">
<style>
A {
text-decoration: none;
}
A:hover {
text-decoration: underline;
color: #<?php echo $over_link_color; ?>;
}
.modal {
display: none;
position: fixed;
z-index: 1;
padding-top: 100px;
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-content {
position: relative;
background-color: #EAF6FF;
margin: auto;
padding: 0;
border: 1px solid #888;
width: 80%;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
-webkit-animation-name: animatetop;
-webkit-animation-duration: 0.4s;
animation-name: animatetop;
animation-duration: 0.4s
}
.modal-content pre {
white-space: pre-wrap;
word-wrap: break-word;
overflow-wrap: break-word;
}
@-webkit-keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
@keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
.close {
color: #ffffff;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
.modal-header {
padding: 2px 16px;
background-color: #C1DFFA;
color: black;
}
.modal-body {padding: 2px 16px;}
.modal-footer {
padding: 2px 16px;
background-color: #eeeeee;
color: black;
}
body{
margin: 0;
padding: 0;
background-color: #ffffff;
color: #000000;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
background: linear-gradient(10deg, #fff 65%, #cff 70%, #cff 100%);
background-size: 100% 310%;
animation: gradientBG 25s infinite;
}
.tabella {
width: 95%;
margin: 0 auto;
border: 0;
border-collapse: collapse;
}
.tabella td {
padding: 0;
}
.riga-blu {
background-color: #<?php echo $primary_color; ?>;
}
#load{
display:block;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background-color:#333;
z-index:6501;
-moz-opacity:.8;
opacity:.70;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=75)"
}
#loadbox{
display:block;
position:fixed;
top:50%;
left:50%;
margin:-45px 0 0 -45px;
width:65px;
height:65px;
padding:30px 15px 0;
border:3px solid #C1DFFA;
box-shadow:0 5px 26px 0 rgba(0, 0, 0, 0.22),0 20px 28px 0 rgba(0, 0, 0, 0.3);
border-radius:15px;
background-color:#ffffff;
background-image: url("data:image/svg+xml, %3Csvg class='ip' viewBox='0 0 256 128' width='204.8px' height='102.4px' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E :root %7B --bg: %23ccc; --line: %23000; --bgline: %23C1DFFA; --trans-dur: 0.3s; %7D .ip %7B width: 80px; height: 60px; %7D .ip__track %7B stroke: var(--bgline); transition: stroke var(--trans-dur); %7D .ip__worm1, .ip__worm2 %7B animation: worm1 2s linear infinite; %7D .ip__worm2 %7B animation-name: worm2; %7D @keyframes worm1 %7B from %7B stroke-dashoffset: 0; %7D 50%25 %7B animation-timing-function: steps(1); stroke-dashoffset: -358; %7D 50.01%25 %7B animation-timing-function: linear; stroke-dashoffset: 358; %7D to %7B stroke-dashoffset: 0; %7D %7D @keyframes worm2 %7B from %7B stroke-dashoffset: 358; %7D 50%25 %7B stroke-dashoffset: 0; %7D to %7B stroke-dashoffset: -358; %7D %7D %3C/style%3E%3Cdefs%3E%3ClinearGradient id='grad1' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0%25' stop-color='%23BAB9F0' /%3E%3Cstop offset='50%25' stop-color='%237cc6ff' /%3E%3Cstop offset='100%25' stop-color='%2399c3f8' /%3E%3C/linearGradient%3E%3ClinearGradient id='grad2' x1='1' y1='0' x2='0' y2='0'%3E%3Cstop offset='0%25' stop-color='%237cc6ff' /%3E%3Cstop offset='50%25' stop-color='%2399c3f8' /%3E%3Cstop offset='100%25' stop-color='%23BAB9F0' /%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke-linecap='round' stroke-width='16'%3E%3Cg class='ip__track' stroke='%23ddd'%3E%3Cpath d='M8,64s0-56,60-56,60,112,120,112,60-56,60-56'/%3E%3Cpath d='M248,64s0-56-60-56-60,112-120,112S8,64,8,64'/%3E%3C/g%3E%3Cg stroke-dasharray='180 656'%3E%3Cpath class='ip__worm1' stroke='url(%23grad1)' stroke-dashoffset='0' d='M8,64s0-56,60-56,60,112,120,112,60-56,60-56'/%3E%3Cpath class='ip__worm2' stroke='url(%23grad2)' stroke-dashoffset='358' d='M248,64s0-56-60-56-60,112-120,112S8,64,8,64'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
background-position:50% 50%;
background-size:80px 60px;
background-repeat:no-repeat;
z-index:6622;
text-align:center;
overflow:auto
}
.header-title {
font-family: Tahoma, sans-serif
}
.header-title .titolo {
font-size: 1.2em;
font-weight: bold
}
.header-title .sottotitolo {
font-size: 0.8em
}
@keyframes gradientBG {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
table tr .main :hover{
border: 0;
background-color: #ffa
}
.time-message {
animation: fadeOut 2s forwards;
animation-delay: 5s;
background: #ffc;
color: black;
padding: 10px;
text-align: center;
text-shadow: rgb(253, 202, 0) 0px 0px 5px
}
@keyframes fadeOut {
from {opacity: 1;}
to {
opacity: 1;
background: #fff;
text-shadow: 0px 0px 5px #757575;
}
}
.hidden {
opacity: 0
}
.visible {
opacity: 1;
transition: opacity 0.55s ease
}
</style>
<script>
function calldiv(x,y,z){
switch(y){
case 'display':
document.getElementById(x).style.display=z;
break;
case 'border':
document.getElementById(x).style.border=z;
break;
case 'visibility':
document.getElementById(x).style.visibility=z;
break;
case 'fontWeight':
document.getElementById(x).style.fontWeight=z;
break;
case 'color':
document.getElementById(x).style.color=z;
break;
}
}
function load(x,y,z){
var a='display';
calldiv(x,a,z);
calldiv(y,a,z)
}
function checkfield(){
load('loadbox','load','block');
var x = document.getElementById("search_txt").value;
if (x == ""){
alert("<?php echo $messages_ini["text"]["search_txt"]?>");
load('loadbox','load','none');
document.getElementById("search_txt").focus();
return false;
}else{
return true;
}
}
document.onreadystatechange = function () {
var state = document.readyState
if (state == 'complete') {
document.getElementById('load').style.display="none";
document.getElementById('loadbox').style.display="none";
}
}
window.addEventListener('DOMContentLoaded', function () {
let mypars = document.querySelectorAll('p'),
mybrs = document.querySelectorAll('br');
function doStuff (callback) {
callback();
}
doStuff(function () {
document.body.className = 'visible';
});
}, false);
</script>
<title><?php echo $messages_ini["text"]["title"]?></title>
</head>
<body <?php if (isset($on_load_script)) {echo "onLoad=\"$on_load_script\"";} ?>>
<script>
document.body.className = 'hidden';
</script>
<div id="load"></div>
<div id="loadbox"></div>
<table class="tabella">
<tr class="riga-blu">
<th class="header-title">
<span class="titolo"><?php echo $messages_ini["text"]["header1"]; ?></span><br>
<span class="sottotitolo"><?php echo $messages_ini["text"]["header2"]; ?></span>
</th>
</tr>
<tr>
<td>
<?php
include($content_page);
?>
</td>
</tr>
</table>
<?php
$fine=microtime(true);
$tempocreazione=number_format(round(number_format($fine - $inizio, 3)*1000),0,'.','.');
$millisecondi=($tempocreazione == 1) ? "millisecondo" : "millisecondi";
echo "<p class=\"time-message\"><i>pagina creata in $tempocreazione $millisecondi.</i>";
?>
</body>
</html>
<?php
ob_end_flush();
?>
Show this record as plain/text
nopaste service by: Roberto Corrado