$filtersBox .= $assignmentStatusDiv . $repDiv; $filtersBox .= "</div>"; #close filtersBox #Col 1 - Event List $col1 = "<div id='homeCol1'>"; #open homeCol1 #there's two tabs in col1 #tab 1 - All Events $tab1 = "<div id='homeTab1'>"; #open homeTab1 $allEventsTable = "<table class='eventsTable'>"; $allEventsRows = "<tr><td><div class='headerRow'><h5>Pick Ups and Drop Offs</h5></div></td></tr>"; #Build "Anytime Events" $allEventsRows .= $gremlin->buildPickupDropoffRows($user->ID, $user->teamID, $unixTime); $allEventsRows .= "<tr><td><div class='headerRow'><h5>Cases</h5></div></td></tr>"; $allEventsRows .= $gremlin->buildCaseEventsRows($user->ID, $user->teamID, $unixTime); $allEventsTable .= $allEventsRows; $allEventsTable .= "</table>"; $tab1 .= $allEventsTable; $tab1 .= "</div>"; #close homeTab1 #tab 2 - My Events $tab2 = "<div id='homeTab2' style='display: none;'>"; #open homeTab2 $myEventsTable = "<table class='eventsTable'>"; $myEventsRows = "<tr><td><div class='headerRow'><h5>Pick Ups and Drop Offs</h5></div></td></tr>"; $myEventsRows .= $gremlin->buildPickupDropoffRows($user->ID, $user->teamID, $unixTime, true); $myEventsRows .= "<tr><td><div class='headerRow'><h5>Cases</h5></div></td></tr>"; $myEventsRows .= $gremlin->buildCaseEventsRows($user->ID, $user->teamID, $unixTime, true); $myEventsTable .= $myEventsRows; $myEventsTable .= "</table>";