"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libs/seopanel.class.php" between
seopanel.v.4.5.0.zip and seopanel.v.4.6.0.zip

About: Seo Panel is a seo control panel for managing search engine optimization of your websites.

seopanel.class.php  (seopanel.v.4.5.0):seopanel.class.php  (seopanel.v.4.6.0)
skipping to change at line 28 skipping to change at line 28
* along with this program; if not, write to the * * along with this program; if not, write to the *
* Free Software Foundation, Inc., * * Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/ ***************************************************************************/
# super class defines all seo panel functions # super class defines all seo panel functions
class Seopanel{ class Seopanel{
var $data; var $data;
# function load seo panel // function load seo panel
function loadSeoPanel() { function loadSeoPanel() {
# include main classes # include main classes
include_once(SP_LIBPATH.'/session.class.php'); include_once(SP_LIBPATH.'/session.class.php');
include_once(SP_LIBPATH.'/controller.class.php'); include_once(SP_LIBPATH.'/controller.class.php');
include_once(SP_LIBPATH.'/view.class.php'); include_once(SP_LIBPATH.'/view.class.php');
include_once(SP_LIBPATH.'/validation.class.php'); include_once(SP_LIBPATH.'/validation.class.php');
include_once(SP_LIBPATH.'/spider.class.php'); include_once(SP_LIBPATH.'/spider.class.php');
include_once(SP_LIBPATH.'/paging.class.php'); include_once(SP_LIBPATH.'/paging.class.php');
include_once(SP_LIBPATH.'/pchart.class.php'); include_once(SP_LIBPATH.'/pchart.class.php');
include_once(SP_LIBPATH.'/pdata.class.php'); include_once(SP_LIBPATH.'/pdata.class.php');
include_once(SP_LIBPATH.'/xmlparser.class.php'); include_once(SP_LIBPATH.'/xmlparser.class.php');
include_once(SP_LIBPATH.'/captcha.class.php'); include_once(SP_LIBPATH.'/captcha.class.php');
include_once(SP_LIBPATH.'/phpmailer.class.php'); include_once(SP_LIBPATH.'/phpmailer.class.php');
include_once(SP_LIBPATH.'/smtp.class.php'); include_once(SP_LIBPATH.'/smtp.class.php');
@Session::startSession(); @Session::startSession();
# include common functions // include common functions
include_once(SP_INCPATH.'/sp-common.php'); include_once(SP_INCPATH.'/sp-common.php');
# include coomon controllers classes // include coomon controllers classes
include_once(SP_CTRLPATH.'/country.ctrl.php'); include_once(SP_CTRLPATH.'/country.ctrl.php');
include_once(SP_CTRLPATH.'/language.ctrl.php'); include_once(SP_CTRLPATH.'/language.ctrl.php');
include_once(SP_CTRLPATH.'/website.ctrl.php'); include_once(SP_CTRLPATH.'/website.ctrl.php');
include_once(SP_CTRLPATH.'/user.ctrl.php'); include_once(SP_CTRLPATH.'/user.ctrl.php');
include_once(SP_CTRLPATH.'/user-type.ctrl.php'); include_once(SP_CTRLPATH.'/user-type.ctrl.php');
include_once(SP_CTRLPATH.'/settings.ctrl.php'); include_once(SP_CTRLPATH.'/settings.ctrl.php');
include_once(SP_CTRLPATH."/crawllog.ctrl.php"); include_once(SP_CTRLPATH."/crawllog.ctrl.php");
include_once(SP_CTRLPATH.'/timezone.ctrl.php'); include_once(SP_CTRLPATH.'/timezone.ctrl.php');
include_once(SP_CTRLPATH.'/searchengine.ctrl.php'); include_once(SP_CTRLPATH.'/searchengine.ctrl.php');
include_once(SP_CTRLPATH.'/currency.ctrl.php'); include_once(SP_CTRLPATH.'/currency.ctrl.php');
include_once(SP_CTRLPATH.'/seoplugins.ctrl.php'); include_once(SP_CTRLPATH.'/seoplugins.ctrl.php');
include_once(SP_CTRLPATH.'/alerts.ctrl.php'); include_once(SP_CTRLPATH.'/alerts.ctrl.php');
} }
# to set variable to render // to set variable to render
function set($varName, $varValue){ function set($varName, $varValue){
$this->controller->set($varName, $varValue); $this->controller->set($varName, $varValue);
} }
function setSpecialConditionalAccessGlobals() {
// section to set SP_CUSTOM_DEV to provid eread access to users
$customAccessUser = false;
$userId = isLoggedIn();
if ($userId && !isAdmin() && isPluginActivated("Subscription")) {
$userTypeCtler = new UserTypeController();
$userAccessType = $userTypeCtler->getUserAccessType($userId);
$customAccessUser = ($userAccessType == 'read') ? true :
false;
}
define('SP_CUSTOM_DEV', $customAccessUser);
}
} }
?> ?>
 End of changes. 5 change blocks. 
4 lines changed or deleted 19 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)