Changeset 438


Ignore:
Timestamp:
Oct 13, 2012, 1:24:58 PM (12 years ago)
Author:
chronos
Message:
  • Přesunuto: Soubory s třídamy přesunuty do podsložky Common. Aktualizovány odkazy mezi soubory.
Location:
trunk
Files:
68 edited
12 moved

Legend:

Unmodified
Added
Removed
  • trunk/Common/Forms.php

    r436 r438  
    22
    33include_once('form_classes.php');
    4 include_once('database.php');
     4include_once('Database.php');
    55
    66class Form
  • trunk/Common/Global.php

    r437 r438  
    11<?php
    22
    3 $ConfigFileName = dirname(__FILE__).'/config.php';
     3$ConfigFileName = dirname(__FILE__).'/../config.php';
    44     
    55if(file_exists($ConfigFileName)) include_once($ConfigFileName);
    66  else die('Nenalezen konfigurační soubor '.$ConfigFileName.'!');
    7 include_once('module.php');
    8 include_once('database.php');
    9 include_once('error.php');
    10 include_once('code.php');
    11 include_once('Mail.php');
    12 include_once('forms.php');
    13 include_once('page.php');
    14 include_once('file.php');
    15 include_once('log.php');
    16 include_once('user.php');
    17 include_once('aktuality/news.php');
    18 include_once('webcam/webcam.php');
    19 include_once('finance/bills.php');
    20 include_once('finance/finance.php');
    21 include_once('Common/Types/Type.php');
     7include_once(dirname(__FILE__).'/Module.php');
     8include_once(dirname(__FILE__).'/Database.php');
     9include_once(dirname(__FILE__).'/Error.php');
     10include_once(dirname(__FILE__).'/Code.php');
     11include_once(dirname(__FILE__).'/Mail.php');
     12include_once(dirname(__FILE__).'/Log.php');
     13include_once(dirname(__FILE__).'/User.php');
     14include_once(dirname(__FILE__).'/Page.php');
     15include_once(dirname(__FILE__).'/Forms.php');
     16include_once(dirname(__FILE__).'/Types/Type.php');
     17include_once(dirname(__FILE__).'/File.php');
     18include_once(dirname(__FILE__).'/../aktuality/news.php');
     19include_once(dirname(__FILE__).'/../webcam/webcam.php');
     20include_once(dirname(__FILE__).'/../finance/bills.php');
     21include_once(dirname(__FILE__).'/../finance/finance.php');
    2222 
    2323$PrefixMultipliers = array
  • trunk/FileDownload.php

    r237 r438  
    11<?php
    22
    3 include('global.php');
     3include_once('Common/Global.php');
    44if(array_key_exists('Id', $_GET))
    55{
  • trunk/LogShow.php

    r183 r438  
    11<?php
    2 include('global.php');
     2include_once('Common/Global.php');
    33include('aktuality/rss_generator.php');
    44
  • trunk/aktuality/import_kino_vatra.php

    r310 r438  
    11<?php
    22
    3 include('../global.php');
     3include_once('../Common/Global.php');
    44
    55$SourceURL = 'http://www.dkvsetin.cz/rss/kino/8';
  • trunk/aktuality/import_obec_hovezi.php

    r310 r438  
    11<?php
    22
    3 include('../global.php');
     3include_once('../Common/Global.php');
    44
    55$SourceURL = 'http://www.obec-hovezi.cz/web/rss.xml';
  • trunk/aktuality/import_tv_beskyd.php

    r310 r438  
    11<?php
    22
    3 include('../global.php');
     3include_once('../Common/Global.php');
    44
    55$SourceURL = 'http://dviproduction.cz/video/playlist.xml';
  • trunk/aktuality/import_zdechov_cz_aktuality.php

    r322 r438  
    11<?php
    22
    3 include('../global.php');
     3include_once('../Common/Global.php');
    44
    55$SourceURL = 'http://www.zdechov.cz/';
  • trunk/aktuality/import_zdechov_cz_zapisy.php

    r322 r438  
    11<?php
    22
    3 include('../global.php');
     3include_once('../Common/Global.php');
    44
    55$SourceURL = 'http://www.zdechov.cz/?page=uredni_deska';
  • trunk/aktuality/index.php

    r311 r438  
    11<?php
    22
    3 include_once('../global.php');
     3include_once('../Common/Global.php');
    44
    55class NewsPage extends Page
  • trunk/aktuality/rss.php

    r196 r438  
    33Header('Content-Type: text/xml');
    44
    5 include_once('../global.php');
     5include_once('../Common/Global.php');
    66include_once('rss_generator.php');
    77
  • trunk/aktuality/subscription.php

    r196 r438  
    11<?php
    22
    3 include_once('../global.php');
     3include_once('../Common/Global.php');
    44
    55class NewsRSSChannelPage extends Page
  • trunk/block/index.php

    r299 r438  
    11<?php
    2 include_once('../global.php');
     2include_once('../Common/Global.php');
    33
    44class BlockPage extends Page
  • trunk/chat/history.php

    r150 r438  
    11<?php
    22
    3 include_once('../global.php');
    4 
     3include_once('../Common/Global.php');
    54
    65class ChatHistory extends Page
  • trunk/chat/irc_bot.php

    r150 r438  
    11<?php
    22
    3 include('../global.php');
     3include_once('../Common/Global.php');
    44
    55class IRCBot
  • trunk/docs/zapisy/zapisy.php

    r417 r438  
    11<?php
    22
    3 include_once('../../global.php');
     3include_once('../../Common/Global.php');
    44
    55
  • trunk/finance/bill.php

    r152 r438  
    11<?php
    22
    3 include('../global.php');
     3include_once('../Common/Global.php');
    44
    55$System->Modules['Bill']->ShowStoredBill($_GET['Id']);
  • trunk/finance/clenove.php

    r423 r438  
    11<?php
    2 include('../global.php');
     2include_once('../Common/Global.php');
    33
    44class FinanceUserList extends Page
  • trunk/finance/faktury/index.php

    r417 r438  
    11<?php
    22
    3 include_once('../../global.php');
     3include_once('../../Common/Global.php');
    44
    55class InvoicesPage extends Page
  • trunk/finance/import.php

    r335 r438  
    11<?php
    2 include('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class FinanceImportPayment extends Page
  • trunk/finance/index.php

    r419 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class FinanceOverview extends Page
  • trunk/finance/inventory.php

    r409 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class FinanceStoragePage extends Page
  • trunk/finance/manage.php

    r422 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class FinanceManagePage extends Page
  • trunk/finance/monthly_overall.php

    r407 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class FinanceMonthlyOverallPage extends Page
  • trunk/finance/spotreba.php

    r415 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class FinanceConsumption extends Page
  • trunk/finance/tarify.php

    r419 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class FinanceTarrifsPage extends Page
     
    2021    $Output .= '<tr><th>Název tarifu</th><th>Min. rychlost [kbit/s]</th><th>Max. rychlost [kbit/s]</th><th>Agregační poměr</th><th>Počet podílníků</th><th>Cena [Kč]</th><th>Součet ceny [Kč]</th></tr>';
    2122    $TotalPrice = 0;
     23    $TotalMemberCount = 0;
    2224    foreach($Finance->Tariffs as $Index => $Tariff)
    2325    {
  • trunk/finance/user_state.php

    r427 r438  
    11<?php
    22
    3 include_once('../global.php');
     3include_once('../Common/Global.php');
    44
    55class FinanceUserState extends Page
  • trunk/finance/zarizeni.php

    r409 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class FinanceDeviceListPage extends Page
  • trunk/finance/zivnost.php

    r413 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class FinanceTaxFilingPage extends Page
  • trunk/hostlist.php

    r217 r438  
    11<?php
    2 include_once('global.php');
     2include_once('Common/Global.php');
    33
    44class HostListPage extends Page
  • trunk/index.php

    r437 r438  
    11<?php
    22
    3 include_once('global.php');
     3include_once('Common/Global.php');
    44
    55class IndexPage extends Page
  • trunk/is/index.php

    r436 r438  
    11<?php
    22
    3 include_once('../global.php');
     3include_once('../Common/Global.php');
    44
    55
  • trunk/is/topologie-gen.php

    r223 r438  
    33// Author: Miroslav Hajda hajdam@users.sf.net
    44
    5 include('../global.php');
     5include('../Common/Global.php');
    66global $Database, $debug;
    77
  • trunk/is/topologie-img.php

    r192 r438  
    11<?php
    22 // Skript pro generování grafu stromové struktury sítě do PNG obrázku
    3 include('../global.php');
     3include('../Common/Global.php');
    44
    55if(array_key_exists('debug', $_GET)) $debug = $_GET['debug'];
  • trunk/is/topologie-img2.php

    r409 r438  
    11<?php
    22 // Skript pro zobrazení grafu stromové struktury sítě do PNG obrázku
    3 include('../global.php');
     3include('../Common/Global.php');
    44
    55if(array_key_exists('debug', $_GET)) $debug = $_GET['debug'];
  • trunk/is/topologie.php

    r222 r438  
    11<?php
    2 include_once('../global.php');
     2include_once('../Common/Global.php');
    33
    44class NetworkTopologyPage extends Page
  • trunk/jidelna/index.php

    r170 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class EatingPlace extends Page
  • trunk/jidelna/menuedit.php

    r170 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class EatingPlaceEdit extends Page
  • trunk/jidelna/tisk.php

    r292 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
     4
    35echo('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    46<HTML>
  • trunk/map/index.php

    r239 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class NetworkMap extends Page
  • trunk/missing.php

    r148 r438  
    11<?php
    2 include_once('global.php');
     2include_once('Common/Global.php');
    33
    44class MissingPage extends Page
  • trunk/network.php

    r305 r438  
    11<?php
    2 include_once('global.php');
     2include_once('Common/Global.php');
    33
    44class NetworkInformationPage extends Page
  • trunk/network/administration.php

    r396 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class NetworkAdministrationPage extends Page
  • trunk/network/dostupnost.php

    r315 r438  
    11<?php
    22
    3 include_once('../global.php');
     3include_once('../Common/Global.php');
    44
    55class Availability extends Page
  • trunk/network/hosting.php

    r230 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class HostingPage extends Page
  • trunk/network/restart.php

    r197 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class ServiceRestartPage extends Page
  • trunk/network/subnet.php

    r311 r438  
    11<?php
    2 include_once('../global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class HostingPage extends Page
  • trunk/network/user_hosts.php

    r426 r438  
    11<?php
    22
    3 include_once('../global.php');
     3include_once('../Common/Global.php');
    44
    55class NetworkHostList extends Page
  • trunk/otevreno.php

    r237 r438  
    11<?php
    2 include_once('global.php');
     2include_once('Common/Global.php');
    33
    44class SubjectOpenTimePage extends Page
  • trunk/share/index.php

    r148 r438  
    11<?php
    22
    3 include('../global.php');
     3include_once('../Common/Global.php');
    44
    55class SharePage extends Page
  • trunk/share/online.php

    r40 r438  
    11<?php
    2 include('../global.php');
     2
     3include_once('../Common/Global.php');
     4
    35//$Database->select_db('share');
    46echo("\n====================== Kontrola online pocitacu ============================\n\n");
  • trunk/share/playlist.php

    r4 r438  
    11<?php
    2 include('../global.php');
    3 // Omezení na online/offline uµivatele
     2
     3include_once('../Common/Global.php');
     4
     5// Omezení na online/offline uľivatele
    46
    57$DbResult = $Database->query('SELECT id FROM hosts WHERE online=1 AND block=0 AND user>0');
     
    1315$Database->select_db('share');
    1416
    15 // Maximální vnoøení
     17// Maximální vnoření
    1618$MaxNesting = 20;
    1719
    18 // Najde cestu ke keøenu
     20// Najde cestu ke keřenu
    1921function PlnaCesta($Row)
    2022{
  • trunk/system/generators/address_portability.php

    r272 r438  
    22
    33if(isset($_SERVER['REMOTE_ADDR'])) die();
    4 include('../../global.php');
     4include('../../../Global.php');
    55include('../routerboard.php');
    66$Path = array('ip', 'dhcp-server', 'lease');
  • trunk/system/generators/dhcp.php

    r413 r438  
    22
    33if(isset($_SERVER['REMOTE_ADDR'])) die();
    4 include('../../global.php');
     4include('../../../Global.php');
    55include('../routerboard.php');
    66$Path = array('ip', 'dhcp-server', 'lease');
  • trunk/system/generators/dns.php

    r328 r438  
    22
    33if(isset($_SERVER['REMOTE_ADDR'])) die();
    4 include_once('../../global.php');
     4include_once('../../../Global.php');
    55
    66$BaseDomain = 'zdechov.net';
  • trunk/system/generators/firewall_filter.php

    r299 r438  
    22
    33if(isset($_SERVER['REMOTE_ADDR'])) die();
    4 include('../../global.php');
     4include('../../../Global.php');
    55include('../routerboard.php');
    66include('common.php');
  • trunk/system/generators/firewall_mangle.php

    r337 r438  
    55$ClassesEnabled = 1;
    66$SessionDisable = true;
    7 include_once('../../global.php');
     7include_once('../../../Global.php');
    88include('../routerboard.php');
    99include('common.php');
  • trunk/system/generators/firewall_nat.php

    r317 r438  
    22
    33if(isset($_SERVER['REMOTE_ADDR'])) die();
    4 include('../../global.php');
     4include('../../../Global.php');
    55include('../routerboard.php');
    66include('common.php');
  • trunk/system/generators/generate.php

    r264 r438  
    22
    33if(isset($_SERVER['REMOTE_ADDR'])) die();
    4 include('../../global.php');
     4include('../../../Global.php');
    55
    66$Now = time();
  • trunk/system/generators/linux/nat.php

    r239 r438  
    11<?php
    22if(isset($_SERVER['REMOTE_ADDR'])) die();
    3 include_once('../../global.php');
     3include_once('../../Common/Global.php');
    44
    55// Generate firewall rules
  • trunk/system/generators/linux/traffic_shaping.php

    r239 r438  
    55$Enabled = 1;
    66$ClassesEnabled = 1;
    7 include_once('../../global.php');
     7include_once('../../Common/Global.php');
    88NactiMesicniParametry(0);
    99
  • trunk/system/generators/netwatch.php

    r335 r438  
    22
    33if(isset($_SERVER['REMOTE_ADDR'])) die();
    4 include('../../global.php');
     4include('../../../Global.php');
    55include('../routerboard.php');
    66$Path = array('tool', 'netwatch');
  • trunk/system/generators/netwatch_import.php

    r336 r438  
    22
    33if(isset($_SERVER['REMOTE_ADDR'])) die();
    4 include('../../global.php');
     4include('../../../Global.php');
    55include('../routerboard.php');
    66include('common.php');
  • trunk/system/generators/queue.php

    r336 r438  
    55$ClassesEnabled = 1;
    66$SessionDisable = true;
    7 include_once('../../global.php');
     7include_once('../../../Global.php');
    88include('../routerboard.php');
    99include('common.php');
  • trunk/tv/index.php

    r303 r438  
    11<?php
    22
    3 include_once('../global.php');
     3include_once('../Common/Global.php');
    44
    55class IPTVPage extends Page
  • trunk/tv/playlist.php

    r289 r438  
    11<?php
    22
    3 include('../global.php');
     3include_once('../Common/Global.php');
    44
    55Header("Content-Type: audio/mpegurl");
  • trunk/tv/tkr.php

    r289 r438  
    11<?php
    2 include_once('global.php');
     2
     3include_once('../Common/Global.php');
    34
    45class CableTVChennelListPage extends Page
  • trunk/userlist.php

    r303 r438  
    11<?php
    2 include_once('global.php');
     2include_once('Common/Global.php');
    33
    44class UserListPage extends Page
  • trunk/webcam/index.php

    r152 r438  
    11<?php
    22
    3 include('../global.php');
     3include_once('../Common/Global.php');
    44
    55class WebcamPage extends Page
  • trunk/webcam/webcam_refresh.php

    r292 r438  
    11<?php
    2 include('../global.php');
     2include_once('../Common/Global.php');
    33
    44$Config['Web']['ShowPHPError'] = true;
Note: See TracChangeset for help on using the changeset viewer.