forked from metin2/web
Added netbar with language selector
This commit is contained in:
84
resources/views/components/netbar/games-overview.blade.php
Normal file
84
resources/views/components/netbar/games-overview.blade.php
Normal file
@ -0,0 +1,84 @@
|
||||
{{-- To be used with <div id="mmoContent" class="mmonewsout"> --}}
|
||||
|
||||
<div id="mmoGamesOverviewPanel">
|
||||
<div id="mmoGamesOverviewToggle">
|
||||
<h4>
|
||||
<a href="#mmoGamesOverviewLists">More games<span class="mmoNbPseudoSelect_icon"></span></a>
|
||||
<span class="mmoNbBoxEdge mmoNbBoxEdge_left"></span>
|
||||
<span class="mmoNbBoxEdge mmoNbBoxEdge_right"></span>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="mmoGamesOverviewLists">
|
||||
<div id="mmoGamesOverviewCountry" class="mmo_EN"></div>
|
||||
|
||||
<!-- Section: Featured Game -->
|
||||
<h5>Featured game</h5>
|
||||
<ul id="mmoGamesOverview_featured">
|
||||
<li>
|
||||
<a href="http://web.archive.org/web/20130708185211/http://tera-europe.com/home.html?kid=5-60907-02007-1105-120281a8"
|
||||
title="The Exiled Realm of Arborea" target="_blank">
|
||||
<span id="gameImgTarget_tera" class="gameImgTarget"></span>
|
||||
<span class="gameName">TERA</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<!-- Section: Client Games -->
|
||||
<h5>MMORPGs</h5>
|
||||
<ul id="mmoGamesOverview_client">
|
||||
<li class="mmoGameIcon mmoGameIcon_wizard101 mmoGameIcon_wizard101_en">
|
||||
<a href="http://web.archive.org/web/20130708185211/http://www.wizard101.co.uk/?kid=5-47607-02007-1105-12028101"
|
||||
title="Captivating adventures, magical worlds!" target="_blank">
|
||||
<span id="gameImgTarget_wizard101" class="gameImgTarget"></span>
|
||||
Wizard101 </a>
|
||||
</li>
|
||||
<li class="mmoGameIcon mmoGameIcon_4story mmoGameIcon_4story_en">
|
||||
<a href="http://web.archive.org/web/20130708185211/http://www.4story.co.uk/?kid=5-23307-02007-1105-120281e0"
|
||||
title="For the light of truth" target="_blank">
|
||||
<span id="gameImgTarget_4story" class="gameImgTarget"></span>
|
||||
4Story </a>
|
||||
</li>
|
||||
<li class="mmoGameIcon mmoGameIcon_nostale mmoGameIcon_nostale_en">
|
||||
<a href="http://web.archive.org/web/20130708185211/http://www.nostale.co.uk/?kid=5-09107-02007-1105-1202815b"
|
||||
title="Live the legend" target="_blank">
|
||||
<span id="gameImgTarget_nostale" class="gameImgTarget"></span>
|
||||
NosTale </a>
|
||||
</li>
|
||||
<li class="mmoGameIcon mmoGameIcon_airrivals mmoGameIcon_airrivals_en">
|
||||
<a href="http://web.archive.org/web/20130708185211/http://www.airrivals.net/?kid=5-12107-02007-1105-120281db"
|
||||
title="The wings of victory" target="_blank">
|
||||
<span id="gameImgTarget_airrivals" class="gameImgTarget"></span>
|
||||
AirRivals </a>
|
||||
</li>
|
||||
<li class="mmoGameIcon mmoGameIcon_aion mmoGameIcon_aion_en">
|
||||
<a href="http://web.archive.org/web/20130708185211/http://play.aionfreetoplay.com/?kid=5-62007-02007-1105-120281eb"
|
||||
title="Earn your wings" target="_blank">
|
||||
<span id="gameImgTarget_aion" class="gameImgTarget"></span>
|
||||
AION free-to-play </a>
|
||||
</li>
|
||||
<li class="mmoGameIcon mmoGameIcon_runesofmagic mmoGameIcon_runesofmagic_en">
|
||||
<a href="http://web.archive.org/web/20130708185211/http://www.runesofmagic.com/home.html?kid=5-46807-02007-1105-120281d9"
|
||||
title="THE AWARD WINNING MMORPG" target="_blank">
|
||||
<span id="gameImgTarget_runesofmagic" class="gameImgTarget"></span>
|
||||
Runes of Magic </a>
|
||||
</li>
|
||||
<li class="mmoGameIcon mmoGameIcon_raiderz mmoGameIcon_raiderz_en">
|
||||
<a href="http://web.archive.org/web/20130708185211/http://www.raiderz-europe.com/en/free-to-play.html?kid=5-59807-02007-1105-120281dd"
|
||||
title="Unleash the hunter within!" target="_blank">
|
||||
<span id="gameImgTarget_raiderz" class="gameImgTarget"></span>
|
||||
RaiderZ-Europe </a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<!-- Section: Browser Games -->
|
||||
<h5>Browser games</h5>
|
||||
<ul id="mmoGamesOverview_browser">
|
||||
<li class="mmoGameIcon mmoGameIcon_goblinkeeper mmoGameIcon_goblinkeeper_en">
|
||||
<a href="http://web.archive.org/web/20130708185211/http://en.goblinkeeper.com/?kid=5-79607-02007-1105-120281b2"
|
||||
title="Go to hell!" target="_blank">
|
||||
<span id="gameImgTarget_goblinkeeper" class="gameImgTarget"></span>
|
||||
Goblin Keeper </a>
|
||||
</li>
|
||||
</ul>
|
||||
</div><!-- /mmoGamesOverviewLists -->
|
||||
</div><!-- /mmoGamesOverviewPanel -->
|
126
resources/views/components/netbar/main.blade.php
Normal file
126
resources/views/components/netbar/main.blade.php
Normal file
@ -0,0 +1,126 @@
|
||||
<!-- #MMO:NETBAR# -->
|
||||
<div id="pagefoldtarget"></div>
|
||||
|
||||
<noscript>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#mmonetbar {
|
||||
background: transparent url({{ asset('assets/main/img/netbar/netbar.bg.png') }}) repeat-x;
|
||||
font: normal 11px Tahoma, Arial, Helvetica, sans-serif;
|
||||
height: 32px;
|
||||
left: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 3000;
|
||||
}
|
||||
|
||||
#mmonetbar #mmoContent {
|
||||
height: 32px;
|
||||
margin: 0 auto;
|
||||
width: 1024px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#mmonetbar #mmoLogo {
|
||||
background: transparent url({{ asset('assets/main/img/netbar/netbar.sprites.png') }}) no-repeat top left;
|
||||
float: left;
|
||||
display: block;
|
||||
height: 32px;
|
||||
width: 108px;
|
||||
text-indent: -9999px;
|
||||
}
|
||||
|
||||
#mmonetbar #mmoNews, #mmonetbar #mmoGame, #mmonetbar #mmoFocus, #pagefoldtarget {
|
||||
display: none !important;
|
||||
}
|
||||
</style>
|
||||
</noscript>
|
||||
|
||||
<div id="mmonetbar" class="mmometin2">
|
||||
<div id="mmoContent" style="width: 522px;">
|
||||
{{--
|
||||
<a id="mmoLogo" target="_top" href="#" title="Gameforge.com – Feel free to play">
|
||||
Gameforge.com – Feel free to play
|
||||
</a>
|
||||
--}}
|
||||
|
||||
<!-- news -->
|
||||
<div id="mmoNews">
|
||||
<div class="mmoBoxLeft"></div>
|
||||
<div class="mmoBoxMiddle" onmouseover="mmoTickHalt=true;" onmouseout="mmoTickHalt=false;">
|
||||
<div class="mmoNewsContent">
|
||||
<div id="mmoNewsticker">
|
||||
<ul>
|
||||
<li class="mmoTickShow">
|
||||
<a target="_top" href="#">
|
||||
{{ __('app/netbar.no-news') }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a target="_top" href="#">
|
||||
{{ __('app/netbar.no-news') }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mmoBoxRight"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="mmoGame" class="mmoGame" style="width: auto;">
|
||||
<div class="mmoBoxLeft"></div>
|
||||
<div class="mmoBoxMiddle">
|
||||
|
||||
<!--<div id="mmoGames"></div>-->
|
||||
|
||||
<div id="mmoLangs">
|
||||
<label>{{ __('app/netbar.select-language') }}</label>
|
||||
<div id="mmoLangSelect" class="mmoSelectbox">
|
||||
<div id="mmoSarea1" onclick="mmoShowOptions(1)" class="mmoSelectArea">
|
||||
<div class="mmoSelectText" id="mmoMySelectContent1">
|
||||
<div id="mmoMySelectText1" class="mmoflag mmo_{{ __('app/netbar.current-language-code') }}">
|
||||
{{ __('app/netbar.current-language') }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="mmoSelectButton"></div>
|
||||
</div>
|
||||
<div class="mmoOptionsDivInvisible" id="mmoOptionsDiv1">
|
||||
<ul class="mmoLangList mmoListHeight" id="mmoList1">
|
||||
@foreach (\App\Http\Controllers\LanguageController::$supportedLanguages as $language)
|
||||
<li @class(['mmoActive' => app()->getLocale() == $language])>
|
||||
<a href="{{ route('set-language', ['language' => $language]) }}" target="_top" rel="nofollow" class="mmoflag mmo_{{ strtoupper($language) }}">
|
||||
{{ __("app/netbar.lang.{$language}") }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mmoBoxRight"></div>
|
||||
|
||||
{{-- <x-netbar.games-overview /> --}}
|
||||
</div><!-- /mmoGame -->
|
||||
<input id="mmoFocus" type="text" size="5"/>
|
||||
</div><!-- /mmoContent -->
|
||||
</div><!-- /mmonetbar -->
|
||||
|
||||
<!-- metin2/en game 08.07.2013 20:42 -->
|
||||
<script type="text/javascript">
|
||||
mmoInitSelect();
|
||||
mmoTicker();
|
||||
mmoToggleDisplay.init("mmoGamesOverviewPanel");
|
||||
</script>
|
||||
|
||||
|
||||
<!-- #/MMO:NETBAR# -->
|
Reference in New Issue
Block a user