radiPanel - re-designed

Status
Not open for further replies.

Bot

Pixeled.XYZ
Feb 16, 2014
71
24
Can add new staff, and change the main Username, DJ name and password. Just look around.
n8dtpcu4T_aFI2DJzq-77Q.png

 
Anyone know how to remove the specific DJ pick from request line, and make it so it shows all requests instead of DJ specific?

@Bot
Can you show me what you mean in screenshots?
 

Queso

echo 'Web Developer';
Nov 29, 2016
232
72
@Zent you'd have to redo the mySQL line that selects the requests from the database, I can help you if you'd like? Pretty basic.
 
  • Like
Reactions: Bot

olliedean

ollie.cool
Jan 28, 2013
433
107
@Zent you'd have to redo the mySQL line that selects the requests from the database, I can help you if you'd like? Pretty basic.
I'd enjoy the help, yeah. I can't find any line in requests.php that specifies a 'for' thing. Zenternal#0212
 

Queso

echo 'Web Developer';
Nov 29, 2016
232
72
I kinda don't want to download teamviewer on my vps. The download is right there anyway, can't you just find whats up, and send me the line to replace?
The reason why id rather do Teamviewer is because I CBA to set this up on my localhost and test it out, and you already have it set up, so yeah, anyways, here's what I did without it live, so can't guarantee it'll work.
Replace your requetss.php with this, the one in _res/radio
PHP:
<?php

    if( !preg_match( "/index.php/i", $_SERVER['PHP_SELF'] ) ) { die(); }

?>
<style type="text/css">
    a {
        text-decoration: none;
    }
</style>
<div class="mws-panel grid_8">
<div class="mws-panel-header">
<span class="mws-i-24 i-cog">Management Controls</span>
</div>
<div class="mws-panel-body"><div class="mws-panel-content">

    <?php
        if( isset( $_GET['clear_requests'] ) ) {
        
            $db->query( "DELETE FROM requests WHERE `for` = '{$user->data['id']}'" );
    
            echo "<div class=\"square good\" align=\"left\">";
            echo "<strong>Success</strong>";
            echo "<br />";
            echo "Requests cleared.";
            echo "</div>";

        }
        elseif( isset( $_GET['clear_all_requests'] ) and ( $user->hasGroup( '4' ) or $user->hasGroup( '5' ) ) ) {
            
            $db->query( "DELETE FROM requests" );
            
            echo "<div class=\"square good\" align=\"left\">";
            echo "<strong>Success</strong>";
            echo "<br />";
            echo "Requests cleared.";
            echo "</div>";
        
        }
    
        if( $user->hasGroup( '4' ) or $user->hasGroup( '5' ) ) {
    
    ?>
    
    <form style="display: inline;" action="?clear_all_requests" method="post" onsubmit="if( !confirm('Are you sure you want to delete all requests?') ) { return false; }">
    
        <div style="float: right;"><input type="submit" class="mws-button red" value="Clear all requests" /></div>
    
    </form>
    
    <?php
    
        }
    
    ?>

    <form style="display: inline;" action="?clear_requests" method="post">

        <div style="float: right;"><input type="submit" class="mws-button red" value="Clear my requests" /></div>

    </form>

    <form style="display: inline;" action="#" onsubmit="Radi.deleteCheckedRequests(); return false;" method="post">

        <div style="float: right;"><input type="submit" class="mws-button red" value="Clear selected requests" /></div>

    </form>

<br clear="all"/>
</div></div>
</div>

<div class="mws-panel grid_8">
<div class="mws-panel-header">
<span class="mws-i-24 i-cog">Filter by type</span>
</div>
<div class="mws-panel-body"><div class="mws-panel-content">
    <strong>
    <?php
    
        $query = $db->query( "SELECT * FROM request_types" );
        
        echo "<a href=\"#\" onclick=\"Radi.requestsByType('all'); return false;\">All</a>&nbsp;&nbsp;";
        
        while( $array = $db->assoc( $query ) ) {
        
            echo "<a href=\"#\" onclick=\"Radi.requestsByType({$array['id']}); return false;\" style=\"color: #{$array['colour']};\">{$array['name']}s</a>&nbsp;&nbsp;";
        
        }
        
    ?></strong>
</div></div>
</div>

<div class="mws-panel grid_8">
<div class="mws-panel-header">
<span class="mws-i-24 i-cog">Requests</span>
</div>
<div class="mws-panel-body"><div class="mws-panel-content">
<div id="requestlist"></div>

<script type="text/javascript">
    //<![CDATA[
        Radi.requestsByType('*');
    //]]>
</script>
</div></div>
</div>
 

olliedean

ollie.cool
Jan 28, 2013
433
107
The reason why id rather do Teamviewer is because I CBA to set this up on my localhost and test it out, and you already have it set up, so yeah, anyways, here's what I did without it live, so can't guarantee it'll work.
Replace your requetss.php with this, the one in _res/radio
PHP:
<?php

    if( !preg_match( "/index.php/i", $_SERVER['PHP_SELF'] ) ) { die(); }

?>
<style type="text/css">
    a {
        text-decoration: none;
    }
</style>
<div class="mws-panel grid_8">
<div class="mws-panel-header">
<span class="mws-i-24 i-cog">Management Controls</span>
</div>
<div class="mws-panel-body"><div class="mws-panel-content">

    <?php
        if( isset( $_GET['clear_requests'] ) ) {
       
            $db->query( "DELETE FROM requests WHERE `for` = '{$user->data['id']}'" );
   
            echo "<div class=\"square good\" align=\"left\">";
            echo "<strong>Success</strong>";
            echo "<br />";
            echo "Requests cleared.";
            echo "</div>";

        }
        elseif( isset( $_GET['clear_all_requests'] ) and ( $user->hasGroup( '4' ) or $user->hasGroup( '5' ) ) ) {
           
            $db->query( "DELETE FROM requests" );
           
            echo "<div class=\"square good\" align=\"left\">";
            echo "<strong>Success</strong>";
            echo "<br />";
            echo "Requests cleared.";
            echo "</div>";
       
        }
   
        if( $user->hasGroup( '4' ) or $user->hasGroup( '5' ) ) {
   
    ?>
   
    <form style="display: inline;" action="?clear_all_requests" method="post" onsubmit="if( !confirm('Are you sure you want to delete all requests?') ) { return false; }">
   
        <div style="float: right;"><input type="submit" class="mws-button red" value="Clear all requests" /></div>
   
    </form>
   
    <?php
   
        }
   
    ?>

    <form style="display: inline;" action="?clear_requests" method="post">

        <div style="float: right;"><input type="submit" class="mws-button red" value="Clear my requests" /></div>

    </form>

    <form style="display: inline;" action="#" onsubmit="Radi.deleteCheckedRequests(); return false;" method="post">

        <div style="float: right;"><input type="submit" class="mws-button red" value="Clear selected requests" /></div>

    </form>

<br clear="all"/>
</div></div>
</div>

<div class="mws-panel grid_8">
<div class="mws-panel-header">
<span class="mws-i-24 i-cog">Filter by type</span>
</div>
<div class="mws-panel-body"><div class="mws-panel-content">
    <strong>
    <?php
   
        $query = $db->query( "SELECT * FROM request_types" );
       
        echo "<a href=\"#\" onclick=\"Radi.requestsByType('all'); return false;\">All</a>&nbsp;&nbsp;";
       
        while( $array = $db->assoc( $query ) ) {
       
            echo "<a href=\"#\" onclick=\"Radi.requestsByType({$array['id']}); return false;\" style=\"color: #{$array['colour']};\">{$array['name']}s</a>&nbsp;&nbsp;";
       
        }
       
    ?></strong>
</div></div>
</div>

<div class="mws-panel grid_8">
<div class="mws-panel-header">
<span class="mws-i-24 i-cog">Requests</span>
</div>
<div class="mws-panel-body"><div class="mws-panel-content">
<div id="requestlist"></div>

<script type="text/javascript">
    //<![CDATA[
        Radi.requestsByType('*');
    //]]>
</script>
</div></div>
</div>

Check discord.
 

Virgin

i am a virgin
Apr 6, 2016
141
28
This panel has been out for many years, this is the same panel HFFM used not too sure if they still do use it. Although nice release, always nice to have somewhere in-case I ever need it!
 
Furthermore, if anybody needs any help with this send me a message, more then happy to help!
 

Proximity

IDK?
Feb 13, 2014
673
56
I am the one that originally leaked/posted this. I used to work with @UndeadDevilHD and Andy (Don't know his devbest user)

I am 98% sure this was the thread that I leaked it on;
 

Virgin

i am a virgin
Apr 6, 2016
141
28
I am the one that originally leaked/posted this. I used to work with @UndeadDevilHD and Andy (Don't know his devbest user)

I am 98% sure this was the thread that I leaked it on;

don't even try and take credit for this leak, this is a famous panel used on Habbo fansites and has been out for many years....
 

Proximity

IDK?
Feb 13, 2014
673
56
don't even try and take credit for this leak, this is a famous panel used on Habbo fansites and has been out for many years....

Ask @UndeadDevilHD that's why I removed it off of ***** the madhabo variant was leaked.

I originally leaked this because. I got mad at Andy And Mark the owners of MadHabbo. If you look at my username history it will show. Also if you don't believe me. I also have skye.host which has been used many times. Andy and Mark can verify that I was the one that leaked it.

I apologize, the username should be Skye. Same password.

Updated thread with correct login file in the download.

 
@Andings
 

Virgin

i am a virgin
Apr 6, 2016
141
28
@Proximity is it something to be proud of though, that you leak others work? It may not be there panel, but they've spent time with the edits that this panel doesn't really come with.
 
Status
Not open for further replies.

Users who are viewing this thread

Top