Email Addresses

United Federation of Trek
Contribute To This Site
Submit a Download
Submit a Link
Submit A Review for Omega13a's Corner

This Website Is Best Viewed In Mozilla Firefox 0.9+
You Are Currently Using  2.0
  Login or Register
Home Downloads Your Account Forums UFT Writing
2015.32
Affiliates
Supported by

[ Be A Supporter ]
[ NukeSupporters(tm) ]

Navigation
· Home
· Report An Error

Star Trek

· Borg Species Designations
· Borg Species Designations
· FAQ
· FAQ
· Sev Trek
· Sev Trek
· Star Trek Alien Sayings
· Star Trek Alien Sayings
· Star Trek Eggs
· Star Trek Eggs
· Star Trek Encyclopedia
· Star Trek Encyclopedia
· Star Trek Episode Guides
· Star Trek Episode Guides
· Star Trek Goofs
· Star Trek Goofs
· Star Trek Mysteries
· Star Trek Mysteries
· Star Trek Reviews
· Star Trek Reviews
· Star Trek Timeline
· Star Trek Timeline
· Trek Today Headlines
· Trek Today Headlines
· Worlds in Star Trek
· Worlds in Star Trek

Community

· Chat Bot
· Chat Bot
· Chat Room
· Chat Room
· Feedback
· Feedback
· Forums
· Forums
· Guestbook
· Guestbook
· Join a Webring
· Join a Webring
· Join the Staff
· Join the Staff
· Members List
· Members List
· Private Messages
· Private Messages
· Recommend Us
· Recommend Us
· Rules/Terms of Use
· Rules/Terms of Use
· Surveys
· Surveys
· User Journals
· User Journals
· Vote For Us
· Vote For Us
· Win An Award
· Win An Award
· Your Account
· Your Account

Media/Arts

· Downloads
· Downloads
· Fan Fictions
· Fan Fictions
· Hangman
· Hangman
· Image Gallery
· Image Gallery
· Technobable Generator
· Technobable Generator

Staff Personal Sections

· Omega13a's Corner
· Omega13a's Corner Index
· Anagrams
· Anagrams
· Autograms
· Autograms
· Bumper Stickers
· Bumper Stickers
· Cow Analogies
· Cow Analogies
· Cruel Baby Names
· Cruel Baby Names
· DHTML Tricks
· DHTML Tricks
· Dumb Criminals
· Dumb Criminals
· Dumb Headlines
· Dumb Headlines
· Dumb Laws
· Dumb Laws
· Dumb Questions
· Dumb Questions
· Dumb Quotes
· Dumb Quotes
· Dumb Signs
· Dumb Signs
· Dumb Warning Labels
· Dumb Warning Labels
· Eyewitness Reports
· Eyewitness Reports
· Fears
· Fears
· Games
· Games
· Google Searches
· Google Searches
· Graphing Calculator
· Graphing Calculator
· Horoscope
· Horoscope
· htaccess Tutorials
· htaccess Tutorials
· HTML Manual
· HTML Manual
· IP Lookup
· IP Lookup
· Jokes
· Jokes
· Misc Funny Stuff
· Misc Funny Stuff
· Odd Books
· Odd Books
· Odd Place Names
· Odd Place Names
· Odd Product Names
· Odd Product Names
· Our Solar System
· Our Solar System
· Palindromes
· Palindromes
· Pangrams
· Pangrams
· PEAR Manual
· PEAR Manual
· PHP Manual
· PHP Manual
· PHPNuke Tools
· PHPNuke Tools
· Pointless Quizzes
· Pointless Quizzes
· Prime Numbers
· Prime Numbers
· Random Quotes
· Random Quotes
· Rant
· Rant
· Reviews
· Reviews
· Rhyming Pairs
· Rhyming Pairs
· Sci-Fi/Fantasy Encyclopedia
· Sci-Fi/Fantasy Encyclopedia
· Weather
· Weather
· Weird Ads
· Weird Ads
· Weird Wide Web
· Weird Wide Web
· Zen Sarcasms
· Zen Sarcasms

· Lady Lursa's Reading Corner

Links and Webrings

· Banner Exchanges
· Banner Exchanges
· Join Banner Exchange
· Join Banner Exchange
· Linking To Us
· Linking To Us
· Topsites
· Topsites
· Web Links
· Web Links
· Webrings
· Webrings

Site Info

· About the Owner
· About the Site
· About the Site
· About UFT_PHP
· About UFT_PHP
· About You
· Awards
· Awards
· Banned Stuff
· Banned Stuff
· Copyright
· Copyright
· Legal Information
· Legal Information
· Modifications Installed
· Modifications Installed
· Search Results
· Search Results

set; class forum_index { var $cur_fi_id; function check_img($key, $dft = '', $force = false) { global $phpbbuser, $config; $def_ret = '' . $key; $ret = $phpbbuser->img($key); if($ret == $def_ret) { $dft_img = $phpbbuser->img($dft); if(!empty($dft) && ($dft_img != '' . $dft || $force)) { return $dft_img; } } return $ret; } // check the forum_index_id with forum_id function check_forum_index($forum_id) { // get forum indexes $forum_indexes = $this->get_forum_indexes($forum_id); // take the nearest forum index $new_forum_index_id = $forum_indexes[0]; return $new_forum_index_id; } function get_forum_indexes($forum_id) { global $forums; // some vars $index = false; $forum_main = $forum_id; // found all indexes for this forum_id while( !$index ) { if($forums->data[$forum_main]['forum_index']) { $forum_indexes[] = $forum_main; } $forum_main = $forums->data[$forum_main]['forum_main']; if($forum_main == 0) { $index = true; $forum_indexes[] = $forum_main; } } return $forum_indexes; } function determine_forum_id($forum_id) { global $HTTP_GET_VARS, $HTTP_POST_VARS, $forums, $forum_id; // get : user forum index $forum_index_id = _read(POST_FORUM_INDEX_URL, TYPE_INT); // if the user is in a forum, check and compare forum and forum index if($forum_id > 0) { $forum_index_id = $this->check_forum_index($forum_id); } elseif(!isset($HTTP_GET_VARS[POST_FORUM_URL]) && !isset($HTTP_POST_VARS[POST_FORUM_URL])) { $forum_id = $forum_index_id; } elseif($forum_id == 0) { $forum_index_id = 0; } // get forum index infos $this->cur_fi_id = $forums->data[$forum_index_id]['forum_id']; return $forum_id; } function pgcd($a, $b) { while ($b > 0) { $res = $a % $b; $a = $b; $b = $res; } return $a; } function ppcm($a, $b) { $res = ($a * $b)/$this->pgcd($a, $b); return $res; } function make_forum_index_list() { global $template, $phpEx, $forums, $config, $phpbbuser; $max_indexes_on_a_line = 3; $percent_linkbox_size = 70; $template->set_filenames(array( 'forums_index' => 'change_forum.tpl') ); foreach($forums->data as $fid => $data) { if($data['forum_index']) { $all_indexes[] = $fid; } } $total_indexes = count($all_indexes); $ppcm = $this->ppcm($total_indexes % $max_indexes_on_a_line, $max_indexes_on_a_line); $template->assign_vars(array( 'LINKBOX_WIDTH' => $percent_linkbox_size, 'DESC_WIDTH' => 99 - $percent_linkbox_size, ) ); // line counter $l = 0; $equilibre = false; $nb_lines = intval($total_indexes / $max_indexes_on_a_line)+1; for($i = 0; $i < $total_indexes; $i++) { if( $total_indexes % $max_indexes_on_a_line && !$equilibre) { $nb_lines_rest = $nb_lines - $l; $nb_items_rest = $total_indexes - $l * $max_indexes_on_a_line; if(!($nb_items_rest % $nb_lines_rest)) { $max_indexes_on_a_line = $nb_items_rest/$nb_lines_rest; } $equilibre = true; } if(!($i % $max_indexes_on_a_line) || !$i) { $template->set_switch('line', true); $l ++; if($total_indexes - $max_indexes_on_a_line * $l >= 0) { $nb_items = $max_indexes_on_a_line; } else { $nb_items = $total_indexes % $max_indexes_on_a_line; } } $img = $this->check_img($forums->data[$all_indexes[$i]]['forum_nav_icon']); $template->assign_block_vars('line.cell', array( 'U_FORUM_INDEX_LINK' => $config->url('index', array(POST_FORUM_INDEX_URL => $forums->data[$all_indexes[$i]]['forum_id']), true), 'FORUM_INDEX_NAME' => $phpbbuser->lang($forums->data[$all_indexes[$i]]['forum_name']), 'FORUM_INDEX_DESC' => addslashes($phpbbuser->lang($forums->data[$all_indexes[$i]]['forum_desc'])), 'COLSPAN' => $ppcm/$nb_items, 'LINK_WIDTH' => $percent_linkbox_size/$nb_items, 'FORUM_INDEX_IMAGE' => $img, ) ); $template->set_switch('line.cell.b_beg', ($forums->data[$this->cur_fi_id]['forum_id'] == $forums->data[$all_indexes[$i]]['forum_id']) ? true : false); $template->set_switch('line.cell.b_end', ($forums->data[$this->cur_fi_id]['forum_id'] == $forums->data[$all_indexes[$i]]['forum_id']) ? true : false); $template->set_switch('line.cell.image', $img != ''); } $template->assign_var_from_handle('CHANGE_FORUM', 'forums_index'); } } ?>
( ! ) Fatal error: Class 'forum_index' not found in /var/www/clients/client1/web1/web/modules/Forums/common.php on line 419
Call Stack
#TimeMemoryFunctionLocation
10.0007275776{main}( ).../index.php:0
20.71603385008include( '/var/www/clients/client1/web1/web/modules/Index/index.php' ).../index.php:178
30.71603391976require( '/var/www/clients/client1/web1/web/modules/Forums/nukebb.php' ).../index.php:16
40.71703452760include( '/var/www/clients/client1/web1/web/header.php' ).../nukebb.php:65
50.71703469720head( ).../header.php:112
60.71743486360themeheader( ).../header.php:108
70.71853497160blocks( $side = 'left', $level = ???, $force = ??? ).../theme.php:285
80.79954233416render_blocks( $side = 'l', $blockfile = 'block-Forums_better.php', $title = 'UFT Community', $content = '', $bid = 33, $url = '' ).../mainfile.php:569
90.79964233464blockfileinc( $title = 'UFT Community', $blockfile = 'block-Forums_better.php', $side = 0, $bid = 33 ).../mainfile.php:458
100.79974247320include( '/var/www/clients/client1/web1/web/blocks/block-Forums_better.php' ).../mainfile.php:732
110.80004320360include_once( '/var/www/clients/client1/web1/web/modules/Forums/common.php' ).../block-Forums_better.php:14