Current Path : /web/htdocs/www.entinoprofit.org/home/_affiliazione/
Upload File :
Current File : /web/htdocs/www.entinoprofit.org/home/_affiliazione/logout.php

<?php
include_once("../include/config.php");
include_once("../include/auth.lib.php");

list($status, $user) = auth_get_status();

?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
	<meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>Rinnovo Affiliazione RIVS</title>
	<script src="js/jquery-1.7.2.min.js"></script> 
	<script src="js/tab.js"></script> 
    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
	<link rel="stylesheet" href="css/bootstrapValidator.css"/>
    <!-- Custom styles for this template -->
    <link href="css/jumbotron-narrow.css" rel="stylesheet">
	<script type="text/javascript" src="js/bootstrapValidator.js"></script>
    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="js/ie-emulation-modes-warning.js"></script>

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="js/ie10-viewport-bug-workaround.js"></script>
 <link href="css/signin.css" rel="stylesheet">
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <div class="container">
      <div class="header">

        <h3 class="text-muted">Rinnovo Affiliazione RIVS 2014/2015</strong></h3>
      </div>


<?php

if($status == AUTH_LOGGED){
	if(auth_logout()){
		echo '<p>Disconnessione effettuata ... attendi il reindirizzamento</p>';
		header("Refresh: 1;URL=index.php");

	}else{
		echo '<p>Errore durante la disconnessione ... attendi il reindirizzamento</p>';
		header("Refresh: 1;URL=index.php");

	}
}else{
	echo '<p>Non sei connesso ... attendi il reindirizzamento</p';
	header("Refresh: 1;URL=index.php");

}
?>
<div class="footer">
  <p>&copy; Registro Italiano Veicoli Storici</p>
</div>

</div> <!-- /container -->


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
  </body>
</html>