Singapore Distributors:
size()) {
foreach ($distributors->getTieIns() as $d) {
$m = new Merchant(2, $d->getMID());
$mShop = new Shop($m->getShopid());
$u = new User($m->getUserid());
/* if ($d->getCID()) {
$c = $categories->getCategory($d->getCID());
echo $c->getDescription();
} else echo ""; */
//if($m->payenddate > $todayz) {
if($m->isPaidValidMerchant()) {
$hasDist = true;
?>