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
[trx_team count="4"] | |
[trx_team_item name="Matthew Perry" position="principal" photo="http://kindergarten.dev:8000/wp-content/uploads/2014/06/stuff-1.jpg" socials="facebook=#|pinterest=#|twitter=#"] | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | |
[/trx_team_item] | |
[trx_team_item name="David Schwimmer" position="mentor" photo="http://kindergarten.dev:8000/wp-content/uploads/2014/06/stuff-2.jpg" socials="facebook=#|twitter=#|gplus=#|dribbble=#"] | |
Aliquam erat volutpat. Nulla pulvinar scelerisque dui, ac elementum dolor sagittis eget. | |
[/trx_team_item] | |
[trx_team_item name="Lisa Kudrow" position="teacher" photo="http://kindergarten.dev:8000/wp-content/uploads/2014/06/stuff-3.jpg" socials="facebook=#|twitter=#|rss=#"] | |
Cras sodales, justo et rutrum consequat, elit magna semper augue, quis viverra velit orci quis diam. Sed vestibulum porta tellus, sed cursus velit laoreet non. | |
[/trx_team_item] |
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
// Get account for uploading. | |
$host = $this->hostRepository->random(0); | |
$uploader = $this->hostRepository->loginPicasa($host); | |
// Create album | |
$album = $uploader->addAlbum(time()); | |
// Tranfer to another hosts | |
$tranferedFiles = []; |
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
@foreach ($mangas as $manga) | |
<li class="clearfix"> | |
<div class="name"> | |
<a href="{{ route('mangas.single', [$manga->id, $manga->slug]) }}" title="{{ $manga->name }}" class="text-ellipsis">{{ $manga->name }} {{ $manga->present()->icon }}</a> | |
</div> | |
<div class="chapter"> | |
<a href="{{ $manga->present()->chapterUrl() }}" title="{{ $manga->chapters->last()->name }}" class="text-ellipsis">{{ $manga->chapters->last()->name }}</a> | |
</div> | |
</li> | |
@endforeach |
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
@extends('frontend.layouts.default') | |
@section('title', 'Nhóm dịch: ' . $team->name . ' | ') | |
@section('content') | |
<div class="row"> | |
<div class="col-md-12"> | |
<div class="m-box clearfix"> | |
<div style="background-image: url('{{ $team->present()->getCover }}')" class="cover"></div> | |
<div class="overlay"> |
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
$arrival = new DateTime(date('Y-m-d', strtotime($arrival))); | |
$departure = new DateTime(date('Y-m-d', strtotime($departure))); | |
$apartment = Cart::contents(); | |
$apartment = reset($apartment); | |
$days = $arrival == $departure ? $days = 1 : $departure->diff($arrival)->format("%a"); | |
$total = 0; | |
for ($i = 0; $i < $days; $i++) |
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
<?php | |
$array = []; | |
$excludeItems = []; | |
if(isset($exclude) && !empty($exclude)) $excludeItems = array_map('trim', explode(',', $exclude)); | |
if (count($excludeItems)) $array['post__not_in'] = $excludeItems; | |
?> |
This file has been truncated, but you can view the full file.
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
<!DOCTYPE html> | |
<!--[if IE]><![endif]--> | |
<!--[if IE 8 ]> | |
<html dir="ltr" lang="en" class="ie8"><![endif]--> | |
<!--[if IE 9 ]> | |
<html dir="ltr" lang="en" class="ie9"><![endif]--> | |
<!--[if (gt IE 9)|!(IE)]><!--> | |
<html dir="ltr" class="ltr" lang="en"> | |
<!--<![endif]--> | |
<head> |
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
$order = Order::find(62); | |
$products = []; | |
foreach ($order->orderItems as $orderItem) | |
{ | |
$products[] = (object) [ | |
'sku' => $orderItem->sku, | |
'name' => $orderItem->name, | |
'price' => $orderItem->price, | |
'weight' => $orderItem->weight, |
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
select * from `users` [] | |
select `tasks`.*, `task_user`.`user_id` as `pivot_user_id`, `task_user`.`task_id` as `pivot_task_id`, `task_user`.`campaign_id` as `pivot_campaign_id` from `tasks` inner join `task_user` on `tasks`.`id` = `task_user`.`task_id` where `task_user`.`user_id` in (1, 2) and `end_at` >= ? and not exists (select * from `appraisals` where `tasks`.`id` = `appraisals`.`task_id`) or exists (select * from `appraisals` where `tasks`.`id` = `appraisals`.`task_id` and `percent` != ?) ["2020-02-07",100] | |
select `users`.*, `task_user`.`task_id` as `pivot_task_id`, `task_user`.`user_id` as `pivot_user_id`, `task_user`.`campaign_id` as `pivot_campaign_id` from `users` inner join `task_user` on `users`.`id` = `task_user`.`user_id` where `task_user`.`task_id` in (12, 13) [] | |
select * from `campaigns` where `campaigns`.`id` in (2) [] | |
select `users`.*, `campaign_user`.`campaign_id` as `pivot_campaign_id`, `campaign_user`.`user_id` as `pivot_user_id` from `users` inner join `campaign_user` on `users`.`id` = `ca |
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
<select id="payment_method" class="w-full form-control form-select" | |
v-model="payment_method"> | |
<option value="Credit Card">Credit Card</option> | |
<option value="COD">COD</option> | |
</select> | |
data() { | |
return { | |
payment_method: 'Credit Card' |
OlderNewer