getVillage($enforce['from']); $fromcoor = $database->getCoor($enforce['from']); $tocoor = $database->getCoor($enforce['vref']); $fromCor = array('x'=>$tocoor['x'], 'y'=>$tocoor['y']); $toCor = array('x'=>$fromcoor['x'], 'y'=>$fromcoor['y']); ?>

Send units back

Destination: (|)
Owner: getUserField($to['owner'],'username',0); ?>
Send units back to
"; ?> "; ?> "; ?> "; ?> "; ?> "; ?> "; ?> "; ?> "; ?> "; if($enforce['hero']>0){ ?> "; } ?>
Pikeman name="t1" value="" maxlength="6" type="text"> (".$enforce['u41'].")Bird of Prey name="t4" value="" maxlength="6" type="text"> (".$enforce['u44'].")War Elephant name="t7" value="" maxlength="6" type="text"> (".$enforce['u47'].")Natarian Emperor name="t9" value="" maxlength="6" type="text"> (".$enforce['u49'].")
Thorned Warrior name="t2" value="" maxlength="6" type="text"> (".$enforce['u42'].")Axerider name="t5" value="" maxlength="6" type="text"> (".$enforce['u45'].")Balista name="t8" value="" maxlength="6" type="text"> (".$enforce['u48'].")Settler name="t10" value="" maxlength="6" type="text"> (".$enforce['u50'].")
Guardsman name="t3" value="" maxlength="6" type="text"> (".$enforce['u3'].")Natarian Knight name="t6" value="" maxlength="6" type="text"> (".$enforce['u6'].")Hero (".$enforce['hero'].")
tribe; $start = ($att_tribe-1)*10+1; $end = ($att_tribe*10); $speeds = array(); //find slowest unit. for($i=$start;$i<=$end;$i++) { if (isset($enforce['u'.$i])) { if($enforce['u'.$i]!='' && $enforce['u'.$i]>0) { //$speeds[] = $unitspeeds[$i-2]; $speeds[] = ${'u'.$i}['speed']; } } } 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); ?>
Arrived:
in getTimeFormat($time); ?>
at hours