+if (!$user->isPluginEnabled('cl')) {
+ header('Location: feature_disabled.php');
+ exit();
+}
+$cl_id = (int)$request->getParameter('id');
+$client = ttClientHelper::getClient($cl_id, true);
+if (!$client) {
+ header('Location: access_denied.php');
+ exit();
+}
+// End of access checks.