Cleanup and consolidatio

This commit is contained in:
Josh North 2021-06-12 09:29:10 -04:00
parent f19434ec0c
commit 4e1d504339
39 changed files with 320 additions and 95 deletions

View File

@ -1 +1,18 @@
<?php //PROTECT <?php
/*
* Copyright (C) 2018 josh.north@point808.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -1 +1,18 @@
<?php //PROTECT <?php
/*
* Copyright (C) 2018 josh.north@point808.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -30,5 +30,3 @@ spl_autoload_register( function( $class ) {
require $file; require $file;
} }
}); });

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1 +1,18 @@
<?php //PROTECT <?php
/*
* Copyright (C) 2018 josh.north@point808.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -1 +1,18 @@
<?php //PROTECT <?php
/*
* Copyright (C) 2018 josh.north@point808.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -1,4 +1,21 @@
<?php <?php
/*
* Copyright (C) 2018 josh.north@point808.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
$StaticFunctions = new \App\LobbySIO\Misc\StaticFunctions(); // INSTANTIATE CLASSES $StaticFunctions = new \App\LobbySIO\Misc\StaticFunctions(); // INSTANTIATE CLASSES
?> ?>
<!-- START FOOTER CONTENT --> <!-- START FOOTER CONTENT -->

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1 +1,18 @@
<?php //PROTECT <?php
/*
* Copyright (C) 2018 josh.north@point808.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -275,7 +275,7 @@ if (Registry::AUTHMETHOD == 'SAML') {
<table class="table table-sm table-responsive-sm text-nowrap"> <table class="table table-sm table-responsive-sm text-nowrap">
<thead class="thead-dark"> <thead class="thead-dark">
<tr> <tr>
<th class="small col-xs-1"><?php echo $transLang['TIMEREASON']; ?></th><th class="small col-xs-2"><?php echo $transLang['NAME']; ?></th><th class="small col-xs-2"><?php echo $transLang['ESCORT']; ?></th><th class="small col-xs-2"><?php echo $transLang['VALIDATIONS']; ?></th><th class="small col-xs-2"><?php echo $transLang['BADGEINITIALS']; ?></th><?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?><th class="small col-xs-1"><?php echo $transLang['CARNUM'] . " / " . $transLang['SSANUM']; ?></th><?php }; ?><th class="small col-xs-1"><?php echo $transLang['ACTIONS']; ?></th> <th class="small col-xs-1"><?php echo $transLang['TIMEREASON']; ?></th><th class="small col-xs-2"><?php echo $transLang['NAME']; ?></th><th class="small col-xs-2"><?php echo $transLang['ESCORT']; ?></th><th class="small col-xs-2"><?php echo $transLang['VALIDATIONS']; ?></th><th class="small col-xs-2"><?php echo $transLang['BADGEINITIALS']; ?></th><?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?><th class="small col-xs-1"><?php echo $transLang['CARNUM'] . " / " . $transLang['SSANUM']; ?></th><?php } ?><th class="small col-xs-1"><?php echo $transLang['ACTIONS']; ?></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -284,10 +284,10 @@ if (Registry::AUTHMETHOD == 'SAML') {
$timein = new DateTime($row['visits_intime'], new DateTimeZone('UTC')); $timein = new DateTime($row['visits_intime'], new DateTimeZone('UTC'));
$timein->setTimezone(new DateTimeZone("$timezone")); $timein->setTimezone(new DateTimeZone("$timezone"));
$timein_disp = $timein->format('Y-m-d H:i:s'); $timein_disp = $timein->format('Y-m-d H:i:s');
if(!empty($row['visits_carnum'])) { $carnum=$row['visits_carnum']; } else { $carnum="";}; if(!empty($row['visits_carnum'])) { $carnum=$row['visits_carnum']; } else { $carnum="";}
if(!empty($row['visits_ssanum'])) { $ssanum=$row['visits_ssanum']; } else { $ssanum="";}; if(!empty($row['visits_ssanum'])) { $ssanum=$row['visits_ssanum']; } else { $ssanum="";}
if(!empty($row['visits_isvendor'])) { $isvendor=$row['visits_isvendor']; } else { $isvendor="";}; if(!empty($row['visits_isvendor'])) { $isvendor=$row['visits_isvendor']; } else { $isvendor="";}
if(!empty($row['visits_approved'])) { $visitapproved=$row['visits_approved']; } else { $visitapproved="";}; if(!empty($row['visits_approved'])) { $visitapproved=$row['visits_approved']; } else { $visitapproved="";}
?> ?>
@ -306,8 +306,8 @@ if (Registry::AUTHMETHOD == 'SAML') {
$db_vendorinfo_worksummary = $rowvn['db_vendorinfo_worksummary']; $db_vendorinfo_worksummary = $rowvn['db_vendorinfo_worksummary'];
$db_vendorinfo_equipmentsummary = $rowvn['db_vendorinfo_equipmentsummary']; $db_vendorinfo_equipmentsummary = $rowvn['db_vendorinfo_equipmentsummary'];
if ($db_vendorinfo_routinework === 1 || $db_vendorinfo_nonroutinework === 1) { if ($db_vendorinfo_routinework === 1 || $db_vendorinfo_nonroutinework === 1) {
if (!empty($db_vendorinfo_worksummary) && !empty($db_vendorinfo_equipmentsummary)){$initialvendorformcomplete=1;}; if (!empty($db_vendorinfo_worksummary) && !empty($db_vendorinfo_equipmentsummary)){$initialvendorformcomplete=1;}
} else $initialvendorformcomplete=0; } else {$initialvendorformcomplete=0;}
?> ?>
<div class="modal fade" id="vendorModal-<?php echo $visitid; ?>" tabindex="-1" role="dialog"> <div class="modal fade" id="vendorModal-<?php echo $visitid; ?>" tabindex="-1" role="dialog">
<div class="modal-dialog modal-lg" role="document"> <div class="modal-dialog modal-lg" role="document">
@ -352,14 +352,14 @@ if (Registry::AUTHMETHOD == 'SAML') {
<div class="col d-grid gap-2"> <div class="col d-grid gap-2">
<div class="form-check form-switch"> <div class="form-check form-switch">
<input type="hidden" name="db_vendorinfo_checklistrequired" value="0" /> <input type="hidden" name="db_vendorinfo_checklistrequired" value="0" />
<input class="form-check-input" name="db_vendorinfo_checklistrequired" value="1" type="checkbox" id="db_vendorinfo_checklistrequired" <?php if (isset($db_vendorinfo_checklistrequired) && $db_vendorinfo_checklistrequired === 1) echo "checked";?>> <input class="form-check-input" name="db_vendorinfo_checklistrequired" value="1" type="checkbox" id="db_vendorinfo_checklistrequired" <?php if (isset($db_vendorinfo_checklistrequired) && $db_vendorinfo_checklistrequired === 1) {echo "checked";}?>>
<label class="form-check-label" for="db_vendorinfo_checklistrequired"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-CHECKLISTREQUIRED-HELP']; ?>"><?php echo $transLang['VENDORINFO-CHECKLISTREQUIRED']; ?></span></label> <label class="form-check-label" for="db_vendorinfo_checklistrequired"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-CHECKLISTREQUIRED-HELP']; ?>"><?php echo $transLang['VENDORINFO-CHECKLISTREQUIRED']; ?></span></label>
</div> </div>
</div> </div>
<div class="col d-grid gap-2"> <div class="col d-grid gap-2">
<div class="form-check form-switch"> <div class="form-check form-switch">
<input type="hidden" name="db_vendorinfo_routinework" value="0" /> <input type="hidden" name="db_vendorinfo_routinework" value="0" />
<input class="form-check-input" name="db_vendorinfo_routinework" value="1" type="checkbox" id="db_vendorinfo_routinework" <?php if (isset($db_vendorinfo_routinework) && $db_vendorinfo_routinework === 1) echo "checked";?>> <input class="form-check-input" name="db_vendorinfo_routinework" value="1" type="checkbox" id="db_vendorinfo_routinework" <?php if (isset($db_vendorinfo_routinework) && $db_vendorinfo_routinework === 1) {echo "checked";}?>>
<label class="form-check-label" for="db_vendorinfo_routinework"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-ROUTINEWORK-HELP']; ?>"><?php echo $transLang['VENDORINFO-ROUTINEWORK']; ?></span></label> <label class="form-check-label" for="db_vendorinfo_routinework"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-ROUTINEWORK-HELP']; ?>"><?php echo $transLang['VENDORINFO-ROUTINEWORK']; ?></span></label>
</div> </div>
</div> </div>
@ -368,7 +368,7 @@ if (Registry::AUTHMETHOD == 'SAML') {
<div class="col d-grid gap-2"> <div class="col d-grid gap-2">
<div class="form-check form-switch"> <div class="form-check form-switch">
<input type="hidden" name="db_vendorinfo_coi" value="0" /> <input type="hidden" name="db_vendorinfo_coi" value="0" />
<input class="form-check-input" name="db_vendorinfo_coi" value="1" type="checkbox" id="db_vendorinfo_coi" <?php if (isset($db_vendorinfo_coi) && $db_vendorinfo_coi === 1) echo "checked";?>> <input class="form-check-input" name="db_vendorinfo_coi" value="1" type="checkbox" id="db_vendorinfo_coi" <?php if (isset($db_vendorinfo_coi) && $db_vendorinfo_coi === 1) {echo "checked";}?>>
<label class="form-check-label" for="db_vendorinfo_coi"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-COI-HELP']; ?>"><?php echo $transLang['VENDORINFO-COI']; ?></span></label> <label class="form-check-label" for="db_vendorinfo_coi"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-COI-HELP']; ?>"><?php echo $transLang['VENDORINFO-COI']; ?></span></label>
</div> </div>
</div> </div>
@ -410,7 +410,7 @@ if (Registry::AUTHMETHOD == 'SAML') {
</div> </div>
</div> </div>
<!-- END INITIAL VENDOR FORM MODAL --> <!-- END INITIAL VENDOR FORM MODAL -->
<?php }; }; ?> <?php } } ?>
<?php if($isvendor===1 && $visitapproved===2){ ?> <?php if($isvendor===1 && $visitapproved===2){ ?>
@ -431,7 +431,7 @@ $db_vendorinfo_checklistcompleted = $rowvm['db_vendorinfo_checklistcompleted'];
$db_vendorinfo_workcompleted = $rowvm['db_vendorinfo_workcompleted']; $db_vendorinfo_workcompleted = $rowvm['db_vendorinfo_workcompleted'];
$db_vendorinfo_sitecleanup = $rowvm['db_vendorinfo_sitecleanup']; $db_vendorinfo_sitecleanup = $rowvm['db_vendorinfo_sitecleanup'];
$db_vendorinfo_doccompleted = $rowvm['db_vendorinfo_doccompleted']; $db_vendorinfo_doccompleted = $rowvm['db_vendorinfo_doccompleted'];
if ($db_vendorinfo_workcompleted === 1 && $db_vendorinfo_sitecleanup === 1) { $finalvendorformcomplete=1; } else { $finalvendorformcomplete=0; }; if ($db_vendorinfo_workcompleted === 1 && $db_vendorinfo_sitecleanup === 1) { $finalvendorformcomplete=1; } else { $finalvendorformcomplete=0; }
?> ?>
<div class="modal fade" id="vendorFinalModal-<?php echo $visitid; ?>" tabindex="-1" role="dialog"> <div class="modal fade" id="vendorFinalModal-<?php echo $visitid; ?>" tabindex="-1" role="dialog">
<div class="modal-dialog modal-lg" role="document"> <div class="modal-dialog modal-lg" role="document">
@ -476,14 +476,14 @@ if ($db_vendorinfo_workcompleted === 1 && $db_vendorinfo_sitecleanup === 1) { $f
<div class="col d-grid gap-2"> <div class="col d-grid gap-2">
<div class="form-check form-switch"> <div class="form-check form-switch">
<input type="hidden" name="db_vendorinfo_checklistrequired" value="0" /> <input type="hidden" name="db_vendorinfo_checklistrequired" value="0" />
<input class="form-check-input" name="db_vendorinfo_checklistrequired" value="1" type="checkbox" id="db_vendorinfo_checklistrequired" <?php if (isset($db_vendorinfo_checklistrequired) && $db_vendorinfo_checklistrequired === 1) echo "checked";?> disabled> <input class="form-check-input" name="db_vendorinfo_checklistrequired" value="1" type="checkbox" id="db_vendorinfo_checklistrequired" <?php if (isset($db_vendorinfo_checklistrequired) && $db_vendorinfo_checklistrequired === 1) {echo "checked";}?> disabled>
<label class="form-check-label" for="db_vendorinfo_checklistrequired"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-CHECKLISTREQUIRED-HELP']; ?>"><?php echo $transLang['VENDORINFO-CHECKLISTREQUIRED']; ?></span></label> <label class="form-check-label" for="db_vendorinfo_checklistrequired"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-CHECKLISTREQUIRED-HELP']; ?>"><?php echo $transLang['VENDORINFO-CHECKLISTREQUIRED']; ?></span></label>
</div> </div>
</div> </div>
<div class="col d-grid gap-2"> <div class="col d-grid gap-2">
<div class="form-check form-switch"> <div class="form-check form-switch">
<input type="hidden" name="db_vendorinfo_routinework" value="0" /> <input type="hidden" name="db_vendorinfo_routinework" value="0" />
<input class="form-check-input" name="db_vendorinfo_routinework" value="1" type="checkbox" id="db_vendorinfo_routinework" <?php if (isset($db_vendorinfo_routinework) && $db_vendorinfo_routinework === 1) echo "checked";?> disabled> <input class="form-check-input" name="db_vendorinfo_routinework" value="1" type="checkbox" id="db_vendorinfo_routinework" <?php if (isset($db_vendorinfo_routinework) && $db_vendorinfo_routinework === 1) {echo "checked";}?> disabled>
<label class="form-check-label" for="db_vendorinfo_routinework"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-ROUTINEWORK-HELP']; ?>"><?php echo $transLang['VENDORINFO-ROUTINEWORK']; ?></span></label> <label class="form-check-label" for="db_vendorinfo_routinework"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-ROUTINEWORK-HELP']; ?>"><?php echo $transLang['VENDORINFO-ROUTINEWORK']; ?></span></label>
</div> </div>
</div> </div>
@ -492,14 +492,14 @@ if ($db_vendorinfo_workcompleted === 1 && $db_vendorinfo_sitecleanup === 1) { $f
<div class="col d-grid gap-2"> <div class="col d-grid gap-2">
<div class="form-check form-switch"> <div class="form-check form-switch">
<input type="hidden" name="db_vendorinfo_coi" value="0" /> <input type="hidden" name="db_vendorinfo_coi" value="0" />
<input class="form-check-input" name="db_vendorinfo_coi" value="1" type="checkbox" id="db_vendorinfo_coi" <?php if (isset($db_vendorinfo_coi) && $db_vendorinfo_coi === 1) echo "checked";?> disabled> <input class="form-check-input" name="db_vendorinfo_coi" value="1" type="checkbox" id="db_vendorinfo_coi" <?php if (isset($db_vendorinfo_coi) && $db_vendorinfo_coi === 1) {echo "checked";}?> disabled>
<label class="form-check-label" for="db_vendorinfo_coi"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-COI-HELP']; ?>"><?php echo $transLang['VENDORINFO-COI']; ?></span></label> <label class="form-check-label" for="db_vendorinfo_coi"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-COI-HELP']; ?>"><?php echo $transLang['VENDORINFO-COI']; ?></span></label>
</div> </div>
</div> </div>
<div class="col d-grid gap-2"> <div class="col d-grid gap-2">
<div class="form-check form-switch"> <div class="form-check form-switch">
<input type="hidden" name="db_vendorinfo_nonroutinework" value="0" /> <input type="hidden" name="db_vendorinfo_nonroutinework" value="0" />
<input class="form-check-input" name="db_vendorinfo_nonroutinework" value="1" type="checkbox" id="db_vendorinfo_nonroutinework" <?php if (isset($db_vendorinfo_nonroutinework) && $db_vendorinfo_nonroutinework === 1) echo "checked";?> disabled> <input class="form-check-input" name="db_vendorinfo_nonroutinework" value="1" type="checkbox" id="db_vendorinfo_nonroutinework" <?php if (isset($db_vendorinfo_nonroutinework) && $db_vendorinfo_nonroutinework === 1) {echo "checked";}?> disabled>
<label class="form-check-label" for="db_vendorinfo_nonroutinework"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-NONROUTINEWORK-HELP']; ?>"><?php echo $transLang['VENDORINFO-NONROUTINEWORK']; ?></span></label> <label class="form-check-label" for="db_vendorinfo_nonroutinework"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-NONROUTINEWORK-HELP']; ?>"><?php echo $transLang['VENDORINFO-NONROUTINEWORK']; ?></span></label>
</div> </div>
</div> </div>
@ -524,14 +524,14 @@ if ($db_vendorinfo_workcompleted === 1 && $db_vendorinfo_sitecleanup === 1) { $f
<div class="col d-grid gap-2"> <div class="col d-grid gap-2">
<div class="form-check form-switch"> <div class="form-check form-switch">
<input type="hidden" name="db_vendorinfo_checklistcompleted" value="0" /> <input type="hidden" name="db_vendorinfo_checklistcompleted" value="0" />
<input class="form-check-input" name="db_vendorinfo_checklistcompleted" value="1" type="checkbox" id="db_vendorinfo_checklistcompleted" <?php if (isset($db_vendorinfo_checklistcompleted) && $db_vendorinfo_checklistcompleted === 1) echo "checked";?>> <input class="form-check-input" name="db_vendorinfo_checklistcompleted" value="1" type="checkbox" id="db_vendorinfo_checklistcompleted" <?php if (isset($db_vendorinfo_checklistcompleted) && $db_vendorinfo_checklistcompleted === 1) {echo "checked";}?>>
<label class="form-check-label" for="db_vendorinfo_checklistcompleted"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-CHECKLISTCOMPLETED-HELP']; ?>"><?php echo $transLang['VENDORINFO-CHECKLISTCOMPLETED']; ?></span></label> <label class="form-check-label" for="db_vendorinfo_checklistcompleted"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-CHECKLISTCOMPLETED-HELP']; ?>"><?php echo $transLang['VENDORINFO-CHECKLISTCOMPLETED']; ?></span></label>
</div> </div>
</div> </div>
<div class="col d-grid gap-2"> <div class="col d-grid gap-2">
<div class="form-check form-switch"> <div class="form-check form-switch">
<input type="hidden" name="db_vendorinfo_workcompleted" value="0" /> <input type="hidden" name="db_vendorinfo_workcompleted" value="0" />
<input class="form-check-input" name="db_vendorinfo_workcompleted" value="1" type="checkbox" id="db_vendorinfo_workcompleted" <?php if (isset($db_vendorinfo_workcompleted) && $db_vendorinfo_workcompleted === 1) echo "checked";?>> <input class="form-check-input" name="db_vendorinfo_workcompleted" value="1" type="checkbox" id="db_vendorinfo_workcompleted" <?php if (isset($db_vendorinfo_workcompleted) && $db_vendorinfo_workcompleted === 1) {echo "checked";}?>>
<label class="form-check-label" for="db_vendorinfo_workcompleted"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-WORKCOMPLETED-HELP']; ?>"><?php echo $transLang['VENDORINFO-WORKCOMPLETED']; ?></span></label> <label class="form-check-label" for="db_vendorinfo_workcompleted"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-WORKCOMPLETED-HELP']; ?>"><?php echo $transLang['VENDORINFO-WORKCOMPLETED']; ?></span></label>
</div> </div>
</div> </div>
@ -540,14 +540,14 @@ if ($db_vendorinfo_workcompleted === 1 && $db_vendorinfo_sitecleanup === 1) { $f
<div class="col d-grid gap-2"> <div class="col d-grid gap-2">
<div class="form-check form-switch"> <div class="form-check form-switch">
<input type="hidden" name="db_vendorinfo_sitecleanup" value="0" /> <input type="hidden" name="db_vendorinfo_sitecleanup" value="0" />
<input class="form-check-input" name="db_vendorinfo_sitecleanup" value="1" type="checkbox" id="db_vendorinfo_sitecleanup" <?php if (isset($db_vendorinfo_sitecleanup) && $db_vendorinfo_sitecleanup === 1) echo "checked";?>> <input class="form-check-input" name="db_vendorinfo_sitecleanup" value="1" type="checkbox" id="db_vendorinfo_sitecleanup" <?php if (isset($db_vendorinfo_sitecleanup) && $db_vendorinfo_sitecleanup === 1) {echo "checked";}?>>
<label class="form-check-label" for="db_vendorinfo_sitecleanup"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-SITECLEANUP-HELP']; ?>"><?php echo $transLang['VENDORINFO-SITECLEANUP']; ?></span></label> <label class="form-check-label" for="db_vendorinfo_sitecleanup"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-SITECLEANUP-HELP']; ?>"><?php echo $transLang['VENDORINFO-SITECLEANUP']; ?></span></label>
</div> </div>
</div> </div>
<div class="col d-grid gap-2"> <div class="col d-grid gap-2">
<div class="form-check form-switch"> <div class="form-check form-switch">
<input type="hidden" name="db_vendorinfo_doccompleted" value="0" /> <input type="hidden" name="db_vendorinfo_doccompleted" value="0" />
<input class="form-check-input" name="db_vendorinfo_doccompleted" value="1" type="checkbox" id="db_vendorinfo_doccompleted" <?php if (isset($db_vendorinfo_doccompleted) && $db_vendorinfo_doccompleted === 1) echo "checked";?>> <input class="form-check-input" name="db_vendorinfo_doccompleted" value="1" type="checkbox" id="db_vendorinfo_doccompleted" <?php if (isset($db_vendorinfo_doccompleted) && $db_vendorinfo_doccompleted === 1) {echo "checked";}?>>
<label class="form-check-label" for="db_vendorinfo_doccompleted"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-DOCCOMPLETED-HELP']; ?>"><?php echo $transLang['VENDORINFO-DOCCOMPLETED']; ?></span></label> <label class="form-check-label" for="db_vendorinfo_doccompleted"><span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="<?php echo $transLang['VENDORINFO-DOCCOMPLETED-HELP']; ?>"><?php echo $transLang['VENDORINFO-DOCCOMPLETED']; ?></span></label>
</div> </div>
</div> </div>
@ -566,14 +566,16 @@ if ($db_vendorinfo_workcompleted === 1 && $db_vendorinfo_sitecleanup === 1) { $f
</div> </div>
</div> </div>
<!-- END FINAL VENDOR FORM MODAL --> <!-- END FINAL VENDOR FORM MODAL -->
<?php }; }; ?> <?php }
}
?>
<?php if($row['visits_approved']===2) { ?> <?php if($row['visits_approved']===2) { ?>
<tr class="alert alert-success"> <tr class="alert alert-success">
<?php } else { ?> <?php } else { ?>
<tr class="alert alert-warning"> <tr class="alert alert-warning">
<?php }; ?> <?php } ?>
@ -601,12 +603,12 @@ if ($db_vendorinfo_workcompleted === 1 && $db_vendorinfo_sitecleanup === 1) { $f
<div> <div>
<span class="badge bg-light text-dark"><?php echo $transLang['TICKET']; ?></span> <?php echo $row['visits_id_reference']; ?> <span class="badge bg-light text-dark"><?php echo $transLang['TICKET']; ?></span> <?php echo $row['visits_id_reference']; ?>
</div> </div>
<?php }; ?> <?php } ?>
<?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "US") { ?> <?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "US") { ?>
<div> <div>
<span class="badge bg-light text-dark"><?php echo $transLang['COUNTRY']; ?>?</span> <?php echo $VisitInfo->getCountryInfo($row['visits_citizen'])[0]["countries_name"]; ?> <span class="badge bg-light text-dark"><?php echo $transLang['COUNTRY']; ?>?</span> <?php echo $VisitInfo->getCountryInfo($row['visits_citizen'])[0]["countries_name"]; ?>
</div> </div>
<?php }; ?> <?php } ?>
</td> </td>
<td class="small"> <td class="small">
<div> <div>
@ -621,17 +623,17 @@ if ($db_vendorinfo_workcompleted === 1 && $db_vendorinfo_sitecleanup === 1) { $f
<span class="badge bg-success text-dark"><?php echo $transLang['TAGS-FORMCOMPLETE']; ?></span>&nbsp; <span class="badge bg-success text-dark"><?php echo $transLang['TAGS-FORMCOMPLETE']; ?></span>&nbsp;
<?php } else { ?> <?php } else { ?>
<span class="badge bg-info text-dark"><?php echo $transLang['TAGS-FORMINCOMPLETE']; ?></span>&nbsp; <span class="badge bg-info text-dark"><?php echo $transLang['TAGS-FORMINCOMPLETE']; ?></span>&nbsp;
<?php }; ?> <?php } ?>
<a data-bs-toggle="modal" data-bs-target="#vendorFinalModal-<?php echo $visitid; ?>" data-id="<?php echo $visitid; ?>" href="#vendorFinalModal-<?php echo $visitid; ?>" name="vendorFinalModal-<?php echo $visitid; ?>" value="<?php echo $visitid; ?>" class="open-vendorFinalModal-<?php echo $visitid; ?>"><?php echo $transLang['VENDORINFO-FORM']; ?></a> <a data-bs-toggle="modal" data-bs-target="#vendorFinalModal-<?php echo $visitid; ?>" data-id="<?php echo $visitid; ?>" href="#vendorFinalModal-<?php echo $visitid; ?>" name="vendorFinalModal-<?php echo $visitid; ?>" value="<?php echo $visitid; ?>" class="open-vendorFinalModal-<?php echo $visitid; ?>"><?php echo $transLang['VENDORINFO-FORM']; ?></a>
</div> </div>
<?php }; ?> <?php } ?>
</td> </td>
<?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?> <?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?>
<td class="small"><?php echo $carnum; ?> / <?php echo $ssanum; ?></td> <td class="small"><?php echo $carnum; ?> / <?php echo $ssanum; ?></td>
<?php }; ?> <?php } ?>
<td class="small"> <td class="small">
<div class="input-group input-group-sm mb-0 d-grid gap-2"> <div class="input-group input-group-sm mb-0 d-grid gap-2">
<button type="submit" name="endvisit" value="<?php echo $visitid; ?>" class="btn btn-warning btn-block btn-sm <?php if ($isvendor===1 && $finalvendorformcomplete===0) { echo "disabled"; }; ?>"><i class="fas fa-sign-out-alt"></i>&nbsp<?php echo $transLang['SIGNOUT']; ?></button> <button type="submit" name="endvisit" value="<?php echo $visitid; ?>" class="btn btn-warning btn-block btn-sm <?php if ($isvendor===1 && $finalvendorformcomplete===0) { echo "disabled"; } ?>"><i class="fas fa-sign-out-alt"></i>&nbsp<?php echo $transLang['SIGNOUT']; ?></button>
</div> </div>
<div class="input-group input-group-sm mb-0"> <div class="input-group input-group-sm mb-0">
<span class="input-group-text" data-bs-toggle="datetimepicker" data-target=".datetimepicker-<?php echo $visitid; ?>"><i class="fas fa-clock"></i></span> <span class="input-group-text" data-bs-toggle="datetimepicker" data-target=".datetimepicker-<?php echo $visitid; ?>"><i class="fas fa-clock"></i></span>
@ -679,7 +681,7 @@ if ($db_vendorinfo_workcompleted === 1 && $db_vendorinfo_sitecleanup === 1) { $f
<option value=00 selected><?php echo $transLang['COUNTRY']; ?></option> <option value=00 selected><?php echo $transLang['COUNTRY']; ?></option>
<?php foreach ($VisitInfo->getCountryInfo('%') as $row) { ?> <?php foreach ($VisitInfo->getCountryInfo('%') as $row) { ?>
<option value="<?php echo $row['countries_id']; ?>" data-sanctioned="<?php echo $row['countries_ban']; ?>"><?php echo $row['countries_name']; ?></option> <option value="<?php echo $row['countries_id']; ?>" data-sanctioned="<?php echo $row['countries_ban']; ?>"><?php echo $row['countries_name']; ?></option>
<?php }; ?> <?php } ?>
</select> </select>
<div class="invalid-feedback"><?php echo $transLang['REQUIRED']; ?></div> <div class="invalid-feedback"><?php echo $transLang['REQUIRED']; ?></div>
</div> </div>
@ -700,7 +702,7 @@ if ($db_vendorinfo_workcompleted === 1 && $db_vendorinfo_sitecleanup === 1) { $f
}); });
$('#citizen-<?php echo $visitid; ?>').trigger("change"); $('#citizen-<?php echo $visitid; ?>').trigger("change");
</script> </script>
<?php }; ?> <?php } ?>
<td class="small"> <td class="small">
<div class="input-group input-group-sm mb-0"> <div class="input-group input-group-sm mb-0">
<span class="input-group-text"><?php echo $transLang['BADGE']; ?></span> <span class="input-group-text"><?php echo $transLang['BADGE']; ?></span>
@ -713,17 +715,17 @@ if ($db_vendorinfo_workcompleted === 1 && $db_vendorinfo_sitecleanup === 1) { $f
<span class="badge bg-success text-dark"><?php echo $transLang['TAGS-FORMCOMPLETE']; ?></span>&nbsp; <span class="badge bg-success text-dark"><?php echo $transLang['TAGS-FORMCOMPLETE']; ?></span>&nbsp;
<?php } else { ?> <?php } else { ?>
<span class="badge bg-info text-dark"><?php echo $transLang['TAGS-FORMINCOMPLETE']; ?></span>&nbsp; <span class="badge bg-info text-dark"><?php echo $transLang['TAGS-FORMINCOMPLETE']; ?></span>&nbsp;
<?php }; ?> <?php } ?>
<a data-bs-toggle="modal" data-bs-target="#vendorModal-<?php echo $visitid; ?>" data-id="<?php echo $visitid; ?>" href="#vendorModal-<?php echo $visitid; ?>" name="vendorModal-<?php echo $visitid; ?>" value="<?php echo $visitid; ?>" class="open-vendorModal-<?php echo $visitid; ?>"><?php echo $transLang['VENDORINFO-FORM']; ?></a> <a data-bs-toggle="modal" data-bs-target="#vendorModal-<?php echo $visitid; ?>" data-id="<?php echo $visitid; ?>" href="#vendorModal-<?php echo $visitid; ?>" name="vendorModal-<?php echo $visitid; ?>" value="<?php echo $visitid; ?>" class="open-vendorModal-<?php echo $visitid; ?>"><?php echo $transLang['VENDORINFO-FORM']; ?></a>
</div> </div>
<?php }; ?> <?php } ?>
<input class="form-control form-control-sm" type="hidden" id="initials" name="initials" placeholder="<?php echo $uid; ?>" value="<?php echo $uid; ?>"> <input class="form-control form-control-sm" type="hidden" id="initials" name="initials" placeholder="<?php echo $uid; ?>" value="<?php echo $uid; ?>">
</td> </td>
<?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?> <?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?>
<td class="small"><?php echo $carnum; ?> / <?php echo $ssanum; ?></td> <td class="small"><?php echo $carnum; ?> / <?php echo $ssanum; ?></td>
<?php }; ?> <?php } ?>
<td class="small"> <td class="small">
<div class="input-group input-group-sm mb-0 d-grid gap-2"> <div class="input-group input-group-sm mb-0 d-grid gap-2">
<button type="submit" name="approvevisit" id="approvevisit-<?php echo $visitid; ?>" value="<?php echo $visitid; ?>" class="btn btn-success btn-block btn-sm <?php if ($isvendor===1 && $initialvendorformcomplete===0) { echo "disabled"; }; ?>"><i class="fas fa-thumbs-up"></i>&nbsp;<?php echo $transLang['APPROVE']; ?></button> <button type="submit" name="approvevisit" id="approvevisit-<?php echo $visitid; ?>" value="<?php echo $visitid; ?>" class="btn btn-success btn-block btn-sm <?php if ($isvendor===1 && $initialvendorformcomplete===0) { echo "disabled"; }; ?>"><i class="fas fa-thumbs-up"></i>&nbsp;<?php echo $transLang['APPROVE']; ?></button>
@ -741,7 +743,7 @@ if ($db_vendorinfo_workcompleted === 1 && $db_vendorinfo_sitecleanup === 1) { $f
</script> </script>
</div> </div>
</td> </td>
<?php }; ?> <?php } ?>
</form> </form>
@ -757,4 +759,4 @@ if ($db_vendorinfo_workcompleted === 1 && $db_vendorinfo_sitecleanup === 1) { $f
<!-- END VISITS LIST --> <!-- END VISITS LIST -->
<?php }; require_once("inc/footer.inc.php"); ?> <?php } require_once("inc/footer.inc.php");

View File

@ -1 +1,18 @@
<?php //PROTECT <?php
/*
* Copyright (C) 2018 josh.north@point808.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -142,4 +142,4 @@ endif;
</div> </div>
<!-- CONTENT END --> <!-- CONTENT END -->
<?php }; require_once("inc/footer.inc.php"); <?php } require_once("inc/footer.inc.php");

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -56,4 +56,4 @@
<?php echo $StaticFunctions->killSession(); ?> <?php echo $StaticFunctions->killSession(); ?>
<!-- CONTENT END --> <!-- CONTENT END -->
<?php }; require_once("inc/footer.inc.php"); <?php } require_once("inc/footer.inc.php");

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -182,4 +182,4 @@
</div> </div>
<!-- END CONTENT --> <!-- END CONTENT -->
<?php }; require_once("inc/footer.inc.php"); ?> <?php } require_once("inc/footer.inc.php");

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -562,4 +562,4 @@ if(empty($form_data['form_data_stage'])){
<!-- INVALID STAGE --> <!-- INVALID STAGE -->
<?php } ?> <?php } ?>
<?php }; require_once("inc/footer.inc.php"); ?> <?php } require_once("inc/footer.inc.php");

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -152,6 +152,6 @@ if(!empty($form_data['form_data_stage'])){
</div> </div>
</div> </div>
<!-- END ERROR --> <!-- END ERROR -->
<?php }; ?> <?php } ?>
<?php }; require_once("inc/footer.inc.php"); ?> <?php } require_once("inc/footer.inc.php");

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -126,8 +126,8 @@
</table> </table>
</form> </form>
</div> </div>
<?php }; ?> <?php } ?>
<!-- END SIGNOUT LIST --> <!-- END SIGNOUT LIST -->
<!-- CONTENT END --> <!-- CONTENT END -->
<?php }; require_once("inc/footer.inc.php"); <?php } require_once("inc/footer.inc.php");

View File

@ -1,7 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1 +1,18 @@
<?php //PROTECT <?php
/*
* Copyright (C) 2018 josh.north@point808.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -1,7 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1 +1,18 @@
<?php //PROTECT <?php
/*
* Copyright (C) 2018 josh.north@point808.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -1,7 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1 +1,18 @@
<?php //PROTECT <?php
/*
* Copyright (C) 2018 josh.north@point808.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -1,4 +1,20 @@
<?php <?php
/*
* Copyright (C) 2018 josh.north@point808.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace App\LobbySIO\Misc; namespace App\LobbySIO\Misc;

View File

@ -1,7 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -30,7 +29,7 @@ class StaticFunctions {
public function getVersion ($app_disp_lang) { public function getVersion ($app_disp_lang) {
$Translate = new \App\LobbySIO\Language\Translate($app_disp_lang); $Translate = new \App\LobbySIO\Language\Translate($app_disp_lang);
$transLang = $Translate->userLanguage(); $transLang = $Translate->userLanguage();
echo $transLang['SOFTWARE_VERSION'] . ': lobbysio_v0.19-beta'; echo $transLang['SOFTWARE_VERSION'] . ': lobbysio_v0.20-beta';
} }
public function getUTC () { public function getUTC () {

View File

@ -1 +1,18 @@
<?php //PROTECT <?php
/*
* Copyright (C) 2018 josh.north@point808.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -1 +1,18 @@
<?php //PROTECT <?php
/*
* Copyright (C) 2018 josh.north@point808.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
* Copyright (C) 2018 josh.north * Copyright (C) 2018 josh.north@point808.com
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1 +1,18 @@
<?php //PROTECT <?php
/*
* Copyright (C) 2018 josh.north@point808.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/