<?php
 namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Illuminate\Validation\Rule; use Session; class Help extends Setup { public function __construct() { parent::__construct(); } public function english(Request $request) { $this->data["title"] = print_lang($this->data["app_lang"],'help_english'); $this->data["pageToLoad"] = "help/english.php"; $this->data["activeLink"] = "help"; $this->load_view($this->data); } public function pashto(Request $request) { $this->data["title"] = print_lang($this->data["app_lang"],'help_pashto'); $this->data["pageToLoad"] = "help/pashto.php"; $this->data["activeLink"] = "help"; $this->load_view($this->data); } public function dari(Request $request) { $this->data["title"] = print_lang($this->data["app_lang"],'help_dari'); $this->data["pageToLoad"] = "help/dari.php"; $this->data["activeLink"] = "help"; $this->load_view($this->data); } }