Add EMEA fields
This commit is contained in:
		| @@ -154,7 +154,7 @@ | |||||||
|                 <table class="table"> |                 <table class="table"> | ||||||
|                     <thead class="thead-dark"> |                     <thead class="thead-dark"> | ||||||
|                         <tr> |                         <tr> | ||||||
|                             <th><?php echo $transLang['TIMEREASON']; ?></th><th><?php echo $transLang['NAME']; ?></th><th><?php echo $transLang['ESCORT']; ?></th><th><?php echo $transLang['VALIDATIONS']; ?></th><th><?php echo $transLang['BADGEINITIALS']; ?></th><?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?><th><?php echo $transLang['CARNUM'] . "/" . $transLang['SSANUM']; ?></th><?php }; ?><th><?php echo $transLang['ACTIONS']; ?></th><th> </th> |                             <th><?php echo $transLang['TIMEREASON']; ?></th><th><?php echo $transLang['NAME']; ?></th><th><?php echo $transLang['ESCORT']; ?></th><th><?php echo $transLang['VALIDATIONS']; ?></th><th><?php echo $transLang['BADGEINITIALS']; ?></th><?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?><th><?php echo $transLang['CARNUM'] . " / " . $transLang['SSANUM']; ?></th><?php }; ?><th><?php echo $transLang['ACTIONS']; ?></th><th> </th> | ||||||
|                         </tr> |                         </tr> | ||||||
|                     </thead> |                     </thead> | ||||||
|                     <tbody> |                     <tbody> | ||||||
|   | |||||||
| @@ -63,8 +63,8 @@ class VisitInfo { | |||||||
|         " . Registry::DB_PRFX . "visits.site_id as visits_site_id, |         " . Registry::DB_PRFX . "visits.site_id as visits_site_id, | ||||||
|         " . Registry::DB_PRFX . "visits.company as visits_company, |         " . Registry::DB_PRFX . "visits.company as visits_company, | ||||||
|         " . Registry::DB_PRFX . "visits.approved as visits_approved, |         " . Registry::DB_PRFX . "visits.approved as visits_approved, | ||||||
|         " . Registry::DB_PRFX . "visits.approved as visits_carnum, |         " . Registry::DB_PRFX . "visits.carnum as visits_carnum, | ||||||
|         " . Registry::DB_PRFX . "visits.approved as visits_regnum |         " . Registry::DB_PRFX . "visits.ssanum as visits_ssanum | ||||||
|         FROM " . Registry::DB_PRFX . "visits |         FROM " . Registry::DB_PRFX . "visits | ||||||
|         WHERE " . $cond_siteid . Registry::DB_PRFX . "visits.approved>=\"$approved\" AND " . $cond_outtime  . $cond_intime  . Registry::DB_PRFX . "visits.id LIKE \"$visitid\"" . $cond_rowsperpage . $cond_offset; |         WHERE " . $cond_siteid . Registry::DB_PRFX . "visits.approved>=\"$approved\" AND " . $cond_outtime  . $cond_intime  . Registry::DB_PRFX . "visits.id LIKE \"$visitid\"" . $cond_rowsperpage . $cond_offset; | ||||||
|         $database = new \App\LobbySIO\Database\Connect(); |         $database = new \App\LobbySIO\Database\Connect(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user