-
Notifications
You must be signed in to change notification settings - Fork 3
/
each_settlement-uk-euro.php
72 lines (64 loc) · 2.3 KB
/
each_settlement-uk-euro.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
//include auth.php file on all secure pages
include("auth.php");
//sql database
include ('sql/mainSql-uk-euro.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include 'nav/meta.php'; ?>
<?php include 'nav/css.php'; ?>
</head>
<body id="page-top">
<div class="wrapper">
<?php include 'nav/sidebar.php'; ?>
<!-- Page Content Holder -->
<div id="content">
<?php include 'nav/nav.php'; ?>
<?php include 'nav/header.php'; ?>
<!--Each Settlement goes there -->
<?php include './views/each/uk-euro/each_settlement_uk-euro.php'; ?>
<?php include 'nav/footer.php'; ?>
</div>
</div>
<div class="overlay"></div>
<?php include 'nav/script.php'; ?>
<script type="text/javascript">
//dropdown list
$(document).ready(function () {
$("#getSettlementbutton").click(function () {
var prodname = $('#selproduct :selected').text();
$.get("getlist/getsingleprod_uk-euro.php", {SettlementID: prodname}, function (getresult) {
$("#presentprod").html(getresult);
});
});
});
//export
function Export()
{
var conf = confirm("Export users to CSV?");
if (conf == true)
{
window.open("export/each_settlement_uk_export_csv.php", '_blank');
}
}
//sidebar
$(document).ready(function () {
$("#sidebar").mCustomScrollbar({
theme: "minimal"
});
$('#dismiss, .overlay').on('click', function () {
$('#sidebar').removeClass('active');
$('.overlay').fadeOut();
});
$('#sidebarCollapse').on('click', function () {
$('#sidebar').addClass('active');
$('.overlay').fadeIn();
$('.collapse.in').toggleClass('in');
$('a[aria-expanded=true]').attr('aria-expanded', 'false');
});
});
</script>
</body>
</html>