BurningFlipside /
VolunteerSystem
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | require_once('class.VolunteerPage.php'); |
||
| 3 | $page = new VolunteerPage('Burning Flipside - Flipside Volunteer System'); |
||
| 4 | |||
| 5 | $page->body .= ' |
||
| 6 | <div id="content"> |
||
| 7 | <h1>Welcome to the Burning Flipside Volunteer System</h1> |
||
| 8 | <p></p> |
||
| 9 | <h1>What would you like to do?</h1> |
||
| 10 | <ul> |
||
| 11 | <li><a href="shifts.php">View Available Shifts</a></li> |
||
| 12 | <li><a href="schedule.php">View My Shift Schedule</a></li>'; |
||
| 13 | |||
| 14 | if($page->isAdmin()) |
||
| 15 | { |
||
| 16 | $page->body .= '<li><a href="viewAll.php">View All Departments</a></li>'; |
||
| 17 | } |
||
| 18 | else if($page->isLead()) |
||
| 19 | { |
||
| 20 | $page->body .= '<li><a href="viewDept.php">View My Department</a></li>'; |
||
| 21 | } |
||
| 22 | |||
| 23 | $page->body .= ' |
||
| 24 | </ul> |
||
| 25 | </div>'; |
||
| 26 | |||
| 27 | $page->print_page(); |
||
|
0 ignored issues
–
show
|
|||
| 28 | ?> |
||
| 29 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.