mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-05 04:14:22 +00:00
update
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
$this->getStart($post['rank']);
|
||||
}
|
||||
if(isset($post['name']) && $post['name'] != "") {
|
||||
$this->getStart($this->searchRank($post['name'], "username"));
|
||||
$this->getStart($this->searchRank(stripslashes($post['name']), "username"));
|
||||
}
|
||||
break;
|
||||
case "r2":
|
||||
@@ -112,7 +112,7 @@
|
||||
$this->getStart($post['rank']);
|
||||
}
|
||||
if(isset($post['name']) && $post['name'] != "") {
|
||||
$this->getStart($this->searchRank($post['name'], "name"));
|
||||
$this->getStart($this->searchRank(stripslashes($post['name']), "name"));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
+2
-2
@@ -62,14 +62,14 @@ if(REG_OPEN == true){ ?>
|
||||
<tr>
|
||||
<th><?php echo EMAIL; ?></th>
|
||||
<td>
|
||||
<input class="text" type="text" name="email" value="<?php echo $form->getValue('email'); ?>" />
|
||||
<input class="text" type="text" name="email" value="<?php echo stripslashes($form->getValue('email')); ?>" />
|
||||
<span class="error"><?php echo $form->getError('email'); ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="btm">
|
||||
<th><?php echo PASSWORD; ?></th>
|
||||
<td>
|
||||
<input class="text" type="password" name="pw" value="<?php echo $form->getValue('pw'); ?>" maxlength="30" />
|
||||
<input class="text" type="password" name="pw" value="<?php echo stripslashes($form->getValue('pw')); ?>" maxlength="30" />
|
||||
<span class="error"><?php echo $form->getError('pw'); ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -241,11 +241,11 @@ Element.implement({
|
||||
<tbody>
|
||||
<tr class="top">
|
||||
<th><?php echo NAME; ?></th>
|
||||
<td><input class="text" type="text" name="user" value="<?php echo $form->getDiff("user",$_COOKIE['COOKUSR']); ?>" maxlength="15" autocomplete='off' /> <span class="error"> <?php echo $form->getError("user"); ?></span></td>
|
||||
<td><input class="text" type="text" name="user" value="<?php echo stripslashes($form->getDiff("user",$_COOKIE['COOKUSR'])); ?>" maxlength="15" autocomplete='off' /> <span class="error"> <?php echo $form->getError("user"); ?></span></td>
|
||||
</tr>
|
||||
<tr class="btm">
|
||||
<th><?php echo PASSWORD; ?></th>
|
||||
<td><input class="text" type="password" name="pw" value="<?php echo $form->getValue("pw");?>" maxlength="20" autocomplete='off' /> <span class="error"><?php echo $form->getError("pw"); ?></span></td>
|
||||
<td><input class="text" type="password" name="pw" value="<?php echo stripslashes($form->getValue("pw"));?>" maxlength="20" autocomplete='off' /> <span class="error"><?php echo $form->getError("pw"); ?></span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -289,7 +289,7 @@ Element.implement({
|
||||
<tbody>
|
||||
<tr class="top">
|
||||
<th><?php echo NAME; ?></th>
|
||||
<td><input class="text" type="text" name="user" value="<?php echo $form->getDiff("user",$_COOKIE['COOKUSR']); ?>" maxlength="15" autocomplete='off' /> <span class="error"> <?php echo $form->getError("user"); ?></span></td>
|
||||
<td><input class="text" type="text" name="user" value="<?php echo stripslashes($form->getDiff("user",$_COOKIE['COOKUSR'])); ?>" maxlength="15" autocomplete='off' /> <span class="error"> <?php echo $form->getError("user"); ?></span></td>
|
||||
</tr>
|
||||
<tr class="btm">
|
||||
<th><?php echo PASSWORD; ?></th>
|
||||
|
||||
Reference in New Issue
Block a user