Ignore:
Timestamp:
Oct 12, 2008, 7:58:44 PM (16 years ago)
Author:
maron
Message:

Form registrace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3/functions.php

    r25 r26  
    11<?php
    2 
    3   function GetRemoteAddress()
    4   {
    5     if(array_key_exists('HTTP_X_FORWARDED_FOR',$_SERVER)) $IP = $_SERVER['HTTP_X_FORWARDED_FOR'] ;
    6     else $IP = $_SERVER['REMOTE_ADDR'];
    7     //if($IP == '127.0.0.1')
    8     return($IP);
    9   }
    102
    113  function ShowHeader()
    124  { // BEGIN function ShowHeader
    13     global $Config,$menu;
     5    global $Config,$menu,$User;
    146        echo '<?xml version="1.0" encoding="'.$Config['Charset'].'"?\>
    157    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     
    3729          };
    3830       
    39           echo '</ul>
     31          echo '</ul>';
     32          echo '
    4033        </div>
    4134      </div>
Note: See TracChangeset for help on using the changeset viewer.