<?php $page_title = __('Clients'); $Crumbs->setRoot($page_title); $Template->output('header', ['title' => $page_title, 'nav_active' => 'clients']); $Template->output('page_controls', [['text' => __('New'), 'url' => 'clients/new']]); $Template->output('validator/status'); $Cache->cacheOutput(function ($data) { extract($data); $table = new Tables\Clients(); $clients = $table->getClients(); ?> <table class="overview"> <thead> <tr> <th><?php echo __('Name'); ?> </th> <th><?php echo __('Since'); ?> </th> </tr> </thead> <tbody> <?php foreach ($clients as $client) { ?> <tr class="odf_href" data-href="clients/edit?id=<?php echo $client->id;