Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b97fd2
commit 245677b
Showing
23 changed files
with
2,620 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# htaccess datei | ||
|
||
# php_flag display_errors on | ||
# php_flag html_errors on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
nothing in here yet |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
<?php | ||
|
||
/** | ||
* | ||
* @name shopControler | ||
* @package easypshop | ||
* @subpackage cmd | ||
* @author: Ruben Storm | ||
* @link http://projects.ruben-storm.eu/easypartnershop/ | ||
* @copyright Copyright (c) 2012, Ruben Storm | ||
* @link http://www.gnu.org/licenses/gpl.html | ||
* @version 0.0.5 | ||
* @since Version 0.0.5 | ||
* @license: GNU General Public License 3.0 (GPL) http://www.gnu.org/licenses/gpl.html | ||
* | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* | ||
*/ | ||
|
||
/** | ||
* | ||
* This is the main class for the Shop controler | ||
* | ||
* @version 0.0.5 | ||
* @since Version 0.0.5 | ||
* @author Ruben Storm | ||
*/ | ||
class shopControler { | ||
/** | ||
* | ||
* The default $errorMessage for the shopControler | ||
* @var type | ||
*/ | ||
static private $errorMessage = 'The controler found a system error'; | ||
|
||
private function __construct(){ | ||
// instanziierung verhindern | ||
} | ||
|
||
/** | ||
* | ||
* The public function to enter the main controler | ||
* @return type | ||
*/ | ||
static public function checkShop() { | ||
// check if the shop is ok | ||
self::_checker(); | ||
|
||
return; | ||
} | ||
|
||
/** | ||
* | ||
* The public function to check a single possition if it exists and is ok | ||
* @param type $toCheck | ||
* @return boolean | ||
*/ | ||
static public function _checkSingle($toCheck) { | ||
if (defined($toCheck)) { | ||
return true; | ||
} else { | ||
return false; | ||
} | ||
} | ||
|
||
/** | ||
* | ||
* check the system if all is ok, is called before it makes the final printout | ||
* @return type | ||
*/ | ||
static private function _checker() { | ||
// check all defines | ||
if (!defined('REQ_DOMAIN')) { | ||
libErrors::mk_Errors(self::$errorMessage, 1); | ||
} | ||
if (!defined('USE_THEME')) { | ||
libErrors::mk_Errors(self::$errorMessage, 1); | ||
} | ||
if (!defined('SHOP_SET_NAME')) { | ||
libErrors::mk_Errors(self::$errorMessage, 1); | ||
} | ||
if (!defined('SHOP_SET_DOM')) { | ||
libErrors::mk_Errors(self::$errorMessage, 1); | ||
} | ||
if (!defined('SHOP_SET_FRAME')) { | ||
libErrors::mk_Errors(self::$errorMessage, 1); | ||
} | ||
if (!defined('SHOP_SET_OWNER')) { | ||
libErrors::mk_Errors(self::$errorMessage, 1); | ||
} | ||
if (!defined('SHOP_SET_SLOGAN')) { | ||
libErrors::mk_Errors(self::$errorMessage, 1); | ||
} | ||
if (!defined('SHOP_SET_HEADER_TITLE')) { | ||
libErrors::mk_Errors(self::$errorMessage, 1); | ||
} | ||
if (!defined('SHOP_SET_HEADER_LANG')) { | ||
libErrors::mk_Errors(self::$errorMessage, 1); | ||
} | ||
if (!defined('SHOP_SET_HEADER_META_DESC')) { | ||
libErrors::mk_Errors(self::$errorMessage, 1); | ||
} | ||
if (!defined('SHOP_SET_HEADER_META_KEYW')) { | ||
libErrors::mk_Errors(self::$errorMessage, 1); | ||
} | ||
if (!defined('SHOP_LANG')) { | ||
libErrors::mk_Errors(self::$errorMessage, 1); | ||
} | ||
if (!defined('SHOW_EPS_INFO')) { | ||
libErrors::mk_Errors(self::$errorMessage, 1); | ||
} | ||
if (!defined('THEME_SETTINGS_HOMEPAGE')) { | ||
libErrors::mk_Errors(self::$errorMessage, 1); | ||
} | ||
return; | ||
|
||
|
||
} | ||
|
||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<?php | ||
|
||
/** | ||
* | ||
* @name shopManager | ||
* @package easypshop | ||
* @subpackage cmd | ||
* @author: Ruben Storm | ||
* @link http://projects.ruben-storm.eu/easypartnershop/ | ||
* @copyright Copyright (c) 2012, Ruben Storm | ||
* @link http://www.gnu.org/licenses/gpl.html | ||
* @version 0.0.5 | ||
* @since Version 0.0.5 | ||
* @license: GNU General Public License 3.0 (GPL) http://www.gnu.org/licenses/gpl.html | ||
* | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* | ||
*/ | ||
|
||
|
||
|
||
/** | ||
* | ||
* Description of shopManager | ||
* This is the manager from the shop, here is the shop build and then it | ||
* makes the output. | ||
* No required file in php because all classes get dynamic used over the loader. | ||
* | ||
* @see sysLoader | ||
* @author Ruben Storm | ||
*/ | ||
class shopManager { | ||
//put your code here | ||
/** | ||
* | ||
* The default $errorMessage for the shopManager | ||
* @var type | ||
*/ | ||
static private $errorMessage = 'Manager made a booboo'; | ||
|
||
private function __construct(){ | ||
// instanziierung verhindern | ||
} | ||
/** | ||
* | ||
* Register the system and starting the shop | ||
* @version 0.0.5 | ||
* @since 0.0.5 | ||
* @author Ruben Storm | ||
*/ | ||
static public function eps_register() { | ||
/* register everthing what have to be registered */ | ||
libDefine::mk_define(); | ||
libTheme::mk_theme(); | ||
libShopData::getShop(); | ||
shopControler::checkShop(); | ||
libShopData::getShop(); | ||
libErrors::_getError(); | ||
self::_get_Theme(); | ||
} | ||
/** | ||
* | ||
* Print the screen if all is done | ||
*/ | ||
static private function _get_Theme() { | ||
/* get the Shop header */ | ||
echo libTheme::mk_theme(); | ||
|
||
} | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<a href="http://projects.ruben-storm.eu/" target="_blank" title="Projekt Blog von Ruben Storm">Projekte</a> .::. | ||
<a href="http://ruben-storm.eu/" target="_blank" title="Blog von Ruben Storm">Blog</a> .::. | ||
<a href="http://fotoblog.ruben-storm.eu/" target="_blank" title="Fotoblog von Ruben Storm">Fotoblog</a> .::. | ||
<a href="http://games.ruben-storm.eu/" target="_blank" title="Game Blog von Ruben Storm">Games</a> .::. | ||
<a href="http://twitter.com/RubensBlog" target="_blank" title="Ruben's Blog auf Twitter">Twitter</a> .::. | ||
<a href="http://books.ruben-storm.eu/" title="Ruben's Bookstore">Bookstore</a> .::. | ||
<a href="http://dslr.ruben-storm.eu/" title="Ruben's DSLR Shop">DSLR Shop</a> .::. | ||
<a href="http://shirts.ruben-storm.eu/" title="Ruben's T-Shirt Shop">T-Shirt Shop</a> .::. | ||
<a href="http://mp3.ruben-storm.eu/" title="Ruben's MP3 Shop">MP3 Shop</a> .::. | ||
<a href="http://outdoor.ruben-storm.eu/" title="Ruben's Outdoor Shop">Outdoor Shop</a> .::. | ||
<a href="http://poster.ruben-storm.eu/" title="Ruben's Poster und Leinwand Shop">Poster & Leinwand Shop</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<script type="text/javascript"><!-- | ||
google_ad_client = "ca-pub-9162935097152697"; | ||
/* URL Shortener */ | ||
google_ad_slot = "1598235045"; | ||
google_ad_width = 728; | ||
google_ad_height = 90; | ||
//--> | ||
</script> | ||
<script type="text/javascript" | ||
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> | ||
</script> |
Oops, something went wrong.