Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else { // If account is in bad standing
- for ($i=0; $i>0; $i++) {$errors[$i]="Your account has been temporarily/permanently disabled, or terminated. Please contact us for more details."; } echo "hi";
- }
- if ($row['activated'] == 1) {
- mysql_close($result);
- $_SESSION[$user] = $loginUsername;
- header('Location: users/' . $row['uname'] . '/index.php');
- exit;
- }
- else {for ($i=$i; $i>0; $i++) {$errors[$i] = "your account is not yet activated.";} echo " hi2";}
- }
- }
- }
- ?>
- <?php
- if (isset($errors) && !empty($errors)) {
- for ($i=0; $i>0; $i++) {
- echo "<p class='errors'>$errors[$i]<br></p>";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement