I made a website but in two versions one for normal users and one for the mobile users and for both I made view page and also with multilanguage options, first I add in controller
public function index()
{
if ($this->input->get("lang") =="en")
$this->load->view('en_signup');
else
$this->load->view('ar_signup');
$this->load->helper('url');
}
}
I made pages with name of marabic.php
and menglish.php
for mobile users now first I need to load these pages also but not mix with the original/default view pages, because I already mention java cript in default view page when its detect mobile user it redirect to m.domainname.com
now I want to figure out this issue, please suggest.