Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > Suggestions > Topic : IP Block



Threaded Mode | Print  

 IP Block (3 Replies, Read 4249 times)
wg2613
Group: Member
Post Group: Newbie
Posts: 4
Status:
I have been using IP Block. I have several entries in the list (about 60 or so). It would be real nice to be able to list them in ascending/descending order. If it is a simple code change that could be entered, I am sure I could edit it if I knew were to start.
IP: --   

IP Block
wg2613
Group: Member
Post Group: Newbie
Posts: 4
Status:
LOL! I should add "able to figure it out" means I am really good at following instructions and copy/paste.
IP: --   

IP Block
wg2613
Group: Member
Post Group: Newbie
Posts: 4
Status:
So I am getting closer :) . I have found the .php file "ipblock_theme.php" woot! Not quite sure what to do from here. Any help would be great.
IP: --   

IP Block
wg2613
Group: Member
Post Group: Newbie
Posts: 4
Status:
So I think I have found the code that I need to edit but i am not sure how.

if(empty($add_list)) {
        echo '<tr><td colspan=4><center><span>'.$l['no_ip_blocked'].'</span></center></td></<tr>';
    }else{

        $i =1;
        foreach ($add_list as $key => $value){   
            echo'
            <tr id="tr'.$key.'">
                <td><span>'.$value.'</span></td>';
                $tmp = cidr_to_iprange($value);
                echo'
                <td><span>'.$tmp[0].'</span></td>
                <td><span>'.$tmp[1].'</span></td>
                <td style="text-align:right"><img title="Delete" class="delete" style="cursor:pointer;" id="did'.$key.'"  src="' . $theme['images'] . 'remove.gif" /></td>
            </tr>';



Any thoughts? I am trying to list the IP address in ascending/descending order.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 8, 2021, 3:09 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:4.177