-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.php
33 lines (30 loc) · 905 Bytes
/
index.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
<?php
include 'inc/header.php';
include 'Controller/Message.php';
$msg = new Message();
if(isset($_POST['sendmsg'])){
$result = $msg->adminmsg($_POST);
}
include 'inc/navbar.php';
include 'inc/cover.php';
include 'inc/about.php';
include 'inc/contact.php';
include 'inc/footer.php';
?>
<script>
$(function(){
$( "#main_range_cover" ).slider({
range: true,
min: 100,
max: 100000,
values: [<?php if(isset($range1) && isset($range2)){
echo $range1.','.$range2;}
else{?> 100,100000 <?php } ?>],
slide: function( event, ui ) {
$( "#input_range_cover" ).val( "$" + ui.values[ 0 ] + " - $" + ui.values[ 1 ] );
}
});
$( "#input_range_cover" ).val( "$" + $( "#main_range_cover" ).slider( "values", 0 ) +
" - $" + $( "#main_range_cover" ).slider( "values", 1 ) );
});
</script>