forked from che0/greybox
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.php
executable file
·91 lines (85 loc) · 4.33 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?php
/*
* greybox
* $Id: index.php,v 1.38 2006/08/23 17:07:33 che0 Exp $
*/
include_once("lib/config.inc.php");
include_once("lib/cpykhen.inc");
include_once("lib/dblink.inc");
include_once("lib/page.inc");
include_once("lib/session.inc");
include_once("lib/misc.inc");
// link := array(link, title, section)
$GLOBALS["page"]->links[] = array("./",$lang["homepage"],"home");
$GLOBALS["page"]->links[] = array("./?page=lide",$lang["people"],"clovek");
$GLOBALS["page"]->links[] = array("./?page=kluby",$lang["clubs"],"klub");
$GLOBALS["page"]->links[] = array("./?page=tymy",$lang["teams"],"tym");
$GLOBALS["page"]->links[] = array("./?page=souteze",$lang["competitions"],"soutez");
$GLOBALS["page"]->links[] = array("./?page=turnaje",$lang["tournaments"],"turnaj");
$GLOBALS["page"]->links[] = array("./?page=debaty",$lang["debates"],"debata");
$GLOBALS["page"]->links[] = array("./?page=teze",$lang["resolutions"],"teze");
$GLOBALS["page"]->links[] = array("./registrace/",$lang["greybox20"],"registrace");
// page := array(keyword, title, section)
$GLOBALS["page"]->default_page = array("default",null, "home");
$GLOBALS["page"]->pages = array(
array("language", $lang["language"],"home"),
array("season", $lang["season"],"home"),
array("login", $lang["login"],"home"),
array("logout", $lang["login"],"home"),
array("lide", $lang["people"],"clovek"),
array("clovek", $lang["people"],"clovek"),
array("clovek.debaty", $lang["debates"],"clovek"),
array("clovek.add", $lang["add person"],"clovek"),
array("clovek.edit.exec", $lang["edit person"],"clovek"),
array("clovek.pw.edit.exec", $lang["edit person"],"clovek"),
array("clovek.ibody.edit.exec", $lang["edit person"],"clovek"),
array("clovek.accr.edit.exec", $lang["edit person"],"clovek"),
array("clovek.cont.edit.exec", $lang["edit person"],"clovek"),
array("clovek.self.exec", $lang["edit person"],"clovek"),
array("klub", $lang["clubs"],"klub"),
array("klub.add", $lang["add club"], "klub"),
array("klub.clovek.edit.exec", $lang["edit club"], "klub"),
array("klub.edit.exec", $lang["edit club"], "klub"),
array("klub.ib", $lang["club"]."/".$lang["points overview"], "klub"),
array("klub.kidy", $lang["club"]."/".$lang["kidy overview"], "klub"),
array("kluby", $lang["clubs"], "klub"),
array("teze", $lang["resolutions"], "teze"),
array("teze.add", $lang["add resolution"], "teze"),
array("teze.detaily", $lang["resolution details"], "teze"),
array("teze.edit.exec", $lang["edit resolution"], "teze"),
array("teze.add.exec", $lang["add resolution"], "teze"),
array("teze.kategorie", $lang["choose category"], "teze"),
array("souteze", $lang["competitions"], "soutez"),
array("soutez", $lang["competition"], "soutez"),
array("soutez.kidy", $lang["competition"]."/".$lang["kidy"], "soutez"),
array("soutez.edit.exec", $lang["edit competition"], "soutez"),
array("soutez.add", $lang["add competition"], "soutez"),
array("soutez.teze.edit.exec", $lang["edit official resolution"], "soutez"),
array("tym.soutez", $lang["team in the competition"], "soutez"),
array("tym.liga", $lang["team in the league"], "soutez"),
array("liga", $lang["league"], "soutez"),
array("liga.add", $lang["add league"], "soutez"),
array("liga.edit.exec", $lang["edit league"], "soutez"),
array("liga.kidy", $lang["league"]."/".$lang["kidy"], "soutez"),
array("turnaj", $lang["tournament"], "turnaj"),
array("turnaj.kidy", $lang["tournament"]."/".$lang["kidy"], "turnaj"),
array("turnaj.add", $lang["add tournament"], "turnaj"),
array("turnaj.edit.exec", $lang["edit tournament"], "turnaj"),
array("turnaje", $lang["tournaments"], "turnaj"),
array("turnaj.clovek.edit.exec", $lang["edit tournament"], "turnaj"),
array("tymy", $lang["teams"], "tym"),
array("tym", $lang["team"], "tym"),
array("tym.add", $lang["add team"], "tym"),
array("tym.edit.exec", $lang["edit team"], "tym"),
array("tym.clovek.edit.exec", $lang["edit team"], "tym"),
array("debata", $lang["debate"], "debata"),
array("debata.add", $lang["add debate"], "debata"),
array("debata.edit", $lang["edit debate"], "debata"),
array("debata.clovek.edit.exec", $lang["edit debate"], "debata"),
array("debata.edit.exec", $lang["edit debate"], "debata"),
array("debaty", $lang["debates"], "debata"),
array("turnaj.apply", $lang["apply to tournament"], "turnaj"),
array("turnaj.rozhodci.edit.exec", $lang["apply to tournament"], "turnaj")
);
$GLOBALS["page"]->render();
?>