Commit 13faac74 by Bagus Pambudi

body berdasarkan urutan

parent 3bc3aa63
...@@ -69,7 +69,7 @@ class FrontController extends Controller ...@@ -69,7 +69,7 @@ class FrontController extends Controller
$quote = Design::where('name_design', 'quote')->get(); $quote = Design::where('name_design', 'quote')->get();
$widget_right = Design::where('name_design', 'widget_right')->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(); $widget_left = Design::where('name_design', 'widget_left')->orderBy('urutan', 'ASC')->get();
$body = Design::where('name_design', 'body')->where('title_show' , 't')->get(); $body = Design::where('name_design', 'body')->where('title_show' , 't')->orderBy('urutan', 'ASC')->get();
$footer = Design::where('name_design', 'like', '%footer_row%')->get(); $footer = Design::where('name_design', 'like', '%footer_row%')->get();
$data = [ $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