Changeset 32


Ignore:
Timestamp:
Jul 22, 2003, 10:18:08 AM (21 years ago)
Author:
z0rglub
Message:

updating code presentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/stats.php

    r29 r32  
    4141$vtp->setGlobalVar( $sub, 'user_template', $user['template'] );
    4242//--------------------------------------------------- number of days to display
    43 if ( isset( $_GET['last_days'] ) )
    44 {
    45   define( MAX_DAYS, $_GET['last_days'] );
    46 }
    47 else
    48 {
    49   define( MAX_DAYS, 0 );
    50 }
     43if ( isset( $_GET['last_days'] ) ) define( MAX_DAYS, $_GET['last_days'] );
     44else                               define( MAX_DAYS, 0 );
     45
    5146foreach ( $conf['last_days'] as $option ) {
    5247  $vtp->addSession( $sub, 'last_day_option' );
Note: See TracChangeset for help on using the changeset viewer.