Changeset 6 for global.php


Ignore:
Timestamp:
Oct 16, 2007, 10:12:26 PM (17 years ago)
Author:
george
Message:

Přepracovaná vývojová verze s oddělenými datovými tabulkami a různými datovými typy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.php

    r4 r6  
    22
    33session_start();
    4 include('config.php');
    5 include('database.php');
    6 include('code.php');
    7 include('types.php');
    8 include('classes.php');
    9 include('stat_functions.php');
     4include_once('config.php');
     5include_once('database.php');
     6include_once('code.php');
     7include_once('types.php');
     8include_once('classes.php');
     9include_once('stat_functions.php');
    1010$Database = new Database($Config['Database']['Host'], $Config['Database']['User'], $Config['Database']['Password'], $Config['Database']['Database']);
    1111$Database->Prefix = $Config['Database']['Prefix'];
     
    2929
    3030
    31 function Link($Target, $Title)
     31function MakeLink($Target, $Title)
    3232{
    3333  return('<a href="'.$Target.'">'.$Title.'</a>');
     
    5757  $Class = $Classes[$ClassName];
    5858  $Table = array(
    59     'Header' => array('Polo¾ka', 'Hodnota'),
     59    'Header' => array('Položka', 'Hodnota'),
    6060    'Rows' => array(),
    6161  );
Note: See TracChangeset for help on using the changeset viewer.