[eluser]RobertSF[/eluser]
You can't pass that data as a variable because, when you say
$this->load->view('popup', $data);, $data is not what it was when you built each row in the table. It's whatever it is at the moment.
Instead, hard-code the data into each link in your table. You can use an array structure instead of an array variable as an argument, like this
$this->load->view('popup', array('subtime' = > $r->Submitted));
That way, the $r->Submitted specific to each table row gets embedded in the array you pass to the view.