Update printable_qr_code.php
[clinton/MarylandElectronicPetitionSignature.git] / admin / menu_admin.php
1 <li role='presentation' style='background-color:orange;' <?PHP if($_SERVER['SCRIPT_NAME'] == '/admin/search.php'){ echo "class='active'"; } ?> ><a href="search.php">Search</a></li>
2 <li role='presentation' style='background-color:orange;' <?PHP if($_SERVER['SCRIPT_NAME'] == '/admin/analytics.php'){ echo "class='active'"; } ?> ><a href="analytics.php">Automated Analytics</a></li>
3 <?PHP
4 $q="SELECT id FROM follow_up where status = 'NEW'";
5 $r = $petition->query($q);
6 $d = mysqli_fetch_array($r);
7 if (intval($d['id']) > 0){
8 ?>
9 <li role='presentation' style='background-color:orange;' <?PHP if($_SERVER['SCRIPT_NAME'] == '/admin/follow_up_emails.php'){ echo "class='active'"; } ?> ><a href="follow_up_emails.php">Send Follow Up</a></li>
10 <?PHP } ?>
11 <li role='presentation' style='background-color:orange;' <?PHP if($_SERVER['SCRIPT_NAME'] == '/admin/follow_up_success.php'){ echo "class='active'"; } ?> ><a href="follow_up_success.php">Follow Up Status</a></li>