first commit

This commit is contained in:
unknown
2012-03-29 13:00:34 +02:00
commit 6928cbcd1d
2446 changed files with 85772 additions and 0 deletions
+67
View File
@@ -0,0 +1,67 @@
<div id="content" class="signup">
<?php
if(isset($_GET['id']) && isset($_GET['q'])) {
$act2=$database->getActivateField($_GET['id'],"act2",0);
if($act2==$_GET['q']){
$show='1';
$naam=$database->getActivateField($_GET['id'],"username",0);
$email=$database->getActivateField($_GET['id'],"email",0);
}
}
if(isset($show)){
?>
<h1><img src="img/x.gif" class="anmelden" alt="register for the game"></h1>
<h5><img src="img/x.gif" class="img_u05" alt="registration"/></h5>
<p>
Hello <?php echo $naam; ?>,
<br/>
<br/>
The registration was successful. In the next few minutes you will receive an email with the access information.
<br /><br />
The email will be sent to following address: <span class="important"><?php echo $email; ?></span>
</p>
<p>In order to activate your account enter the code or click on the link in your email.</p>
<div id="activation">
<form action="activate.php" method="post">
<p class="important">
Activation code:
</p>
<input class="text" type="text" name="id" maxlength="10" />
<p>
<input type="image" value="ok" name="s1" src="img/x.gif" id="btn_send" class="dynamic_img" alt="send"/>
<input type="hidden" name="ft" value="a2" />
</p>
</form>
</div>
<div id="no_mail">
<p>
<a href="activate.php?id=<?php echo $_GET['id']; ?>&amp;c=<?php echo $generator->encodeStr($email,5); ?>"><span class="important">No email received?</span></a>
</p>
<p>
Sometimes the email is moved to the spam folder. For further help click <a href="activate.php?id=<?php echo $_GET['id']; ?>&amp;c=<?php echo $generator->encodeStr($email,5); ?>">here</a>
</p>
</div>
</div>
<?php } else {
?>
<p>
<div id="activation">
<form action="activate.php" method="post">
<p class="important">
Activation code:
</p>
<input class="text" type="text" name="id" maxlength="10" />
<p>
<input type="image" value="ok" name="s1" src="img/x.gif" id="btn_send" class="dynamic_img" alt="send"/>
<input type="hidden" name="ft" value="a2" />
</p>
</form>
</div>
</div>
<?php }
?>
+7
View File
@@ -0,0 +1,7 @@
<div id="content" class="activate">
<h1><img src="img/x.gif" class="anmelden" alt="register for the game"/></h1>
<h5><img src="img/x.gif" class="img_u05" alt="registration"/></h5>
<p class="f9">Your account has been successfully activated.</p><p class="f9">Follow this link to <a href="login.php">log in</a></p>
</div>
+4
View File
@@ -0,0 +1,4 @@
<?php
unset($_SESSION['aerror']);
echo "<div id=\"content\" class=\"activate\"><p class=\"info2\">Either the password is wrong<br> or the registration has already been deleted.</p></div>";
?>
+34
View File
@@ -0,0 +1,34 @@
<div id="content" class="activate">
<h1><img src="img/x.gif" class="anmelden" alt="register for the game"></h1>
<h6>No email received?</h6>
In order to play Travian you need a valid email address to which the activation code can be send. There are exceptional cases when this email might not arrive.
<p class="f10 e b">Following causes are possible:</p>
<div class="f10">
<ul>
<li>Typos in the email address</li>
<li>The email account`s storage limit is reached</li>
<li>Wrong domain: There is e.g. no @aol.de, only @aol.com</li>
<li>The email has been moved to the spam/junk folder</li>
</ul>
<br /><br />You can undo the registration and re-register with a <u>different email address</u>.
Then the activation code will be send again</div>
<form action="activate.php" method="POST">
<input type="hidden" name="id" value="<?php echo $_GET['id']; ?>" />
<input type="hidden" name="ft" value="a3" />
<table cellpadding="1" cellspacing="1">
<tr class="top">
<th>Nickname</th>
<td class="name"><?php $naam=$database->getActivateField($_GET['id'],"username",0); echo $naam; ?></td>
</tr>
<tr class="btm">
<th>Password</th>
<td><input class="text" type="password" name="pw" maxlength="20" /></td>
</tr>
</table>
<p class="btn">
<input type="image" src="img/x.gif" class="dynamic_img" id="btn_delete" alt="delete" value="delete" name="delreports" />
</p>
</form>
</div>