mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-23 11:37:14 +00:00
big update
This commit is contained in:
@@ -105,6 +105,12 @@ $tocoor = $database->getCoor($enforce['vref']);
|
||||
<td class="line-last large"><img class="unit u16" src="img/x.gif" title="Teutonic Knight" alt="Teutonic Knight"> <input class="text" <?php if ($enforce['u16']<=0) {echo ' disabled="disabled"';}?> name="t6" value="<?php echo $enforce['u16']; ?>" maxlength="6" type="text">
|
||||
<?php
|
||||
echo"<span class=\"none\">(".$enforce['u16'].")</span></td>";
|
||||
if($enforce['hero']>0){
|
||||
?>
|
||||
<td class="line-last large"><img class="unit uhero" src="img/x.gif" title="Hero" alt="Hero"> <input class="text" name="t11" value="<?php echo $enforce['hero']; ?>" maxlength="6" type="text">
|
||||
<?php
|
||||
echo"<span class=\"none\">(".$enforce['hero'].")</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="line-last regular"></td>
|
||||
<td class="line-last column-last"></td> </tr>
|
||||
@@ -132,6 +138,13 @@ $tocoor = $database->getCoor($enforce['vref']);
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($enforce['hero']>0){
|
||||
$qh = "SELECT * FROM ".TB_PREFIX."hero WHERE uid = ".$to['owner']."";
|
||||
$resulth = mysql_query($qh);
|
||||
$hero_f=mysql_fetch_array($resulth);
|
||||
$hero_unit=$hero_f['unit'];
|
||||
$speeds[] = $GLOBALS['u'.$hero_unit]['speed'];
|
||||
}
|
||||
$time = $generator->procDistanceTime($fromCor,$toCor,min($speeds),1);
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user