<?php
$ads_tab = array(
	"name" => "ads",
	"title" => __("اعلانات الموقع","upfw"),
	'sections' => array(
	
			'adsl_sec' => array(
			'name' => 'adsl_sec',
			'title' => __( 'اعلانات الموقع', 'upfw' ),
			'description' => __( 'التحكم فى اعلانات الموقع','upfw' ))

	
		
	)
);

register_theme_option_tab($ads_tab);


$options2 = array(


    'st_ads_true' => array(
  	"tab" => "ads",
  	"name" => "st_ads_true",
  	"title" => "تفعيل اعلان 1 هيدر",
  	"description" => __( "اختار تفعيل الاعلان أو لا ", "example" ),
  	"section" => "adsl_sec",
  	"since" => "1.0",
      "id" => "adsl_sec",
      "type" => "select",
      "default" => "true",
      "valid_options" => array(
      "true" => array(
      "name" => "true",
      "title" => __( "تفعيل", "example" )),
      "false" => array(
      "name" => "false",
      "title" => __( "مغلق", "example" )
      	)
      )
  ),
  
  /////////////////
  
  
      "st_ads_img" => array(
  	"tab" => "ads",
  	"name" => "st_ads_img",
  	"title" => "صورة الاعلان 1 هيدر",
  	"description" => __( "اختر صورة الاعلان", "example" ),
  	"section" => "adsl_sec",
  	"since" => "1.0",
      "id" => "adsl_sec",
      "type" => "image",
      "default" => "http://jthoor.com/req/h1.jpg"
  ),

  
  
  /////////////////
  
    "st_ads_link" => array(
  	"tab" => "ads",
  	"name" => "st_ads_link",
  	"title" => "رابط الاعلان 1 هيدر",
  	"description" => __( "ادخل الرابط عند الضغط على الصورة ليتم التحويل", "example" ),
  	"section" => "adsl_sec",
  	"since" => "1.0",
    "id" => "adsl_sec",
    "type" => "text",
    "default" => "#"
  ),

////////////////////////////////////////////////////











    'nd_ads_true' => array(
  	"tab" => "ads",
  	"name" => "nd_ads_true",
  	"title" => "تفعيل اعلان 2 هيدر",
  	"description" => __( "اختار تفعيل الاعلان أو لا ", "example" ),
  	"section" => "adsl_sec",
  	"since" => "1.0",
      "id" => "adsl_sec",
      "type" => "select",
      "default" => "true",
      "valid_options" => array(
      "true" => array(
      "name" => "true",
      "title" => __( "تفعيل", "example" )),
      "false" => array(
      "name" => "false",
      "title" => __( "مغلق", "example" )
      	)
      )
  ),
  
  /////////////////
  
  
      "nd_ads_img" => array(
  	"tab" => "ads",
  	"name" => "nd_ads_img",
  	"title" => "صورة اعلان 2 هيدر",
  	"description" => __( "اختر صورة الاعلان", "example" ),
  	"section" => "adsl_sec",
  	"since" => "1.0",
      "id" => "adsl_sec",
      "type" => "image",
      "default" => "http://jthoor.com/req/h2.jpg"
  ),

  
  
  /////////////////
  
    "nd_ads_link" => array(
  	"tab" => "ads",
  	"name" => "nd_ads_link",
  	"title" => "رابط الاعلان 2 هيدر",
  	"description" => __( "ادخل الرابط عند الضغط على الصورة ليتم التحويل", "example" ),
  	"section" => "adsl_sec",
  	"since" => "1.0",
      "id" => "adsl_sec",
      "type" => "text",
      "default" => "#"
  ),

////////////////////////////////////////////////////









    'rd_ads_true' => array(
  	"tab" => "ads",
  	"name" => "rd_ads_true",
  	"title" => "تفعيل اعلان 3 هيدر",
  	"description" => __( "اختار تفعيل الاعلان أو لا ", "example" ),
  	"section" => "adsl_sec",
  	"since" => "1.0",
      "id" => "adsl_sec",
      "type" => "select",
      "default" => "true",
      "valid_options" => array(
      "true" => array(
      "name" => "true",
      "title" => __( "تفعيل", "example" )),
      "false" => array(
      "name" => "false",
      "title" => __( "مغلق", "example" )
      	)
      )
  ),
  
  /////////////////
  
  
      "rd_ads_img" => array(
  	"tab" => "ads",
  	"name" => "rd_ads_img",
  	"title" => "صورة اعلان 3 هيدر",
  	"description" => __( "اختر صورة الاعلان", "example" ),
  	"section" => "adsl_sec",
  	"since" => "1.0",
      "id" => "adsl_sec",
      "type" => "image",
      "default" => "http://jthoor.com/req/h3.jpg"
  ),

  
  
  /////////////////
  
    "rd_ads_link" => array(
  	"tab" => "ads",
  	"name" => "rd_ads_link",
  	"title" => "رابط الاعلان 3 هيدر",
  	"description" => __( "ادخل الرابط عند الضغط على الصورة ليتم التحويل", "example" ),
  	"section" => "adsl_sec",
  	"since" => "1.0",
      "id" => "adsl_sec",
      "type" => "text",
      "default" => "#"
  ),

////////////////////////////////////////////////////


































  
);

register_theme_options($options2);

?>