session->userdata('status') == 'login') {
$nama = $this->session->userdata('username');
echo anchor('User/logout',preg_replace('/(\s*)([^\s]*)(.*)/', '$2', $nama), 'id="login"');
}
else{
echo anchor('User', 'Daftar | Masuk', 'id="login" style="text-align: left; color: #8F8F8F; font-size: 1.3em;padding-top: 2%;"');
}
?>