include("../../header/header.html"); include_once("../../includes/llcrewards/dbhelperfunctions.php"); //get incoming username, term, year, language $language = isset($_GET["l"]) ? $_GET["l"] : ''; $username = isset($_GET["u"]) ? $_GET["u"] : ''; $term = isset($_GET["t"]) ? $_GET["t"] : ''; $year = isset($_GET["y"]) ? $_GET["y"] : ''; $pt_lastname = ""; $pt_firstname = ""; $pt_username = ""; $pt_membersince = ""; $pt_status = ""; $pt_avatar = ""; $pt_dateissued = ""; $pt_expirationdate = ""; $pt_passportid = ""; $stampsArray = array(); $passport = getPassport($username, $language, $term, $year); if (sizeof($passport) > 0) { $pt_lastname = str_replace(" ", " ", $passport['lastname']); $pt_firstname = str_replace(" ", " ", $passport['firstname']); $pt_username = $passport['username']; $pt_membersince = $passport['membersince']; $pt_status = $passport['status']; $pt_avatar = $passport['avatar']; $pt_dateissued = $passport['dateissued']; $pt_expirationdate = $passport['expirationdate']; $pt_passportid = $passport['id']; $stampsArray = getAwardedStamps($pt_passportid, $language); } else { //passport cannot be found $pt_username = "Invalid passport"; } ?>
Return to participants
Stamp Descriptions