<?php 

/*  ---------------------------------------------------------------------------- 
	TDS LOCKERS
*/

/*  ---------------------------------------------------------------------------- 
	CATEGORIES
*/
$cat_business_id = td_demo_category::add_category(array(
	'category_name' => 'Business',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
    'background_td_pic_id' => 'td_pic_1',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_entertainment_id = td_demo_category::add_category(array(
	'category_name' => 'Entertainment',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
    'background_td_pic_id' => 'td_pic_2',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_featured_id = td_demo_category::add_category(array(
	'category_name' => 'Featured',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
    'background_td_pic_id' => 'td_pic_3',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_finance_id = td_demo_category::add_category(array(
	'category_name' => 'Finance',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
    'background_td_pic_id' => 'td_pic_4',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_food_id = td_demo_category::add_category(array(
	'category_name' => 'Food',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
    'background_td_pic_id' => 'td_pic_5',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_gadgets_id = td_demo_category::add_category(array(
	'category_name' => 'Gadgets',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
    'background_td_pic_id' => 'td_pic_6',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_marketing_id = td_demo_category::add_category(array(
	'category_name' => 'Marketing',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
    'background_td_pic_id' => 'td_pic_7',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_music_id = td_demo_category::add_category(array(
	'category_name' => 'Music',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
    'background_td_pic_id' => 'td_pic_8',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_phones_id = td_demo_category::add_category(array(
	'category_name' => 'Phones',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
    'background_td_pic_id' => 'td_pic_9',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_politics_id = td_demo_category::add_category(array(
	'category_name' => 'Politics',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
    'background_td_pic_id' => 'td_pic_10',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_strategy_id = td_demo_category::add_category(array(
	'category_name' => 'Strategy',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
    'background_td_pic_id' => 'td_pic_1',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_tech_id = td_demo_category::add_category(array(
	'category_name' => 'Tech',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
    'background_td_pic_id' => 'td_pic_2',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_television_id = td_demo_category::add_category(array(
	'category_name' => 'Television',
	'parent_id' => $cat_tech_id,
    'background_td_pic_id' => 'td_pic_3',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => '',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_travel_id = td_demo_category::add_category(array(
	'category_name' => 'Travel',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
    'background_td_pic_id' => 'td_pic_4',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_weird_id = td_demo_category::add_category(array(
	'category_name' => 'Weird',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
    'background_td_pic_id' => 'td_pic_5',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));


/*  ---------------------------------------------------------------------------- 
	ATTACHMENTS
*/

/*  ---------------------------------------------------------------------------- 
	POSTS
*/

$post_now_is_the_time_to_think_about_your_small_business_success_id = td_demo_content::add_post(array(
    'title' => 'Now Is the Time to Think About Your Small-Business Success',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_10',
    'categories_id_array' => array($cat_business_id,$cat_entertainment_id,$cat_finance_id,$cat_food_id,$cat_gadgets_id,$cat_marketing_id,$cat_music_id,$cat_phones_id,$cat_politics_id,$cat_television_id,$cat_travel_id,$cat_weird_id,),
));

$post_mobile_marketing_is_said_to_be_the_future_of_e_commerce_id = td_demo_content::add_post(array(
    'title' => 'Mobile Marketing is Said to Be the Future of E-Commerce',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_1',
    'categories_id_array' => array($cat_business_id,$cat_entertainment_id,$cat_finance_id,$cat_food_id,$cat_gadgets_id,$cat_marketing_id,$cat_music_id,$cat_phones_id,$cat_politics_id,$cat_television_id,$cat_travel_id,$cat_weird_id,),
));

$post_social_media_marketing_for_franchises_is_meant_for_women_id = td_demo_content::add_post(array(
    'title' => 'Social Media Marketing for Franchises is Meant for Women',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_2',
    'categories_id_array' => array($cat_business_id,$cat_entertainment_id,$cat_finance_id,$cat_food_id,$cat_gadgets_id,$cat_marketing_id,$cat_music_id,$cat_phones_id,$cat_politics_id,$cat_television_id,$cat_travel_id,$cat_weird_id,),
));

$post_the_most_popular_celebrity_name_list_of_the_millennium_is_here_id = td_demo_content::add_post(array(
    'title' => 'The Most Popular Celebrity Name List of the Millennium is Here',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_3',
    'categories_id_array' => array($cat_business_id,$cat_entertainment_id,$cat_finance_id,$cat_food_id,$cat_gadgets_id,$cat_marketing_id,$cat_music_id,$cat_phones_id,$cat_politics_id,$cat_television_id,$cat_travel_id,$cat_weird_id,),
));

$post_best_places_to_get_your_mexican_food_fix_when_you_visit_mexico_city_id = td_demo_content::add_post(array(
    'title' => 'Best Places to Get Your Mexican Food Fix When You Visit Mexico City',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_4',
    'categories_id_array' => array($cat_business_id,$cat_entertainment_id,$cat_finance_id,$cat_food_id,$cat_gadgets_id,$cat_marketing_id,$cat_music_id,$cat_phones_id,$cat_politics_id,$cat_television_id,$cat_travel_id,$cat_weird_id,),
));

$post_td_post_the_travel_insurance_catch_that_can_double_your_cover_in_two_months_id = td_demo_content::add_post(array(
	'title' => 'The Travel Insurance Catch that can Double Your Cover in Two Months',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_weird_id,),
));

$post_td_post_the_weirdest_places_ashes_have_been_scattered_in_south_america_id = td_demo_content::add_post(array(
	'title' => 'The Weirdest Places Ashes Have Been Scattered in South America',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_weird_id,),
));

$post_td_post_the_next_wave_of_superheroes_has_arrived_with_astonishing_impact_id = td_demo_content::add_post(array(
	'title' => 'The Next Wave of Superheroes Has Arrived with Astonishing Impact',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_weird_id,),
));

$post_td_post_watch_awesome_kate_manner_go_full_cooking_pro_in_england_this_week_id = td_demo_content::add_post(array(
	'title' => 'Watch Awesome Kate Manner Go Full Cooking Pro in England this Week',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_weird_id,),
));

$post_td_post_silicon_valley_guru_affected_by_the_fulminant_slashed_investments_id = td_demo_content::add_post(array(
	'title' => 'Silicon Valley Guru Affected by the Fulminant Slashed Investments',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_weird_id,),
));

$post_td_post_casey_adams_can_predict_the_next_big_music_hit_with_amazing_accuracy_id = td_demo_content::add_post(array(
	'title' => 'Casey Adams Can Predict the Next Big Music Hit with Amazing Accuracy',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_music_id,),
));

$post_td_post_new_music_videos_that_will_stream_on_five_major_channels_this_fall_id = td_demo_content::add_post(array(
	'title' => 'New Music Videos that Will Stream on Five Major Channels this Fall',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_music_id,),
));

$post_td_post_how_music_is_capable_of_changing_your_mood_in_every_situation_id = td_demo_content::add_post(array(
	'title' => 'How Music is Capable of Changing Your Mood in Every Situation',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_music_id,),
));

$post_td_post_for_composer_derrick_spiva_music_is_all_about_embracing_life_id = td_demo_content::add_post(array(
	'title' => 'For Composer Derrick Spiva, Music is all About Embracing Life',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_music_id,),
));

$post_td_post_burberry_is_the_first_brand_to_get_an_apple_music_channel_outfit_lines_id = td_demo_content::add_post(array(
	'title' => 'Burberry is the First Brand to get an Apple Music Channel Outfit Lines',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_10',
	'categories_id_array' => array($cat_music_id,),
));

$post_td_post_10_things_you_should_know_before_you_explore_south_americas_jungles_id = td_demo_content::add_post(array(
	'title' => '10 Things You Should Know Before You Explore South America\'s Jungles',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_travel_id,),
));

$post_td_post_ultimate_guide_to_viennas_coffee_renaissance_packed_in_one_weekend_id = td_demo_content::add_post(array(
	'title' => 'Ultimate Guide to Vienna’s Coffee Renaissance Packed in One Weekend',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_travel_id,),
));

$post_td_post_vacation_bucket_list_the_top_10_trips_of_a_lifetime_you_should_take_id = td_demo_content::add_post(array(
	'title' => 'Vacation Bucket List: The Top 10 Trips of a Lifetime You Should Take',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_travel_id,),
));

$post_td_post_the_cliffs_of_moher_reach_1_million_visitors_every_year_since_2014_id = td_demo_content::add_post(array(
	'title' => 'The Cliffs of Moher Reach 1 Million Visitors Every Year Since 2014',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_travel_id,),
));

$post_td_post_the_25_best_cities_you_can_find_in_italy_to_satisfy_the_love_for_pizza_id = td_demo_content::add_post(array(
	'title' => 'The 25 Best Cities You Can Find in Italy to Satisfy the Love for Pizza',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_travel_id,),
));

$post_td_post_light_dinner_receipe_hot_pan_shrimps_with_tomatos_lettuce_and_garlic_id = td_demo_content::add_post(array(
	'title' => 'Light Dinner Receipe: Hot Pan Shrimps with Tomatos, Lettuce and Garlic',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_food_id,),
));

$post_td_post_this_week_in_our_food_blog_high_protein_recipes_and_low_fat_burgers_id = td_demo_content::add_post(array(
	'title' => 'This Week in Our Food Blog: High-Protein Recipes and Low Fat Burgers',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_food_id,),
));

$post_td_post_moroccan_pork_chop_with_garlic_and_lemon_is_common_in_southern_spain_id = td_demo_content::add_post(array(
	'title' => 'Moroccan Pork Chop with Garlic and Lemon is Common in Southern Spain',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_food_id,),
));

$post_td_post_best_places_to_get_your_mexican_food_fix_when_you_visit_mexico_city_id = td_demo_content::add_post(array(
	'title' => 'Best Places to Get Your Mexican Food Fix When You Visit Mexico City',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_food_id,),
));

$post_td_post_the_best_pork_kebabs_with_grilled_plums_and_couscous_is_found_in_poland_id = td_demo_content::add_post(array(
	'title' => 'The Best Pork Kebabs With Grilled Plums and Couscous is Found in Poland',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_10',
	'categories_id_array' => array($cat_food_id,),
));

$post_td_post_blake_shelton_goes_up_against_model_amy_coleman_on_instagram_id = td_demo_content::add_post(array(
	'title' => 'Blake Shelton Goes Up Against Model Amy Coleman on Instagram',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_television_id,),
));

$post_td_post_rupert_murdoch_and_jerry_hall_tie_the_knot_in_amazing_event_id = td_demo_content::add_post(array(
	'title' => 'Rupert Murdoch and Jerry Hall Tie the Knot in Amazing Event',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_television_id,),
));

$post_td_post_american_honey_reads_donald_trumps_mean_tweets_on_the_street_id = td_demo_content::add_post(array(
	'title' => 'American Honey Reads Donald Trump\'s Mean Tweets on the Street',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_television_id,),
));

$post_td_post_marry_alice_smith_is_going_for_full_custody_of_her_little_boy_id = td_demo_content::add_post(array(
	'title' => 'Marry Alice Smith is Going for Full Custody of Her Little Boy',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_television_id,),
));

$post_td_post_formula_1_legend_murray_walker_will_make_amazing_tv_comeback_id = td_demo_content::add_post(array(
	'title' => 'Formula 1 Legend Murray Walker will Make Amazing TV Comeback',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_television_id,),
));

$post_td_post_check_out_the_best_entertainment_systems_that_will_hit_the_market_in_june_id = td_demo_content::add_post(array(
	'title' => 'Check out The Best Entertainment Systems that Will Hit the Market in June',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_entertainment_id,),
));

$post_td_post_the_best_vloggers_reveal_a_new_way_to_take_better_liked_videos_for_instagram_tv_id = td_demo_content::add_post(array(
	'title' => 'The Best Vloggers Reveal a New Way to Take Better Liked Videos for Instagram TV',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_entertainment_id,),
));

$post_td_post_how_fashion_bloggers_hijacked_the_industry_cutting_a_big_piece_of_earning_totals_id = td_demo_content::add_post(array(
	'title' => 'How Fashion Bloggers Hijacked the Industry, Cutting a big Piece of Earning Totals',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_entertainment_id,),
));

$post_td_post_the_gillbert_couple_secures_480_million_in_hollywood_contract_deal_for_five_movies_id = td_demo_content::add_post(array(
	'title' => 'The Gillbert Couple Secures $480 Million in Hollywood Contract Deal for Five Movies',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_entertainment_id,),
));

$post_td_post_entertainment_buzz_megan_ryan_gets_an_emmy_award_on_her_25_year_old_birthday_id = td_demo_content::add_post(array(
	'title' => 'Entertainment Buzz: Megan Ryan gets an Emmy Award on Her 25 Year Old Birthday',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_10',
	'categories_id_array' => array($cat_entertainment_id,),
));

$post_td_post_all_you_need_to_know_about_the_galaxy_note_launching_this_fall_id = td_demo_content::add_post(array(
	'title' => 'All You Need to Know About the Galaxy Note Launching this Fall',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_phones_id,),
));

$post_td_post_top_tip_how_to_use_latest_snapchat_app_on_iphone_and_android_id = td_demo_content::add_post(array(
	'title' => 'Top Tip: How to Use Latest Snapchat App on iPhone and Android',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_phones_id,),
));

$post_td_post_apples_next_smartphones_will_all_have_ultra_hd_oled_screens_id = td_demo_content::add_post(array(
	'title' => 'Apple\'s Next Smartphones Will All Have Ultra HD OLED Screens',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_phones_id,),
));

$post_td_post_from_this_year_iphone_will_adopt_fast_charging_and_lightning_port_id = td_demo_content::add_post(array(
	'title' => 'From this Year, iPhone will Adopt Fast Charging and Lightning Port',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_phones_id,),
));

$post_td_post_newest_google_pixel_smartphone_will_arrive_in_the_premium_segment_id = td_demo_content::add_post(array(
	'title' => 'Newest Google Pixel Smartphone Will Arrive in the Premium Segment',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_phones_id,),
));

$post_td_post_the_hottest_new_wearable_tech_and_smart_gadgets_will_blow_your_mind_id = td_demo_content::add_post(array(
	'title' => 'The Hottest New Wearable Tech and Smart Gadgets Will Blow Your Mind',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_gadgets_id,),
));

$post_td_post_new_technology_will_help_keep_your_smart_home_from_becoming_obsolete_id = td_demo_content::add_post(array(
	'title' => 'New Technology Will Help Keep Your Smart Home from Becoming Obsolete',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_gadgets_id,),
));

$post_td_post_apples_iphone_climbs_the_list_of_the_top_gadgets_in_forbes_magazine_id = td_demo_content::add_post(array(
	'title' => 'Apple\'s iPhone Climbs the List of the Top Gadgets in Forbes Magazine',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_gadgets_id,),
));

$post_td_post_gigabyte_new_smartphone_review_pricing_is_not_always_the_only_criteria_id = td_demo_content::add_post(array(
	'title' => 'Gigabyte New Smartphone Review: Pricing is Not Always the Only Criteria',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_gadgets_id,),
));

$post_td_post_discover_the_newest_medical_smart_devices_that_are_already_changing_lives_id = td_demo_content::add_post(array(
	'title' => 'Discover the Newest Medical Smart Devices that Are Already Changing Lives',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_10',
	'categories_id_array' => array($cat_gadgets_id,),
));

$post_td_post_the_politics_behind_cryptocurrencies_market_turbulence_last_year_id = td_demo_content::add_post(array(
	'title' => 'The Politics Behind Cryptocurrencies Market Turbulence Last Year',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_politics_id,),
));

$post_td_post_the_las_vegas_municipality_gears_up_for_next_years_election_id = td_demo_content::add_post(array(
	'title' => 'The Las Vegas Municipality Gears up for Next Year\'s Election',
	'file' => 'post_default.txt',
	'categories_id_array' => array($cat_politics_id,),
));

$post_td_post_things_you_didnt_know_about_the_californias_past_gouvernors_id = td_demo_content::add_post(array(
	'title' => 'Things You Didn\'t Know About the California\'s Past Gouvernors',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_politics_id,),
));

$post_td_post_the_main_candidate_was_presented_in_just_a_few_minutes_last_night_id = td_demo_content::add_post(array(
	'title' => 'The Main Candidate Was Presented in Just a Few Minutes Last Night',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_politics_id,),
));

$post_td_post_sanders_gets_respectful_welcome_at_conservative_college_id = td_demo_content::add_post(array(
	'title' => 'Sanders Gets Respectful Welcome at Conservative College',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_politics_id,),
));

$post_td_post_dell_will_invest_125_billion_in_chinas_tech_in_the_next_5_years_id = td_demo_content::add_post(array(
	'title' => 'Dell Will Invest $125 Billion in China\'s Tech in the Next 5 Years',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_finance_id,),
));

$post_td_post_boxtrade_lands_50_million_in_another_new_funding_round_with_ibm_id = td_demo_content::add_post(array(
	'title' => 'Boxtrade Lands $50 Million in Another New Funding Round with IBM',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_finance_id,),
));

$post_td_post_a_look_at_how_social_media_mobile_gaming_can_increase_sales_id = td_demo_content::add_post(array(
	'title' => 'A Look at How Social Media & Mobile Gaming Can Increase Sales',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_finance_id,),
));

$post_td_post_the_secret_to_your_companys_financial_health_is_very_important_id = td_demo_content::add_post(array(
	'title' => 'The Secret to Your Company\'s Financial Health is Very Important',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_finance_id,),
));

$post_td_post_things_to_look_for_in_a_financial_trading_platform_environment_id = td_demo_content::add_post(array(
	'title' => 'Things to Look For in a Financial Trading Platform Environment',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_finance_id,),
));

$post_td_post_customer_engagement_marketing_a_new_strategy_for_the_economy_id = td_demo_content::add_post(array(
	'title' => 'Customer Engagement Marketing: A New Strategy for the Economy',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_10',
	'categories_id_array' => array($cat_marketing_id,),
));

$post_td_post_social_media_marketing_for_franchises_is_meant_for_women_id = td_demo_content::add_post(array(
	'title' => 'Social Media Marketing for Franchises is Meant for Women',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_marketing_id,),
));

$post_td_post_entrepreneurial_advertising_the_future_of_marketing_id = td_demo_content::add_post(array(
	'title' => 'Entrepreneurial Advertising: The Future Of Marketing',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_marketing_id,),
));

$post_td_post_mobile_marketing_is_said_to_be_the_future_of_e_commerce_id = td_demo_content::add_post(array(
	'title' => 'Mobile Marketing is Said to Be the Future of E-Commerce',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_marketing_id,),
));

$post_td_post_how_nancy_reagan_gave_glamour_and_class_to_the_white_house_id = td_demo_content::add_post(array(
	'title' => 'How Nancy Reagan Gave Glamour and Class to the White House',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_marketing_id,),
));

$post_td_post_the_definitive_guide_to_marketing_your_business_on_instagram_id = td_demo_content::add_post(array(
	'title' => 'The Definitive Guide To Marketing Your Business On Instagram',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_business_id,),
));

$post_td_post_mark_steinberg_reads_donald_trumps_mean_tweets_on_kimmel_id = td_demo_content::add_post(array(
	'title' => 'Mark Steinberg Reads Donald Trump\'s Mean Tweets on Kimmel',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_business_id,),
));

$post_td_post_kansas_city_has_a_massive_array_of_big_national_companies_id = td_demo_content::add_post(array(
	'title' => 'Kansas City Has a Massive Array of Big National Companies',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_business_id,),
));

$post_td_post_program_will_lend_10m_to_new_detroit_minority_businesses_id = td_demo_content::add_post(array(
	'title' => 'Program Will Lend $10M to New Detroit Minority Businesses',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_business_id,),
));

$post_td_post_now_is_the_time_to_think_about_your_small_business_success_id = td_demo_content::add_post(array(
	'title' => 'Now Is the Time to Think About Your Small-Business Success',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_business_id,),
));



/*  ---------------------------------------------------------------------------- 
	PRODUCTS
*/

/*  ---------------------------------------------------------------------------- 
	MENUS
*/
$menu_td_demo_header_menu_id = td_demo_menus::create_menu('td-demo-header-menu', ''); 


/*  ---------------------------------------------------------------------------- 
	CLOUD TEMPLATES
*/

$template_header_template_fast_news_id = td_demo_content::add_cloud_template(array(
    'title' => 'Header Template - Fast News',
    'file' => 'header_cloud_template.txt',
    'template_type' => 'header',
));

td_demo_misc::update_global_header_template( 'tdb_template_' . $template_header_template_fast_news_id);


$template_footer_fast_news_id = td_demo_content::add_cloud_template(array(
    'title' => 'Footer - Fast News',
    'file' => 'footer_cloud_template.txt',
    'template_type' => 'footer',
));

td_demo_misc::update_global_footer_template( 'tdb_template_' . $template_footer_fast_news_id);


$template_tag_template_fast_news_id = td_demo_content::add_cloud_template(array(
	'title' => 'Tag Template - Fast News',
	'file' => 'tag_cloud_template.txt',
	'template_type' => 'tag',
));

td_demo_misc::update_global_tag_template( 'tdb_template_' . $template_tag_template_fast_news_id);


$template_date_template_fast_news_id = td_demo_content::add_cloud_template(array(
	'title' => 'Date Template - Fast News',
	'file' => 'date_cloud_template.txt',
	'template_type' => 'date',
));

td_demo_misc::update_global_date_template( 'tdb_template_' . $template_date_template_fast_news_id);


$template_single_post_template_fast_news_id = td_demo_content::add_cloud_template(array(
	'title' => 'Single Post Template - Fast News',
	'file' => 'post_cloud_template.txt',
	'template_type' => 'single',
));

td_util::update_option('td_default_site_post_template', 'tdb_template_' . $template_single_post_template_fast_news_id);


$template_search_template_fast_news_id = td_demo_content::add_cloud_template(array(
	'title' => 'Search Template - Fast News',
	'file' => 'search_cloud_template.txt',
	'template_type' => 'search',
));

td_demo_misc::update_global_search_template( 'tdb_template_' . $template_search_template_fast_news_id);

$template_category_template_fast_news_id = td_demo_content::add_cloud_template(array(
	'title' => 'Category Template - Fast News',
	'file' => 'cat_cloud_template.txt',
	'template_type' => 'category',
));

td_demo_misc::update_global_category_template( 'tdb_template_' . $template_category_template_fast_news_id);


$template_author_template_fast_news_id = td_demo_content::add_cloud_template(array(
	'title' => 'Author Template - Fast News',
	'file' => 'author_cloud_template.txt',
	'template_type' => 'author',
));

td_demo_misc::update_global_author_template( 'tdb_template_' . $template_author_template_fast_news_id);


$template_404_template_fast_news_id = td_demo_content::add_cloud_template(array(
	'title' => '404 Template - Fast News',
	'file' => '404_cloud_template.txt',
	'template_type' => '404',
));

td_demo_misc::update_global_404_template( 'tdb_template_' . $template_404_template_fast_news_id);




/*  ----------------------------------------------------------------------------
	PAGES
*/
$page_homepage_fast_news_id = td_demo_content::add_page(array(
    'title' => 'Homepage - Fast News',
    'file' => 'homepage_fast_news.txt',
    'homepage' => true,
));


/*  ----------------------------------------------------------------------------
	MENUS ITEMS
*/
$menu_item_0_id = td_demo_menus::add_page(array(
    'title' => '<i class="tdc-font-tdmp tdc-font-tdmp-home"></i>Home',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'page_id' => $page_homepage_fast_news_id,
    'parent_id' => ''
));

$menu_item_1_id = td_demo_menus::add_mega_menu(array(
    'title' => '<i class="tdc-font-tdmp tdc-font-tdmp-bulb-idea"></i>Strategy',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'category_id' => $cat_strategy_id,
    'parent_id' => ''
), true);

$menu_item_2_id = td_demo_menus::add_mega_menu(array(
    'title' => '<i class="tdc-font-tdmp tdc-font-tdmp-sattelite"></i>Tech',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'category_id' => $cat_tech_id,
    'parent_id' => ''
), true);

$menu_item_3_id = td_demo_menus::add_mega_menu(array(
    'title' => '<i class="tdc-font-tdmp tdc-font-tdmp-apple"></i>Food',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'category_id' => $cat_food_id,
    'parent_id' => ''
), true);

$menu_item_4_id = td_demo_menus::add_link(array(
    'title' => '<i class="tdc-font-tdmp tdc-font-tdmp-paper-plane"></i>Other',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'url' => '#',
    'parent_id' => ''
));

$menu_item_5_id = td_demo_menus::add_category(array(
    'title' => 'Music',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'category_id' => $cat_music_id,
    'parent_id' => $menu_item_4_id
));

$menu_item_6_id = td_demo_menus::add_category(array(
    'title' => 'Travel',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'category_id' => $cat_travel_id,
    'parent_id' => $menu_item_4_id
));

$menu_item_7_id = td_demo_menus::add_category(array(
    'title' => 'Weird',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'category_id' => $cat_weird_id,
    'parent_id' => $menu_item_4_id
));


/*  ---------------------------------------------------------------------------- 
	GENERAL SETTINGS
*/
td_demo_misc::update_background('', false);

td_demo_misc::update_background_mobile('');

td_demo_misc::update_background_login('');

td_demo_misc::update_background_header('');

td_demo_misc::update_background_footer('');

td_demo_misc::update_footer_text('');

td_demo_misc::update_logo(array('normal' => '','retina' => '','mobile' => '',));

td_demo_misc::update_footer_logo(array('normal' => '','retina' => '',));

td_demo_misc::add_social_buttons(array());

$generated_css = td_css_generator(); 
if ( function_exists('tdsp_css_generator') ) { 
	$generated_css .= tdsp_css_generator();
}
td_util::update_option( 'tds_user_compile_css', $generated_css );
