Skip to content

Commit

Permalink
fix server start time problem
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Jan 6, 2013
1 parent 626d6e0 commit 42a2193
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions login.php
Expand Up @@ -73,7 +73,7 @@
<h5><img class="img_u04" src="img/x.gif" alt="login" /></h5>
<p><?php echo COOKIES; ?></p>
<?php
if(START_DATE > date('m/d/Y')){
if(strtotime(START_DATE) > strtotime(date('m/d/Y'))){
?>
<br/><center><big>Server will start in: </big></center>
<script language="JavaScript">
Expand Down Expand Up @@ -144,7 +144,7 @@ function putspan(backcolor, forecolor) {

</script>
<?php
}elseif(START_DATE == date('m/d/Y')){
}elseif(strtotime(START_DATE) == strtotime(date('m/d/Y'))){

if(START_TIME > date('H:i')){
?>
Expand Down Expand Up @@ -250,11 +250,11 @@ function putspan(backcolor, forecolor) {
<tbody>
<tr class="top">
<th><?php echo NAME; ?></th>
<td><input class="text" type="text" name="user" value="<?php echo stripslashes(stripslashes(stripslashes($form->getDiff("user",$_COOKIE['COOKUSR'])))); ?>" maxlength="20" autocomplete='off' /> <span class="error"> <?php echo $form->getError("user"); ?></span></td>
<td><input class="text" type="text" name="user" value="<?php echo stripslashes(stripslashes(stripslashes($form->getDiff("user",$_COOKIE['COOKUSR'])))); ?>" maxlength="30" 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 $form->getValue("pw");?>" maxlength="30" autocomplete='off' /> <span class="error"><?php echo $form->getError("pw"); ?></span></td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -298,11 +298,11 @@ function putspan(backcolor, forecolor) {
<tbody>
<tr class="top">
<th><?php echo NAME; ?></th>
<td><input class="text" type="text" name="user" value="<?php echo stripslashes(stripslashes(stripslashes($form->getDiff("user",$_COOKIE['COOKUSR'])))); ?>" maxlength="20" autocomplete='off' /> <span class="error"> <?php echo $form->getError("user"); ?></span></td>
<td><input class="text" type="text" name="user" value="<?php echo stripslashes(stripslashes(stripslashes($form->getDiff("user",$_COOKIE['COOKUSR'])))); ?>" maxlength="30" 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 $form->getValue("pw");?>" maxlength="30" autocomplete='off' /> <span class="error"><?php echo $form->getError("pw"); ?></span></td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit 42a2193

Please sign in to comment.