Changeset 27 for branches/3/index.php


Ignore:
Timestamp:
Oct 13, 2008, 6:52:24 PM (16 years ago)
Author:
maron
Message:

Registrace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3/index.php

    r26 r27  
    44  ShowHeader();
    55 
    6   if (array_key_exists('user', $_GET)) $User->WriteRegistration(); else
    7     echo HOME_PAGE;
     6  echo '<div id="content">';
    87 
     8  if (isset($Result) == false) {
     9    switch ($Action) {
     10      default: echo HOME_PAGE;
     11      break;
     12        case 'Register':
     13        $user->WriteRegistration();
     14        break;
     15       
     16    }
     17  } else echo '<p><h2>'.$Result.'</h2></p>';
     18 
     19  echo '</div>';
     20
    921  ShowFoodter()
    1022?>
     23
Note: See TracChangeset for help on using the changeset viewer.