} else { $l_total_post_s = $lang['Posted_articles_total']; } } if ($total_users == 0) { $l_total_user_s = $lang['Registered_users_zero_total']; } else { if ($total_users == 1) { $l_total_user_s = $lang['Registered_user_total']; } else { $l_total_user_s = $lang['Registered_users_total']; } } // End information for standard Who-is-online-Block // START Include-Blocks includeTickerBlock(); includeAuctionRoomBlock(); includeCloseToEndBlock(); includeStatisticBlock(); includeMyAuctionsBlock($userdata); includeCalendarBlock(); includeSearchBlock(); includeTermsBlock(); includeNewsBlock(); includeAuctionSpecialBlock(); includeAuctionDropDownRoomBlock(); includeLastBidsBlock(); includeNewestOffersBlock(); // END Include-Blocks // Mode setting if (isset($HTTP_POST_VARS['mode']) || isset($HTTP_GET_VARS['mode'])) {
$row['show_block_drop_down'] ? includeAuctionDropDownRoomBlock() : ""; if ($userdata['user_id'] == $HTTP_GET_VARS[POST_USERS_URL]) { $template->assign_block_vars('info_edit', array('L_STORE_EDIT' => $lang['store_edit'], 'U_STORE_EDIT' => append_sid("auction_mystore.php"))); } include $phpbb_root_path . 'auction/auction_header.' . $phpEx; $template->set_filenames(array('body' => 'auction_user_store.tpl')); $template->assign_block_vars('info', array('L_STORE_VIEW' => $lang['store_view'], 'U_STORE_VIEW' => append_sid("auction_store.php?mode=store&" . POST_USERS_URL . "=" . $HTTP_GET_VARS[POST_USERS_URL]), 'STORE_NAME' => stripslashes($row['store_name']), 'STORE_DESCRIPTION' => stripslashes($row['store_description']), 'STORE_HEADER' => stripslashes($row['store_header']))); break; case 'store': $sql = "SELECT *\r\n FROM " . AUCTION_USER_STORE_TABLE . "\r\n WHERE FK_user_id =" . $HTTP_GET_VARS[POST_USERS_URL]; if (!($result = $db->sql_query($sql))) { message_die(GENERAL_ERROR, 'Could not query user-store information', '', __LINE__, __FILE__, $sql); } // if $row = $db->sql_fetchrow($result); $row['show_block_ticker'] ? includeTickerBlock() : ""; $row['show_block_rooms'] ? includeAuctionRoomBlock() : ""; $row['show_block_closetoend'] ? includeCloseToEndBlock() : ""; $row['show_block_statistics'] ? includeStatisticBlock() : ""; $row['show_block_myauction'] ? includeMyAuctionsBlock($userdata) : ""; $row['show_block_calendar'] ? includeCalendarBlock() : ""; $row['show_block_search'] ? includeSearchBlock() : ""; $row['show_block_priceinfo'] ? includeTermsBlock() : ""; $row['show_block_specials'] ? includeAuctionSpecialBlock() : ""; $row['show_block_drop_down'] ? includeAuctionDropDownRoomBlock() : ""; if ($userdata['user_id'] == $HTTP_GET_VARS[POST_USERS_URL]) { $template->assign_block_vars('info_edit', array('L_STORE_EDIT' => $lang['store_edit'], 'U_STORE_EDIT' => append_sid("auction_mystore.php"))); } include $phpbb_root_path . 'auction/auction_header.' . $phpEx; $template->set_filenames(array('body' => 'auction_user_store.tpl')); $template->assign_block_vars('store', array('STORE_HEADER' => stripslashes($row['store_header'])));