Skip to content

Instantly share code, notes, and snippets.

@ConnorMcF
Created December 15, 2015 19:53
Show Gist options
  • Save ConnorMcF/29b56578358ea6f0a2ff to your computer and use it in GitHub Desktop.
Save ConnorMcF/29b56578358ea6f0a2ff to your computer and use it in GitHub Desktop.
<?php if(isset($_SESSION["loggedout"])){?><div class="alert alert-warning" role="alert" id="goodbye"><i class="fa fa-sign-out" title="!"></i> Goodbye, <?php echo($_SESSION["loggedout"]); ?>.</div>
<script>$('#goodbye').fadeIn('fast').delay(3500).fadeOut('slow');</script>
<? session_destroy(); } ?>
<?php if(isset($discount)){?><div class="alert alert-success" role="alert" id="goodbye"><i class="fa fa-check" title=":D"></i> <?php echo($discount); ?></div><?php } ?>
<?php if($_GET["authfailed"]=="missingdata"){?><div class="alert alert-warning" role="alert"><i class="fa fa-exclamation-triangle" title="!"></i> Your request was missing the data from Steam's servers required to log you in.</div><? } ?>
<?php if($_GET["authfailed"]=="cancel"){?><div class="alert alert-warning" role="alert"><i class="fa fa-exclamation-triangle" title="!"></i> You cancelled the login.</div><? } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment