Commit c517769f by Bagus Pambudi

agenda

parent 872601ca
APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_KEY=base64:s8Ig1mW5Z73iyqD3l9sXbNsqzHIwUPlp7qKy/GVwWiE=
APP_DEBUG=true
APP_URL=http://localhost
......
<?php
namespace App\Http\Controllers\Webprofile\Backend;
use App\Http\Controllers\Controller;
use App\Models\Webprofile\Categories;
use App\Repositories\Webprofile\De\AgendaRepository as DeAgendaRepository;
use App\Repositories\Webprofile\En\AgendaRepository as EnAgendaRepository;
use App\Repositories\Webprofile\AgendaRepository;
use App\Repositories\Webprofile\Sa\AgendaRepository as SaAgendaRepository;
use App\Repositories\Webprofile\Zh\AgendaRepository as ZhAgendaRepository;
use Illuminate\Http\Request;
use Statickidz\GoogleTranslate;
class AgendaController extends Controller
{
private $repo;
private $repoEn;
private $repoDe;
private $repoSa;
private $repoZh;
private $SOURCE = 'id';
private $TARGET = 'en';
private $TARGETDE = 'de';
private $TARGETSA = 'ar';
private $TARGETZH = 'zh';
public function __construct(
AgendaRepository $repo,
EnAgendaRepository $repoEn,
DeAgendaRepository $repoDe,
SaAgendaRepository $repoSa,
ZhAgendaRepository $repoZh
) {
$this->repo = $repo;
$this->repoEn = $repoEn;
$this->repoDe = $repoDe;
$this->repoSa = $repoSa;
$this->repoZh = $repoZh;
}
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index(Request $request)
{
if ($request->ajax()) {
$data = $this->repo->get(['rEn']);
return $this->repo->datatable($data);
}
return view('webprofile.backend.agendas.index')->withTitle(trans('feature.agenda'));
}
/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/
public function create()
{
$categories = Categories::pluck('name', 'id');
$data = [
'categories' => $categories,
];
return view('webprofile.backend.agendas.create', $data)->withTitle(trans('feature.create_agenda'));
}
/**
* Store a newly created resource in storage.
*
* @return \Illuminate\Http\Response
*/
public function store(Request $request)
{
$data = $request->except('_token');
array_key_exists('info_status', $data) ? $data['info_status'] = 1 : $data['info_status'] = 0;
$data['slug'] = str_slug($request->input('title'));
$save = $this->repo->store($data);
if (webprofilesetting()['auto_translate'] == 1) {
// save translate
$this->createEn($data, $save);
$this->createDe($data, $save);
$this->createSa($data, $save);
$this->createZh($data, $save);
}
return redirect()->route('agendas.index');
}
private function createEn($data, $agenda)
{
$trans = new GoogleTranslate();
$title = $trans->translate($this->SOURCE, $this->TARGET, $data['title']);
if (strip_tags($data['content']) == null) {
$data['content'] = 'kosong';
}
$content = $trans->translate($this->SOURCE, $this->TARGET, strip_tags($data['content']));
$dataEn['agenda_id'] = $agenda->id;
$dataEn['title'] = $title;
$dataEn['content'] = $content;
$this->repoEn->store($dataEn);
}
private function createDe($data, $agenda)
{
$trans = new GoogleTranslate();
$title = $trans->translate($this->SOURCE, $this->TARGETDE, $data['title']);
if (strip_tags($data['content']) == null) {
$data['content'] = 'kosong';
}
$content = $trans->translate($this->SOURCE, $this->TARGETDE, strip_tags($data['content']));
$dataDe['agenda_id'] = $agenda->id;
$dataDe['title'] = $title;
$dataDe['content'] = $content;
$this->repoDe->store($dataDe);
}
private function createSa($data, $agenda)
{
$trans = new GoogleTranslate();
$title = $trans->translate($this->SOURCE, $this->TARGETSA, $data['title']);
if (strip_tags($data['content']) == null) {
$data['content'] = 'kosong';
}
$content = $trans->translate($this->SOURCE, $this->TARGETSA, strip_tags($data['content']));
$dataSa['agenda_id'] = $agenda->id;
$dataSa['title'] = $title;
$dataSa['content'] = $content;
$this->repoSa->store($dataSa);
}
private function createZh($data, $agenda)
{
$trans = new GoogleTranslate();
$title = $trans->translate($this->SOURCE, $this->TARGETZH, $data['title']);
if (strip_tags($data['content']) == null) {
$data['content'] = 'kosong';
}
$content = $trans->translate($this->SOURCE, $this->TARGETZH, strip_tags($data['content']));
$dataZh['agenda_id'] = $agenda->id;
$dataZh['title'] = $title;
$dataZh['content'] = $content;
$this->repoZh->store($dataZh);
}
/**
* Display the specified resource.
*
* @param int $id
*
* @return \Illuminate\Http\Response
*/
public function show($id)
{
}
/**
* Show the form for editing the specified resource.
*
* @param int $id
*
* @return \Illuminate\Http\Response
*/
public function edit($id)
{
$data = $this->repo->findId($id, ['rEn', 'rDe', 'rSa', 'rZh']);
$categories = Categories::pluck('name', 'id');
$data = [
'data' => $data,
'categories' => $categories,
];
return view('webprofile.backend.agendas.edit', $data)->withTitle(trans('feature.edit_agenda'));
}
/**
* Update the specified resource in storage.
*
* @param int $id
*
* @return \Illuminate\Http\Response
*/
public function update(Request $request, $id)
{
$data = $request->except(['_token', 'id', 'title_en', 'content_en', 'title_de', 'content_de', 'title_sa', 'content_sa', 'title_zh', 'content_zh']);
$dataEn = $request->except(['_token', 'id']);
array_key_exists('info_status', $data) ? $data['info_status'] = 1 : $data['info_status'] = 0;
$data['slug'] = str_slug($request->input('title'));
$agenda = $this->repo->findId($id, ['rEn', 'rDe', 'rSa','rZh']);
$edit = $this->repo->update($data, $agenda);
$this->updateEn($dataEn, $agenda);
$this->updateDe($dataEn, $agenda);
$this->updateSa($dataEn, $agenda);
$this->updateZh($dataEn, $agenda);
return redirect()->route('agendas.index');
}
public function updateEn($data, $agenda)
{
$dataEn['title'] = $data['title_en'];
$dataEn['content'] = $data['content_en'];
$this->repoEn->update($dataEn, $agenda);
}
public function updateDe($data, $agenda)
{
$dataDe['title'] = $data['title_de'];
$dataDe['content'] = $data['content_de'];
$this->repoDe->update($dataDe, $agenda);
}
public function updateSa($data, $agenda)
{
$dataSa['title'] = $data['title_sa'];
$dataSa['content'] = $data['content_sa'];
$this->repoSa->update($dataSa, $agenda);
}
public function updateZh($data, $agenda)
{
$dataZh['title'] = $data['title_zh'];
$dataZh['content'] = $data['content_zh'];
$this->repoZh->update($dataZh, $agenda);
}
/**
* Remove the specified resource from storage.
*
* @param int $id
*
* @return \Illuminate\Http\Response
*/
public function destroy($id)
{
$data = $this->repo->findId($id, ['rEn', 'rDe', 'rSa', 'rZh']);
$this->repo->destroy($data);
if ($data->rEn) {
$this->repoEn->destroy($data->rEn);
}
if ($data->rDe) {
$this->repoDe->destroy($data->rDe);
}
if ($data->rSa) {
$this->repoSa->destroy($data->rSa);
}
if ($data->rZh) {
$this->repoZh->destroy($data->rZh);
}
return response()->json(['done']);
}
}
......@@ -5,14 +5,14 @@ namespace App\Http\Controllers\Webprofile\Front;
use App\Http\Controllers\Controller;
use App\Models\Webprofile\Categories;
use App\Models\Webprofile\Design;
use App\Models\Webprofile\Information;
use App\Models\Webprofile\Agenda;
use App\Models\Webprofile\Menu;
use App\Models\Webprofile\Posts;
use Session;
class AgendaController extends Controller
{
public function index()
public function index($title)
{
$setting = webprofilesetting();
......@@ -21,32 +21,32 @@ class AgendaController extends Controller
}
if (Session::get('selected_language') == 'id') {
$data = $this->getDataId($setting);
$data = $this->getDataId($setting, $title);
return view('webprofile.front.'.$setting['theme'].'.archive', $data)->withTitle('Agenda');
return view('webprofile.front.'.$setting['theme'].'.agenda', $data);
} elseif (Session::get('selected_language') == 'en') {
$data = $this->getDataEn($setting);
$data = $this->getDataEn($setting, $title);
return view('webprofile.front.'.$setting['theme'].'.en.archive', $data)->withTitle('Agenda');
return view('webprofile.front.'.$setting['theme'].'.en.agenda', $data);
} elseif (Session::get('selected_language') == 'de') {
$data = $this->getDataDe($setting);
$data = $this->getDataDe($setting, $title);
return view('webprofile.front.'.$setting['theme'].'.de.archive', $data)->withTitle('Agenda');
return view('webprofile.front.'.$setting['theme'].'.de.agenda', $data);
} elseif (Session::get('selected_language') == 'ar') {
$data = $this->getDataSa($setting);
$data = $this->getDataSa($setting, $title);
return view('webprofile.front.'.$setting['theme'].'.ar.archive', $data)->withTitle('جدول أعمال');
return view('webprofile.front.'.$setting['theme'].'.ar.agenda', $data);
} elseif (Session::get('selected_language') == 'zh') {
$data = $this->getDataZh($setting);
$data = $this->getDataZh($setting, $title);
return view('webprofile.front.'.$setting['theme'].'.zh.archive', $data)->withTitle('议程');
return view('webprofile.front.'.$setting['theme'].'.zh.agenda', $data);
}
}
public function getDataId($setting)
public function getDataId($setting, $title)
{
$setting = webprofilesetting();
$data = Information::where('info_status', '1')->orderBy('event_date', 'desc')->paginate($setting['post_per_page']);
$data = Agenda::where('slug', $title)->first();
$resend = Posts::where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$categories = Categories::where('is_active', '1')->get();
......@@ -55,6 +55,9 @@ class AgendaController extends Controller
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$viewer['viewer'] = (int) $data->viewer + 1;
$data->update($viewer);
$data = [
'setting' => $setting,
'data' => $data,
......@@ -70,10 +73,10 @@ class AgendaController extends Controller
return $data;
}
public function getDataEn($setting)
public function getDataEn($setting, $title)
{
$setting = webprofilesetting();
$data = Information::where('info_status', '1')->orderBy('event_date', 'desc')->paginate($setting['post_per_page']);
$data = Agenda::where('slug', $title)->first();
$resend = Posts::with(['rEn'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rEn'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$categories = Categories::with(['rEn'])->where('is_active', '1')->get();
......@@ -82,6 +85,9 @@ class AgendaController extends Controller
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$viewer['viewer'] = (int) $data->viewer + 1;
$data->update($viewer);
$data = [
'setting' => $setting,
'data' => $data,
......@@ -97,10 +103,10 @@ class AgendaController extends Controller
return $data;
}
public function getDataDe($setting)
public function getDataDe($setting, $title)
{
$setting = webprofilesetting();
$data = Information::where('info_status', '1')->orderBy('event_date', 'desc')->paginate($setting['post_per_page']);
$data = Agenda::where('slug', $title)->first();
$resend = Posts::with(['rDe'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rDe'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$categories = Categories::with(['rDe'])->where('is_active', '1')->get();
......@@ -109,6 +115,9 @@ class AgendaController extends Controller
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$viewer['viewer'] = (int) $data->viewer + 1;
$data->update($viewer);
$data = [
'setting' => $setting,
'data' => $data,
......@@ -124,10 +133,10 @@ class AgendaController extends Controller
return $data;
}
public function getDataSa($setting)
public function getDataSa($setting, $title)
{
$setting = webprofilesetting();
$data = Information::where('info_status', '1')->orderBy('event_date', 'desc')->paginate($setting['post_per_page']);
$data = Agenda::where('slug', $title)->first();
$resend = Posts::with(['rSa'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rSa'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$categories = Categories::with(['rSa'])->where('is_active', '1')->get();
......@@ -136,6 +145,9 @@ class AgendaController extends Controller
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$viewer['viewer'] = (int) $data->viewer + 1;
$data->update($viewer);
$data = [
'setting' => $setting,
'data' => $data,
......@@ -151,10 +163,10 @@ class AgendaController extends Controller
return $data;
}
public function getDataZh($setting)
public function getDataZh($setting, $title)
{
$setting = webprofilesetting();
$data = Information::where('info_status', '1')->orderBy('event_date', 'desc')->paginate($setting['post_per_page']);
$data = Agenda::where('slug', $title)->first();
$resend = Posts::with(['rZh'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rZh'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$categories = Categories::with(['rZh'])->where('is_active', '1')->get();
......@@ -163,6 +175,9 @@ class AgendaController extends Controller
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$viewer['viewer'] = (int) $data->viewer + 1;
$data->update($viewer);
$data = [
'setting' => $setting,
'data' => $data,
......
<?php
namespace App\Http\Controllers\Webprofile\Front;
use App\Http\Controllers\Controller;
use App\Models\Webprofile\Categories;
use App\Models\Webprofile\Design;
use App\Models\Webprofile\Agenda;
use App\Models\Webprofile\Menu;
use App\Models\Webprofile\Posts;
use Session;
class AgendaController2 extends Controller
{
public function index()
{
$setting = webprofilesetting();
if (!Session::has('selected_language')) {
session(['selected_language' => 'id']);
}
if (Session::get('selected_language') == 'id') {
$data = $this->getDataId($setting);
return view('webprofile.front.'.$setting['theme'].'.agendainfo', $data)->withTitle('Agenda');
} elseif (Session::get('selected_language') == 'en') {
$data = $this->getDataEn($setting);
return view('webprofile.front.'.$setting['theme'].'.en.archive', $data)->withTitle('Agenda');
} elseif (Session::get('selected_language') == 'de') {
$data = $this->getDataDe($setting);
return view('webprofile.front.'.$setting['theme'].'.de.archive', $data)->withTitle('Agenda');
} elseif (Session::get('selected_language') == 'ar') {
$data = $this->getDataSa($setting);
return view('webprofile.front.'.$setting['theme'].'.ar.archive', $data)->withTitle('جدول أعمال');
} elseif (Session::get('selected_language') == 'zh') {
$data = $this->getDataZh($setting);
return view('webprofile.front.'.$setting['theme'].'.zh.archive', $data)->withTitle('议程');
}
}
public function getDataId($setting)
{
$setting = webprofilesetting();
$data = Agenda::where('info_status', '1')->orderBy('event_date', 'desc')->paginate($setting['post_per_page']);
$resend = Posts::where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$categories = Categories::where('is_active', '1')->get();
$menu = Menu::orderby('urutan', 'asc')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [
'setting' => $setting,
'data' => $data,
'menu' => $menu,
'widget_right' => $widget_right,
'widget_left' => $widget_left,
'resend' => $resend,
'hot' => $hot,
'categories' => $categories,
'footer' => $footer,
];
return $data;
}
public function getDataEn($setting)
{
$setting = webprofilesetting();
$data = Agenda::where('info_status', '1')->orderBy('event_date', 'desc')->paginate($setting['post_per_page']);
$resend = Posts::with(['rEn'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rEn'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$categories = Categories::with(['rEn'])->where('is_active', '1')->get();
$menu = Menu::with(['rEn'])->orderby('urutan', 'asc')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [
'setting' => $setting,
'data' => $data,
'menu' => $menu,
'widget_right' => $widget_right,
'widget_left' => $widget_left,
'resend' => $resend,
'hot' => $hot,
'categories' => $categories,
'footer' => $footer,
];
return $data;
}
public function getDataDe($setting)
{
$setting = webprofilesetting();
$data = Agenda::where('info_status', '1')->orderBy('event_date', 'desc')->paginate($setting['post_per_page']);
$resend = Posts::with(['rDe'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rDe'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$categories = Categories::with(['rDe'])->where('is_active', '1')->get();
$menu = Menu::with(['rDe'])->orderby('urutan', 'asc')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [
'setting' => $setting,
'data' => $data,
'menu' => $menu,
'widget_right' => $widget_right,
'widget_left' => $widget_left,
'resend' => $resend,
'hot' => $hot,
'categories' => $categories,
'footer' => $footer,
];
return $data;
}
public function getDataSa($setting)
{
$setting = webprofilesetting();
$data = Agenda::where('info_status', '1')->orderBy('event_date', 'desc')->paginate($setting['post_per_page']);
$resend = Posts::with(['rSa'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rSa'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$categories = Categories::with(['rSa'])->where('is_active', '1')->get();
$menu = Menu::with(['rSa'])->orderby('urutan', 'asc')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [
'setting' => $setting,
'data' => $data,
'menu' => $menu,
'widget_right' => $widget_right,
'widget_left' => $widget_left,
'resend' => $resend,
'hot' => $hot,
'categories' => $categories,
'footer' => $footer,
];
return $data;
}
public function getDataZh($setting)
{
$setting = webprofilesetting();
$data = Agenda::where('info_status', '1')->orderBy('event_date', 'desc')->paginate($setting['post_per_page']);
$resend = Posts::with(['rZh'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rZh'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$categories = Categories::with(['rZh'])->where('is_active', '1')->get();
$menu = Menu::with(['rZh'])->orderby('urutan', 'asc')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [
'setting' => $setting,
'data' => $data,
'menu' => $menu,
'widget_right' => $widget_right,
'widget_left' => $widget_left,
'resend' => $resend,
'hot' => $hot,
'categories' => $categories,
'footer' => $footer,
];
return $data;
}
}
......@@ -6,6 +6,7 @@ use App\Http\Controllers\Controller;
use App\Models\Webprofile\Design;
use App\Models\Webprofile\Gallery;
use App\Models\Webprofile\Information;
use App\Models\Webprofile\Agenda;
use App\Models\Webprofile\Menu;
use App\Models\Webprofile\Posts;
use App\Models\Webprofile\Slider;
......@@ -49,6 +50,7 @@ class FrontController extends Controller
$resend = Posts::where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$info = Information::where('info_status', '1')->where('event_date', '>=', date('Y-m-d'))->orderby('event_date', 'asc')->get();
$agenda = Agenda::where('info_status', '1')->where('event_date', '>=', date('Y-m-d'))->orderby('event_date', 'asc')->get();
$slider = Slider::where('is_active', '1')->orderby('created_at', 'desc')->get();
$menu = Menu::orderby('urutan', 'asc')->get();
$gallery = Gallery::where('is_active', '1')->orderBy('created_at', 'asc')->limit('4')->get();
......@@ -63,6 +65,7 @@ class FrontController extends Controller
'resend' => $resend,
'hot' => $hot,
'info' => $info,
'agenda' => $agenda,
'slider' => $slider,
'menu' => $menu,
'gallery' => $gallery,
......@@ -83,6 +86,7 @@ class FrontController extends Controller
$resend = Posts::with(['rEn'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rEn'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$info = Information::with(['rEn'])->where('info_status', '1')->where('event_date', '>=', date('Y-m-d'))->orderby('event_date', 'asc')->get();
$agenda = Agenda::with(['rEn'])->where('info_status', '1')->where('event_date', '>=', date('Y-m-d'))->orderby('event_date', 'asc')->get();
$slider = Slider::where('is_active', '1')->orderby('created_at', 'desc')->get();
$menu = Menu::with(['rEn'])->orderby('urutan', 'asc')->get();
$gallery = Gallery::where('is_active', '1')->orderBy('created_at', 'asc')->limit('4')->get();
......@@ -97,6 +101,7 @@ class FrontController extends Controller
'resend' => $resend,
'hot' => $hot,
'info' => $info,
'agenda' => $agenda,
'slider' => $slider,
'menu' => $menu,
'gallery' => $gallery,
......@@ -117,6 +122,7 @@ class FrontController extends Controller
$resend = Posts::with(['rDe'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rDe'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$info = Information::with(['rDe'])->where('info_status', '1')->where('event_date', '>=', date('Y-m-d'))->orderby('event_date', 'asc')->get();
$agenda = Agenda::with(['rDe'])->where('info_status', '1')->where('event_date', '>=', date('Y-m-d'))->orderby('event_date', 'asc')->get();
$slider = Slider::where('is_active', '1')->orderby('created_at', 'desc')->get();
$menu = Menu::with(['rDe'])->orderby('urutan', 'asc')->get();
$gallery = Gallery::where('is_active', '1')->orderBy('created_at', 'asc')->limit('4')->get();
......@@ -131,6 +137,7 @@ class FrontController extends Controller
'resend' => $resend,
'hot' => $hot,
'info' => $info,
'agenda' => $agenda,
'slider' => $slider,
'menu' => $menu,
'gallery' => $gallery,
......@@ -151,6 +158,7 @@ class FrontController extends Controller
$resend = Posts::with(['rSa'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rSa'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$info = Information::with(['rSa'])->where('info_status', '1')->where('event_date', '>=', date('Y-m-d'))->orderby('event_date', 'asc')->get();
$agenda = Agenda::with(['rSa'])->where('info_status', '1')->where('event_date', '>=', date('Y-m-d'))->orderby('event_date', 'asc')->get();
$slider = Slider::where('is_active', '1')->orderby('created_at', 'desc')->get();
$menu = Menu::with(['rSa'])->orderby('urutan', 'asc')->get();
$gallery = Gallery::where('is_active', '1')->orderBy('created_at', 'asc')->limit('4')->get();
......@@ -165,6 +173,7 @@ class FrontController extends Controller
'resend' => $resend,
'hot' => $hot,
'info' => $info,
'agenda' => $agenda,
'slider' => $slider,
'menu' => $menu,
'gallery' => $gallery,
......@@ -185,6 +194,7 @@ class FrontController extends Controller
$resend = Posts::with(['rZh'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rZh'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$info = Information::with(['rZh'])->where('info_status', '1')->where('event_date', '>=', date('Y-m-d'))->orderby('event_date', 'asc')->get();
$agenda = Agenda::with(['rZh'])->where('info_status', '1')->where('event_date', '>=', date('Y-m-d'))->orderby('event_date', 'asc')->get();
$slider = Slider::where('is_active', '1')->orderby('created_at', 'desc')->get();
$menu = Menu::with(['rZh'])->orderby('urutan', 'asc')->get();
$gallery = Gallery::where('is_active', '1')->orderBy('created_at', 'asc')->limit('4')->get();
......@@ -199,6 +209,7 @@ class FrontController extends Controller
'resend' => $resend,
'hot' => $hot,
'info' => $info,
'agenda' => $agenda,
'slider' => $slider,
'menu' => $menu,
'gallery' => $gallery,
......
......@@ -23,33 +23,34 @@ class InformationController extends Controller
if (Session::get('selected_language') == 'id') {
$data = $this->getDataId($setting, $title);
return view('webprofile.front.'.$setting['theme'].'.information', $data);
return view('webprofile.front.'.$setting['theme'].'.information', $data)->withTitle('Informasi');
} elseif (Session::get('selected_language') == 'en') {
$data = $this->getDataEn($setting, $title);
return view('webprofile.front.'.$setting['theme'].'.en.information', $data);
return view('webprofile.front.'.$setting['theme'].'.en.information', $data)->withTitle('Informasi');
} elseif (Session::get('selected_language') == 'de') {
$data = $this->getDataDe($setting, $title);
return view('webprofile.front.'.$setting['theme'].'.de.information', $data);
return view('webprofile.front.'.$setting['theme'].'.de.information', $data)->withTitle('Informasi');
} elseif (Session::get('selected_language') == 'ar') {
$data = $this->getDataSa($setting, $title);
return view('webprofile.front.'.$setting['theme'].'.ar.information', $data);
return view('webprofile.front.'.$setting['theme'].'.ar.information', $data)->withTitle('Informasi');
} elseif (Session::get('selected_language') == 'zh') {
$data = $this->getDataZh($setting, $title);
return view('webprofile.front.'.$setting['theme'].'.zh.information', $data);
return view('webprofile.front.'.$setting['theme'].'.zh.information', $data)->withTitle('Informasi');
}
}
public function getDataId($setting, $title)
{
$setting = webprofilesetting();
$data = Information::where('slug', $title)->first();
$resend = Posts::where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$categories = Categories::where('is_active', '1')->get();
$informations = Information::where('info_status', '1')->orderBy('event_date', 'desc')->limit('5')->get();
$menu = Menu::orderby('urutan', 'asc')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
......@@ -66,7 +67,7 @@ class InformationController extends Controller
'widget_left' => $widget_left,
'resend' => $resend,
'hot' => $hot,
'categories' => $categories,
'informations' => $informations,
'footer' => $footer,
];
......@@ -79,7 +80,7 @@ class InformationController extends Controller
$data = Information::where('slug', $title)->first();
$resend = Posts::with(['rEn'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rEn'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$categories = Categories::with(['rEn'])->where('is_active', '1')->get();
$informations = Information::with(['rEn'])->where('info_status', '1')->orderBy('event_date', 'desc')->limit('5')->get();
$menu = Menu::with(['rEn'])->orderby('urutan', 'asc')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
......@@ -96,7 +97,7 @@ class InformationController extends Controller
'widget_left' => $widget_left,
'resend' => $resend,
'hot' => $hot,
'categories' => $categories,
'informations' => $informations,
'footer' => $footer,
];
......@@ -109,7 +110,7 @@ class InformationController extends Controller
$data = Information::where('slug', $title)->first();
$resend = Posts::with(['rDe'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rDe'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$categories = Categories::with(['rDe'])->where('is_active', '1')->get();
$informations = Information::with(['rDe'])->where('info_status', '1')->orderBy('event_date', 'desc')->limit('5')->get();
$menu = Menu::with(['rDe'])->orderby('urutan', 'asc')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
......@@ -126,7 +127,7 @@ class InformationController extends Controller
'widget_left' => $widget_left,
'resend' => $resend,
'hot' => $hot,
'categories' => $categories,
'informations' => $informations,
'footer' => $footer,
];
......@@ -139,7 +140,7 @@ class InformationController extends Controller
$data = Information::where('slug', $title)->first();
$resend = Posts::with(['rSa'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rSa'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$categories = Categories::with(['rSa'])->where('is_active', '1')->get();
$informations = Information::with(['rSa'])->where('info_status', '1')->orderBy('event_date', 'desc')->limit('5')->get();
$menu = Menu::with(['rSa'])->orderby('urutan', 'asc')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
......@@ -156,7 +157,7 @@ class InformationController extends Controller
'widget_left' => $widget_left,
'resend' => $resend,
'hot' => $hot,
'categories' => $categories,
'informations' => $informations,
'footer' => $footer,
];
......@@ -169,7 +170,7 @@ class InformationController extends Controller
$data = Information::where('slug', $title)->first();
$resend = Posts::with(['rZh'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rZh'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$categories = Categories::with(['rZh'])->where('is_active', '1')->get();
$informations = Information::with(['rZh'])->where('info_status', '1')->orderBy('event_date', 'desc')->limit('5')->get();
$menu = Menu::with(['rZh'])->orderby('urutan', 'asc')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
......@@ -186,7 +187,7 @@ class InformationController extends Controller
'widget_left' => $widget_left,
'resend' => $resend,
'hot' => $hot,
'categories' => $categories,
'informations' => $informations,
'footer' => $footer,
];
......
<?php
namespace App\Http\Controllers\Webprofile\Front;
use App\Http\Controllers\Controller;
use App\Models\Webprofile\Categories;
use App\Models\Webprofile\Design;
use App\Models\Webprofile\Information;
use App\Models\Webprofile\Menu;
use App\Models\Webprofile\Posts;
use Session;
class InformationController2 extends Controller
{
public function index()
{
$setting = webprofilesetting();
if (!Session::has('selected_language')) {
session(['selected_language' => 'id']);
}
if (Session::get('selected_language') == 'id') {
$data = $this->getDataId($setting);
return view('webprofile.front.'.$setting['theme'].'.agendainfo', $data)->withTitle('Pengumuman');
} elseif (Session::get('selected_language') == 'en') {
$data = $this->getDataEn($setting);
return view('webprofile.front.'.$setting['theme'].'.en.information', $data)->withTitle('Informasi');
} elseif (Session::get('selected_language') == 'de') {
$data = $this->getDataDe($setting );
return view('webprofile.front.'.$setting['theme'].'.de.information', $data)->withTitle('Informasi');
} elseif (Session::get('selected_language') == 'ar') {
$data = $this->getDataSa($setting );
return view('webprofile.front.'.$setting['theme'].'.ar.information', $data)->withTitle('Informasi');
} elseif (Session::get('selected_language') == 'zh') {
$data = $this->getDataZh($setting );
return view('webprofile.front.'.$setting['theme'].'.zh.information', $data)->withTitle('Informasi');
}
}
public function getDataId($setting )
{
$setting = webprofilesetting();
$data = Information::where('info_status', '1')->orderBy('event_date', 'desc')->paginate($setting['post_per_page']);
$resend = Posts::where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$informations = Information::where('info_status', '1')->orderBy('event_date', 'desc')->limit('5')->get();
$menu = Menu::orderby('urutan', 'asc')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [
'setting' => $setting,
'data' => $data,
'menu' => $menu,
'widget_right' => $widget_right,
'widget_left' => $widget_left,
'resend' => $resend,
'hot' => $hot,
'informations' => $informations,
'footer' => $footer,
];
return $data;
}
public function getDataEn($setting)
{
$setting = webprofilesetting();
$data = Information::with(['rEn'])->where('info_status', '1')->orderBy('event_date', 'desc')->paginate($setting['post_per_page']);
$resend = Posts::with(['rEn'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rEn'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$informations = Information::with(['rEn'])->where('info_status', '1')->orderBy('event_date', 'desc')->limit('5')->get();
$menu = Menu::with(['rEn'])->orderby('urutan', 'asc')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [
'setting' => $setting,
'data' => $data,
'menu' => $menu,
'widget_right' => $widget_right,
'widget_left' => $widget_left,
'resend' => $resend,
'hot' => $hot,
'informations' => $informations,
'footer' => $footer,
];
return $data;
}
public function getDataDe($setting)
{
$setting = webprofilesetting();
$data = Information::with(['rDe'])->where('info_status', '1')->orderBy('event_date', 'desc')->paginate($setting['post_per_page']);
$hot = Posts::with(['rDe'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$informations = Information::with(['rDe'])->where('info_status', '1')->orderBy('event_date', 'desc')->limit('5')->get();
$menu = Menu::with(['rDe'])->orderby('urutan', 'asc')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [
'setting' => $setting,
'data' => $data,
'menu' => $menu,
'widget_right' => $widget_right,
'widget_left' => $widget_left,
'resend' => $resend,
'hot' => $hot,
'informations' => $informations,
'footer' => $footer,
];
return $data;
}
public function getDataSa($setting)
{
$setting = webprofilesetting();
$data = Information::with(['rSa'])->where('info_status', '1')->orderBy('event_date', 'desc')->paginate($setting['post_per_page']);
$resend = Posts::with(['rSa'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rSa'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$informations = Information::with(['rSa'])->where('info_status', '1')->orderBy('event_date', 'desc')->limit('5')->get();
$menu = Menu::with(['rSa'])->orderby('urutan', 'asc')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [
'setting' => $setting,
'data' => $data,
'menu' => $menu,
'widget_right' => $widget_right,
'widget_left' => $widget_left,
'resend' => $resend,
'hot' => $hot,
'informations' => $informations,
'footer' => $footer,
];
return $data;
}
public function getDataZh($setting)
{
$setting = webprofilesetting();
$data = Information::with(['rZh'])->where('info_status', '1')->orderBy('event_date', 'desc')->paginate($setting['post_per_page']);
$resend = Posts::with(['rZh'])->where('post_status', '1')->orderby('post_date', 'desc')->limit('5')->get();
$hot = Posts::with(['rZh'])->where('post_status', '1')->orderby('viewer', 'desc')->limit('5')->get();
$informations = Information::with(['rZh'])->where('info_status', '1')->orderBy('event_date', 'desc')->limit('5')->get();
$menu = Menu::with(['rZh'])->orderby('urutan', 'asc')->get();
$widget_right = Design::where('name_design', 'widget_right')->orderBy('urutan', 'ASC')->get();
$widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [
'setting' => $setting,
'data' => $data,
'menu' => $menu,
'widget_right' => $widget_right,
'widget_left' => $widget_left,
'resend' => $resend,
'hot' => $hot,
'informations' => $informations,
'footer' => $footer,
];
return $data;
}
}
<?php
namespace App\Models\Webprofile;
use App\Http\Traits\UuidTrait;
use App\Models\Webprofile\De\Agenda as DeAgenda;
use App\Models\Webprofile\En\Agenda as EnAgenda;
use App\Models\Webprofile\Sa\Agenda as SaAgenda;
use App\Models\Webprofile\Zh\Agenda as ZhAgenda;
use Illuminate\Database\Eloquent\Model;
class Agenda extends Model
{
use UuidTrait;
public $incrementing = false;
protected $table = 'swp_agendas';
protected $guarded = [];
public function rEn()
{
return $this->hasOne(EnAgenda::class, 'agenda_id', 'id');
}
public function rDe()
{
return $this->hasOne(DeAgenda::class, 'agenda_id', 'id');
}
public function rSa()
{
return $this->hasOne(SaAgenda::class, 'agenda_id', 'id');
}
public function rZh()
{
return $this->hasOne(ZhAgenda::class, 'agenda_id', 'id');
}
}
<?php
namespace App\Models\Webprofile\De;
use App\Http\Traits\UuidTrait;
use Illuminate\Database\Eloquent\Model;
class Agenda extends Model
{
use UuidTrait;
public $incrementing = false;
protected $table = 'swp_agendas_de';
protected $guarded = [];
}
<?php
namespace App\Models\Webprofile\En;
use App\Http\Traits\UuidTrait;
use Illuminate\Database\Eloquent\Model;
class Agenda extends Model
{
use UuidTrait;
public $incrementing = false;
protected $table = 'swp_agendas_en';
protected $guarded = [];
}
<?php
namespace App\Models\Webprofile\Sa;
use App\Http\Traits\UuidTrait;
use Illuminate\Database\Eloquent\Model;
class Agenda extends Model
{
use UuidTrait;
public $incrementing = false;
protected $table = 'swp_agendas_sa';
protected $guarded = [];
}
<?php
namespace App\Models\Webprofile\Zh;
use App\Http\Traits\UuidTrait;
use Illuminate\Database\Eloquent\Model;
class Agenda extends Model
{
use UuidTrait;
public $incrementing = false;
protected $table = 'swp_agendas_zh';
protected $guarded = [];
}
<?php
namespace App\Repositories\Webprofile;
use App\Models\Webprofile\Agenda;
use App\Repositories\Repository;
use DataTables;
class AgendaRepository extends Repository
{
protected $model;
public function __construct(Agenda $model)
{
$this->model = $model;
}
public function get($with = null, $title = null, $orderBy = null)
{
return $this->model
->when($with, function ($query) use ($with) {
return $query->with($with);
})
->when($title, function ($query) use ($title) {
return $query->where('title', 'ilike', '%' . $title . '%');
})
->when($orderBy, function ($query) use ($orderBy) {
return $query->orderBy($orderBy[0], $orderBy[1]);
})
->get();
}
public function datatable($data)
{
return DataTables::of($data)
->addIndexColumn()
->addColumn('action', function ($row) {
$btn = '<a href="' . url('/webprofile/agendas/' . $row->id . '/edit') . '" data-toggle="tooltip" data-id="' . $row->id . '" data-original-title="' . trans('label.edit') . '" class="edit btn btn-warning btn-round btn-sm edit">' . trans('label.edit') . '</a>';
$btn = $btn . ' <a href="javascript:void(0)" data-toggle="tooltip" data-id="' . $row->id . '" data-original-title="' . trans('label.delete') . '" class="btn btn-danger btn-round btn-sm delete">' . trans('label.delete') . '</a>';
$btn = $btn . '<br>';
return $btn;
})
->addColumn('date', function ($row) {
$str = Date('d-m-Y', strtotime($row->event_date));
return $str;
})
->addColumn('status', function ($row) {
if ($row->info_status == true) {
$str = '<div style="color: green;"><i class="fa fa-check"></i></div>';
} else {
$str = '<div style="color: red;"><i class="fa fa-times"></i></div>';
}
return $str;
})
->addColumn('title', function ($row) {
$str = $row->title . '<br>';
if ($row->rEn) {
$str .= '<i style="color: blue;">' . $row->rEn->title . '</i>';
}
return $str;
})
->rawColumns(['action', 'status', 'date', 'title'])
->make(true);
}
}
<?php
namespace App\Repositories\Webprofile\De;
use App\Models\Webprofile\De\Agenda;
use App\Repositories\Repository;
class AgendaRepository extends Repository
{
public function __construct(Agenda $model)
{
$this->model = $model;
}
public function get()
{
}
public function paginate()
{
}
public function update($data, $agenda)
{
return $this->model->updateOrCreate([
'agenda_id' => $agenda->id,
], $data);
}
}
<?php
namespace App\Repositories\Webprofile\En;
use App\Models\Webprofile\En\Agenda;
use App\Repositories\Repository;
use Illuminate\Database\Eloquent\Model;
class AgendaRepository extends Repository
{
public function __construct(Agenda $model)
{
$this->model = $model;
}
public function get()
{
}
public function paginate()
{
}
public function update($data, $agenda)
{
return $this->model->updateOrCreate([
'agenda_id' => $agenda->id,
], $data);
}
}
<?php
namespace App\Repositories\Webprofile\Sa;
use App\Models\Webprofile\Sa\Agenda;
use App\Repositories\Repository;
class AgendaRepository extends Repository
{
public function __construct(Agenda $model)
{
$this->model = $model;
}
public function get()
{
}
public function paginate()
{
}
public function update($data, $agenda)
{
return $this->model->updateOrCreate([
'agenda_id' => $agenda->id,
], $data);
}
}
<?php
namespace App\Repositories\Webprofile\Zh;
use App\Models\Webprofile\Zh\Agenda;
use App\Repositories\Repository;
class AgendaRepository extends Repository
{
public function __construct(Agenda $model)
{
$this->model = $model;
}
public function get()
{
}
public function paginate()
{
}
public function update($data, $agenda)
{
return $this->model->updateOrCreate([
'agenda_id' => $agenda->id,
], $data);
}
}
......@@ -249,6 +249,10 @@
"uppercase",
"words"
],
"support": {
"issues": "https://github.com/doctrine/inflector/issues",
"source": "https://github.com/doctrine/inflector/tree/1.4.4"
},
"funding": [
{
"url": "https://www.doctrine-project.org/sponsorship.html",
......@@ -647,6 +651,10 @@
"keywords": [
"html"
],
"support": {
"issues": "https://github.com/ezyang/htmlpurifier/issues",
"source": "https://github.com/ezyang/htmlpurifier/tree/master"
},
"time": "2020-06-29T00:56:53+00:00"
},
{
......@@ -842,16 +850,16 @@
},
{
"name": "guzzlehttp/promises",
"version": "1.4.1",
"version": "1.5.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
"reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d"
"reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/promises/zipball/8e7d04f1f6450fef59366c399cfad4b9383aa30d",
"reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d",
"url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da",
"reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da",
"shasum": ""
},
"require": {
......@@ -863,7 +871,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.4-dev"
"dev-master": "1.5-dev"
}
},
"autoload": {
......@@ -880,29 +888,62 @@
],
"authors": [
{
"name": "Graham Campbell",
"email": "hello@gjcampbell.co.uk",
"homepage": "https://github.com/GrahamCampbell"
},
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
},
{
"name": "Tobias Nyholm",
"email": "tobias.nyholm@gmail.com",
"homepage": "https://github.com/Nyholm"
},
{
"name": "Tobias Schultze",
"email": "webmaster@tubo-world.de",
"homepage": "https://github.com/Tobion"
}
],
"description": "Guzzle promises library",
"keywords": [
"promise"
],
"time": "2021-03-07T09:25:29+00:00"
"support": {
"issues": "https://github.com/guzzle/promises/issues",
"source": "https://github.com/guzzle/promises/tree/1.5.1"
},
"funding": [
{
"url": "https://github.com/GrahamCampbell",
"type": "github"
},
{
"url": "https://github.com/Nyholm",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises",
"type": "tidelift"
}
],
"time": "2021-10-22T20:56:57+00:00"
},
{
"name": "guzzlehttp/psr7",
"version": "1.8.2",
"version": "1.8.3",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "dc960a912984efb74d0a90222870c72c87f10c91"
"reference": "1afdd860a2566ed3c2b0b4a3de6e23434a79ec85"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/dc960a912984efb74d0a90222870c72c87f10c91",
"reference": "dc960a912984efb74d0a90222870c72c87f10c91",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",
"reference": "1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",
"shasum": ""
},
"require": {
......@@ -940,12 +981,33 @@
],
"authors": [
{
"name": "Graham Campbell",
"email": "hello@gjcampbell.co.uk",
"homepage": "https://github.com/GrahamCampbell"
},
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
},
{
"name": "George Mponos",
"email": "gmponos@gmail.com",
"homepage": "https://github.com/gmponos"
},
{
"name": "Tobias Nyholm",
"email": "tobias.nyholm@gmail.com",
"homepage": "https://github.com/Nyholm"
},
{
"name": "Márk Sági-Kazár",
"email": "mark.sagikazar@gmail.com",
"homepage": "https://github.com/sagikazarmark"
},
{
"name": "Tobias Schultze",
"email": "webmaster@tubo-world.de",
"homepage": "https://github.com/Tobion"
}
],
......@@ -960,20 +1022,38 @@
"uri",
"url"
],
"time": "2021-04-26T09:17:50+00:00"
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/1.8.3"
},
"funding": [
{
"url": "https://github.com/GrahamCampbell",
"type": "github"
},
{
"url": "https://github.com/Nyholm",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7",
"type": "tidelift"
}
],
"time": "2021-10-05T13:56:00+00:00"
},
{
"name": "intervention/image",
"version": "2.6.1",
"version": "2.7.0",
"source": {
"type": "git",
"url": "https://github.com/Intervention/image.git",
"reference": "0925f10b259679b5d8ca58f3a2add9255ffcda45"
"reference": "9a8cc99d30415ec0b3f7649e1647d03a55698545"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Intervention/image/zipball/0925f10b259679b5d8ca58f3a2add9255ffcda45",
"reference": "0925f10b259679b5d8ca58f3a2add9255ffcda45",
"url": "https://api.github.com/repos/Intervention/image/zipball/9a8cc99d30415ec0b3f7649e1647d03a55698545",
"reference": "9a8cc99d30415ec0b3f7649e1647d03a55698545",
"shasum": ""
},
"require": {
......@@ -1030,6 +1110,10 @@
"thumbnail",
"watermark"
],
"support": {
"issues": "https://github.com/Intervention/image/issues",
"source": "https://github.com/Intervention/image/tree/2.7.0"
},
"funding": [
{
"url": "https://www.paypal.me/interventionphp",
......@@ -1040,20 +1124,20 @@
"type": "github"
}
],
"time": "2021-07-22T14:31:53+00:00"
"time": "2021-10-03T14:17:12+00:00"
},
{
"name": "jaybizzle/crawler-detect",
"version": "v1.2.106",
"version": "v1.2.107",
"source": {
"type": "git",
"url": "https://github.com/JayBizzle/Crawler-Detect.git",
"reference": "78bf6792cbf9c569dc0bf2465481978fd2ed0de9"
"reference": "62b9055b555be9e1479d7c37515d7c58975c2aa4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/78bf6792cbf9c569dc0bf2465481978fd2ed0de9",
"reference": "78bf6792cbf9c569dc0bf2465481978fd2ed0de9",
"url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/62b9055b555be9e1479d7c37515d7c58975c2aa4",
"reference": "62b9055b555be9e1479d7c37515d7c58975c2aa4",
"shasum": ""
},
"require": {
......@@ -1088,7 +1172,11 @@
"crawlerdetect",
"php crawler detect"
],
"time": "2021-05-24T20:30:32+00:00"
"support": {
"issues": "https://github.com/JayBizzle/Crawler-Detect/issues",
"source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.107"
},
"time": "2021-10-12T16:06:07+00:00"
},
{
"name": "jenssegers/agent",
......@@ -1466,16 +1554,16 @@
},
{
"name": "league/flysystem",
"version": "1.1.4",
"version": "1.1.5",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
"reference": "f3ad69181b8afed2c9edf7be5a2918144ff4ea32"
"reference": "18634df356bfd4119fe3d6156bdb990c414c14ea"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/f3ad69181b8afed2c9edf7be5a2918144ff4ea32",
"reference": "f3ad69181b8afed2c9edf7be5a2918144ff4ea32",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/18634df356bfd4119fe3d6156bdb990c414c14ea",
"reference": "18634df356bfd4119fe3d6156bdb990c414c14ea",
"shasum": ""
},
"require": {
......@@ -1546,26 +1634,30 @@
"sftp",
"storage"
],
"support": {
"issues": "https://github.com/thephpleague/flysystem/issues",
"source": "https://github.com/thephpleague/flysystem/tree/1.1.5"
},
"funding": [
{
"url": "https://offset.earth/frankdejonge",
"type": "other"
}
],
"time": "2021-06-23T21:56:05+00:00"
"time": "2021-08-17T13:49:42+00:00"
},
{
"name": "league/mime-type-detection",
"version": "1.7.0",
"version": "1.8.0",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/mime-type-detection.git",
"reference": "3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3"
"reference": "b38b25d7b372e9fddb00335400467b223349fd7e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3",
"reference": "3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3",
"url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/b38b25d7b372e9fddb00335400467b223349fd7e",
"reference": "b38b25d7b372e9fddb00335400467b223349fd7e",
"shasum": ""
},
"require": {
......@@ -1594,6 +1686,10 @@
}
],
"description": "Mime-type detection for Flysystem",
"support": {
"issues": "https://github.com/thephpleague/mime-type-detection/issues",
"source": "https://github.com/thephpleague/mime-type-detection/tree/1.8.0"
},
"funding": [
{
"url": "https://github.com/frankdejonge",
......@@ -1604,7 +1700,7 @@
"type": "tidelift"
}
],
"time": "2021-01-18T20:58:21+00:00"
"time": "2021-09-25T08:23:19+00:00"
},
{
"name": "maatwebsite/excel",
......@@ -1668,6 +1764,10 @@
"php",
"phpspreadsheet"
],
"support": {
"issues": "https://github.com/Maatwebsite/Laravel-Excel/issues",
"source": "https://github.com/Maatwebsite/Laravel-Excel/tree/3.1.33"
},
"funding": [
{
"url": "https://laravel-excel.com/commercial-support",
......@@ -1840,6 +1940,10 @@
"complex",
"mathematics"
],
"support": {
"issues": "https://github.com/MarkBaker/PHPComplex/issues",
"source": "https://github.com/MarkBaker/PHPComplex/tree/2.0.3"
},
"time": "2021-06-02T09:44:11+00:00"
},
{
......@@ -1910,6 +2014,10 @@
"matrix",
"vector"
],
"support": {
"issues": "https://github.com/MarkBaker/PHPMatrix/issues",
"source": "https://github.com/MarkBaker/PHPMatrix/tree/2.1.3"
},
"time": "2021-05-25T15:42:17+00:00"
},
{
......@@ -1970,6 +2078,10 @@
"qr code",
"qrcode"
],
"support": {
"issues": "https://github.com/milon/barcode/issues",
"source": "https://github.com/milon/barcode/tree/version-6"
},
"funding": [
{
"url": "https://paypal.me/tomilon",
......@@ -2032,6 +2144,10 @@
"mobile detector",
"php mobile detect"
],
"support": {
"issues": "https://github.com/serbanghita/Mobile-Detect/issues",
"source": "https://github.com/serbanghita/Mobile-Detect/tree/2.8.37"
},
"funding": [
{
"url": "https://github.com/serbanghita",
......@@ -2110,6 +2226,10 @@
"logging",
"psr-3"
],
"support": {
"issues": "https://github.com/Seldaek/monolog/issues",
"source": "https://github.com/Seldaek/monolog/tree/1.26.1"
},
"funding": [
{
"url": "https://github.com/Seldaek",
......@@ -2166,6 +2286,10 @@
"keywords": [
"enum"
],
"support": {
"issues": "https://github.com/myclabs/php-enum/issues",
"source": "https://github.com/myclabs/php-enum/tree/1.8.3"
},
"funding": [
{
"url": "https://github.com/mnapoli",
......@@ -2180,16 +2304,16 @@
},
{
"name": "nesbot/carbon",
"version": "2.51.1",
"version": "2.53.1",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
"reference": "8619c299d1e0d4b344e1f98ca07a1ce2cfbf1922"
"reference": "f4655858a784988f880c1b8c7feabbf02dfdf045"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/8619c299d1e0d4b344e1f98ca07a1ce2cfbf1922",
"reference": "8619c299d1e0d4b344e1f98ca07a1ce2cfbf1922",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/f4655858a784988f880c1b8c7feabbf02dfdf045",
"reference": "f4655858a784988f880c1b8c7feabbf02dfdf045",
"shasum": ""
},
"require": {
......@@ -2201,7 +2325,7 @@
},
"require-dev": {
"doctrine/orm": "^2.7",
"friendsofphp/php-cs-fixer": "^2.14 || ^3.0",
"friendsofphp/php-cs-fixer": "^3.0",
"kylekatarnls/multi-tester": "^2.0",
"phpmd/phpmd": "^2.9",
"phpstan/extension-installer": "^1.0",
......@@ -2256,6 +2380,10 @@
"datetime",
"time"
],
"support": {
"issues": "https://github.com/briannesbitt/Carbon/issues",
"source": "https://github.com/briannesbitt/Carbon"
},
"funding": [
{
"url": "https://opencollective.com/Carbon",
......@@ -2266,20 +2394,20 @@
"type": "tidelift"
}
],
"time": "2021-07-28T13:16:28+00:00"
"time": "2021-09-06T09:29:23+00:00"
},
{
"name": "nikic/php-parser",
"version": "v4.12.0",
"version": "v4.13.0",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
"reference": "6608f01670c3cc5079e18c1dab1104e002579143"
"reference": "50953a2691a922aa1769461637869a0a2faa3f53"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6608f01670c3cc5079e18c1dab1104e002579143",
"reference": "6608f01670c3cc5079e18c1dab1104e002579143",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/50953a2691a922aa1769461637869a0a2faa3f53",
"reference": "50953a2691a922aa1769461637869a0a2faa3f53",
"shasum": ""
},
"require": {
......@@ -2318,7 +2446,11 @@
"parser",
"php"
],
"time": "2021-07-21T10:44:31+00:00"
"support": {
"issues": "https://github.com/nikic/PHP-Parser/issues",
"source": "https://github.com/nikic/PHP-Parser/tree/v4.13.0"
},
"time": "2021-09-20T12:20:58+00:00"
},
{
"name": "opis/closure",
......@@ -2379,6 +2511,10 @@
"serialization",
"serialize"
],
"support": {
"issues": "https://github.com/opis/closure/issues",
"source": "https://github.com/opis/closure/tree/3.6.2"
},
"time": "2021-04-09T13:42:10+00:00"
},
{
......@@ -2424,6 +2560,11 @@
"pseudorandom",
"random"
],
"support": {
"email": "info@paragonie.com",
"issues": "https://github.com/paragonie/random_compat/issues",
"source": "https://github.com/paragonie/random_compat"
},
"time": "2020-10-15T08:29:30+00:00"
},
{
......@@ -2469,23 +2610,24 @@
},
{
"name": "phenx/php-svg-lib",
"version": "v0.3.3",
"version": "0.3.4",
"source": {
"type": "git",
"url": "https://github.com/PhenX/php-svg-lib.git",
"reference": "5fa61b65e612ce1ae15f69b3d223cb14ecc60e32"
"reference": "f627771eb854aa7f45f80add0f23c6c4d67ea0f2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PhenX/php-svg-lib/zipball/5fa61b65e612ce1ae15f69b3d223cb14ecc60e32",
"reference": "5fa61b65e612ce1ae15f69b3d223cb14ecc60e32",
"url": "https://api.github.com/repos/PhenX/php-svg-lib/zipball/f627771eb854aa7f45f80add0f23c6c4d67ea0f2",
"reference": "f627771eb854aa7f45f80add0f23c6c4d67ea0f2",
"shasum": ""
},
"require": {
"php": "^7.4 || ^8.0",
"sabberworm/php-css-parser": "^8.3"
},
"require-dev": {
"phpunit/phpunit": "^5.5|^6.5"
"phpunit/phpunit": "^9.5"
},
"type": "library",
"autoload": {
......@@ -2507,9 +2649,9 @@
"homepage": "https://github.com/PhenX/php-svg-lib",
"support": {
"issues": "https://github.com/PhenX/php-svg-lib/issues",
"source": "https://github.com/PhenX/php-svg-lib/tree/master"
"source": "https://github.com/PhenX/php-svg-lib/tree/0.3.4"
},
"time": "2019-09-11T20:02:13+00:00"
"time": "2021-10-18T02:13:32+00:00"
},
{
"name": "php-parallel-lint/php-console-color",
......@@ -2554,6 +2696,10 @@
"email": "jakub.onderka@gmail.com"
}
],
"support": {
"issues": "https://github.com/php-parallel-lint/PHP-Console-Color/issues",
"source": "https://github.com/php-parallel-lint/PHP-Console-Color/tree/master"
},
"time": "2020-05-14T05:47:14+00:00"
},
{
......@@ -2603,6 +2749,10 @@
}
],
"description": "Highlight PHP code in terminal",
"support": {
"issues": "https://github.com/php-parallel-lint/PHP-Console-Highlighter/issues",
"source": "https://github.com/php-parallel-lint/PHP-Console-Highlighter/tree/master"
},
"time": "2020-05-13T07:37:49+00:00"
},
{
......@@ -2703,33 +2853,37 @@
"xls",
"xlsx"
],
"support": {
"issues": "https://github.com/PHPOffice/PhpSpreadsheet/issues",
"source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.18.0"
},
"time": "2021-05-31T18:21:15+00:00"
},
{
"name": "phpoption/phpoption",
"version": "1.7.5",
"version": "1.8.0",
"source": {
"type": "git",
"url": "https://github.com/schmittjoh/php-option.git",
"reference": "994ecccd8f3283ecf5ac33254543eb0ac946d525"
"reference": "5455cb38aed4523f99977c4a12ef19da4bfe2a28"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/schmittjoh/php-option/zipball/994ecccd8f3283ecf5ac33254543eb0ac946d525",
"reference": "994ecccd8f3283ecf5ac33254543eb0ac946d525",
"url": "https://api.github.com/repos/schmittjoh/php-option/zipball/5455cb38aed4523f99977c4a12ef19da4bfe2a28",
"reference": "5455cb38aed4523f99977c4a12ef19da4bfe2a28",
"shasum": ""
},
"require": {
"php": "^5.5.9 || ^7.0 || ^8.0"
"php": "^7.0 || ^8.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.4.1",
"phpunit/phpunit": "^4.8.35 || ^5.7.27 || ^6.5.6 || ^7.0 || ^8.0 || ^9.0"
"phpunit/phpunit": "^6.5.14 || ^7.0.20 || ^8.5.19 || ^9.5.8"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.7-dev"
"dev-master": "1.8-dev"
}
},
"autoload": {
......@@ -2748,7 +2902,7 @@
},
{
"name": "Graham Campbell",
"email": "graham@alt-three.com"
"email": "hello@gjcampbell.co.uk"
}
],
"description": "Option Type for PHP",
......@@ -2760,7 +2914,7 @@
],
"support": {
"issues": "https://github.com/schmittjoh/php-option/issues",
"source": "https://github.com/schmittjoh/php-option/tree/1.7.5"
"source": "https://github.com/schmittjoh/php-option/tree/1.8.0"
},
"funding": [
{
......@@ -2772,7 +2926,7 @@
"type": "tidelift"
}
],
"time": "2020-07-20T17:29:33+00:00"
"time": "2021-08-28T21:27:29+00:00"
},
{
"name": "psr/container",
......@@ -2816,6 +2970,10 @@
"container-interop",
"psr"
],
"support": {
"issues": "https://github.com/php-fig/container/issues",
"source": "https://github.com/php-fig/container/tree/1.1.1"
},
"time": "2021-03-05T17:36:06+00:00"
},
{
......@@ -3023,6 +3181,9 @@
"psr",
"psr-3"
],
"support": {
"source": "https://github.com/php-fig/log/tree/1.1.4"
},
"time": "2021-05-03T11:20:27+00:00"
},
{
......@@ -3200,22 +3361,22 @@
},
{
"name": "ramsey/uuid",
"version": "3.9.4",
"version": "3.9.6",
"source": {
"type": "git",
"url": "https://github.com/ramsey/uuid.git",
"reference": "be2451bef8147b7352a28fb4cddb08adc497ada3"
"reference": "ffa80ab953edd85d5b6c004f96181a538aad35a3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ramsey/uuid/zipball/be2451bef8147b7352a28fb4cddb08adc497ada3",
"reference": "be2451bef8147b7352a28fb4cddb08adc497ada3",
"url": "https://api.github.com/repos/ramsey/uuid/zipball/ffa80ab953edd85d5b6c004f96181a538aad35a3",
"reference": "ffa80ab953edd85d5b6c004f96181a538aad35a3",
"shasum": ""
},
"require": {
"ext-json": "*",
"paragonie/random_compat": "^1 | ^2 | ^9.99.99",
"php": "^5.4 | ^7 | ^8",
"php": "^5.4 | ^7.0 | ^8.0",
"symfony/polyfill-ctype": "^1.8"
},
"replace": {
......@@ -3224,14 +3385,16 @@
"require-dev": {
"codeception/aspect-mock": "^1 | ^2",
"doctrine/annotations": "^1.2",
"goaop/framework": "1.0.0-alpha.2 | ^1 | ^2.1",
"jakub-onderka/php-parallel-lint": "^1",
"goaop/framework": "1.0.0-alpha.2 | ^1 | >=2.1.0 <=2.3.2",
"mockery/mockery": "^0.9.11 | ^1",
"moontoast/math": "^1.1",
"nikic/php-parser": "<=4.5.0",
"paragonie/random-lib": "^2",
"php-mock/php-mock-phpunit": "^0.3 | ^1.1",
"phpunit/phpunit": "^4.8 | ^5.4 | ^6.5",
"squizlabs/php_codesniffer": "^3.5"
"php-mock/php-mock-phpunit": "^0.3 | ^1.1 | ^2.6",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpunit/phpunit": ">=4.8.36 <9.0.0 | >=9.3.0",
"squizlabs/php_codesniffer": "^3.5",
"yoast/phpunit-polyfills": "^1.0"
},
"suggest": {
"ext-ctype": "Provides support for PHP Ctype functions",
......@@ -3283,6 +3446,12 @@
"identifier",
"uuid"
],
"support": {
"issues": "https://github.com/ramsey/uuid/issues",
"rss": "https://github.com/ramsey/uuid/releases.atom",
"source": "https://github.com/ramsey/uuid",
"wiki": "https://github.com/ramsey/uuid/wiki"
},
"funding": [
{
"url": "https://github.com/ramsey",
......@@ -3293,7 +3462,7 @@
"type": "tidelift"
}
],
"time": "2021-08-06T20:32:15+00:00"
"time": "2021-09-25T23:07:42+00:00"
},
{
"name": "sabberworm/php-css-parser",
......@@ -3401,6 +3570,10 @@
"translate",
"translator"
],
"support": {
"issues": "https://github.com/statickidz/php-google-translate-free/issues",
"source": "https://github.com/statickidz/php-google-translate-free/releases"
},
"funding": [
{
"url": "https://github.com/statickidz",
......@@ -3411,16 +3584,16 @@
},
{
"name": "swiftmailer/swiftmailer",
"version": "v6.2.7",
"version": "v6.3.0",
"source": {
"type": "git",
"url": "https://github.com/swiftmailer/swiftmailer.git",
"reference": "15f7faf8508e04471f666633addacf54c0ab5933"
"reference": "8a5d5072dca8f48460fce2f4131fcc495eec654c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/15f7faf8508e04471f666633addacf54c0ab5933",
"reference": "15f7faf8508e04471f666633addacf54c0ab5933",
"url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/8a5d5072dca8f48460fce2f4131fcc495eec654c",
"reference": "8a5d5072dca8f48460fce2f4131fcc495eec654c",
"shasum": ""
},
"require": {
......@@ -3432,7 +3605,7 @@
},
"require-dev": {
"mockery/mockery": "^1.0",
"symfony/phpunit-bridge": "^4.4|^5.0"
"symfony/phpunit-bridge": "^4.4|^5.4"
},
"suggest": {
"ext-intl": "Needed to support internationalized email addresses"
......@@ -3468,6 +3641,10 @@
"mail",
"mailer"
],
"support": {
"issues": "https://github.com/swiftmailer/swiftmailer/issues",
"source": "https://github.com/swiftmailer/swiftmailer/tree/v6.3.0"
},
"funding": [
{
"url": "https://github.com/fabpot",
......@@ -3478,20 +3655,20 @@
"type": "tidelift"
}
],
"time": "2021-03-09T12:30:35+00:00"
"time": "2021-10-18T15:26:12+00:00"
},
{
"name": "symfony/console",
"version": "v4.4.29",
"version": "v4.4.30",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "8baf0bbcfddfde7d7225ae8e04705cfd1081cd7b"
"reference": "a3f7189a0665ee33b50e9e228c46f50f5acbed22"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/8baf0bbcfddfde7d7225ae8e04705cfd1081cd7b",
"reference": "8baf0bbcfddfde7d7225ae8e04705cfd1081cd7b",
"url": "https://api.github.com/repos/symfony/console/zipball/a3f7189a0665ee33b50e9e228c46f50f5acbed22",
"reference": "a3f7189a0665ee33b50e9e228c46f50f5acbed22",
"shasum": ""
},
"require": {
......@@ -3551,6 +3728,9 @@
],
"description": "Eases the creation of beautiful and testable command line interfaces",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/console/tree/v4.4.30"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -3565,7 +3745,7 @@
"type": "tidelift"
}
],
"time": "2021-07-27T19:04:53+00:00"
"time": "2021-08-25T19:27:26+00:00"
},
{
"name": "symfony/css-selector",
......@@ -3614,6 +3794,9 @@
],
"description": "Converts CSS selectors to XPath expressions",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/css-selector/tree/v5.3.4"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -3632,16 +3815,16 @@
},
{
"name": "symfony/debug",
"version": "v4.4.27",
"version": "v4.4.31",
"source": {
"type": "git",
"url": "https://github.com/symfony/debug.git",
"reference": "2f9160e92eb64c95da7368c867b663a8e34e980c"
"reference": "43ede438d4cb52cd589ae5dc070e9323866ba8e0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/debug/zipball/2f9160e92eb64c95da7368c867b663a8e34e980c",
"reference": "2f9160e92eb64c95da7368c867b663a8e34e980c",
"url": "https://api.github.com/repos/symfony/debug/zipball/43ede438d4cb52cd589ae5dc070e9323866ba8e0",
"reference": "43ede438d4cb52cd589ae5dc070e9323866ba8e0",
"shasum": ""
},
"require": {
......@@ -3679,6 +3862,9 @@
],
"description": "Provides tools to ease debugging PHP code",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/debug/tree/v4.4.31"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -3693,7 +3879,7 @@
"type": "tidelift"
}
],
"time": "2021-07-22T07:21:39+00:00"
"time": "2021-09-24T13:30:14+00:00"
},
{
"name": "symfony/deprecation-contracts",
......@@ -3743,6 +3929,9 @@
],
"description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/deprecation-contracts/tree/v2.4.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -3761,16 +3950,16 @@
},
{
"name": "symfony/error-handler",
"version": "v4.4.27",
"version": "v4.4.30",
"source": {
"type": "git",
"url": "https://github.com/symfony/error-handler.git",
"reference": "16ac2be1c0f49d6d9eb9d3ce9324bde268717905"
"reference": "51f98f7aa99f00f3b1da6bafe934e67ae6ba6dc5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/16ac2be1c0f49d6d9eb9d3ce9324bde268717905",
"reference": "16ac2be1c0f49d6d9eb9d3ce9324bde268717905",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/51f98f7aa99f00f3b1da6bafe934e67ae6ba6dc5",
"reference": "51f98f7aa99f00f3b1da6bafe934e67ae6ba6dc5",
"shasum": ""
},
"require": {
......@@ -3808,6 +3997,9 @@
],
"description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/error-handler/tree/v4.4.30"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -3822,20 +4014,20 @@
"type": "tidelift"
}
],
"time": "2021-07-23T15:41:52+00:00"
"time": "2021-08-27T17:42:48+00:00"
},
{
"name": "symfony/event-dispatcher",
"version": "v4.4.27",
"version": "v4.4.30",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
"reference": "958a128b184fcf0ba45ec90c0e88554c9327c2e9"
"reference": "2fe81680070043c4c80e7cedceb797e34f377bac"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/958a128b184fcf0ba45ec90c0e88554c9327c2e9",
"reference": "958a128b184fcf0ba45ec90c0e88554c9327c2e9",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/2fe81680070043c4c80e7cedceb797e34f377bac",
"reference": "2fe81680070043c4c80e7cedceb797e34f377bac",
"shasum": ""
},
"require": {
......@@ -3889,6 +4081,9 @@
],
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/event-dispatcher/tree/v4.4.30"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -3903,7 +4098,7 @@
"type": "tidelift"
}
],
"time": "2021-07-23T15:41:52+00:00"
"time": "2021-08-04T20:31:23+00:00"
},
{
"name": "symfony/event-dispatcher-contracts",
......@@ -3986,16 +4181,16 @@
},
{
"name": "symfony/finder",
"version": "v4.4.27",
"version": "v4.4.30",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "42414d7ac96fc2880a783b872185789dea0d4262"
"reference": "70362f1e112280d75b30087c7598b837c1b468b6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/42414d7ac96fc2880a783b872185789dea0d4262",
"reference": "42414d7ac96fc2880a783b872185789dea0d4262",
"url": "https://api.github.com/repos/symfony/finder/zipball/70362f1e112280d75b30087c7598b837c1b468b6",
"reference": "70362f1e112280d75b30087c7598b837c1b468b6",
"shasum": ""
},
"require": {
......@@ -4027,6 +4222,9 @@
],
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/finder/tree/v4.4.30"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -4041,7 +4239,7 @@
"type": "tidelift"
}
],
"time": "2021-07-23T15:41:52+00:00"
"time": "2021-08-04T20:31:23+00:00"
},
{
"name": "symfony/http-client-contracts",
......@@ -4102,6 +4300,9 @@
"interoperability",
"standards"
],
"support": {
"source": "https://github.com/symfony/http-client-contracts/tree/v2.4.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -4120,16 +4321,16 @@
},
{
"name": "symfony/http-foundation",
"version": "v4.4.29",
"version": "v4.4.30",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "7016057b01f0ed3ec3ba1f31a580b6661667c2e1"
"reference": "09b3202651ab23ac8dcf455284a48a3500e56731"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/7016057b01f0ed3ec3ba1f31a580b6661667c2e1",
"reference": "7016057b01f0ed3ec3ba1f31a580b6661667c2e1",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/09b3202651ab23ac8dcf455284a48a3500e56731",
"reference": "09b3202651ab23ac8dcf455284a48a3500e56731",
"shasum": ""
},
"require": {
......@@ -4167,6 +4368,9 @@
],
"description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-foundation/tree/v4.4.30"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -4181,20 +4385,20 @@
"type": "tidelift"
}
],
"time": "2021-07-27T14:32:23+00:00"
"time": "2021-08-26T15:51:23+00:00"
},
{
"name": "symfony/http-kernel",
"version": "v4.4.29",
"version": "v4.4.32",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "752b170e1ba0dd4104e7fa17c1cef1ec8a7fc506"
"reference": "f7bda3ea8f05ae90627400e58af5179b25ce0f38"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/752b170e1ba0dd4104e7fa17c1cef1ec8a7fc506",
"reference": "752b170e1ba0dd4104e7fa17c1cef1ec8a7fc506",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/f7bda3ea8f05ae90627400e58af5179b25ce0f38",
"reference": "f7bda3ea8f05ae90627400e58af5179b25ce0f38",
"shasum": ""
},
"require": {
......@@ -4203,7 +4407,7 @@
"symfony/error-handler": "^4.4",
"symfony/event-dispatcher": "^4.4",
"symfony/http-client-contracts": "^1.1|^2",
"symfony/http-foundation": "^4.4|^5.0",
"symfony/http-foundation": "^4.4.30|^5.3.7",
"symfony/polyfill-ctype": "^1.8",
"symfony/polyfill-php73": "^1.9",
"symfony/polyfill-php80": "^1.16"
......@@ -4268,6 +4472,9 @@
],
"description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-kernel/tree/v4.4.32"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -4282,20 +4489,20 @@
"type": "tidelift"
}
],
"time": "2021-07-29T06:45:05+00:00"
"time": "2021-09-28T10:20:04+00:00"
},
{
"name": "symfony/mime",
"version": "v5.3.4",
"version": "v5.3.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/mime.git",
"reference": "633e4e8afe9e529e5599d71238849a4218dd497b"
"reference": "a756033d0a7e53db389618653ae991eba5a19a11"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/mime/zipball/633e4e8afe9e529e5599d71238849a4218dd497b",
"reference": "633e4e8afe9e529e5599d71238849a4218dd497b",
"url": "https://api.github.com/repos/symfony/mime/zipball/a756033d0a7e53db389618653ae991eba5a19a11",
"reference": "a756033d0a7e53db389618653ae991eba5a19a11",
"shasum": ""
},
"require": {
......@@ -4348,6 +4555,9 @@
"mime",
"mime-type"
],
"support": {
"source": "https://github.com/symfony/mime/tree/v5.3.8"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -4362,7 +4572,7 @@
"type": "tidelift"
}
],
"time": "2021-07-21T12:40:44+00:00"
"time": "2021-09-10T12:30:38+00:00"
},
{
"name": "symfony/polyfill-ctype",
......@@ -4424,6 +4634,9 @@
"polyfill",
"portable"
],
"support": {
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -4501,6 +4714,9 @@
"portable",
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-iconv/tree/v1.23.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -4585,6 +4801,9 @@
"portable",
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.23.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -4666,6 +4885,9 @@
"portable",
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.23.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -4743,6 +4965,9 @@
"portable",
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.1"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -4816,6 +5041,9 @@
"portable",
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php72/tree/v1.23.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -4892,6 +5120,9 @@
"portable",
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php73/tree/v1.23.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -4972,6 +5203,9 @@
"portable",
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php80/tree/v1.23.1"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -4990,16 +5224,16 @@
},
{
"name": "symfony/process",
"version": "v4.4.27",
"version": "v4.4.30",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
"reference": "0b7dc5599ac4aa6d7b936c8f7d10abae64f6cf7f"
"reference": "13d3161ef63a8ec21eeccaaf9a4d7f784a87a97d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/0b7dc5599ac4aa6d7b936c8f7d10abae64f6cf7f",
"reference": "0b7dc5599ac4aa6d7b936c8f7d10abae64f6cf7f",
"url": "https://api.github.com/repos/symfony/process/zipball/13d3161ef63a8ec21eeccaaf9a4d7f784a87a97d",
"reference": "13d3161ef63a8ec21eeccaaf9a4d7f784a87a97d",
"shasum": ""
},
"require": {
......@@ -5031,6 +5265,9 @@
],
"description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/process/tree/v4.4.30"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -5045,20 +5282,20 @@
"type": "tidelift"
}
],
"time": "2021-07-23T15:41:52+00:00"
"time": "2021-08-04T20:31:23+00:00"
},
{
"name": "symfony/routing",
"version": "v4.4.27",
"version": "v4.4.30",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
"reference": "244609821beece97167fa7ba4eef49d2a31862db"
"reference": "9ddf033927ad9f30ba2bfd167a7b342cafa13e8e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/routing/zipball/244609821beece97167fa7ba4eef49d2a31862db",
"reference": "244609821beece97167fa7ba4eef49d2a31862db",
"url": "https://api.github.com/repos/symfony/routing/zipball/9ddf033927ad9f30ba2bfd167a7b342cafa13e8e",
"reference": "9ddf033927ad9f30ba2bfd167a7b342cafa13e8e",
"shasum": ""
},
"require": {
......@@ -5117,6 +5354,9 @@
"uri",
"url"
],
"support": {
"source": "https://github.com/symfony/routing/tree/v4.4.30"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -5131,7 +5371,7 @@
"type": "tidelift"
}
],
"time": "2021-07-23T15:41:52+00:00"
"time": "2021-08-04T21:41:01+00:00"
},
{
"name": "symfony/service-contracts",
......@@ -5193,6 +5433,9 @@
"interoperability",
"standards"
],
"support": {
"source": "https://github.com/symfony/service-contracts/tree/v2.4.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -5211,16 +5454,16 @@
},
{
"name": "symfony/translation",
"version": "v4.4.27",
"version": "v4.4.32",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
"reference": "2e3c0f2bf704d635ba862e7198d72331a62d82ba"
"reference": "db0ba1e85280d8ff11e38d53c70f8814d4d740f5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/2e3c0f2bf704d635ba862e7198d72331a62d82ba",
"reference": "2e3c0f2bf704d635ba862e7198d72331a62d82ba",
"url": "https://api.github.com/repos/symfony/translation/zipball/db0ba1e85280d8ff11e38d53c70f8814d4d740f5",
"reference": "db0ba1e85280d8ff11e38d53c70f8814d4d740f5",
"shasum": ""
},
"require": {
......@@ -5279,6 +5522,9 @@
],
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/translation/tree/v4.4.32"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -5293,7 +5539,7 @@
"type": "tidelift"
}
],
"time": "2021-07-21T13:12:00+00:00"
"time": "2021-08-26T05:57:13+00:00"
},
{
"name": "symfony/translation-contracts",
......@@ -5354,6 +5600,9 @@
"interoperability",
"standards"
],
"support": {
"source": "https://github.com/symfony/translation-contracts/tree/v2.4.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -5372,16 +5621,16 @@
},
{
"name": "symfony/var-dumper",
"version": "v4.4.27",
"version": "v4.4.31",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "391d6d0e7a06ab54eb7c38fab29b8d174471b3ba"
"reference": "1f12cc0c2e880a5f39575c19af81438464717839"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/391d6d0e7a06ab54eb7c38fab29b8d174471b3ba",
"reference": "391d6d0e7a06ab54eb7c38fab29b8d174471b3ba",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/1f12cc0c2e880a5f39575c19af81438464717839",
"reference": "1f12cc0c2e880a5f39575c19af81438464717839",
"shasum": ""
},
"require": {
......@@ -5440,6 +5689,9 @@
"debug",
"dump"
],
"support": {
"source": "https://github.com/symfony/var-dumper/tree/v4.4.31"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
......@@ -5454,7 +5706,7 @@
"type": "tidelift"
}
],
"time": "2021-07-23T15:41:52+00:00"
"time": "2021-09-24T15:30:11+00:00"
},
{
"name": "tijsverkoyen/css-to-inline-styles",
......@@ -5530,6 +5782,7 @@
"require-dev": {
"phpunit/phpunit": "~4.8"
},
"default-branch": true,
"type": "library",
"extra": {
"laravel": {
......@@ -5714,16 +5967,16 @@
},
{
"name": "vlucas/phpdotenv",
"version": "v3.6.8",
"version": "v3.6.9",
"source": {
"type": "git",
"url": "https://github.com/vlucas/phpdotenv.git",
"reference": "5e679f7616db829358341e2d5cccbd18773bdab8"
"reference": "a1bf4c9853d90ade427b4efe35355fc41b3d6988"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/5e679f7616db829358341e2d5cccbd18773bdab8",
"reference": "5e679f7616db829358341e2d5cccbd18773bdab8",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/a1bf4c9853d90ade427b4efe35355fc41b3d6988",
"reference": "a1bf4c9853d90ade427b4efe35355fc41b3d6988",
"shasum": ""
},
"require": {
......@@ -5734,7 +5987,7 @@
"require-dev": {
"ext-filter": "*",
"ext-pcre": "*",
"phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20"
"phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.21"
},
"suggest": {
"ext-filter": "Required to use the boolean validator.",
......@@ -5758,13 +6011,11 @@
"authors": [
{
"name": "Graham Campbell",
"email": "graham@alt-three.com",
"homepage": "https://gjcampbell.co.uk/"
"email": "hello@gjcampbell.co.uk"
},
{
"name": "Vance Lucas",
"email": "vance@vancelucas.com",
"homepage": "https://vancelucas.com/"
"email": "vance@vancelucas.com"
}
],
"description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.",
......@@ -5773,6 +6024,10 @@
"env",
"environment"
],
"support": {
"issues": "https://github.com/vlucas/phpdotenv/issues",
"source": "https://github.com/vlucas/phpdotenv/tree/v3.6.9"
},
"funding": [
{
"url": "https://github.com/GrahamCampbell",
......@@ -5783,20 +6038,20 @@
"type": "tidelift"
}
],
"time": "2021-01-20T14:39:46+00:00"
"time": "2021-10-02T19:07:56+00:00"
},
{
"name": "yajra/laravel-datatables-oracle",
"version": "v9.18.1",
"version": "v9.18.2",
"source": {
"type": "git",
"url": "https://github.com/yajra/laravel-datatables.git",
"reference": "7148225d52bcdfdd77c24e8d456058f1150b84e7"
"reference": "f4eebc1dc2b067058dfb91e7c067de862353c40f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yajra/laravel-datatables/zipball/7148225d52bcdfdd77c24e8d456058f1150b84e7",
"reference": "7148225d52bcdfdd77c24e8d456058f1150b84e7",
"url": "https://api.github.com/repos/yajra/laravel-datatables/zipball/f4eebc1dc2b067058dfb91e7c067de862353c40f",
"reference": "f4eebc1dc2b067058dfb91e7c067de862353c40f",
"shasum": ""
},
"require": {
......@@ -5854,6 +6109,10 @@
"jquery",
"laravel"
],
"support": {
"issues": "https://github.com/yajra/laravel-datatables/issues",
"source": "https://github.com/yajra/laravel-datatables/tree/v9.18.2"
},
"funding": [
{
"url": "https://www.paypal.me/yajra",
......@@ -5864,7 +6123,7 @@
"type": "patreon"
}
],
"time": "2021-06-28T01:24:17+00:00"
"time": "2021-10-27T12:38:21+00:00"
}
],
"packages-dev": [
......@@ -6083,21 +6342,21 @@
},
{
"name": "filp/whoops",
"version": "2.14.0",
"version": "2.14.4",
"source": {
"type": "git",
"url": "https://github.com/filp/whoops.git",
"reference": "fdf92f03e150ed84d5967a833ae93abffac0315b"
"reference": "f056f1fe935d9ed86e698905a957334029899895"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filp/whoops/zipball/fdf92f03e150ed84d5967a833ae93abffac0315b",
"reference": "fdf92f03e150ed84d5967a833ae93abffac0315b",
"url": "https://api.github.com/repos/filp/whoops/zipball/f056f1fe935d9ed86e698905a957334029899895",
"reference": "f056f1fe935d9ed86e698905a957334029899895",
"shasum": ""
},
"require": {
"php": "^5.5.9 || ^7.0 || ^8.0",
"psr/log": "^1.0.1"
"psr/log": "^1.0.1 || ^2.0 || ^3.0"
},
"require-dev": {
"mockery/mockery": "^0.9 || ^1.0",
......@@ -6140,13 +6399,17 @@
"throwable",
"whoops"
],
"support": {
"issues": "https://github.com/filp/whoops/issues",
"source": "https://github.com/filp/whoops/tree/2.14.4"
},
"funding": [
{
"url": "https://github.com/denis-sokolov",
"type": "github"
}
],
"time": "2021-07-13T12:00:00+00:00"
"time": "2021-10-03T12:00:00+00:00"
},
{
"name": "fzaninotto/faker",
......@@ -6256,21 +6519,21 @@
},
{
"name": "maximebf/debugbar",
"version": "v1.17.1",
"version": "v1.17.2",
"source": {
"type": "git",
"url": "https://github.com/maximebf/php-debugbar.git",
"reference": "0a3532556be0145603f8a9de23e76dc28eed7054"
"reference": "3541f09f09c003c4a9ff7ddb0eb3361a7f14d418"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/0a3532556be0145603f8a9de23e76dc28eed7054",
"reference": "0a3532556be0145603f8a9de23e76dc28eed7054",
"url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/3541f09f09c003c4a9ff7ddb0eb3361a7f14d418",
"reference": "3541f09f09c003c4a9ff7ddb0eb3361a7f14d418",
"shasum": ""
},
"require": {
"php": "^7.1|^8",
"psr/log": "^1.0",
"psr/log": "^1|^2|^3",
"symfony/var-dumper": "^2.6|^3|^4|^5"
},
"require-dev": {
......@@ -6313,20 +6576,24 @@
"debug",
"debugbar"
],
"time": "2021-08-01T09:19:02+00:00"
"support": {
"issues": "https://github.com/maximebf/php-debugbar/issues",
"source": "https://github.com/maximebf/php-debugbar/tree/v1.17.2"
},
"time": "2021-10-18T09:39:00+00:00"
},
{
"name": "mockery/mockery",
"version": "1.3.4",
"version": "1.3.5",
"source": {
"type": "git",
"url": "https://github.com/mockery/mockery.git",
"reference": "31467aeb3ca3188158613322d66df81cedd86626"
"reference": "472fa8ca4e55483d55ee1e73c963718c4393791d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/mockery/mockery/zipball/31467aeb3ca3188158613322d66df81cedd86626",
"reference": "31467aeb3ca3188158613322d66df81cedd86626",
"url": "https://api.github.com/repos/mockery/mockery/zipball/472fa8ca4e55483d55ee1e73c963718c4393791d",
"reference": "472fa8ca4e55483d55ee1e73c963718c4393791d",
"shasum": ""
},
"require": {
......@@ -6378,7 +6645,11 @@
"test double",
"testing"
],
"time": "2021-02-24T09:51:00+00:00"
"support": {
"issues": "https://github.com/mockery/mockery/issues",
"source": "https://github.com/mockery/mockery/tree/1.3.5"
},
"time": "2021-09-13T15:33:03+00:00"
},
{
"name": "myclabs/deep-copy",
......@@ -6498,6 +6769,10 @@
"php",
"symfony"
],
"support": {
"issues": "https://github.com/nunomaduro/collision/issues",
"source": "https://github.com/nunomaduro/collision"
},
"funding": [
{
"url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L",
......@@ -6679,16 +6954,16 @@
},
{
"name": "phpdocumentor/reflection-docblock",
"version": "5.2.2",
"version": "5.3.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
"reference": "069a785b2141f5bcf49f3e353548dc1cce6df556"
"reference": "622548b623e81ca6d78b721c5e029f4ce664f170"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556",
"reference": "069a785b2141f5bcf49f3e353548dc1cce6df556",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170",
"reference": "622548b623e81ca6d78b721c5e029f4ce664f170",
"shasum": ""
},
"require": {
......@@ -6699,7 +6974,8 @@
"webmozart/assert": "^1.9.1"
},
"require-dev": {
"mockery/mockery": "~1.3.2"
"mockery/mockery": "~1.3.2",
"psalm/phar": "^4.8"
},
"type": "library",
"extra": {
......@@ -6729,22 +7005,22 @@
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"support": {
"issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
"source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master"
"source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0"
},
"time": "2020-09-03T19:13:55+00:00"
"time": "2021-10-19T17:43:47+00:00"
},
{
"name": "phpdocumentor/type-resolver",
"version": "1.4.0",
"version": "1.5.1",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
"reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0"
"reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
"reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/a12f7e301eb7258bb68acd89d4aefa05c2906cae",
"reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae",
"shasum": ""
},
"require": {
......@@ -6752,7 +7028,8 @@
"phpdocumentor/reflection-common": "^2.0"
},
"require-dev": {
"ext-tokenizer": "*"
"ext-tokenizer": "*",
"psalm/phar": "^4.8"
},
"type": "library",
"extra": {
......@@ -6778,39 +7055,39 @@
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
"support": {
"issues": "https://github.com/phpDocumentor/TypeResolver/issues",
"source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0"
"source": "https://github.com/phpDocumentor/TypeResolver/tree/1.5.1"
},
"time": "2020-09-17T18:55:26+00:00"
"time": "2021-10-02T14:08:47+00:00"
},
{
"name": "phpspec/prophecy",
"version": "1.13.0",
"version": "1.14.0",
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
"reference": "be1996ed8adc35c3fd795488a653f4b518be70ea"
"reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/be1996ed8adc35c3fd795488a653f4b518be70ea",
"reference": "be1996ed8adc35c3fd795488a653f4b518be70ea",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e",
"reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e",
"shasum": ""
},
"require": {
"doctrine/instantiator": "^1.2",
"php": "^7.2 || ~8.0, <8.1",
"php": "^7.2 || ~8.0, <8.2",
"phpdocumentor/reflection-docblock": "^5.2",
"sebastian/comparator": "^3.0 || ^4.0",
"sebastian/recursion-context": "^3.0 || ^4.0"
},
"require-dev": {
"phpspec/phpspec": "^6.0",
"phpspec/phpspec": "^6.0 || ^7.0",
"phpunit/phpunit": "^8.0 || ^9.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.11.x-dev"
"dev-master": "1.x-dev"
}
},
"autoload": {
......@@ -6843,7 +7120,11 @@
"spy",
"stub"
],
"time": "2021-03-17T13:42:18+00:00"
"support": {
"issues": "https://github.com/phpspec/prophecy/issues",
"source": "https://github.com/phpspec/prophecy/tree/1.14.0"
},
"time": "2021-09-10T09:02:12+00:00"
},
{
"name": "phpunit/php-code-coverage",
......@@ -6960,6 +7241,10 @@
"filesystem",
"iterator"
],
"support": {
"issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
"source": "https://github.com/sebastianbergmann/php-file-iterator/tree/2.0.4"
},
"funding": [
{
"url": "https://github.com/sebastianbergmann",
......@@ -7119,6 +7404,10 @@
"keywords": [
"tokenizer"
],
"support": {
"issues": "https://github.com/sebastianbergmann/php-token-stream/issues",
"source": "https://github.com/sebastianbergmann/php-token-stream/tree/3.1.3"
},
"funding": [
{
"url": "https://github.com/sebastianbergmann",
......@@ -7918,6 +8207,10 @@
}
],
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
"support": {
"issues": "https://github.com/theseer/tokenizer/issues",
"source": "https://github.com/theseer/tokenizer/tree/1.2.1"
},
"funding": [
{
"url": "https://github.com/theseer",
......@@ -7978,6 +8271,10 @@
"check",
"validate"
],
"support": {
"issues": "https://github.com/webmozarts/assert/issues",
"source": "https://github.com/webmozarts/assert/tree/1.10.0"
},
"time": "2021-03-09T10:59:23+00:00"
}
],
......@@ -7990,5 +8287,5 @@
"php": "^7.1.3"
},
"platform-dev": [],
"plugin-api-version": "1.1.0"
"plugin-api-version": "2.0.0"
}
$(function () {
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
var table = $('.data-table').DataTable({
processing: true,
serverSide: true,
responsive: true,
ajax: url,
columns: [
{ data: 'DT_RowIndex', name: 'DT_RowIndex' },
{ data: 'title', name: 'title' },
{ data: 'date', name: 'date' },
{ data: 'status', name: 'status' },
{ data: 'action', name: 'action', orderable: false, searchable: false },
],
columnDefs: [
{ className: 'text-center', targets: [0, 2, 3, 4]},
{ className: 'text-left', targets: [1]},
],
});
$("body").on("click", ".delete", function (e) {
e.preventDefault();
var id = $(this).data('id');
swal({
title: "Apakah Anda Yakin?",
text: "Anda akan menghapus data ini!",
type: "warning",
showCancelButton: true,
confirmButtonColor: "#DD6B55",
confirmButtonText: "Yes",
cancelButtonText: "No",
closeOnConfirm: false,
closeOnCancel: false
},
function (isConfirm) {
if (isConfirm) {
swal.close();
setTimeout(function () {
$.ajax({
dataType: 'json',
type: 'DELETE',
url: url + '/' + id,
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
},
}).done(function (data) {
table.draw();
swal({
title: "Data berhasil dihapus!",
type: "success",
timer: "3000"
});
});
}, 1000); // 1 second delay
}
else {
swal("Dibatalkan", "Data batal dihapus", "error");
}
}
);
});
});
$(function () {
//iCheck for checkbox and radio inputs
$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
checkboxClass: 'icheckbox_minimal-blue',
radioClass: 'iradio_minimal-blue'
});
});
function printErrorMsg(msg) {
$(".print-error-msg").find("ul").html('');
$(".print-error-msg").css('display', 'block');
$.each(msg, function (key, value) {
$(".print-error-msg").find("ul").append('<li>' + value + '</li>');
});
}
......@@ -9,6 +9,7 @@ return [
'file' => 'Files',
'gallery' => 'Galleries',
'information' => 'Informations',
'agenda' => 'Agendas',
'menu' => 'Menu',
'page' => 'Pages',
'post' => 'Posts',
......@@ -22,6 +23,7 @@ return [
'create_file' => 'Create File',
'create_gallery' => 'Create Gallery',
'create_information' => 'Create Information',
'create_agenda' => 'Create Agenda',
'create_menu' => 'Create Menu',
'create_page' => 'Create Page',
'create_post' => 'Create Post',
......@@ -35,6 +37,7 @@ return [
'edit_file' => 'Edit File',
'edit_gallery' => 'Edit Gallery',
'edit_information' => 'Edit Information',
'edit_agenda' => 'Edit Agenda',
'edit_menu' => 'Edit Menu',
'edit_page' => 'Edit Page',
'edit_post' => 'Edit Post',
......
......@@ -9,6 +9,7 @@ return [
'file' => 'Dokumen',
'gallery' => 'Gallery',
'information' => 'Informasi',
'agenda' => 'Agenda',
'menu' => 'Menu',
'page' => 'Halaman',
'post' => 'Berita',
......@@ -22,6 +23,7 @@ return [
'create_file' => 'Tambah Dokumen',
'create_gallery' => 'Tambah Gallery',
'create_information' => 'Tambah Informasi',
'create_agenda' => 'Tambah Agenda',
'create_menu' => 'Tambah Menu',
'create_page' => 'Tambah Halaman',
'create_post' => 'Tambah Berita',
......@@ -35,6 +37,7 @@ return [
'edit_file' => 'Ubah Dokumen',
'edit_gallery' => 'Ubah Gallery',
'edit_information' => 'Ubah Informasi',
'edit_agenda' => 'Ubah Agenda',
'edit_menu' => 'Ubah Menu',
'edit_page' => 'Ubah Halaman',
'edit_post' => 'Ubah Berita',
......
@extends('webprofile.backend.layouts.master')
@section('title')
{{ $title }}
@stop
@section('assets')
<link rel="stylesheet" href="{!! asset('backend/assets/select2/select2.min.css') !!}">
<style media="screen">
.tkh{
color: black;
}
</style>
@stop
@section('breadcrumbs')
<li><a href="{{ url('dashboard') }}">@lang('label.dashboard')</a></li>
<li class="active">@lang('feature.create_agenda')</li>
@stop
@section('content')
<!-- page start-->
<div class="row">
{!! Form::open(array('url' => route('agendas.store'), 'method' => 'POST', 'id' => 'agendas', 'files' => true)) !!}
{!! csrf_field() !!}
<div class="col-md-9">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><strong>@lang('label.create')</strong> @lang('feature.agenda')</h3>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-12">
<div class="form-group @if ($errors->has('title')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title', old('title'), array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title'))
<label id="login-error" class="error" for="login">{{$errors->first('title')}}</label>
@endif
</div>
</div>
</div>
<div class="col-md-12">
<div class="block">
{{ Form::textarea('content', null, array('id'=>'content')) }}
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-3">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><strong>@lang('label.event_date')</strong></h3>
<ul class="panel-controls">
<li><a href="#" class="panel-collapse"><span class="fa fa-angle-down"></span></a></li>
</ul>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label class="col-md-3 col-xs-12 control-label">@lang('label.date')</label>
<div class="col-md-12">
<div class="input-group">
{{ Form::text('event_date', date('Y-m-d'), array('class' => 'form-control datepicker')) }}
</div>
</div>
</div>
</div>
<div class="col-md-12">
<div class="form-group" style="padding-top: 10px;">
<label class="col-md-2 control-label">@lang('label.status')</label>
<div class="col-md-6">
<center><label class="switch">
{{ Form::checkbox('info_status', 1, true) }}
<span></span>
</label></center>
</div>
</div>
</div>
</div>
</div>
<div class="panel-footer">
</div>
</div>
</div>
<div class="col-md-3">
<div class="panel panel-default">
<div class="panel-footer">
<button class="btn btn-info pull-right">@lang('label.save')</button>
</div>
</div>
</div>
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Keywords</h3>
<ul class="panel-controls">
<li><a href="#" class="panel-collapse"><span class="fa fa-angle-down"></span></a></li>
</ul>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-12">
<div class="form-group @if ($errors->has('keys')) has-error @endif">
<div class="col-md-12">
{{ Form::text('keys', old('keys'), array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.keys'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('keys'))
<label id="login-error" class="error" for="login">{{$errors->first('keys')}}</label>
@endif
</div>
</div>
</div>
</div>
</div>
<div class="panel-footer">
</div>
</div>
</div>
{!! Form::close() !!}
</div>
<!-- page end-->
@stop
@section('script')
{!! Html::script('backend/assets/select2/select2.full.min.js') !!}
{!! Html::script('backend/js/plugins/bootstrap/bootstrap-datepicker.js') !!}
{!! Html::script('backend/js/plugins/bootstrap/bootstrap-timepicker.min.js') !!}
{!! Html::script('backend/js/plugins/bootstrap/bootstrap-file-input.js') !!}
{!! Html::script('backend/js/plugins/summernote/summernote.js') !!}
<script type="text/javascript">
function PreviewImage() {
var oFReader = new FileReader();
oFReader.readAsDataURL(document.getElementById("uploadImage").files[0]);
oFReader.onload = function (oFREvent) {
document.getElementById("uploadPreview").src = oFREvent.target.result;
};
};
$(document).ready(function() {
$('#content').summernote({
height: 400
});
});
</script>
@stop
@extends('webprofile.backend.layouts.master')
@section('title')
{{ $title }}
@stop
@section('assets')
<link rel="stylesheet" href="{!! asset('backend/assets/select2/select2.min.css') !!}">
<style media="screen">
.tkh{
color: black;
}
</style>
@stop
@section('breadcrumbs')
<li><a href="{{ url('dashboard') }}">@lang('label.dashboard')</a></li>
<li class="active">@lang('feature.create_agenda')</li>
@stop
@section('content')
<!-- page start-->
<div class="row">
{!! Form::model($data, ['route' => ['agendas.update', $data->id], 'method'=>'patch', 'files' => true]) !!}
{!! csrf_field() !!}
<div class="col-md-9">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><strong>@lang('label.create')</strong> @lang('feature.page')</h3>
</div>
<div class="panel-body">
<div class="row">
<div style="padding: 10px 10px 10px 10px; font-weight: bold; font-size: 14pt;">
Bahasa Indonesia
</div>
<div class="col-md-12">
<div class="form-group @if ($errors->has('title')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title', old('title'), array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title'))
<label id="login-error" class="error" for="login">{{$errors->first('title')}}</label>
@endif
</div>
</div>
</div>
<div class="col-md-12">
<div class="block">
{{ Form::textarea('content', null, array('id'=>'content')) }}
</div>
</div>
</div>
<div class="tabs">
<ul class="nav nav-tabs" role="tablist">
<li class="active"><a href="#inggris" role="tab" data-toggle="tab" aria-expanded="true">Inggris</a></li>
<li class=""><a href="#jerman" role="tab" data-toggle="tab" aria-expanded="false">Jerman</a></li>
<li class=""><a href="#arab" role="tab" data-toggle="tab" aria-expanded="false">Arab</a></li>
<li class=""><a href="#cina" role="tab" data-toggle="tab" aria-expanded="false">Cina</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="inggris">
<div style="padding: 10px 10px 10px 10px; font-weight: bold; font-size: 14pt;">
English Language
</div>
<div class="col-md-12">
<div class="form-group @if ($errors->has('title')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_en', $data->rEn ? $data->rEn->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;', 'required')) }}
@if ($errors->has('title'))
<label id="login-error" class="error" for="login">{{$errors->first('title')}}</label>
@endif
</div>
</div>
</div>
<div class="col-md-12">
<div class="block">
{{ Form::textarea('content_en', $data->rEn ? $data->rEn->content : null, array('id'=>'content_en')) }}
</div>
</div>
</div>
<div class="tab-pane" id="jerman">
<div style="padding: 10px 10px 10px 10px; font-weight: bold; font-size: 14pt;">
deutsche Sprache
</div>
<div class="col-md-12">
<div class="form-group @if ($errors->has('title')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_de', $data->rDe ? $data->rDe->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title'))
<label id="login-error" class="error" for="login">{{$errors->first('title')}}</label>
@endif
</div>
</div>
</div>
<div class="col-md-12">
<div class="block">
{{ Form::textarea('content_de', $data->rDe ? $data->rDe->content : null, array('id'=>'content_de')) }}
</div>
</div>
</div>
<div class="tab-pane" id="arab">
<div style="padding: 10px 10px 10px 10px; font-weight: bold; font-size: 14pt;">
اللغة الألمانية
</div>
<div class="col-md-12">
<div class="form-group @if ($errors->has('title')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_sa', $data->rSa ? $data->rSa->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title'))
<label id="login-error" class="error" for="login">{{$errors->first('title')}}</label>
@endif
</div>
</div>
</div>
<div class="col-md-12">
<div class="block">
{{ Form::textarea('content_sa', $data->rSa ? $data->rSa->content : null, array('id'=>'content_sa')) }}
</div>
</div>
</div>
<div class="tab-pane" id="cina">
<div style="padding: 10px 10px 10px 10px; font-weight: bold; font-size: 14pt;">
中文
</div>
<div class="col-md-12">
<div class="form-group @if ($errors->has('title')) has-error @endif">
<div class="col-md-12">
{{ Form::text('title_zh', $data->rZh ? $data->rZh->title : null, array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.title'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('title'))
<label id="login-error" class="error" for="login">{{$errors->first('title')}}</label>
@endif
</div>
</div>
</div>
<div class="col-md-12">
<div class="block">
{{ Form::textarea('content_zh', $data->rZh ? $data->rZh->content : null, array('id'=>'content_zh')) }}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-3">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><strong>@lang('label.event_date')</strong></h3>
<ul class="panel-controls">
<li><a href="#" class="panel-collapse"><span class="fa fa-angle-down"></span></a></li>
</ul>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label class="col-md-3 col-xs-12 control-label">@lang('label.date')</label>
<div class="col-md-12">
<div class="input-group">
{{ Form::text('event_date', null, array('class' => 'form-control datepicker')) }}
</div>
</div>
</div>
</div>
<div class="col-md-12">
<div class="form-group" style="padding-top: 10px;">
<label class="col-md-2 control-label">@lang('label.status')</label>
<div class="col-md-6">
<center><label class="switch">
{{ Form::checkbox('info_status', null, null) }}
<span></span>
</label></center>
</div>
</div>
</div>
</div>
</div>
<div class="panel-footer">
</div>
</div>
</div>
<div class="col-md-3">
<div class="panel panel-default">
<div class="panel-footer">
<button class="btn btn-info pull-right">@lang('label.save')</button>
</div>
</div>
</div>
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Keywords</h3>
<ul class="panel-controls">
<li><a href="#" class="panel-collapse"><span class="fa fa-angle-down"></span></a></li>
</ul>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-12">
<div class="form-group @if ($errors->has('keys')) has-error @endif">
<div class="col-md-12">
{{ Form::text('keys', old('keys'), array('class' => 'form-control', 'placeholder'=>app('translator')->getFromJson('label.keys'), 'style'=>'font-size: 14pt;')) }}
@if ($errors->has('keys'))
<label id="login-error" class="error" for="login">{{$errors->first('keys')}}</label>
@endif
</div>
</div>
</div>
</div>
</div>
<div class="panel-footer">
</div>
</div>
</div>
{!! Form::close() !!}
</div>
<!-- page end-->
@stop
@section('script')
{!! Html::script('backend/assets/select2/select2.full.min.js') !!}
{!! Html::script('backend/js/plugins/bootstrap/bootstrap-datepicker.js') !!}
{!! Html::script('backend/js/plugins/bootstrap/bootstrap-timepicker.min.js') !!}
{!! Html::script('backend/js/plugins/bootstrap/bootstrap-file-input.js') !!}
{!! Html::script('backend/js/plugins/summernote/summernote.js') !!}
<script type="text/javascript">
function PreviewImage() {
var oFReader = new FileReader();
oFReader.readAsDataURL(document.getElementById("uploadImage").files[0]);
oFReader.onload = function (oFREvent) {
document.getElementById("uploadPreview").src = oFREvent.target.result;
};
};
$(document).ready(function() {
$('#content').summernote({
height: 350
});
$('#content_en').summernote({
height: 350
});
$('#content_de').summernote({
height: 350
});
$('#content_sa').summernote({
height: 350
});
$('#content_zh').summernote({
height: 350
});
});
</script>
@stop
@extends('webprofile.backend.layouts.master')
@section('assets')
<link rel="stylesheet" href="{!! asset('backend/js/datatables.net-bs/css/dataTables.bootstrap.min.css') !!}">
<meta name="csrf-token" content="{{ csrf_token() }}">
@endsection
@section('title')
{{ $title }}
@stop
@section('breadcrumbs')
<li><a href="{{ url('dashboard') }}">@lang('label.dashboard')</a></li>
<li class="active">@lang('feature.agenda')</li>
@stop
@section('content')
<!-- page start-->
<div class="row">
<div class="col-lg-12">
<!-- START DEFAULT DATATABLE -->
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{!! $title !!}</h3>
<a class="btn btn-info" href="{{URL::to('webprofile/agendas/create')}}" style="margin: 0cm 0px 0cm 10px;">@lang('label.create')</a>
<ul class="panel-controls">
<li><a href="#" class="panel-collapse"><span class="fa fa-angle-down"></span></a></li>
</ul>
</div>
<div class="panel-body">
<table class="table table-hover data-table" width="100%">
<thead>
<tr>
<th width="5%" style="text-align: center;">@lang('label.number')</th>
<th style="text-align: center;">@lang('label.title')</th>
<th width="15%" style="text-align: center;">@lang('label.date')</th>
<th width="10%" style="text-align: center;">@lang('label.status')</th>
<th align="center" width="15%" style="text-align: center;">@lang('label.action')</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<!-- END DEFAULT DATATABLE -->
</div>
</div>
<!-- page end-->
@stop
@section('script')
<script src="{!!asset('backend/js/datatables.net/js/jquery.dataTables.min.js') !!}"></script>
<script src="{!!asset('backend/js/datatables.net-bs/js/dataTables.bootstrap.min.js') !!}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/dataTables.buttons.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.bootstrap4.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.colVis.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.html5.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.print.min.js') }}"></script>
<script>
var url = "{{ route('agendas.index') }}";
</script>
{{ Html::script('js/master/agenda.js') }}
@stop
......@@ -20,6 +20,9 @@
</ul>
</li>
<li>
<a href="{{ url('webprofile/agendas') }}"><span class="fa fa-info-circle"></span><span class="xn-text">@lang('feature.agenda')</span></a>
</li>
<li>
<a href="{{ url('webprofile/informations') }}"><span class="fa fa-info-circle"></span><span class="xn-text">@lang('feature.information')</span></a>
</li>
<li>
......
@extends('webprofile.front.jollyany.master')
@section('meta')
<meta name="{{ Str::slug($data->title) }}" content="custom"/>
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
<div class="container">
<div class="col-lg-12">
<h2>Agenda - {!! $data->title !!}</h2>
</div>
</div>
</section><!-- end post-wrapper-top -->
<section class="blog-wrapper">
<div class="container">
<div class="row">
<div id="main-content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<div class="row">
<div class="blog-masonry">
<div class="col-lg-12">
<div class="blog-carousel">
<div class="blog-carousel-header">
<h1>{!! $data->title !!}</h1>
<div class="blog-carousel-meta">
<span><i class="fa fa-eye"></i> <a href="#">{!! $data->viewer !!} Views</a></span>
{{-- <span><i class="fa fa-user"></i> <a href="#">Redaksi</a></span> --}}
</div><!-- end blog-carousel-meta -->
</div><!-- end blog-carousel-header -->
<div class="blog-carousel-desc">
{!! $data->content !!}
</div>
</div>
</div>
</div>
</div>
</div>
@include('webprofile.front.jollyany.widget')
</div>
</div><!-- end container -->
</section><!--end white-wrapper -->
@endsection
@extends('webprofile.front.jollyany.master')
@section('meta')
<meta name="{{ Str::slug($setting['web_title']) }}" content="custom"/>
<meta name="description" content="{{ $setting['web_title'] }}">
@if(array_key_exists('default_keyword', $setting))
<meta name="keywords" content="{{ $setting['default_keyword'] }}">
@endif
<meta name="author" content="{{ $setting['web_title'] }}">
@endsection
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
<div class="container">
<div class="col-lg-12">
<h2 style='text-transform: capitalize;'>{!! $title !!}</h2>
<ul class="breadcrumb pull-right">
@if ($title != 'Agenda')
<li><a href="{{'/'}}" style="text-transform: capitalize;">beranda</a></li>
<li style="text-transform: capitalize;">Pengumuman</li>
@else
<li><a href="{{'/'}}" style="text-transform: capitalize;">beranda</a></li>
<li style="text-transform: capitalize;">agenda</li>
@endif
</ul>
</div>
</div>
</section><!-- end post-wrapper-top -->
<section class="blog-wrapper">
<div class="container">
<div class="row">
<div id="content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<div class="row">
<div class="blog-masonry">
<div class="col-lg-12">
<div class="blog-carousel">
<div class="">
<div class="flexslider">
@foreach($data as $value)
@if ($title != 'Agenda')
<div class="row">
<div class="headline">
<h2><a target="_blank" href="{!! url('information/'.$value->slug) !!}">{!! $value->title !!}</a></h2>
</div>
<div class="news-text">
<strong> {!! InseoHelper::tglbulanindo2($value->event_date) !!}</strong> —
{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}
<br><a class="pull-right" style="padding-right: 20px;" target="_blank" href="{!! url('information/'.$value->slug) !!}">
Selengkapnya »»</a>
</div>
</div>
@else
<div class="row">
<div class="headline">
<h2><a target="_blank" href="{!! url('agenda/'.$value->slug) !!}">{!! $value->title !!}</a></h2>
</div>
<div class="news-text">
<strong> {!! InseoHelper::tglbulanindo2($value->event_date) !!}</strong> —
{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}
<br><a class="pull-right" style="padding-right: 20px;" target="_blank" href="{!! url('agenda/'.$value->slug) !!}">
Selengkapnya »»</a>
</div>
</div>
@endif
@endforeach
</div>
<div class="clearfix"></div>
<hr>
{!! $data->render() !!}
</div><!-- end post-slider -->
</div><!-- end entry -->
</div><!-- end blog-carousel -->
</div><!-- end blog-masonry -->
</div><!-- end widget -->
</div><!-- end left-sidebar -->
{{--@include('webprofile.front.jollyany.widget')--}}
</div>
</div><!-- end container -->
</section><!--end white-wrapper -->
@endsection
@extends('webprofile.front.jollyany.master')
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
<div class="container">
<div class="col-lg-12">
<h2>جدول أعمال - {!! $data->title !!}</h2>
</div>
</div>
</section><!-- end post-wrapper-top -->
<section class="blog-wrapper">
<div class="container">
<div class="row">
<div id="main-content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<div class="row">
<div class="blog-masonry">
<div class="col-lg-12">
<div class="blog-carousel">
<div class="blog-carousel-header">
@if ($data->rSa)
<h1>{!! $data->rSa->title !!}</h1>
@endif
<div class="blog-carousel-meta">
<span><i class="fa fa-eye"></i> <a href="#">{!! $data->viewer !!} الآراء</a></span>
{{-- <span><i class="fa fa-user"></i> <a href="#">Redaksi</a></span> --}}
</div><!-- end blog-carousel-meta -->
</div><!-- end blog-carousel-header -->
<div class="blog-carousel-desc">
@if ($data->rSa)
{!! $data->rSa->content !!}
@endif
</div>
</div>
</div>
</div>
</div>
</div>
@include('webprofile.front.jollyany.ar.widget')
</div>
</div><!-- end container -->
</section><!--end white-wrapper -->
@endsection
......@@ -4,7 +4,7 @@
<section class="post-wrapper-top jt-shadow clearfix">
<div class="container">
<div class="col-lg-12">
<h2>جدول أعمال - {!! $data->title !!}</h2>
<h2>إعلان - {!! $data->title !!}</h2>
</div>
</div>
</section><!-- end post-wrapper-top -->
......
......@@ -61,12 +61,12 @@
@else
<div class="row">
<div class="headline">
<h2><a target="_blank" href="{!! url('information/'.$value->slug) !!}">{!! $value->title !!}</a></h2>
<h2><a target="_blank" href="{!! url('agenda/'.$value->slug) !!}">{!! $value->title !!}</a></h2>
</div>
<div class="news-text">
<strong> {!! InseoHelper::tglbulanindo2($value->event_date) !!}</strong> —
{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}
<br><a class="pull-right" style="padding-right: 20px;" target="_blank" href="{!! url('information/'.$value->slug) !!}">
<br><a class="pull-right" style="padding-right: 20px;" target="_blank" href="{!! url('agenda/'.$value->slug) !!}">
Selengkapnya »»</a>
</div>
</div>
......
@extends('webprofile.front.jollyany.master')
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
<div class="container">
<div class="col-lg-12">
<h2>Agenda - {!! $data->title !!}</h2>
</div>
</div>
</section><!-- end post-wrapper-top -->
<section class="blog-wrapper">
<div class="container">
<div class="row">
<div id="main-content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<div class="row">
<div class="blog-masonry">
<div class="col-lg-12">
<div class="blog-carousel">
<div class="blog-carousel-header">
@if ($data->rDe)
<h1>{!! $data->rDe->title !!}</h1>
@endif
<div class="blog-carousel-meta">
<span><i class="fa fa-eye"></i> <a href="#">{!! $data->viewer !!} Ansichten</a></span>
{{-- <span><i class="fa fa-user"></i> <a href="#">Redaksi</a></span> --}}
</div><!-- end blog-carousel-meta -->
</div><!-- end blog-carousel-header -->
<div class="blog-carousel-desc">
@if ($data->rDe)
{!! $data->rDe->content !!}
@endif
</div>
</div>
</div>
</div>
</div>
</div>
@include('webprofile.front.jollyany.de.widget')
</div>
</div><!-- end container -->
</section><!--end white-wrapper -->
@endsection
......@@ -4,7 +4,7 @@
<section class="post-wrapper-top jt-shadow clearfix">
<div class="container">
<div class="col-lg-12">
<h2>Agenda - {!! $data->title !!}</h2>
<h2>Bekanntmachung - {!! $data->title !!}</h2>
</div>
</div>
</section><!-- end post-wrapper-top -->
......
@extends('webprofile.front.jollyany.master')
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
<div class="container">
<div class="col-lg-12">
<h2>Agenda - {!! $data->title !!}</h2>
</div>
</div>
</section><!-- end post-wrapper-top -->
<section class="blog-wrapper">
<div class="container">
<div class="row">
<div id="main-content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<div class="row">
<div class="blog-masonry">
<div class="col-lg-12">
<div class="blog-carousel">
<div class="blog-carousel-header">
@if ($data->rEn)
<h1>{!! $data->rEn->title !!}</h1>
@endif
<div class="blog-carousel-meta">
<span><i class="fa fa-eye"></i> <a href="#">{!! $data->viewer !!} Views</a></span>
{{-- <span><i class="fa fa-user"></i> <a href="#">Redaksi</a></span> --}}
</div><!-- end blog-carousel-meta -->
</div><!-- end blog-carousel-header -->
<div class="blog-carousel-desc">
@if ($data->rEn)
{!! $data->rEn->content !!}
@endif
</div>
</div>
</div>
</div>
</div>
</div>
@include('webprofile.front.jollyany.en.widget')
</div>
</div><!-- end container -->
</section><!--end white-wrapper -->
@endsection
......@@ -4,7 +4,7 @@
<section class="post-wrapper-top jt-shadow clearfix">
<div class="container">
<div class="col-lg-12">
<h2>Agenda - {!! $data->title !!}</h2>
<h2>Announcement - {!! $data->title !!}</h2>
</div>
</div>
</section><!-- end post-wrapper-top -->
......
......@@ -107,7 +107,22 @@
<div class="widget">
<div class="title">
<h2>AGENDA</h2>
<h2>Agenda</h2>
</div><!-- end title -->
<ul class="recent_posts_widget">
@foreach($agenda as $value)
<li>
<a href="{!! url('agenda/'.$value->slug) !!}"><img src="https://www.unesa.ac.id/assets/demos/logounesa.png" alt="">{!! $value->title !!}</a>
<a class="readmore" href="#">{!! InseoHelper::tglbulanindo2($value->event_date) !!}</a>
</li>
@endforeach
</ul>
<a href="{!! url('agendas') !!}" class="btn btn-primary">Lihat Agenda Selengkapnya</a>
</div><!-- end widget -->
<div class="widget">
<div class="title">
<h2>Pengumuman</h2>
</div><!-- end title -->
<ul class="recent_posts_widget">
@foreach($info as $value)
......@@ -117,7 +132,7 @@
</li>
@endforeach
</ul>
<a href="{!! url('agenda') !!}" class="btn btn-primary">Lihat Agenda Selengkapnya</a>
<a href="{!! url('informations') !!}" class="btn btn-primary">Lihat Pengumuman Selengkapnya</a>
</div><!-- end widget -->
<div class="widget">
......
......@@ -11,16 +11,31 @@
<section class="post-wrapper-top jt-shadow clearfix">
<div class="container">
<div class="col-lg-12">
<h2>Agenda - {!! $data->title !!}</h2>
<h2>Pengumuman - {!! $data? $data->title : 'Semua Pengumuman' !!}</h2>
</div>
</div>
</section><!-- end post-wrapper-top -->
<section class="blog-wrapper">
<div class="container">
{{--
@foreach($informations as value)
<div class="row">
<div class="headline">
<h2><a target="_blank" href="{!! url('information/'.$value->slug) !!}">{!! $value->title !!}</a></h2>
</div>
<div class="news-text">
<strong> {!! InseoHelper::tglbulanindo2($value->event_date) !!}</strong> —
{!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 250)) !!}
<br><a class="pull-right" style="padding-right: 20px;" target="_blank" href="{!! url('information/'.$value->slug) !!}">
Selengkapnya »»</a>
</div>
</div>
@endforeach--}}
<div class="row">
<div id="main-content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<div class="row">
<div class="blog-masonry">
<div class="col-lg-12">
<div class="blog-carousel">
......@@ -39,7 +54,32 @@
</div>
</div>
</div>
@include('webprofile.front.jollyany.widget')
<div id="sidebar" class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="widget">
<div class="title"><h2>
<h2>Semua Pengumuman</h2>
<ul class="nav nav-tabs nav-stacked">
@foreach($informations as $value)
<li><a class="unesa-link" href="{!! url('information/'.$value->slug) !!}">{!! $value->slug !!}</a></li>
@endforeach
</ul>
@foreach ($widget_right as $vwidget_right)
<div class="widget">
<div class="title">
<h2>{!! $vwidget_right->title_design !!}</h2>
</div><!-- end title -->
{!! $vwidget_right->value_design !!}
</div><!-- end widget -->
@endforeach
</div>
</div>
</div>
</div>
</div><!-- end container -->
</section><!--end white-wrapper -->
......
@extends('webprofile.front.jollyany.master')
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
<div class="container">
<div class="col-lg-12">
<h2>议程 - {!! $data->title !!}</h2>
</div>
</div>
</section><!-- end post-wrapper-top -->
<section class="blog-wrapper">
<div class="container">
<div class="row">
<div id="main-content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<div class="row">
<div class="blog-masonry">
<div class="col-lg-12">
<div class="blog-carousel">
<div class="blog-carousel-header">
@if ($data->rZh)
<h1>{!! $data->rZh->title !!}</h1>
@endif
<div class="blog-carousel-meta">
<span><i class="fa fa-eye"></i> <a href="#">{!! $data->viewer !!} 观看次数</a></span>
{{-- <span><i class="fa fa-user"></i> <a href="#">Redaksi</a></span> --}}
</div><!-- end blog-carousel-meta -->
</div><!-- end blog-carousel-header -->
<div class="blog-carousel-desc">
@if ($data->rZh)
{!! $data->rZh->content !!}
@endif
</div>
</div>
</div>
</div>
</div>
</div>
@include('webprofile.front.jollyany.zh.widget')
</div>
</div><!-- end container -->
</section><!--end white-wrapper -->
@endsection
......@@ -4,7 +4,7 @@
<section class="post-wrapper-top jt-shadow clearfix">
<div class="container">
<div class="col-lg-12">
<h2>议程 - {!! $data->title !!}</h2>
<h2>公告 - {!! $data->title !!}</h2>
</div>
</div>
</section><!-- end post-wrapper-top -->
......
......@@ -17,6 +17,7 @@ Route::group(['middleware' => 'auth'], function () {
Route::resource('category', 'CategoryController');
Route::resource('posts', 'PostController');
Route::resource('pages', 'PageController');
Route::resource('agendas', 'AgendaController');
Route::resource('informations', 'InformationController');
Route::resource('settings', 'SettingController');
Route::resource('sliders', 'SliderController');
......
......@@ -7,7 +7,9 @@ Route::group(['namespace' => 'Webprofile\Front'], function () {
Route::get('archive', 'ArchiveController@index')->name('archive');
Route::get('category/{id}', 'CategoryController@index')->name('category');
Route::get('information/{id}', 'InformationController@index')->name('infomation');
Route::get('agenda', 'AgendaController@index')->name('agenda');
Route::get('agenda/{id}', 'AgendaController@index')->name('agenda');
Route::get('agendas', 'AgendaController2@index')->name('agendas');
Route::get('informations', 'InformationController2@index')->name('informations');
Route::get('error', 'ErrorController@index')->name('error');
Route::get('download', 'DownloadController@index')->name('download');
Route::get('downloadlink/{data}', 'DownloadController@downloadFile')->name('downloadFile');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment