'); define('TIREF', 9); define('MIREF', 10); define('SQREF', 11); define('TREF', 12); define('SREF', 13); define('MREF', 14); define('LREF', 15); define('LREF', 15); //define('LOCALHOST_MAIL', 'hisako@j-cake.com'); define('UPLOAD_LIMIT', 25); define('SET_LIMIT', 25); //define('LOGO', '/pics/erika/logo/green_purple.gif'); putenv("TZ=UCT"); define('TIME_OFFSET', 32400); define('PATH_TO_GLOBAL', '/www/j-system'.VERSION); //nts define('DATABASE','j_egxncb'); define('THIS_J', 'foto'); define('HTDOCS', '/www/vhosts/j-foto.com/htdocs'); define('CHAT_ON',0); define('SMILIES_TABLE', 'global_smilies'); define('THIS_SQL', 'j_foto'); define('SQL_PREFIX', THIS_SQL.'_'); define('IS_JFOTO', 1); define('THIS_DOT_COM', 'j-foto.com'); define('THIS_COOKIE_DOMAIN', '.j-foto.com'); define('THIS_COOKIE', 'jcookie'); define('THIS_WWW_COM', 'www.j-foto.com'); define('THIS_SITE_NAME', 'j-foto.com'); define('PAGE_TITLE_NAME', 'J-Foto'); define('START_TIME', 300000); //FOR THE TAGS define('THIS_PERIOD', floor((time())/3600) - START_TIME); define('THIS_PERIOD_DAY', (THIS_PERIOD - 24)); define('THIS_PERIOD_WEEK', (THIS_PERIOD - 168)); define('THIS_SITE_DIR', 'j-foto.com'); $page_head = PATH_TO_GLOBAL."/j-shared/htdocs/manage/html/layout/head.phtml"; define('ADMIN_EMAIL', 'jfoto_admin@j-w3.com'); if($_GET['username'] == 'ADMIN'){ $_GET['username'] = 'j-foto'; define('ADMIN_VIEW', '/'); //$_REQUEST['username'] = 'gary'; } //$site_css = 'create'; //$default_stylesheet = 'erika'; //for forum /* is this needed ?? */ /*something to do with style switcher*/ $site_stylesheet = 'main'; //for forum $site_sub_stylesheet = ''; $alternate_stylesheet = array(); $site_css = '/css/main.css?v=1.21'; //define('ALT_PAGE_HEAD', 'j_foto.phtml'); //ini_set(zlib.output_compression, 1); define('LOGIN_PAGE', '/login/index.php'); define('SESSIONS_TABLE', 'foto_sessions'); define('STARTUP', PATH_TO_GLOBAL.'/j_global/startup.php'); define('IMPATH', '/usr/local/bin/'); define('NETPBM', '/usr/local/bin/'); define('FOTO_TMP', '/www/foto/'); //define('SQL_LAYER', 'mysql4'); //define('SEARCH_TABLE', SQL_PREFIX.'search_results'); define('SEARCHWORD_TABLE', SQL_PREFIX.'wordlist'); define('SEARCHMATCH_TABLE', SQL_PREFIX.'wordmatch'); define('PHP_DB_CACHE', 'j_foto_cache'); require('/www/vhosts/j-foto.com/htdocs/photos/functions.php'); $table_prefix = 'j_foto_group_'; define('FORUMS_TABLE', $table_prefix.'forums'); define('GROUPS_TABLE', $table_prefix.'groups'); define('POSTS_TABLE', $table_prefix.'posts'); define('POSTS_TEXT_TABLE', $table_prefix.'posts_text'); define('TOPICS_TABLE', $table_prefix.'topics'); define('TOPICS_WATCH_TABLE', $table_prefix.'topics_watch'); define('USER_GROUP_TABLE', $table_prefix.'user_group'); define('USERS_TABLE', 'users'); define('WORDS_TABLE', $table_prefix.'words'); define('VOTE_DESC_TABLE', $table_prefix.'vote_desc'); define('VOTE_RESULTS_TABLE', $table_prefix.'vote_results'); define('VOTE_USERS_TABLE', $table_prefix.'vote_voters'); // Topic status define('TOPIC_UNLOCKED', 0); define('TOPIC_LOCKED', 1); define('TOPIC_MOVED', 2); define('TOPIC_WATCH_NOTIFIED', 1); define('TOPIC_WATCH_UN_NOTIFIED', 0); // Topic types define('POST_NORMAL', 0); define('POST_STICKY', 1); define('POST_ANNOUNCE', 2); define('POST_GLOBAL_ANNOUNCE', 3); // URL PARAMETERS define('POST_TOPIC_URL', 't'); define('POST_CAT_URL', 'c'); define('POST_FORUM_URL', 'f'); define('POST_USERS_URL', 'u'); define('POST_POST_URL', 'p'); define('POST_GROUPS_URL', 'g'); define('PRIVATE_GROUP', 3); define('SEMI_GROUP', 2); define('PUBLIC_GROUP', 1); // Private messaging define('PRIVMSGS_READ_MAIL', 0); define('PRIVMSGS_NEW_MAIL', 1); /* sent but unseen, therefore deletable */ define('PRIVMSGS_SENT_MAIL', 2); define('PRIVMSGS_SAVED_IN_MAIL', 3); define('PRIVMSGS_SAVED_OUT_MAIL', 4); define('PRIVMSGS_UNREAD_MAIL', 5); /* sent seen, but not read therefore undeletable */ define('PRIVMSGS_TABLE', 'j_foto_privmsgs'); define('PRIVMSGS_TEXT_TABLE', 'j_foto_privmsgs_text'); define('PRIVMSGS_IGNORE_TABLE', 'j_foto_privmsgs_ignore'); define('PRIV_NOBODY', 0); define('PRIV_FF', 1); define('PRIV_CONTACTS', 2); define('PRIV_MEMBERS', 3); define('PRIV_EVERYONE', 9); define('pVERT', 1); define('pHORI', 2); define('pGALL', 3); $board_config['smilies_path'] = '/manage/pics/smiles/';