-
Notifications
You must be signed in to change notification settings - Fork 0
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
3f83513
commit 5622c7a
Showing
80 changed files
with
27,461 additions
and
2 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,49 @@ | ||
{ | ||
"name": "MineBox", | ||
"slug": "MineBox", | ||
"author": "Kuro", | ||
"version": "1.0.0", | ||
"apiID": -1, | ||
"slider": false, | ||
"configurations": { | ||
"limit_news": "3", | ||
"ip_server": "play.mineweb.org", | ||
"favicon_url": "https:\/\/pbs.twimg.com\/media\/C7zdXpNXkAERY5e.png", | ||
"header_text_1": "Bienvenue sur", | ||
"header_text_2": "MineBox", | ||
"join_server": "Rejoignez nous sur", | ||
"header": "", | ||
"img_edit": "1", | ||
"section_infobox": "infobox", | ||
"url_logo_infobox_1": "http:\/\/oakwoodmc.net\/images\/spider.png", | ||
"url_logo_infobox_2": "", | ||
"url_logo_infobox_3": "", | ||
"url_logo_infobox_4": "https:\/\/mc.4creation.pro\/images\/forums.png", | ||
"titre_infobox_1": "INFOBOX #1", | ||
"titre_infobox_2": "INFOBOX #2", | ||
"titre_infobox_3": "INFOBOX #3", | ||
"titre_infobox_4": "INFOBOX #4", | ||
"contenu_infobox_1": "Texte infobox #1", | ||
"contenu_infobox_2": "Texte infobox #2", | ||
"contenu_infobox_3": "Texte infobox #3", | ||
"contenu_infobox_4": "Texte infobox #4", | ||
"url_infobox_1": "#", | ||
"url_infobox_2": "#", | ||
"url_infobox_3": "#", | ||
"url_infobox_4": "#", | ||
"bouton_infobox_1": "Bouton #1", | ||
"bouton_infobox_2": "Bouton #2", | ||
"bouton_infobox_3": "Bouton #3", | ||
"bouton_infobox_4": "Bouton #4", | ||
"description": "Mineweb, aussi appel\u00e9 \u00abl'excellence\u00bb, vous connaissez des serveurs meilleurs que Mineweb? C'est que vous n'\u00eates pas assez digne pour l'appr\u00e9cier comme il se doit", | ||
"copyright_text": "Serveur pvp faction qui rox", | ||
"url_da": "", | ||
"top_1": "500 points \u00e0 la fin du mois!", | ||
"top_2": "300 points \u00e0 la fin du mois!", | ||
"top_3": "100 points \u00e0 la fin du mois!", | ||
"logo": "\/img\/uploads\/theme_logo.png" | ||
}, | ||
"supported": { | ||
"CMS": "^1.6.0" | ||
} | ||
} |
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,99 @@ | ||
<div class="footer-wrap"> | ||
<footer class="footer"> | ||
<div class="container"> | ||
<!-- Widgets --> | ||
<section class="footer-widgets"> | ||
<div class="row"> | ||
<div class="col-xs-6 col-sm-3 col-md-3"> | ||
<div class="widget widget__footer"> | ||
<h4 class="widget-title"><?= $website_name ?></h4> | ||
<div class="widget-body"> | ||
<ul class="info-list"> | ||
<li><?= $theme_config['description'] ?></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-xs-6 col-sm-3 col-md-3"> | ||
<div class="widget widget__footer"> | ||
<h4 class="widget-title">Statistiques</h4> | ||
<div class="widget-body"> | ||
<ul class="info-list"> | ||
<li><i class="fa fa-angle-double-right"></i> Inscrits aujourd'hui : <b><?= ClassRegistry::init('Users')->find('count') ?></b></li> | ||
<li><i class="fa fa-angle-double-right"></i> Visites du jour : <b><?php $v = ClassRegistry::init('Visit'); ?><?= $v->getVisitsByDay(date('Y-m-d'))['count']; ?></b></li> | ||
<li><i class="fa fa-angle-double-right"></i> Achats en boutique : <b><?= ClassRegistry::init('Shop.ItemsBuyHistories')->find('count') ?></b></li> | ||
<li><i class="fa fa-angle-double-right"></i> Dernier inscrit : <b><?php $userLast = ClassRegistry::init('Users')->find('first', array('order' =>'created DESC')); echo $userLast['Users']['pseudo'] ?></b></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="clearfix visible-xs"></div> | ||
<div class="col-xs-6 col-sm-3 col-md-3"> | ||
<div class="widget widget__footer"> | ||
<h4 class="widget-title">Meilleur Voteurs</h4> | ||
<div class="widget-body"> | ||
<ul class="info-list"> | ||
<li> | ||
<div class="top-voteur"> | ||
<?php if($EyPlugin->isInstalled('eywek.vote')) { ?> | ||
<?php | ||
$users_vote = ClassRegistry::init('Vote.Vote')->find('all', [ | ||
'fields' => ['username', 'COUNT(id) AS count'], | ||
'conditions' => ['created LIKE' => date('Y') . '-' . date('m') . '-%'], | ||
'order' => 'count DESC', | ||
'group' => 'username', | ||
'limit' => 3 | ||
]); | ||
?> | ||
<?php } else { ?> | ||
<div class="alert alert-danger"><b>Erreur :</b> Le plugin vote n'est pas installé.</div> | ||
<?php } ?> | ||
<?php $i_cl = 0;foreach($users_vote as $userv): $i_cl++; ?> | ||
<div class="player-info"> | ||
<div class="title-votes"> | ||
<img src='<?= $this->Html->url(['controller' => 'API', 'action' => 'get_head_skin', 'plugin' => false, $userv['Vote']['username'], 32]); ?>' class='img-rounded' alt=''> | ||
</div> | ||
|
||
<strong class="player-name" style="text-transform: uppercase"><?= $userv['Vote']['username']; ?></strong> | ||
<div class="votes"><?= $userv[0]['count']; ?> vote<?php if($userv[0]['count'] == 1){ ?> <?php }else{ ?>s<?php }?></div> | ||
</div> | ||
<?php endforeach; ?> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-xs-6 col-sm-3 col-md-3"> | ||
<div class="widget widget__footer"> | ||
<h4 class="widget-title">Social</h4> | ||
<div class="widget-body"> | ||
<ul class="social-list social-list__footer list-unstyled"> | ||
<?php if (!empty($findSocialButtons)): foreach ($findSocialButtons as $key => $value): ?> | ||
<?php endforeach; endif; ?> | ||
<?php if(!empty($facebook_link)): ?> | ||
<li><a href="<?= $facebook_link ?>"><i class="fa fa-facebook"></i></a></li> | ||
<?php endif; if(!empty($twitter_link)): ?> | ||
<li><a href="<?= $twitter_link ?>"><i class="fa fa-twitter"></i></a></li> | ||
<?php endif; if(!empty($youtube_link)): ?> | ||
<li><a href="<?= $youtube_link ?>"><i class="fa fa-youtube"></i></a></li> | ||
<?php endif; if(!empty($skype_link)): ?> | ||
<li><a href="<?= $skype_link ?>"><i class="fa fa-skype"></i></a></li> | ||
<?php endif; ?> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</footer> | ||
|
||
<div class="copyright"> | ||
<div class="container"> | ||
<a href="#" target="_blank"><b><?= $website_name ?></b></a> - <?php echo date("Y");?> | <?= $theme_config['copyright_text']; ?><br/> | ||
<span class="copy-txt">Thème <b>MineBox</b> par <b>Kuro</b> | Propulsé par <a href="http://www.mineweb.org" target="_blank"><b>Mineweb</b></a></span> | ||
|
||
</div> | ||
</div> | ||
</div> |
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,48 @@ | ||
<div class="top-wrapper" style="background-image: url('<?php if(empty($theme_config['header'])) { echo "/theme/MineBox/images/header.png"; } else { echo $theme_config['header']; } ?>')"> | ||
<div class="tp-banner-holder"> | ||
<div class="tp-banner-holder-inner"> | ||
<div class="tp-banner-container"> | ||
<div class="tp-banner" > | ||
<ul> | ||
<li data-transition="fadetobottomfadefromtop" data-slotamount="7" data-masterspeed="1500" > | ||
<img src="/theme/MineBox/images/transparent.png" alt="slidebg1" data-bgfit="cover" data-bgposition="left top" data-bgrepeat="no-repeat"> | ||
<div class="tp-caption eco-large eco-color-primary customin customout fadeout" | ||
data-x="415" | ||
data-y="190" | ||
data-speed="500" | ||
data-start="400" | ||
data-easing="Power4.easeOut" | ||
data-customin="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:5;scaleY:5;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;" | ||
data-customout="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0.75;scaleY:0.75;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;" | ||
data-endeasing="Power1.easeIn"><?= $theme_config['header_text_1']; ?> | ||
</div> | ||
<div class="tp-caption eco-lg-light customin customout fadeout" | ||
data-x="455" | ||
data-y="230" | ||
data-speed="800" | ||
data-start="1200" | ||
data-customin="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:5;scaleY:5;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;" | ||
data-customout="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0.75;scaleY:0.75;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;" | ||
data-easing="Power4.easeOut"><?= $theme_config['header_text_2']; ?> | ||
</div> | ||
|
||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
|
||
<div class="slider-infobar"> | ||
<i class="fa infobar-trigger"></i> | ||
<ul> | ||
<li> | ||
<span class="highlight">Il y a <?= $server_infos['GET_PLAYER_COUNT'] ?> Joueur en ligne</span> | ||
</li> | ||
<li> | ||
<span class="highlight"><?= $theme_config['ip_server']; ?></span> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.