build_featured_entry_datastore(); define('CP_REDIRECT', 'blog_admin.php?do=listfe'); print_stop_message('updated_featured_entry_successfully'); } if ($_REQUEST['do'] == 'removefe') { $vbulletin->input->clean_array_gpc('r', array('featureid' => TYPE_UINT)); print_delete_confirmation('blog_featured', $vbulletin->GPC['featureid'], 'blog_admin', 'killfe', 'featureid'); } if ($_POST['do'] == 'killfe') { $vbulletin->input->clean_array_gpc('p', array('featureid' => TYPE_UINT)); $getfeatureid = $db->query_first_slave("\r\n\t\tSELECT featureid\r\n\t\tFROM " . TABLE_PREFIX . "blog_featured\r\n\t\tWHERE featureid = " . $vbulletin->GPC['featureid']); if (!$getfeatureid) { print_stop_message('invalid_x_specified', 'featureid'); } else { $db->query_write("\r\n\t\t\tDELETE FROM " . TABLE_PREFIX . "blog_featured\r\n\t\t\tWHERE featureid = " . $vbulletin->GPC['featureid']); build_featured_entry_datastore(); define('CP_REDIRECT', 'blog_admin.php?do=listfe'); print_stop_message('deleted_featured_entry_successfully'); } } if ($_REQUEST['do'] == 'listcat') { if (empty($vbulletin->GPC['perpage'])) { $vbulletin->GPC['perpage'] = 20; } ?> <script type="text/javascript"> function js_jump(id, obj) { task = obj.options[obj.selectedIndex].value; switch (task)
/** * Step #5 - Upgrade to Blog 2.0.0 Beta 1 * Followup Step * */ function step_5() { if (!$this->verify_product_version('2.0.0 Beta 1')) { return; } require_once DIR . '/includes/blog_adminfunctions.php'; build_featured_entry_datastore(); }