\n"; echo "\n"; echo "\n"; echo ""; echo "\n"; // get tool list $availableTools = getTools(); // sort tools $toSort = array(); for ($i = 0; $i < sizeof($availableTools); $i++) { $myTool = new $availableTools[$i](); $toSort[$availableTools[$i]] = $myTool->getPosition(); } asort($toSort); $tools = array(); foreach ($toSort as $key => $value) { $tools[] = new $key(); } echo "

 

\n"; // print tools table echo "\n"; for ($i = 0; $i < sizeof($tools); $i++) { // check access level if ($tools[$i]->getRequiresWriteAccess() && !checkIfWriteAccessIsAllowed()) { continue; } if ($tools[$i]->getRequiresPasswordChangeRights() && !checkIfPasswordChangeIsAllowed()) { continue; } // print tool echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "
   
"; echo "getLink() . "\" target=\"mainpart\">getImageLink() . "\">  " . $tools[$i]->getName() . ""; echo "

     "; echo $tools[$i]->getDescription(); echo "   
\n"; echo "\n"; echo "\n"; ?>