public function getClient($lang = 'id') { $data['clients'] = Client::Therapist()->get(); $testimony = Testimony::select('content_id as content', 'name', 'position', 'photo'); if ($lang == 'en') { $testimony = Testimony::select('content_en as content', 'name', 'position', 'photo'); } $data['testimony'] = $testimony->Therapist()->get(); $data['pageTitle'] = "Certified Therapist - Klien"; $data['pageDescription'] = "Certified Therapist - Klien"; if ($lang == 'en') { $data['pageTitle'] = "Certified Therapist - Client"; $data['pageDescription'] = "Certified Therapist - Client"; } return View::make('pages.client', $data); }