2013-04-05 10:16:33 +02:00
|
|
|
<div id="messagelistcontainer" class="boxlistcontent" style="top:0">
|
2012-09-16 16:47:28 +02:00
|
|
|
|
|
|
|
<div id="results">
|
2013-04-05 10:16:33 +02:00
|
|
|
|
2012-09-16 16:47:28 +02:00
|
|
|
<?php if(count($terms) > 0){ ?>
|
2013-04-05 10:16:33 +02:00
|
|
|
<table class="table table-striped">
|
2013-08-14 23:40:52 +02:00
|
|
|
<thead><tr><th>Query Name</th><th> </th></thead>
|
2012-09-16 16:47:28 +02:00
|
|
|
<?php foreach($terms as $term) {
|
|
|
|
parse_str($term['term'], $s);
|
2013-04-05 10:16:33 +02:00
|
|
|
if(isset($s['search'])) {
|
2012-09-16 16:47:28 +02:00
|
|
|
?>
|
2013-04-05 10:16:33 +02:00
|
|
|
<tr>
|
2013-08-01 22:28:42 +02:00
|
|
|
<td><a href="#" onclick="Piler.load_search_results_for_saved_query('<?php print urlencode($term['term']); ?>');"><?php print $s['search']; ?></a> | <a href="#" class="menulink" onclick="Piler.remove_saved_search_term(<?php print $term['ts']; ?>); return false;"><?php print $text_remove; ?></a></td>
|
2013-04-05 10:16:33 +02:00
|
|
|
<td> </td>
|
|
|
|
</tr>
|
2012-09-18 15:54:48 +02:00
|
|
|
<?php } } ?>
|
2012-09-16 16:47:28 +02:00
|
|
|
|
2013-04-05 10:16:33 +02:00
|
|
|
</table>
|
|
|
|
|
|
|
|
<?php } else if(count($terms) == 0) { ?>
|
|
|
|
<div class="alert alert-error"><?php print $text_empty_search_result; ?></div>
|
|
|
|
<?php } ?>
|
|
|
|
|
2012-09-16 16:47:28 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2013-04-05 10:16:33 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
?>
|