|
|
- <?php
- /**
- * @package Dynamic Script Forum
- * @file constans.php
- * @version 1.0.x, 16-04-2007, 14:35
- * @copyright 2008(c) PioDer <pioder@wp.pl>
- * @link http://pioder.gim2przemysl.int.pl/dsf.html
- * @license GNU GPL v3
- **/
- if (!defined('IN_uF'))
- {
- die('Hacking attempt');
- }
-
- //sessions constants
- define('SESSION_LIFETIME',129600);
- define('SESS_NAME','uf_auth');
- //maximum filesize of avatar
- define('AV_CATALOG','images/avatars/');
- //posting allowed tags HTML
-
- define('ALLOWED_TAGS','<strong><em><u><s><span><font><div><img><a><font><p><sub><sup><hr><br><li><ol><ul><h1><h2><h3><h4><h5><h6>');
- //tables
- define('BANLIST_TABLE',DB_PREFIX.'banlist');
- define('CATS_TABLE',DB_PREFIX.'categories');
- define('CENSORLIST_TABLE',DB_PREFIX.'censorlist');
- define('CONFIG_TABLE',DB_PREFIX.'config');
- define('FORUMS_TABLE',DB_PREFIX.'forums');
- define('GROUPS_TABLE',DB_PREFIX.'groups');
- define('PM_INBOX_TABLE',DB_PREFIX.'msg_inbox');
- define('PM_SENTBOX_TABLE',DB_PREFIX.'msg_sentbox');
- define('POSTS_TABLE',DB_PREFIX.'posts');
- define('SESSIONS_TABLE',DB_PREFIX.'sessions');
- define('SHOUTBOX_TABLE',DB_PREFIX.'shoutbox');
- define('SKINS_TABLE',DB_PREFIX.'skins');
- define('SMILES_TABLE',DB_PREFIX.'smiles');
- define('USERS_TABLE',DB_PREFIX.'users');
- define('USERS_GROUP_TABLE',DB_PREFIX.'users_group');
- define('TOPICS_TABLE',DB_PREFIX.'topics');
- define('WARNINGS_TABLE',DB_PREFIX.'warns');
-
- //footer forum text
- define('FOOTER_TEXT','<span class="copyright" >Powered by <b>µForum</b></span><span class="copyright"> © 2007-2009 </span><a href="http://pioder.gim2przemysl.int.pl/dsf.html" class="copyright" target="_blank"><b>PioDer</b></a>');
- //hash for password
- define('PASSWD_HASH','bJVhVFCthvhVhKBU6GUbhUBU6VI7BiU6fV7G76Kbug6FU67VsaVYat5FJUHssaYVY5fV5GUHI76uKYTjYKKTatastYKYTYKg6ds7IRdsagI565JTrJ4NFGagGKLULygaTJHgfYDRZagGHJ65KL7iryikuuyriMYIYYUyugFTDeRnLKJNuyTDTRsERy78IJOhHCTDYjomLKBJDF5THNNBjyFCDYekjnKBUYgIHnUIbyuG6UyHNKJjnKHVut6FBYlH987g6GIUBbg76V5NNLUBH76BKLBi76FVtjN76Gi77ggYVCx3 R4SGhfGLHIH64XFGBUNLJOgfvc4Y3ScvmljmOBVc4klJKNIuBGVY6 MbvhGCRGgJLjKFHrYYJnKJGFHTfJJjnLK');
-
- function array_push_associative(&$arr)
- {
- $ret = '';
- $args = func_get_args();
- foreach ($args as $arg)
- {
- if (is_array($arg))
- {
- foreach ($arg as $key => $value)
- {
- $arr[$key] = $value;
- $ret++;
- }
- }
- else
- {
- $arr[$arg] = "";
- }
- }
- return $arr;
- }
- ?>
|