<?php

if ( function_exists( 'vc_disable_frontend' ) ) {
	vc_disable_frontend();
}

if (function_exists('vc_license')) {
	if ( ! vc_license()->isActivated() ) {
		add_action( 'vc_before_init', 'your_prefix_vcSetAsTheme' );
		function your_prefix_vcSetAsTheme() {
		    vc_set_as_theme();
		}
	}
}

add_action( 'vc_load_default_templates_action','homeclassic_template_for_vc' ); // Hook in

function homeclassic_template_for_vc() {
    $data               = array(); // Create new array
    $data['name']       = __( 'Home Classic', 'asalah' ); // Assign name for your custom template
    $data['weight']     = 0; // Weight of your template in the template list
    $data['custom_class'] = 'home_classic_for_vc_custom_template'; // CSS class name
    $data['content']    = <<<CONTENT
		[vc_row container="fluid" margin_top="-96"][vc_column][revslider thewidth="fluid" alias="slider3" offset="96"][/vc_column][/vc_row][vc_row][vc_column width="1/4"][saservices effect="parts" effect_style="show_fade_left"][saservice title="High Quality" icon="icon-lightbulb-1" url="#" button="Learn more ..."]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibend.[/saservice][/saservices][/vc_column][vc_column width="1/4"][saservices effect="parts" effect_style="show_fade_down"][saservice title="Great Features" icon="icon-beaker-1" url="#" button="Learn more ..."]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibend.[/saservice][/saservices][/vc_column][vc_column width="1/4"][saservices effect="parts" effect_style="show_fade_down"][saservice title="Crafted With Care" icon="icon-cog-6" url="#" button="Learn more ..."]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibend.[/saservice][/saservices][/vc_column][vc_column width="1/4"][saservices effect="parts" effect_style="show_fade_right"][saservice title="Love Our Clients" icon="icon-heart-7" url="#" button="Learn more ..."]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibend.[/saservice][/saservices][/vc_column][/vc_row][vc_row][vc_column][sadivide style="shadow1" top="0" bottom="0"][/vc_column][/vc_row][vc_row][vc_column][projects title="Our Projects" aside="desc" desc="Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, Aenean sollicitudin." postnumber="10" button="View All" button_icon="icon-th-list" url="http://ahmad.works/sarraty/portfolio-3-columns/" effect="parts" aside_effect_style="show_fade_left"][/vc_column][/vc_row][vc_row background_style="video" border_top="#e5e5e5" border_bottom="#e5e5e5" bg_color="#f8f8f8" media_src="links" bg_img_url="https://awcdn1.ahmad.works/sarraty/wp-content/uploads/2014/03/Comp_202.jpg" videomp_url="https://awcdn1.ahmad.works/sarraty/wp-content/uploads/2014/03/Comp_202.mp4" videomv_url="https://awcdn1.ahmad.works/sarraty/wp-content/uploads/2014/03/Comp_202.m4v" videowebm_url="https://awcdn1.ahmad.works/sarraty/wp-content/uploads/2014/03/Comp_202.webm" videoogg_url="https://awcdn1.ahmad.works/sarraty/wp-content/uploads/2014/03/Comp_202.ogv" padding_top="80" padding_bottom="70"][vc_column][satext][su_content color="#fff" size="60" align="center"][su_i icon="icon: film"][/su_content]
[su_spacer size="40"]
[su_content color="#fff" size="54" align="center"]Video Section[/su_content]
[su_spacer size="20"]
[su_content color="#fff" size="14" align="center"]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec iaculis metus vitae ligula elementum ut luctus lorem facilisis. Sed non leo nisl, ac euismod nisi. Aenean augue dolor, facilisis id fringilla ut, tempus vitae nibh.
[su_spacer size="26"]
[su_button url="http://themeforest.net/item/sarraty-retina-responsive-multipurpose-theme/7038266?ref=im_ahmad" style="sarraty" target="blank" size="2" icon="icon: shopping-cart"]Purchase Now![/su_button]
[/su_content][/satext][/vc_column][/vc_row][vc_row][vc_column width="1/2"][bloglist title="Our News" postnumber="2"][/vc_column][vc_column width="1/2"][satabs title="Why Sarraty!" type="accordion"][satab title="Why Choose Us?"]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec iaculis metus vitae ligula elementum ut luctus lorem facilisis. Sed non leo nisl, ac euismod nisi. Aenean augue dolor, facilisis id fringilla ut, tempus vitae nibh.[/satab][satab title="Our Great Features."]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec iaculis metus vitae ligula elementum ut luctus lorem facilisis. Sed non leo nisl, ac euismod nisi. Aenean augue dolor, facilisis id fringilla ut, tempus vitae nibh.[/satab][satab title="Our Competitors "]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec iaculis metus vitae ligula elementum ut luctus lorem facilisis. Sed non leo nisl, ac euismod nisi. Aenean augue dolor, facilisis id fringilla ut, tempus vitae nibh.[/satab][/satabs][/vc_column][/vc_row][vc_row][vc_column][action title="Purchase Sarraty for $49 now!" button="Purchase now!" button_icon="icon-basket" url="http://themeforest.net/item/sarraty-retina-responsive-multipurpose-theme/7038266?ref=im_ahmad" img_width="0" img_left="0" img_bottom="0" text_left="0" box_top="0" effect="show_fade_down" button_targets="blank"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor.[/action][/vc_column][/vc_row][vc_row][vc_column][clients title="Clients Choose to work with us!" postnumber="6" appear="6"][/vc_column][/vc_row]
CONTENT;

    vc_add_default_templates( $data );
}

add_action( 'vc_load_default_templates_action','home1_template_for_vc' ); // Hook in

function home1_template_for_vc() {
    $data               = array(); // Create new array
    $data['name']       = __( 'Home 1', 'asalah' ); // Assign name for your custom template
    $data['weight']     = 1; // Weight of your template in the template list
    $data['custom_class'] = 'home_1_for_vc_custom_template'; // CSS class name
    $data['content']    = <<<CONTENT
		[vc_row container="fluid" margin_top="-96"][vc_column][revslider alias="slider2" offset="0"][/vc_column][/vc_row][vc_row parallax="yes"][vc_column width="1/4"][saservices][saservice title="HIGH QUALITY" icon="icon-lightbulb-1" media_src="links" image_external_url="https://ahmad.works/sarraty/wp-content/uploads/2014/01/5969467320_e76c30da15.jpg" url="#"]Lorem Ipsum. [su_tooltip style="dark"]Proin gravida[/su_tooltip] nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis.[/saservice][/saservices][/vc_column][vc_column width="1/4"][saservices][saservice title="GREAT FEATURES" icon="icon-beaker-1" media_src="links" image_external_url="https://ahmad.works/sarraty/wp-content/uploads/2014/01/5880637206_306535f05f_m.jpg" url="#"]Lorem Ipsum. Proin gravida nibh vel velit [su_tooltip style="dark"]auctor aliquet.[/su_tooltip] Aenean sollicitudin, lorem quis.[/saservice][/saservices][/vc_column][vc_column width="1/4"][saservices][saservice title="CRAFTED WITH CARE" icon="icon-cog-2" media_src="links" image_external_url="https://ahmad.works/sarraty/wp-content/uploads/2014/01/5880069221_8faec19153_m.jpg" url="#"]Lorem Ipsum. Proin gravida nibh vel [su_tooltip style="dark"] velit auctor[/su_tooltip] aliquet. Aenean sollicitudin, lorem quis.[/saservice][/saservices][/vc_column][vc_column width="1/4"][saservices][saservice title="LOVE OUR CLIENTS" icon="icon-heart-2" media_src="links" image_external_url="https://ahmad.works/sarraty/wp-content/uploads/2014/01/5969477908_ff0aaf8abc_m1.jpg" url="#"]Lorem Ipsum. [su_tooltip style="dark"]Proin gravida[/su_tooltip] nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis.[/saservice][/saservices][/vc_column][/vc_row][vc_row content_placement="middle" title="Our Recent Works" icon="icon-camera" background_style="color" border_bottom="#e5e5e5" bg_color="#f8f8f8" padding_top="62" padding_bottom="30" css=".vc_custom_1509509511583{background-color: #f8f8f8 !important;}"][vc_column][satext thewidth="container" effect="show_fade_down" width="container"][su_content align="center"]Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. [su_tooltip style="dark"]Morbi accumsan[/su_tooltip] ipsum velit. Nam nec tellus a odio tincidunt auctor a ornare odio. Sed non mauris vitae erat consequat auctor eu in elit. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum.[/su_content][/satext][projects thewidth="forcefullwidth" style="full" aside="desc" postnumber="10" button="All Projects" effect="parts" aside_effect_style="show_fade_left"][/vc_column][/vc_row][vc_row background_style="color"][vc_column][promotion title="We do great job!" title_icon="icon-thumbs-up" media_src="links" image_external_url="https://ahmad.works/sarraty/wp-content/uploads/2014/03/newipadphone.jpg"][su_tooltip style="dark"]Lorem Ipsum.[/su_tooltip] Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor.
[su_list icon="icon: check" icon_color="#333"]
<ul>
	<li>Lorem quis bibendum auctor, nisi elit consequat ipsum</li>
	<li>Proin gravida nibh vel velit auctor aliquet.</li>
	<li>Duis sed odio sit amet nibh vulputate cursus a sit</li>
	<li>Amet nibh vulputate cursus a sit amet mauris.</li>
	<li>Nisi elit consequat ipsum, nec sagittis sem nibh id elit</li>
	<li>Lorem quis bibendum auctor, nisi elit consequat ipsum</li>
	<li>Proin gravida nibh vel velit auctor aliquet.</li>
	<li>Duis sed odio sit amet nibh vulputate cursus a sit</li>
</ul>
[/su_list][/promotion][/vc_column][/vc_row][vc_row parallax="yes" background_style="cover_image" border_bottom="#e5e5e5" bg_color="#f8f8f8" media_src="links" bg_img_url="https://ahmad.works/sarraty/wp-content/uploads/2017/11/city-night-P6SUFJK.jpg" padding_top="110" padding_bottom="90" css=".vc_custom_1509732025311{background-color: #f8f8f8 !important;}"][vc_column][action title="Purchase Sarraty for $49 now!" button="Purchase now!" button_icon="icon-basket" url="http://themeforest.net/item/sarraty-retina-responsive-multipurpose-theme/7038266?ref=im_ahmad" img_width="200"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor.[/action][/vc_column][/vc_row][vc_row title=" Team Behind The Scenes" icon="icon-users" background_style="color" border_top="#ffffff" border_bottom="#e5e5e5" bg_color="#f8f8f8" padding_top="40" padding_bottom="40" css=".vc_custom_1509510358547{background-color: #f8f8f8 !important;}"][vc_column][satext][su_content align="center"]Behind every project there are great and experienced team members who work hard to to make this theme one of the amazing [su_tooltip style="dark"]Wordpress[/su_tooltip] themes, am nec tellus a odio tincidunt auctor a ornare odio. Sed non mauris vitae erat consequat auctor eu in elit. Aenean sollicitudin.[/su_content][/satext][team postnumber="4" grid="2"][/vc_column][/vc_row][vc_row title="Sarraty Is Amazing Wordpress Theme" icon="icon-bullhorn" background_style="color" border_bottom="#e5e5e5" bg_color="#f8f8f8" padding_top="60" padding_bottom="0" css=".vc_custom_1509555510002{background-color: #f8f8f8 !important;}"][vc_column][satext][su_content align="center"]Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. [su_tooltip style="dark"]Morbi accumsan[/su_tooltip] ipsum velit. Nam nec tellus a odio tincidunt auctor a ornare odio. Sed non mauris vitae erat consequat auctor eu in elit. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum.[/su_content][/satext][saimage media_src="links" image_external_url="https://ahmad.works/sarraty/wp-content/uploads/2014/03/browsers.jpg" effect="show_fade_up" align="center"][/vc_column][/vc_row][vc_row][vc_column][clients postnumber="6" appear="6"][/vc_column][/vc_row][vc_row background_style="color" border_bottom="#e5e5e5" bg_color="#f8f8f8" padding_top="40" padding_bottom="0" css=".vc_custom_1509555775610{background-color: #f8f8f8 !important;}"][vc_column width="1/2"][satext title="About Us!" title_icon="icon-info-circled"]Nisi elit consequat ipsum, nec sagittis sem nibh id elit. [su_tooltip style="dark"]Duis sed odio sit amet nibh vulputate cursus a sit amet mauris.[/su_tooltip] Morbi accumsan ipsum velit.
Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor.
[su_spacer size=10]
<a class="btn btn-default" href="#"><i class="icon-align-left "></i> Read More ...</a>[/satext][/vc_column][vc_column width="1/2"][promotion media_src="links" image_external_url="https://ahmad.works/sarraty/wp-content/uploads/2014/01/quote-1.png" image_position="right" info_align="center" effect="parts" image_effect_style="show_fade_left"][su_quote cite="John Doe" url="#"]Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit.[/su_quote][/promotion][/vc_column][/vc_row]
CONTENT;

    vc_add_default_templates( $data );
}

add_action( 'vc_load_default_templates_action','home2_template_for_vc' ); // Hook in

function home2_template_for_vc() {
    $data               = array(); // Create new array
    $data['name']       = __( 'Home 2', 'asalah' ); // Assign name for your custom template
    $data['weight']     = 2; // Weight of your template in the template list
    $data['custom_class'] = 'home_2_for_vc_custom_template'; // CSS class name
    $data['content']    = <<<CONTENT
		[vc_row container="fluid" margin_top="-96"][vc_column][revslider thewidth="fluid" alias="slider3" offset="96"][/vc_column][/vc_row][vc_row][vc_column width="1/3"][saservices][saservice title="Unlimited Options" icon="icon-lightbulb-1" url="#"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor.[/saservice][/saservices][/vc_column][vc_column width="1/3"][saservices][saservice title="Fast Support" icon="icon-beaker-1" url="#"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor.[/saservice][/saservices][/vc_column][vc_column width="1/3"][saservices][saservice title="Tons Of Shortcodes" icon="icon-cog-2" url="#"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor.[/saservice][/saservices][/vc_column][/vc_row][vc_row][vc_column][sadivide style="shadow1" top="0" bottom="0"][/vc_column][/vc_row][vc_row][vc_column][promotion title="Our Features!" media_src="links" image_external_url="https://ahmad.works/sarraty/wp-content/uploads/2014/03/mac.jpg" button_url="http://themeforest.net/item/sarraty-retina-responsive-multipurpose-theme/7038266?ref=ahmadworks" button_text="Try Now !" button_icon="fa fa-shopping-cart" effect="parts" image_effect_style="show_fade_left"][su_p][su_bold]Lorem Ipsum.[/su_bold] Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit.
[/su_p]

[su_list icon="icon: chevron-right" icon_color="#333"]
<ul>
 	<li>Nisi elit consequat ipsum, nec sagittis sem nibh id elit</li>
 	<li>Lorem quis bibendum auctor, nisi elit consequat ipsum</li>
 	<li>Proin gravida nibh vel velit auctor aliquet.</li>
 	<li>Duis sed odio sit amet nibh vulputate cursus a sit</li>
 	<li>Amet nibh vulputate cursus a sit amet mauris.</li>
</ul>
[/su_list][/promotion][/vc_column][/vc_row][vc_row][vc_column][sadivide style="shadow1" top="0" bottom="0"][/vc_column][/vc_row][vc_row][vc_column][projects title="Our Projects" aside="desc" desc="Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit." postnumber="3" button="All Projects" url="http://ahmad.works/sarraty/projects/"][/vc_column][/vc_row][vc_row][vc_column][sadivide style="shadow1" top="0" bottom="0"][/vc_column][/vc_row][vc_row][vc_column width="1/3"][satabs title="Why Choose Us ?" type="accordion"][satab title="Feature Number One"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit.[/satab][satab title="Feature Number Two"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit.[/satab][satab title="Feature Number Three"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit.[/satab][/satabs][/vc_column][vc_column width="2/3"][bloglist title="Company News" postnumber="2"][/vc_column][/vc_row][vc_row][vc_column][sadivide style="shadow1" top="0" bottom="0"][/vc_column][/vc_row][vc_row][vc_column width="1/2"][testicar title="What Our Clients Say ?" postnumber="2" auto="10"][/vc_column][vc_column width="1/2"][progresscon title="We Are Good At" type="striped"][progressbar title="Design skills" percent="93"][progressbar title="Wordpress skills" percent="89"][progressbar title="Marketing skills" percent="96"][/progresscon][/vc_column][/vc_row]
CONTENT;

    vc_add_default_templates( $data );
}

add_action( 'vc_load_default_templates_action','home3_template_for_vc' ); // Hook in

function home3_template_for_vc() {
    $data               = array(); // Create new array
    $data['name']       = __( 'Home 3', 'asalah' ); // Assign name for your custom template
    $data['weight']     = 3; // Weight of your template in the template list
    $data['custom_class'] = 'home_3_for_vc_custom_template'; // CSS class name
    $data['content']    = <<<CONTENT
		[vc_row container="fluid" margin_top="-96"][vc_column][revslider thewidth="fluid" alias="slider3" offset="96"][/vc_column][/vc_row][vc_row][vc_column width="2/3"][promotion title="Success story !" media_src="links" image_external_url="https://ahmad.works/sarraty/wp-content/uploads/2013/12/testiman11.png" image_position="right"][su_p]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. Morbi accumsan ipsum velit. Nam nec tellus a odio tincidunt auctor a ornare odio. Sed non mauris vitae erat consequat auctor eu in elit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Mauris in erat justo. Nullam ac urna eu felis dapibus condimentum sit amet a augue. Sed non neque elit.[/su_p]
[su_list icon="icon: star-half-empty" icon_color="#333"]
<ul>
 	<li>Nisi elit consequat ipsum, nec sagittis sem.</li>
 	<li>Lorem quis bibendum auctor, nisi elit.</li>
 	<li>Proin gravida nibh vel velit auctor aliquet.</li>
 	<li>Duis sed odio sit amet nibh vulputate cursus.</li>
 	<li>Amet nibh vulputate cursus a sit amet mauris.</li>
 	<li>Proin gravida nibh vel velit auctor aliquet.</li>
</ul>
[/su_list][/promotion][/vc_column][vc_column width="1/3"][pricing tableid="432" columns="one" style="3"][/vc_column][/vc_row][vc_row][vc_column][sadivide style="shadow1" top="0" bottom="0"][/vc_column][/vc_row][vc_row][vc_column width="1/2"][testicar title="What people say!" postnumber="2" auto="10"][/vc_column][vc_column width="1/2"][savideo video_url="https://vimeo.com/21746142"][/vc_column][/vc_row][vc_row][vc_column][sadivide style="shadow1" top="0" bottom="0"][/vc_column][/vc_row][vc_row][vc_column width="1/2"][satext][su_title heading="h4" border="no"]About Us[/su_title]
[su_p][su_bold]Lorem Ipsum.[/su_bold] Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. Morbi accumsan ipsum velit. Nam nec tellus a odio tincidunt auctor a ornare odio. Sed non mauris vitae erat consequat auctor eu in elit.[/su_p]
[su_title heading="h5" border="no"]Only 3 Steps to join us![/su_title]
[su_p]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum.[/su_p]
[su_button url="#" style="sarraty" target="blank" size="2" icon="icon: th-list"]Read More...[/su_button][/satext][/vc_column][vc_column width="1/2"][sasteps][sastep title="High Quality" icon="icon-lightbulb-1"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor.[/sastep][sastep title="Crafted With Care" icon="icon-gift-1"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor.[/sastep][sastep title="Love Our Clients" icon="icon-heart-2"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor.[/sastep][/sasteps][/vc_column][/vc_row][vc_row][vc_column][action title="Purchase Sarraty for $49 and build your website now!" button="Try Now!" url="http://themeforest.net/item/sarraty-retina-responsive-multipurpose-theme/7038266?ref=im_ahmad" effect="show_fade_up"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit.[/action][/vc_column][/vc_row]
CONTENT;

    vc_add_default_templates( $data );
}

add_action( 'vc_load_default_templates_action','home4_template_for_vc' ); // Hook in

function home4_template_for_vc() {
    $data               = array(); // Create new array
    $data['name']       = __( 'Home 4', 'asalah' ); // Assign name for your custom template
    $data['weight']     = 4; // Weight of your template in the template list
    $data['custom_class'] = 'home_4_for_vc_custom_template'; // CSS class name
    $data['content']    = <<<CONTENT
		[vc_row container="fluid" margin_top="-96"][vc_column][revslider thewidth="forcefullwidth" alias="slider3" offset="96"][/vc_column][/vc_row][vc_row background_style="color" border_bottom="#d9d9d9" bg_color="#f8f8f8" padding_top="34" padding_bottom="34" margin_top="-60" css=".vc_custom_1509674536318{margin-top: -50px !important;margin-right: -50px !important;margin-bottom: -50px !important;margin-left: -50px !important;background-color: #f8f8f8 !important;}"][vc_column][alertbox][action_inside_alertbox action_title="Fast Support!" icon="https://ahmad.works/sarraty/wp-content/uploads/2013/11/paperplane.png"][su_p][su_em]24/7 Support on chat, mail or phone[/su_em][/su_p][su_permalink url="https://ahmad.works/sarraty/?page_id=18"]Contact Us![/su_permalink]
[su_permalink url="https://ahmad.works/sarraty/?page_id=83"]See plans &amp; pricing[/su_permalink][/action_inside_alertbox][text_inside_alertbox title="Welcome to Sarraty!"][su_p][su_bold]Lorem Ipsum.[/su_bold] Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit.[/su_p][su_p]Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. Morbi accumsan ipsum velit. Nam nec tellus a odio tincidunt auctor a ornare odio.[/su_p][/text_inside_alertbox][/alertbox][/vc_column][/vc_row][vc_row][vc_column width="1/3"][bloglist title="Company News" postnumber="4" thumbnails="smallbloglist"][/vc_column][vc_column width="2/3"][savideo title="Take a tour" video_url="https://vimeo.com/21746142"][/vc_column][/vc_row][vc_row][vc_column][sadivide style="shadow2" top="0" bottom="0"][/vc_column][/vc_row][vc_row][vc_column width="1/3"][saservices][saservice title="Clean Design" icon="icon-lightbulb-1" media_src="links" image_external_url="https://ahmad.works/sarraty/wp-content/uploads/2014/01/5969467320_e76c30da15.jpg"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor[/saservice][/saservices][/vc_column][vc_column width="1/3"][saservices][saservice title="High Quality" icon="icon-beaker-1" media_src="links" image_external_url="https://ahmad.works/sarraty/wp-content/uploads/2014/01/5880637206_306535f05f_m.jpg"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor[/saservice][/saservices][/vc_column][vc_column width="1/3"][saservices][saservice title="Love Clients" icon="icon-gift-1" media_src="links" image_external_url="https://ahmad.works/sarraty/wp-content/uploads/2014/01/5880069221_8faec19153_m.jpg"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor[/saservice][/saservices][/vc_column][/vc_row][vc_row][vc_column][sadivide style="shadow2" top="0" bottom="0"][/vc_column][/vc_row][vc_row][vc_column][action title="Purchase Now For $49 Only" button="Purchase Now" url="http://themeforest.net/item/sarraty-retina-responsive-multipurpose-theme/7038266?ref=ahmadworks" media_src="links" image_external_url="https://ahmad.works/sarraty/wp-content/uploads/2014/01/photodune-1982542-scared-man-m.png" img_width="200" img_left="20" img_bottom="0" text_left="200" box_top="90" button_targets="blank"]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor[/action][/vc_column][/vc_row]
CONTENT;

    vc_add_default_templates( $data );
}

add_action( 'vc_load_default_templates_action','home5_template_for_vc' ); // Hook in

function home5_template_for_vc() {
    $data               = array(); // Create new array
    $data['name']       = __( 'Home 5', 'asalah' ); // Assign name for your custom template
    $data['weight']     = 5; // Weight of your template in the template list
    $data['custom_class'] = 'home_5_for_vc_custom_template'; // CSS class name
    $data['content']    = <<<CONTENT
		[vc_row container="fluid" margin_top="-96"][vc_column][revslider thewidth="fluid" alias="slider3" offset="96"][/vc_column][/vc_row][vc_row background_style="color" border_bottom="#d9d9d9" bg_color="#f8f8f8" padding_top="34" padding_bottom="34" margin_top="-60" css=".vc_custom_1509674536318{margin-top: -50px !important;margin-right: -50px !important;margin-bottom: -50px !important;margin-left: -50px !important;background-color: #f8f8f8 !important;}"][vc_column][alertbox][action_inside_alertbox action_title="Fast Support!" icon="https://ahmad.works/sarraty/wp-content/uploads/2013/11/paperplane.png"][su_p][su_em]24/7 Support on chat, mail or phone[/su_em][/su_p][su_permalink url="https://ahmad.works/sarraty/?page_id=18"]Contact Us![/su_permalink]
[su_permalink url="https://ahmad.works/sarraty/?page_id=83"]See plans &amp; pricing[/su_permalink][/action_inside_alertbox][text_inside_alertbox title="Welcome to Sarraty!"][su_p][su_bold]Lorem Ipsum.[/su_bold] Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit.[/su_p][su_p]Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. Morbi accumsan ipsum velit. Nam nec tellus a odio tincidunt auctor a ornare odio.[/su_p][/text_inside_alertbox][/alertbox][/vc_column][/vc_row][vc_row][vc_column][satext][su_title align="center" border="no" style="standard" case="uppercase"]Welcome to Sarraty, The amazing wordpress theme![/su_title]

<center>
[su_p]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. Morbi accumsan ipsum velit. Nam nec tellus a odio tincidunt auctor a ornare odio. Sed non mauris vitae erat consequat auctor eu in elit. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum[/su_p]</center>[/satext][/vc_column][/vc_row][vc_row][vc_column][sadivide style="shadow1" top="30" bottom="30"][/vc_column][/vc_row][vc_row][vc_column][projects title="Projects portfolio" aside="desc" desc="Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit." postnumber="3" button="More projects ..." url="#"][/vc_column][/vc_row][vc_row][vc_column][sadivide style="shadow1" top="30" bottom="30"][/vc_column][/vc_row][vc_row][vc_column width="2/3"][savideo video_url="https://vimeo.com/21530616"][/vc_column][vc_column width="1/3"][testicar title="What clients say ?" postnumber="1" auto="10"][/vc_column][/vc_row][vc_row container="fluid"][vc_column][samap thewidth="fluid" text="https://www.google.com/maps?q=envato&amp;hl=en&amp;ll=-37.817412,144.965887&amp;spn=0.021121,0.045447&amp;sll=-37.817921,144.965286&amp;sspn=0.337932,0.98877&amp;hq=envato&amp;t=m&amp;z=15" effect="show_fade_up" height="340"][/vc_column][/vc_row][vc_row][vc_column width="1/3"][bloglist title="Our news" postnumber="4" thumbnails="smallbloglist"][/vc_column][vc_column width="2/3"][clients style="grid" title="Happy Clients" postnumber="12" appear="12"][/vc_column][/vc_row][vc_row][vc_column][action title="Haven't you fall in love with our theme yet !!!" button="Purchase for $49 now" url="http://themeforest.net/item/sarraty-retina-responsive-multipurpose-theme/7038266?ref=im_ahmad" img_width="200" img_left="0" img_bottom="0" box_top="0"]Cursus a sit amet mauris. Morbi accumsan ipsum velit. Nam nec tellus a odio tincidunt auctor a ornare odio. Sed non mauris vitae erat consequat auctor eu in elit.[/action][/vc_column][/vc_row]
CONTENT;

    vc_add_default_templates( $data );
}

add_action( 'vc_load_default_templates_action','home6_template_for_vc' ); // Hook in

function home6_template_for_vc() {
    $data               = array(); // Create new array
    $data['name']       = __( 'Home 6', 'asalah' ); // Assign name for your custom template
    $data['weight']     = 6; // Weight of your template in the template list
    $data['custom_class'] = 'home_6_for_vc_custom_template'; // CSS class name
    $data['content']    = <<<CONTENT
		[vc_row container="fluid" margin_top="-96"][vc_column][revslider thewidth="fluid" alias="slider3" offset="96"][/vc_column][/vc_row][vc_row][vc_column width="1/2"][savideo video_url="https://vimeo.com/21530616"][/vc_column][vc_column width="1/2"][satext][su_title heading="h4" border="no"]About Us[/su_title]
[su_p][su_bold]Lorem Ipsum.[/su_bold] Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. Morbi accumsan ipsum velit. Nam nec tellus a odio tincidunt auctor a ornare odio. Sed non mauris vitae erat consequat auctor eu in elit.[/su_p][su_p]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum.[/su_p][su_button url="#" style="sarraty" target="blank" size="2" icon="icon: th-list"]Read More...[/su_button][/satext][/vc_column][/vc_row][vc_row][vc_column][sadivide style="shadow4" top="0" bottom="0"][/vc_column][/vc_row][vc_row][vc_column][satext][su_title align="center" border="no" style="standard" case="uppercase"]Unlimited colours, fonts and ton of features![/su_title]

<center>
[su_p]Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. Morbi accumsan ipsum velit. Nam nec tellus a odio tincidunt auctor a ornare odio. Sed non mauris vitae erat consequat auctor eu in elit. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum[/su_p]</center>[/satext][/vc_column][/vc_row][vc_row][vc_column][saimage media_src="links" image_external_url="https://ahmad.works/sarraty/wp-content/uploads/2014/03/browserswhite.jpg" align="center"][/vc_column][/vc_row][vc_row][vc_column][sadivide style="shadow4" top="0" bottom="0"][/vc_column][/vc_row][vc_row][vc_column][pricing tableid="131" style="3"][/vc_column][/vc_row][vc_row][vc_column][sadivide style="shadow4" top="0" bottom="0"][/vc_column][/vc_row][vc_row][vc_column width="1/2"][clients style="grid" title="Clients happy with us!" postnumber="6" appear="6"][/vc_column][vc_column width="1/2"][progresscon title="Our Skills"][progressbar title="Design skills" percent="93"][progressbar title="Wordpress skills" percent="89"][progressbar title="Marketing skills" percent="96"][/progresscon][/vc_column][/vc_row]
CONTENT;

    vc_add_default_templates( $data );
}

add_action( 'vc_load_default_templates_action','home7_template_for_vc' ); // Hook in

function home7_template_for_vc() {
    $data               = array(); // Create new array
    $data['name']       = __( 'Home 7', 'asalah' ); // Assign name for your custom template
    $data['weight']     = 7; // Weight of your template in the template list
    $data['custom_class'] = 'home_7_for_vc_custom_template'; // CSS class name
    $data['content']    = <<<CONTENT
		[vc_row][vc_column][bloglist style="slider" postnumber="5"][/vc_column][/vc_row][vc_row background_style="color" border_top="#e5e5e5" border_bottom="#e5e5e5" bg_color="#f8f8f8" margin_top="25" margin_bottom="42"][vc_column][satext][su_quote cite="John Doe" url="#"]Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit.[/su_quote][/satext][/vc_column][/vc_row][vc_row][vc_column][bloglist title="Post Carousel" style="carousel" postnumber="6"][/vc_column][/vc_row][vc_row][vc_column][bloglist title="Posts Grid" style="grid" postnumber="5" thumbnails="smallbloglist"][/vc_column][/vc_row][vc_row][vc_column width="1/2"][bloglist title="Posts List" postnumber="4" thumbnails="smallbloglist"][/vc_column][vc_column width="1/2"][bloglist title="Posts List" postnumber="4" thumbnails="smallbloglist"][/vc_column][/vc_row]
CONTENT;

    vc_add_default_templates( $data );
}

add_action( 'vc_before_init', 'sarraty_shortcodes_to_vc' );
function sarraty_shortcodes_to_vc() {

	// $row_custom_css = array (
	// 		'admin_enqueue_css' => array(get_template_directory_uri().'/extend-vc.css'),
	// );
	// vc_map_update('vc_row', $row_custom_css);

	$row_custom_css = array (
			'admin_enqueue_css' => array(get_template_directory_uri().'/extend-vc.css'),
			'admin_enqueue_js' => array(get_template_directory_uri().'/extend-vc.js'),
	);
	vc_map_update('vc_row', $row_custom_css);

	vc_add_param( "vc_row", array(
									"type" => "textfield",
									"holder" => "div",
									"class" => "",
									"heading" => __("Title", 'sarraty'),
									"param_name" => "title",
									"value" => "",
									"group" => "Sarraty Section",
	));
	
	vc_add_param( "vc_row", array(
								 "type" => "iconpicker",
								 "holder" => "div",
								 "class" => "",
								 "heading" => __("Icon", 'sarraty'),
								 "param_name" => "icon",
								 "settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
								 "value" => "",
								 "group" => "Sarraty Section",
	));

	vc_add_param( "vc_row", array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Container", 'sarraty'),
									"param_name" => "container",
									"value" => array(
										'Container' => 'container',
										'Full Width' => 'fluid',
									),
									"group" => "Sarraty Section",
	));

	vc_add_param( "vc_row", array(
									"type" => "dropdown",
									"class" => "",
									"heading" => "Background Style",
									"group" => "Sarraty Section",
									"param_name" => "background_style",
									"value" => array_flip(array(
										'default' => 'Default',
										'color' => 'Color',
										'cover_image' => 'Cover Image',
										'repeated_image' => 'Repeated Image',
										'video' => 'Video',
										 )),
							 ));
vc_add_param( "vc_row", array(
									 "type" => "colorpicker",
									 "holder" => "div",
									 "class" => "",
									 "heading" => __("Border Top Color", 'sarraty'),
									 "param_name" => "border_top",
									 "group" => "Sarraty Section",
									 "value" => "",
					 ));

					 vc_add_param( "vc_row", array(
									 "type" => "colorpicker",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Border Bottom Color", 'sarraty'),
									 "param_name" => "border_bottom",
									 "value" => "",
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "colorpicker",
									 "holder" => "div",
									 "class" => "",
									 "heading" => __("Background Color", 'sarraty'),
									 "param_name" => "bg_color",
									 "group" => "Sarraty Section",
									 "value" => "",
								 ));
								 
								 vc_add_param( "vc_row", array(
																 "type" => "dropdown",
																 "holder" => "div",
																 "class" => "",
																 "heading" => __("Image/video sources", 'sarraty'),
																 "param_name" => "media_src",
																 "value" => array(
																	 'Media Library' => 'media',
																	 'External Links' => 'links',
																 ),
																 "group" => "Sarraty Section",
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "attach_image",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Background Image", 'sarraty'),
									 "param_name" => "bg_img",
									 "value" => "",
									 'dependency' => array(
											'element' => 'media_src',
											'value' => array(
												'media',
											),
										),
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "attach_image",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Video MP4 URL", 'sarraty'),
									 "param_name" => "videomp",
									 "value" => "",
									 'dependency' => array(
											'element' => 'media_src',
											'value' => array(
												'media',
											),
										),
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "attach_image",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Video M4V URL", 'sarraty'),
									 "param_name" => "videomv",
									 "value" => "",
									 'dependency' => array(
											'element' => 'media_src',
											'value' => array(
												'media',
											),
										),
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "attach_image",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Video WEBM URL", 'sarraty'),
									 "param_name" => "videowebm",
									 "value" => "",
									 'dependency' => array(
											'element' => 'media_src',
											'value' => array(
												'media',
											),
										),
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "attach_image",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Video OGV URL or OGG URL", 'sarraty'),
									 "param_name" => "videoogg",
									 "value" => "",
									 'dependency' => array(
											'element' => 'media_src',
											'value' => array(
												'media',
											),
										),
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "textfield",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Background Image Url", 'sarraty'),
									 "param_name" => "bg_img_url",
									 "value" => "",
									 'dependency' => array(
											'element' => 'media_src',
											'value' => array(
												'links',
											),
										),
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "textfield",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Video MP4 URL", 'sarraty'),
									 "param_name" => "videomp_url",
									 "value" => "",
									 'dependency' => array(
											'element' => 'media_src',
											'value' => array(
												'links',
											),
										),
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "textfield",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Video M4V URL", 'sarraty'),
									 "param_name" => "videomv_url",
									 "value" => "",
									 'dependency' => array(
											'element' => 'media_src',
											'value' => array(
												'links',
											),
										),
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "textfield",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Video WEBM URL", 'sarraty'),
									 "param_name" => "videowebm_url",
									 "value" => "",
									 'dependency' => array(
											'element' => 'media_src',
											'value' => array(
												'links',
											),
										),
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "textfield",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Video OGV URL or OGG URL", 'sarraty'),
									 "param_name" => "videoogg_url",
									 "value" => "",
									 'dependency' => array(
											'element' => 'media_src',
											'value' => array(
												'links',
											),
										),
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "dropdown",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Parallax", 'sarraty'),
									 "param_name" => "parallax",
									 "value" => array_flip(array(
										 'no' => 'No',
										 'yes' => 'Yes',
									 )),
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "textfield",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Padding Top", 'sarraty'),
									 "param_name" => "padding_top",
									 "value" => '',
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "textfield",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Padding Bottom", 'sarraty'),
									 "param_name" => "padding_bottom",
									 "value" => '',
								 ));
								 vc_add_param( "vc_row", array(
									 "type" => "textfield",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Margin Top", 'sarraty'),
									 "param_name" => "margin_top",
									 "value" => '',
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "textfield",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Margin Bottom", 'sarraty'),
									 "param_name" => "margin_bottom",
									 "value" => '',
								 ));

								 vc_add_param( "vc_row", array(
									 "type" => "dropdown",
									 "holder" => "div",
									 "class" => "",
									 "group" => "Sarraty Section",
									 "heading" => __("Effect", 'sarraty'),
									 "param_name" => "effect",
									 "value" => array_flip(array(
										 'no_show_effect' => 'Disable',
										 'show_fade' => 'Fade In',
										 'show_fade_left' => 'Fade In From Left',
										 'show_fade_right' => 'Fade In From Right',
										 'show_fade_up' => 'Fade In From Up',
										 'show_fade_down' => 'Fade In From Down',
										 'show_bounce' => 'Bounce',
									 )),
								 ));

	/* Pricing Table Block */
	vc_map( array(
				"icon" => get_template_directory_uri().'/images/creditslogo.png',
				"name" => __("Pricing Table", 'sarraty'),
				"base" => "pricing",
				"class" => "",
				"category" => __('Sarraty', 'sarraty'),
				"params" => array(
					array(
									"type" => "textfield",
									"holder" => "div",
									"class" => "",
									"heading" => __("Title (Optional)", 'sarraty'),
									"param_name" => "title",
									"value" => "",
								),
					array(
									"type" => "textfield",
									"holder" => "div",
									"class" => "",
									"heading" => __("Table ID (Required)", 'sarraty'),
									"param_name" => "tableid",
									"value" => "",
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Columns", 'sarraty'),
									"param_name" => "columns",
									"std" => 'four',
									"value" => array_flip(array(
										'one' => 'One',
										'two' => 'Two',
										'three' => 'Three',
										'four' => 'Four',
										'five' => 'Five',
									)),
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Style", 'sarraty'),
									"param_name" => "style",
									"value" => array_flip(array(
										'1' => '1',
										'2' => '2',
										'3' => '3',
									)),
								),
				),
			));

	/* Projects Block */

	vc_map( array(
				"icon" => get_template_directory_uri().'/images/creditslogo.png',
				"name" => __("Projects", 'sarraty'),
				"base" => "projects",
				"class" => "",
				"category" => __('Sarraty', 'sarraty'),
				"params" => array(
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Width", 'sarraty'),
									"param_name" => "thewidth",
									"value" => array_flip(array(
										'container' => 'Container',
										'fluid' => 'Fluid',
										'forcefullwidth' => 'Window Width',
									)),
								),
					array(
									"type" => "textfield",
									"holder" => "div",
									"class" => "",
									"heading" => __("Title", 'sarraty'),
									"param_name" => "title",
									"value" => '',
								),
					array(
									"type" => "iconpicker",
									"holder" => "div",
									"class" => "",
									"heading" => __("Title icon", 'sarraty'),
									"param_name" => "title_icon",
									"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
									"value" => '',
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Style", 'sarraty'),
									"param_name" => "style",
									"value" => array_flip(array(
										'default' => 'Default',
										'grid' => 'Grid',
										'full' => 'Full Carousel (words with full width)',
									)),
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Aside", 'sarraty'),
									"param_name" => "aside",
									"value" => array_flip(array(
										'filter' => 'Tag Filter',
										'desc' => 'Description Text',
									)),
								),
					array(
									"type" => "textarea",
									"holder" => "div",
									"class" => "",
									"heading" => __("Description Text", 'sarraty'),
									"param_name" => "desc",
									"value" => '',
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Order", 'sarraty'),
									"param_name" => "order",
									"value" => array_flip(array(
											'date' => 'Latest Projects',
											'rand' => 'Random Projects'
									)),
								),
					array(
									"type" => "textfield",
									"holder" => "div",
									"class" => "",
									"heading" => __("Tags (Separated by comma)", 'sarraty'),
									"param_name" => "tags_ids",
									"value" => '',
								),
					array(
									"type" => "textfield",
									"holder" => "div",
									"class" => "",
									"heading" => __("Number Of Posts", 'sarraty'),
									"param_name" => "postnumber",
									"value" => '',
								),
					array(
									"type" => "textfield",
									"holder" => "div",
									"class" => "",
									"heading" => __("Button Text", 'sarraty'),
									"param_name" => "button",
									"value" => '',
								),
					array(
									"type" => "iconpicker",
									"holder" => "div",
									"class" => "",
									"heading" => __("Button Icon", 'sarraty'),
									"param_name" => "button_icon",
									"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
									"value" => '',
								),
					array(
									"type" => "textfield",
									"holder" => "div",
									"class" => "",
									"heading" => __("Portfolio Page URL", 'sarraty'),
									"param_name" => "url",
									"value" => '',
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Effect", 'sarraty'),
									"param_name" => "effect",
									"value" => array_flip(array(
										'none' => 'No Effects',
										'all' => 'All',
										'parts' => 'Parts',
									)),
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("All Block Effect Style", 'sarraty'),
									"param_name" => "effect_style",
									"value" => array_flip(array(
										'no_show_effect' => 'Disable',
										'show_fade' => 'Fade In',
										'show_fade_left' => 'Fade In From Left',
										'show_fade_right' => 'Fade In From Right',
										'show_fade_up' => 'Fade In From Up',
										'show_fade_down' => 'Fade In From Down',
										'show_bounce' => 'Bounce',
									)),
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Aside Effect Style", 'sarraty'),
									"param_name" => "aside_effect_style",
									"value" => array_flip(array(
										'no_show_effect' => 'Disable',
										'show_fade' => 'Fade In',
										'show_fade_left' => 'Fade In From Left',
										'show_fade_right' => 'Fade In From Right',
										'show_fade_up' => 'Fade In From Up',
										'show_fade_down' => 'Fade In From Down',
										'show_bounce' => 'Bounce',
									)),
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Grid Effect Style", 'sarraty'),
									"param_name" => "grid_effect_style",
									"value" => array_flip(array(
										'no_show_effect' => 'Disable',
										'show_fade' => 'Fade In',
										'show_fade_left' => 'Fade In From Left',
										'show_fade_right' => 'Fade In From Right',
										'show_fade_up' => 'Fade In From Up',
										'show_fade_down' => 'Fade In From Down',
										'show_bounce' => 'Bounce',
									)),
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Thumbnails Effect Style", 'sarraty'),
									"param_name" => "thumb_effect_style",
									"value" => array_flip(array(
										'no_show_effect' => 'Disable',
										'show_fade' => 'Fade In',
										'show_fade_left' => 'Fade In From Left',
										'show_fade_right' => 'Fade In From Right',
										'show_fade_up' => 'Fade In From Up',
										'show_fade_down' => 'Fade In From Down',
										'show_bounce' => 'Bounce',
									)),
								),
				),
			));

	/* Promotion Block */

	vc_map( array(
				"icon" => get_template_directory_uri().'/images/creditslogo.png',
				"name" => __("Promotion", 'sarraty'),
				"base" => "promotion",
				"class" => "",
				"category" => __('Sarraty', 'sarraty'),
				"params" => array(
					array(
									"type" => "textfield",
									"holder" => "div",
									"class" => "",
									"heading" => __("Title", 'sarraty'),
									"param_name" => "title",
									"value" => '',
								),
								array(
												"type" => "iconpicker",
												"holder" => "div",
												"class" => "",
												"heading" => __("Title icon", 'sarraty'),
												"param_name" => "title_icon",
												"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
												"value" => '',
											),
					array(
									"type" => "textarea_html",
									"holder" => "div",
									"class" => "",
									"heading" => __("Text", 'sarraty'),
									"param_name" => "content",
									"value" => '',
								),
					array(
													"type" => "dropdown",
													"holder" => "div",
													"class" => "",
													"heading" => __("Image source", 'sarraty'),
													"param_name" => "media_src",
													"value" => array(
														'Media Library' => 'media',
														'External Links' => 'links',
													),
												),
					array(
									"type" => "attach_image",
									"holder" => "div",
									"class" => "",
									"heading" => __("Image Media", 'sarraty'),
									"param_name" => "image_url",
									'dependency' => array(
										 'element' => 'media_src',
										 'value' => array(
											 'media',
										 ),
									 ),
									"value" => '',
								),
					array(
									"type" => "textfield",
									"holder" => "div",
									"class" => "",
									"heading" => __("Image URL", 'sarraty'),
									"param_name" => "image_external_url",
									'dependency' => array(
										 'element' => 'media_src',
										 'value' => array(
											 'links',
										 ),
									 ),
									"value" => '',
								),
					array(
									"type" => "textfield",
									"holder" => "div",
									"class" => "",
									"heading" => __("Button URL", 'sarraty'),
									"param_name" => "button_url",
									"value" => '',
								),
					array(
									"type" => "textfield",
									"holder" => "div",
									"class" => "",
									"heading" => __("Button Text", 'sarraty'),
									"param_name" => "button_text",
									"value" => '',
								),
					array(
									"type" => "iconpicker",
									"holder" => "div",
									"class" => "",
									"heading" => __("Button Icon", 'sarraty'),
									"param_name" => "button_icon",
									"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
									"value" => '',
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Image Postion", 'sarraty'),
									"param_name" => "image_position",
									"value" => array_flip(array(
											'left' => 'Left',
											'right' => 'Right',
									)),
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Information Text Align", 'sarraty'),
									"param_name" => "info_align",
									"value" => array_flip(array(
										'left' => 'Left',
										'right' => 'Right',
										'center' => 'Center',
									)),
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Effect", 'sarraty'),
									"param_name" => "effect",
									"value" => array_flip(array(
										'none' => 'No Effects',
										'all' => 'All',
										'parts' => 'Parts',
									)),
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("All Block Effect Style", 'sarraty'),
									"param_name" => "effect_style",
									"value" => array_flip(array(
										'no_show_effect' => 'Disable',
										'show_fade' => 'Fade In',
										'show_fade_left' => 'Fade In From Left',
										'show_fade_right' => 'Fade In From Right',
										'show_fade_up' => 'Fade In From Up',
										'show_fade_down' => 'Fade In From Down',
										'show_bounce' => 'Bounce',
									)),
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Image Effect Style", 'sarraty'),
									"param_name" => "image_effect_style",
									"value" => array_flip(array(
										'no_show_effect' => 'Disable',
										'show_fade' => 'Fade In',
										'show_fade_left' => 'Fade In From Left',
										'show_fade_right' => 'Fade In From Right',
										'show_fade_up' => 'Fade In From Up',
										'show_fade_down' => 'Fade In From Down',
										'show_bounce' => 'Bounce',
									)),
								),
					array(
									"type" => "dropdown",
									"holder" => "div",
									"class" => "",
									"heading" => __("Info Effect Style", 'sarraty'),
									"param_name" => "text_effect_style",
									"value" => array_flip(array(
										'no_show_effect' => 'Disable',
										'show_fade' => 'Fade In',
										'show_fade_left' => 'Fade In From Left',
										'show_fade_right' => 'Fade In From Right',
										'show_fade_up' => 'Fade In From Up',
										'show_fade_down' => 'Fade In From Down',
										'show_bounce' => 'Bounce',
									)),
								),
				),
			));


  vc_map( array(
        "icon" => get_template_directory_uri().'/images/creditslogo.png',
        "name" => __("Action Box", 'sarraty'),
        "base" => "action",
        "class" => "",
        "category" => __('Sarraty', 'sarraty'),
        "params" => array(
          array(
     				"type" => "dropdown",
     				"class" => "",
     				"heading" => "Style",
     				"param_name" => "style",
     				"value" => array_flip(array(
              'default' => 'Default',
              'white' => 'White',
              'dark' => 'Dark',
             	'transparent_white' => 'Transparent With white borders',
             	'transparent_black' => 'Transparent with black borders',
   				     )),
             ),
         array(
    				"type" => "dropdown",
    				"class" => "",
    				"heading" => "Text Color",
    				"param_name" => "color",
    				"value" => array_flip(array(
              'white' => 'white',
              'black' => 'black',
  				     )),
            ),
        array(
   				"type" => "dropdown",
   				"class" => "",
   				"heading" => "Button Style",
   				"param_name" => "button_style",
   				"value" => array_flip(array(
            'default' => 'Default',
            'themecolor' => 'Theme Color',
            'transparentw' => 'Transparent With white borders',
            'transparentb' => 'Transparent with black borders',
 				     )),
           ),
       array(
    				"type" => "textfield",
    				"holder" => "div",
    				"class" => "",
    				"heading" => __("Title", 'sarraty'),
    				"param_name" => "title",
    				"value" => ""
    			),
					array(
									"type" => "iconpicker",
									"holder" => "div",
									"class" => "",
									"heading" => __("Title icon", 'sarraty'),
									"param_name" => "title_icon",
									"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
									"value" => '',
								),
      array(
    				"type" => "textarea_html",
    				"holder" => "div",
    				"class" => "",
    				"heading" => __("Content", 'sarraty'),
    				"param_name" => "content",
    				"value" => ""
    			),
      array(
      				"type" => "textfield",
      				"holder" => "div",
      				"class" => "",
      				"heading" => __("Button Text", 'sarraty'),
      				"param_name" => "button",
      				"value" => ""
      			),
			array(
							"type" => "iconpicker",
							"holder" => "div",
							"class" => "",
							"heading" => __("Button Icon", 'sarraty'),
							"param_name" => "button_icon",
							"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
							"value" => '',
						),
      array(
              "type" => "textfield",
              "holder" => "div",
              "class" => "",
              "heading" => __("Button URL", 'sarraty'),
              "param_name" => "url",
              "value" => ""
            ),
						array(
														"type" => "dropdown",
														"holder" => "div",
														"class" => "",
														"heading" => __("Image source", 'sarraty'),
														"param_name" => "media_src",
														"value" => array(
															'Media Library' => 'media',
															'External Links' => 'links',
														),
														),
      array(
              "type" => "attach_image",
              "holder" => "div",
              "class" => "",
              "heading" => __("Image Media", 'sarraty'),
              "param_name" => "img_url",
							'dependency' => array(
								 'element' => 'media_src',
								 'value' => array(
									 'media',
								 ),
							 ),
              "value" => ""
            ),
      array(
              "type" => "textfield",
              "holder" => "div",
              "class" => "",
              "heading" => __("Image URL", 'sarraty'),
              "param_name" => "image_external_url",
							'dependency' => array(
								 'element' => 'media_src',
								 'value' => array(
									 'links',
								 ),
							 ),
              "value" => ""
            ),
      array(
              "type" => "textfield",
              "holder" => "div",
              "class" => "",
              "heading" => __("Image Width", 'sarraty'),
              "param_name" => "img_width",
              "value" => ""
            ),
      array(
              "type" => "textfield",
              "holder" => "div",
              "class" => "",
              "heading" => __("Image Left Offset", 'sarraty'),
              "param_name" => "img_left",
              "value" => ""
            ),
      array(
              "type" => "textfield",
              "holder" => "div",
              "class" => "",
              "heading" => __("Image Bottom Offset", 'sarraty'),
              "param_name" => "img_bottom",
              "value" => ""
            ),
      array(
              "type" => "textfield",
              "holder" => "div",
              "class" => "",
              "heading" => __("Text Left Offset", 'sarraty'),
              "param_name" => "text_left",
              "value" => ""
            ),
      array(
              "type" => "textfield",
              "holder" => "div",
              "class" => "",
              "heading" => __("Box Margin Top", 'sarraty'),
              "param_name" => "box_top",
              "value" => ""
            ),
      array(
              "type" => "dropdown",
              "holder" => "div",
              "class" => "",
              "heading" => __("Effect", 'sarraty'),
              "param_name" => "effect",
              "value" => array_flip(array(
                  'no_show_effect' => 'Disable',
                  'show_fade' => 'Fade In',
                  'show_fade_left' => 'Fade In From Left',
                  'show_fade_right' => 'Fade In From Right',
                  'show_fade_up' => 'Fade In From Up',
                  'show_fade_down' => 'Fade In From Down',
                  'show_bounce' => 'Bounce',
              ))
            ),
      array(
         "type" => "dropdown",
         "class" => "",
         "heading" => "Button Opens in",
         "param_name" => "button_targets",
         "value" => array_flip(array(
           'default' => 'Same Tab',
           'blank' => 'New Tab',
            )),
      )
      )
   ) );

   /* Alert Block */

   vc_map( array(
         "icon" => get_template_directory_uri().'/images/creditslogo.png',
         "name" => __("Alerts", 'sarraty'),
         "base" => "alert",
         "class" => "",
         "category" => __('Sarraty', 'sarraty'),
         "params" => array(
           array(
                   "type" => "textfield",
                   "holder" => "div",
                   "class" => "",
                   "heading" => __("Title (Optional)", 'sarraty'),
                   "param_name" => "title",
                   "value" => ""
                 ),

           array(
                   "type" => "textarea_html",
                   "holder" => "div",
                   "class" => "",
                   "heading" => __("Alert Text (required)", 'sarraty'),
                   "param_name" => "content",
                   "value" => ""
                 ),
           array(
              "type" => "dropdown",
              "class" => "",
              "heading" => "Alert Type",
              "param_name" => "type_options",
              "value" => array_flip(array(
                'alert-info' => 'Info',
                'alert-warning' => 'Warning',
                'alert-success' => 'Success',
                'alert-danger' => 'Danger'
                 )),
           ),
           array(
              "type" => "dropdown",
              "class" => "",
              "heading" => "Effect",
              "param_name" => "effects_types",
              "value" => array_flip(array(
                'no_show_effect' => 'Disable',
                'show_fade' => 'Fade In',
                'show_fade_left' => 'Fade In From Left',
                'show_fade_right' => 'Fade In From Right',
                'show_fade_up' => 'Fade In From Up',
                'show_fade_down' => 'Fade In From Down',
                'show_bounce' => 'Bounce'
                 )),
           )
         )

       ));

       /* Alertbox Block */

       vc_map( array(
             "icon" => get_template_directory_uri().'/images/creditslogo.png',
             "name" => __("Alert Box", 'sarraty'),
             "base" => "alertbox",
						 "as_parent" => array('only' => 'action_inside_alertbox,text_inside_alertbox'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
						 "content_element" => true,
             "class" => "",
             "category" => __('Sarraty', 'sarraty'),
						 "js_view" => 'VcColumnView',
             "params" => ''
      ));
			
       vc_map( array(
             "icon" => get_template_directory_uri().'/images/creditslogo.png',
             "name" => __("Alert Box Action", 'sarraty'),
             "base" => "action_inside_alertbox",
						 "as_child" => array('only' => 'alertbox'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
						 "is_container" => true,
             "class" => "",
             "params" => array(
							 array(
											 "type" => "textfield",
											 "holder" => "div",
											 "class" => "",
											 "heading" => __("Action Title", 'sarraty'),
											 "param_name" => "action_title",
											 "value" => ""
										 ),
							 array(
											 "type" => "textarea_html",
											 "holder" => "div",
											 "class" => "",
											 "heading" => __("Action Text", 'sarraty'),
											 "param_name" => "content",
											 "value" => ""
										 ),
										 array(
														 "type" => "textfield",
														 "holder" => "div",
														 "class" => "",
														 "heading" => __("Fontawesome icon code or image url", 'sarraty'),
														 "param_name" => "icon",
														 "value" => ""
													 ),
						 ),
      ));
       vc_map( array(
             "icon" => get_template_directory_uri().'/images/creditslogo.png',
             "name" => __("Alert Box Text", 'sarraty'),
             "base" => "text_inside_alertbox",
						 "as_child" => array('only' => 'alertbox'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
						 "is_container" => true,
             "class" => "",
             "params" => array(
							 array(
                       "type" => "textfield",
                       "holder" => "div",
                       "class" => "",
                       "heading" => __("Title (Optional)", 'sarraty'),
                       "param_name" => "title",
                       "value" => ""
                     ),
							 array(
											 "type" => "textarea_html",
											 "holder" => "div",
											 "class" => "",
											 "heading" => __("Action Text", 'sarraty'),
											 "param_name" => "content",
											 "value" => ""
										 ),
							 array(
											 "type" => "iconpicker",
											 "holder" => "div",
											 "class" => "",
											 "heading" => __("Icon", 'sarraty'),
											 "param_name" => "icon",
											 "settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
											 "value" => ""
										 ),
						 ),
      ));
			
			//Your "container" content element should extend WPBakeryShortCodesContainer class to inherit all required functionality
			if ( class_exists( 'WPBakeryShortCodesContainer' ) ) {
					class WPBakeryShortCode_alertbox extends WPBakeryShortCodesContainer {
					}
			}
			if ( class_exists( 'WPBakeryShortCode' ) ) {
					class WPBakeryShortCode_action_inside_alertbox extends WPBakeryShortCode {
					}
			}
			if ( class_exists( 'WPBakeryShortCode' ) ) {
					class WPBakeryShortCode_text_inside_alertbox extends WPBakeryShortCode {
					}
			}
      /* Bloglist block */
			$categories = get_categories();
			$cats_array = array(esc_attr__("All Categories", 'asalah') => '');
			foreach ($categories as $cat) {
					$cats_array[$cat->name] = $cat->slug;
			}
      vc_map( array(
            "icon" => get_template_directory_uri().'/images/creditslogo.png',
            "name" => __("Blog Posts List", 'sarraty'),
            "base" => "bloglist",
            "class" => "",
            "category" => __('Sarraty', 'sarraty'),
            "params" => array(
              array(
                      "type" => "textfield",
                      "holder" => "div",
                      "class" => "",
                      "heading" => __("Title", 'sarraty'),
                      "param_name" => "title",
                      "value" => "",
                    ),
										array(
														"type" => "iconpicker",
														"holder" => "div",
														"class" => "",
														"heading" => __("Title icon", 'sarraty'),
														"param_name" => "title_icon",
														"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
														"value" => '',
													),
              array(
               				"type" => "dropdown",
               				"class" => "",
               				"heading" => "Style",
               				"param_name" => "style",
               				"value" => array_flip(array(
                        'list' => 'List',
                        'grid' => 'Grid',
                        'carousel' => 'Carousel',
                        'slider' => 'Slider',
             				     )),
                   ),
              array(
               				"type" => "dropdown",
               				"class" => "",
               				"heading" => "Category",
               				"param_name" => "category",
               				"value" => $cats_array,
                   ),
               array(
                       "type" => "textfield",
                       "holder" => "div",
                       "class" => "",
                       "heading" => __("Blog Page URL", 'sarraty'),
                       "param_name" => "url",
                       "value" => ""
                     ),
               array(
               				"type" => "textfield",
               				"holder" => "div",
               				"class" => "",
               				"heading" => __("Button Text", 'sarraty'),
               				"param_name" => "button",
               				"value" => ""
               			),
							array(
								"type" => "iconpicker",
								"holder" => "div",
								"class" => "",
								"heading" => __("Button Icon", 'sarraty'),
								"param_name" => "button_icon",
								"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
								"value" => '',
							),
							array(
											"type" => "textfield",
											"holder" => "div",
											"class" => "",
											"heading" => __("Read more text (leave blank for default 'Read More...')", 'sarraty'),
											"param_name" => "readmore",
											"value" => '',
										),
               array(
               				"type" => "textfield",
               				"holder" => "div",
               				"class" => "",
               				"heading" => __("Number Of Posts", 'sarraty'),
               				"param_name" => "postnumber",
               				"value" => ""
               			),
              array(
                      "type" => "dropdown",
                      "class" => "",
                      "heading" => "Thumbnails",
                      "param_name" => "thumbnails",
                      "value" => array_flip(array(
                        'bloglist' => 'Medium',
                        'smallbloglist' => 'Small',
                        'hide' => 'Hide',
                         )),
                   ),
              array(
                      "type" => "dropdown",
                      "class" => "",
                      "heading" => "Order",
                      "param_name" => "order",
                      "value" => array_flip(array(
                        'date' => 'Latest Posts',
                        'rand' => 'Random Posts',
                         )),
                   ),
             array(
                    "type" => "textfield",
                    "holder" => "div",
                    "class" => "",
                    "heading" => __("Tags (Seperated by comma)", 'sarraty'),
                    "param_name" => "tags",
                    "value" => ""

            ),

          ),
				));

          /* Clients Block */

          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Clients Carousel", 'sarraty'),
                "base" => "clients",
                "class" => "",
                "category" => __('Sarraty', 'sarraty'),
                "params" => array(
                  array(
                   				"type" => "dropdown",
                   				"class" => "",
                   				"heading" => "Style",
                   				"param_name" => "style",
                   				"value" => array_flip(array(
                            'carousel' => 'Carousel',
                            'grid' => 'Grid',
                 				     )),
                       ),
                 array(
                         "type" => "textfield",
                         "holder" => "div",
                         "class" => "",
                         "heading" => __("Title", 'sarraty'),
                         "param_name" => "title",
                         "value" => "",
                       ),
											 array(
			 												"type" => "iconpicker",
			 												"holder" => "div",
			 												"class" => "",
			 												"heading" => __("Title icon", 'sarraty'),
			 												"param_name" => "title_icon",
															"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
			 												"value" => '',
			 											),
                 array(
                         "type" => "textfield",
                         "holder" => "div",
                         "class" => "",
                         "heading" => __("Number", 'sarraty'),
                         "param_name" => "postnumber",
                         "value" => "",
                       ),
                 array(
                         "type" => "textfield",
                         "holder" => "div",
                         "class" => "",
                         "heading" => __("Number Appear", 'sarraty'),
                         "param_name" => "appear",
                         "value" => "",
                       ),
                 array(
                         "type" => "textfield",
                         "holder" => "div",
                         "class" => "",
                         "heading" => __("Tags (Seperated by comma)", 'sarraty'),
                         "param_name" => "tags",
                         "value" => "",
                       ),

                ),
          ));

          /* Start Section Block */


          /* Revolution Slider Block */

          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Revolution Slider", 'sarraty'),
                "base" => "revslider",
                "class" => "",
                "category" => __('Sarraty', 'sarraty'),
                "params" => array(
                  array(
                          "type" => "dropdown",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Width", 'sarraty'),
                          "param_name" => "thewidth",
                          "value" => array_flip(array(
                            'container' => 'Container',
                            'fluid' => 'Fluid',
														'forcefullwidth' => 'Window Width',
                          )),
                        ),
                  array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Slider Alias (required)", 'sarraty'),
                          "param_name" => "alias",
                          "value" => '',
                        ),
                  array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Top Offset in pixels", 'sarraty'),
                          "param_name" => "offset",
                          "value" => '',
                        ),
                ),
              ));

          /* Team Block */

          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Team Members", 'sarraty'),
                "base" => "team",
                "class" => "",
                "category" => __('Sarraty', 'sarraty'),
                "params" => array(
                  array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Title", 'sarraty'),
                          "param_name" => "title",
                          "value" => '',
                        ),
												array(
																"type" => "iconpicker",
																"holder" => "div",
																"class" => "",
																"heading" => __("Title icon", 'sarraty'),
																"param_name" => "title_icon",
																"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
																"value" => '',
															),

                  array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Number", 'sarraty'),
                          "param_name" => "postnumber",
                          "value" => '',
                        ),

                  array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Tags (Separated by comma)", 'sarraty'),
                          "param_name" => "tags_ids",
                          "value" => '',
                        ),

                  array(
                          "type" => "dropdown",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Grid", 'sarraty'),
                          "param_name" => "grid",
                          "value" => array_flip(array(
                              '2' => '2 Columns',
                              '1' => '1 Column'
                          )),
                        ),

                ),
              ));

          /* Testimonials Carousel Block */

          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Testimonials Carousel", 'sarraty'),
                "base" => "testicar",
                "class" => "",
                "category" => __('Sarraty', 'sarraty'),
                "params" => array(
                  array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Title", 'sarraty'),
                          "param_name" => "title",
                          "value" => '',
                        ),
												array(
																"type" => "iconpicker",
																"holder" => "div",
																"class" => "",
																"heading" => __("Title icon", 'sarraty'),
																"param_name" => "title_icon",
																"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
																"value" => '',
															),

                  array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Number Of Testimonials", 'sarraty'),
                          "param_name" => "postnumber",
                          "value" => '',
                        ),

                  array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Tags (Separated by comma)", 'sarraty'),
                          "param_name" => "tags_ids",
                          "value" => '',
                        ),
                  array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("  Auto play after (number in seconds)", 'sarraty'),
                          "param_name" => "auto",
                          "value" => '',
                        ),
                ),
              ));

					/* Progress Container Block */

          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Progress", 'sarraty'),
                "base" => "progresscon",
								"as_parent" => array('only' => 'progressbar'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
								"is_container" => true,
                "class" => "",
								"content_element" => true,
                "category" => __('Sarraty', 'sarraty'),
                "params" => array(
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Title", 'sarraty'),
                          "param_name" => "title",
                          "value" => '',
                        ),
												array(
																"type" => "iconpicker",
																"holder" => "div",
																"class" => "",
																"heading" => __("Title icon", 'sarraty'),
																"param_name" => "title_icon",
																"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
																"value" => '',
															),
															array(
						                          "type" => "dropdown",
						                          "holder" => "div",
						                          "class" => "",
						                          "heading" => __("Progress Style", 'sarraty'),
						                          "param_name" => "type",
						                          "value" => array_flip(array(
																				'basic' => 'basic',
												                'striped' => 'striped',
												                'animated' => 'Animated',
																			)),
						                        ),
								),
								"js_view" => 'VcColumnView',
              ));

					/* Progress Bars Block */
          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Progress Bar", 'sarraty'),
                "base" => "progressbar",
								"as_child" => array('only' => 'progresscon'), // Use only|except attributes to limit parent (separate multiple values with comma)
                "class" => "",
                "params" => array(
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Progress Title", 'sarraty'),
                          "param_name" => "title",
                          "value" => '',
                        ),

									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Percent", 'sarraty'),
                          "param_name" => "percent",
                          "value" => '',
                        ),


								),
              ));

						//Your "container" content element should extend WPBakeryShortCodesContainer class to inherit all required functionality
						if ( class_exists( 'WPBakeryShortCodesContainer' ) ) {
						    class WPBakeryShortCode_progresscon extends WPBakeryShortCodesContainer {
						    }
						}
						if ( class_exists( 'WPBakeryShortCode' ) ) {
						    class WPBakeryShortCode_progressbar extends WPBakeryShortCode {
						    }
						}

					/* Sarraty Video Block */

          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Sarraty - Video", 'sarraty'),
                "base" => "savideo",
                "class" => "",
                "category" => __('Sarraty', 'sarraty'),
                "params" => array(
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Title (Optional)", 'sarraty'),
                          "param_name" => "title",
                          "value" => '',
                        ),
												array(
																"type" => "iconpicker",
																"holder" => "div",
																"class" => "",
																"heading" => __("Title icon", 'sarraty'),
																"param_name" => "title_icon",
																"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
																"value" => '',
															),
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Embed Code or Video URL (Youtube, Vimeo, Local)", 'sarraty'),
                          "param_name" => "video_url",
                          "value" => '',
                        ),
									array(
                          "type" => "dropdown",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Effect", 'sarraty'),
                          "param_name" => "effect",
                          "value" => array_flip(array(
									            'no_show_effect' => 'Disable',
									            'show_fade' => 'Fade In',
									            'show_fade_left' => 'Fade In From Left',
									            'show_fade_right' => 'Fade In From Right',
									            'show_fade_up' => 'Fade In From Up',
									            'show_fade_down' => 'Fade In From Down',
									            'show_bounce' => 'Bounce'
									        )),
                        ),
								),
              ));

					global $wp_registered_sidebars;
					$sidebar_options = array(); $default_sidebar = '';
					foreach ($wp_registered_sidebars as $registered_sidebar) {
						$default_sidebar = empty($default_sidebar) ? $registered_sidebar['id'] : $default_sidebar;
						$sidebar_options[$registered_sidebar['name']] = $registered_sidebar['id'];
					}

          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Sarraty - Widget", 'sarraty'),
                "base" => "sawidget",
                "class" => "",
                "category" => __('Sarraty', 'sarraty'),
                "params" => array(
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Title (Optional)", 'sarraty'),
                          "param_name" => "title",
                          "value" => '',
                        ),
												array(
																"type" => "iconpicker",
																"holder" => "div",
																"class" => "",
																"heading" => __("Title icon", 'sarraty'),
																"param_name" => "title_icon",
																"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
																"value" => '',
															),

									array(
                          "type" => "dropdown",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Choose widget area", 'sarraty'),
                          "param_name" => "sidebar",
                          "value" => $sidebar_options,
                        ),

								),
              ));

					/* Sarraty Text Block */

          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Sarraty - Text", 'sarraty'),
                "base" => "satext",
                "class" => "",
                "category" => __('Sarraty', 'sarraty'),
                "params" => array(
									array(
													"type" => "dropdown",
													"holder" => "div",
													"class" => "",
													"heading" => __("Width", 'sarraty'),
													"param_name" => "thewidth",
													"value" => array_flip(array(
														'fluid' => 'Fluid',
														'container' => 'Container',
														'forcefullwidth' => 'Window Width',
													)),
												),
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Title (Optional)", 'sarraty'),
                          "param_name" => "title",
                          "value" => '',
                        ),
												array(
																"type" => "iconpicker",
																"holder" => "div",
																"class" => "",
																"heading" => __("Title icon", 'sarraty'),
																"param_name" => "title_icon",
																"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
																"value" => '',
															),

									array(
                          "type" => "textarea_html",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Content", 'sarraty'),
                          "param_name" => "content",
                          "value" => '',
                        ),
									array(
                          "type" => "dropdown",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Effect", 'sarraty'),
                          "param_name" => "effect",
                          "value" => array_flip(array(
														'no_show_effect' => 'Disable',
								            'show_fade' => 'Fade In',
								            'show_fade_left' => 'Fade In From Left',
								            'show_fade_right' => 'Fade In From Right',
								            'show_fade_up' => 'Fade In From Up',
								            'show_fade_down' => 'Fade In From Down',
								            'show_bounce' => 'Bounce',
													)),
                        ),

								),
              ));

					/* Sarraty Divider Block */

          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Sarraty - Divider", 'sarraty'),
                "base" => "sadivide",
                "class" => "",
                "category" => __('Sarraty', 'sarraty'),
                "params" => array(
									array(
                          "type" => "dropdown",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Style", 'sarraty'),
                          "param_name" => "style",
                          "value" => array_flip(array(
														'white' => 'White Space',
														'shadow1' => 'Shadow 1',
														'shadow2' => 'Shadow 2',
														'shadow3' => 'Shadow 3',
														'shadow4' => 'Shadow 4',
														'dashes' => 'Dashes',
														'stripes' => 'Stripes',
													)),
                        ),
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Margin Top", 'sarraty'),
                          "param_name" => "top",
                          "value" => '',
                        ),
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Margin Bottom", 'sarraty'),
                          "param_name" => "bottom",
                          "value" => '',
                        ),
								),
              ));

					/* Sarraty RichText Block */

          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Sarraty - Rich Text", 'sarraty'),
                "base" => "sarichtext",
                "class" => "",
                "category" => __('Sarraty', 'sarraty'),
                "params" => array(
									array(
													"type" => "textfield",
													"holder" => "div",
													"class" => "",
													"heading" => __("Title (Optional)", 'sarraty'),
													"param_name" => "title",
													"value" => '',
												),

									array(
													"type" => "textarea_html",
													"holder" => "div",
													"class" => "",
													"heading" => __("Content", 'sarraty'),
													"param_name" => "content",
													"value" => '',
												),
								),
              ));

					/* Sarraty Map Block */

          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Sarraty - Google Map", 'sarraty'),
                "base" => "samap",
                "class" => "",
                "category" => __('Sarraty', 'sarraty'),
                "params" => array(
									array(
													"type" => "dropdown",
													"holder" => "div",
													"class" => "",
													"heading" => __("Width", 'sarraty'),
													"param_name" => "thewidth",
													"value" => array_flip(array(
									            'container' => 'Container',
									            'fluid' => 'Fluid',
															'forcefullwidth' => 'Window Width',
									        )),
												),
									array(
													"type" => "textfield",
													"holder" => "div",
													"class" => "",
													"heading" => __("Title (Optional)", 'sarraty'),
													"param_name" => "title",
													"value" => '',
												),
												array(
																"type" => "iconpicker",
																"holder" => "div",
																"class" => "",
																"heading" => __("Title icon", 'sarraty'),
																"param_name" => "title_icon",
																"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
																"value" => '',
															),

									array(
													"type" => "textfield",
													"holder" => "div",
													"class" => "",
													"heading" => __("URL", 'sarraty'),
													"param_name" => "text",
													"value" => "",
												),

									array(
													"type" => "dropdown",
													"holder" => "div",
													"class" => "",
													"heading" => __("Effect", 'sarraty'),
													"param_name" => "effect",
													"value" => array_flip(array(
														'no_show_effect' => 'Disable',
								            'show_fade' => 'Fade In',
								            'show_fade_left' => 'Fade In From Left',
								            'show_fade_right' => 'Fade In From Right',
								            'show_fade_up' => 'Fade In From Up',
								            'show_fade_down' => 'Fade In From Down',
								            'show_bounce' => 'Bounce'
													)),
												),
									array(
													"type" => "textfield",
													"holder" => "div",
													"class" => "",
													"heading" => __("Height", 'sarraty'),
													"param_name" => "height",
													"value" => '',
												),
									array(
													"type" => "textfield",
													"holder" => "div",
													"class" => "",
													"heading" => __("Top Offset in pixels", 'sarraty'),
													"param_name" => "offset",
													"value" => '',
												),
								),
              ));

					/* Sarraty Image Block */
          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Sarraty - Image", 'sarraty'),
                "base" => "saimage",
                "class" => "",
                "category" => __('Sarraty', 'sarraty'),
                "params" => array(
									array(
													"type" => "textfield",
													"holder" => "div",
													"class" => "",
													"heading" => __("Title (Optional)", 'sarraty'),
													"param_name" => "title",
													"value" => '',
												),
												array(
																"type" => "iconpicker",
																"holder" => "div",
																"class" => "",
																"heading" => __("Title icon", 'sarraty'),
																"param_name" => "title_icon",
																"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
																"value" => '',
															),
															array(
																							"type" => "dropdown",
																							"holder" => "div",
																							"class" => "",
																							"heading" => __("Image source", 'sarraty'),
																							"param_name" => "media_src",
																							"value" => array(
																								'Media Library' => 'media',
																								'External Links' => 'links',
																							),
																							),
									array(
													"type" => "attach_image",
													"holder" => "div",
													"class" => "",
													"heading" => __("Image Media", 'sarraty'),
													"param_name" => "url",
													'dependency' => array(
			 											'element' => 'media_src',
			 											'value' => array(
			 												'media',
			 											),
			 										),
													"value" => '',
												),
									array(
													"type" => "textfield",
													"holder" => "div",
													"class" => "",
													"heading" => __("Image URL", 'sarraty'),
													"param_name" => "image_external_url",
													'dependency' => array(
			 											'element' => 'media_src',
			 											'value' => array(
			 												'links',
			 											),
			 										),
													"value" => '',
												),
									array(
													"type" => "dropdown",
													"holder" => "div",
													"class" => "",
													"heading" => __("Border", 'sarraty'),
													"param_name" => "border",
													"value" => array_flip(array(
														'no-border' => 'None',
								            'frame' => 'Frame'
													)),
												),

									array(
													"type" => "dropdown",
													"holder" => "div",
													"class" => "",
													"heading" => __("Effect", 'sarraty'),
													"param_name" => "effect",
													"value" => array_flip(array(
														'no_show_effect' => 'Disable',
								            'show_fade' => 'Fade In',
								            'show_fade_left' => 'Fade In From Left',
								            'show_fade_right' => 'Fade In From Right',
								            'show_fade_up' => 'Fade In From Up',
								            'show_fade_down' => 'Fade In From Down',
								            'show_bounce' => 'Bounce'
													)),
												),
									array(
													"type" => "dropdown",
													"holder" => "div",
													"class" => "",
													"heading" => __("Destination", 'sarraty'),
													"param_name" => "destination",
													"value" => array_flip(array(
														'none' => 'None',
								            'link' => 'Link',
								            'linktab' => 'Link In New Tab',
								            'prettyphoto' => 'PrettyPhoto',
													)),
												),
									array(
													"type" => "textfield",
													"holder" => "div",
													"class" => "",
													"heading" => __("Destination URL", 'sarraty'),
													"param_name" => "destination_url",
													"value" => '',
												),
									array(
													"type" => "dropdown",
													"holder" => "div",
													"class" => "",
													"heading" => __("Align", 'sarraty'),
													"param_name" => "align",
													"value" => array_flip(array(
														'none' => 'None',
								            'left' => 'Left',
								            'right' => 'Right',
								            'center' => 'Center',
													)),
												),
									array(
													"type" => "textarea",
													"holder" => "div",
													"class" => "",
													"heading" => __("Text Below Image", 'sarraty'),
													"param_name" => "text",
													"value" => '',
												),

								),
              ));

					/* Service container Block */
          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Services Block", 'sarraty'),
                "base" => "saservices",
								"as_parent" => array('only' => 'saservice'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
								"content_element" => true,
	    					"show_settings_on_create" => true,
								"category" => __('Sarraty', 'sarraty'),
                "params" => array(
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Title", 'sarraty'),
                          "param_name" => "title",
                          "value" => '',
                        ),
												array(
																"type" => "iconpicker",
																"holder" => "div",
																"class" => "",
																"heading" => __("Title icon", 'sarraty'),
																"param_name" => "title_icon",
																"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
																"value" => '',
															),
									array(
                          "type" => "dropdown",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Style", 'sarraty'),
                          "param_name" => "style",
                          "value" => array_flip(array(
														'default' => 'Default',
						                'lefticons' => 'Left Icons',
													)),
                        ),
									array(
                          "type" => "dropdown",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Effect", 'sarraty'),
                          "param_name" => "effect",
                          "value" => array_flip(array(
														'none' => 'No Effects',
						                'all' => 'All',
						                'parts' => 'Parts',
													)),
                        ),
									array(
                          "type" => "dropdown",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("All Block Effect Style", 'sarraty'),
                          "param_name" => "effect_style",
                          "value" => array_flip(array(
														'no_show_effect' => 'Disable',
						                'show_fade' => 'Fade In',
						                'show_fade_left' => 'Fade In From Left',
						                'show_fade_right' => 'Fade In From Right',
						                'show_fade_up' => 'Fade In From Up',
						                'show_fade_down' => 'Fade In From Down',
						                'show_bounce' => 'Bounce'
													)),
                        ),
									array(
                          "type" => "dropdown",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Service Row Effect Style", 'sarraty'),
                          "param_name" => "service_effect_style",
                          "value" => array_flip(array(
														'no_show_effect' => 'Disable',
						                'show_fade' => 'Fade In',
						                'show_fade_left' => 'Fade In From Left',
						                'show_fade_right' => 'Fade In From Right',
						                'show_fade_up' => 'Fade In From Up',
						                'show_fade_down' => 'Fade In From Down',
						                'show_bounce' => 'Bounce',
						                'show_fade_steps' => 'Fade In One By One (For some blocks only)',
													)),
                        ),
								),
								"js_view" => 'VcColumnView',
              ));

					/* Service element Block */
          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Single Service", 'sarraty'),
                "base" => "saservice",
								"as_child" => array('only' => 'saservices'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
								"content_element" => true,
                "params" => array(
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Title", 'sarraty'),
                          "param_name" => "title",
                          "value" => '',
                        ),
									array(
                          "type" => "iconpicker",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Icon", 'sarraty'),
                          "param_name" => "icon",
													"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
                          "value" => '',
                        ),
												array(
																				"type" => "dropdown",
																				"holder" => "div",
																				"class" => "",
																				"heading" => __("Image source", 'sarraty'),
																				"param_name" => "media_src",
																				"value" => array(
																					'Media Library' => 'media',
																					'External Links' => 'links',
																				),
																				),
									array(
                          "type" => "attach_image",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Image Media", 'sarraty'),
                          "param_name" => "image",
													'dependency' => array(
			 											'element' => 'media_src',
			 											'value' => array(
			 												'media',
			 											),
			 										),
                          "value" => '',
                        ),
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Image URL", 'sarraty'),
                          "param_name" => "image_external_url",
													'dependency' => array(
			 											'element' => 'media_src',
			 											'value' => array(
			 												'links',
			 											),
			 										),
                          "value" => '',
                        ),
									array(
                          "type" => "textarea_html",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Description", 'sarraty'),
                          "param_name" => "content",
                          "value" => '',
                        ),
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("URL", 'sarraty'),
                          "param_name" => "url",
                          "value" => '',
                        ),
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Button", 'sarraty'),
                          "param_name" => "button",
                          "value" => '',
                        ),
									array(
													"type" => "iconpicker",
													"holder" => "div",
													"class" => "",
													"heading" => __("Button Icon", 'sarraty'),
													"param_name" => "button_icon",
													"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
													"value" => '',
												),
								),

              ));

							//Your "container" content element should extend WPBakeryShortCodesContainer class to inherit all required functionality
							if ( class_exists( 'WPBakeryShortCodesContainer' ) ) {
									class WPBakeryShortCode_saservices extends WPBakeryShortCodesContainer {
									}
							}
							if ( class_exists( 'WPBakeryShortCode' ) ) {
									class WPBakeryShortCode_saservice extends WPBakeryShortCode {
									}
							}

					/* Steps Container Block */

          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Steps Block", 'sarraty'),
                "base" => "sasteps",
								"as_parent" => array('only' => 'sastep'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
								"is_container" => true,
                "class" => "",
                "category" => __('Sarraty', 'sarraty'),
                "params" => array(
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Title", 'sarraty'),
                          "param_name" => "title",
                          "value" => '',
                        ),
												array(
																"type" => "iconpicker",
																"holder" => "div",
																"class" => "",
																"heading" => __("Title icon", 'sarraty'),
																"param_name" => "title_icon",
																"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
																"value" => '',
															),
									array(
                          "type" => "dropdown",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Effect", 'sarraty'),
                          "param_name" => "effect",
                          "value" => array_flip(array(
														'none' => 'No Effects',
						                'all' => 'All',
						                'parts' => 'Parts',
													)),
                        ),
									array(
                          "type" => "dropdown",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("All Block Effect Style", 'sarraty'),
                          "param_name" => "effect_style",
                          "value" => array_flip(array(
														'no_show_effect' => 'Disable',
						                'show_fade' => 'Fade In',
						                'show_fade_left' => 'Fade In From Left',
						                'show_fade_right' => 'Fade In From Right',
						                'show_fade_up' => 'Fade In From Up',
						                'show_fade_down' => 'Fade In From Down',
						                'show_bounce' => 'Bounce'
													)),
                        ),
									array(
                          "type" => "dropdown",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Step Row Effect Style", 'sarraty'),
                          "param_name" => "service_effect_style",
                          "value" => array_flip(array(
														'no_show_effect' => 'Disable',
						                'show_fade' => 'Fade In',
						                'show_fade_left' => 'Fade In From Left',
						                'show_fade_right' => 'Fade In From Right',
						                'show_fade_up' => 'Fade In From Up',
						                'show_fade_down' => 'Fade In From Down',
						                'show_bounce' => 'Bounce',
						                'show_fade_steps' => 'Fade In One By One (For some blocks only)',
													)),
                        ),
								),
								"js_view" => 'VcColumnView',
              ));

					/* Step Block */

          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Step", 'sarraty'),
                "base" => "sastep",
								"as_child" => array('only' => 'sasteps'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
                "class" => "",
                "params" => array(
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Title", 'sarraty'),
                          "param_name" => "title",
                          "value" => '',
                        ),
									array(
                          "type" => "iconpicker",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Icon", 'sarraty'),
                          "param_name" => "icon",
													"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
                          "value" => '',
                        ),
									array(
                          "type" => "textarea_html",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Description", 'sarraty'),
                          "param_name" => "content",
                          "value" => '',
                        ),
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("URL", 'sarraty'),
                          "param_name" => "url",
                          "value" => '',
                        ),
								),
              ));

							//Your "container" content element should extend WPBakeryShortCodesContainer class to inherit all required functionality
							if ( class_exists( 'WPBakeryShortCodesContainer' ) ) {
									class WPBakeryShortCode_sasteps extends WPBakeryShortCodesContainer {
									}
							}
							if ( class_exists( 'WPBakeryShortCode' ) ) {
									class WPBakeryShortCode_sastep extends WPBakeryShortCode {
									}
							}


					/* Sarraty Tabs Block */
          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Tabs", 'sarraty'),
                "base" => "satabs",
								"as_parent" => array('only' => 'satab'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
								"content_element" => true,
	    					"show_settings_on_create" => true,
                "category" => __('Sarraty', 'sarraty'),
                "params" => array(
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Title", 'sarraty'),
                          "param_name" => "title",
                          "value" => '',
                        ),
												array(
																"type" => "iconpicker",
																"holder" => "div",
																"class" => "",
																"heading" => __("Title icon", 'sarraty'),
																"param_name" => "title_icon",
																"settings" => array('emptyIcon' => true,'type' => 'sarraty_fontlist','iconsPerPage' => 200,),
																"value" => '',
															),
															array(
						                          "type" => "dropdown",
						                          "holder" => "div",
						                          "class" => "",
						                          "heading" => __("Type", 'sarraty'),
						                          "param_name" => "type",
						                          "value" => array(
																				'Horizontal Tabs' => 'tabs',
																				'Vertical Tabs' => 'vtabs',
																				'Accordion' => 'accordion',
																			),
						                        ),
								),
								"js_view" => 'VcColumnView',
              ));
          vc_map( array(
                "icon" => get_template_directory_uri().'/images/creditslogo.png',
                "name" => __("Tab", 'sarraty'),
                "base" => "satab",
								"as_child" => array('only' => 'satabs'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
								"is_container" => true,
								"class" => "",
                "params" => array(
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Tilte", 'sarraty'),
                          "param_name" => "title",
                          "value" => '',
                        ),
									array(
                          "type" => "textarea_html",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Content", 'sarraty'),
                          "param_name" => "content",
                          "value" => '',
                        ),
									array(
                          "type" => "dropdown",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Disabled", 'sarraty'),
                          "param_name" => "title",
                          "value" => array(
														'No' => 'no',
														'Yes' => 'yes',
													),
                        ),
									array(
                          "type" => "textfield",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("URL", 'sarraty'),
                          "param_name" => "url",
                          "value" => '',
                        ),
									array(
                          "type" => "dropdown",
                          "holder" => "div",
                          "class" => "",
                          "heading" => __("Link Target", 'sarraty'),
                          "param_name" => "target",
                          "value" => array(
														'Open link in same window/tab' => 'self',
														'Open link in new window/tab' => 'blank',
													),
                        ),
								),
              ));

							//Your "container" content element should extend WPBakeryShortCodesContainer class to inherit all required functionality
							if ( class_exists( 'WPBakeryShortCodesContainer' ) ) {
									class WPBakeryShortCode_satabs extends WPBakeryShortCodesContainer {
									}
							}
							if ( class_exists( 'WPBakeryShortCode' ) ) {
									class WPBakeryShortCode_satab extends WPBakeryShortCode {
									}
							}
};

function vc_iconpicker_type_sarraty_fontlist($icons) {
	if (function_exists('asalah_font_icons_list')) {

		$sarraty_fonts = array_merge(asalah_font_icons_list( 'sarraty_fontello'), asalah_font_icons_list( 'fontawesome'));
	}
if (isset($sarraty_fonts)) {
	return array_merge($icons, $sarraty_fonts);
}
}
add_filter( 'vc_iconpicker-type-sarraty_fontlist', 'vc_iconpicker_type_sarraty_fontlist' );


function vc_iconpicker_css() {
		wp_register_style('asalah_fontello_css', get_template_directory_uri() . '/framework/fontello/css/fontello.css', array(), '1', 'all');
}
add_action( 'vc_base_register_front_css', 'vc_iconpicker_css' );
add_action( 'vc_base_register_admin_css', 'vc_iconpicker_css' );
function vc_iconpicker_css_enq() {
		wp_enqueue_style( 'asalah_fontello_css' );
}
add_action( 'vc_backend_editor_enqueue_js_css', 'vc_iconpicker_css_enq' );
add_action( 'vc_frontend_editor_enqueue_js_css', 'vc_iconpicker_css_enq' );