Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="col-md-4 col-md-offset-4" style="height:-50px; width: -100px;">
- <div class="login-panel anmeldepanel panel-default" style="margin-top:-100px; margin-left:-150px;">
- <div class="panel-heading">
- <h3 class="panel-title">Email activation</h3>
- </div>
- <div class="panel-body" style="height:320px; width: -100px;">
- <a style="margin-top: 100px; margin-left: 180px; font-family: 'Calibri'; font-size:70px; color:white;"><i class="fa fa-check"></i></a>
- <div style="text-align: center; font-family: 'Calibri'; color: white;"><h4>Activate your account here:<br><br></h4></div>
- <div class="form-group" style="">
- <input class="form-control" type="text" placeholder="Activation code" name="code" value=''/>
- </div>
- <div class="form-group">
- <input class="btn btn-lg btn-success btn-block" type='submit' name="submit" value='Activate my account' />
- </div>
- <?php
- if (isset($_POST["submit"]))
- {
- echo 'Submit wurde gedrückt';
- $iResult = mysql_query("SELECT `activationcode`
- FROM `users`
- WHERE `Name`='".$username."';");
- if (mysql_num_rows($iResult) == $code)
- {
- ?><meta http-equiv="refresh" content="4; URL=register1.php"><?php
- ?><div style="text-align: center;"><img alt="activity indicator" src="../images/register.gif"><?php
- }
- }
- if($_POST["submit"] && !$_POST["code"])
- {
- ?><a class="navbar-brand" style="margin-top: -76px;"><b><h6>*required</h6></a></b><?php
- echo 'asdasd';
- }
- if($_POST["submit"] && !$_POST["username"])
- {
- ?><a class="navbar-brand" style="margin-top: -313px;"><b><h6>*required</h6></a></b><?php
- }
- if($_POST["submit"] && !$_POST["password"])
- {
- ?><a class="navbar-brand" style="margin-top: -240px;"><b><h6>*required</h6></a></b><?php
- }
- if($_POST["submit"] && !$_POST["email"])
- {
- ?><a class="navbar-brand" style="margin-top: -166px;"><b><h6>*required</h6></a></b><?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement