Commit 2095a085 by Bagus Pambudi

index ppid

parent d022df75
......@@ -24,22 +24,33 @@ class FrontController extends Controller
if (Session::get('selected_language') == 'id') {
$data = $this->getDataId($setting);
if(isset($setting['ppid']) )
return view('webprofile.front.'.$setting['theme'].'.indexcustom', $data);
else
return view('webprofile.front.'.$setting['theme'].'.index', $data);
} elseif (Session::get('selected_language') == 'en') {
$data = $this->getDataEn($setting);
if(isset($setting['ppid']) )
return view('webprofile.front.'.$setting['theme'].'.en.indexcustom', $data);
else
return view('webprofile.front.'.$setting['theme'].'.en.index', $data);
} elseif (Session::get('selected_language') == 'de') {
$data = $this->getDataDe($setting);
if(isset($setting['ppid']) )
return view('webprofile.front.'.$setting['theme'].'.de.indexcustom', $data);
else
return view('webprofile.front.'.$setting['theme'].'.de.index', $data);
} elseif (Session::get('selected_language') == 'ar') {
$data = $this->getDataSa($setting);
if(isset($setting['ppid']) )
return view('webprofile.front.'.$setting['theme'].'.ar.indexcustom', $data);
else
return view('webprofile.front.'.$setting['theme'].'.ar.index', $data);
} elseif (Session::get('selected_language') == 'zh') {
$data = $this->getDataZh($setting);
if(isset($setting['ppid']) )
return view('webprofile.front.'.$setting['theme'].'.zh.indexcustom', $data);
else
return view('webprofile.front.'.$setting['theme'].'.zh.index', $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