Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
webprofile-jwg2024
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Siti Aisah
webprofile-jwg2024
Commits
0c11a2f2
Commit
0c11a2f2
authored
Dec 19, 2020
by
Aan Choesni Herlingga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
front bahasa jerman
parent
586291a3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
651 additions
and
4 deletions
+651
-4
app/Http/Controllers/TranslateController.php
+6
-1
app/Http/Controllers/Webprofile/Front/AgendaController.php
+32
-1
app/Http/Controllers/Webprofile/Front/ArchiveController.php
+31
-0
app/Http/Controllers/Webprofile/Front/CategoryController.php
+33
-1
app/Http/Controllers/Webprofile/Front/ErrorController.php
+26
-0
app/Http/Controllers/Webprofile/Front/FrontController.php
+38
-0
app/Http/Controllers/Webprofile/Front/InformationController.php
+34
-0
app/Http/Controllers/Webprofile/Front/PageController.php
+25
-0
app/Http/Controllers/Webprofile/Front/PersonController.php
+26
-0
app/Http/Controllers/Webprofile/Front/PostController.php
+36
-0
resources/views/webprofile/front/jollyany/de/archive.blade.php
+82
-0
resources/views/webprofile/front/jollyany/de/index.blade.php
+0
-0
resources/views/webprofile/front/jollyany/de/information.blade.php
+44
-0
resources/views/webprofile/front/jollyany/de/menu.blade.php
+36
-0
resources/views/webprofile/front/jollyany/de/page.blade.php
+26
-0
resources/views/webprofile/front/jollyany/de/post.blade.php
+74
-0
resources/views/webprofile/front/jollyany/de/team.blade.php
+61
-0
resources/views/webprofile/front/jollyany/de/widget.blade.php
+32
-0
resources/views/webprofile/front/jollyany/en/post.blade.php
+1
-1
resources/views/webprofile/front/jollyany/master.blade.php
+8
-0
No files found.
app/Http/Controllers/TranslateController.php
View file @
0c11a2f2
...
...
@@ -8,7 +8,12 @@ class TranslateController extends Controller
{
public
function
changeLocale
(
Request
$request
)
{
$language
=
$request
->
language
==
'en'
?
'en'
:
'id'
;
if
(
$request
->
language
==
null
)
{
$language
=
'id'
;
}
else
{
$language
=
$request
->
language
;
}
session
([
'selected_language'
=>
$language
]);
return
redirect
()
->
back
();
...
...
app/Http/Controllers/Webprofile/Front/AgendaController.php
View file @
0c11a2f2
...
...
@@ -3,8 +3,8 @@
namespace
App\Http\Controllers\Webprofile\Front
;
use
App\Http\Controllers\Controller
;
use
App\Models\Webprofile\Design
;
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
;
...
...
@@ -28,6 +28,10 @@ class AgendaController extends Controller
$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'
);
}
}
...
...
@@ -84,4 +88,31 @@ class AgendaController extends Controller
return
$data
;
}
public
function
getDataDe
(
$setting
)
{
$setting
=
webprofilesetting
();
$data
=
Information
::
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
;
}
}
app/Http/Controllers/Webprofile/Front/ArchiveController.php
View file @
0c11a2f2
...
...
@@ -27,6 +27,10 @@ class ArchiveController extends Controller
$data
=
$this
->
getDataEn
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.en.archive'
,
$data
)
->
withTitle
(
'Archive'
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'de'
)
{
$data
=
$this
->
getDataDe
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.de.archive'
,
$data
)
->
withTitle
(
'Archive'
);
}
}
...
...
@@ -83,4 +87,31 @@ class ArchiveController extends Controller
return
$data
;
}
public
function
getDataDe
(
$setting
)
{
$setting
=
webprofilesetting
();
$data
=
Posts
::
where
(
'post_status'
,
'1'
)
->
orderBy
(
'post_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
;
}
}
app/Http/Controllers/Webprofile/Front/CategoryController.php
View file @
0c11a2f2
...
...
@@ -5,8 +5,8 @@ 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\Posts
;
use
App\Models\Webprofile\Menu
;
use
App\Models\Webprofile\Posts
;
use
Session
;
class
CategoryController
extends
Controller
...
...
@@ -27,6 +27,10 @@ class CategoryController extends Controller
$data
=
$this
->
getDataEn
(
$setting
,
$category
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.en.archive'
,
$data
)
->
withTitle
(
'Archive'
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'de'
)
{
$data
=
$this
->
getDataDe
(
$setting
,
$category
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.de.archive'
,
$data
)
->
withTitle
(
'Archive'
);
}
}
...
...
@@ -85,4 +89,32 @@ class CategoryController extends Controller
return
$data
;
}
public
function
getDataDe
(
$setting
,
$category
)
{
$setting
=
webprofilesetting
();
$findCategory
=
Categories
::
where
(
'name'
,
$category
)
->
first
();
$data
=
Posts
::
with
([
'rDe'
])
->
where
(
'categories'
,
$findCategory
->
id
)
->
where
(
'post_status'
,
'1'
)
->
orderBy
(
'post_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
;
}
}
app/Http/Controllers/Webprofile/Front/ErrorController.php
View file @
0c11a2f2
...
...
@@ -26,6 +26,10 @@ class ErrorController extends Controller
$data
=
$this
->
getDataEn
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.page'
,
$data
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'de'
)
{
$data
=
$this
->
getDataDe
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.page'
,
$data
);
}
}
...
...
@@ -72,4 +76,26 @@ class ErrorController extends Controller
return
$data
;
}
public
function
getDataDe
(
$setting
)
{
$setting
=
webprofilesetting
();
$data
=
new
Pages
();
$data
->
title
=
'Page Not Found'
;
$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
,
'footer'
=>
$footer
,
];
return
$data
;
}
}
app/Http/Controllers/Webprofile/Front/FrontController.php
View file @
0c11a2f2
...
...
@@ -29,6 +29,10 @@ class FrontController extends Controller
$data
=
$this
->
getDataEn
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.en.index'
,
$data
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'de'
)
{
$data
=
$this
->
getDataDe
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.de.index'
,
$data
);
}
}
...
...
@@ -99,4 +103,38 @@ class FrontController extends Controller
return
$data
;
}
private
function
getDataDe
(
$setting
)
{
$posts
=
Posts
::
with
([
'rDe'
])
->
where
(
'post_status'
,
'1'
)
->
orderby
(
'post_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
();
$info
=
Information
::
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
();
$quote
=
Design
::
where
(
'name_design'
,
'quote'
)
->
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
();
$body
=
Design
::
where
(
'name_design'
,
'body'
)
->
get
();
$footer
=
Design
::
where
(
'name_design'
,
'like'
,
'%footer_row%'
)
->
get
();
$data
=
[
'posts'
=>
$posts
,
'resend'
=>
$resend
,
'hot'
=>
$hot
,
'info'
=>
$info
,
'slider'
=>
$slider
,
'menu'
=>
$menu
,
'gallery'
=>
$gallery
,
'quote'
=>
$quote
,
'widget_right'
=>
$widget_right
,
'widget_left'
=>
$widget_left
,
'body'
=>
$body
,
'setting'
=>
$setting
,
'footer'
=>
$footer
,
];
return
$data
;
}
}
app/Http/Controllers/Webprofile/Front/InformationController.php
View file @
0c11a2f2
...
...
@@ -28,6 +28,10 @@ class InformationController extends Controller
$data
=
$this
->
getDataEn
(
$setting
,
$title
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.en.information'
,
$data
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'de'
)
{
$data
=
$this
->
getDataDe
(
$setting
,
$title
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.de.information'
,
$data
);
}
}
...
...
@@ -90,4 +94,34 @@ class InformationController extends Controller
return
$data
;
}
public
function
getDataDe
(
$setting
,
$title
)
{
$setting
=
webprofilesetting
();
$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
();
$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
();
$viewer
[
'viewer'
]
=
(
int
)
$data
->
viewer
+
1
;
$data
->
update
(
$viewer
);
$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
;
}
}
app/Http/Controllers/Webprofile/Front/PageController.php
View file @
0c11a2f2
...
...
@@ -26,6 +26,10 @@ class PageController extends Controller
$data
=
$this
->
getDataEn
(
$setting
,
$title
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.en.page'
,
$data
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'de'
)
{
$data
=
$this
->
getDataDe
(
$setting
,
$title
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.de.page'
,
$data
);
}
}
...
...
@@ -70,4 +74,25 @@ class PageController extends Controller
return
$data
;
}
public
function
getDataDe
(
$setting
,
$title
)
{
$setting
=
webprofilesetting
();
$data
=
Pages
::
with
([
'rDe'
])
->
where
(
'slug'
,
$title
)
->
first
();
$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
,
'footer'
=>
$footer
,
];
return
$data
;
}
}
app/Http/Controllers/Webprofile/Front/PersonController.php
View file @
0c11a2f2
...
...
@@ -27,6 +27,10 @@ class PersonController extends Controller
$data
=
$this
->
getDataEn
(
$setting
,
$name
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.en.team'
,
$data
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'de'
)
{
$data
=
$this
->
getDataDe
(
$setting
,
$name
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.de.team'
,
$data
);
}
}
...
...
@@ -74,6 +78,28 @@ class PersonController extends Controller
return
$data
;
}
public
function
getDataDe
(
$setting
,
$name
)
{
$setting
=
webprofilesetting
();
$data
=
$this
->
getData
(
$name
);
$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
,
'footer'
=>
$footer
,
'name'
=>
$name
,
];
return
$data
;
}
public
function
getData
(
$name
)
{
$pick
=
Setting
::
where
(
'name_setting'
,
'team'
)
->
first
();
...
...
app/Http/Controllers/Webprofile/Front/PostController.php
View file @
0c11a2f2
...
...
@@ -27,6 +27,10 @@ class PostController extends Controller
$data
=
$this
->
getDataEn
(
$setting
,
$title
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.en.post'
,
$data
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'de'
)
{
$data
=
$this
->
getDataDe
(
$setting
,
$title
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.de.post'
,
$data
);
}
}
...
...
@@ -93,4 +97,36 @@ class PostController extends Controller
return
$data
;
}
public
function
getDataDe
(
$setting
,
$title
)
{
$setting
=
webprofilesetting
();
$data
=
Posts
::
with
([
'rDe'
])
->
where
(
'slug'
,
$title
)
->
first
();
$terkait
=
Posts
::
with
([
'rDe'
])
->
where
(
'categories'
,
$data
->
categories
)
->
orderBy
(
'created_at'
,
'desc'
)
->
limit
(
'4'
)
->
get
();
$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
();
$viewer
[
'viewer'
]
=
(
int
)
$data
->
viewer
+
1
;
$data
->
update
(
$viewer
);
$data
=
[
'setting'
=>
$setting
,
'data'
=>
$data
,
'terkait'
=>
$terkait
,
'menu'
=>
$menu
,
'widget_right'
=>
$widget_right
,
'widget_left'
=>
$widget_left
,
'resend'
=>
$resend
,
'hot'
=>
$hot
,
'categories'
=>
$categories
,
'footer'
=>
$footer
,
];
return
$data
;
}
}
resources/views/webprofile/front/jollyany/de/archive.blade.php
0 → 100644
View file @
0c11a2f2
@
extends
(
'webprofile.front.jollyany.master'
)
@
section
(
'content'
)
<
section
class
="
post
-
wrapper
-
top
jt
-
shadow
clearfix
">
<div class="
container
">
<div class="
col
-
lg
-
12
">
<h2>{!!
$title
!!}</h2>
</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
">
@if (
$value->rDe
)
<h2><a href="
{
!!
url
(
'post/'
.
$value
->
slug
)
!!
}
">{!!
$value->rDe
->title !!}</a></h2>
@endif
</div>
<div class="
news
-
text
">
<div class="
col
-
lg
-
4
">
<a href="
{
!!
url
(
'post/'
.
str_replace
(
' '
,
'-'
,
$value
->
title
))
!!
}
">
@if(
$value->thumbnail
)
@if (
$setting['external_storage']
== 1)
<img src="
{{
$setting
[
'url_static'
]
.
'/'
.
$setting
[
'directory'
]
.
'/thumbnail/'
.
$value
->
thumbnail
}}
" style="
max
-
width
:
200
px
" align="
left
" class="
img
-
responsive
">
@else
<img src="
{{
url
(
'/storage/thumbnail/'
.
$value
->
thumbnail
)
}}
" style="
max
-
width
:
200
px
" align="
left
" class="
img
-
responsive
">
@endif
@else
<img style="
max
-
width
:
200
px
" align="
left
" class="
img
-
responsive
" src="
https
://
www
.
unesa
.
ac
.
id
/
assets
/
switcher
/
images
/
logo
.
png
">
@endif
</a>
</div>
<strong>{!! InseoHelper::tglbulanindo2(
$value->post_date
) !!}</strong>
@if (
$value->rDe
)
<p>{!! strip_tags(substr(html_entity_decode(
$value->rDe
->content,ENT_COMPAT,"
UTF
-
8
"),0 , 250)) !!}</p>
<br>
@endif
<a class="
pull
-
right
" style="
padding
-
right
:
20
px
;
" href="
{
!!
url
(
'post/'
.
$value
->
slug
)
!!
}
">Read more »»</a>
</div>
</div>
@else
<div class="
row
">
<div class="
headline
">
@if (
$value->rDe
)
<h2><a target="
_blank
" href="
{
!!
url
(
'info/'
.
$value
->
slug
)
!!
}
">{!!
$value->rDe
->title !!}</a></h2>
@endif
</div>
<div class="
news
-
text
">
<strong> {!! InseoHelper::tglbulanindo2(
$value->event_date
) !!}</strong> —
{!! strip_tags(substr(html_entity_decode(
$value->rDe
->content,ENT_COMPAT,"
UTF
-
8
"),0 , 250)) !!}
<br><a class="
pull
-
right
" style="
padding
-
right
:
20
px
;
" target="
_blank
" href="
{
!!
url
(
'info/'
.
$value
->
slug
)
!!
}
">
Weiterlesen »»</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.de.widget')
</div>
</div><!-- end container -->
</section><!--end white-wrapper -->
@endsection
resources/views/webprofile/front/jollyany/de/index.blade.php
0 → 100644
View file @
0c11a2f2
This diff is collapsed.
Click to expand it.
resources/views/webprofile/front/jollyany/de/information.blade.php
0 → 100644
View file @
0c11a2f2
@
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
resources/views/webprofile/front/jollyany/de/menu.blade.php
0 → 100644
View file @
0c11a2f2
@
foreach
(
$menu
as
$value
)
@
if
(
!
$value
->
parent
)
@
if
(
$value
->
url
)
<
li
><
a
href
=
"{!! url((string)
$value->url
) !!}"
>@
if
(
$value
->
rDe
)
{
!!
$value
->
rDe
->
name
!!
}
@
endif
</
a
></
li
>
@
else
<
li
class
="
dropdown
"><a href="
#" data-toggle="dropdown" class="dropdown-toggle">{!! $value->rDe->name !!} <div class="arrow-up"></div></a>
<
ul
class
="
dropdown
-
menu
" role="
menu
">
@foreach (
$menu
as
$valuec
)
@if(
$valuec->parent
==
$value->id
)
@if(
$valuec->url
)
@if (
$valuec->rDe
)
<li><a href="
{
!!
url
((
string
)
$valuec
->
url
)
!!
}
">{!!
$valuec->rDe
->name !!}</a></li>
@endif
@else
<li class="
dropdown
-
submenu
">
@if (
$valuec->rDe
)
<a href="
#">{!! $valuec->rDe->name !!}</a>
@
endif
<
ul
class
="
dropdown
-
menu
">
@foreach (
$menu
as
$valuec2
)
@if(
$valuec2->parent
==
$valuec->id
)
@if (
$valuec2->rDe
)
<li><a href="
{
!!
url
((
string
)
$valuec2
->
url
)
!!
}
">{!!
$valuec2->rDe
->name !!}</a></li>
@endif
@endif
@endforeach
</ul>
</li>
@endif
@endif
@endforeach
</ul>
</li>
@endif
@endif
@endforeach
resources/views/webprofile/front/jollyany/de/page.blade.php
0 → 100644
View file @
0c11a2f2
@
extends
(
'webprofile.front.jollyany.master'
)
@
section
(
'content'
)
<
section
class
="
post
-
wrapper
-
top
jt
-
shadow
clearfix
">
<div class="
container
">
<div class="
col
-
lg
-
12
">
@if (
$data->rDe
)
<h2>{!!
$data->rDe
->title !!}</h2>
@endif
</div>
</div>
</section><!-- end post-wrapper-top -->
<section class="
blog
-
wrapper
">
<div class="
container
">
<div class="
row
">
<div id="
main
-
content
" class="
col
-
md
-
12
" role="
main
" align="
justify
">
@if (
$data->rDe
)
{!!
$data->rDe
->content !!}
@endif
</div>
</div>
</div><!-- end title -->
</div><!-- end container -->
</section><!--end white-wrapper -->
@endsection
resources/views/webprofile/front/jollyany/de/post.blade.php
0 → 100644
View file @
0c11a2f2
@
extends
(
'webprofile.front.jollyany.master'
)
@
section
(
'content'
)
<
section
class
="
post
-
wrapper
-
top
jt
-
shadow
clearfix
">
<div class="
container
">
<div class="
col
-
lg
-
12
">
@if (
$data->rDe
)
<h2>{!!
$data->rDe
->title !!}</h2>
@endif
</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
-
calendar
"></i>
<time title="
{
!!
$data
->
post_data
!!
}
" datetime="
{
!!
$data
->
post_data
!!
}
">{!! InseoHelper::tglbulanindo2(
$data->post_date
) !!}</time> - kategori <a href="
#">@if ($data->rCategory->rDe) {!! $data->rCategory->rDe->name !!} @endif</a></span>
<
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->thumbnail
)
@if(
$data->cover_status
== 1)
<center>
@if (
$setting['external_storage']
== 1)
<img src="
{{
$setting
[
'url_static'
]
.
'/'
.
$setting
[
'directory'
]
.
'/thumbnail/'
.
$data
->
thumbnail
}}
" alt="" style="
max
-
width
:
708
px
">
@else
<img src="
{{
url
(
'/storage/thumbnail/'
.
$data
->
thumbnail
)
}}
" alt="" style="
max
-
width
:
708
px
">
@endif
</center>
@endif
@endif
<br>
<div class="
widget
col
-
md
-
4
pull
-
right
related
hidden
-
sm
hidden
-
xs
kaitan
" style="
margin
-
bottom
:
5
px
;
">
<h4 class="
h4_kaitan
"><strong>ähnliche Neuigkeiten </strong></h4>
<div class="
isi_kaitan
">
<div class="
content_kaitan
">
<ul class="
ul_kaitan
nav
nav
-
tabs
nav
-
stacked
">
@foreach(
$terkait
as
$valTerkait
)
@if (
$valTerkait->rDe
)
<li><strong><a title="
{
!!
$valTerkait
->
rDe
->
title
!!
}
" href="
{
!!
url
(
'post/'
.
$valTerkait
->
slug
)
!!
}
">{!!
$valTerkait->rDe
->title !!}</a></strong></li>
@endif
@endforeach
</ul>
</div>
</div>
</div>
@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
resources/views/webprofile/front/jollyany/de/team.blade.php
0 → 100644
View file @
0c11a2f2
@
extends
(
'webprofile.front.jollyany.master'
)
@
section
(
'meta'
)
<
meta
name
=
"{!! Str::slug(app('translator')->getFromJson('label.'.
$name
)) !!}"
content
=
"custom"
/>
<
meta
name
=
"description"
content
=
""
>
<
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>@lang('label.'.
$name
)</h2>
</div>
</div>
</section><!-- end post-wrapper-top -->
<section class="
blog
-
wrapper
">
<div class="
container
">
<div class="
row
">
<div id="
main
-
content
" class="
col
-
md
-
12
" role="
main
" align="
justify
">
<table class="
table
table
-
bordered
" style="
vertical
-
align
:
baseline
;
">
<thead>
<tr>
<th style="
width
:
5
%
;
">NO</th>
<th style="
width
:
15
%
;
">PHOTO</th>
<th>INFORMATION</th>
</tr>
</thead>
<tbody>
@php
$no
= 1;
@endphp
@foreach (
$data
as
$value
)
<tr>
<td style="
text
-
align
:
center
;
color
:
black
;
">{{
$no
++ }}</td>
<td style="
color
:
black
;
text
-
align
:
center
;
">
<img style="
width
:
200
px
;
height
:
auto
;
" src="
https
://
i
-
sdm
.
unesa
.
ac
.
id
/
assets
/
images
/
kepegawaian
/
pegawai
//{!! $value['nip'] !!}.jpg" class="user-image" alt="{{ $value['namalengkap'] }}"><br>
</
td
>
<
td
style
=
"color: black;"
>
<
table
width
=
"100%"
>
<
tr
>
<
td
width
=
"10%"
>
NIP
</
td
>
<
td
>:
{{
$value
[
'nip'
]
}}
</
td
>
</
tr
>
<
tr
>
<
td
>
NAMA
</
td
>
<
td
>:
{{
$value
[
'namalengkap'
]
}}
</
td
>
</
tr
>
</
table
>
</
td
>
</
tr
>
@
endforeach
</
tbody
>
</
table
>
</
div
>
</
div
>
</
div
><!--
end
title
-->
</
div
><!--
end
container
-->
</
section
><!--
end
white
-
wrapper
-->
@
endsection
resources/views/webprofile/front/jollyany/de/widget.blade.php
0 → 100644
View file @
0c11a2f2
<div
id=
"sidebar"
class=
"col-lg-4 col-md-4 col-sm-12 col-xs-12"
>
<div
class=
"widget"
>
<div
class=
"title"
><h2>
<h2>
Kategorie
</h2>
<ul
class=
"nav nav-tabs nav-stacked"
>
@foreach($categories as $value)
@if ($value->rDe)
<li><a
class=
"unesa-link"
href=
"{!! url('category/'.$value->name) !!}"
>
{!! $value->rDe->name !!}
</a></li>
@endif
@endforeach
</ul>
<h2>
Neuster Artikel
</h2>
<ul
class=
"nav nav-tabs nav-stacked"
>
@foreach($hot as $value)
@if ($value->rDe)
<li><a
class=
"unesa-link"
href=
"{!! url('post/'.$value->slug) !!}"
>
{!! $value->rDe->title !!}
</a></li>
@endif
@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>
resources/views/webprofile/front/jollyany/en/post.blade.php
View file @
0c11a2f2
...
...
@@ -44,7 +44,7 @@
@endif
<br>
<div class="
widget
col
-
md
-
4
pull
-
right
related
hidden
-
sm
hidden
-
xs
kaitan
" style="
margin
-
bottom
:
5
px
;
">
<h4 class="
h4_kaitan
"><strong>
berita terkait
</strong></h4>
<h4 class="
h4_kaitan
"><strong>
related news
</strong></h4>
<div class="
isi_kaitan
">
<div class="
content_kaitan
">
<ul class="
ul_kaitan
nav
nav
-
tabs
nav
-
stacked
">
...
...
resources/views/webprofile/front/jollyany/master.blade.php
View file @
0c11a2f2
...
...
@@ -92,6 +92,11 @@
<input
type=
"hidden"
value=
"id"
name=
"language"
>
<a
href=
"javascript:;"
onclick=
"document.getElementById('id').submit();"
><img
src=
"https://www.unesa.ac.id/assets2/images/id.png"
></a>
{!! Form::close() !!}
{!! Form::open(array('url' => route('language'), 'method' => 'POST', 'style'=>'display:inline', 'id'=>'de')) !!}
<input
type=
"hidden"
value=
"de"
name=
"language"
>
<a
href=
"javascript:;"
onclick=
"document.getElementById('de').submit();"
><img
src=
"https://www.unesa.ac.id/assets2/images/de.png"
></a>
{!! Form::close() !!}
</div>
</div>
<!-- end top menu -->
<div
class=
"callus"
>
...
...
@@ -124,6 +129,9 @@
@if (Session::get('selected_language') == 'en')
@include('webprofile.front.jollyany.en.menu')
@endif
@if (Session::get('selected_language') == 'de')
@include('webprofile.front.jollyany.de.menu')
@endif
</ul>
<!-- end navbar-nav -->
</div>
<!-- #navbar-collapse-1 -->
</nav>
<!-- end navbar yamm navbar-default -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment