Commit | Line | Data |
---|---|---|
ecfebb09 PM |
1 | <?PHP |
2 | $title = 'MEPS - Invite Links'; | |
3 | include_once('header.php'); | |
4 | $q = "select * from website_text where id = '8'"; | |
5 | $r = $petition->query($q); | |
6 | $d = mysqli_fetch_array($r); | |
7 | ?> | |
8 | <script>document.title = "<?PHP echo $title;?>";</script> | |
9 | <div class='col-sm-12' style='height:100px; text-align:center;'><h2><?PHP echo $d['text_title'];?></h2><p><?PHP echo $d['text_block'];?></p></div> | |
82a98fb2 PM |
10 | <?PHP |
11 | $q2 = "SELECT * FROM petitions"; | |
12 | $r2 = $petition->query($q2); | |
13 | while($d2 = mysqli_fetch_array($r2)){ | |
7f7c6986 | 14 | echo "<li>$d2[petition_name]: <a target='_Blank' href='http://md-petition.com/?invite=$d2[web_short_name]'>http://md-petition.com/?invite=$d2[web_short_name]</a></li>"; |
82a98fb2 | 15 | } |
82a98fb2 | 16 | include_once('footer.php'); |