Changeset 691 for trunk/pages/ucet.php


Ignore:
Timestamp:
Mar 19, 2010, 9:46:30 PM (14 years ago)
Author:
george
Message:
  • Opraveno: Generování pěkného pro další stránky.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pages/ucet.php

    r690 r691  
    55if(array_key_exists('pass', $_POST)) $pass = $_POST['pass']; else $pass = '';
    66
    7 if(isset($_POST['login']) and ($_POST['user'] != '') and ($_POST['pass'] != ''))
     7function Menu()
    88{
    9   $player->Login($user, $pass);
    10 } else
    11 {
     9  global $html, $player;
     10 
    1211  if($player->Check())
    1312  {
     
    4039    $player->LoginForm();
    4140  }
     41
     42}
     43
     44if(isset($_POST['login']) and ($_POST['user'] != '') and ($_POST['pass'] != ''))
     45{
     46  $player->Login($user, $pass);
     47  Menu();
     48} else
     49{
     50  Menu();
    4251}
    4352$html->PrgStop();
Note: See TracChangeset for help on using the changeset viewer.