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
3f1e510d
Commit
3f1e510d
authored
Dec 21, 2020
by
Aan Choesni Herlingga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
front bahasa cina
parent
93ed047c
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
931 additions
and
1 deletions
+931
-1
app/Http/Controllers/Webprofile/Front/AgendaController.php
+31
-0
app/Http/Controllers/Webprofile/Front/ArchiveController.php
+31
-0
app/Http/Controllers/Webprofile/Front/CategoryController.php
+32
-0
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/master.blade.php
+4
-1
resources/views/webprofile/front/jollyany/zh/archive.blade.php
+82
-0
resources/views/webprofile/front/jollyany/zh/index.blade.php
+293
-0
resources/views/webprofile/front/jollyany/zh/information.blade.php
+44
-0
resources/views/webprofile/front/jollyany/zh/menu.blade.php
+36
-0
resources/views/webprofile/front/jollyany/zh/page.blade.php
+26
-0
resources/views/webprofile/front/jollyany/zh/post.blade.php
+74
-0
resources/views/webprofile/front/jollyany/zh/team.blade.php
+61
-0
resources/views/webprofile/front/jollyany/zh/widget.blade.php
+32
-0
No files found.
app/Http/Controllers/Webprofile/Front/AgendaController.php
View file @
3f1e510d
...
@@ -36,6 +36,10 @@ class AgendaController extends Controller
...
@@ -36,6 +36,10 @@ class AgendaController extends Controller
$data
=
$this
->
getDataSa
(
$setting
);
$data
=
$this
->
getDataSa
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.archive'
,
$data
)
->
withTitle
(
'Agenda'
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.archive'
,
$data
)
->
withTitle
(
'Agenda'
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'zh'
)
{
$data
=
$this
->
getDataZh
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.zh.archive'
,
$data
)
->
withTitle
(
'Agenda'
);
}
}
}
}
...
@@ -146,4 +150,31 @@ class AgendaController extends Controller
...
@@ -146,4 +150,31 @@ class AgendaController extends Controller
return
$data
;
return
$data
;
}
}
public
function
getDataZh
(
$setting
)
{
$setting
=
webprofilesetting
();
$data
=
Information
::
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
;
}
}
}
app/Http/Controllers/Webprofile/Front/ArchiveController.php
View file @
3f1e510d
...
@@ -35,6 +35,10 @@ class ArchiveController extends Controller
...
@@ -35,6 +35,10 @@ class ArchiveController extends Controller
$data
=
$this
->
getDataSa
(
$setting
);
$data
=
$this
->
getDataSa
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.archive'
,
$data
)
->
withTitle
(
'Archive'
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.archive'
,
$data
)
->
withTitle
(
'Archive'
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'zh'
)
{
$data
=
$this
->
getDataZh
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.zh.archive'
,
$data
)
->
withTitle
(
'Archive'
);
}
}
}
}
...
@@ -145,4 +149,31 @@ class ArchiveController extends Controller
...
@@ -145,4 +149,31 @@ class ArchiveController extends Controller
return
$data
;
return
$data
;
}
}
public
function
getDataZh
(
$setting
)
{
$setting
=
webprofilesetting
();
$data
=
Posts
::
where
(
'post_status'
,
'1'
)
->
orderBy
(
'post_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
;
}
}
}
app/Http/Controllers/Webprofile/Front/CategoryController.php
View file @
3f1e510d
...
@@ -35,6 +35,10 @@ class CategoryController extends Controller
...
@@ -35,6 +35,10 @@ class CategoryController extends Controller
$data
=
$this
->
getDataSa
(
$setting
,
$category
);
$data
=
$this
->
getDataSa
(
$setting
,
$category
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.archive'
,
$data
)
->
withTitle
(
'Archive'
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.archive'
,
$data
)
->
withTitle
(
'Archive'
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'zh'
)
{
$data
=
$this
->
getDataZh
(
$setting
,
$category
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.zh.archive'
,
$data
)
->
withTitle
(
'Archive'
);
}
}
}
}
...
@@ -149,4 +153,32 @@ class CategoryController extends Controller
...
@@ -149,4 +153,32 @@ class CategoryController extends Controller
return
$data
;
return
$data
;
}
}
public
function
getDataZh
(
$setting
,
$category
)
{
$setting
=
webprofilesetting
();
$findCategory
=
Categories
::
where
(
'name'
,
$category
)
->
first
();
$data
=
Posts
::
with
([
'rZh'
])
->
where
(
'categories'
,
$findCategory
->
id
)
->
where
(
'post_status'
,
'1'
)
->
orderBy
(
'post_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
;
}
}
}
app/Http/Controllers/Webprofile/Front/ErrorController.php
View file @
3f1e510d
...
@@ -34,6 +34,10 @@ class ErrorController extends Controller
...
@@ -34,6 +34,10 @@ class ErrorController extends Controller
$data
=
$this
->
getDataSa
(
$setting
);
$data
=
$this
->
getDataSa
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.page'
,
$data
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.page'
,
$data
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'zh'
)
{
$data
=
$this
->
getDataZh
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.page'
,
$data
);
}
}
}
}
...
@@ -124,4 +128,26 @@ class ErrorController extends Controller
...
@@ -124,4 +128,26 @@ class ErrorController extends Controller
return
$data
;
return
$data
;
}
}
public
function
getDataZh
(
$setting
)
{
$setting
=
webprofilesetting
();
$data
=
new
Pages
();
$data
->
title
=
'Page Not Found'
;
$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
,
'footer'
=>
$footer
,
];
return
$data
;
}
}
}
app/Http/Controllers/Webprofile/Front/FrontController.php
View file @
3f1e510d
...
@@ -37,6 +37,10 @@ class FrontController extends Controller
...
@@ -37,6 +37,10 @@ class FrontController extends Controller
$data
=
$this
->
getDataSa
(
$setting
);
$data
=
$this
->
getDataSa
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.index'
,
$data
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.index'
,
$data
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'zh'
)
{
$data
=
$this
->
getDataZh
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.zh.index'
,
$data
);
}
}
}
}
...
@@ -175,4 +179,38 @@ class FrontController extends Controller
...
@@ -175,4 +179,38 @@ class FrontController extends Controller
return
$data
;
return
$data
;
}
}
private
function
getDataZh
(
$setting
)
{
$posts
=
Posts
::
with
([
'rZh'
])
->
where
(
'post_status'
,
'1'
)
->
orderby
(
'post_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
();
$info
=
Information
::
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
();
$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 @
3f1e510d
...
@@ -36,6 +36,10 @@ class InformationController extends Controller
...
@@ -36,6 +36,10 @@ class InformationController extends Controller
$data
=
$this
->
getDataSa
(
$setting
,
$title
);
$data
=
$this
->
getDataSa
(
$setting
,
$title
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.information'
,
$data
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.information'
,
$data
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'zh'
)
{
$data
=
$this
->
getDataZh
(
$setting
,
$title
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.zh.information'
,
$data
);
}
}
}
}
...
@@ -158,4 +162,34 @@ class InformationController extends Controller
...
@@ -158,4 +162,34 @@ class InformationController extends Controller
return
$data
;
return
$data
;
}
}
public
function
getDataZh
(
$setting
,
$title
)
{
$setting
=
webprofilesetting
();
$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
();
$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
();
$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 @
3f1e510d
...
@@ -34,6 +34,10 @@ class PageController extends Controller
...
@@ -34,6 +34,10 @@ class PageController extends Controller
$data
=
$this
->
getDataSa
(
$setting
,
$title
);
$data
=
$this
->
getDataSa
(
$setting
,
$title
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.page'
,
$data
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.page'
,
$data
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'zh'
)
{
$data
=
$this
->
getDataZh
(
$setting
,
$title
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.zh.page'
,
$data
);
}
}
}
}
...
@@ -120,4 +124,25 @@ class PageController extends Controller
...
@@ -120,4 +124,25 @@ class PageController extends Controller
return
$data
;
return
$data
;
}
}
public
function
getDataZh
(
$setting
,
$title
)
{
$setting
=
webprofilesetting
();
$data
=
Pages
::
with
([
'rZh'
])
->
where
(
'slug'
,
$title
)
->
first
();
$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
,
'footer'
=>
$footer
,
];
return
$data
;
}
}
}
app/Http/Controllers/Webprofile/Front/PersonController.php
View file @
3f1e510d
...
@@ -35,6 +35,10 @@ class PersonController extends Controller
...
@@ -35,6 +35,10 @@ class PersonController extends Controller
$data
=
$this
->
getDataSa
(
$setting
,
$name
);
$data
=
$this
->
getDataSa
(
$setting
,
$name
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.team'
,
$data
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.team'
,
$data
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'zh'
)
{
$data
=
$this
->
getDataZh
(
$setting
,
$name
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.zh.team'
,
$data
);
}
}
}
}
...
@@ -126,6 +130,28 @@ class PersonController extends Controller
...
@@ -126,6 +130,28 @@ class PersonController extends Controller
return
$data
;
return
$data
;
}
}
public
function
getDataZh
(
$setting
,
$name
)
{
$setting
=
webprofilesetting
();
$data
=
$this
->
getData
(
$name
);
$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
,
'footer'
=>
$footer
,
'name'
=>
$name
,
];
return
$data
;
}
public
function
getData
(
$name
)
public
function
getData
(
$name
)
{
{
$pick
=
Setting
::
where
(
'name_setting'
,
'team'
)
->
first
();
$pick
=
Setting
::
where
(
'name_setting'
,
'team'
)
->
first
();
...
...
app/Http/Controllers/Webprofile/Front/PostController.php
View file @
3f1e510d
...
@@ -35,6 +35,10 @@ class PostController extends Controller
...
@@ -35,6 +35,10 @@ class PostController extends Controller
$data
=
$this
->
getDataSa
(
$setting
,
$title
);
$data
=
$this
->
getDataSa
(
$setting
,
$title
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.post'
,
$data
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.post'
,
$data
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'zh'
)
{
$data
=
$this
->
getDataZh
(
$setting
,
$title
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.zh.post'
,
$data
);
}
}
}
}
...
@@ -165,4 +169,36 @@ class PostController extends Controller
...
@@ -165,4 +169,36 @@ class PostController extends Controller
return
$data
;
return
$data
;
}
}
public
function
getDataZh
(
$setting
,
$title
)
{
$setting
=
webprofilesetting
();
$data
=
Posts
::
with
([
'rZh'
])
->
where
(
'slug'
,
$title
)
->
first
();
$terkait
=
Posts
::
with
([
'rZh'
])
->
where
(
'categories'
,
$data
->
categories
)
->
orderBy
(
'created_at'
,
'desc'
)
->
limit
(
'4'
)
->
get
();
$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
();
$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/master.blade.php
View file @
3f1e510d
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
<span
class=
"topbar-cart"
><i
class=
"fa fa-globe"
></i>
<a
href=
"https://www.unesa.ac.id"
target=
"_blank"
>
UNESA
</a></span>
<span
class=
"topbar-cart"
><i
class=
"fa fa-globe"
></i>
<a
href=
"https://www.unesa.ac.id"
target=
"_blank"
>
UNESA
</a></span>
<span
class=
"topbar-cart"
>
<span
class=
"topbar-cart"
>
{!! Form::open(array('url' => route('language'), 'method' => 'POST', 'style'=>'display:inline')) !!}
{!! Form::open(array('url' => route('language'), 'method' => 'POST', 'style'=>'display:inline')) !!}
{{ Form::select('language', ['id'=>'Indonesia', 'en'=>'English', 'de'=>'German', 'ar'=>'Arabic'], session('selected_language'), ['class'=>'custom-select form-control', 'style'=>'border-style:none; border-radius: 10px; border-color: white, height: 15px;', 'onChange'=>'form.submit()']) }}
{{ Form::select('language', ['id'=>'Indonesia', 'en'=>'English', 'de'=>'German', 'ar'=>'Arabic'
, 'zh'=>'China'
], session('selected_language'), ['class'=>'custom-select form-control', 'style'=>'border-style:none; border-radius: 10px; border-color: white, height: 15px;', 'onChange'=>'form.submit()']) }}
{!! Form::close() !!}
{!! Form::close() !!}
</span>
</span>
</div>
<!-- end top menu -->
</div>
<!-- end top menu -->
...
@@ -124,6 +124,9 @@
...
@@ -124,6 +124,9 @@
@if (Session::get('selected_language') == 'ar')
@if (Session::get('selected_language') == 'ar')
@include('webprofile.front.jollyany.ar.menu')
@include('webprofile.front.jollyany.ar.menu')
@endif
@endif
@if (Session::get('selected_language') == 'zh')
@include('webprofile.front.jollyany.zh.menu')
@endif
</ul>
<!-- end navbar-nav -->
</ul>
<!-- end navbar-nav -->
</div>
<!-- #navbar-collapse-1 -->
</div>
<!-- #navbar-collapse-1 -->
</nav>
<!-- end navbar yamm navbar-default -->
</nav>
<!-- end navbar yamm navbar-default -->
...
...
resources/views/webprofile/front/jollyany/zh/archive.blade.php
0 → 100644
View file @
3f1e510d
@
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->rZh
)
<h2><a href="
{
!!
url
(
'post/'
.
$value
->
slug
)
!!
}
">{!!
$value->rZh
->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->rZh
)
<p>{!! strip_tags(substr(html_entity_decode(
$value->rZh
->content,ENT_COMPAT,"
UTF
-
8
"),0 , 250)) !!}</p>
<br>
@endif
<a class="
pull
-
right
" style="
padding
-
right
:
20
px
;
" href="
{
!!
url
(
'post/'
.
$value
->
slug
)
!!
}
">Weiterlesen »»</a>
</div>
</div>
@else
<div class="
row
">
<div class="
headline
">
@if (
$value->rZh
)
<h2><a target="
_blank
" href="
{
!!
url
(
'info/'
.
$value
->
slug
)
!!
}
">{!!
$value->rZh
->title !!}</a></h2>
@endif
</div>
<div class="
news
-
text
">
<strong> {!! InseoHelper::tglbulanindo2(
$value->event_date
) !!}</strong> —
{!! strip_tags(substr(html_entity_decode(
$value->rZh
->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.zh.widget')
</div>
</div><!-- end container -->
</section><!--end white-wrapper -->
@endsection
resources/views/webprofile/front/jollyany/zh/index.blade.php
0 → 100644
View file @
3f1e510d
@
extends
(
'webprofile.front.jollyany.master'
)
@
section
(
'slider'
)
<
section
class
="
slider
-
wrapper
">
<div class="
tp
-
banner
-
container
">
<div class="
tp
-
banner
" >
<ul><!-- SLIDE -->
@foreach(
$slider
as
$value
)
<li data-transition="
fade
" data-slotamount="
7
" data-masterspeed="
1500
" >
@if (
$setting['external_storage']
== 1)
<img src="
{{
$setting
[
'url_static'
]
.
'/'
.
$setting
[
'directory'
]
.
'/slider/'
.
$value
->
slider
}}
" data-bgfit="
cover
" data-bgposition="
center
center
" data-bgrepeat="
no
-
repeat
" alt="
{
!!
$value
->
title
!!
}
">
@else
<img src="
{{
url
(
'/storage/slider/'
.
$value
->
slider
)
}}
" data-bgfit="
cover
" data-bgposition="
center
center
" data-bgrepeat="
no
-
repeat
" alt="
{
!!
$value
->
title
!!
}
">
@endif
</li>
@endforeach
</ul>
<div class="
tp
-
bannertimer
"></div>
</div>
</div>
</section><!-- end slider-wrapper -->
@endsection
@section('content')
<section class="
blog
-
wrapper
">
<div class="
container
">
<div id="
content
" class="
col
-
lg
-
8
col
-
md
-
8
col
-
sm
-
12
col
-
xs
-
12
">
<div class="
title
">
<h2>最新消息
<div style="
font
-
size
:
12
px
;
float
:
right
"><a href="
{
!!
url
(
'archive'
)
!!
}
" class="
btn
btn
-
box
"><i class="
fa
fa
-
chevron
-
circle
-
right
"></i> 查看完整新闻</a></div>
</h2>
</div><!-- end title -->
<div class="
row
">
<div class="
blog
-
masonry
">
<?php
$e
=1; ?>
@foreach(
$posts
as
$value
)
<div class="
col
-
lg
-
6
@
if
(
$e
%
2
!=
0
)
first
@
else
last
@
endif
">
<div class="
blog
-
carousel
">
<div class="
entry
">
@if(
$value->thumbnail
)
<center>
@if (
$setting['external_storage']
== 1)
<img src="
{{
$setting
[
'url_static'
]
.
'/'
.
$setting
[
'directory'
]
.
'/thumbnail/'
.
$value
->
thumbnail
}}
" alt="" class="
img
-
responsive
" style="
height
:
150
px
;
width
:
auto
;
">
@else
<img src="
{{
url
(
'/storage/thumbnail/'
.
$value
->
thumbnail
)
}}
" alt="" class="
img
-
responsive
" style="
height
:
150
px
;
width
:
auto
;
">
@endif
</center>
@endif
</div>
<div class="
blog
-
carousel
-
header
">
@if (
$value->rZh
)
<h3><a title="
{
!!
$value
->
title
!!
}
" href="
{
!!
url
(
'post/'
.
$value
->
slug
)
!!
}
">{!!
$value->rZh
->title !!}</a></h3>
@endif
<div class="
blog
-
carousel
-
meta
">
<span><i class="
fa
fa
-
calendar
"></i> {!! InseoHelper::tglbulanindo2(
$value->post_date
) !!}</span>
@if(
$value->comment_status
)
<span><i class="
fa
fa
-
comment
"></i> <a href="
#">{!! $value->comment_count !!} 评论</a></span>
@
endif
<
span
><
i
class
="
fa
fa
-
eye
"></i> <a href="
#">{!! $value->viewer !!} 观看次数</a></span>
</
div
><!--
end
blog
-
carousel
-
meta
-->
</
div
><!--
end
blog
-
carousel
-
header
-->
<
div
class
="
blog
-
carousel
-
desc
">
{{-- <p>{!! substr(html_entity_decode(
$value->content
),0 , 250) !!}</p> --}}
@if (
$value->rZh
)
<p>{!! strip_tags(substr(html_entity_decode(
$value->rZh
->content,ENT_COMPAT,"
UTF
-
8
"),0 , 250)) !!}</p>
@endif
{{-- <p>{!!
$value->content
!!}</p> --}}
</div><!-- end blog-carousel-desc -->
</div><!-- end blog-carousel -->
</div><!-- end col-lg-4 -->
<?php
$e
++; ?>
@endforeach
</div><!-- end blog-masonry -->
<div class="
clearfix
"></div>
<hr>
<div class="
pagination_wrapper
">
<!-- Pagination Normal -->
<ul class="
pagination
">
{!!
$posts->render
() !!}
</ul>
</div><!-- end pagination_wrapper -->
</div><!-- end row -->
</div><!-- end content -->
<div id="
sidebar
" class="
col
-
lg
-
4
col
-
md
-
4
col
-
sm
-
12
col
-
xs
-
12
">
{{-- <div class="
widget
">
<div id="
google_translate_element
"></div>
<script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'id'
}, 'google_translate_element');
}
</script>
<script src="
http
://
translate
.
google
.
com
/
translate_a
/
element
.
js
?
cb
=
googleTranslateElementInit
"></script>
</div> --}}
<div class="
widget
">
<div class="
title
">
<h2>议程</h2>
</div><!-- end title -->
<ul class="
recent_posts_widget
">
@foreach(
$info
as
$value
)
<li>
<a href="
{
!!
url
(
'info/'
.
$value
->
slug
)
!!
}
"><img src="
https
://
www
.
unesa
.
ac
.
id
/
assets
/
demos
/
logounesa
.
png
" alt="">@if (
$value->rZh
) {!!
$value->rZh
->title !!} @endif</a>
<a class="
readmore
" href="
#">{!! InseoHelper::tglbulanindo2($value->event_date) !!}</a>
</
li
>
@
endforeach
</
ul
>
<
a
href
=
"{!! url('agenda') !!}"
class
="
btn
btn
-
primary
">查看完整议程</a>
</div><!-- end widget -->
<div class="
widget
">
<div id="
tabbed_widget
" class="
tabbable
">
<ul class="
nav
nav
-
tabs
">
<li class="
active
"><a href="
#recent" data-toggle="tab">最新</a></li>
<
li
><
a
href
=
"#new"
data
-
toggle
=
"tab"
>
流行
</
a
></
li
>
</
ul
>
<
div
class
="
tab
-
content
">
<div class="
tab
-
pane
active
" id="
recent
">
<ul class="
recent_posts_widget
">
@foreach(
$resend
as
$value
)
<li>
<a href="
{
!!
url
(
'post/'
.
$value
->
slug
)
!!
}
">
@if(
$value->thumbnail
)
@if (
$setting['external_storage']
== 1)
<img src="
{{
$setting
[
'url_static'
]
.
'/'
.
$setting
[
'directory'
]
.
'/thumbnail/'
.
$value
->
thumbnail
}}
" alt="">
@else
<img src="
{{
url
(
'/storage/thumbnail/'
.
$value
->
thumbnail
)
}}
" alt="">
@endif
@endif @if (
$value->rZh
) {!!
$value->rZh
->title !!} @endif
</a>
<a class="
readmore
" href="
{
!!
url
(
'post/'
.
$value
->
slug
)
!!
}
">{!! InseoHelper::tglbulanindo2(
$value->post_date
) !!}</a>
</li>
@endforeach
</ul><!-- recent posts -->
</div>
<div class="
tab
-
pane
" id="
new
">
<ul class="
recent_posts_widget
">
@foreach(
$hot
as
$value
)
<li>
<a href="
{
!!
url
(
'post/'
.
$value
->
slug
)
!!
}
">@if(
$value->thumbnail
)@if (
$setting['external_storage']
== 1)
<img src="
{{
$setting
[
'url_static'
]
.
'/'
.
$setting
[
'directory'
]
.
'/thumbnail/'
.
$value
->
thumbnail
}}
" alt="" class="
img
-
responsive
" style="
height
:
150
px
;
width
:
auto
;
">
@else
<img src="
{{
url
(
'/storage/thumbnail/'
.
$value
->
thumbnail
)
}}
" alt="" class="
img
-
responsive
" style="
height
:
150
px
;
width
:
auto
;
">
@endif
@endif @if (
$value->rZh
) {!!
$value->rZh
->title !!} @endif</a>
<a class="
readmore
" href="
{
!!
url
(
'post/'
.
$value
->
slug
)
!!
}
">{!! InseoHelper::tglbulanindo2(
$value->post_date
) !!}</a>
</li>
@endforeach
</ul><!-- recent posts -->
</div>
</div><!-- end tab content -->
</div><!-- end tab pane -->
</div><!-- end widget -->
@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><!-- end content -->
</div><!-- end container -->
</section><!--end white-wrapper -->
{{-- Label Body Tambahan --}}
@if (
$body->count
() != 0)
<section class="
panel
-
wrapper
jt
-
shadow
" style="
padding
-
bottom
:
25
px
;
">
@foreach (
$body
as
$value
)
<div class="
container
">
<div class="
general
-
title
">
<h2>{!!
$value->title_design
!!}</h2>
<hr>
</div>
</div>
<!-- end container -->
{!!
$value->value_design
!!}
@endforeach
<div class="
clearfix
"></div>
</section>
@endif
{{-- Label Gallery --}}
{{-- @if (
$gallery->count
() != 0)
<section class="
panel
-
wrapper
jt
-
shadow
">
<div class="
container
">
<div class="
general
-
title
">
<h2>Galeri</h2>
<hr>
</div>
</div>
<!-- end container -->
<div class="
portfolio_wrapper
padding
-
top
" style="
position
:
relative
;
overflow
:
hidden
;
height
:
372
px
;
">
<div class="
portfolio_item
" style="
position
:
absolute
;
left
:
0
px
;
top
:
0
px
;
transform
:
translate
(
0
px
,
30
px
);
width
:
379
px
;
">
<div class="
entry
">
<img src="
https
://
statik
.
unesa
.
ac
.
id
/
profileunesa_konten_statik
/
uploads
/
{
!!
Session
::
get
(
'ss_setting'
)[
'statik_konten'
]
!!
}
/
gallery
/
{
!!
$gallery
[
0
]
->
images
!!
}
" alt="" class="
img
-
responsive
">
<div class="
magnifier
">
<div class="
buttons
">
<a class="
st
btn
btn
-
default
" rel="
bookmark
" href="
https
://
statik
.
unesa
.
ac
.
id
/
profileunesa_konten_statik
/
uploads
/
{
!!
Session
::
get
(
'ss_setting'
)[
'statik_konten'
]
!!
}
/
gallery
/
{
!!
$gallery
[
0
]
->
images
!!
}
" target="
_blank
">
View
</a>
<h3>{!!
$gallery[0]
->title !!}</h3>
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end portfolio_item -->
@if(isset(
$gallery[1]
))
<div class="
portfolio_item
" style="
position
:
absolute
;
left
:
0
px
;
top
:
0
px
;
transform
:
translate
(
379
px
,
30
px
);
width
:
379
px
;
">
<div class="
entry
">
<img src="
https
://
statik
.
unesa
.
ac
.
id
/
profileunesa_konten_statik
/
uploads
/
{
!!
Session
::
get
(
'ss_setting'
)[
'statik_konten'
]
!!
}
/
gallery
/
{
!!
$gallery
[
1
]
->
images
!!
}
" alt="" class="
img
-
responsive
">
<div class="
magnifier
">
<div class="
buttons
">
<a class="
st
btn
btn
-
default
" rel="
bookmark
" href="
https
://
statik
.
unesa
.
ac
.
id
/
profileunesa_konten_statik
/
uploads
/
{
!!
Session
::
get
(
'ss_setting'
)[
'statik_konten'
]
!!
}
/
gallery
/
{
!!
$gallery
[
1
]
->
images
!!
}
" target="
_blank
">
View
</a>
<h3>{!!
$gallery[1]
->title !!}</h3>
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end portfolio_item -->
@endif
@if(isset(
$gallery[2]
))
<div class="
portfolio_item
" style="
position
:
absolute
;
left
:
0
px
;
top
:
0
px
;
transform
:
translate
(
758
px
,
30
px
);
width
:
379
px
;
">
<div class="
entry
">
<img src="
https
://
statik
.
unesa
.
ac
.
id
/
profileunesa_konten_statik
/
uploads
/
{
!!
Session
::
get
(
'ss_setting'
)[
'statik_konten'
]
!!
}
/
gallery
/
{
!!
$gallery
[
2
]
->
images
!!
}
" alt="" class="
img
-
responsive
">
<div class="
magnifier
">
<div class="
buttons
">
<a class="
st
btn
btn
-
default
" rel="
bookmark
" href="
https
://
statik
.
unesa
.
ac
.
id
/
profileunesa_konten_statik
/
uploads
/
{
!!
Session
::
get
(
'ss_setting'
)[
'statik_konten'
]
!!
}
/
gallery
/
{
!!
$gallery
[
2
]
->
images
!!
}
" target="
_blank
">
View
</a>
<h3>{!!
$gallery[2]
->title !!}</h3>
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end portfolio_item -->
@endif
@if(isset(
$gallery[3]
))
<div class="
portfolio_item
" style="
position
:
absolute
;
left
:
0
px
;
top
:
0
px
;
transform
:
translate
(
1137
px
,
30
px
);
width
:
379
px
;
">
<div class="
entry
">
<img src="
https
://
statik
.
unesa
.
ac
.
id
/
profileunesa_konten_statik
/
uploads
/
{
!!
Session
::
get
(
'ss_setting'
)[
'statik_konten'
]
!!
}
/
gallery
/
{
!!
$gallery
[
3
]
->
images
!!
}
" alt="" class="
img
-
responsive
">
<div class="
magnifier
">
<div class="
buttons
">
<a class="
st
btn
btn
-
default
" rel="
bookmark
" href="
https
://
statik
.
unesa
.
ac
.
id
/
profileunesa_konten_statik
/
uploads
/
{
!!
Session
::
get
(
'ss_setting'
)[
'statik_konten'
]
!!
}
/
gallery
/
{
!!
$gallery
[
3
]
->
images
!!
}
" target="
_blank
">
View
</a>
<h3>{!!
$gallery[3]
->title !!}</h3>
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end portfolio_item -->
@endif
</div>
<div class="
clearfix
"></div>
</section>
@endif --}}
<section class="
make
-
bg
-
full
">
<div id="
myCarousel
" class="
carousel
slide
" data-ride="
carousel
">
<!-- Wrapper for slides -->
<div class="
carousel
-
inner
">
@foreach (
$quote
as
$value
)
<div class="
item
@
if
(
$value
->
urutan
==
1
)
active
@
endif
">
<div class="
calloutbox
-
full
-
mini
nocontainer
">
<div class="
long
-
twitter
">
<p class="
lead
">
{!!
$value->value_design
!!}
<div style="
text
-
align
:
center
;
font
-
size
:
14
pt
;
">{!!
$value->title_design
!!}</div>
</p>
</div>
</div>
</div>
@endforeach
</div>
<br>
<br>
<!-- Indicators -->
<ol class="
carousel
-
indicators
">
@for(
$i
=0;
$i
<
$quote->count
();
$i
++)
<li data-target="
#myCarousel" data-slide-to="{!! $i !!}" @if($i==0) class="active" @endif></li>
@
endfor
</
ol
>
</
div
>
</
section
><!--
make
bg
-->
@
endsection
\ No newline at end of file
resources/views/webprofile/front/jollyany/zh/information.blade.php
0 → 100644
View file @
3f1e510d
@
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
resources/views/webprofile/front/jollyany/zh/menu.blade.php
0 → 100644
View file @
3f1e510d
@
foreach
(
$menu
as
$value
)
@
if
(
!
$value
->
parent
)
@
if
(
$value
->
url
)
<
li
><
a
href
=
"{!! url((string)
$value->url
) !!}"
>@
if
(
$value
->
rZh
)
{
!!
$value
->
rZh
->
name
!!
}
@
endif
</
a
></
li
>
@
else
<
li
class
="
dropdown
"><a href="
#" data-toggle="dropdown" class="dropdown-toggle">@if ($value->rZh) {!! $value->rZh->name !!} @endif<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->rZh
)
<li><a href="
{
!!
url
((
string
)
$valuec
->
url
)
!!
}
">@if (
$valuec->rZh
) {!!
$valuec->rZh
->name !!}@endif</a></li>
@endif
@else
<li class="
dropdown
-
submenu
">
@if (
$valuec->rZh
)
<a href="
#">{!! $valuec->rZh->name !!}</a>
@
endif
<
ul
class
="
dropdown
-
menu
">
@foreach (
$menu
as
$valuec2
)
@if(
$valuec2->parent
==
$valuec->id
)
@if (
$valuec2->rZh
)
<li><a href="
{
!!
url
((
string
)
$valuec2
->
url
)
!!
}
">@if (
$valuec2->rZh
) {!!
$valuec2->rZh
->name !!} @endif</a></li>
@endif
@endif
@endforeach
</ul>
</li>
@endif
@endif
@endforeach
</ul>
</li>
@endif
@endif
@endforeach
resources/views/webprofile/front/jollyany/zh/page.blade.php
0 → 100644
View file @
3f1e510d
@
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->rZh
)
<h2>{!!
$data->rZh
->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->rZh
)
{!!
$data->rZh
->content !!}
@endif
</div>
</div>
</div><!-- end title -->
</div><!-- end container -->
</section><!--end white-wrapper -->
@endsection
resources/views/webprofile/front/jollyany/zh/post.blade.php
0 → 100644
View file @
3f1e510d
@
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->rZh
)
<h2>{!!
$data->rZh
->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->rZh
)
<h1>{!!
$data->rZh
->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->rZh) {!! $data->rCategory->rZh->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>类似新闻 </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->rZh
)
<li><strong><a title="
{
!!
$valTerkait
->
rZh
->
title
!!
}
" href="
{
!!
url
(
'post/'
.
$valTerkait
->
slug
)
!!
}
">{!!
$valTerkait->rZh
->title !!}</a></strong></li>
@endif
@endforeach
</ul>
</div>
</div>
</div>
@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
resources/views/webprofile/front/jollyany/zh/team.blade.php
0 → 100644
View file @
3f1e510d
@
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/zh/widget.blade.php
0 → 100644
View file @
3f1e510d
<div
id=
"sidebar"
class=
"col-lg-4 col-md-4 col-sm-12 col-xs-12"
>
<div
class=
"widget"
>
<div
class=
"title"
><h2>
<h2>
类别
</h2>
<ul
class=
"nav nav-tabs nav-stacked"
>
@foreach($categories as $value)
@if ($value->rZh)
<li><a
class=
"unesa-link"
href=
"{!! url('category/'.$value->name) !!}"
>
{!! $value->rZh->name !!}
</a></li>
@endif
@endforeach
</ul>
<h2>
最新文章
</h2>
<ul
class=
"nav nav-tabs nav-stacked"
>
@foreach($hot as $value)
@if ($value->rZh)
<li><a
class=
"unesa-link"
href=
"{!! url('post/'.$value->slug) !!}"
>
{!! $value->rZh->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>
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