Skip to content

Commit

Permalink
first public release
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenstorm committed Jun 1, 2012
1 parent 2b97fd2 commit 245677b
Show file tree
Hide file tree
Showing 23 changed files with 2,620 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .htaccess
@@ -0,0 +1,4 @@
# htaccess datei

# php_flag display_errors on
# php_flag html_errors on
2 changes: 2 additions & 0 deletions INSTALL
@@ -0,0 +1,2 @@

nothing in here yet
255 changes: 255 additions & 0 deletions LICENSE_DE

Large diffs are not rendered by default.

127 changes: 127 additions & 0 deletions cmd/shopControler.php
@@ -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;


}

}

?>
77 changes: 77 additions & 0 deletions cmd/shopManager.php
@@ -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();

}
}

?>
11 changes: 11 additions & 0 deletions eps_content/eps_DB/data/breadcrumb.txt
@@ -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>
11 changes: 11 additions & 0 deletions eps_content/eps_DB/data/topads.txt
@@ -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>

0 comments on commit 245677b

Please sign in to comment.