Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14098 anikendra 1
<?php echo $this->Html->link('Add data', 'add'); ?>
2
<br>
3
<br>
4
<?php foreach($results as $result): ?>
5
 
6
	id: <?php echo $result['Geo']['_id']; ?> 
7
		[<?php echo $this->Html->link('delete','delete/'.$result['Geo']['_id']); ?>]
8
		[<?php 
9
			$url = array('action' => 'index', 'near', $result['Geo']['loc']['lat'], $result['Geo']['loc']['long']);
10
			echo $this->Html->link('near here', $url); 
11
		?>]
12
		[<?php 
13
			$url = array('action' => 'index', 'circle', $result['Geo']['loc']['lat'], $result['Geo']['loc']['long'], 10);
14
			echo $this->Html->link('around here', $url); 
15
		?>]
16
	<br>
17
	title: <?php echo h($result['Geo']['title']); ?><br>
18
	body: <?php echo h($result['Geo']['body']); ?><br>
19
	latitude:<?php echo h($result['Geo']['loc']['lat']) ?><br>
20
	longitude:<?php echo h($result['Geo']['loc']['long']) ?><br>
21
 
22
<hr>
23
<?php endforeach; ?>