Subversion Repositories SmartDukaan

Rev

Rev 15504 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
14989 manas 1
<head>
2
<style>
3
table, th, td {
4
    border: 1px solid black;
5
}
6
</style>
7
</head>
8
<div class="searchTerms index">
9
	<h2><?php echo __('Search Terms'); ?></h2>
15629 anikendra 10
	<form class="navbar-form" role="search" method="GET" name="search" action="<?php echo $base_url;?>admin/search_terms">
15504 manas 11
 
12
                <div class="input-group col-xs-6 text-right" id="remote">
13
                    <input autocomplete="off" type="text" class="form-control" placeholder="Search for Terms" name="search" id="srch-term">
14
                    <div class="input-group-btn w25px">
15
                        <button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
16
                    </div>
17
                </div>
18
            </form>
19
 
14989 manas 20
	<table cellpadding="0" cellspacing="0" border="1" class="table table-striped">
21
	<tr>
22
			<th style="text-align:center"><?php echo $this->Paginator->sort('id'); ?></th>
23
			<th style="text-align:center"><?php echo $this->Paginator->sort('user_id'); ?></th>
24
			<th style="text-align:center"><?php echo $this->Paginator->sort('email'); ?></th>
25
			<th style="text-align:center"><?php echo $this->Paginator->sort('search_term'); ?></th>
26
			<th style="text-align:center"><?php echo $this->Paginator->sort('created'); ?></th>
27
 
28
	</tr>
29
	<?php foreach ($searchTerms as $searchTerm): ?>
30
	<tr >
31
		<td  align="center" width="10%"><?php echo h($searchTerm['SearchTerm']['id']); ?></td>
32
		<td  align="center" width="10%"><?php echo $this->Html->link($searchTerm['SearchTerm']['user_id'],array('controller' => 'searchTerms', 'action'=>'user',$searchTerm['SearchTerm']['user_id']));?></td>
33
		<td  width="1%"><?php echo h($searchTerm['User']['username']);?>
34
		<!-- <td  width="1%">
35
			<?php echo $this->Html->link($searchTerm['User']['username'], array('controller' => 'searchTerms', 'action' => 'view', $searchTerm['User']['id'])); ?>
36
		</td> -->
37
		<td  align="center" ><?php echo h($searchTerm['SearchTerm']['search_term']); ?></td>
38
		<td  align="center"><?php echo h($searchTerm['SearchTerm']['created']); ?></td>
39
 
40
	</tr>
41
<?php endforeach; ?>
42
	</table>
43
	<p>
44
	<?php
45
	echo $this->Paginator->counter(array(
46
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
47
	));
48
	?>	</p>
49
	<div class="paging">
50
	<?php
51
		echo $this->Paginator->prev('< ' . __('previous '), array(), null, array('class' => 'prev disabled'));
52
		echo $this->Paginator->numbers(array('separator' => ' '));
53
		echo $this->Paginator->next(__(' next') . ' >', array(), null, array('class' => 'next disabled'));
54
	?>
55
	</div>
56
</div>
57