Rev 15504 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<head><style>table, th, td {border: 1px solid black;}</style></head><div class="searchTerms index"><h2><?php echo __('Search Terms'); ?></h2><form class="navbar-form" role="search" method="GET" name="search" action="<?php echo $base_url;?>admin/search_terms"><div class="input-group col-xs-6 text-right" id="remote"><input autocomplete="off" type="text" class="form-control" placeholder="Search for Terms" name="search" id="srch-term"><div class="input-group-btn w25px"><button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button></div></div></form><table cellpadding="0" cellspacing="0" border="1" class="table table-striped"><tr><th style="text-align:center"><?php echo $this->Paginator->sort('id'); ?></th><th style="text-align:center"><?php echo $this->Paginator->sort('user_id'); ?></th><th style="text-align:center"><?php echo $this->Paginator->sort('email'); ?></th><th style="text-align:center"><?php echo $this->Paginator->sort('search_term'); ?></th><th style="text-align:center"><?php echo $this->Paginator->sort('created'); ?></th></tr><?php foreach ($searchTerms as $searchTerm): ?><tr ><td align="center" width="10%"><?php echo h($searchTerm['SearchTerm']['id']); ?></td><td align="center" width="10%"><?php echo $this->Html->link($searchTerm['SearchTerm']['user_id'],array('controller' => 'searchTerms', 'action'=>'user',$searchTerm['SearchTerm']['user_id']));?></td><td width="1%"><?php echo h($searchTerm['User']['username']);?><!-- <td width="1%"><?php echo $this->Html->link($searchTerm['User']['username'], array('controller' => 'searchTerms', 'action' => 'view', $searchTerm['User']['id'])); ?></td> --><td align="center" ><?php echo h($searchTerm['SearchTerm']['search_term']); ?></td><td align="center"><?php echo h($searchTerm['SearchTerm']['created']); ?></td></tr><?php endforeach; ?></table><p><?phpecho $this->Paginator->counter(array('format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')));?> </p><div class="paging"><?phpecho $this->Paginator->prev('< ' . __('previous '), array(), null, array('class' => 'prev disabled'));echo $this->Paginator->numbers(array('separator' => ' '));echo $this->Paginator->next(__(' next') . ' >', array(), null, array('class' => 'next disabled'));?></div></div>