Commit 6e148952 by Siti Aisah

orderby body menu

parent 7cf6cfd1
......@@ -69,7 +69,7 @@ class FrontController extends Controller
$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();
$body = Design::where('name_design', 'body')->orderby('urutan', 'asc')->get();
// $body = Design::where('name_design', 'body')->where('title_show' , 't')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
......@@ -108,7 +108,7 @@ class FrontController extends Controller
$quote = Design::with(['rEn'])->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::with(['rEn'])->where('name_design', 'body')->get();
$body = Design::with(['rEn'])->where('name_design', 'body')->orderby('urutan', 'asc')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [
......@@ -146,7 +146,7 @@ class FrontController extends Controller
$quote = Design::with(['rDe'])->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::with(['rDe'])->where('name_design', 'body')->get();
$body = Design::with(['rDe'])->where('name_design', 'body')->orderby('urutan', 'asc')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [
......@@ -184,7 +184,7 @@ class FrontController extends Controller
$quote = Design::with(['rSa'])->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::with(['rSa'])->where('name_design', 'body')->get();
$body = Design::with(['rSa'])->where('name_design', 'body')->orderby('urutan', 'asc')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [
......@@ -222,7 +222,7 @@ class FrontController extends Controller
$quote = Design::with(['rZh'])->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::with(['rZh'])->where('name_design', 'body')->get();
$body = Design::with(['rZh'])->where('name_design', 'body')->orderby('urutan', 'asc')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [
......
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