 * Theme functions and definitions
 *
 */

defined( 'ABSPATH' ) || exit; // Exit if accessed directly

/*
 * Works with PHP 5.3 or Later
 */
if ( version_compare( phpversion(), '5.3', '<' ) ) {
	require get_template_directory() . '/framework/functions/php-disable.php';
	return;
}

/*
 * Define Constants
 */
define( 'TIELABS_THEME_SLUG', 'jannah' );
define( 'TIELABS_TEXTDOMAIN', 'jannah' );
define( 'TIELABS_DB_VERSION', '5.4.10' );    // Don't change this
define( 'TIELABS_THEME_ID',   '19659555' ); // Don't change this

define( 'TIELABS_TEMPLATE_PATH', get_template_directory() );
define( 'TIELABS_TEMPLATE_URL', get_template_directory_uri() );
define( 'TIELABS_AMP_IS_ACTIVE', function_exists( 'amp_init' ) );
define( 'TIELABS_WPUC_IS_ACTIVE', function_exists( 'run_MABEL_WPUC' ) );
define( 'TIELABS_ARQAM_IS_ACTIVE', function_exists( 'arqam_init' ) );
define( 'TIELABS_SENSEI_IS_ACTIVE', function_exists( 'Sensei' ) );
define( 'TIELABS_TAQYEEM_IS_ACTIVE', function_exists( 'taqyeem_get_option' ) );
define( 'TIELABS_EXTENSIONS_IS_ACTIVE', function_exists( 'jannah_extensions_shortcodes_scripts' ) );
define( 'TIELABS_BBPRESS_IS_ACTIVE', class_exists( 'bbPress' ) );
define( 'TIELABS_JETPACK_IS_ACTIVE', class_exists( 'Jetpack' ) );
define( 'TIELABS_BWPMINIFY_IS_ACTIVE', class_exists( 'BWP_MINIFY' ) );
define( 'TIELABS_REVSLIDER_IS_ACTIVE', class_exists( 'RevSlider' ) );
define( 'TIELABS_CRYPTOALL_IS_ACTIVE', class_exists( 'CPCommon' ) );
define( 'TIELABS_BUDDYPRESS_IS_ACTIVE', class_exists( 'BuddyPress' ) );
define( 'TIELABS_LS_Sliders_IS_ACTIVE', class_exists( 'LS_Sliders' ) );
define( 'TIELABS_FB_INSTANT_IS_ACTIVE', class_exists( 'Instant_Articles_Wizard' ) );
define( 'TIELABS_WOOCOMMERCE_IS_ACTIVE', class_exists( 'WooCommerce' ) );
define( 'TIELABS_MPTIMETABLE_IS_ACTIVE', class_exists( 'Mp_Time_Table' ) );
define( 'TIELABS_TIKTOK_IS_ACTIVE', class_exists( 'QLTTF' ) );
define( 'TIELABS_INSTAGRAM_FEED_IS_ACTIVE', function_exists( 'tielabs_instagram_feed' ) );


/*
 * Theme Settings Option Field
 */
add_filter( 'TieLabs/theme_options', 'jannah_theme_options_name' );
function jannah_theme_options_name( $option ){
	return 'tie_jannah_options';
}

/*
 * Translatable Theme Name
 */
add_filter( 'TieLabs/theme_name', 'jannah_theme_name' );
function jannah_theme_name( $option ){
	return tie_get_option( 'white_label_theme_name', esc_html__( 'Jannah', TIELABS_TEXTDOMAIN ) );
}

/**
 * Default Theme Color
 */
add_filter( 'TieLabs/default_theme_color', 'jannah_theme_color' );
function jannah_theme_color(){
	return '#0088ff';
}

/*
 * Import Files
 */
require TIELABS_TEMPLATE_PATH . '/framework/framework-load.php';
require TIELABS_TEMPLATE_PATH . '/inc/theme-setup.php';
require TIELABS_TEMPLATE_PATH . '/inc/style.php';
require TIELABS_TEMPLATE_PATH . '/inc/deprecated.php';
require TIELABS_TEMPLATE_PATH . '/inc/widgets.php';
require TIELABS_TEMPLATE_PATH . '/inc/fa4-to-fa5.php';
require TIELABS_TEMPLATE_PATH . '/inc/updates.php';

if( is_admin() ){
	require TIELABS_TEMPLATE_PATH . '/inc/help-links.php';
}

/**
 * Load the Sliders.js file in the Post Slideshow shortcode
 */
if( ! function_exists( 'jannah_enqueue_js_slideshow_sc' ) ){

	add_action( 'tie_extensions_sc_before_post_slideshow', 'jannah_enqueue_js_slideshow_sc' );
	function jannah_enqueue_js_slideshow_sc(){
		wp_enqueue_script( 'tie-js-sliders' );
	}
}

/*
 * Set the content width in pixels, based on the theme's design and stylesheet.
 */
add_action( 'wp_body_open',      'jannah_content_width' );
add_action( 'template_redirect', 'jannah_content_width' );
function jannah_content_width() {

	$content_width = ( TIELABS_HELPER::has_sidebar() ) ? 708 : 1220;

	/**
	 * Filter content width of the theme.
	 */
	$GLOBALS['content_width'] = apply_filters( 'TieLabs/content_width', $content_width );
}
{"id":70,"date":"2026-03-04T12:15:11","date_gmt":"2026-03-04T11:15:11","guid":{"rendered":"https:\/\/laboratoire.univ-mosta.dz\/didd\/?p=70"},"modified":"2026-03-04T12:15:13","modified_gmt":"2026-03-04T11:15:13","slug":"%d9%81%d8%b1%d9%82%d8%a9-%d8%a7%d9%84%d8%a8%d8%ad%d8%ab-03-%d9%82%d8%a7%d9%86%d9%88%d9%86-%d8%a7%d9%84%d8%b5%d8%ad%d8%a9","status":"publish","type":"post","link":"https:\/\/laboratoire.univ-mosta.dz\/didd\/2026\/03\/04\/%d9%81%d8%b1%d9%82%d8%a9-%d8%a7%d9%84%d8%a8%d8%ad%d8%ab-03-%d9%82%d8%a7%d9%86%d9%88%d9%86-%d8%a7%d9%84%d8%b5%d8%ad%d8%a9\/","title":{"rendered":"\u0641\u0631\u0642\u0629 \u0627\u0644\u0628\u062d\u062b 03: \u0642\u0627\u0646\u0648\u0646 \u0627\u0644\u0635\u062d\u0629"},"content":{"rendered":"\n<p class=\"has-text-align-center wp-block-paragraph\" style=\"font-size:30px\"><strong>Droit de la sant\u00e9<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-right wp-block-paragraph\">\u0631\u0626\u064a\u0633\u0629 \u0641\u0631\u0642\u0629 \u0627\u0644\u0628\u062d\u062b \u0627\u0644\u0628\u0631\u0648\u0641\u064a\u0633\u0648\u0631 : \u0642\u0645\u0627\u0631\u064a \u0646\u0638\u0631\u0629<\/p>\n\n\n\n<p class=\"has-text-align-right wp-block-paragraph\">\u0648\u0635\u0641 \u0645\u0634\u0631\u0648\u0639 \u0627\u0644\u0628\u062c\u062b \u0644\u0644\u0641\u0631\u0642\u0629<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">L&rsquo;\u00e9tude de l&rsquo;activit\u00e9 l\u00e9gislative en droit international de la sant\u00e9, de la r\u00e9glementation des services de sant\u00e9 internationaux, du commerce des d\u00e9chets et des produits dangereux, y compris les polluants organiques persistants (POP), de la proc\u00e9dure de consentement pr\u00e9albale \u00e0 l&rsquo;exportation des produits chimiques et du commerce des substances qui appauvrissent la couche d&rsquo;ozone.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Les instruments internationaux sous \u00e9tude comprennent la Convention de Rotterdam, la convention de B\u00e2le sur le contr\u00f4le des mouvements transfronti\u00e8res de d\u00e9chets dangereux et de leur \u00e9limination, le protocole sur les substances qui appauvrissent la couche d&rsquo;ozone (Protocole de Montr\u00e9al) et diverses politiques de pr\u00e9vention de la pollution transfrontali\u00e8re et de responsabilit\u00e9 en cas de d\u00e9versement d&rsquo;hydrocarbures.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 L&rsquo;organisation Mondiale de la Sant\u00e9 (OMS), le r\u00e9cent rapport du Groupe sp\u00e9cial de l&rsquo;OMC sur Asbestos et d&rsquo;autres questions commerciales<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Droit de la sant\u00e9 \u0631\u0626\u064a\u0633\u0629 \u0641\u0631\u0642\u0629 \u0627\u0644\u0628\u062d\u062b \u0627\u0644\u0628\u0631\u0648\u0641\u064a\u0633\u0648\u0631 : \u0642\u0645\u0627\u0631\u064a \u0646\u0638\u0631\u0629 \u0648\u0635\u0641 \u0645\u0634\u0631\u0648\u0639 \u0627\u0644\u0628\u062c\u062b \u0644\u0644\u0641\u0631\u0642\u0629 L&rsquo;\u00e9tude de l&rsquo;activit\u00e9 l\u00e9gislative en droit international de la sant\u00e9, de la r\u00e9glementation des services de sant\u00e9 internationaux, du commerce des d\u00e9chets et des produits dangereux, y compris les polluants organiques persistants (POP), de la proc\u00e9dure de consentement pr\u00e9albale \u00e0 [&hellip;]<\/p>\n","protected":false},"author":46,"featured_media":67,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[10],"tags":[],"class_list":["post-70","post","type-post","status-publish","format-standard","hentry","category-10"],"_links":{"self":[{"href":"https:\/\/laboratoire.univ-mosta.dz\/didd\/wp-json\/wp\/v2\/posts\/70","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laboratoire.univ-mosta.dz\/didd\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laboratoire.univ-mosta.dz\/didd\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laboratoire.univ-mosta.dz\/didd\/wp-json\/wp\/v2\/users\/46"}],"replies":[{"embeddable":true,"href":"https:\/\/laboratoire.univ-mosta.dz\/didd\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":1,"href":"https:\/\/laboratoire.univ-mosta.dz\/didd\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"predecessor-version":[{"id":72,"href":"https:\/\/laboratoire.univ-mosta.dz\/didd\/wp-json\/wp\/v2\/posts\/70\/revisions\/72"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/laboratoire.univ-mosta.dz\/didd\/wp-json\/wp\/v2\/media\/67"}],"wp:attachment":[{"href":"https:\/\/laboratoire.univ-mosta.dz\/didd\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laboratoire.univ-mosta.dz\/didd\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laboratoire.univ-mosta.dz\/didd\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}