PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/chappellefoodauctionmall.online/wp-content/themes/PennyTheme/lib/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/chappellefoodauctionmall.online/wp-content/themes/PennyTheme/lib/first_run.php |
<?php /*************************************************************************** * * PennyTheme - copyright (c) - sitemile.com * * Coder: Andrei Dragos Saioc * Email: sitemile[at]sitemile.com | andreisaioc[at]gmail.com * More info about the theme here: http://sitemile.com/p/penny * since v1.2 * ***************************************************************************/ global $pagenow; if ( is_admin() && 'themes.php' == $pagenow && isset( $_GET['activated'] ) ) { update_option('PennyTheme_right_side_footer', '<a title="Penny Auction Script" href="http://sitemile.com/products/wordpress-penny-auction-theme/">Penny Auction Script</a>'); update_option('PennyTheme_left_side_footer', 'Copyright (c) '.get_bloginfo('name')); update_option('PennyTheme_email_name_from', get_bloginfo('name')); update_option('PennyTheme_email_addr_from', get_bloginfo('admin_email')); PennyTheme_insert_pages('PennyTheme_all_cats_id', 'Show All Categories', '[penny_theme_show_all_categories]' ); PennyTheme_insert_pages('PennyTheme_watch_list_id', 'Watch List', '[penny_theme_watch_list]' ); PennyTheme_insert_pages('PennyTheme_adv_search_id', 'Advanced Search', '[penny_theme_adv_search]' ); PennyTheme_insert_pages('PennyTheme_my_account_page_id', 'My Account', '[penny_theme_my_account]' ); PennyTheme_insert_pages('PennyTheme_my_account_personal_info_page_id', 'Personal Information', '[penny_theme_my_account_personal_info]', get_option('PennyTheme_my_account_page_id') ); PennyTheme_insert_pages('PennyTheme_my_account_payments_page_id', 'Payments', '[penny_theme_my_account_payments]', get_option('PennyTheme_my_account_page_id') ); PennyTheme_insert_pages('PennyTheme_my_account_purchase_bid_page_id', 'Purchase Bids', '[penny_theme_my_account_purchase_bids]', get_option('PennyTheme_my_account_page_id') ); PennyTheme_insert_pages('PennyTheme_my_account_latest_bids_page_id', 'My Bids', '[penny_theme_my_account_bids]', get_option('PennyTheme_my_account_page_id') ); PennyTheme_insert_pages('PennyTheme_my_account_won_auctions_page_id', 'Won Items', '[penny_theme_my_account_won_auctions]', get_option('PennyTheme_my_account_page_id') ); PennyTheme_insert_pages('PennyTheme_my_account_unpaid_auctions_page_id', 'Unpaid Items', '[penny_theme_my_account_unpaid_items]', get_option('PennyTheme_my_account_page_id') ); PennyTheme_insert_pages('PennyTheme_my_account_paid_and_not_shipped_page_id', 'Paid and Not Shipped', '[penny_theme_my_account_paid_not_ship_items]', get_option('PennyTheme_my_account_page_id') ); PennyTheme_insert_pages('PennyTheme_my_account_paid_and_shipped_page_id', 'Paid & Shipped', '[penny_theme_my_account_paid_ship_items]', get_option('PennyTheme_my_account_page_id') ); PennyTheme_insert_pages('PennyTheme_closed_auctions_page_id', 'Closed Auctions', '[penny_theme_closed_auctions]' ); $ss = "CREATE TABLE `".$wpdb->prefix."penny_assistant` ( `id` BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY , `date_made` BIGINT NOT NULL , `pid` BIGINT NOT NULL , `uid` BIGINT NOT NULL , `credits_start` BIGINT NOT NULL , `credits_current` BIGINT NOT NULL , `pause` TINYINT NOT NULL DEFAULT '0' ) ENGINE = MYISAM "; $wpdb->query($ss); //-------------------------------------------- $ss = "CREATE TABLE `".$wpdb->prefix."penny_bids` ( `id` BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY , `date_made` BIGINT NOT NULL , `bid` DOUBLE NOT NULL , `pid` BIGINT NOT NULL , `uid` BIGINT NOT NULL , `winner` TINYINT NOT NULL DEFAULT '0', `paid` TINYINT NOT NULL DEFAULT '0', `reserved1` VARCHAR( 255 ) NOT NULL , `date_choosen` BIGINT NOT NULL ) ENGINE = MYISAM "; $wpdb->query($ss); $ss = "ALTER TABLE `".$wpdb->prefix."penny_bids` ADD `shipped` TINYINT NOT NULL DEFAULT '0';"; $wpdb->query($ss); $ss = "ALTER TABLE `".$wpdb->prefix."penny_bids` ADD `shipped_on` BIGINT NOT NULL DEFAULT '0';"; $wpdb->query($ss); //----------------------- $ss = "CREATE TABLE `".$wpdb->prefix."penny_packages` ( `id` BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY , `date_made` BIGINT NOT NULL , `cost` DOUBLE NOT NULL , `bids` BIGINT NOT NULL , `showhide` TINYINT NOT NULL DEFAULT '0', `package_name` VARCHAR( 255 ) NOT NULL ) ENGINE = MYISAM "; $wpdb->query($ss); //---------------- $ss = " CREATE TABLE `".$wpdb->prefix."penny_coupons` ( `id` BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY , `coupon_name` VARCHAR( 255 ) NOT NULL , `coupon_solid_reduction` VARCHAR( 255 ) NOT NULL, `coupon_percent_reduction` VARCHAR( 255 ) NOT NULL, `ending` VARCHAR( 255 ) NOT NULL, `coupon_code` VARCHAR( 255 ) NOT NULL , `datemade` VARCHAR( 255 ) NOT NULL , `featured_free` INT NOT NULL DEFAULT '0', `pause` INT NOT NULL DEFAULT '0' ) ENGINE = MYISAM "; $wpdb->query($ss); //------------------------------------------- $ss = " CREATE TABLE `".$wpdb->prefix."penny_payment_transactions` ( `id` BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY , `uid` INT NOT NULL , `reason` TEXT NOT NULL , `datemade` INT NOT NULL , `amount` DOUBLE NOT NULL , `tp` TINYINT NOT NULL DEFAULT '1', `uid2` INT NOT NULL ) ENGINE = MYISAM "; $wpdb->query($ss); $ss = " CREATE TABLE `".$wpdb->prefix."penny_watchlist` ( `id` BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY , `uid` BIGINT NOT NULL DEFAULT '0', `pid` BIGINT NOT NULL DEFAULT '0' ) ENGINE = MYISAM "; $wpdb->query($ss); } ?>