prefetchValueInstance('user'); // Maximum of allowed companies reached? if ($linkInstance->getValueInstance()->ifUserCreatedMaximumAllowedCompanies()) { // No more companies allowed to create } elseif ($linkInstance->getValueInstance()->ifUserHasRequiredPoints('found_new_company')) { // Enough money to found company } elseif ($linkInstance->getValueInstance()->ifUserHasRequiredPoints('write_applications')) { // Enough money to write applications to other companies } elseif ($linkInstance->getValueInstance()->ifGovermentPaysStartupHelp()) { // Display link to goverment for startup help } // END - if if ($linkInstance->getValueInstance()->ifUserAllowTakeCreditsFromMoneyBank()) { // Display link to money bank page } elseif ($linkInstance->getValueInstance()->ifUserHasMaximumCreditsWithMoneyBank()) { // Maximum credits reached which a money bank can lent } else { // Money bank is closed! } if ($linkInstance->ifRefillPageActive()) { // Display link to refill page } else { // Refill page not active } // Flush content to the template $linkInstance->flushContent(); // End of PHP commands ?>
Auflistung der Reedereien, an denenen du dich beteiligst:
{?company_list?}