forked from metin2/web
WIP: started implementing shop, multi-language
This commit is contained in:
25
resources/views/errors/shop-notfound.blade.php
Normal file
25
resources/views/errors/shop-notfound.blade.php
Normal file
@ -0,0 +1,25 @@
|
||||
@extends('layouts.shop')
|
||||
|
||||
@section('content')
|
||||
<div id="mainContent">
|
||||
<h1>Error 404</h1>
|
||||
<div class="dynContent">
|
||||
<div class="item" id="confirmBox">
|
||||
<div class="itemDesc confirmDesc">
|
||||
<div class="thumbnailBgSmall">
|
||||
<img src="{{ asset('assets/shop/img/error.png') }}" width="63px" height="63px" alt="Error" />
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<span class="confirmTitle">Website error!</span><br />
|
||||
</p>
|
||||
|
||||
<p>The page you requested could not be found.</p>
|
||||
|
||||
<br class="clearfloat" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="endContent"></div>
|
||||
</div>
|
||||
@endsection
|
@ -1,9 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||
|
||||
<title>{{ config('app.name', 'Metin2') }} - Acțiunea Orientală MMORPG</title>
|
||||
<title>{{ config('app.name', 'Metin2') }} - {{ __('app/main.title') }}</title>
|
||||
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
|
||||
<meta name="description" content="MMORPG Metin2" />
|
||||
@ -110,9 +110,15 @@
|
||||
@guest
|
||||
<div class="header-box">
|
||||
<div id="regBtn">
|
||||
<a id="toReg" href="{{ url('user/register') }}" title="Joacă gratis acum!">Descarcă gratis Metin2 acum!</a>
|
||||
<a id="toReg" href="{{ url('user/register') }}" title="{{ __('app/main.header.register_alt') }}">
|
||||
{{ __('app/main.header.register') }}
|
||||
</a>
|
||||
<div id="regSteps">
|
||||
<a href="{{ url('user/register') }}" title="Joacă gratis acum!"><span>1. Înregistrare </span> » <span>2. Activează </span> » <span>3. Descarcă și joacă pe gratis</span></a>
|
||||
<a href="{{ url('user/register') }}" title="{{ __('app/main.header.register_alt') }}">
|
||||
<span>{{ __('app/main.header.register_steps_1') }}</span> »
|
||||
<span>{{ __('app/main.header.register_steps_2') }}</span> »
|
||||
<span>{{ __('app/main.header.register_steps_3') }}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -129,14 +135,26 @@
|
||||
</div>
|
||||
@else
|
||||
<div id="userBox">
|
||||
<div class="welcome-text welcome-text-left">Bun venit, {{ Auth::user()->login }}</div>
|
||||
<div class="welcome-text welcome-text-right">Ai {{ Auth::user()->cash }} Monede Dragon</div>
|
||||
<div class="welcome-text welcome-text-left">{{ __('app/main.header.welcome', ['name' => Auth::user()->login]) }}</div>
|
||||
<div class="welcome-text welcome-text-right">{{ __('app/main.header.cash_balance', ['cash' => Auth::user()->cash]) }}</div>
|
||||
<br class="clearfloat" />
|
||||
<div class="header-box-nav-container">
|
||||
<ul class="header-box-nav-login" style="position:absolute; margin-left:-0px;">
|
||||
<li class="stepdown"><a href="#" class="nav-box-btn nav-box-btn-1">Încarcă MD</a></li>
|
||||
<li class="stepdown"><a href="{{ url('user/administration') }}" class="nav-box-btn nav-box-btn-2">Datele utilizatorului</a></li>
|
||||
<li class="stepdown"><a href="{{ url('user/logout') }}" class="nav-box-btn nav-box-btn-4">Delogare</a></li>
|
||||
<li class="stepdown">
|
||||
<a href="#" class="nav-box-btn nav-box-btn-1">
|
||||
{{ __('app/main.header.nav.buy_coins') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="stepdown">
|
||||
<a href="{{ url('user/administration') }}" class="nav-box-btn nav-box-btn-2">
|
||||
{{ __('app/main.header.nav.administration') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="stepdown">
|
||||
<a href="{{ url('user/logout') }}" class="nav-box-btn nav-box-btn-4">
|
||||
{{ __('app/main.header.nav.logout') }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -154,15 +172,15 @@
|
||||
<div class="modul-box-bg-bottom">
|
||||
<!-- main navigation -->
|
||||
<ul class="main-nav">
|
||||
<li class="active"><a href="{{ url('/') }}">Start</a></li>
|
||||
<li><a href="{{ url('main/thegame') }}">Jocul</a></li>
|
||||
<li><a href="{{ url('main/media') }}">Galerie</a></li>
|
||||
<li><a href="{{ url('main/howto') }}">Primii pași</a></li>
|
||||
<li><a href="{{ url('main/community') }}">Comunitate</a></li>
|
||||
<li><a href="{{ url('main/wiki') }}">Wiki</a></li>
|
||||
<li><a href="{{ url('main/board') }}">Forum</a></li>
|
||||
<li><a href="{{ url('main/download') }}">Descărcare</a></li>
|
||||
<li><a href="{{ url('main/account') }}">Securitate</a></li>
|
||||
<li class="active"><a href="{{ url('/') }}">{{ __('app/main.nav.home') }}</a></li>
|
||||
<li><a href="{{ url('main/thegame') }}">{{ __('app/main.nav.thegame') }}</a></li>
|
||||
<li><a href="{{ url('main/media') }}">{{ __('app/main.nav.media') }}</a></li>
|
||||
<li><a href="{{ url('main/howto') }}">{{ __('app/main.nav.howto') }}</a></li>
|
||||
<li><a href="{{ url('main/community') }}">{{ __('app/main.nav.community') }}</a></li>
|
||||
<li><a href="{{ url('main/wiki') }}">{{ __('app/main.nav.wiki') }}</a></li>
|
||||
<li><a href="{{ url('main/board') }}">{{ __('app/main.nav.board') }}</a></li>
|
||||
<li><a href="{{ url('main/download') }}">{{ __('app/main.nav.download') }}</a></li>
|
||||
<li><a href="{{ url('main/account') }}">{{ __('app/main.nav.account') }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -178,26 +196,26 @@
|
||||
<div class="modul-box">
|
||||
<div class="modul-box-bg">
|
||||
<div class="modul-box-bg-bottom">
|
||||
<h3>Logare</h3>
|
||||
<h3>{{ __('app/main.login.title') }}</h3>
|
||||
<form action="{{ url('user/login') }}" method="post">
|
||||
@csrf
|
||||
|
||||
<div class="form-login">
|
||||
<label>Nume de utilizator</label>
|
||||
<label>{{ __('app/main.login.username') }}</label>
|
||||
<div class="input">
|
||||
<input type="text" name="login"><br>
|
||||
</div>
|
||||
|
||||
<label>Parola</label>
|
||||
<label>{{ __('app/main.login.password') }}</label>
|
||||
<div class="input">
|
||||
<input type="password" name="password"><br>
|
||||
</div>
|
||||
<div>
|
||||
<input type="submit" class="button btn-login" value="Login">
|
||||
<input type="submit" class="button btn-login" value="{{ __('app/main.login.btn_login') }}">
|
||||
<p class="agbok">
|
||||
Intrând aici, accept <a href="{{ url('legal/terms') }}"><strong>Termenii și condițiile</strong></a>.
|
||||
<a href="{{ url('user/passwordlostrequest') }}" rel="nofollow" class="password">Ai uitat parola?</a>
|
||||
<a href="{{ url('user/resendack') }}" rel="nofollow" class="password">Retrimiterea emailului de înregistrare</a>
|
||||
{!! Str::inlineMarkdown(__('app/main.login.agree_terms', ['url' => url('legal/terms')])) !!}
|
||||
<a href="{{ url('user/passwordlostrequest') }}" rel="nofollow" class="password">{{ __('app/main.login.forgot_password') }}</a>
|
||||
<a href="{{ url('user/resendack') }}" rel="nofollow" class="password">{{ __('app/main.login.resend_ack') }}</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -211,7 +229,7 @@
|
||||
<div class="modul-box modul-box-2">
|
||||
<div class="modul-box-bg">
|
||||
<div class="modul-box-bg-bottom">
|
||||
<h3>Descărcare</h3>
|
||||
<h3>{{ __('app/main.nav.download') }}</h3>
|
||||
<a href="{{ url('main/download') }}" class="btn download-btn"></a>
|
||||
</div>
|
||||
</div>
|
||||
@ -220,7 +238,7 @@
|
||||
<div class="modul-box modul-box-2">
|
||||
<div class="modul-box-bg">
|
||||
<div class="modul-box-bg-bottom">
|
||||
<h3>Descărcare</h3>
|
||||
<h3>{{ __('app/main.nav.download') }}</h3>
|
||||
<a href="{{ url('main/download') }}" class="btn download-btn"></a>
|
||||
</div>
|
||||
</div>
|
||||
@ -231,8 +249,8 @@
|
||||
<div class="modul-box modul-box-2">
|
||||
<div class="modul-box-bg">
|
||||
<div class="modul-box-bg-bottom">
|
||||
<h3>Magazinul de item-uri</h3>
|
||||
<a href="/is/" class="itemshop btn itemshop-btn iframe" title="Magazinul de item-uri"></a>
|
||||
<h3>{{ __('app/main.nav.itemshop') }}</h3>
|
||||
<a href="{{ url('shop') }}" class="itemshop btn itemshop-btn iframe" title="{{ __('app/main.nav.itemshop') }}"></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -249,35 +267,35 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
--}}
|
||||
|
||||
<div class="boxes-middle"></div>
|
||||
<div class="modul-box modul-box-2">
|
||||
<div class="modul-box-bg">
|
||||
<div class="modul-box-bg-bottom">
|
||||
<h3>Competitia Cosplay</h3>
|
||||
<a id="contest" href="{{ url('contest') }}" class="btn cosplay-btn" title="Competitia Cosplay"></a>
|
||||
<div class="boxes-middle"></div>
|
||||
<div class="modul-box modul-box-2">
|
||||
<div class="modul-box-bg">
|
||||
<div class="modul-box-bg-bottom">
|
||||
<h3>Competitia Cosplay</h3>
|
||||
<a id="contest" href="{{ url('contest') }}" class="btn cosplay-btn" title="Competitia Cosplay"></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
--}}
|
||||
|
||||
<div class="boxes-middle"> </div>
|
||||
|
||||
<div class="modul-box modul-box-2">
|
||||
<div class="modul-box-bg">
|
||||
<div class="modul-box-bg-bottom">
|
||||
<h3>Clasament</h3>
|
||||
<h3 style="margin-top:0">Jucători</h3>
|
||||
<h3>{{ __('app/main.ranking.title') }}</h3>
|
||||
<h3 style="margin-top:0">{{ __('app/main.ranking.players') }}</h3>
|
||||
<div class="form-score">
|
||||
<div id="highscore-player">
|
||||
<ul><li><div class="empire2"><strong class="offset">1</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/highscore" class="first">picyu3</a></div></li><li class="light"><div class="empire1"><strong class="offset">2</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/highscore">XXXMEN77</a></div></li><li><div class="empire1"><strong class="offset">3</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/highscore">Spydy</a></div></li><li class="light"><div class="empire3"><strong class="offset">4</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/highscore">beLeSe</a></div></li><li><div class="empire2"><strong class="offset">5</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/highscore">alexdenis</a></div></li><li class="light"><div class="empire3"><strong class="offset">6</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/highscore">Pixie03</a></div></li><li><div class="empire3"><strong class="offset">7</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/highscore">KingARAGORN</a></div></li><li class="light"><div class="empire1"><strong class="offset">8</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/highscore">SCORPIO1</a></div></li><li><div class="empire2"><strong class="offset">9</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/highscore">Parazltu</a></div></li><li class="light"><div class="empire2"><strong>10</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/highscore">Sayana</a></div></li></ul> </div>
|
||||
<a href="{{ url('main/highscore') }}" class="btn" rel="nofollow">Tot clasamentul</a>
|
||||
<a href="{{ url('main/highscore') }}" class="btn" rel="nofollow">{{ __('app/main.ranking.btn_highscore') }}</a>
|
||||
</div>
|
||||
<h3 style="margin-top:0">Bresle</h3>
|
||||
<h3 style="margin-top:0">{{ __('app/main.ranking.guilds') }}</h3>
|
||||
<div class="form-score">
|
||||
<div id="highscore-guild">
|
||||
<ul><li><div class="empire2"><strong class="offset">1</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/guildhighscore" class="first">InStyle</a></div></li><li class="light"><div class="empire3"><strong class="offset">2</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/guildhighscore">ISENGARD</a></div></li><li><div class="empire2"><strong class="offset">3</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/guildhighscore">TheRulers</a></div></li><li class="light"><div class="empire2"><strong class="offset">4</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/guildhighscore">A55A55INII</a></div></li><li><div class="empire3"><strong class="offset">5</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/guildhighscore">TheElfs</a></div></li><li class="light"><div class="empire3"><strong class="offset">6</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/guildhighscore">MAESTRIIpur</a></div></li><li><div class="empire2"><strong class="offset">7</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/guildhighscore">NeBuNaTiCii</a></div></li><li class="light"><div class="empire1"><strong class="offset">8</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/guildhighscore">TheGoDs</a></div></li><li><div class="empire2"><strong class="offset">9</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/guildhighscore">7UP</a></div></li><li class="light"><div class="empire2"><strong>10</strong>–<a href="https://web.archive.org/web/20130621071508/http://www.metin2.ro/main/guildhighscore">ReVoLuTioN</a></div></li></ul> </div>
|
||||
<a href="{{ url('main/guildhighscore') }}" class="btn" rel="nofollow">Tot clasamentul</a>
|
||||
<a href="{{ url('main/guildhighscore') }}" class="btn" rel="nofollow">{{ __('app/main.ranking.btn_highscore') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -301,9 +319,9 @@
|
||||
<li class="first">
|
||||
© 2006 YMIR Entertainment Co., Ltd., Published by Gameforge 4D GmbH. All rights reserved. All trademarks are the property of their respective owners.
|
||||
</li>
|
||||
<li class="impressum"><a href="{{ url('legal/imprint') }}" target="_blank" rel="nofollow">Imprint</a></li>
|
||||
<li><a href="{{ url('legal/terms') }}" target="_blank" rel="nofollow">Condiţiile Generale de Utilizare</a></li>
|
||||
<li><a href="{{ url('legal/privacy') }}" target="_blank" rel="nofollow">Politica de confidențialitate</a></li>
|
||||
<li class="impressum"><a href="{{ url('legal/imprint') }}" target="_blank" rel="nofollow">{{ __('app/main.footer.imprint') }}</a></li>
|
||||
<li><a href="{{ url('legal/terms') }}" target="_blank" rel="nofollow">{{ __('app/main.footer.terms') }}</a></li>
|
||||
<li><a href="{{ url('legal/privacy') }}" target="_blank" rel="nofollow">{{ __('app/main.footer.privacy') }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,9 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<title>Gameforge</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="shortcut icon" href="https://web.archive.org/web/20130716041220im_/http://www.gameforge.de/cms_images/favicon.ico"/>
|
||||
<link rel="shortcut icon" href="{{ asset('favicon.ico') }}"/>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
html, body, a {
|
||||
|
171
resources/views/layouts/shop.blade.php
Normal file
171
resources/views/layouts/shop.blade.php
Normal file
@ -0,0 +1,171 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<title>{{ __('shop/main.title') }}</title>
|
||||
<link href="{{ asset('assets/shop/css/style.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('assets/shop/css/start.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('assets/shop/css/options.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('assets/shop/css/discount.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('assets/shop/css/tiptip.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('assets/shop/css/fancybox.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('assets/shop/css/jScrollPane.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('assets/shop/css/promoted.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('assets/shop/css/pending.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('assets/shop/css/usermenu.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('assets/shop/css/purchase.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('assets/shop/css/wheel.css') }}" rel="stylesheet" type="text/css" />
|
||||
<!--[if IE]>
|
||||
<style type="text/css">@import url(https://gf1.geo.gfsrv.net/cdn9a/6ea1bf4927ebc189a9ad0a0e2d7140.css);</style>
|
||||
<style type="text/css">@import url(https://gf1.geo.gfsrv.net/cdn3e/8a0cdb2c5a2e9c5af58e1dcdee50e7.css);</style>
|
||||
<![endif]-->
|
||||
|
||||
<!--[if lte IE 6]>
|
||||
<style type="text/css">@import url(https://gf1.geo.gfsrv.net/cdn9b/5338b6f852df99e7b508f046cc25ad.css);</style>
|
||||
<style type="text/css">@import url(https://gf3.geo.gfsrv.net/cdnb6/f0c4e2637ede70860c1a273ed38241.css);</style>
|
||||
<style type="text/css">@import url(https://gf3.geo.gfsrv.net/cdn58/97c61e083f066422a1ccf00b7e6a02.css);</style>
|
||||
<![endif]-->
|
||||
|
||||
<script type="text/javascript" src="https://gf2.geo.gfsrv.net/cdnda/0517dbc738ea24aa73b64a25b30f8d.js"></script>
|
||||
<script type="text/javascript" src="https://gf2.geo.gfsrv.net/cdndc/521e7b8821399457f8d2c96bd4d764.js"></script>
|
||||
<script type="text/javascript" src="https://gf3.geo.gfsrv.net/cdnbf/7ef645db9fe9c2161d57e2a9684f8c.js"></script>
|
||||
<script type="text/javascript" src="https://gf3.geo.gfsrv.net/cdne1/74a2472b07741e6900b40d529efc36.js"></script>
|
||||
<script type="text/javascript" src="https://gf1.geo.gfsrv.net/cdn06/c121d2d644f8b6d54b747e69dc319c.js"></script>
|
||||
<script type="text/javascript" src="https://gf2.geo.gfsrv.net/cdn43/b1ad0ec9073e2ae4eefbd6ad628e13.js"></script>
|
||||
<script type="text/javascript" src="https://gf2.geo.gfsrv.net/cdn7e/497adc02ec310555ca02b97c5e5b8a.js"></script>
|
||||
<script type="text/javascript" src="https://gf3.geo.gfsrv.net/cdn26/44fc21806fac16fd1145ef90d1994a.js"></script>
|
||||
<script type="text/javascript" src="https://gf3.geo.gfsrv.net/cdnb0/c7786e501306d6ec52c7a2487bc9c3.js"></script>
|
||||
<script type="text/javascript" src="https://gf2.geo.gfsrv.net/cdnd2/87fc5271982cfc5ae878af40ce5f22.js"></script>
|
||||
<script type="text/javascript" src="https://gf2.geo.gfsrv.net/cdnae/daea90828cdbc4b0974c1328fee2d4.js"></script>
|
||||
<script type="text/javascript" src="https://gf1.geo.gfsrv.net/cdn99/ae1c0d191bffe28d878d7ec7062da2.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
function searchFocusGained()
|
||||
{
|
||||
if (trim(document.searchForm.searchString.value) === '{{ __('shop/main.nav.search_placeholder') }}')
|
||||
{
|
||||
document.searchForm.searchString.value = '';
|
||||
}
|
||||
}
|
||||
|
||||
function searchFocusLost()
|
||||
{
|
||||
if (trim(document.searchForm.searchString.value) === '')
|
||||
{
|
||||
document.searchForm.searchString.value = '{{ __('shop/main.nav.search_placeholder') }}';
|
||||
}
|
||||
}
|
||||
|
||||
function trySubmit()
|
||||
{
|
||||
searchString = trim(document.searchForm.searchString.value);
|
||||
|
||||
return searchString !== '' && searchString !== '{{ __('shop/main.nav.search_placeholder') }}';
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#breadcrumbInfoText').fadeIn(1000);
|
||||
|
||||
$('.groupItem').find('h2').click(function() {
|
||||
$(this).closest('.groupItem').toggleClass('opened closed');
|
||||
});
|
||||
{{--
|
||||
$('#serverlist').change(function() {
|
||||
$.ajax({
|
||||
'url': 'http://ro.shop.metin2.de/ajax/callback/characters/?__token=e8e9d2bd2e3e80ecf201e882766b8405&caid=3171938' + '&csid=' + $('#serverlist').val(),
|
||||
'success': function(data, request, status) { $('#characterlist').html(data); }
|
||||
});
|
||||
});
|
||||
--}}
|
||||
$('#characterpick').show();
|
||||
|
||||
$('#optionsBar').mouseenter(function() {
|
||||
$(this).addClass('optionsBarOv').removeClass('optionsBarNorm');
|
||||
}).mouseleave(function(){
|
||||
$(this).addClass('optionsBarNorm').removeClass('optionsBarOv');
|
||||
}).click(function(){
|
||||
$('#optionsSlider').fadeToggle('slow');
|
||||
});
|
||||
|
||||
$('#optionsSlider').mouseleave(function() {
|
||||
$(this).fadeOut('slow');
|
||||
});
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
@vite(['resources/sass/app.scss', 'resources/js/app.js'])
|
||||
</head>
|
||||
<body class="twoColFixLtHdr" scroll="no" ondblclick="return false;">
|
||||
<div id="container">
|
||||
<div id="header">
|
||||
<div class="boxSigns">
|
||||
<span class="heading">{{ __('shop/main.currency.mileage_long') }} ({{ __('shop/main.currency.mileage') }}):</span>
|
||||
<span class="marksValue">{{ Auth::user()->mileage }}</span>
|
||||
<a href="{{ url('shop/faq', ['section' => 'mileage']) }}" class="tip helpSmallIcon" title="{{ __('shop/main.nav.help_tooltip') }}" style="right: 23px;">
|
||||
<img src="{{ asset('assets/shop/img/helpSmallIcon.png') }}" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="boxCoins">
|
||||
<span class="heading">{{ __('shop/main.currency.cash_long') }} ({{ __('shop/main.currency.cash') }}):</span>
|
||||
<span class="coinsValue">{{ Auth::user()->cash }}</span>
|
||||
<a href="{{ url('shop/faq', ['section' => 'cash']) }}" class="tip helpSmallIcon" title="{{ __('shop/main.nav.help_tooltip') }}" style="right: 7px;">
|
||||
<img src="{{ asset('assets/shop/img/helpSmallIcon.png') }}" />
|
||||
</a>
|
||||
<a href="{{ url('shop/faq', ['section' => 'donate']) }}" class="purchaseButton" title="{{ __('shop/main.nav.buy_coins_tooltip') }}">
|
||||
{!! nl2br(__('shop/main.nav.buy_coins_btn')) !!}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if ($discountDesc)
|
||||
<span id="discountLong">{{ $discountDesc }}</span>
|
||||
@endif
|
||||
|
||||
<div class="userdataDiv">
|
||||
@if ($storageCount > 0)
|
||||
<a title="{{ __('shop/main.nav.user_data_tooltip') }}" href="{{ url('shop/userdata') }}" class="tip userdataInfoIcon"></a>
|
||||
@else
|
||||
<a title="{{ __('shop/main.nav.user_data_tooltip') }}" href="{{ url('shop/userdata') }}" class="tip userdataIcon"></a>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@if ($storageCount > 0)
|
||||
<div id="breadcrumbInfoText">
|
||||
<div id="arrowDiv">
|
||||
<div id="arrowRight"></div>
|
||||
<div id="arrowBorderRight"></div>
|
||||
</div>
|
||||
|
||||
<span id="discountLong">{{ __('shop/main.nav.stored_items', ['storageCount' => $storageCount]) }}</span>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<ul id="breadcrumb">
|
||||
<li><a href="{{ url('shop') }}">{{ __('shop/main.nav.home') }}</a></li>
|
||||
</ul>
|
||||
|
||||
<div id="sidebar1">
|
||||
<div id="search">
|
||||
<form action="{{ url('shop/search') }}" method="post" name="searchForm" onsubmit="return trySubmit()">
|
||||
@csrf
|
||||
|
||||
<input type="text" value="{{ __('shop/main.nav.search_placeholder') }}" class="type" name="searchString" onfocus="searchFocusGained()" onblur="searchFocusLost()" maxlength="42" />
|
||||
<input type="submit" value="" class="send" />
|
||||
</form>
|
||||
</div>
|
||||
<ul id="mainMenu">
|
||||
@foreach ($categories as $category)
|
||||
<li><a href="{{ url('shop/category', ['id' => $category->id]) }}" title="{{ $category->name }}">{{ $category->name }}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@yield('content')
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -7,14 +7,18 @@
|
||||
<div class="two-boxes-top">
|
||||
<div class="two-boxes-bottom">
|
||||
<div class="box">
|
||||
<h2>Metin2</h2>
|
||||
<div class="body"><p>Bine ai venit la Metin2!</p>
|
||||
<p>Paseste intr-o lume fantastica cu orase pitoresti si peisaje impresionante.</p><p>
|
||||
</p><p>Te asteapta lupte primejdioase!</p><p>
|
||||
</p><p>Devino maestru in artele martiale si protejeaza-ti tara de Forta neagra a Pietrelor Metin.</p></div>
|
||||
<h2>{{ __('app/content/home.welcome.title') }}</h2>
|
||||
<div class="body">
|
||||
<p>{{ __('app/content/home.welcome.subtext_1') }}</p>
|
||||
<p>{{ __('app/content/home.welcome.subtext_2') }}</p>
|
||||
<p></p>
|
||||
<p>{{ __('app/content/home.welcome.subtext_3') }}</p>
|
||||
<p></p>
|
||||
<p>{{ __('app/content/home.welcome.subtext_4') }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box box-right">
|
||||
<h2>Trailer</h2>
|
||||
<h2>{{ __('app/content/home.trailer.title') }}</h2>
|
||||
<div class="video">
|
||||
<object wmode="opaque" width="221" height="131">
|
||||
<param name="wmode" value="opaque">
|
||||
@ -34,10 +38,13 @@
|
||||
<div class="coda-slider-wrapper">
|
||||
<div class="coda-slider preload" id="coda-slider-1">
|
||||
<div class="panel">
|
||||
<a href="{{ url('teaser/grotto') }}" target="_blank"><img src="{{ asset('assets/main/img/banner/ro/gdvteaser.jpg') }}" width="480px" /></a>
|
||||
<a href="{{ url('teaser/grotto') }}" target="_blank"><img src="{{ asset('assets/main/img/banner/en/gdvteaser.jpg') }}" width="480px" /></a>
|
||||
</div>
|
||||
<div class="panel">
|
||||
<a href="{{ url('teaser/dc') }}" target="_blank"><img src="{{ asset('assets/main/img/banner/ro/dcbanner.jpg') }}" width="480px" /></a>
|
||||
<a href="{{ url('teaser/grotto') }}" target="_blank"><img src="{{ asset('assets/main/img/banner/en/gdvteaser-2.jpg') }}" width="480px" /></a>
|
||||
</div>
|
||||
<div class="panel">
|
||||
<a href="{{ url('teaser/dc') }}" target="_blank"><img src="{{ asset('assets/main/img/banner/dcbanner.jpg') }}" width="480px" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -50,19 +57,19 @@
|
||||
<div class="content">
|
||||
<div class="content-bg">
|
||||
<div class="content-bg-bottom">
|
||||
<h2>Screenshots</h2>
|
||||
<h2>{{ __('app/content/home.screenshots.title') }}</h2>
|
||||
<div id="screenshots">
|
||||
<a class="first" title="Captura 1" href="{{ asset('assets/main/img/screenshots/mmorpg-fantasy-metin2-screenshot01.jpg') }}">
|
||||
<img alt="Captura 1" src="{{ asset('assets/main/img/screenshots/thumbs/mmorpg-fantasy-metin2-thumb01.jpg') }}" width="100" height="75" />
|
||||
<a class="first" title="{{ __('app/content/home.screenshots.capture') }} 1" href="{{ asset('assets/main/img/screenshots/mmorpg-fantasy-metin2-screenshot01.jpg') }}">
|
||||
<img alt="{{ __('app/content/home.screenshots.capture') }} 1" src="{{ asset('assets/main/img/screenshots/thumbs/mmorpg-fantasy-metin2-thumb01.jpg') }}" width="100" height="75" />
|
||||
</a>
|
||||
<a class="first" title="Captura 2" href="{{ asset('assets/main/img/screenshots/mmorpg-fantasy-metin2-screenshot02.jpg') }}">
|
||||
<img alt="Captura 2" src="{{ asset('assets/main/img/screenshots/thumbs/mmorpg-fantasy-metin2-thumb02.jpg') }}" width="100" height="75" />
|
||||
<a class="first" title="{{ __('app/content/home.screenshots.capture') }} 2" href="{{ asset('assets/main/img/screenshots/mmorpg-fantasy-metin2-screenshot02.jpg') }}">
|
||||
<img alt="{{ __('app/content/home.screenshots.capture') }} 2" src="{{ asset('assets/main/img/screenshots/thumbs/mmorpg-fantasy-metin2-thumb02.jpg') }}" width="100" height="75" />
|
||||
</a>
|
||||
<a class="first" title="Captura 3" href="{{ asset('assets/main/img/screenshots/mmorpg-fantasy-metin2-screenshot03.jpg') }}">
|
||||
<img alt="Captura 3" src="{{ asset('assets/main/img/screenshots/thumbs/mmorpg-fantasy-metin2-thumb03.jpg') }}" width="100" height="75" />
|
||||
<a class="first" title="{{ __('app/content/home.screenshots.capture') }} 3" href="{{ asset('assets/main/img/screenshots/mmorpg-fantasy-metin2-screenshot03.jpg') }}">
|
||||
<img alt="{{ __('app/content/home.screenshots.capture') }} 3" src="{{ asset('assets/main/img/screenshots/thumbs/mmorpg-fantasy-metin2-thumb03.jpg') }}" width="100" height="75" />
|
||||
</a>
|
||||
<a class="first" title="Captura 4" href="{{ asset('assets/main/img/screenshots/mmorpg-fantasy-metin2-screenshot04.jpg') }}">
|
||||
<img alt="Captura 4" src="{{ asset('assets/main/img/screenshots/thumbs/mmorpg-fantasy-metin2-thumb04.jpg') }}" width="100" height="75" />
|
||||
<a class="first" title="{{ __('app/content/home.screenshots.capture') }} 4" href="{{ asset('assets/main/img/screenshots/mmorpg-fantasy-metin2-screenshot04.jpg') }}">
|
||||
<img alt="{{ __('app/content/home.screenshots.capture') }} 4" src="{{ asset('assets/main/img/screenshots/thumbs/mmorpg-fantasy-metin2-thumb04.jpg') }}" width="100" height="75" />
|
||||
</a>
|
||||
</div>
|
||||
<br class="clearfloat" />
|
||||
@ -75,7 +82,7 @@
|
||||
<div class="content">
|
||||
<div class="content-bg">
|
||||
<div class="content-bg-bottom">
|
||||
<h2>Noutăți</h2>
|
||||
<h2>{{ __('app/content/home.news.title') }}</h2>
|
||||
<div class="inner-content" id="news_compact">
|
||||
<ul>
|
||||
<li>
|
||||
@ -94,7 +101,7 @@
|
||||
<p>Draga comunitate<br>Binevointa Zeului Dragon radiaza peste cele trei regate!<br>Profita de aceasta oportunitate si procura-ti cu 15% mai multe Monede Dragon azi! 14.06.2013 incepand cu ora 12;00 pana <a href="{{ url('main/news') }}" class="news_link">[...]</a></p>
|
||||
</li>
|
||||
</ul>
|
||||
<a href="{{ url('main/news') }}" class="btn">Mergi la noutăți</a>
|
||||
<a href="{{ url('main/news') }}" class="btn">{{ __('app/content/home.news.button_go_to_news') }}</a>
|
||||
<br class="clearfloat">
|
||||
</div>
|
||||
</div>
|
||||
@ -106,29 +113,17 @@
|
||||
<div class="content content-last">
|
||||
<div class="content-bg">
|
||||
<div class="content-bg-bottom">
|
||||
<h2>Metin2 - Actiunea Orientala MMORPG</h2>
|
||||
<h2>{{ __('app/content/home.main.title') }}</h2>
|
||||
<div class="inner-content">
|
||||
<p>In vremuri stravechi rasuflarea Zeului Dragon veghea asupra regatelor Shinsoo, Chunjo
|
||||
si Jinno. Dar aceasta <strong>lume fascinanta a magiei</strong> se afla
|
||||
in fata unui pericol imens: Impactul <strong>Pietrelor Metin</strong> care au cauzat haos
|
||||
si distrugere pe continent si intre locuitori. Au izbucnit razboaie intre continente, animalele salbatice s-au transformat
|
||||
in bestii terifiante. Lupta impotriva <strong>influentei negative a Pietrelor Metin</strong>
|
||||
in postura unui <strong>aliat al Zeului Dragon</strong>. <strong>Aduna-ti toate puterile
|
||||
si armele</strong> pentru a salva regatul.</p>
|
||||
<p>{!! Str::inlineMarkdown(__('app/content/home.main.subtext')) !!}</p>
|
||||
|
||||
<h3>Caracteristici</h3>
|
||||
<h3>{{ __('app/content/home.main.characteristics') }}</h3>
|
||||
<ul>
|
||||
<li>Un continent, patruns de violenta, unde razboinici cu totul
|
||||
si cu totul deosebiti, trebuie sa-si dovedeasca curajul
|
||||
in nenumarate aventuri.</li>
|
||||
<li>Trei regate care se dusmanesc intre ele, si carora, le poti pune la dispozitie forta ta
|
||||
si curajul tau.</li>
|
||||
<li>Poarta-ti luptele pe jos sau calare, si nu numai pentru a obtine putere
|
||||
si proprietati, ci si din onoare!</li>
|
||||
<li>Devino stapanul unei cetati, si, impreuna cu obstea ta, construieste propria fortareata!</li>
|
||||
|
||||
<li>Invata numeroasele stiluri de lupta si insuseste-ti, prin antrenament special, tot felul de abilitati, pentru a-ti
|
||||
infrange inamicul!</li>
|
||||
<li>{{ __('app/content/home.main.subtext_1') }}</li>
|
||||
<li>{{ __('app/content/home.main.subtext_2') }}</li>
|
||||
<li>{{ __('app/content/home.main.subtext_3') }}</li>
|
||||
<li>{{ __('app/content/home.main.subtext_4') }}</li>
|
||||
<li>{{ __('app/content/home.main.subtext_5') }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
63
resources/views/shop/category.blade.php
Normal file
63
resources/views/shop/category.blade.php
Normal file
@ -0,0 +1,63 @@
|
||||
@extends('layouts.shop')
|
||||
|
||||
@section('content')
|
||||
<div id="mainContent">
|
||||
<h1>{{ $category->name }}</h1>
|
||||
<div class="dynContent" style="position:relative">
|
||||
@foreach ($category->items as $item)
|
||||
<div class="item">
|
||||
<div class="itemDesc">
|
||||
<div @class(["thumbnailBgSmall", "discount thumbnailBgSmall-discount-ie6" => $item->old_price > 0])>
|
||||
<a href="{{ route('shop.item', ['id' => $item->id]) }}" title="More information" class="openinformation">
|
||||
<img src="{{ asset("assets/shop/img/item/{$item->image}.png") }}" onerror="this.src='{{ asset('assets/shop/img/error.png') }}';" width="63px" height="63px" alt="More information"/>
|
||||
</a>
|
||||
|
||||
@if ($item->old_price)
|
||||
<div class="discountPercentCategory">
|
||||
<a href="{{ route('shop.item', ['id' => $item->id]) }}" title="More information" class="openinformation"></a>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<a href="{{ route('shop.item', ['id' => $item->id]) }}" title="More information" class="openinformation">
|
||||
<span class="itemTitle">{ data.name|raw }</span>
|
||||
</a>
|
||||
<span class="line"></span>
|
||||
|
||||
{{ $item->description ?? "No description is currently available for this item." }}
|
||||
|
||||
<br class="clearfloat" />
|
||||
</p>
|
||||
</div>
|
||||
<div class="purchaseOptionsWrapper">
|
||||
<div @class(["itemPrice", "discount itemPrice-discount-ie6" => $item->old_price])>
|
||||
<div @class(["priceValue", "discount discount priceValue-discount-ie6" => $item->old_price])>
|
||||
{{ $item->quantity }} pcs. for:
|
||||
|
||||
@if (!$item->old_price)
|
||||
<span class="price">{{ $item->price }} {{ $item->pricing->description() }}</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@if ($item->old_price)
|
||||
<div class="price discount price-discount-ie6">{{ $item->price }} {{ $item->pricing->description() }}</div>
|
||||
<div class="discountOldPriceCategory">{{ $item->old_price }} {{ $item->pricing ->description() }}</div>
|
||||
<div class="discountPercentCircleCategory"></div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<a href="{{ route('shop.item', ['id' => $item->id]) }}"
|
||||
title="More information"
|
||||
@class(["purchaseInfo", "openinformation", "discount purchaseInfo-discount-ie6" => $item->old_price])
|
||||
>
|
||||
Details
|
||||
</a>
|
||||
<br class="clearfloat" />
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
<div class="endContent"></div>
|
||||
</div>
|
||||
@endsection
|
56
resources/views/shop/home.blade.php
Normal file
56
resources/views/shop/home.blade.php
Normal file
@ -0,0 +1,56 @@
|
||||
@extends('layouts.shop')
|
||||
|
||||
@section('content')
|
||||
<div id="wideMainContent">
|
||||
<div class="landing wheelLanding">
|
||||
<h1>Item suggestions:</h1>
|
||||
|
||||
{% for id, data in items %}
|
||||
<div @class([
|
||||
'promotedItem',
|
||||
'withDescription' => isset($item->description),
|
||||
])>
|
||||
<h4>{ data.name|raw }</h4>
|
||||
<div class="promotedItemImg">
|
||||
<a href="?action=detail&id={ id }" class="openinformation" title="More information">
|
||||
<img src="img/item/{ data.image }.png" onerror="this.src='{{ asset('assets/shop/img/error.png') }}';" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
{% if data.oldPrice != 0 %}
|
||||
<div class="discountPercentPromoted">
|
||||
<a href="?action=detail&id={ id }" class="openinformation" title="More information"></a>
|
||||
</div>
|
||||
<div class="discountPercentCirclePromoted"></div>
|
||||
<p class="discountOldPricePromoted">{ data.oldPrice } { data.pricing }</p>
|
||||
{% endif %}
|
||||
<div class="promotedItemBtns{% if data.oldPrice != 0 %} promotedItemBtns-discount{% endif %}">
|
||||
{% if data.oldPrice != 0 %}
|
||||
<p class="pdiscount">
|
||||
{ data.count } pcs: <span class="price discount price-discount-ie6">{ data.price } { data.pricing }</span>
|
||||
</p>
|
||||
<div class="divdiscount">
|
||||
<a href="?action=detail&id={ id }" title="More information" class="detail-discount openinformation">Details</a>
|
||||
</div>
|
||||
{% else %}
|
||||
<p>{ data.count } pcs. only: <span class="price">{ data.price } { data.pricing }</span></p>
|
||||
<a href="?action=detail&id={ id }" title="More information" class="detail openinformation">Details</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if data.description is defined %}<p class="promotedItemDescr">{ data.description }</p>{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<div id="wheelLandingButton" class="ad">
|
||||
<h2 style="margin-top: 100px">The Wheel of Fortune</h2>
|
||||
<p>
|
||||
Try your luck and turn the Wheel of Fortune.
|
||||
Get your hand on some of the best items for your character!
|
||||
</p>
|
||||
<a href="{{ url('shop/wheel') }}" class="goToWheel">To the Wheel</a>
|
||||
</div>
|
||||
|
||||
<a class="buyDR" href="{{ url('shop/faq', ['section' => 'donate']) }}">You don't have Dragon Coins?</a>
|
||||
</div>
|
||||
<div class="endContent"></div>
|
||||
</div>
|
||||
@endsection
|
85
resources/views/shop/item/show.blade.php
Normal file
85
resources/views/shop/item/show.blade.php
Normal file
@ -0,0 +1,85 @@
|
||||
<script type="text/javascript">
|
||||
function changePrice(details) {
|
||||
var detailValues = details.split(':');
|
||||
price = detailValues[0];
|
||||
oldPrice = detailValues[1];
|
||||
amount = detailValues[2];
|
||||
document.getElementById('priceAmount').innerHTML = price;
|
||||
document.getElementById('mileageAmount').innerHTML = amount * 99;
|
||||
document.getElementById('buyItemLink').href = document.getElementById('buyItemLink').href.replace(/\/\d+?\?/, '/' + amount + '?');
|
||||
}
|
||||
|
||||
function disableLink(link, id)
|
||||
{
|
||||
link.style.display = 'none';
|
||||
document.getElementById(id).style.display = 'inline';
|
||||
}
|
||||
</script>
|
||||
|
||||
<h1 class="mainHeadline">{ data.name|raw }}</h1>
|
||||
|
||||
<div class="dynContent detail">
|
||||
<div class="box boxLeft visual">
|
||||
<img src="{{ asset("assets/shop/img/item/{$item->image}.png") }}" onerror="this.src='{{ asset('assets/shop/img/error.png') }}';" alt="{ data.name }}" />
|
||||
|
||||
@if ($item->old_price)
|
||||
<div id="discountPercent"></div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="box desc descOnlyItem">
|
||||
<div class="detailBadge">
|
||||
<div class="detailBadgeInner"></div>
|
||||
</div>
|
||||
<h2>{ data.name }}</h2>
|
||||
<div class="scrollpane scrollpaneOnlyItem">
|
||||
<p>{{ $item->description ?? "No description is currently available for this item." }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div @class(["box", "boxRight", "buy", "discount" => $item->old_price, "onlyItem"])>
|
||||
<div class="priceSelect">
|
||||
@if ($item->old_price)
|
||||
<div class="discountPercentCircle">
|
||||
<div id="discountPercentCircle"></div>
|
||||
</div>
|
||||
<div class="sprice-discount">
|
||||
<div id="oldPriceAmountDiv">
|
||||
<span id="oldPriceAmount">{{ $item->old_price }}</span> {{ $item->pricing->description() }}
|
||||
</div>
|
||||
Price: <span id="priceAmount">{{$item->price }}</span> {{ $item->pricing->description() }}
|
||||
</div>
|
||||
@else
|
||||
<div class="sprice">
|
||||
Price: <span id="priceAmount">{{ $item->price }}</span> {{ $item->pricing->description() }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@if ($item->userCanBuy())
|
||||
<a id="buyItemLink" href="{{ route('shop.item.buy', ['id' => $item->id]) }}" title="Buy item" onclick="disableLink(this, 'linkBlank')">Buy item</a>
|
||||
<a id="linkBlank" class="blank" style="display:none" href="#">Buy item</a>
|
||||
@else
|
||||
<a id="buyItemLink" class="blank" href="#" style="cursor: default">Not enough {{ $item->pricing->description() }}</a>
|
||||
@endif
|
||||
|
||||
@if ($item->pricing == \App\Models\Enums\ShopItemPricingEnum::CASH)
|
||||
<div class="buyInfo">
|
||||
You'll recieve <span id="mileageAmount">{{ $item->price }}</span> DM after buying this item!
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="box suggestions">
|
||||
<h2>You might be interested in:</h2>
|
||||
<ol id="suggestions">
|
||||
{% for id, info in suggestions %}
|
||||
<li class="thumbnailBgSmall{% if loop.last %} last{% endif %}">
|
||||
<a id="suggestion{ id }}" class="suggestion" href="?action=detail&id={ id }}" title="{ info.name }}">
|
||||
<img src="img/item/{ info.image }}.png" width="63" height="63" onerror="this.src='{{ asset('assets/shop/img/error.png') }}';" alt="{ info.name }}"/>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
56
resources/views/shop/userdata.blade.php
Normal file
56
resources/views/shop/userdata.blade.php
Normal file
@ -0,0 +1,56 @@
|
||||
@extends('layouts.shop')
|
||||
|
||||
@section('content')
|
||||
<div id="mainContent">
|
||||
<div class="userdataHeadline">
|
||||
<h1>User information</h1>
|
||||
</div>
|
||||
<div class="dynContent">
|
||||
<div class="userdataContainer">
|
||||
<div class="userdataLine">
|
||||
<div class="titleIcon">
|
||||
<img alt="Informatii" src="{{ asset('assets/shop/img/storage.png') }}"/>
|
||||
</div>
|
||||
<div class="userdataText">
|
||||
<div class="title">
|
||||
Obiecte depozitate ({{ $storageCount }})
|
||||
<a class="helpSmallTopic tip" href="?p=faq" title="Mergi la pagina de ajutor aici."></a>
|
||||
</div>
|
||||
<div class="lineBottom">
|
||||
<a @class(["userdataButton" => $storageCount == 0, "userdataButtonGreen" => $storageCount > 0]) href="?p=distribution">Distribuie</a>
|
||||
<div class="description">Deschide depozitul contului tau pentru a transfera obiectele pe serverul si caracterul ales.</div>
|
||||
</div>
|
||||
<br class="clearfloat"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="userdataLine">
|
||||
<div class="titleIcon">
|
||||
<img alt="Information" src="{{ asset('assets/shop/img/purchases.png') }}"/>
|
||||
</div>
|
||||
<div class="userdataText">
|
||||
<div class="title">My purchases ({{ $boughtCount }})</div>
|
||||
<div class="lineBottom">
|
||||
<a @class(["userdataButton" => $boughtCount == 0, "userdataButtonGreen" => $boughtCount > 0]) href="?p=purchases">Go</a>
|
||||
<div class="description">View your purchase history in the last month.</div>
|
||||
</div>
|
||||
<br class="clearfloat"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="userdataLine">
|
||||
<div class="titleIcon">
|
||||
<img alt="Informatii" src="{{ asset('assets/shop/img/faq.png') }}"/>
|
||||
</div>
|
||||
<div class="userdataText">
|
||||
<div class="title">FAQ - Frequently Asked Questions</div>
|
||||
<div class="lineBottom">
|
||||
<a class="userdataButton" href="?p=faq">Go</a>
|
||||
<div class="description">Here you can find answers to the most frequently asked questions.</div>
|
||||
</div>
|
||||
<br class="clearfloat"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="endContent"></div>
|
||||
</div>
|
||||
@endsection
|
Reference in New Issue
Block a user