Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<?php
2
 
3
/***************************************************************************
4
 *   Copyright (C) 2009-2011 by Geo Varghese(www.seopanel.in)  	           *
5
 *   sendtogeo@gmail.com   												   *
6
 *                                                                         *
7
 *   This program is free software; you can redistribute it and/or modify  *
8
 *   it under the terms of the GNU General Public License as published by  *
9
 *   the Free Software Foundation; either version 2 of the License, or     *
10
 *   (at your option) any later version.                                   *
11
 *                                                                         *
12
 *   This program is distributed in the hope that it will be useful,       *
13
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
14
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
15
 *   GNU General Public License for more details.                          *
16
 *                                                                         *
17
 *   You should have received a copy of the GNU General Public License     *
18
 *   along with this program; if not, write to the                         *
19
 *   Free Software Foundation, Inc.,                                       *
20
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
21
 ***************************************************************************/
22
 
23
# super class defines all seo panel functions
24
class Seopanel{
25
 
26
	var $data;
27
 
28
	# function load seo panel
29
	function loadSeoPanel() {
30
 
31
		# include main classes
32
		include_once(SP_LIBPATH.'/session.class.php');
33
		include_once(SP_LIBPATH.'/controller.class.php');
34
		include_once(SP_LIBPATH.'/view.class.php');
35
		include_once(SP_LIBPATH.'/validation.class.php');
36
		include_once(SP_LIBPATH.'/spider.class.php');
37
		include_once(SP_LIBPATH.'/paging.class.php');
38
		include_once(SP_LIBPATH.'/pchart.class.php');
39
		include_once(SP_LIBPATH.'/pdata.class.php');
40
		include_once(SP_LIBPATH.'/xmlparser.class.php');
41
		include_once(SP_LIBPATH.'/captcha.class.php');
42
		include_once(SP_LIBPATH.'/phpmailer.class.php');
43
		include_once(SP_LIBPATH.'/smtp.class.php');
44
		@Session::startSession();
45
 
46
		# include common functions
47
		include_once(SP_INCPATH.'/sp-common.php');
48
 
49
		# include coomon controllers classes
50
		include_once(SP_CTRLPATH.'/country.ctrl.php');
51
		include_once(SP_CTRLPATH.'/language.ctrl.php');
52
		include_once(SP_CTRLPATH.'/website.ctrl.php');
53
		include_once(SP_CTRLPATH.'/user.ctrl.php');
54
		include_once(SP_CTRLPATH.'/user-type.ctrl.php');
55
		include_once(SP_CTRLPATH.'/settings.ctrl.php');
56
		include_once(SP_CTRLPATH."/crawllog.ctrl.php");
57
		include_once(SP_CTRLPATH.'/timezone.ctrl.php');
58
		include_once(SP_CTRLPATH.'/searchengine.ctrl.php');
59
		include_once(SP_CTRLPATH.'/currency.ctrl.php');
60
		include_once(SP_CTRLPATH.'/seoplugins.ctrl.php');
61
		include_once(SP_CTRLPATH.'/alerts.ctrl.php');
62
 
63
	}
64
 
65
	# to set variable to render
66
	function set($varName, $varValue){
67
		$this->controller->set($varName, $varValue);
68
	}
69
 
70
}
71
?>