bannerFile: /var/www/bartonphillips.org/includes/banner.i.php
p:page:
<!-- "banner" for https://bartonphillips.org banner.i.php --> <header> <a href=""></a> <h1>Additional Files by SiteClass</h1> <noscript> <p style='color: red; background-color: #FFE4E1; padding: 10px'> Your browser either does not support <b>JavaScripts</b> or you have JavaScripts disabled, in either case your browsing experience will be significantly impaired. If your browser supports JavaScripts but you have it disabled consider enabaling JavaScripts conditionally if your browser supports that. Sorry for the inconvienence.</p> </noscript> </header> <!-- End "banner.i.php" -->
This file should be in your DocumentRoot or one of its sub-domains.
/*
* SPECIAL NOTE: Normal json will not allow comments.
* The siteload.php program removes the comments and then
* passes the result to json_decode(), so after the comments are
* revomve the file MUST be legal parsable json.
*
* This is mysitemap.json for a standare system.
* You can have 'doSiteClass' or 'webServer'.
* "doSiteClass": true,
* //"webServer": true,
* ...
* "dbinfo": {
* "host": "localhost",
* "user": "barton",
* "database": "bartonphillips",
* "engine": "mysql",
* },
* ...
* "headFile": "/var/www/bartonphillips.com/includes/head.i.php",
* "bannerFile": "/var/www/bartonphillips.com/includes/banner.i.php",
* "footerFile": "/var/www/bartonphillips.com/includes/footer.i.php",
*/
{
"doSiteClass": true, // This should be true so we are using full SiteClass!
//"webServer": true,
"siteDomain": "bartonphillips.com",
"siteName": "bartonphillips.com",
"mainTitle": "<h1>Barton Phillips Home Page</h1>",
"title": "this title",
"path": "/var/www/bartonphillips.com",
"className": "SiteClass",
"copyright": "Barton L. Phillips",
"author": "Barton L. Phillips, mailto:bartonphillips@gmail.com",
"address": "New Bern, North Carolina",
"favicon": "https://bartonphillips.net/images/favicon.ico",
"canonical": "https://www.bartonphillips.com",
"masterdb": "barton",
"dbinfo": {
"host": "localhost",
"user": "barton",
"database": "barton", //"bartonphillips",
"engine": "mysql",
//"engine": "sqlite", // Don't use it except experment.
"DUMMY": null // DUMMY at end with no comma
},
"errorMode": {
"development": true,
"noEmail": true,
"DUMMY": null // DUMMY at end with no comma
},
//"memberTable": "members",
"headFile": "/var/www/bartonphillips.com/includes/head.i.php",
"bannerFile": "/var/www/bartonphillips.com/includes/banner.i.php",
"footerFile": "/var/www/bartonphillips.com/includes/footer.i.php",
"trackerImg1": "/images/blp-image.png",
//"trackerImgPhone": "/images/8080cpu.jpg",
"trackerImg2": "/images/146624.png",
"EMAILADDRESS": "bartonphillips@gmail.com",
"EMAILRETURN": "bartonphillips@gmail.com",
"EMAILFROM": "webmaster@bartonphillips.com"
}
You can add or remove items. See SiteClass for getPageTopBottom(), getPageHead(), getPageBanner() and getPageFooter(). The 'mysitemap.json is put in your directory along with the 'includes' along with the Head File (head.i.php), Banner File (banner.i.php), Footer File (footer.i.php)
SiteClass Methods
Additional Files
Main SiteClass