';
// echo var_dump($assign_subjects);
$uname = '';
$name = '';
$email = '';
$mobile = '';
$address = '';
$img = '';
$passwd = '';
$csubject = '';
if (isset($detail)) {
// print_r($detail);
$uname = $detail['teacherId'];
$name = $detail['teacher_name'];
$email = $detail['email'];
$mobile = $detail['mobile'];
$address = $detail['address'];
$filePath = 'assets_admin/images/teacher-profile/' . $detail['photo'];
if (file_exists($filePath)) {
$img = base_url() . 'assets_admin/images/teacher-profile/' . $detail['photo'];
} else {
$img = base_url() . 'common_assets/No-Image.jpg';
}
$passwd = base64_decode($detail['password']);
}
?>