361
Studium a uplatnění / Re:Práce ve VSHosting
« kdy: 03. 06. 2019, 23:57:46 »
To ho akoze bude VSHosting vydierat a bude to ok? Zatoze mu dlzi a chce ist od neho prec? Ako VSHosting vie o cenach ake si dohodol konkurent?
Tato sekce Vám umožňuje zobrazit všechny příspěvky tohoto uživatele. Prosím uvědomte si, že můžete vidět příspěvky pouze z oblastí Vám přístupných.
public function create(Request $request, User $user, CoinpaymentsPaymentService $coinpaymentsPaymentService) {
$checkstatuswindraw = $user->account->related(Withdrawal::class)->where('status', '0')->first();
if (!empty($checkstatuswindraw))
$checkstatuswindraw = 'noepty';
if ($user->id != $request->user()->id)
abort(404);
return view('payments::frontend.pages.withdrawals.create', [
'account' => $user->account,
'enablewindraw' => $checkstatuswindraw,
'currencies' => $coinpaymentsPaymentService->getAcceptedCurrencies()
]);
}
$bests_user = User::where('status', User::STATUS_COMPLETED)
->with('account.user', 'money')
->where('cash','>','1500')
->orderBy('cash', 'desc')
->limit(5)
->get();//scroll to bottom
setInterval(function(){
//time to scroll to bottom
$("html, body").animate({ scrollTop: $(document).height() }, 1000);
//scroll to top
setTimeout(function() {
$('html, body').animate({scrollTop:0}, 8000);
},2000);//call every 2000 miliseconds
},500);v html <ul class="list-group list-group-flush">
@foreach($games as $game)
<li class="list-group-item d-md-flex justify-content-between align-items-center">
<div>
<h5>{{ __('app.game_' . class_basename(get_class($game->gameable))) }}</h5>
<p class="card-text mb-1">{{ $game->gameable->result }}</p>
<p class="card-text">
<small class="text-muted">
{{ __('Played by') }}
<a href="{{ route('frontend.users.show', $game->account->user) }}">{{ $game->account->user->name }}</a>
{{ $game->created_at->diffForHumans() }}
</small>
</p>
</div>
<div class="mt-2 mt-md-0">
<span class="badge badge-primary badge-pill p-2">
{{ __('Bet :x', ['x' => $game->_bet]) }}
</span>
<span class="badge badge-primary badge-pill p-2">
{{ __('Win :x', ['x' => $game->_win]) }}
</span>
</div>
</li>
@endforeach
</ul> <a href="{{ route('register') }}" class="btn btn-primary">{{ __('Sign up') }}</a>v subore sk.json "Log in": "Prihláste sa",
"Sign up": "Zaregistrujte sa",
"My profile": "Môj profil",