This repository has been archived by the owner on Feb 12, 2020. It is now read-only.
forked from mysociety/fms-endpoint
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from anup-khanal-reisys/advanced-export
Advanced export
- Loading branch information
Showing
5 changed files
with
160 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
<?php $this->load->view('header');?> | ||
<?php echo $output; ?> | ||
<?php $this->load->view('footer');?> | ||
<?php $this->load->view('footer');?> | ||
<script type="text/javascript"> | ||
if("<?php echo $currmethod; ?>"=="index"){ | ||
$("#agencieslist").html('<select id="agencieslistselect" class="form-control"><?php foreach($agencieslist->result() as $al){?><option value="<?php echo $al->url_slug ;?>"><?php echo $al->name ;?></option> <?php }?></select>'); | ||
$("#categorylist").html('<select id="categorylistselect" class="form-control"><option value="ALL">All</option><?php foreach($categorieslist->result() as $cl){?><option value="<?php echo $cl->category_id; ?>"><?php echo $cl->category_name; ?></option><?php }?></select>'); | ||
$("#sortbylist").html('<select id="sortbylistselect" class="form-control"><?php foreach($columnslist as $cll){?><option value="<?php echo $cll; ?>"><?php echo $cll; ?></option><?php }?></select>'); | ||
$(".advexport-anchor").show(); | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters