<?php
class MyFirstModule {

    
// After you upload this module you will need to go to Settings -> Modules and regenerate the module cache
    
public $settings = array(
        
'description' => 'Enter a description for your module here.',

            
'user_menu_name' => 'My First Module',
            
'user_menu_icon' => '<i class="icon-plus"></i>',
            
            
'admin_menu_category' => 'General',
            
'admin_menu_name' => 'My First Module',
            
'admin_menu_icon' => '<i class="icon-plus"></i>',
    );

    
// This section will be accessible at http://yourdomain.com/User/MyFirstModule
    
function user_area() {
        global 
$billic$db;

        
// Uncomment the line below to make the user area accessible to logged in users only
        // $billic->force_login();
    
        
echo 'This is the User Area!';
    }

    
// This section will be accessible at http://yourdomain.com/Admin/MyFirstModule
    
function admin_area() {
        global 
$billic$db;
    
        echo 
'This is the Admin Area!';
    }
}
?>