This is an old revision of the document!
Goals:
PHP - AWS server - SQL for data - SSL protected
The current test server that will role into the base server is here: testweb.agtek.com. I'll change the DNS when appropriate to reflect the change:
NOTE: This server does currently support the active website for form processing so do NOT leave it down and take care on rebooting. Also, the process of turning on certificates caused a problem when originating on the current AGTEK websites. Most likely due to change between hosts
Some pages like videos and downloads require user authentication to be accessed. On any protected page the following php include (protect.php) is placed to both check a session variable 'accessp' for a setting of “yep” or send the user to the login screen while remembering the page the user was attempting to access. Protect.php looks like this right now:
<?php session_start(); $url = "http://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}"; $escaped_url = htmlspecialchars( $url, ENT_QUOTES, 'UTF-8' ); $_SESSION["lastpage"] = $escaped_url; $access=$_SESSION['accessp']; // Set the access variable = to the session variable accessp if($access<>"yep") // check to see session check is correct { //header("Location: /login.html"); header("Location: http://testweb.agtek.com/login.html"); //echo "<span onload='droploginFunction()'></span>"; //echo "<script async='async'>document.getElementById('loginscreen').style.display = 'inline-block';</script>"; // echo "<script >document.getElementById('myDropdown').classList.toggle('show');</script>"; // header("Location: #loginscreen"); die(); } ?>
Authentication currently uses a SQL database for the comparison but ideally will use the access key system to set session variable. If we find we want a different login page or session variable, changing the code above to reflect that will propagate the change easily.
Admin Page - Needs authentication added http://testweb.agtek.com/agadmin.php
Allowing different Stakeholder to keep their data up to date
Support System pages - Peter
Video pages - Greg
Marketing/Sales - Takeoff Services list, modeling services list, Webinar landing and other supporting pages
Software downloads - Ted
Authentication - Derived from license server -
Marketing pages (product text)
Using an include for some header information including CSS versioning to allow forcing CSS updates through renames. Currently some small CSS changes don't propagate to existing users because of browser caching. It's not practical to change all pages other than an include
Description | Usage | Color |
---|---|---|
AGTEK Blue | Logo | #00469A |
Button Orange | Buttons | #DEA653 |
Button Orange Hover | Hover buttons | #D68F27 |
Section Background(white-yellow cast | Background Sections | #FFF0D7 |
Header Text Dk Gray | #6D6D6D | |
Footer Gray | Bottom footer | #3C4544 |
Header -transparent | Transparent header | |
Section Gray | Section background | |
Icon Text | #808080 | |
Link | Links | #DCA459 |
Link Hover | #4D4D4D | |
Icon color | Icon background | #B7E4FB |
These are the assigned page ID's currently in use. The master css file is here:
Page | Page-id |
---|---|
Home Page | 5 |
Support | 12 |
Login | 13 |
14 | |
Forgotpassword | 15 |
Theresa Payment Form | 16 |
Products | 20 |
Product Concepts | 21 |
About | 30 |
Training Videos Home | 50 |
Hardware | 60 |
Training Video program page | 51 |
Flyers | 90 |
Job Examples | 100 |
Program Page | 110 |
Software | 110 |
Newsletter | 120 |
Training | 121 |
Registration | 122 |
Video | |
Contact | 155 |
Newsletter signup form | 156 |
Web Training | 157 |
Release Notes | 200 |
Feature Notes | 201 |
Connections | 250 |
Learning | 251 |
Employers, Universities | 252 |
Webinars | 253 |
Webinar Video Form | 254 |
Newsletter Archive | 255 |
Video Individual | 300 |
Jobs | 400 |