#360 minecraft page
This commit is contained in:
parent
75a9ccd128
commit
389c181ce1
@ -6,6 +6,7 @@ require_once dirname(__FILE__).'/default_impressum/autoload.inc';
|
||||
require_once dirname(__FILE__).'/default_account/autoload.inc';
|
||||
require_once dirname(__FILE__).'/default_serverlist/autoload.inc';
|
||||
require_once dirname(__FILE__).'/default_beta/autoload.inc';
|
||||
require_once dirname(__FILE__).'/default_minecraft/autoload.inc';
|
||||
require_once dirname(__FILE__).'/default_article/autoload.inc';
|
||||
require_once dirname(__FILE__).'/default_donate/autoload.inc';
|
||||
require_once dirname(__FILE__).'/default_register/autoload.inc';
|
||||
|
||||
2
mojotrollz/page/default_minecraft/autoload.inc
Normal file
2
mojotrollz/page/default_minecraft/autoload.inc
Normal file
@ -0,0 +1,2 @@
|
||||
<?php
|
||||
\SYSTEM\autoload::registerFolder(dirname(__FILE__));
|
||||
15
mojotrollz/page/default_minecraft/default_minecraft.php
Normal file
15
mojotrollz/page/default_minecraft/default_minecraft.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
class default_minecraft implements \SYSTEM\PAGE\Page {
|
||||
public static function title(){
|
||||
return \SYSTEM\PAGE\text::get('title_minecraft');}
|
||||
public static function meta(){
|
||||
return \SYSTEM\PAGE\text::tag('meta_minecraft');}
|
||||
public static function js(){return array();}
|
||||
public static function css() {return array();}
|
||||
|
||||
public function html(){
|
||||
$vars = array();
|
||||
$vars = array_merge($vars, \SYSTEM\PAGE\text::tag('mojotrollz'));
|
||||
return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('default_minecraft/tpl/default_minecraft.tpl'))->SERVERPATH(), $vars);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
<div class="row-fluid">
|
||||
<div id="content_impressum" class="col-md-12 mojotrollz_col_content">
|
||||
${mojotrollz_minecraft_text}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<iframe src="https://www.mojotrollz.eu/minecraft?zoom=4" style="width: 100%; height: 750px; border: 0;"></iframe>
|
||||
@ -50,6 +50,7 @@
|
||||
<li class="active ontop"><a href="#content_home">${mojotrollz_mojotrollz}</a></li>
|
||||
<li class="ontop"><a href="#!serverlist">${mojotrollz_servers}</a></li>
|
||||
<li class="ontop"><a href="#!beta">${mojotrollz_beta}</a></li>
|
||||
<li class="ontop"><a href="#!minecraft">${mojotrollz_minecraft}</a></li>
|
||||
<!--<li><a href="#content_tshirts" onClick="">${mojotrollz_tshirts}</a></li>-->
|
||||
<!--<li><a href="#content_addons">${mojotrollz_addons}</a></li>-->
|
||||
</ul>
|
||||
@ -88,6 +89,7 @@
|
||||
<a href="#content_home">${mojotrollz_mojotrollz}</a><br><br>
|
||||
<a href="#!serverlist">${mojotrollz_servers}</a><br><br>
|
||||
<a href="#!beta">${mojotrollz_beta}</a><br><br>
|
||||
<a href="#!minecraft">${mojotrollz_minecraft}</a><br><br>
|
||||
<a href="#!account"><i class="glyphicon glyphicon-user"></i> ${mojotrollz_login}</a> / <a href="#!register"> REGISTER</a><br><br>
|
||||
<!--<a href="#content_tshirts">${mojotrollz_tshirts}</a><br><br>-->
|
||||
<!--<a href="#content_addons">${mojotrollz_addons}</a><br><br>-->
|
||||
|
||||
@ -24,6 +24,9 @@ class page_mojotrollz extends \SYSTEM\API\api_default {
|
||||
|
||||
public static function page_beta(/*$key=null*/){
|
||||
return (new default_beta(/*$key*/))->html();}
|
||||
|
||||
public static function page_minecraft(){
|
||||
return (new default_minecraft())->html();}
|
||||
|
||||
public static function page_article($id){
|
||||
return (new default_article($id))->html();}
|
||||
|
||||
@ -24,3 +24,5 @@ REPLACE INTO `system_page` (`id`, `group`, `name`, `state`, `parent_id`, `login`
|
||||
REPLACE INTO `system_page` (`id`, `group`, `name`, `state`, `parent_id`, `login`, `type`, `div`, `url`, `func`, `php_class`) VALUES (31, 1, 'article', 'article', -1, 0, 0, '#content', './?page=article&id=${article}', 'init_article', 'default_article');
|
||||
|
||||
REPLACE INTO `system_page` (`id`, `group`, `name`, `state`, `parent_id`, `login`, `type`, `div`, `url`, `func`, `php_class`) VALUES (35, 1, 'donate', 'donate', -1, 0, 0, '#content', './?page=donate', 'init_donate', 'default_donate');
|
||||
|
||||
REPLACE INTO `system_page` (`id`, `group`, `name`, `state`, `parent_id`, `login`, `type`, `div`, `url`, `func`, `php_class`) VALUES (40, 1, 'minecraft', 'minecraft', -1, 0, 0, '#content', './?page=minecraft', 'init_minecraft', 'default_minecraft');
|
||||
|
||||
@ -185,6 +185,11 @@ REPLACE INTO `system_text_tag` (`id`, `tag`) VALUES ('mojotrollz_client_text', '
|
||||
REPLACE INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('mojotrollz_servers_text', 'enUS', '<h3>VOTE FOR SERVERS<br></h3><p>Vote for your favorite WoW Private Server here.</p>', 10, 10, '2016-01-04 04:43:52', '2016-01-04 04:43:52');
|
||||
REPLACE INTO `system_text_tag` (`id`, `tag`) VALUES ('mojotrollz_servers_text', 'mojotrollz');
|
||||
|
||||
REPLACE INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('mojotrollz_minecraft', 'enUS', 'MINECRAFT', 10, 10, '2016-01-04 04:43:52', '2016-01-04 04:43:52');
|
||||
REPLACE INTO `system_text_tag` (`id`, `tag`) VALUES ('mojotrollz_minecraft', 'mojotrollz');
|
||||
REPLACE INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('mojotrollz_minecraft_text', 'enUS', '<h1>Mojotrollz Minecraft Server</h1><h4>Join the Mojotrollz Minecraft on <b>mojotrollz.eu</b></h4>', 10, 10, '2016-01-04 04:43:52', '2016-01-04 04:43:52');
|
||||
REPLACE INTO `system_text_tag` (`id`, `tag`) VALUES ('mojotrollz_minecraft_text', 'mojotrollz');
|
||||
|
||||
REPLACE INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('mail_change_email', 'enUS', 'Hello ${username}${newline}${newline}follow this link to change your Accounts Email-Address to ${email}${newline}${base_url}api.php?call=account&action=confirm&token=${token}${newline}${newline}Sincerely your Mojotrollz.eu Team', 10, 10, '2016-06-06 03:32:41', '2016-06-06 03:17:53');
|
||||
REPLACE INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('mail_change_email_from', 'enUS', 'admin@mojotrollz.eu', 10, 10, '2016-06-06 03:19:53', '2016-06-06 03:19:53');
|
||||
REPLACE INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('mail_change_email_replyto', 'enUS', 'admin@mojotrollz.eu', 10, 10, '2016-06-06 03:20:15', '2016-06-06 03:20:15');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user