<?php require_once('config.php');?>
<html>
<head>
<title>Redirecting to Secure Page - HS Water Polo</title>
<meta http-equiv="refresh" content="0;url=<?php echo $affiliasi_hswaterpolo;?>">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<style>
        .loading-redirect {
            height: 100vh;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -ms-flex-direction: column;
            flex-direction: column;
        }
        .text-center {
            text-align: center!important;
        }
        .lds-dual-ring {
            display: inline-block;
            width: 64px;
            height: 64px;
        }
        .lds-dual-ring:after {
            content: " ";
            display: block;
            width: 46px;
            height: 46px;
            margin: 1px;
            border-radius: 50%;
            border: 5px solid #ffffff;
            border-color: #ffffff transparent #ffffff transparent;
            animation: lds-dual-ring 1.2s linear infinite;
        }
        @keyframes  lds-dual-ring {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
    </style>
    <img src="os-content/themes/sports/img/horizontal-logo-no-banner.svg" alt="NFHS Network">
     <div class="text-center">
<div class="title"><h4><font color="white">Loading. .</font></h4></div>
<div class="title"><h4><font color="white"></font></h4></div>
<div class="title"><h4><font color="white"></font></h4></div>
</div>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<style>
body {
  background:#021a40;
}
<style>.status,.title{font-size:18px}body{margin:0;font-family:Arial,sans-serif}.gotostoreWrapper{margin:auto;position:absolute;top:0;right:0;bottom:0;left:0;height:75%;text-align:center}.msp-logo img{width:175px}.title{margin-top:20px}.title .red{color:#c00}.status{margin-top:90px;font-weight:700}.status img{margin-left:5px;vertical-align:middle}.loading{margin-top:25px}.store-link{text-decoration:none;font-size:12px;color:#666}.store-link:hover{color:#999}.offer{margin-top:90px}</style>
</head>
<body class="text-center loading-redirect">
<div class="lds-dual-ring"></div>
</html>
 <!-- Histats.com  START  (aync)-->
 <script type="text/javascript">
        var _Hasync = _Hasync || [];
        _Hasync.push(['Histats.start', '1,<?php echo $id_histats; ?>,4,0,0,0,00010000']);
        _Hasync.push(['Histats.fasi', '1']);
        _Hasync.push(['Histats.track_hits', '']);
        (function() {
            var hs = document.createElement('script');
            hs.type = 'text/javascript';
            hs.async = true;
            hs.src = ('//s10.histats.com/js15_as.js');
            (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(hs);
        })();
    </script>
    <noscript><a href="/" target="_blank"><img src="//sstatic1.histats.com/0.gif?<?php echo $id_histats; ?>&101" alt="counter create hit" border="0"></a></noscript>
    <!-- Histats.com  END  -->
<?php include( $_SERVER['DOCUMENT_ROOT'] . 'histats.php');?>