//------ check directories --------------- $indexAdmin->addConfigBoxLine(''); $redirectFile = $_SERVER['PHP_SELF']; $languageConstants = array(_AM_OLEDRION_AVAILABLE, _AM_OLEDRION_NOTAVAILABLE, _AM_OLEDRION_CREATETHEDIR, _AM_OLEDRION_NOTWRITABLE, _AM_OLEDRION_SETMPERM, _AM_OLEDRION_DIRCREATED, _AM_OLEDRION_DIRNOTCREATED, _AM_OLEDRION_PERMSET, _AM_OLEDRION_PERMNOTSET); //$path = $xoopsModuleConfig['uploaddir'] . '/'; $indexAdmin->addConfigBoxLine(DirectoryChecker::getDirectoryStatus(OLEDRION_UPLOAD_PATH, 0777, $languageConstants, $redirectFile)); //$path = XOOPS_ROOT_PATH . '/' . $xoopsModuleConfig['screenshots'] . '/'; $indexAdmin->addConfigBoxLine(DirectoryChecker::getDirectoryStatus(OLEDRION_ATTACHED_FILES_PATH, 0777, $languageConstants, $redirectFile)); //$path = XOOPS_ROOT_PATH . '/' . $xoopsModuleConfig['catimage'] . '/'; $indexAdmin->addConfigBoxLine(DirectoryChecker::getDirectoryStatus(OLEDRION_PICTURES_PATH, 0777, $languageConstants, $redirectFile)); //$path = XOOPS_ROOT_PATH . '/' . $xoopsModuleConfig['mainimagedir'] . '/'; $indexAdmin->addConfigBoxLine(DirectoryChecker::getDirectoryStatus(OLEDRION_CSV_PATH, 0777, $languageConstants, $redirectFile)); //$path = XOOPS_ROOT_PATH . '/' . $xoopsModuleConfig['catimage'] . '/'; $indexAdmin->addConfigBoxLine(DirectoryChecker::getDirectoryStatus(OLEDRION_CACHE_PATH, 0777, $languageConstants, $redirectFile)); //$path = XOOPS_ROOT_PATH . '/' . $xoopsModuleConfig['mainimagedir'] . '/'; $indexAdmin->addConfigBoxLine(DirectoryChecker::getDirectoryStatus(OLEDRION_TEXT_PATH, 0777, $languageConstants, $redirectFile)); //echo $indexAdmin->addNavigation('index.php'); //echo $indexAdmin->renderIndex(); //echo wfd_serverstats(); //--------------------------- echo $indexAdmin->addNavigation('index.php'); echo $indexAdmin->renderIndex(); $itemsCount = 5; // Nombre d'éléments à afficher if ($h_oledrion_products->getCount() > 0) { echo "<table border='0' width='100%' cellpadding='2' cellspacing='2'>"; echo "<tr>\n"; // Dernières commandes ************************************************ echo "<td valign='top' width='50%' align='center'><b>" . _AM_OLEDRION_LAST_ORDERS . "</b>"; $tblTmp = array(); $criteria = new CriteriaCompo();