( ! ) Deprecated: Assigning the return value of new by reference is deprecated in /home/avastarc/public_html/forum/forum/includes/vba_cmps_include_top.php on line 217
Call Stack
#TimeMemoryFunctionLocation
10.0007626680{main}( )../index.php:0
20.0018634392require_once( '/home/avastarc/public_html/forum/forum/global.php' )../index.php:50
30.42043620736eval( 'if (defined('VBA_PORTAL')) { require_once(DIR . '/includes/vba_cmps_include_top.php'); } if ($vbulletin->options['vsa_visitorslastx_enable'] AND $vbulletin->options['vsa_visitorslastx_showguests'] AND !$vbulletin->userinfo['userid']) { $vbulletin->db->hide_errors(); $vilxh_checkguest = $vbulletin->db->query_read(" SELECT userip FROM " . TABLE_PREFIX . "vsavilxh_guests AS vsavilxh_guests WHERE userip = '".$_SERVER['REMOTE_ADDR']."' "); if ($vbulletin->db->num_rows($vilxh_checkguest)) { $vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "vsavilxh_guests SET dateline = '".TIMENOW."' WHERE userip = '".$_SERVER['REMOTE_ADDR']."' "); } else { $vbulletin->db->query_write(" INSERT INTO `". TABLE_PREFIX ."vsavilxh_guests` (userip, dateline) VALUES ('".$_SERVER['REMOTE_ADDR']."', '".TIMENOW."') "); } unset($vilxh_checkguest); $vilxh_timecut = TIMENOW - ($vbulletin->options['vsa_visitorslastx_xhours'] * 3600); $vbulletin->db->query_write(" DELETE FROM " . TABLE_PREFIX . "vsavilxh_guests WHERE dateline < '".$vilxh_timecut."' "); $vbulletin->db->show_errors(); } $vsatopstats_prelocs = ''; if ($vbulletin->options['vsatopstats_script_locs']!='') { $vsatopstats_prelocs .= 'misc,'; } else { $vsatopstats_prelocs .= 'misc'; } eval('$vsatopstats_locs = in_array(THIS_SCRIPT, array(' . $vsatopstats_prelocs . $vbulletin->options['vsatopstats_script_locs'] . '));'); if ($vbulletin->options['vsatopstats_enable_global'] AND !is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsatopstats_excl_groups'])) AND !isset($_POST['fromquickreply'])) { if ($vbulletin->userinfo['userid']) { if ($vbulletin->userinfo['showvsastats']=='1') { $vsastats_show = true; } else { $vsastats_show = false; } if (!$vsastats_show) { $vsa_topstats_turnonlink = ''.$vbphrase['vsa_afs_turnon_stats'].''; $vsa_topstats_turnonlink_nb = '
  • '.$vsa_topstats_turnonlink.'
  • '; $template_hook['navbar_quick_links_menu_pos4'] .= $vsa_topstats_turnonlink_nb; } } else { $vsastats_show = true; } } if ($vsastats_show AND in_array(THIS_SCRIPT, array($vsatopstats_locs))) { $vbulletin->db->hide_errors(); global $vbulletin; $vsastats_latestnews_enabled = false; $vsastats_mostviewedthreads_enabled = false; $vsastats_hottestthreads_enabled = false; $vsastats_hottestforums_enabled = false; $vsastats_classifiedads_enabled = false; $vsastats_latestblogs_enabled = false; $vsastats_groupposts_enabled = false; $vsastats_newestmembers_enabled = false; $vsastats_posters_enabled = false; $vsastats_threadstarters_enabled = false; $vsastats_referrers_enabled = false; $vsastats_reputations_enabled = false; $vsastats_thanked_enabled = false; $vsastats_infractions_enabled = false; $vsastats_visitors_enabled = false; $vsastats_groups_enabled = false; $vsastats_donations_enabled = false; $vsastats_enabledstats = ''; $vsastats_enabledstats = ''; $vsastats_latestposts_enabled = true; if (strstr($vbulletin->options['vsatopstats_enable_items'], 'latestposts_l')) { $vsastats_latestposts_pos = 1; } else { $vsastats_latestposts_pos = 2; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'latestnews') AND ($vbulletin->options['vsatopstats_latestnews_newsforumid']!='')) { $vsastats_latestnews_enabled = true; $vsastats_enabledstats .= ',latestnews'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'mostviewedthreads')) { $vsastats_mostviewedthreads_enabled = true; $vsastats_enabledstats .= ',mostviewedthreads'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'hottestthreads')) { $vsastats_hottestthreads_enabled = true; $vsastats_enabledstats .= ',hottestthreads'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'hottestforums')) { $vsastats_hottestforums_enabled = true; $vsastats_enabledstats .= ',hottestforums'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'classifiedads') AND ($vbulletin->options['vsatopstats_classads_forums']!='')) { $vsastats_classifiedads_enabled = true; $vsastats_enabledstats .= ',classifiedads'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'latestblogs')) { $vsastats_latestblogs_enabled = true; $vsastats_enabledstats .= ',latestblogs'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'groupposts')) { $vsastats_groupposts_enabled = true; $vsastats_enabledstats .= ',groupposts'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'newestmembers')) { $vsastats_newestmembers_enabled = true; $vsastats_enabledstats .= ',newestmembers'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'posters')) { $vsastats_posters_enabled = true; $vsastats_enabledstats .= ',posters'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'threadstarters')) { $vsastats_threadstarters_enabled = true; $vsastats_enabledstats .= ',threadstarters'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'referrers')) { $vsastats_referrers_enabled = true; $vsastats_enabledstats .= ',referrers'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'reputations')) { $vsastats_reputations_enabled = true; $vsastats_enabledstats .= ',reputations'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'thanked') AND $vbulletin->options['post_thanks_on_off']) { $vsastats_thanked_enabled = true; $vsastats_enabledstats .= ',thanked'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'infractions')) { $vsastats_infractions_enabled = true; $vsastats_enabledstats .= ',infractions'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'visitors')) { $vsastats_visitors_enabled = true; $vsastats_enabledstats .= ',visitors'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'groups')) { $vsastats_groups_enabled = true; $vsastats_enabledstats .= ',groups'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'donations') AND $vbulletin->options['vsapaypal_enable'] AND is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsapaypal_canseelist']))) { $vsastats_donations_enabled = true; $vsastats_enabledstats .= ',donations'; } $vsastats_enabledstats = substr($vsastats_enabledstats, 1); if (($vbulletin->options['vsatopstats_switch_fdef']=='random') OR ($vbulletin->options['vsatopstats_switch_udef']=='random')) { $vsatopstats_enabled_items = explode(",",$vsastats_enabledstats); $vsatopstats_enabled_ritem = array_rand($vsatopstats_enabled_items,3); } if ($vbulletin->options['vsatopstats_switch_fdef']=='random') { if (strstr($vsastats_enabledstats, ',')) { $vsatopstats_init_fstat = $vsatopstats_enabled_items[$vsatopstats_enabled_ritem[0]]; } else { $vsatopstats_init_fstat = $vsastats_enabledstats; } } else if (strstr($vsastats_enabledstats, $vbulletin->options['vsatopstats_switch_fdef'])) { $vsatopstats_init_fstat = $vbulletin->options['vsatopstats_switch_fdef']; } if (!$vsatopstats_init_fstat) { $vsatopstats_init_fstat = "badadmin"; } $vsatopstats_blocksec_enabled = true; if ($vbulletin->options['vsatopstats_switch_udef']=='disabled') { $vsatopstats_blocksec_enabled = false; } if (($vbulletin->options['vsatopstats_switch_udef']=='random') AND $vsatopstats_blocksec_enabled) { if (strstr($vsastats_enabledstats, ',')) { $vsatopstats_init_ustat = $vsatopstats_enabled_items[$vsatopstats_enabled_ritem[1]]; if ($vsatopstats_init_ustat==$vsatopstats_init_fstat) { $vsatopstats_init_ustat = $vsatopstats_enabled_items[$vsatopstats_enabled_ritem[2]]; } } else { $vsatopstats_init_ustat = $vsastats_enabledstats; } } else if (strstr($vsastats_enabledstats, $vbulletin->options['vsatopstats_switch_udef'])) { $vsatopstats_init_ustat = $vbulletin->options['vsatopstats_switch_udef']; } if (!$vsatopstats_init_ustat) { $vsatopstats_init_ustat = "badadmin"; } $vsastats_latestposts_tcenabled = false; $vsastats_latestnews_tcenabled = false; $vsastats_mostviewedthreads_tcenabled = false; $vsastats_hottestthreads_tcenabled = false; $vsastats_hottestforums_tcenabled = false; $vsastats_classifiedads_tcenabled = false; $vsastats_latestblogs_tcenabled = false; $vsastats_newestmembers_tcenabled = false; $vsastats_posters_tcenabled = false; $vsastats_threadstarters_tcenabled = false; $vsastats_referrers_tcenabled = false; $vsastats_reputations_tcenabled = false; $vsastats_thanked_tcenabled = false; $vsastats_infractions_tcenabled = false; if ($vbulletin->options['vsatopstats_timecut']>0) { $vsatopstats_timecut_start = TIMENOW - ($vbulletin->options['vsatopstats_timecut'] * 86400); if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_latestposts')) { $vsastats_latestposts_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_lastpost = "AND thread.lastpost > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_latestnews')) { $vsastats_latestnews_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_latestnews = "AND dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_mostviewedthreads')) { $vsastats_mostviewedthreads_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_mostviewed = "AND dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_hottestthreads')) { $vsastats_hottestthreads_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_hottest = "AND dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_hottestforums')) { $vsastats_hottestforums_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_topforums = "AND post.dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_classifiedads')) { $vsastats_classifiedads_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_classads = "AND dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_latestblogs')) { $vsastats_latestblogs_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_blogs = "AND dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_newestmembers')) { $vsastats_newestmembers_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_newmem = "AND joindate > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_posters')) { $vsastats_posters_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_toppost = "AND post.dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_threadstarters')) { $vsastats_threadstarters_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_topstarters = "AND thread.dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_referrers')) { $vsastats_referrers_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_topreferrers = "AND refs.joindate > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_reputations')) { $vsastats_reputations_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_rep = "AND reputation.dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_thanked')) { $vsastats_thanked_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_thx = "AND post.dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_infractions')) { $vsastats_infractions_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_infractions = "AND infraction.dateline > $vsatopstats_timecut_start"; } } $vsastatsforumperms = array(); if ($vbulletin->options['apboupc_global_enable']) { $vsastats_vsaapbouc_excgroups = explode(",",$vbulletin->options['apboupc_forum_excludedgroups']); } foreach($vbulletin->forumcache AS $vsatsforum) { $vsastatsforumperms[$vsatsforum["forumid"]] = fetch_permissions($vsatsforum['forumid']); if ((!($vsastatsforumperms[$vsatsforum["forumid"]] & $vbulletin->bf_ugp_forumpermissions['canview'])) OR (!($vsatsforum['options'] & $vbulletin->bf_misc_forumoptions['active']) AND !$vbulletin->options['showprivateforums'] AND !is_member_of($vbulletin->userinfo, 5,6,7)) OR ($vbulletin->options['apboupc_global_enable'] AND ($vsatsforum['accessf_nb']>$vbulletin->userinfo['posts']) AND !is_member_of($vbulletin->userinfo, $vsastats_vsaapbouc_excgroups))) { $vsaexclfids .= ','.$vsatsforum['forumid']; } } if ($vbulletin->options['vsatopstats_excl_forums']!='') { $vsaexclfids .= ','.$vbulletin->options['vsatopstats_excl_forums']; } $vsaexclfids = substr($vsaexclfids, 1); if ($vsaexclfids!='') { $vsaexclforums_lastposts = "AND thread.forumid NOT IN($vsaexclfids)"; $vsaexclforums_topforums = "AND thread.forumid NOT IN($vsaexclfids)"; $vsaexclforums = "AND forumid NOT IN($vsaexclfids)"; } unset($vsatsforum); if ($vbulletin->options['vsatopstats_excl_groups_listing']!='') { $vsaexclgids = ','.$vbulletin->options['vsatopstats_excl_groups_listing']; } $vsaexclgids = substr($vsaexclgids, 1); if ($vsaexclgids!='') { $vsaexclgroups_user = "AND user.usergroupid NOT IN ($vsaexclgids)"; $vsaexclgroups = "AND usergroupid NOT IN ($vsaexclgids)"; } if ($_REQUEST['do'] == 'vsastats') { $vsacb_resnr = $vbulletin->input->clean_gpc('r', 'vsacb_resnr', TYPE_UINT); $vsa_rnr_options = explode(',', $vbulletin->options['vsatopstats_amount_more']); foreach ($vsa_rnr_options AS $vsa_rnr_option) { eval('$vsacb_resnrswp .= " ";'); } $vsacb_resnrsw = construct_phrase($vbphrase['vsa_afs_show_x_results'], '
    '); if ($vsacb_resnr < 1) { $vsacb_resnr = intval($vbulletin->options['vsatopstats_amount_more']); } } else { $vsacb_resnr = intval($vbulletin->options['vsatopstats_amount_main']); if ($vsacb_resnr < 1) { $vsacb_resnr = intval($vbulletin->options['vsatopstats_amount_more']); } } $vsatopstats_temptable = ''.str_repeat('', $vsacb_resnr-1).'
    '.$vbphrase['vsastats_loading'].'
     
    '; $templater = vB_Template::Create('vsa_topstats_menu'); $templater->register('vsacb_cantpost', $vsacb_cantpost); $templater->register('vsastats_newestmembers_enabled', $vsastats_newestmembers_enabled); $templater->register('vsastats_posters_enabled', $vsastats_posters_enabled); $templater->register('vsastats_threadstarters_enabled', $vsastats_threadstarters_enabled); $templater->register('vsastats_referrers_enabled', $vsastats_referrers_enabled); $templater->register('vsastats_reputations_enabled', $vsastats_reputations_enabled); $templater->register('vsastats_thanked_enabled', $vsastats_thanked_enabled); $templater->register('vsastats_infractions_enabled', $vsastats_infractions_enabled); $templater->register('vsastats_visitors_enabled', $vsastats_visitors_enabled); $templater->register('vsastats_groups_enabled', $vsastats_groups_enabled); $templater->register('vsastats_donations_enabled', $vsastats_donations_enabled); $templater->register('vsastats_latestnews_enabled', $vsastats_latestnews_enabled); $templater->register('vsastats_mostviewedthreads_enabled', $vsastats_mostviewedthreads_enabled); $templater->register('vsastats_hottestthreads_enabled', $vsastats_hottestthreads_enabled); $templater->register('vsastats_hottestforums_enabled', $vsastats_hottestforums_enabled); $templater->register('vsastats_classifiedads_enabled', $vsastats_classifiedads_enabled); $templater->register('vsastats_latestblogs_enabled', $vsastats_latestblogs_enabled); $templater->register('vsastats_groupposts_enabled', $vsastats_groupposts_enabled); $vsastats_menu1 = $templater->render(); $vsastats_menu2 = str_replace('\'cs_blockfir\', ','',$vsastats_menu1); $vsastats_menu2 = str_replace(');"',', \'cs_blocksec\');"', $vsastats_menu2); $vsastats_menu2 = str_replace('rtitle','ltitle',$vsastats_menu2); if ($vbulletin->options['vsatopstats_layout']==1) { $templater = vB_Template::Create('vsa_topstats_stats_singlerow'); $templater->register('vsastats_menu1', $vsastats_menu1); $templater->register('vsastats_menu2', $vsastats_menu2); $templater->register('vsacb_cantpost', $vsacb_cantpost); $templater->register('vsatopstats_blocksec_enabled', $vsatopstats_blocksec_enabled); $templater->register('vsacb_resnr', $vsacb_resnr); $templater->register('vsacb_canviewmore', $vsacb_canviewmore); $templater->register('vsastats_show', $vsastats_show); $templater->register('vsatopstats_temptable', $vsatopstats_temptable); $templater->register('vsastats_latestposts_pos', $vsastats_latestposts_pos); $templater->register('vsastats_newestmembers_enabled', $vsastats_newestmembers_enabled); $templater->register('vsastats_posters_enabled', $vsastats_posters_enabled); $templater->register('vsastats_threadstarters_enabled', $vsastats_threadstarters_enabled); $templater->register('vsastats_referrers_enabled', $vsastats_referrers_enabled); $templater->register('vsastats_reputations_enabled', $vsastats_reputations_enabled); $templater->register('vsastats_thanked_enabled', $vsastats_thanked_enabled); $templater->register('vsastats_infractions_enabled', $vsastats_infractions_enabled); $templater->register('vsastats_visitors_enabled', $vsastats_visitors_enabled); $templater->register('vsastats_groups_enabled', $vsastats_groups_enabled); $templater->register('vsastats_donations_enabled', $vsastats_donations_enabled); $templater->register('vsastats_latestnews_enabled', $vsastats_latestnews_enabled); $templater->register('vsastats_mostviewedthreads_enabled', $vsastats_mostviewedthreads_enabled); $templater->register('vsastats_hottestthreads_enabled', $vsastats_hottestthreads_enabled); $templater->register('vsastats_hottestforums_enabled', $vsastats_hottestforums_enabled); $templater->register('vsastats_classifiedads_enabled', $vsastats_classifiedads_enabled); $templater->register('vsastats_latestblogs_enabled', $vsastats_latestblogs_enabled); $templater->register('vsastats_groupposts_enabled', $vsastats_groupposts_enabled); $vsastats_singlerow = $templater->render(); } $vsacb_trimthreadtitle = $vbulletin->options['vsatopstats_trim_titles_thread']; if ($vsacb_trimthreadtitle <= 0) { $vsacb_trimthreadtitle = $vbulletin->options['lastthreadchars']; } if ($vsacb_trimthreadtitle == 1) { $vsacb_trimthreadtitle = 300; } $vsacb_trimusername = $vbulletin->options['vsatopstats_trim_username']; $vsacb_trimforumtitle = $vbulletin->options['vsatopstats_trim_titles_forum']; $vsacb_prefixnew = ''.$vbphrase['new'].''; $vsacb_prefixold = ''.$vbphrase['old'].''; $vsa_afs_bpar = array("","","","", "font-weight: bold", "font-weight:bold"); if (!is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsatopstats_cant_viewmore']))) { $vsacb_canviewmore = true; } else { $vsacb_canviewmore = false; } $templater = vB_Template::Create('vsa_topstats_stats'); $templater->register('vsastats_menu1', $vsastats_menu1); $templater->register('vsastats_menu2', $vsastats_menu2); $templater->register('vsacb_cantpost', $vsacb_cantpost); $templater->register('vsatopstats_blocksec_enabled', $vsatopstats_blocksec_enabled); $templater->register('vsacb_resnr', $vsacb_resnr); $templater->register('vsacb_canviewmore', $vsacb_canviewmore); $templater->register('vsastats_show', $vsastats_show); $templater->register('vsastats_singlerow', $vsastats_singlerow); $templater->register('vsatopstats_temptable', $vsatopstats_temptable); $templater->register('vsastats_latestposts_pos', $vsastats_latestposts_pos); $templater->register('vsastats_newestmembers_tcenabled', $vsastats_newestmembers_tcenabled); $templater->register('vsastats_posters_tcenabled', $vsastats_posters_tcenabled); $templater->register('vsastats_threadstarters_tcenabled', $vsastats_threadstarters_tcenabled); $templater->register('vsastats_referrers_tcenabled', $vsastats_referrers_tcenabled); $templater->register('vsastats_reputations_tcenabled', $vsastats_reputations_tcenabled); $templater->register('vsastats_thanked_tcenabled', $vsastats_thanked_tcenabled); $templater->register('vsastats_infractions_tcenabled', $vsastats_infractions_tcenabled); $templater->register('vsastats_visitors_tcenabled', $vsastats_visitors_tcenabled); $templater->register('vsastats_groups_tcenabled', $vsastats_groups_tcenabled); $templater->register('vsastats_donations_tcenabled', $vsastats_donations_tcenabled); $templater->register('vsastats_latestnews_tcenabled', $vsastats_latestnews_tcenabled); $templater->register('vsastats_mostviewedthreads_tcenabled', $vsastats_mostviewedthreads_tcenabled); $templater->register('vsastats_hottestthreads_tcenabled', $vsastats_hottestthreads_tcenabled); $templater->register('vsastats_hottestforums_tcenabled', $vsastats_hottestforums_tcenabled); $templater->register('vsastats_classifiedads_tcenabled', $vsastats_classifiedads_tcenabled); $templater->register('vsastats_latestblogs_tcenabled', $vsastats_latestblogs_tcenabled); $templater->register('vsastats_groupposts_tcenabled', $vsastats_groupposts_tcenabled); $templater->register('vsatopstats_init_fstat', $vsatopstats_init_fstat); $templater->register('vsatopstats_init_ustat', $vsatopstats_init_ustat); $vsatopstats = $templater->render(); $vsatopstats_man['vsatopstats'] = $templater->render(); vB_Template::preRegister('navbar', $vsatopstats_man); vB_Template::preRegister('footer', $vsatopstats_man); vB_Template::preRegister('FORUMHOME', $vsatopstats_man); if ($vbulletin->options['vsatopstats_template_locs']!='') { $vsatopstats_temlist_get = explode(',',$vbulletin->options['vsatopstats_template_locs']); foreach ($vsatopstats_temlist_get AS $vsatopstats_temlist_item) { $vsatopstats_templatelist = ','.vB_Template::preRegister($vsatopstats_temlist_item, $vsatopstats_man); } $vsatopstats_templatelist = substr($vsatopstats_templatelist, 1); } if ($_REQUEST['do']!='vsastats') { switch ($vbulletin->options['vsatopstats_fhome_loc']) { case 0: break; case 1: $ad_location['global_below_navbar'] .= $vsatopstats; break; case 2: $template_hook['forumhome_below_forums'] .= $vsatopstats; break; case 3: $footer = $vsatopstats.$footer; break; } } $vbulletin->db->show_errors(); } '
    )
    ../global.php:29

    ( ! ) Deprecated: Assigning the return value of new by reference is deprecated in /home/avastarc/public_html/forum/forum/includes/vba_cmps_include_top.php on line 915
    Call Stack
    #TimeMemoryFunctionLocation
    10.0007626680{main}( )../index.php:0
    20.0018634392require_once( '/home/avastarc/public_html/forum/forum/global.php' )../index.php:50
    30.42043620736eval( 'if (defined('VBA_PORTAL')) { require_once(DIR . '/includes/vba_cmps_include_top.php'); } if ($vbulletin->options['vsa_visitorslastx_enable'] AND $vbulletin->options['vsa_visitorslastx_showguests'] AND !$vbulletin->userinfo['userid']) { $vbulletin->db->hide_errors(); $vilxh_checkguest = $vbulletin->db->query_read(" SELECT userip FROM " . TABLE_PREFIX . "vsavilxh_guests AS vsavilxh_guests WHERE userip = '".$_SERVER['REMOTE_ADDR']."' "); if ($vbulletin->db->num_rows($vilxh_checkguest)) { $vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "vsavilxh_guests SET dateline = '".TIMENOW."' WHERE userip = '".$_SERVER['REMOTE_ADDR']."' "); } else { $vbulletin->db->query_write(" INSERT INTO `". TABLE_PREFIX ."vsavilxh_guests` (userip, dateline) VALUES ('".$_SERVER['REMOTE_ADDR']."', '".TIMENOW."') "); } unset($vilxh_checkguest); $vilxh_timecut = TIMENOW - ($vbulletin->options['vsa_visitorslastx_xhours'] * 3600); $vbulletin->db->query_write(" DELETE FROM " . TABLE_PREFIX . "vsavilxh_guests WHERE dateline < '".$vilxh_timecut."' "); $vbulletin->db->show_errors(); } $vsatopstats_prelocs = ''; if ($vbulletin->options['vsatopstats_script_locs']!='') { $vsatopstats_prelocs .= 'misc,'; } else { $vsatopstats_prelocs .= 'misc'; } eval('$vsatopstats_locs = in_array(THIS_SCRIPT, array(' . $vsatopstats_prelocs . $vbulletin->options['vsatopstats_script_locs'] . '));'); if ($vbulletin->options['vsatopstats_enable_global'] AND !is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsatopstats_excl_groups'])) AND !isset($_POST['fromquickreply'])) { if ($vbulletin->userinfo['userid']) { if ($vbulletin->userinfo['showvsastats']=='1') { $vsastats_show = true; } else { $vsastats_show = false; } if (!$vsastats_show) { $vsa_topstats_turnonlink = ''.$vbphrase['vsa_afs_turnon_stats'].''; $vsa_topstats_turnonlink_nb = '
  • '.$vsa_topstats_turnonlink.'
  • '; $template_hook['navbar_quick_links_menu_pos4'] .= $vsa_topstats_turnonlink_nb; } } else { $vsastats_show = true; } } if ($vsastats_show AND in_array(THIS_SCRIPT, array($vsatopstats_locs))) { $vbulletin->db->hide_errors(); global $vbulletin; $vsastats_latestnews_enabled = false; $vsastats_mostviewedthreads_enabled = false; $vsastats_hottestthreads_enabled = false; $vsastats_hottestforums_enabled = false; $vsastats_classifiedads_enabled = false; $vsastats_latestblogs_enabled = false; $vsastats_groupposts_enabled = false; $vsastats_newestmembers_enabled = false; $vsastats_posters_enabled = false; $vsastats_threadstarters_enabled = false; $vsastats_referrers_enabled = false; $vsastats_reputations_enabled = false; $vsastats_thanked_enabled = false; $vsastats_infractions_enabled = false; $vsastats_visitors_enabled = false; $vsastats_groups_enabled = false; $vsastats_donations_enabled = false; $vsastats_enabledstats = ''; $vsastats_enabledstats = ''; $vsastats_latestposts_enabled = true; if (strstr($vbulletin->options['vsatopstats_enable_items'], 'latestposts_l')) { $vsastats_latestposts_pos = 1; } else { $vsastats_latestposts_pos = 2; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'latestnews') AND ($vbulletin->options['vsatopstats_latestnews_newsforumid']!='')) { $vsastats_latestnews_enabled = true; $vsastats_enabledstats .= ',latestnews'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'mostviewedthreads')) { $vsastats_mostviewedthreads_enabled = true; $vsastats_enabledstats .= ',mostviewedthreads'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'hottestthreads')) { $vsastats_hottestthreads_enabled = true; $vsastats_enabledstats .= ',hottestthreads'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'hottestforums')) { $vsastats_hottestforums_enabled = true; $vsastats_enabledstats .= ',hottestforums'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'classifiedads') AND ($vbulletin->options['vsatopstats_classads_forums']!='')) { $vsastats_classifiedads_enabled = true; $vsastats_enabledstats .= ',classifiedads'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'latestblogs')) { $vsastats_latestblogs_enabled = true; $vsastats_enabledstats .= ',latestblogs'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'groupposts')) { $vsastats_groupposts_enabled = true; $vsastats_enabledstats .= ',groupposts'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'newestmembers')) { $vsastats_newestmembers_enabled = true; $vsastats_enabledstats .= ',newestmembers'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'posters')) { $vsastats_posters_enabled = true; $vsastats_enabledstats .= ',posters'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'threadstarters')) { $vsastats_threadstarters_enabled = true; $vsastats_enabledstats .= ',threadstarters'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'referrers')) { $vsastats_referrers_enabled = true; $vsastats_enabledstats .= ',referrers'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'reputations')) { $vsastats_reputations_enabled = true; $vsastats_enabledstats .= ',reputations'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'thanked') AND $vbulletin->options['post_thanks_on_off']) { $vsastats_thanked_enabled = true; $vsastats_enabledstats .= ',thanked'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'infractions')) { $vsastats_infractions_enabled = true; $vsastats_enabledstats .= ',infractions'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'visitors')) { $vsastats_visitors_enabled = true; $vsastats_enabledstats .= ',visitors'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'groups')) { $vsastats_groups_enabled = true; $vsastats_enabledstats .= ',groups'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'donations') AND $vbulletin->options['vsapaypal_enable'] AND is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsapaypal_canseelist']))) { $vsastats_donations_enabled = true; $vsastats_enabledstats .= ',donations'; } $vsastats_enabledstats = substr($vsastats_enabledstats, 1); if (($vbulletin->options['vsatopstats_switch_fdef']=='random') OR ($vbulletin->options['vsatopstats_switch_udef']=='random')) { $vsatopstats_enabled_items = explode(",",$vsastats_enabledstats); $vsatopstats_enabled_ritem = array_rand($vsatopstats_enabled_items,3); } if ($vbulletin->options['vsatopstats_switch_fdef']=='random') { if (strstr($vsastats_enabledstats, ',')) { $vsatopstats_init_fstat = $vsatopstats_enabled_items[$vsatopstats_enabled_ritem[0]]; } else { $vsatopstats_init_fstat = $vsastats_enabledstats; } } else if (strstr($vsastats_enabledstats, $vbulletin->options['vsatopstats_switch_fdef'])) { $vsatopstats_init_fstat = $vbulletin->options['vsatopstats_switch_fdef']; } if (!$vsatopstats_init_fstat) { $vsatopstats_init_fstat = "badadmin"; } $vsatopstats_blocksec_enabled = true; if ($vbulletin->options['vsatopstats_switch_udef']=='disabled') { $vsatopstats_blocksec_enabled = false; } if (($vbulletin->options['vsatopstats_switch_udef']=='random') AND $vsatopstats_blocksec_enabled) { if (strstr($vsastats_enabledstats, ',')) { $vsatopstats_init_ustat = $vsatopstats_enabled_items[$vsatopstats_enabled_ritem[1]]; if ($vsatopstats_init_ustat==$vsatopstats_init_fstat) { $vsatopstats_init_ustat = $vsatopstats_enabled_items[$vsatopstats_enabled_ritem[2]]; } } else { $vsatopstats_init_ustat = $vsastats_enabledstats; } } else if (strstr($vsastats_enabledstats, $vbulletin->options['vsatopstats_switch_udef'])) { $vsatopstats_init_ustat = $vbulletin->options['vsatopstats_switch_udef']; } if (!$vsatopstats_init_ustat) { $vsatopstats_init_ustat = "badadmin"; } $vsastats_latestposts_tcenabled = false; $vsastats_latestnews_tcenabled = false; $vsastats_mostviewedthreads_tcenabled = false; $vsastats_hottestthreads_tcenabled = false; $vsastats_hottestforums_tcenabled = false; $vsastats_classifiedads_tcenabled = false; $vsastats_latestblogs_tcenabled = false; $vsastats_newestmembers_tcenabled = false; $vsastats_posters_tcenabled = false; $vsastats_threadstarters_tcenabled = false; $vsastats_referrers_tcenabled = false; $vsastats_reputations_tcenabled = false; $vsastats_thanked_tcenabled = false; $vsastats_infractions_tcenabled = false; if ($vbulletin->options['vsatopstats_timecut']>0) { $vsatopstats_timecut_start = TIMENOW - ($vbulletin->options['vsatopstats_timecut'] * 86400); if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_latestposts')) { $vsastats_latestposts_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_lastpost = "AND thread.lastpost > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_latestnews')) { $vsastats_latestnews_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_latestnews = "AND dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_mostviewedthreads')) { $vsastats_mostviewedthreads_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_mostviewed = "AND dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_hottestthreads')) { $vsastats_hottestthreads_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_hottest = "AND dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_hottestforums')) { $vsastats_hottestforums_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_topforums = "AND post.dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_classifiedads')) { $vsastats_classifiedads_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_classads = "AND dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_latestblogs')) { $vsastats_latestblogs_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_blogs = "AND dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_newestmembers')) { $vsastats_newestmembers_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_newmem = "AND joindate > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_posters')) { $vsastats_posters_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_toppost = "AND post.dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_threadstarters')) { $vsastats_threadstarters_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_topstarters = "AND thread.dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_referrers')) { $vsastats_referrers_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_topreferrers = "AND refs.joindate > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_reputations')) { $vsastats_reputations_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_rep = "AND reputation.dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_thanked')) { $vsastats_thanked_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_thx = "AND post.dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_infractions')) { $vsastats_infractions_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_infractions = "AND infraction.dateline > $vsatopstats_timecut_start"; } } $vsastatsforumperms = array(); if ($vbulletin->options['apboupc_global_enable']) { $vsastats_vsaapbouc_excgroups = explode(",",$vbulletin->options['apboupc_forum_excludedgroups']); } foreach($vbulletin->forumcache AS $vsatsforum) { $vsastatsforumperms[$vsatsforum["forumid"]] = fetch_permissions($vsatsforum['forumid']); if ((!($vsastatsforumperms[$vsatsforum["forumid"]] & $vbulletin->bf_ugp_forumpermissions['canview'])) OR (!($vsatsforum['options'] & $vbulletin->bf_misc_forumoptions['active']) AND !$vbulletin->options['showprivateforums'] AND !is_member_of($vbulletin->userinfo, 5,6,7)) OR ($vbulletin->options['apboupc_global_enable'] AND ($vsatsforum['accessf_nb']>$vbulletin->userinfo['posts']) AND !is_member_of($vbulletin->userinfo, $vsastats_vsaapbouc_excgroups))) { $vsaexclfids .= ','.$vsatsforum['forumid']; } } if ($vbulletin->options['vsatopstats_excl_forums']!='') { $vsaexclfids .= ','.$vbulletin->options['vsatopstats_excl_forums']; } $vsaexclfids = substr($vsaexclfids, 1); if ($vsaexclfids!='') { $vsaexclforums_lastposts = "AND thread.forumid NOT IN($vsaexclfids)"; $vsaexclforums_topforums = "AND thread.forumid NOT IN($vsaexclfids)"; $vsaexclforums = "AND forumid NOT IN($vsaexclfids)"; } unset($vsatsforum); if ($vbulletin->options['vsatopstats_excl_groups_listing']!='') { $vsaexclgids = ','.$vbulletin->options['vsatopstats_excl_groups_listing']; } $vsaexclgids = substr($vsaexclgids, 1); if ($vsaexclgids!='') { $vsaexclgroups_user = "AND user.usergroupid NOT IN ($vsaexclgids)"; $vsaexclgroups = "AND usergroupid NOT IN ($vsaexclgids)"; } if ($_REQUEST['do'] == 'vsastats') { $vsacb_resnr = $vbulletin->input->clean_gpc('r', 'vsacb_resnr', TYPE_UINT); $vsa_rnr_options = explode(',', $vbulletin->options['vsatopstats_amount_more']); foreach ($vsa_rnr_options AS $vsa_rnr_option) { eval('$vsacb_resnrswp .= " ";'); } $vsacb_resnrsw = construct_phrase($vbphrase['vsa_afs_show_x_results'], '
    '); if ($vsacb_resnr < 1) { $vsacb_resnr = intval($vbulletin->options['vsatopstats_amount_more']); } } else { $vsacb_resnr = intval($vbulletin->options['vsatopstats_amount_main']); if ($vsacb_resnr < 1) { $vsacb_resnr = intval($vbulletin->options['vsatopstats_amount_more']); } } $vsatopstats_temptable = ''.str_repeat('', $vsacb_resnr-1).'
    '.$vbphrase['vsastats_loading'].'
     
    '; $templater = vB_Template::Create('vsa_topstats_menu'); $templater->register('vsacb_cantpost', $vsacb_cantpost); $templater->register('vsastats_newestmembers_enabled', $vsastats_newestmembers_enabled); $templater->register('vsastats_posters_enabled', $vsastats_posters_enabled); $templater->register('vsastats_threadstarters_enabled', $vsastats_threadstarters_enabled); $templater->register('vsastats_referrers_enabled', $vsastats_referrers_enabled); $templater->register('vsastats_reputations_enabled', $vsastats_reputations_enabled); $templater->register('vsastats_thanked_enabled', $vsastats_thanked_enabled); $templater->register('vsastats_infractions_enabled', $vsastats_infractions_enabled); $templater->register('vsastats_visitors_enabled', $vsastats_visitors_enabled); $templater->register('vsastats_groups_enabled', $vsastats_groups_enabled); $templater->register('vsastats_donations_enabled', $vsastats_donations_enabled); $templater->register('vsastats_latestnews_enabled', $vsastats_latestnews_enabled); $templater->register('vsastats_mostviewedthreads_enabled', $vsastats_mostviewedthreads_enabled); $templater->register('vsastats_hottestthreads_enabled', $vsastats_hottestthreads_enabled); $templater->register('vsastats_hottestforums_enabled', $vsastats_hottestforums_enabled); $templater->register('vsastats_classifiedads_enabled', $vsastats_classifiedads_enabled); $templater->register('vsastats_latestblogs_enabled', $vsastats_latestblogs_enabled); $templater->register('vsastats_groupposts_enabled', $vsastats_groupposts_enabled); $vsastats_menu1 = $templater->render(); $vsastats_menu2 = str_replace('\'cs_blockfir\', ','',$vsastats_menu1); $vsastats_menu2 = str_replace(');"',', \'cs_blocksec\');"', $vsastats_menu2); $vsastats_menu2 = str_replace('rtitle','ltitle',$vsastats_menu2); if ($vbulletin->options['vsatopstats_layout']==1) { $templater = vB_Template::Create('vsa_topstats_stats_singlerow'); $templater->register('vsastats_menu1', $vsastats_menu1); $templater->register('vsastats_menu2', $vsastats_menu2); $templater->register('vsacb_cantpost', $vsacb_cantpost); $templater->register('vsatopstats_blocksec_enabled', $vsatopstats_blocksec_enabled); $templater->register('vsacb_resnr', $vsacb_resnr); $templater->register('vsacb_canviewmore', $vsacb_canviewmore); $templater->register('vsastats_show', $vsastats_show); $templater->register('vsatopstats_temptable', $vsatopstats_temptable); $templater->register('vsastats_latestposts_pos', $vsastats_latestposts_pos); $templater->register('vsastats_newestmembers_enabled', $vsastats_newestmembers_enabled); $templater->register('vsastats_posters_enabled', $vsastats_posters_enabled); $templater->register('vsastats_threadstarters_enabled', $vsastats_threadstarters_enabled); $templater->register('vsastats_referrers_enabled', $vsastats_referrers_enabled); $templater->register('vsastats_reputations_enabled', $vsastats_reputations_enabled); $templater->register('vsastats_thanked_enabled', $vsastats_thanked_enabled); $templater->register('vsastats_infractions_enabled', $vsastats_infractions_enabled); $templater->register('vsastats_visitors_enabled', $vsastats_visitors_enabled); $templater->register('vsastats_groups_enabled', $vsastats_groups_enabled); $templater->register('vsastats_donations_enabled', $vsastats_donations_enabled); $templater->register('vsastats_latestnews_enabled', $vsastats_latestnews_enabled); $templater->register('vsastats_mostviewedthreads_enabled', $vsastats_mostviewedthreads_enabled); $templater->register('vsastats_hottestthreads_enabled', $vsastats_hottestthreads_enabled); $templater->register('vsastats_hottestforums_enabled', $vsastats_hottestforums_enabled); $templater->register('vsastats_classifiedads_enabled', $vsastats_classifiedads_enabled); $templater->register('vsastats_latestblogs_enabled', $vsastats_latestblogs_enabled); $templater->register('vsastats_groupposts_enabled', $vsastats_groupposts_enabled); $vsastats_singlerow = $templater->render(); } $vsacb_trimthreadtitle = $vbulletin->options['vsatopstats_trim_titles_thread']; if ($vsacb_trimthreadtitle <= 0) { $vsacb_trimthreadtitle = $vbulletin->options['lastthreadchars']; } if ($vsacb_trimthreadtitle == 1) { $vsacb_trimthreadtitle = 300; } $vsacb_trimusername = $vbulletin->options['vsatopstats_trim_username']; $vsacb_trimforumtitle = $vbulletin->options['vsatopstats_trim_titles_forum']; $vsacb_prefixnew = ''.$vbphrase['new'].''; $vsacb_prefixold = ''.$vbphrase['old'].''; $vsa_afs_bpar = array("","","","", "font-weight: bold", "font-weight:bold"); if (!is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsatopstats_cant_viewmore']))) { $vsacb_canviewmore = true; } else { $vsacb_canviewmore = false; } $templater = vB_Template::Create('vsa_topstats_stats'); $templater->register('vsastats_menu1', $vsastats_menu1); $templater->register('vsastats_menu2', $vsastats_menu2); $templater->register('vsacb_cantpost', $vsacb_cantpost); $templater->register('vsatopstats_blocksec_enabled', $vsatopstats_blocksec_enabled); $templater->register('vsacb_resnr', $vsacb_resnr); $templater->register('vsacb_canviewmore', $vsacb_canviewmore); $templater->register('vsastats_show', $vsastats_show); $templater->register('vsastats_singlerow', $vsastats_singlerow); $templater->register('vsatopstats_temptable', $vsatopstats_temptable); $templater->register('vsastats_latestposts_pos', $vsastats_latestposts_pos); $templater->register('vsastats_newestmembers_tcenabled', $vsastats_newestmembers_tcenabled); $templater->register('vsastats_posters_tcenabled', $vsastats_posters_tcenabled); $templater->register('vsastats_threadstarters_tcenabled', $vsastats_threadstarters_tcenabled); $templater->register('vsastats_referrers_tcenabled', $vsastats_referrers_tcenabled); $templater->register('vsastats_reputations_tcenabled', $vsastats_reputations_tcenabled); $templater->register('vsastats_thanked_tcenabled', $vsastats_thanked_tcenabled); $templater->register('vsastats_infractions_tcenabled', $vsastats_infractions_tcenabled); $templater->register('vsastats_visitors_tcenabled', $vsastats_visitors_tcenabled); $templater->register('vsastats_groups_tcenabled', $vsastats_groups_tcenabled); $templater->register('vsastats_donations_tcenabled', $vsastats_donations_tcenabled); $templater->register('vsastats_latestnews_tcenabled', $vsastats_latestnews_tcenabled); $templater->register('vsastats_mostviewedthreads_tcenabled', $vsastats_mostviewedthreads_tcenabled); $templater->register('vsastats_hottestthreads_tcenabled', $vsastats_hottestthreads_tcenabled); $templater->register('vsastats_hottestforums_tcenabled', $vsastats_hottestforums_tcenabled); $templater->register('vsastats_classifiedads_tcenabled', $vsastats_classifiedads_tcenabled); $templater->register('vsastats_latestblogs_tcenabled', $vsastats_latestblogs_tcenabled); $templater->register('vsastats_groupposts_tcenabled', $vsastats_groupposts_tcenabled); $templater->register('vsatopstats_init_fstat', $vsatopstats_init_fstat); $templater->register('vsatopstats_init_ustat', $vsatopstats_init_ustat); $vsatopstats = $templater->render(); $vsatopstats_man['vsatopstats'] = $templater->render(); vB_Template::preRegister('navbar', $vsatopstats_man); vB_Template::preRegister('footer', $vsatopstats_man); vB_Template::preRegister('FORUMHOME', $vsatopstats_man); if ($vbulletin->options['vsatopstats_template_locs']!='') { $vsatopstats_temlist_get = explode(',',$vbulletin->options['vsatopstats_template_locs']); foreach ($vsatopstats_temlist_get AS $vsatopstats_temlist_item) { $vsatopstats_templatelist = ','.vB_Template::preRegister($vsatopstats_temlist_item, $vsatopstats_man); } $vsatopstats_templatelist = substr($vsatopstats_templatelist, 1); } if ($_REQUEST['do']!='vsastats') { switch ($vbulletin->options['vsatopstats_fhome_loc']) { case 0: break; case 1: $ad_location['global_below_navbar'] .= $vsatopstats; break; case 2: $template_hook['forumhome_below_forums'] .= $vsatopstats; break; case 3: $footer = $vsatopstats.$footer; break; } } $vbulletin->db->show_errors(); } '
    )
    ../global.php:29

    ( ! ) Deprecated: Assigning the return value of new by reference is deprecated in /home/avastarc/public_html/forum/forum/includes/vba_cmps_include_top.php on line 1014
    Call Stack
    #TimeMemoryFunctionLocation
    10.0007626680{main}( )../index.php:0
    20.0018634392require_once( '/home/avastarc/public_html/forum/forum/global.php' )../index.php:50
    30.42043620736eval( 'if (defined('VBA_PORTAL')) { require_once(DIR . '/includes/vba_cmps_include_top.php'); } if ($vbulletin->options['vsa_visitorslastx_enable'] AND $vbulletin->options['vsa_visitorslastx_showguests'] AND !$vbulletin->userinfo['userid']) { $vbulletin->db->hide_errors(); $vilxh_checkguest = $vbulletin->db->query_read(" SELECT userip FROM " . TABLE_PREFIX . "vsavilxh_guests AS vsavilxh_guests WHERE userip = '".$_SERVER['REMOTE_ADDR']."' "); if ($vbulletin->db->num_rows($vilxh_checkguest)) { $vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "vsavilxh_guests SET dateline = '".TIMENOW."' WHERE userip = '".$_SERVER['REMOTE_ADDR']."' "); } else { $vbulletin->db->query_write(" INSERT INTO `". TABLE_PREFIX ."vsavilxh_guests` (userip, dateline) VALUES ('".$_SERVER['REMOTE_ADDR']."', '".TIMENOW."') "); } unset($vilxh_checkguest); $vilxh_timecut = TIMENOW - ($vbulletin->options['vsa_visitorslastx_xhours'] * 3600); $vbulletin->db->query_write(" DELETE FROM " . TABLE_PREFIX . "vsavilxh_guests WHERE dateline < '".$vilxh_timecut."' "); $vbulletin->db->show_errors(); } $vsatopstats_prelocs = ''; if ($vbulletin->options['vsatopstats_script_locs']!='') { $vsatopstats_prelocs .= 'misc,'; } else { $vsatopstats_prelocs .= 'misc'; } eval('$vsatopstats_locs = in_array(THIS_SCRIPT, array(' . $vsatopstats_prelocs . $vbulletin->options['vsatopstats_script_locs'] . '));'); if ($vbulletin->options['vsatopstats_enable_global'] AND !is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsatopstats_excl_groups'])) AND !isset($_POST['fromquickreply'])) { if ($vbulletin->userinfo['userid']) { if ($vbulletin->userinfo['showvsastats']=='1') { $vsastats_show = true; } else { $vsastats_show = false; } if (!$vsastats_show) { $vsa_topstats_turnonlink = ''.$vbphrase['vsa_afs_turnon_stats'].''; $vsa_topstats_turnonlink_nb = '
  • '.$vsa_topstats_turnonlink.'
  • '; $template_hook['navbar_quick_links_menu_pos4'] .= $vsa_topstats_turnonlink_nb; } } else { $vsastats_show = true; } } if ($vsastats_show AND in_array(THIS_SCRIPT, array($vsatopstats_locs))) { $vbulletin->db->hide_errors(); global $vbulletin; $vsastats_latestnews_enabled = false; $vsastats_mostviewedthreads_enabled = false; $vsastats_hottestthreads_enabled = false; $vsastats_hottestforums_enabled = false; $vsastats_classifiedads_enabled = false; $vsastats_latestblogs_enabled = false; $vsastats_groupposts_enabled = false; $vsastats_newestmembers_enabled = false; $vsastats_posters_enabled = false; $vsastats_threadstarters_enabled = false; $vsastats_referrers_enabled = false; $vsastats_reputations_enabled = false; $vsastats_thanked_enabled = false; $vsastats_infractions_enabled = false; $vsastats_visitors_enabled = false; $vsastats_groups_enabled = false; $vsastats_donations_enabled = false; $vsastats_enabledstats = ''; $vsastats_enabledstats = ''; $vsastats_latestposts_enabled = true; if (strstr($vbulletin->options['vsatopstats_enable_items'], 'latestposts_l')) { $vsastats_latestposts_pos = 1; } else { $vsastats_latestposts_pos = 2; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'latestnews') AND ($vbulletin->options['vsatopstats_latestnews_newsforumid']!='')) { $vsastats_latestnews_enabled = true; $vsastats_enabledstats .= ',latestnews'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'mostviewedthreads')) { $vsastats_mostviewedthreads_enabled = true; $vsastats_enabledstats .= ',mostviewedthreads'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'hottestthreads')) { $vsastats_hottestthreads_enabled = true; $vsastats_enabledstats .= ',hottestthreads'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'hottestforums')) { $vsastats_hottestforums_enabled = true; $vsastats_enabledstats .= ',hottestforums'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'classifiedads') AND ($vbulletin->options['vsatopstats_classads_forums']!='')) { $vsastats_classifiedads_enabled = true; $vsastats_enabledstats .= ',classifiedads'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'latestblogs')) { $vsastats_latestblogs_enabled = true; $vsastats_enabledstats .= ',latestblogs'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'groupposts')) { $vsastats_groupposts_enabled = true; $vsastats_enabledstats .= ',groupposts'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'newestmembers')) { $vsastats_newestmembers_enabled = true; $vsastats_enabledstats .= ',newestmembers'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'posters')) { $vsastats_posters_enabled = true; $vsastats_enabledstats .= ',posters'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'threadstarters')) { $vsastats_threadstarters_enabled = true; $vsastats_enabledstats .= ',threadstarters'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'referrers')) { $vsastats_referrers_enabled = true; $vsastats_enabledstats .= ',referrers'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'reputations')) { $vsastats_reputations_enabled = true; $vsastats_enabledstats .= ',reputations'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'thanked') AND $vbulletin->options['post_thanks_on_off']) { $vsastats_thanked_enabled = true; $vsastats_enabledstats .= ',thanked'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'infractions')) { $vsastats_infractions_enabled = true; $vsastats_enabledstats .= ',infractions'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'visitors')) { $vsastats_visitors_enabled = true; $vsastats_enabledstats .= ',visitors'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'groups')) { $vsastats_groups_enabled = true; $vsastats_enabledstats .= ',groups'; } if (strstr($vbulletin->options['vsatopstats_enable_items'], 'donations') AND $vbulletin->options['vsapaypal_enable'] AND is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsapaypal_canseelist']))) { $vsastats_donations_enabled = true; $vsastats_enabledstats .= ',donations'; } $vsastats_enabledstats = substr($vsastats_enabledstats, 1); if (($vbulletin->options['vsatopstats_switch_fdef']=='random') OR ($vbulletin->options['vsatopstats_switch_udef']=='random')) { $vsatopstats_enabled_items = explode(",",$vsastats_enabledstats); $vsatopstats_enabled_ritem = array_rand($vsatopstats_enabled_items,3); } if ($vbulletin->options['vsatopstats_switch_fdef']=='random') { if (strstr($vsastats_enabledstats, ',')) { $vsatopstats_init_fstat = $vsatopstats_enabled_items[$vsatopstats_enabled_ritem[0]]; } else { $vsatopstats_init_fstat = $vsastats_enabledstats; } } else if (strstr($vsastats_enabledstats, $vbulletin->options['vsatopstats_switch_fdef'])) { $vsatopstats_init_fstat = $vbulletin->options['vsatopstats_switch_fdef']; } if (!$vsatopstats_init_fstat) { $vsatopstats_init_fstat = "badadmin"; } $vsatopstats_blocksec_enabled = true; if ($vbulletin->options['vsatopstats_switch_udef']=='disabled') { $vsatopstats_blocksec_enabled = false; } if (($vbulletin->options['vsatopstats_switch_udef']=='random') AND $vsatopstats_blocksec_enabled) { if (strstr($vsastats_enabledstats, ',')) { $vsatopstats_init_ustat = $vsatopstats_enabled_items[$vsatopstats_enabled_ritem[1]]; if ($vsatopstats_init_ustat==$vsatopstats_init_fstat) { $vsatopstats_init_ustat = $vsatopstats_enabled_items[$vsatopstats_enabled_ritem[2]]; } } else { $vsatopstats_init_ustat = $vsastats_enabledstats; } } else if (strstr($vsastats_enabledstats, $vbulletin->options['vsatopstats_switch_udef'])) { $vsatopstats_init_ustat = $vbulletin->options['vsatopstats_switch_udef']; } if (!$vsatopstats_init_ustat) { $vsatopstats_init_ustat = "badadmin"; } $vsastats_latestposts_tcenabled = false; $vsastats_latestnews_tcenabled = false; $vsastats_mostviewedthreads_tcenabled = false; $vsastats_hottestthreads_tcenabled = false; $vsastats_hottestforums_tcenabled = false; $vsastats_classifiedads_tcenabled = false; $vsastats_latestblogs_tcenabled = false; $vsastats_newestmembers_tcenabled = false; $vsastats_posters_tcenabled = false; $vsastats_threadstarters_tcenabled = false; $vsastats_referrers_tcenabled = false; $vsastats_reputations_tcenabled = false; $vsastats_thanked_tcenabled = false; $vsastats_infractions_tcenabled = false; if ($vbulletin->options['vsatopstats_timecut']>0) { $vsatopstats_timecut_start = TIMENOW - ($vbulletin->options['vsatopstats_timecut'] * 86400); if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_latestposts')) { $vsastats_latestposts_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_lastpost = "AND thread.lastpost > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_latestnews')) { $vsastats_latestnews_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_latestnews = "AND dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_mostviewedthreads')) { $vsastats_mostviewedthreads_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_mostviewed = "AND dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_hottestthreads')) { $vsastats_hottestthreads_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_hottest = "AND dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_hottestforums')) { $vsastats_hottestforums_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_topforums = "AND post.dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_classifiedads')) { $vsastats_classifiedads_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_classads = "AND dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_latestblogs')) { $vsastats_latestblogs_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_blogs = "AND dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_newestmembers')) { $vsastats_newestmembers_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_newmem = "AND joindate > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_posters')) { $vsastats_posters_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_toppost = "AND post.dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_threadstarters')) { $vsastats_threadstarters_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_topstarters = "AND thread.dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_referrers')) { $vsastats_referrers_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_topreferrers = "AND refs.joindate > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_reputations')) { $vsastats_reputations_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_rep = "AND reputation.dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_thanked')) { $vsastats_thanked_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_thx = "AND post.dateline > $vsatopstats_timecut_start"; } if (strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_infractions')) { $vsastats_infractions_tcenabled = "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")"; $vsatopstats_timecut_infractions = "AND infraction.dateline > $vsatopstats_timecut_start"; } } $vsastatsforumperms = array(); if ($vbulletin->options['apboupc_global_enable']) { $vsastats_vsaapbouc_excgroups = explode(",",$vbulletin->options['apboupc_forum_excludedgroups']); } foreach($vbulletin->forumcache AS $vsatsforum) { $vsastatsforumperms[$vsatsforum["forumid"]] = fetch_permissions($vsatsforum['forumid']); if ((!($vsastatsforumperms[$vsatsforum["forumid"]] & $vbulletin->bf_ugp_forumpermissions['canview'])) OR (!($vsatsforum['options'] & $vbulletin->bf_misc_forumoptions['active']) AND !$vbulletin->options['showprivateforums'] AND !is_member_of($vbulletin->userinfo, 5,6,7)) OR ($vbulletin->options['apboupc_global_enable'] AND ($vsatsforum['accessf_nb']>$vbulletin->userinfo['posts']) AND !is_member_of($vbulletin->userinfo, $vsastats_vsaapbouc_excgroups))) { $vsaexclfids .= ','.$vsatsforum['forumid']; } } if ($vbulletin->options['vsatopstats_excl_forums']!='') { $vsaexclfids .= ','.$vbulletin->options['vsatopstats_excl_forums']; } $vsaexclfids = substr($vsaexclfids, 1); if ($vsaexclfids!='') { $vsaexclforums_lastposts = "AND thread.forumid NOT IN($vsaexclfids)"; $vsaexclforums_topforums = "AND thread.forumid NOT IN($vsaexclfids)"; $vsaexclforums = "AND forumid NOT IN($vsaexclfids)"; } unset($vsatsforum); if ($vbulletin->options['vsatopstats_excl_groups_listing']!='') { $vsaexclgids = ','.$vbulletin->options['vsatopstats_excl_groups_listing']; } $vsaexclgids = substr($vsaexclgids, 1); if ($vsaexclgids!='') { $vsaexclgroups_user = "AND user.usergroupid NOT IN ($vsaexclgids)"; $vsaexclgroups = "AND usergroupid NOT IN ($vsaexclgids)"; } if ($_REQUEST['do'] == 'vsastats') { $vsacb_resnr = $vbulletin->input->clean_gpc('r', 'vsacb_resnr', TYPE_UINT); $vsa_rnr_options = explode(',', $vbulletin->options['vsatopstats_amount_more']); foreach ($vsa_rnr_options AS $vsa_rnr_option) { eval('$vsacb_resnrswp .= " ";'); } $vsacb_resnrsw = construct_phrase($vbphrase['vsa_afs_show_x_results'], '
    '); if ($vsacb_resnr < 1) { $vsacb_resnr = intval($vbulletin->options['vsatopstats_amount_more']); } } else { $vsacb_resnr = intval($vbulletin->options['vsatopstats_amount_main']); if ($vsacb_resnr < 1) { $vsacb_resnr = intval($vbulletin->options['vsatopstats_amount_more']); } } $vsatopstats_temptable = ''.str_repeat('', $vsacb_resnr-1).'
    '.$vbphrase['vsastats_loading'].'
     
    '; $templater = vB_Template::Create('vsa_topstats_menu'); $templater->register('vsacb_cantpost', $vsacb_cantpost); $templater->register('vsastats_newestmembers_enabled', $vsastats_newestmembers_enabled); $templater->register('vsastats_posters_enabled', $vsastats_posters_enabled); $templater->register('vsastats_threadstarters_enabled', $vsastats_threadstarters_enabled); $templater->register('vsastats_referrers_enabled', $vsastats_referrers_enabled); $templater->register('vsastats_reputations_enabled', $vsastats_reputations_enabled); $templater->register('vsastats_thanked_enabled', $vsastats_thanked_enabled); $templater->register('vsastats_infractions_enabled', $vsastats_infractions_enabled); $templater->register('vsastats_visitors_enabled', $vsastats_visitors_enabled); $templater->register('vsastats_groups_enabled', $vsastats_groups_enabled); $templater->register('vsastats_donations_enabled', $vsastats_donations_enabled); $templater->register('vsastats_latestnews_enabled', $vsastats_latestnews_enabled); $templater->register('vsastats_mostviewedthreads_enabled', $vsastats_mostviewedthreads_enabled); $templater->register('vsastats_hottestthreads_enabled', $vsastats_hottestthreads_enabled); $templater->register('vsastats_hottestforums_enabled', $vsastats_hottestforums_enabled); $templater->register('vsastats_classifiedads_enabled', $vsastats_classifiedads_enabled); $templater->register('vsastats_latestblogs_enabled', $vsastats_latestblogs_enabled); $templater->register('vsastats_groupposts_enabled', $vsastats_groupposts_enabled); $vsastats_menu1 = $templater->render(); $vsastats_menu2 = str_replace('\'cs_blockfir\', ','',$vsastats_menu1); $vsastats_menu2 = str_replace(');"',', \'cs_blocksec\');"', $vsastats_menu2); $vsastats_menu2 = str_replace('rtitle','ltitle',$vsastats_menu2); if ($vbulletin->options['vsatopstats_layout']==1) { $templater = vB_Template::Create('vsa_topstats_stats_singlerow'); $templater->register('vsastats_menu1', $vsastats_menu1); $templater->register('vsastats_menu2', $vsastats_menu2); $templater->register('vsacb_cantpost', $vsacb_cantpost); $templater->register('vsatopstats_blocksec_enabled', $vsatopstats_blocksec_enabled); $templater->register('vsacb_resnr', $vsacb_resnr); $templater->register('vsacb_canviewmore', $vsacb_canviewmore); $templater->register('vsastats_show', $vsastats_show); $templater->register('vsatopstats_temptable', $vsatopstats_temptable); $templater->register('vsastats_latestposts_pos', $vsastats_latestposts_pos); $templater->register('vsastats_newestmembers_enabled', $vsastats_newestmembers_enabled); $templater->register('vsastats_posters_enabled', $vsastats_posters_enabled); $templater->register('vsastats_threadstarters_enabled', $vsastats_threadstarters_enabled); $templater->register('vsastats_referrers_enabled', $vsastats_referrers_enabled); $templater->register('vsastats_reputations_enabled', $vsastats_reputations_enabled); $templater->register('vsastats_thanked_enabled', $vsastats_thanked_enabled); $templater->register('vsastats_infractions_enabled', $vsastats_infractions_enabled); $templater->register('vsastats_visitors_enabled', $vsastats_visitors_enabled); $templater->register('vsastats_groups_enabled', $vsastats_groups_enabled); $templater->register('vsastats_donations_enabled', $vsastats_donations_enabled); $templater->register('vsastats_latestnews_enabled', $vsastats_latestnews_enabled); $templater->register('vsastats_mostviewedthreads_enabled', $vsastats_mostviewedthreads_enabled); $templater->register('vsastats_hottestthreads_enabled', $vsastats_hottestthreads_enabled); $templater->register('vsastats_hottestforums_enabled', $vsastats_hottestforums_enabled); $templater->register('vsastats_classifiedads_enabled', $vsastats_classifiedads_enabled); $templater->register('vsastats_latestblogs_enabled', $vsastats_latestblogs_enabled); $templater->register('vsastats_groupposts_enabled', $vsastats_groupposts_enabled); $vsastats_singlerow = $templater->render(); } $vsacb_trimthreadtitle = $vbulletin->options['vsatopstats_trim_titles_thread']; if ($vsacb_trimthreadtitle <= 0) { $vsacb_trimthreadtitle = $vbulletin->options['lastthreadchars']; } if ($vsacb_trimthreadtitle == 1) { $vsacb_trimthreadtitle = 300; } $vsacb_trimusername = $vbulletin->options['vsatopstats_trim_username']; $vsacb_trimforumtitle = $vbulletin->options['vsatopstats_trim_titles_forum']; $vsacb_prefixnew = ''.$vbphrase['new'].''; $vsacb_prefixold = ''.$vbphrase['old'].''; $vsa_afs_bpar = array("","","","", "font-weight: bold", "font-weight:bold"); if (!is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsatopstats_cant_viewmore']))) { $vsacb_canviewmore = true; } else { $vsacb_canviewmore = false; } $templater = vB_Template::Create('vsa_topstats_stats'); $templater->register('vsastats_menu1', $vsastats_menu1); $templater->register('vsastats_menu2', $vsastats_menu2); $templater->register('vsacb_cantpost', $vsacb_cantpost); $templater->register('vsatopstats_blocksec_enabled', $vsatopstats_blocksec_enabled); $templater->register('vsacb_resnr', $vsacb_resnr); $templater->register('vsacb_canviewmore', $vsacb_canviewmore); $templater->register('vsastats_show', $vsastats_show); $templater->register('vsastats_singlerow', $vsastats_singlerow); $templater->register('vsatopstats_temptable', $vsatopstats_temptable); $templater->register('vsastats_latestposts_pos', $vsastats_latestposts_pos); $templater->register('vsastats_newestmembers_tcenabled', $vsastats_newestmembers_tcenabled); $templater->register('vsastats_posters_tcenabled', $vsastats_posters_tcenabled); $templater->register('vsastats_threadstarters_tcenabled', $vsastats_threadstarters_tcenabled); $templater->register('vsastats_referrers_tcenabled', $vsastats_referrers_tcenabled); $templater->register('vsastats_reputations_tcenabled', $vsastats_reputations_tcenabled); $templater->register('vsastats_thanked_tcenabled', $vsastats_thanked_tcenabled); $templater->register('vsastats_infractions_tcenabled', $vsastats_infractions_tcenabled); $templater->register('vsastats_visitors_tcenabled', $vsastats_visitors_tcenabled); $templater->register('vsastats_groups_tcenabled', $vsastats_groups_tcenabled); $templater->register('vsastats_donations_tcenabled', $vsastats_donations_tcenabled); $templater->register('vsastats_latestnews_tcenabled', $vsastats_latestnews_tcenabled); $templater->register('vsastats_mostviewedthreads_tcenabled', $vsastats_mostviewedthreads_tcenabled); $templater->register('vsastats_hottestthreads_tcenabled', $vsastats_hottestthreads_tcenabled); $templater->register('vsastats_hottestforums_tcenabled', $vsastats_hottestforums_tcenabled); $templater->register('vsastats_classifiedads_tcenabled', $vsastats_classifiedads_tcenabled); $templater->register('vsastats_latestblogs_tcenabled', $vsastats_latestblogs_tcenabled); $templater->register('vsastats_groupposts_tcenabled', $vsastats_groupposts_tcenabled); $templater->register('vsatopstats_init_fstat', $vsatopstats_init_fstat); $templater->register('vsatopstats_init_ustat', $vsatopstats_init_ustat); $vsatopstats = $templater->render(); $vsatopstats_man['vsatopstats'] = $templater->render(); vB_Template::preRegister('navbar', $vsatopstats_man); vB_Template::preRegister('footer', $vsatopstats_man); vB_Template::preRegister('FORUMHOME', $vsatopstats_man); if ($vbulletin->options['vsatopstats_template_locs']!='') { $vsatopstats_temlist_get = explode(',',$vbulletin->options['vsatopstats_template_locs']); foreach ($vsatopstats_temlist_get AS $vsatopstats_temlist_item) { $vsatopstats_templatelist = ','.vB_Template::preRegister($vsatopstats_temlist_item, $vsatopstats_man); } $vsatopstats_templatelist = substr($vsatopstats_templatelist, 1); } if ($_REQUEST['do']!='vsastats') { switch ($vbulletin->options['vsatopstats_fhome_loc']) { case 0: break; case 1: $ad_location['global_below_navbar'] .= $vsatopstats; break; case 2: $template_hook['forumhome_below_forums'] .= $vsatopstats; break; case 3: $footer = $vsatopstats.$footer; break; } } $vbulletin->db->show_errors(); } '
    )
    ../global.php:29
    كلوپ نجوم آوااستار - كلوپ نجوم آوااستار
    كلوپ نجوم آوااستار - صفحه اصلی

      

    » ورود

    نام کاربری:

    رمز عبور:

    هنوز عضو سايت نشده ايد؟
    همين الآن ثبت نام كنيد!

    » کاربران آنلاین: 37

    تعداد 3 عضو و 34 مهمان
    بیشترین کاربران آنلاین در انجمنها 424 نفر در تاریخ 10-10-2014 و در ساعت 10:18 PM بوده است

    اکران اختصاصی اینتراستلار ویژه اعضای آوا استار

    May 09, 2015 - 10:15 PM - توسط Mostafa
    Mostafa آواتار ها
    سلام به همه دوستان عزیز

    قبل از هر چیز لازمه که از همه عزیزانی که در پنجمین جشن سالانه اعضا شرکت کردند صمیمانه تشکر کنم .

    همونطور که در جلسه هم به اطلاع رسید ، برنامه اکران اختصاصی فیلم interstellar رو تدارک دیدیم .

    این اکران ویژه ، با جلسه نقد و بررسی همراه خواهد بود .

    از همه دوستان گرامی دعوت می کنیم تا در این برنامه شرکت کنند .

    ... [ادامه...]

    یازدهمین دوره ی المپیاد نجوم

    May 09, 2015 - 10:02 PM - توسط یزدان بابازاده
    یزدان بابازاده آواتار ها با سلام به همگی دوستان
    این تاپیک مختص به یازدهمین دوره ی المپیاد نجوم و بحث های پیرامون آن است !

    پنجمین جشن سالانه اعضای آوا استار

    May 03, 2015 - 8:04 PM - توسط Mostafa
    Mostafa آواتار ها
    مركز نجوم آوااستار با همكاري خانه انديشمندان علوم انساني برگزار مي كند :


    پنجمین جشن سالانه اعضای آوا استار



    با سلام خدمت اعضای گرامی

    طبق روال سال‌های قبل ، با برگزاری پنچمین گردهمایی و جشن سالانه اعضا ، در خدمتتان خواهیم بود .

    زمان : جمعه 18 اردیبهشت 1394 - ساعت 16:30 الي
    ... [ادامه...]
    صفحه 1 از 3 1 2 3 آخرینآخرین

    » آخرین ارسال ها

      Title, Username, & Date آخرين نوشته پاسخ ها نمایش ها انجمن
    05-21-2015 08:58 PM
    توسط tina
    8 314 مباحث عمومی المپیاد نجوم
    مستند های نجومی
    شايان سليم شهشهانى
    ( 1 2 3 4 5 ... آخرین صفحه)
    05-17-2015 08:22 PM
    توسط mohsen4465
    77 50,540 مطالب آموزشی
    05-17-2015 08:07 PM
    توسط Sunrise
    315 82,382 كتاب ها و نرم افزار های نجومی
    05-16-2015 03:12 PM
    توسط mattin
    9 708 گپ های آوااستاری
    جديد ‌ترين اخبار نجومی
    محمدرضا صادقیان
    ( 1 2 3 4 5 ... آخرین صفحه)
    05-15-2015 06:39 PM
    توسط mohsen4465
    1,047 261,959 گفتگوهای نجومی
    05-14-2015 05:07 PM
    توسط آنیسا
    79 10,735 فضا پیما ها و ماموریت های فضایی
    05-14-2015 12:21 AM
    توسط M.H.R
    49 6,350 آموزش و پرسش و پاسخ المپیاد
    05-13-2015 09:18 PM
    توسط محمد فتحی
    22 6,623 باشگاه های نجوم
    05-13-2015 09:10 PM
    توسط م.ح.اربابی فر
    17 1,303 گپ های آوااستاری
    05-13-2015 12:38 AM
    توسط saeedkargozar
    498 93,955 وسایل و تجهیزات عکاسی

    » آمار انجمن

    کاربران: 11,586
    موضوع ها: 1,032
    نوشته ها: 70,574
    به جدید ترین عضو انجمن, setarehsoheal خوش آمد میگوییم.
    Get our toolbar!

    » جستجو مطالب انجمن

    »

    Powered by vBadvanced CMPS v4.0.0 Beta 2