Example #1
0
<?php

#   ___           __ _           _ __    __     _
#  / __\ __ __ _ / _| |_ ___  __| / / /\ \ \___| |__
# / / | '__/ _` | |_| __/ _ \/ _` \ \/  \/ / _ \ '_ \
#/ /__| | | (_| |  _| ||  __/ (_| |\  /\  /  __/ |_) |
#\____/_|  \__,_|_|  \__\___|\__,_| \/  \/ \___|_.__/
#
#		-[ Created by ©Nomsoft
#		  `-[ Original core by Anthony (Aka. CraftedDev)
#
#				-CraftedWeb Generation II-
#			 __                           __ _
#		  /\ \ \___  _ __ ___  ___  ___  / _| |_
#		 /  \/ / _ \| '_ ` _ \/ __|/ _ \| |_| __|
#		/ /\  / (_) | | | | | \__ \ (_) |  _| |_
#		\_\ \/ \___/|_| |_| |_|___/\___/|_|  \__|	- www.Nomsoftware.com -
#                  The policy of Nomsoftware states: Releasing our software
#                  or any other files are protected. You cannot re-release
#                  anywhere unless you were given permission.
#                  © Nomsoftware 'Nomsoft' 2011-2012. All rights reserved.
website::getNews();
if ($GLOBALS['enableSlideShow'] == false && $GLOBALS['news']['enable'] == false) {
    buildError("<b>Configuration file error.</b>Neither the slideshow or the news are displayed, the homepage will be empty.");
    echo "Seems like the homepage was empty!";
}