Warning: Undefined array key "LMAccountLoggedIn" in /home/hampso6/labsandmore/admin/user_loggedin_check.php on line 5

Warning: Cannot modify header information - headers already sent by (output started at /home/hampso6/labsandmore/admin/user_loggedin_check.php:5) in /home/hampso6/labsandmore/admin/user_loggedin_check.php on line 12
Admin Dashboard
Dragon Tiger

Coding Notes

Fancybox v5.0.17

Setup

header_scripts.php, CSS file
footer_scripts.php, JS file


Close iFrame popup



Regular Gallery Picture



Iframe

View Page NO RELOAD
Inline Setup - referencing data-fancybox="ViewPage", also make sure to have data-preload="false"

View Page RELOAD
Inline Setup - referencing data-fancybox="ReloadPage", also make sure to have data-preload="false"
SAME PAGE scripting, notice location.href is set.

Launch from ID
Inline Setup - ID is set

Refresh parent page after iframe fancybox popup v3.5.7

CLASS

Be sure to put this on the PARENT Page for it to work.

ID (not using class)

Notice this one doesn't have the after close function wrapping around the inside

Google Captcha V3

Admin url: https://www.google.com/recaptcha/admin/site/345665355
https://stackoverflow.com/questions/50405977/how-to-verify-google-recaptcha-v3-response
https://developers.google.com/recaptcha/docs/verify
https://codeforgeek.com/google-recaptcha-v3-tutorial/
https://medium.com/@ben.ritthichai/implementing-and-testing-recaptcha-v3-in-your-front-end-41def016d3b5

AutoComplete Boxes

header_scripts.php, CSS file
footer_scripts.php, JS file

Create the INPUT box, using different id (for script) and Name for passing value Add the code after the foot scripts
Create the .php page that searches the database (referenced in the script tag)

Date Time Picker