-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmybills.php
30 lines (25 loc) · 884 Bytes
/
mybills.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
<?php
if (isset($_REQUEST['_SESSION'])) die("Stop trying to Hack!");
include_once("lib/functions_rep.php");
include_once("lib/functions_bill.php");
?>
<div id="finding_location"><img src="img/wait-wheel.gif" alt="" />Gathering Federal Legislative Data...</div>
<div id="billspage">
<div id="content">
<?
//-------------------------Call Functions-------------------------------
//sl_leg(); //gets age, all ids: Needs district|state | NO OUTPUT
/**/ //vs_last($_SESSION['lname']); //gets candidate ID /* not needed unless sunlight down */
if (isset($_REQUEST["bill"])) {
get_bill($_REQUEST["bill"]);
vs_bill($_SESSION['votesmart_id']);} //vs bill search
else {
vs_bill($_SESSION['votesmart_id']);
new_bills();}
//nybill(); //ny only
?>
</div>
<p class="source">
All data gathered from various sources are public domain and are frequently updated.
</p>
</div><!--end billspage-->