if (!$postfix) { ?><span class="error"><?echo translate("Error: The list of items is not supplied");?></span><? exit; } if (!is_array($postfix)) $postfix = array($postfix); if (!$confirm) PlaceJS(); switch ($action) { case "drop": if ($confirm) { try { $cache = new CACHEDB(); foreach ($postfix as $p) { $cache->Drop($p); } echo translate("Done. All CACHES are droped."); } catch (ADEIException $ae) { ?><span class="error"><?echo translate("Error: %s", $ae->getInfo());?></span><? } } else RequestConfirmation( translate("Do you really want to drop following tables: "), $postfix); break; case "rewidth": if ($confirm) { try { $name = GetAdminFile("resize-"); $f = fopen($name, "w"); if (!$f)