mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-04 17:37:21 +00:00
Fixing Quest not appears if press (play no tasks)
This commit is contained in:
+25
-25
@@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
@@ -10,28 +10,28 @@
|
|||||||
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
$_SESSION['qtyp']=QTYPE;
|
$_SESSION['qtyp'] = QTYPE;
|
||||||
if (($_SESSION['qst']<38 && QTYPE==37 && QUEST==true) || ($_SESSION['qst']<31 && QTYPE==25 && QUEST==true)) {?>
|
if (($_SESSION['qst'] < 38 && QTYPE == 37 && QUEST == true) || ($_SESSION['qst'] < 31 && QTYPE == 25 && QUEST == true) || ($_SESSION['qst'] >= 90 && QTYPE == 25 && QUEST == true)) {?>
|
||||||
<div id="anm" style="width:120px; height:140px; visibility:hidden;"></div>
|
<div id="anm" style="width:120px; height:140px; visibility:hidden;"></div>
|
||||||
<div id="qge">
|
<div id="qge">
|
||||||
<?php if ($_SESSION['qst']==0 or (isset($_SESSION['qstnew']) && $_SESSION['qstnew']==1)){ ?>
|
<?php if ($_SESSION['qst'] == 0 or (isset($_SESSION['qstnew']) && $_SESSION['qstnew']==1)){ ?>
|
||||||
<img onclick="qst_handle();" src="<?php echo GP_LOCATE; ?>img/q/l<?php echo $session->userinfo['tribe'];?>g.jpg" title="to the task" style="height:174px" alt="to the task" />
|
<img onclick="qst_handle();" src="<?php echo GP_LOCATE; ?>img/q/l<?php echo $session->userinfo['tribe'];?>g.jpg" title="to the task" style="height:174px" alt="to the task" />
|
||||||
<?php }else{?>
|
<?php }else{?>
|
||||||
<img onclick="qst_handle();" src="<?php echo GP_LOCATE; ?>img/q/l<?php echo $session->userinfo['tribe'];?>.jpg" title="to the task" style="height:174px" alt="to the task" />
|
<img onclick="qst_handle();" src="<?php echo GP_LOCATE; ?>img/q/l<?php echo $session->userinfo['tribe'];?>.jpg" title="to the task" style="height:174px" alt="to the task" />
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
<?php if ($_SESSION['qst']==0){ ?>
|
<?php if ($_SESSION['qst']==0){ ?>
|
||||||
quest.number=null;
|
quest.number=null;
|
||||||
<?php }else{ ?>
|
<?php }else{ ?>
|
||||||
quest.number=0;
|
quest.number=0;
|
||||||
<?php } if ($_SESSION['qst']<38 && QTYPE==37){?>
|
<?php } if ($_SESSION['qst']<38 && QTYPE==37){?>
|
||||||
quest.last = 37;
|
quest.last = 37;
|
||||||
<?php } else {?>
|
<?php } else {?>
|
||||||
quest.last = 30;
|
quest.last = 30;
|
||||||
<?php }?>
|
<?php }?>
|
||||||
cache_preload = new Image();
|
cache_preload = new Image();
|
||||||
cache_preload.src = "img/x.gif";
|
cache_preload.src = "img/x.gif";
|
||||||
cache_preload.className = "wood";
|
cache_preload.className = "wood";
|
||||||
</script>
|
</script>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user