Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33
  1. #21
    Join Date
    Jan 2007
    Posts
    190
    Tokens
    0

    Default well

    ok cool thats looks so nice and cool but i hope you still are adding more things to it as some of us have posted some cool things you should add to it but nice job with the look.

    i have one more thing you should add is more ranks like you have Trialist DJ, DJ, Senior DJ, Admin, superAdmin

  2. #22
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by bad-dj View Post
    ok cool thats looks so nice and cool but i hope you still are adding more things to it as some of us have posted some cool things you should add to it but nice job with the look.

    i have one more thing you should add is more ranks like you have Trialist DJ, DJ, Senior DJ, Admin, superAdmin
    Meh, you only need 2 ranks (possibly 3)
    DJ
    Admin
    Super Admin


    Cause if you ban them, you ain't gonna want them working for you are you?
    But nevertheless, I shall add them, the rankings will be as follows:

    Trial DJ: Normal Features.
    DJ: Normal Features.
    Senior DJ: Normal Features. (Note, DJ Ready-T from CH is a ***)
    Head DJ: Senior DJ Features + Ability to read all PM's and add warnings to users. (And yes, there is a warning system)
    Administrator: Do anything Apart from create new administrators.
    Pwnage Administrators: Complete access to all features, including some kind of hidden thing I'll put in there to entertain some people.
    Last edited by Jewish Bear; 24-01-2007 at 10:34 AM.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  3. #23
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by bad-dj View Post
    is a lot of the small bugs going to be fixed and some things i think you should add are

    * Job Applications (a form were they can apply and the admins of the panel can read them)
    * DJ Tutorials (like the news bit in it)

    No and no:
    Job apps: not doing them, this is a DJ Panel not a CMS, I may or may not design one.

    DJ Tutorials: You want them, you submit an addon to the addon centre of Kristall-Panel when the website is released (and yes, there will be addons ;D)


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  4. #24
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Alrighty then, I've got the nav and the new login system done, and for those of you that wish to examine my code, here you go!

    Code that processes the login
    PHP Code:
    <?php
    if(isset($_POST["username"]) && isset($_POST["password"]))
    {
        include(
    "functions.php");
        include(
    "connector.php");
        
    $username clean($_POST["username"]);
        
    $password clean($_POST["password"]);
        
    $password encrypt($password);
        if(
    $username == "" || $password == "")
        {
            
    header("Location: index.php?error=blank");
        }
        
    $sql mysql_query("SELECT `username`, `password`, `ban`, `level`, `warning` FROM `users` WHERE `username` = '$username' AND `password` = '$password'");
        if(
    mysql_num_rows($sql) == "1")
        {
             
    $fetch mysql_fetch_array($sql);
             
    $warning mysql_fetch_array(mysql_query("SELECT `total` FROM `warnings`"));
             if(
    $fetch["ban"] == "1")
             {
                
    header("Location: index.php?error=banned");
                exit;
            }
            if(
    $fetch["warning"] == $warning["total"] || $fetch["warning"] > $warning["total"])
            {
                 
    mysql_query("UPDATE `users` SET `ban` = '1' WHERE `username` = '{$fetch["username"]}'");
                
    header("Location: index.php?error=banned");
                exit;
            }
            
    $ip $_SERVER["REMOTE_ADDR"];
            
    $_SESSION["kristall_username"] = $fetch["username"];
            
    $_SESSION["kristall_level"] = $fetch["level"];
            
    $_SESSION["kristall_ip"] = $ip;
            
    $_SESSION["kristall_hostname"] = gethostbyaddr($ip);
            
    header("Location: main.php");
        }
        else
        {
            
    header("Location: index.php?error=incorrect");
        }
    }
    ?>
    Code that processes the "clean" function
    PHP Code:
    function clean($string)
        {
             
    $string str_replace("\""""$string);
             
    $string str_replace("'"""$string);
            if(
    get_magic_quotes_gpc())
            {
    $string stripslashes($string);}
            elseif(!
    get_magic_quotes_gpc())
            {
    $string addslashes($string);}
            
    $string mysql_real_escape_string($string);
            
    $string htmlspecialchars($string);
            
    $string nl2br($string);
            return 
    $string;
        } 
    End.

    And and for god sake someone merge my posts!
    Last edited by Jewish Bear; 24-01-2007 at 07:39 PM.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  5. #25
    Join Date
    Oct 2006
    Posts
    1,026
    Tokens
    0

    Latest Awards:

    Default

    Hmmm bump also looks kool :]

  6. #26
    Join Date
    Jan 2007
    Posts
    190
    Tokens
    0

    Default ok

    ok cool well good pic with the stuff your putting in and not putting in it will be a good panel.

    and cool there willl be addons

  7. #27
    Join Date
    Jan 2007
    Posts
    190
    Tokens
    0

    Default ok

    ok i well i have some more thing you mite want to add to the panel.

    1)
    *shoutouts ban (if some one sends a bad shoutout)
    *admins and unban the shoutouts ban

    2)
    *report shoutouts (so if some one sends a bad shoutouts and you do not know if its werth a ban)
    *Admins or some level can read then if ban them if they need to.

    well i thnk thats about it and nice i like the login page and that can not wait to get a copy and use it

  8. #28
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by bad-dj View Post
    ok i well i have some more thing you mite want to add to the panel.

    1)
    *shoutouts ban (if some one sends a bad shoutout)
    *admins and unban the shoutouts ban

    2)
    *report shoutouts (so if some one sends a bad shoutouts and you do not know if its werth a ban)
    *Admins or some level can read then if ban them if they need to.

    well i thnk thats about it and nice i like the login page and that can not wait to get a copy and use it

    Already included.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  9. #29
    Join Date
    Dec 2006
    Posts
    1,128
    Tokens
    0

    Latest Awards:

    Default

    goood job..

  10. #30
    ScottDiamond Guest

    Default

    *cannot wait*

Page 3 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •