-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmembers.php
49 lines (38 loc) · 1.23 KB
/
members.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
<?php include "header.php"; ?>
<div class="row">
<div class="col-lg-12 text-center">
<h1 class="mt-5">Post to pages</h1>
<div class="post_to_page">
<?php
if(isset($_GET["success"])) {
echo "<p class='bg bg-success'>Post has been published</p>";
}
if(authentication_done()) {
include "ajax_paginator.php";
//fetch_page_tokens();
fb_logout_btn();
//get_list_of_pages();
post_to_page();
}
else {
authenticate_btn();
}
?>
</div>
</div>
</div>
<script type="text/javascript">
jQuery(".label_select_all_1 input").change(function() {
var a = jQuery(this).prop("checked")
jQuery(".group_label_1 input").prop("checked" , a);
})
jQuery(".label_select_all_all input").change(function() {
var a = jQuery(this).prop("checked")
jQuery(".group_label_1 input , .group_label_2 input").prop("checked" , a);
})
jQuery(".label_select_all_2 input").change(function() {
var a = jQuery(this).prop("checked")
jQuery(".group_label_2 input").prop("checked" , a);
})
</script>
<?php include "footer.php"; ?>