Marketplace level resarray['f'.$id]; ?>

At the Marketplace you can trade resources with other players. The higher its level, the more resources can be transported at the same time.

plus) { ?>
I'm searching
>Lumber >Clay >Iron >Crop
>1:1
>1:x
I'm offering
>Lumber >Clay >Iron >Crop
onsale) > 0) { for($i=0+$u;$i<=40+$u;$i++) { if(isset($market->onsale[$i])) { echo ""; echo ""; if(($market->onsale[$i]['wtype'] == 1 && $village->awood <= $market->onsale[$i]['wamt']) ||($market->onsale[$i]['wtype'] == 2 && $village->aclay <= $market->onsale[$i]['wamt']) ||($market->onsale[$i]['wtype'] == 3 && $village->airon <= $market->onsale[$i]['wamt']) ||($market->onsale[$i]['wtype'] == 4 && $village->acrop <= $market->onsale[$i]['wamt'])) { echo ""; } else if($reqMerc > $market->merchantAvail()) { echo ""; } else if($session->access != BANNED){ echo ""; }else{ echo ""; } echo""; } } } else { echo ""; } ?>
Offers at the marketplace
Offered
to me
Wanted
from me
Player Duration Action
"; $reqMerc = 1; if($market->onsale[$i]['wamt'] > $market->maxcarry) { $reqMerc = round($market->onsale[$i]['wamt']/$market->maxcarry); if($market->onsale[$i]['wamt'] > $market->maxcarry*$reqMerc) { $reqMerc += 1; } } switch($market->onsale[$i]['gtype']) { case 1: echo "\"Wood\""; break; case 2: echo "\"Clay\""; break; case 3: echo "\"Iron\""; break; case 4: echo "\"Crop\""; break; } echo $market->onsale[$i]['gamt']; echo " "; switch($market->onsale[$i]['wtype']) { case 1: echo "\"Wood\""; break; case 2: echo "\"Clay\""; break; case 3: echo "\"Iron\""; break; case 4: echo "\"Crop\""; break; } echo $market->onsale[$i]['wamt']; echo "getVillageField($market->onsale[$i]['vref'],"name")."\">"; echo "onsale[$i]['vref']."&c=".$generator->getMapCheck($market->onsale[$i]['vref'])."\">".$database->getUserField($database->getVillageField($market->onsale[$i]['vref'],"owner"),"username",0)."".$generator->getTimeFormat($market->onsale[$i]['duration'])."Not Enough Resource
Not Enough Merchant
mchecker."&g=".$market->onsale[$i]['id']."\">Accept offerAccept offer
There are no avaliable offers on the market
onsale) < 40) { echo "«»"; } else if (!isset($_GET['u']) && count($market->onsale) > 40) { echo "«&t=1&u=40\">»"; } else if(isset($_GET['u']) && count($market->onsale) > $_GET['u']) { if(count($market->onsale) > ($_GET['u']+40) && $_GET['u']-40 < count($market->onsale) && $_GET['u'] != 0) { echo "&t=1&u=".($_GET['u']-40)."\">«&t=1&u=".($_GET['u']+40)."\">»"; } else if(count($market->onsale) > $_GET['u']+40) { echo "«&t=1&u=".($_GET['u']+40)."\">»"; } else { echo "&t=1&u=".($_GET['u']-40)."\">«»"; } } ?>