<?php
// main menu
$td_demo_header_menu_id = td_demo_menus::create_menu('td-demo-header-menu', 'header-menu');

// homepage menu
$td_demo_homepage_menu_id = td_demo_menus::create_menu('td-demo-custom-menu', 'custom-menu');


/*  ----------------------------------------------------------------------------
    background - leave empty if you want to make sure that there is NO background on the demo - td_demo_misc::update_background('');
 */
td_demo_misc::update_background('');


/*  ----------------------------------------------------------------------------
    logo
 */
td_demo_misc::update_logo(array(
    'normal' => '',
    'retina' => '',
    'mobile' => ''
));


/*  ----------------------------------------------------------------------------
    Cloud Templates
*/
//cloud template - type header - global
$td_cloud_global_header_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب ابری هدر عمومی - اخبار ویدیویی حرفه‌ایی',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/global_header_cloud_template.txt',
    'template_type' => 'header',
));
// set - the default header template
td_demo_misc::update_global_header_template( 'tdb_template_' . $td_cloud_global_header_template_id );
//update mobile menu id in cloud header template
update_post_meta( $td_cloud_global_header_template_id, 'header_mobile_menu_id', $td_demo_header_menu_id );

//cloud template - type single
$td_cloud_post_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب ابری نوشته - اخبار ویدیویی حرفه‌ایی',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_cloud_template.txt',
    'template_type' => 'single',
    //'header_template_id' => $td_cloud_front_header_template_id2
));
// set the default site wide post template
td_util::update_option('td_default_site_post_template', 'tdb_template_' . $td_cloud_post_template_id);

//cloud template - type category
$td_cloud_cat_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب ابری دسته‌بندی - اخبار ویدیویی حرفه‌ایی',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/cat_cloud_template.txt',
    'template_type' => 'category',
));
// set - the default (global) cloud category template
td_demo_misc::update_global_category_template( 'tdb_template_' . $td_cloud_cat_template_id );

//cloud template - type author - global
$td_cloud_global_author_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب ابری نویسنده - اخبار ویدیویی حرفه‌ایی',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/author_cloud_template.txt',
    'template_type' => 'author',
));
// set - the default (global) cloud author template
td_demo_misc::update_global_author_template( 'tdb_template_' . $td_cloud_global_author_template_id );

//cloud template - type search
$td_cloud_search_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب ابری جستجو - اخبار ویدیویی حرفه‌ایی',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/search_cloud_template.txt',
    'template_type' => 'search',
));
// set the default site wide search template
td_util::update_option( 'tdb_search_template', 'tdb_template_' . $td_cloud_search_template_id );

//cloud template - type date
$td_cloud_date_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب ابری تاریخ - اخبار ویدیویی حرفه‌ایی',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/date_cloud_template.txt',
    'template_type' => 'date',
));
// set the default site wide date template
td_util::update_option( 'tdb_date_template', 'tdb_template_' . $td_cloud_date_template_id );

//cloud template - type tag
$td_cloud_tag_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب ابری برچسب - اخبار ویدیویی حرفه‌ایی',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/tag_cloud_template.txt',
    'template_type' => 'tag',
));
// set the default site wide date template
td_util::update_option( 'tdb_tag_template', 'tdb_template_' . $td_cloud_tag_template_id );

//cloud template - type 404
$td_cloud_404_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب ابری 404 - اخبار ویدیویی حرفه‌ایی',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/404_cloud_template.txt',
    'template_type' => '404',
));
// set the default site wide 404 template
td_util::update_option( 'tdb_404_template', 'tdb_template_' . $td_cloud_404_template_id );

$template_footer_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب ابری فوتر - اخبار ویدیویی حرفه‌ایی',
    'file' => 'footer_cloud_template.txt',
    'template_type' => 'footer',
));
td_demo_misc::update_global_footer_template( 'tdb_template_' . $template_footer_template_id);


/*  ---------------------------------------------------------------------------
    categories
*/
$demo_cat_1_id = td_demo_category::add_category(array(
    'category_name' => 'ویدیوها',
    'parent_id' => 0,
    'category_template' => '',
    '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
));
$demo_cat_2_id = td_demo_category::add_category(array(
    'category_name' => 'انیمیشن‌ها',
    'parent_id' => $demo_cat_1_id,
    'category_template' => '',
    '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
));
$demo_cat_3_id = td_demo_category::add_category(array(
    'category_name' => 'بازی ویدیویی',
    'parent_id' => $demo_cat_1_id,
    'category_template' => '',
    '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
));
$demo_cat_4_id = td_demo_category::add_category(array(
    'category_name' => 'تریلر فیلم',
    'parent_id' => $demo_cat_1_id,
    'category_template' => '',
    '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
));
$demo_cat_5_id = td_demo_category::add_category(array(
    'category_name' => 'موسیقی',
    'parent_id' => $demo_cat_1_id,
    'category_template' => '',
    '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
));
$demo_cat_6_id = td_demo_category::add_category(array(
    'category_name' => 'آموزشی',
    'parent_id' => $demo_cat_1_id,
    'category_template' => '',
    '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
));
$demo_cat_7_id = td_demo_category::add_category(array(
    'category_name' => 'سریال‌ها',
    'parent_id' => 0,
    'category_template' => '',
    '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
));
$demo_cat_8_id = td_demo_category::add_category(array(
    'category_name' => 'نقد بازی',
    'parent_id' => 0,
    'category_template' => '',
    '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
));
$demo_cat_9_id = td_demo_category::add_category(array(
    'category_name' => 'ورزش‌های برتر',
    'parent_id' => 0,
    'category_template' => '',
    '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
));


/*  ----------------------------------------------------------------------------
    pages
 */
//homepage
$td_homepage_id = td_demo_content::add_page(array(
    'title' => 'صفحه اصلی',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/homepage.txt',
    'template' => 'page-pagebuilder-overlay.php',   // the page template full file name with .php, for default no extension needed
    'td_layout' => '',
    'homepage' => true
));

/*  ----------------------------------------------------------------------------
    menu
 */
//add the homepage to the menu
td_demo_menus::add_page(array(
    'title' => 'صفحه اصلی',
    'add_to_menu_id' => $td_demo_header_menu_id,
    'page_id' => $td_homepage_id,
    'parent_id' => ''
));
td_demo_menus::add_mega_menu(array(
    'title' => 'ویدیوها',
    'add_to_menu_id' => $td_demo_header_menu_id,
    'category_id' => $demo_cat_1_id,
));
td_demo_menus::add_mega_menu(array(
    'title' => 'سریال‌ها',
    'add_to_menu_id' => $td_demo_header_menu_id,
    'category_id' => $demo_cat_7_id,
));
td_demo_menus::add_mega_menu(array(
    'title' => 'نقد بازی',
    'add_to_menu_id' => $td_demo_header_menu_id,
    'category_id' => $demo_cat_8_id,
));
td_demo_menus::add_category(array(
    'title' => 'ورزش‌های برتر',
    'add_to_menu_id' => $td_demo_header_menu_id,
    'category_id' => $demo_cat_9_id,
));

// add categories to the homepage menu
td_demo_menus::add_category(array(
    'title' => '<i class="tdc-font-tdmp tdc-font-tdmp-magic-wand" style="position: relative; top: -2px; font-size: 32px; vertical-align: middle; margin-right: 9px;"></i> انیمیشن‌ها',
    'add_to_menu_id' => $td_demo_homepage_menu_id,
    'category_id' => $demo_cat_2_id,
));
td_demo_menus::add_category(array(
    'title' => '<i class="tdc-font-tdmp tdc-font-tdmp-mouse" style="position: relative; top: -2px; font-size: 32px; vertical-align: middle; margin-right: 9px;"></i> نقد بازی',
    'add_to_menu_id' => $td_demo_homepage_menu_id,
    'category_id' => $demo_cat_3_id,
));
td_demo_menus::add_category(array(
    'title' => '<i class="tdc-font-tdmp tdc-font-tdmp-apperture" style="position: relative; top: -2px; font-size: 32px; vertical-align: middle; margin-right: 9px;"></i> تریلر فیلم',
    'add_to_menu_id' => $td_demo_homepage_menu_id,
    'category_id' => $demo_cat_4_id,
));
td_demo_menus::add_category(array(
    'title' => '<i class="tdc-font-tdmp tdc-font-tdmp-headphones" style="position: relative; top: -2px; font-size: 32px; vertical-align: middle; margin-right: 9px;"></i> موسیقی',
    'add_to_menu_id' => $td_demo_homepage_menu_id,
    'category_id' => $demo_cat_5_id,
));
td_demo_menus::add_category(array(
    'title' => '<i class="tdc-font-tdmp tdc-font-tdmp-vector-line" style="position: relative; top: -2px; font-size: 32px; vertical-align: middle; margin-right: 9px;"></i> آموزشی',
    'add_to_menu_id' => $td_demo_homepage_menu_id,
    'category_id' => $demo_cat_6_id,
));


/*  ---------------------------------------------------------------------------
    posts
*/
/* ------------------------------------------------------------------ */

td_global::set_demo_installing(true);

td_demo_content::add_post(array(
    'title' => 'خرید هاست و دامنه مطمئن از میهن گیگ',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_2_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=SNo6D6gwbVo',
    'post_format' => 'video'
));

td_demo_content::add_post(array(
    'title' => 'در زمان آلودگی هوا چه چیزهایی بخوریم؟',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_3_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=W-lwHrw_914',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'اندروید 8 برای گوشی HTC U11 Life عرضه شد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_4_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=lRPUrnXzqZY',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'آیفون 10 به این زودی‌ها از رده خارج نمی‌شود',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_5_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=r7-xpJE5I9A',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'گوشی Nova 2S به‌زودی معرفی می‌شود',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_6_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=_2qNb5cEMAk',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'بهترین گوشی‌های اندرویدی برای عکاسی',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_7_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=YytGZfLG_As',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'نسخه نهایی مایکروسافت اج برای اندروید منتشر شد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_8_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=iOplE96-tTM',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'محیط‌ زیستی به سبک گربه‌های اشرافی',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_9_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=SaVLU08JnJo',
    'post_format' => 'video'
));


td_demo_content::add_post(array(
    'title' => 'چه چیز جایگزین گوشی هوشمند خواهد شد؟',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_2_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=SNo6D6gwbVo',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'نگاهی به خودروهای جدید بورگوارد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_3_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=W-lwHrw_914',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'چرا گوشی ریزر جک هدفون ندارد؟',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_4_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=wka5RovFEo8',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'با ویژگی جدید اینستاگرام آشنا شوید',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_5_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=yLsMBrnIovg',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'نگاهی به فولکس تیگوان',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_6_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=bN2jqsJgbBs',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'اپل 15 میلیون آیفون 10 فروخته است',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_7_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=eppVlCSqt9E',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'آنر V10 رسما معرفی شد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_8_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=sF99utFEfk4',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'هوش مصنوعی گوگل مچ مزاحم‌ها را می‌گیرد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_9_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=fM5wUJUXBAc',
    'post_format' => 'video'
));


td_demo_content::add_post(array(
    'title' => 'ممکن است معده‌ی کسی از پرخوری بترکد؟',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_2_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=SNo6D6gwbVo',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'باکس‌آفیس در تصاحب پیکسار',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_3_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=W-lwHrw_914',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'هواوی گوشی میت 10 را در ایران رونمایی کرد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_4_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=rP7CJOfwZYs',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'نگاهی به فولکس پاسات',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_5_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=Z5fnKAeHv2U',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'HTC U11 به اندروید 8.0 بروزرسانی شد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_6_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=q9emDf7BPUk',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'اپل گوشی یا تبلت با نمایشگر تاشو می‌سازد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_7_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=xfML7x8VVNA',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'گوگل اپلیکیشن‌هایش را برای آیفون 10 به‌روز کرد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_8_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=tdEfROL2Wx8',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => '5+1 تصمیم برتر در بازی‌های ویدیویی',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_9_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=pXuOqVplODs',
    'post_format' => 'video'
));


td_demo_content::add_post(array(
    'title' => 'گوشی اوپو A79 معرفی شد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_2_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=SNo6D6gwbVo',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'فایرفاکس کوانتوم یا گوگل کروم؟',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_3_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=L6tWvy3JvFI',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'آیا مایکروسافت به سمت اندروید می‌رود؟',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_4_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=zRmscXowX2U',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'تبلت Surface Pro 3 ارزان می‌شود',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_5_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=Ec7VUcdB-ww',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'با تبلت جدید هوآوی آشنا شوید',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_6_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=n-37zA6W1W8',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'پدیده‌ای به نام «اسکرین‌شات»',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_7_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=akx0D0kCtfU',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'نکسوس بعدی بر اساس LG G4 نخواهد بود',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_8_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=Pngf7qP65ww',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'مایکروسافت درحال خرید AMD',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_9_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=xKYABI-dGEA',
    'post_format' => 'video'
));


td_demo_content::add_post(array(
    'title' => 'عبور تاریخی از نقطه‌ی بی‌بازگشت',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_2_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=SNo6D6gwbVo',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'چرا آدرس‌های اینترنتی به زبان انگلیسی هستند؟',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_3_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=mc9ORzs23oY',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'بازی مافیا 3 در راه است',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_4_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=fWMuCXs7RI8',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'دوازده ترفند عمومی اندروید',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_5_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=KHMH1eUWf-U',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'تعقیب کوسه‌ها با GPS',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_6_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=_uGCW2D9AoQ',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'جزییات سخت‌افزاری گلکسی A8 منتشر شد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_7_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=n0rrXimOH_I',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'فبلت‌ها آمده‌اند که بمانند!',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_8_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=wKdcRjpTpFk',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'مشخصات LG G Pro 3 لو رفت؟',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_9_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=8LYpD9KyeXA',
    'post_format' => 'video'
));


td_demo_content::add_post(array(
    'title' => 'کدام بازی مبارزه‌ای محبوب‌تر است؟',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_2_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=SNo6D6gwbVo',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'وقتی پوست روی بدن پرینت میشود',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_3_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=vjF9GgrY9c0',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'سونی بخش موبایل‌اش را نمی‌فروشد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_4_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=2WjZIVwx_Fo',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'مشخصات گوشی گلکسی J2 لو رفت',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_5_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=rj73lCWeZQw',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'Redmi Note 2 سنسور اثر انگشت دارد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_6_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=9bnOVV3EBC8',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'عرضه‌ی تبلت نوکیا N1 در اندونزی',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_7_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=oHQyTg1DkjM',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'اطلاعات سخت‌افزاری G4 S منتشر شد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_8_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=lwsjS4rGCSU',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'کادیلاک بدون راننده، تا دو سال آینده',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_9_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=SRfsJi_0HHA',
    'post_format' => 'video'
));


td_demo_content::add_post(array(
    'title' => 'ایسوس و اسمارت‌فون جدیدش',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_2_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=SNo6D6gwbVo',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'سامسونگ SSD دو ترابایتی روانه بازار کرد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_3_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=hfjazBN0DwA',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'آیا نوت 5 ماه آینده عرضه می‌شود؟',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_4_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=VN4i3cPtjGI',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'بلک‌بری دو دامین اندرویدی ثبت کرد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_5_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=XgrK42bq77g',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'تصاویر جدیدی از گلکسی A8 لو رفت',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_6_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=1l19LRmygjQ',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'سیستم مورد نیاز بازی FIFA 16 اعلام شد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_7_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=fC4M9OrxGys',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'گوشی XOLO Black با دو دوربین معرفی شد',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_8_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=iXjnBcEI28E',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'جدیدترین تصاویر از گوشی موتوجی لو رفت',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_9_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=8_XBxcIoZy0',
    'post_format' => 'video'
));


td_demo_content::add_post(array(
    'title' => 'اطلاعات جدید از گوشی گلکسی S7',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_2_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=SNo6D6gwbVo',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'کلید نامرئی در گوشی‌های بعدی سامسونگ',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_3_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=1tgxZIdjinc',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'محصولات جدید ایسر برای ویندوز 10',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_4_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=ly-Zi-rbYOI',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'برترین خودروهای سبز سال 2015',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_5_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=8AvC05kXS9I',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'فیسبوک درحال راه‌اندازی سرویس موسیقی',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_6_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=vkU4xAts35k',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'آقای خاص ژاپن',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_7_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=KMSAlye0hhQ',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'بازار رو به سقوط رایانه‌های شخصی',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_8_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=grJ1rKkLiZA',
    'post_format' => 'video'
));
td_demo_content::add_post(array(
    'title' => 'بازی اسپلینترسل در راه ایکس‌باکس وان',
    'file' => TDC_PATH_LEGACY . '/includes/demos/video_pro/pages/post_default.txt',
    'categories_id_array' => array($demo_cat_9_id),
    'featured_image_td_id' => '',
    'featured_video_url' => 'https://www.youtube.com/watch?v=uxXZ_uEVr9c',
    'post_format' => 'video'
));

td_global::set_demo_installing(false);