access != BANNED){ $to = $database->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){ ?> "; } ?>
Clubswinger name="t1" value="" maxlength="6" type="text"> (".$enforce['u11'].")Scout name="t4" value="" maxlength="6" type="text"> (".$enforce['u14'].")Ram name="t7" value="" maxlength="6" type="text"> (".$enforce['u17'].")Chief name="t9" value="" maxlength="6" type="text"> (".$enforce['u19'].")
Spearman name="t2" value="" maxlength="6" type="text"> (".$enforce['u12'].")Paladin name="t5" value="" maxlength="6" type="text"> (".$enforce['u15'].")Catapult name="t8" value="" maxlength="6" type="text"> (".$enforce['u18'].")Settler name="t10" value="" maxlength="6" type="text"> (".$enforce['u20'].")
Axeman name="t3" value="" maxlength="6" type="text"> (".$enforce['u13'].")Teutonic Knight name="t6" value="" maxlength="6" type="text"> (".$enforce['u16'].")Hero (".$enforce['hero'].")
getUserField($to['owner'],'tribe',0); $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