Changeset 2 for global.php


Ignore:
Timestamp:
Nov 25, 2008, 9:41:53 PM (15 years ago)
Author:
maron
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.php

    r1 r2  
    11<?php
     2        include('config.php');
     3
     4  function __autoload($class_name) {
     5    require_once 'class/'.$class_name . '.php';
     6  } 
     7
     8  $database = new database($Config['Database']['Host'], $Config['Database']['User'], $Config['Database']['Password'], $Config['Database']['Database']);
     9  $database->Prefix = $Config['Database']['Prefix'];
     10  $database->charset($Config['Database']['Charset']);
     11
    212        include('language_cz.php');
    313        include('frontend.php');
     14
     15
     16
     17
    418        function show_header() {
    519        global $menu;
     
    1630        <div id="header">
    1731
    18                 <h1><a href="#" title="Media-notion.net"><span>Media-notion.net</span></a></h1>
     32               
    1933                <p><span>Studio de conception et r&eacute;alisation multimedia</span></p>
    2034                <div id="coin"></div>
Note: See TracChangeset for help on using the changeset viewer.