Einchecken des OnlineStands

This commit is contained in:
2016-09-07 14:36:03 +00:00
parent feed788c84
commit 53295535eb
241 changed files with 69161 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
<?php
if ( ( is_numeric( $_GET[ 'siteId' ] ) ) && ( intval( $_GET[ 'siteId' ] ) > 1 ) )
{
if ( ! isset ( $_SESSION[ 'sess_portalRightsType' ] ) )
{
?>
<html>
<head>
<script type="text/javascript">
if ( window.opener )
{
window.opener.location.reload( );
self.close( );
}
else
{
self.location.href = 'index.php';
}
</script>
</head>
<body>
</body>
</html>
<?php
die( );
}
else if ( $_SESSION[ 'sess_portalRightsType' ] === 'DEF' && ( ! in_array( 'portal_' . $_GET[ 'siteId' ] , $_SESSION[ 'sess_portalRights' ] ) && ! in_array( $_GET['siteId'] , $_SESSION['sess_portalRights'] ) ) )
{
?>
<html>
<head>
<script type="text/javascript">
if ( window.opener )
{
window.opener.location.reload( );
self.close( );
}
else
{
self.location.href = 'index.php';
}
</script>
</head>
<body>
</body>
</html>
<?php
die( );
}
}
?>