File load order
/inc/ (example public page: 'mypage')
mypage.php (creates object) loads:
html.php (class for object, $pageID = 'mypage') loads:
(1) error-reporting.php which loads:
settings.php
functions.php
(2) pages/mypage.txt output in content.php
(3) lang.php which loads:
languages/en.php
(4) top.php which loads:
ppp.php if passworded
stylesheets.php which loads:
css/common-g.css
css/stylesheet.css
css/mobile.css
css/extra.css
extra-head.php
(5) extra-body.php
(6) menu.php which loads:
inmenu.txt
(7) content.php or login-form.php if passworded
content.php loads:
extra-content.php which loads:
js/slides.js
js/simpleToggle.js
js/read-more.js
extras/index.php if extras
extras/mypage.txt if extras
comments/index.php if comments
comments/mypage.txt if comments
form.php if commenting open which loads:
stopwords.txt if commenting open
(8) footer.php
(9) tracking.php
(10) 404.php if pages/mypage.txt not found
[ html.php ends here ]