Help for this page

Select Code to Download


  1. or download this
    Category 1
        Forum 1    threads: 10   replies: 20
    ...
        Forum 3    threads: 14   replies 42
    
    etc.
    
  2. or download this
    @all_categories = (
       {
    ...
      },
      ...
    );
    
  3. or download this
               SELECT 
                IFNULL(COUNT(mx_replies.forum_id),0) AS reply_count, 
    ...
                mx_forums.id,forum_name, forum_description
               ORDER BY 
                mx_forums.create_date DESC
    
  4. or download this
        for ( @{ $categories } ) {
    
    ...
            push @all_categories, { name => $_, forums => $forums, };
        }
    
  5. or download this
    $tmpl->param( categories => \@all_categories );
    
  6. or download this
    <ol>
    <tmpl_loop categories>
    ...
    </li>
    </tmpl_loop>
    </ol>