This commit is contained in:
unknown
2012-07-08 21:07:01 +03:00
parent eaf1492095
commit 385d044d21
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -101,7 +101,7 @@
$this->getStart($post['rank']); $this->getStart($post['rank']);
} }
if(isset($post['name']) && $post['name'] != "") { if(isset($post['name']) && $post['name'] != "") {
$this->getStart($this->searchRank($post['name'], "username")); $this->getStart($this->searchRank(stripslashes($post['name']), "username"));
} }
break; break;
case "r2": case "r2":
@@ -112,7 +112,7 @@
$this->getStart($post['rank']); $this->getStart($post['rank']);
} }
if(isset($post['name']) && $post['name'] != "") { if(isset($post['name']) && $post['name'] != "") {
$this->getStart($this->searchRank($post['name'], "name")); $this->getStart($this->searchRank(stripslashes($post['name']), "name"));
} }
break; break;
} }
+2 -2
View File
@@ -62,14 +62,14 @@ if(REG_OPEN == true){ ?>
<tr> <tr>
<th><?php echo EMAIL; ?></th> <th><?php echo EMAIL; ?></th>
<td> <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> <span class="error"><?php echo $form->getError('email'); ?></span>
</td> </td>
</tr> </tr>
<tr class="btm"> <tr class="btm">
<th><?php echo PASSWORD; ?></th> <th><?php echo PASSWORD; ?></th>
<td> <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> <span class="error"><?php echo $form->getError('pw'); ?></span>
</td> </td>
</tr> </tr>
+3 -3
View File
@@ -241,11 +241,11 @@ Element.implement({
<tbody> <tbody>
<tr class="top"> <tr class="top">
<th><?php echo NAME; ?></th> <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>
<tr class="btm"> <tr class="btm">
<th><?php echo PASSWORD; ?></th> <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> </tr>
</tbody> </tbody>
</table> </table>
@@ -289,7 +289,7 @@ Element.implement({
<tbody> <tbody>
<tr class="top"> <tr class="top">
<th><?php echo NAME; ?></th> <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>
<tr class="btm"> <tr class="btm">
<th><?php echo PASSWORD; ?></th> <th><?php echo PASSWORD; ?></th>