+ Changed license to X11 modified by PioDer

+ Updated author webpage url
+ Positioned "You have x PMs"
+ Colored special groups (Admins, Mods)

git-svn-id: https://svn.pioder.pl/uf-svn/uF@36 72ec579a-5ced-4fa4-82f3-afba5d98df2f
This commit is contained in:
pioder
2010-01-14 19:50:52 +00:00
parent 98bd401edb
commit 194a9ffc01
60 changed files with 208 additions and 185 deletions

22
LICENSE.txt Normal file
View File

@@ -0,0 +1,22 @@
Copyright (c) 2007-2010 PioDer <pioder@wp.pl>
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense,
and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file admin/admin_forums.php * @file admin/admin_forums.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file admin/admin_groups.php * @file admin/admin_groups.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file admin/admin_scripts.php * @file admin/admin_scripts.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file admin/admin_users.php * @file admin/admin_users.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file admin/banlist.php * @file admin/banlist.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file admin/censorlist.php * @file admin/censorlist.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file admin/check_script.php * @file admin/check_script.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file admin/check_script_data.php * @file admin/check_script_data.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file admin/forum_info.php * @file admin/forum_info.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files
@@ -33,10 +33,10 @@ if (User::UserInformation($_SESSION['uid'],'rank')!=2)
$errno = 0; $errno = 0;
$errstr = ''; $errstr = '';
$version = ''; $version = '';
if ($open = fsockopen('pioder.ath.cx', 80, $errno, $errstr, 10)) if ($open = fsockopen('www.pioder.pl', 80, $errno, $errstr, 10))
{ {
fputs($open, "GET /updates.php?app=uf HTTP/1.1\r\n"); fputs($open, "GET /updates.php?app=uf HTTP/1.1\r\n");
fputs($open, "HOST: pioder.ath.cx\r\n"); fputs($open, "HOST: www.pioder.pl\r\n");
fputs($open, "Connection: close\r\n\r\n"); fputs($open, "Connection: close\r\n\r\n");
$get_info = false; $get_info = false;
while (!feof($open)) while (!feof($open))

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file admin/header.php * @file admin/header.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
include('./../config.php'); include('./../config.php');

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file admin/index.php * @file admin/index.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file admin/mass_email.php * @file admin/mass_email.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file admin/smilelist.php * @file admin/smilelist.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file common.php * @file common.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if (is_dir('install')) if (is_dir('install'))

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file eprofile.php * @file eprofile.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file forum.php * @file forum.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file groups.php * @file groups.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files
@@ -154,9 +154,10 @@ else
$i = 0; $i = 0;
while($i<2) while($i<2)
{ {
$color = ($i==0) ? $forum_config['color_admin'] : $forum_config['color_mod'];
$skin = array ( $skin = array (
'g_id'=>$special_groups[$i][0], 'g_id'=>$special_groups[$i][0],
'name' => $special_groups[$i][1], 'name' => '<span style="color: '.$color.'">'.$special_groups[$i][1].'</span>',
'desc' =>$special_groups[$i][2] 'desc' =>$special_groups[$i][2]
); );
include('./skins/'.$default_skin.'/group_add_body.tpl'); include('./skins/'.$default_skin.'/group_add_body.tpl');

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/admin/class_forum.php * @file includes/admin/class_forum.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/admin/class_main.php * @file includes/admin/class_main.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/cache/cache_forums.php * @file includes/cache/cache_forums.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if(!defined('IN_uF')) if(!defined('IN_uF'))
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/cache/cache_index.php * @file includes/cache/cache_index.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if(!defined('IN_uF')) if(!defined('IN_uF'))
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/cache/cache_topic.php * @file includes/cache/cache_topic.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if(!defined('IN_uF')) if(!defined('IN_uF'))
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/classes/class_forum.php * @file includes/classes/class_forum.php
* @version $Id: classes/class_forum.php 15 2009-05-01 17:06:40Z pioder $ * @version $Id: classes/class_forum.php 15 2009-05-01 17:06:40Z pioder $
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/classes/class_mod.php * @file includes/classes/class_mod.php
* @version $Id: classes/class_mod.php 15 2009-05-01 17:06:40Z pioder $ * @version $Id: classes/class_mod.php 15 2009-05-01 17:06:40Z pioder $
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/classes/class_pms.php * @file includes/classes/class_pms.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/classes/class_posting.php * @file includes/classes/class_posting.php
* @version $Id: classes/class_posting.php 15 2009-05-01 17:06:40Z pioder $ * @version $Id: classes/class_posting.php 15 2009-05-01 17:06:40Z pioder $
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/classes/class_topic.php * @file includes/classes/class_topic.php
* @version $Id: classes/class_topic.php 15 2009-05-01 17:06:40Z pioder $ * @version $Id: classes/class_topic.php 15 2009-05-01 17:06:40Z pioder $
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/classes/class_user.php * @file includes/classes/class_user.php
* @version $Id: classes/class_user.php 15 2009-05-01 17:06:40Z pioder $ * @version $Id: classes/class_user.php 15 2009-05-01 17:06:40Z pioder $
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {
@@ -188,7 +188,7 @@ class User
DataBase::sql_query($sql,CRITICAL,'Could not create new user'); DataBase::sql_query($sql,CRITICAL,'Could not create new user');
} }
function UserMsgs() function UserPMs()
{ {
$uid = $_SESSION['uid']; $uid = $_SESSION['uid'];
if($uid>0) if($uid>0)

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/classes/secure.php * @file includes/classes/secure.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file constans.php * @file constans.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if (!defined('IN_uF')) if (!defined('IN_uF'))
{ {
@@ -39,7 +39,7 @@ define('TOPICS_TABLE',DB_PREFIX.'topics');
define('WARNINGS_TABLE',DB_PREFIX.'warns'); define('WARNINGS_TABLE',DB_PREFIX.'warns');
//footer forum text //footer forum text
define('FOOTER_TEXT','<span class="copyright" >Powered by <b>&micro;Forum</b></span><span class="copyright"> &copy; 2007-2009 </span><a href="http://pioder.ath.cx/" class="copyright" target="_blank"><b>PioDer</b></a>'); define('FOOTER_TEXT','<span class="copyright" >Powered by <b>&micro;Forum</b></span><span class="copyright"> &copy; 2007-2010 </span><a href="http://www.pioder.pl/" class="copyright" target="_blank"><b>PioDer</b></a>');
//hash for password //hash for password
define('PASSWD_HASH','bJVhVFCthvhVhKBU6GUbhUBU6VI7BiU6fV7G76Kbug6FU67VsaVYat5FJUHssaYVY5fV5GUHI76uKYTjYKKTatastYKYTYKg6ds7IRdsagI565JTrJ4NFGagGKLULygaTJHgfYDRZagGHJ65KL7iryikuuyriMYIYYUyugFTDeRnLKJNuyTDTRsERy78IJOhHCTDYjomLKBJDF5THNNBjyFCDYekjnKBUYgIHnUIbyuG6UyHNKJjnKHVut6FBYlH987g6GIUBbg76V5NNLUBH76BKLBi76FVtjN76Gi77ggYVCx3 R4SGhfGLHIH64XFGBUNLJOgfvc4Y3ScvmljmOBVc4klJKNIuBGVY6 MbvhGCRGgJLjKFHrYYJnKJGFHTfJJjnLK'); define('PASSWD_HASH','bJVhVFCthvhVhKBU6GUbhUBU6VI7BiU6fV7G76Kbug6FU67VsaVYat5FJUHssaYVY5fV5GUHI76uKYTjYKKTatastYKYTYKg6ds7IRdsagI565JTrJ4NFGagGKLULygaTJHgfYDRZagGHJ65KL7iryikuuyriMYIYYUyugFTDeRnLKJNuyTDTRsERy78IJOhHCTDYjomLKBJDF5THNNBjyFCDYekjnKBUYgIHnUIbyuG6UyHNKJjnKHVut6FBYlH987g6GIUBbg76V5NNLUBH76BKLBi76FVtjN76Gi77ggYVCx3 R4SGhfGLHIH64XFGBUNLJOgfvc4Y3ScvmljmOBVc4klJKNIuBGVY6 MbvhGCRGgJLjKFHrYYJnKJGFHTfJJjnLK');

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/db.php * @file includes/db.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/class_email.php * @file includes/class_email.php
* @version $Id: emailer.php -1 $ * @version $Id: emailer.php -1 $
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/errors.php * @file includes/errors.php
* @version $Id: errors.php 15 2009-05-01 17:06:40Z pioder $ * @version $Id: errors.php 15 2009-05-01 17:06:40Z pioder $
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {
@@ -38,7 +38,7 @@ function message_die($type, $msm, $sql)
$msg = $msg.'<font face="Verdana" style="font-size: 11pt"><i>'.$sql.'</i></font>'; $msg = $msg.'<font face="Verdana" style="font-size: 11pt"><i>'.$sql.'</i></font>';
} }
$msg = $msg.'</td></tr><tr><td bgcolor="white"><center><font face="Verdana" style="font-size: 10pt">Problems? Questions? Visit: $msg = $msg.'</td></tr><tr><td bgcolor="white"><center><font face="Verdana" style="font-size: 10pt">Problems? Questions? Visit:
<a href="http://pioder.gim2przemysl.int.pl/forum/" target="_blank">http://pioder.gim2przemysl.int.pl/forum</a></font></td></tr></table></center></body>'; <a href="http://www.pioder.pl/forum/" target="_blank">http://www.pioder.pl/forum</a></font></td></tr></table></center></body>';
die($msg); die($msg);
} }

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/class_overall.php * @file includes/class_overall.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/sessions.php * @file includes/sessions.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file includes/sql_parse.php * @file includes/sql_parse.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
* @note Originally, phpMyAdmin function * @note Originally, phpMyAdmin function
**/ **/
function remove_comments(&$output) function remove_comments(&$output)

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file index.php * @file index.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files
@@ -43,7 +43,7 @@ $skin = array(
'loged_as' => User::LogedAs($_SESSION['sessionid'], $_SESSION['uid']), 'loged_as' => User::LogedAs($_SESSION['sessionid'], $_SESSION['uid']),
'lyoure' => ($_SESSION['uid']>0) ? $lng['you_re'] : '', 'lyoure' => ($_SESSION['uid']>0) ? $lng['you_re'] : '',
'lpm_msgs' => ($_SESSION['uid']>0) ? $lng['pm_messages'] : '', 'lpm_msgs' => ($_SESSION['uid']>0) ? $lng['pm_messages'] : '',
'amsgs' => ($_SESSION['uid']>0) ? User::UserMsgs() : '' 'amsgs' => ($_SESSION['uid']>0) ? User::UserPMs() : ''
); );
$skin = array_push_assoc($skin, GenerateHeader($lng['mainpage'], '</a>&gt; <a href="index.php" class="navigator">'.$lng['mainpage'])); $skin = array_push_assoc($skin, GenerateHeader($lng['mainpage'], '</a>&gt; <a href="index.php" class="navigator">'.$lng['mainpage']));
//do it! //do it!

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file config.php * @file config.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file install/functions_add.php * @file install/functions_add.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl// * @link http://www.pioder.pl//
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if (!defined('IN_uF')) if (!defined('IN_uF'))
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file install/index.php * @file install/index.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF',true); define('IN_uF',true);
include('./../config.php'); include('./../config.php');

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file lngs/Polish/admin.php * @file lngs/Polish/admin.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
include('./../lngs/Polish/wysiwyg.php'); include('./../lngs/Polish/wysiwyg.php');
// //

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file lngs/Polish/email.php * @file lngs/Polish/email.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
//register message :] //register message :]
$lng['email_welcome']='Witamy na forum'; $lng['email_welcome']='Witamy na forum';

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file lngs/Polish/install.php * @file lngs/Polish/install.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
$lng['install_header']='Instalator skryptu &micro;Forum'; $lng['install_header']='Instalator skryptu &micro;Forum';
$lng['licence']='Licencja'; $lng['licence']='Licencja';
@@ -47,7 +47,7 @@ $lng['invalid_email']='Podałeś nieprawidłowy email!';
$lng['info_1']='Zaraz zostaniesz przeniesiony do krótkiej konfiguracji skryptu'; $lng['info_1']='Zaraz zostaniesz przeniesiony do krótkiej konfiguracji skryptu';
$lng['info_2']='Dziękujemy za wybranie &micro;Forum do obsługi Twojego forum! $lng['info_2']='Dziękujemy za wybranie &micro;Forum do obsługi Twojego forum!
Dołożymy wszelkich starań, <br> aby skrypt był bezpieczny. Wszelkie aktualizacje Dołożymy wszelkich starań, <br> aby skrypt był bezpieczny. Wszelkie aktualizacje
znajdziesz na stronie internetowej:<br><a href="http://pioder.gim2przemysl.int.pl/" znajdziesz na stronie internetowej:<br><a href="http://www.pioder.pl/"
class="fstandard"><b>PioDer Website</b></a><br><b>Miłego dnia!</b>'; class="fstandard"><b>PioDer Website</b></a><br><b>Miłego dnia!</b>';
$lng['name_forum']='Nazwa Twojego Forum'; $lng['name_forum']='Nazwa Twojego Forum';
$lng['no_lang']='Nie podałeś domyślnego języka!'; $lng['no_lang']='Nie podałeś domyślnego języka!';

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file lngs/Polish/main.php * @file lngs/Polish/main.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
include('./lngs/Polish/wysiwyg.php'); include('./lngs/Polish/wysiwyg.php');
//on header....------------------------------------------------------ //on header....------------------------------------------------------
@@ -162,7 +162,7 @@ $lng['pm_inbox_full']='Wiadomość nie zostanie dostarczona do adresata, gdyż j
//on private messages.....-------------------------------------------- //on private messages.....--------------------------------------------
// //
$lng['write_pm'] = 'Napisz Prywatną wiadomość'; $lng['write_pm'] = 'Napisz Prywatną wiadomość';
$lng['pm_messages']='Prywatnych Wiadomości'; $lng['pm_messages']='nowych PW';
$lng['inbox']='Skrzynka odbiorcza'; $lng['inbox']='Skrzynka odbiorcza';
$lng['sentbox']='Elementy wysłane'; $lng['sentbox']='Elementy wysłane';
$lng['content_message']='Treśc Wiadomości'; $lng['content_message']='Treśc Wiadomości';

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file lngs/Polish/quick_reply.php * @file lngs/Polish/quick_reply.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
$lng['title']='Szybka Odpowiedź'; $lng['title']='Szybka Odpowiedź';
$lng['message']='Wiadomość'; $lng['message']='Wiadomość';

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file lngs/Polish/wysiwyg.php * @file lngs/Polish/wysiwyg.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
$lng['function_disabled_html_mode']='Funkcja niedostępna w trybie HTML'; $lng['function_disabled_html_mode']='Funkcja niedostępna w trybie HTML';
$lng['lang_titles_1']=' $lng['lang_titles_1']='

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file login.php * @file login.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file moderate.php * @file moderate.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file pms.php * @file pms.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file posting.php * @file posting.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file quick_reply.php * @file quick_reply.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if ( !defined('IN_uF') ) if ( !defined('IN_uF') )
{ {

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file register.php * @file register.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file search.php * @file search.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file shoutbox.php * @file shoutbox.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
if (!defined('IN_uF')) if (!defined('IN_uF'))

View File

@@ -1,6 +1,6 @@
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px"> <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
<tr> <tr>
<td><span class="fstandard"><? echo $skin['loged_as']; ?>. <? echo $skin['lactual_time']; ?>: <b><? echo $skin['actual_time']; ?></b></span></td> <td width="<?= (TABLES_WIDTH-130); ?>"><span class="fstandard"><? echo $skin['loged_as']; ?>. <? echo $skin['lactual_time']; ?>: <b><? echo $skin['actual_time']; ?></b></span></td>
<td><span class="fstandard"><? echo $skin['lyoure']; ?></span> <span class="fstandard"><b><? echo $skin['amsgs']; ?></b></span> <a href="pms.php?mode=folder&submode=inbox" class="fstandard"><? echo $skin['lpm_msgs']; ?></a></td> <td><span class="fstandard"><? echo $skin['lyoure']; ?></span> <span class="fstandard"><b><? echo $skin['amsgs']; ?></b></span> <a href="pms.php?mode=folder&submode=inbox" class="fstandard"><? echo $skin['lpm_msgs']; ?></a></td>
</tr> </tr>
</table> </table>

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file topic.php * @file topic.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file user.php * @file user.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file users.php * @file users.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files

View File

@@ -3,9 +3,9 @@
* @package uForum * @package uForum
* @file warns.php * @file warns.php
* @version $Id$ * @version $Id$
* @copyright 2009(c) PioDer <pioder@wp.pl> * @copyright 2007-2010 (c) PioDer <pioder@wp.pl>
* @link http://pioder.gim2przemysl.int.pl/ * @link http://www.pioder.pl/
* @license GNU GPL v3 * @license see LICENSE.txt
**/ **/
define('IN_uF', true); define('IN_uF', true);
//include files //include files