How to remove login script, need help please

Hi,

i wondering if someone can help me to remove login script,
the script look like:

if(@$_COOKIE['admincp'] == md5($admin_username.$admin_password)){
    if(@$_GET['p'] == 'logout'){
        logout();
    }else{
        html_interface();
    }
}else{
    if(@$_POST['login'] == $admin_username && @$_POST['password'] == $admin_password){

        setcookie('admincp', md5($admin_username.$admin_password), time()+3600, '/', false);

        //reload
        echo '<meta http-equiv=refresh content=0;URL=?>';
    }else{
        html_login();
    }
}

function contents(){

    $page_request = @$_GET['p'];

    switch($page_request){
        case 'pages' : pages(); break;
        case 'comments' : comments(); break;
        case 'thumbnails' : thumbnails(); break;
        default : homepage(); break;
    }

} 

because i want to change the login authentication, but my page will be blank

ok thanks every body, this already done, i forget to close this topic, i just just leave html_interface();

its hard to see without the rest of the code, but my guess is





//if(@$_COOKIE['admincp'] == md5($admin_username.$admin_password)){

    //if(@$_GET['p'] == 'logout'){

        //logout();

    //}else{

        html_interface();

    //}

//}else{

    //if(@$_POST['login'] == $admin_username && @$_POST['password'] == $admin_password){



        //setcookie('admincp', md5($admin_username.$admin_password), time()+3600, '/', false);



        //reload

       // echo '<meta http-equiv=refresh content=0;URL=?>';

    //}else{

        //html_login();

    //}

//}



function contents(){



    $page_request = @$_GET['p'];



    switch($page_request){

        case 'pages' : pages(); break;

        case 'comments' : comments(); break;

        case 'thumbnails' : thumbnails(); break;

        default : homepage(); break;

    }



} 

Not sure why you want to remove the authentication… but from what i read here… replace everything from the first line till just before the contents definition with


 html_interface();