]>
jfr.im git - irc/kvirc/kvirc-www.git/blob - index.php
4 unset($_GET['checkNetHack']);
7 require('conf/packages.php');
8 require('conf/functions.php');
11 $docRoot = $_SERVER['DOCUMENT_ROOT'].dirname($_SERVER['SCRIPT_NAME']);
13 // Get the page using GET value
14 $id = trim(strip_tags(htmlentities($_GET['id'],ENT_QUOTES
)));
15 if(strpos($id, '..') === TRUE)
16 header('Location: .');
21 require('conf/config.php');
26 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.1//EN"
27 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
28 <html xmlns
="http://www.w3.org/1999/xhtml" xml
:lang
="en">
30 <meta http
-equiv
="content-type" content
="text/html; charset=utf-8" />
31 <meta http
-equiv
="cache-control" content
="no-cache" />
32 <meta name
="robots" content
="index,follow" />
33 <meta name
="copyright" content
="etherea` ./LSD @ virg0.org | CreativeCode | KVIrc.net" />
34 <meta name
="copyright" content
="HelLViS69 hellvis69 @ gmail.com | GPL | KVIrc.net" />
35 <meta name
="author" content
="etherea` - graphics - ./LSD @ virg0.org" />
36 <meta name
="author" content
="HelLViS69 - code - hellvis69 @ gmail.com" />
37 <meta name
="distribution" content
="global" />
38 <meta name
="description" content
="KVIrc.net - The K-Visual IRC client" />
39 <meta name
="keywords" content
="KVIrc, KDE, IRC, Chat, pragma" />
40 <link rel
="stylesheet" type
="text/css" media
="screen,projection,print" href
="./css/layout4_setup.css" />
41 <link rel
="stylesheet" type
="text/css" media
="screen,projection,print" href
="./css/layout4_text.css" />
42 <link rel
="icon" type
="image/x-icon" href
="favicon.ico" />
43 <link rel
="shortcut icon" type
="image/x-icon" href
="favicon.ico" />
44 <link rel
="alternate" type
="application/rss+xml" href
="rss.php" title
="KVIrc News" />
45 <script type
="text/javascript" src
="conf/functions.js"></script
>
46 <title
>KVIrc
.net
- The Visual IRC Client
</title
>
49 <div
class="page-container">
51 <div
class="header-top"></div
>
52 <div
class="header-middle">
54 <div
class="header-bottom">
57 <li
><a href
=".">Home
</a
></li
>
60 <li
><a href
="#"><?php
echo $template['index']['theproject']?></a
>
62 <li
><a href
="?id=status&lang=<?php echo $lang?>"><?php
echo $template['index']['status']?></a
></li
>
63 <li
><a href
="?id=features&lang=<?php echo $lang?>"><?php
echo $template['index']['features']?></a
></li
>
64 <li
><a href
="?id=license&lang=<?php echo $lang?>"><?php
echo $template['index']['license']?></a
></li
>
65 <li
><a href
="?id=screen&lang=<?php echo $lang?>"><?php
echo $template['index']['screens']?></a
></li
>
70 <li
><a href
="#"><?php
echo $template['index']['running']?></a
>
72 <li
><a href
="?id=download&lang=<?php echo $lang?>"><?php
echo $template['index']['download']?></a
></li
>
73 <li
><a href
="?id=releases&lang=<?php echo $lang?>"><?php
echo $template['index']['releases']?></a
></li
>
74 <li
><a href
="https://github.com/kvirc/KVIrc/wiki/Downloading-KVIrcs-nightly-source-or-binaries#source-downloads-master"><?php
echo $template['index']['snapshots']?></a
></li
>
75 <li
><a href
="https://github.com/kvirc/KVIrc"><?php
echo $template['index']['git']?></a
></li
>
76 <li
><a href
="https://github.com/kvirc/KVIrc/wiki/installation"><?php
echo $template['index']['install']?></a
></li
>
81 <li
><a href
="#"><?php
echo $template['index']['docs']?></a
>
83 <li
><a href
="?id=faq&lang=<?php echo $lang?>"><?php
echo $template['index']['faq']?></a
></li
>
84 <li
><a href
="javascript:opendoc('https://github.com/kvirc/KVIrc/wiki/FAQ');"><?php
echo $template['index']['faq2']?></a
></li
>
85 <li
><a href
="javascript:opendoc('api');"><?php
echo $template['index']['api']?></a
></li
>
86 <li
><a href
="javascript:opendoc('doc');"><?php
echo $template['index']['doc']?></a
></li
>
87 <li
><a href
="?id=tutorials&lang=<?php echo $lang?>"><?php
echo $template['index']['tutorials']?></a
></li
>
88 <li
><a href
="javascript:opendoc('https://github.com/kvirc/KVIrc/wiki/Keyboard-shortcuts');"><?php
echo $template['index']['shortcuts']?></a
></li
>
93 <li
><a href
="#"><?php
echo $template['index']['graphsuite']?></a
>
95 <li
><a href
="?id=themes&lang=<?php echo $lang?>"><?php
echo $template['index']['themes']?></a
></li
>
96 <li
><a href
="?id=splash&lang=<?php echo $lang?>"><?php
echo $template['index']['splash']?></a
></li
>
97 <li
><a href
="?id=banners&lang=<?php echo $lang?>"><?php
echo $template['index']['banners']?></a
></li
>
98 <li
><a href
="?id=arts&lang=<?php echo $lang?>"><?php
echo $template['index']['arts']?></a
></li
>
103 <li
><a href
="#"><?php
echo $template['index']['misc']?></a
>
105 <li
><a href
="?id=honor&lang=<?php echo $lang?>"><?php
echo $template['index']['honor']?></a
></li
>
106 <li
><a href
="https://github.com/kvirc/KVIrc/wiki/Updating-KVIrc's-translations"><?php
echo $template['index']['translations']?></a
></li
>
107 <li
><a href
="?id=scripts&lang=<?php echo $lang?>"><?php
echo $template['index']['scripts']?></a
></li
>
108 <li
><a href
="?id=addons&lang=<?php echo $lang?>"><?php
echo $template['index']['addons']?></a
></li
>
109 <li
><a href
="?id=tools&lang=<?php echo $lang?>"><?php
echo $template['index']['tools']?></a
></li
>
114 <li
><a href
="#"><?php
echo $template['index']['contact']?></a
>
116 <li
><a href
="?id=help&lang=<?php echo $lang?>"><?php
echo $template['index']['help']?></a
></li
>
117 <li
><a href
="?id=contribute&lang=<?php echo $lang?>"><?php
echo $template['index']['contribute']?></a
></li
>
118 <li
><a href
="?id=donate&lang=<?php echo $lang?>"><?php
echo $template['index']['donation']?></a
></li
>
119 <li
><a href
="javascript:opendoc('https://github.com/kvirc/KVIrc/issues');" title
="KVIrc bugtrack"><?php
echo $template['index']['bugtrack']?></a
></li
>
125 <div
class="header-breadcrumbs">
127 <li
><a href
="https://github.com/kvirc/KVIrc/releases" title
="Get the latest build"><?php
echo $template['index']['quickdnl']?></a
></li
>
129 <div
class="searchform">
130 <form action
="<?php echo "?id
=$id&
;lang
=$lang"?>" method="post
" class="form
">
132 <input type="text
" name="keywords
" value="<?php
echo $template['index']['search']?>..." class="field
" onclick="this
.value
=''" />
133 <input type="hidden
" name="type
" value="site
" />
134 <input type="submit
" name="button
" value="<?php
echo $template['index']['go']?>!" class="button
" />
142 <div class="main
-navigation
">
143 <div class="round
-border
-topright
"></div>
144 <h1 class="first
"><img src="img
/internet
-news
-reader
.png
" alt="<?php
echo $template['index']['latestnews']?>" width="16" height="16" class="noborder
" /><?php echo $template['index']['latestnews']?></h1>
146 <!-- inserire codeswitch news-->
147 <dl class="nav3
-grid
">
149 $latestnews = array();
150 news_scan_dir($docRoot . '/news/latest', $latestnews);
151 for($i = 0; $i < 10; $i++):
152 if(basename($latestnews[$i]) == ''):
156 news_read_entry($latestnews[$i], $x);
157 $news = $x['day'] . ' ' . $x['monthname'] . ' ' . $x['year'] . '<br />' . $x['short'];
159 <dt><a href="?id
=news
&
;story
=<?php
echo basename($latestnews[$i])?>&
;dir
=latest
&
;lang
=<?php
echo $lang?>"><?php echo $news?></a></dt>
161 <dt><a href="?id
=news
&
;dir
=latest
&
;lang
=<?php
echo $lang?>"><?php echo $template['index']['allnews']?></a></dt>
164 <h1><img src="img
/internet
-web
-browser
.png
" alt="<?php
echo $template['index']['mirrors']?>" class="noborder
" /><?php echo $template['index']['mirrors']?></h1>
165 <h3><?php echo $template['index']['wwwmirrors']?></h3>
167 <?php foreach($www_mirror as $key => $value): ?>
168 <a href="<?php
echo $value['url']?>" class="info
"><?php echo $value['name']?><span><br /><?php echo $value['desc']?><br /><?php echo $template['custom']['city']?>: <?php echo $value['city']?><br /><?php echo $template['custom']['maintainer']?>: <?php echo $value['maintainer']?></span></a><br />
171 <h3><?php echo $template['index']['ftpmirrors']?></h3>
173 <?php foreach($ftp_mirror as $key => $value): ?>
174 <a href="<?php
echo $value['url']?>" class="info
"><?php echo $value['name']?><span><br /><?php echo $value['desc']?><br /><?php echo $template['custom']['city']?>: <?php echo $value['city']?><br /><?php echo $template['custom']['maintainer']?>: <?php echo $value['maintainer']?></span></a><br />
179 <div class="main
-content
">
181 // checking for page existance
182 if(!file_exists("./content
/$id.php
")):
183 include("content
/welcome
.php
");
185 include("./content
/$id.php
");
188 <hr class="clear
-contentunit
" />
191 <div class="main
-subcontent
">
192 <!-- <div class="subcontent
-unit
-border
">
193 <div class="round
-border
-topleft
"></div><div class="round
-border
-topright
"></div>
194 <h1><img src="img
/applications
-graphics
.png
" alt="<?php
echo $template['index']['latestscreen']?>" /><?php echo $template['index']['latestscreen']?></h1>
196 <img src="img
/themes
/thumb_anger
.png
" alt="Anger Theme
- KVIrc
"
;Anomalies
"
;" /><br />
198 <a href="javascript
:opendoc('http://kvirc.virg0.org/themes.htm');" title="Anger Theme
@ kvirc
.virg0
.org
">Anger theme</a> - <a href="mailto
:cle
[at
] virg0
[dot
] org
" title="mail etherea`
">etherea`</a><br />
202 <div class="subcontent
-unit
-border
">
203 <div class="round
-border
-topleft
"></div>
204 <div class="round
-border
-topright
"></div>
205 <h1><img src="img
/help
-browser
.png
" alt="finding help
" /><?php echo $template['index']['help']?></h1>
207 <?php echo $template['index']['helptext1a']?> <a href="https
://github.com/kvirc/KVIrc/issues" title="<?php echo $template['index']['helptext1b']?>"><?php echo $template['index']['helptext1b']?></a><br /><br /><?php echo $template['index']['helptext1c']?><br />
209 <a href
="irc://irc.libera.chat/KVIrc">#kvirc@libera.chat</a>
212 <div
class="subcontent-unit-border-orange">
213 <div
class="round-border-topleft"></div
>
214 <div
class="round-border-topright"></div
>
215 <h1
class="orange"><img src
="img/media-record.png" alt
="<?php echo $template['index']['bugreport']?>" /><?php
echo $template['index']['bugreport']?></h1
>
217 <?php
echo $template['index']['bugstext']?> <a href
="javascript:opendoc('https://github.com/kvirc/KVIrc/issues');" title
="<?php echo $template['index']['bugtrack']?>"><?php
echo $template['index']['bugtrack']?></a
>
220 <div
class="subcontent-unit-border">
221 <div
class="round-border-topleft"></div
>
222 <div
class="round-border-topright"></div
>
223 <h1
><img src
="img/document-open.png" alt
="<?php echo $template['index']['moredocs']?>" /><?php
echo $template['index']['moredocs']?></h1
>
225 <a href
="javascript:opendoc('/doc');" title
="<?php echo $template['index']['officialdocs']?>"><?php
echo $template['index']['officialdocs']?></a
><br
/><?php
echo $template['index']['docsauto']?>
232 <p
>KVIrc
.net
| (c
) 2007-<?php
echo date("Y")?> ./LSD
- CreativeCode
| <?php
echo $template['index']['footer']?></p
>
233 <p
class="credits"><a href
="javascript:opendoc('http://validator.w3.org/check/referer');" title
="Validate XHTML code">XHTML
1.1</a
> | <a href
="javascript:opendoc('http://jigsaw.w3.org/css-validator/check/referer');" title
="Validate CSS code">CSS
2.1</a
> | credits
</p
>