Ejemplo n.º 1
0
function logout()
{
    login_session_destroy();
    login_cookie_destroy();
    redirect(CONFIG_INDEX_REDIRECT_TO);
}
Ejemplo n.º 2
0
function logout()
{
    $id = $_SESSION['IID'];
    login_session_destroy();
    login_cookie_destroy();
    redirect("home?instanceID=" . $id);
}
Ejemplo n.º 3
0
\t\t\t<th>{$ind30b}</th>
\t\t</tr>
\t</thead>
\t<tfoot>
\t\t<tr>
\t\t\t<th colspan="6">&nbsp;</th>
\t\t</tr>
\t</tfoot>
\t{$category_list}
</table>
html;
                                                                                                                                                                                }
                                                                                                                                                                            }
                                                                                                                                                                        } elseif ($id == 'logout') {
                                                                                                                                                                            /*id Logout*/
                                                                                                                                                                            login_session_destroy($sid);
                                                                                                                                                                            header('Location: ./index.php');
                                                                                                                                                                        } else {
                                                                                                                                                                            header('Location: ./index.php');
                                                                                                                                                                        }
                                                                                                                                                                    }
                                                                                                                                                                }
                                                                                                                                                            }
                                                                                                                                                        }
                                                                                                                                                    }
                                                                                                                                                }
                                                                                                                                            }
                                                                                                                                        }
                                                                                                                                    }
                                                                                                                                }
                                                                                                                            }