财务姐富婆就死哦基础oiwjfoijvoc 恶无非可从跑开了MV v每次看完jaf@#$%^&uhk.= "OEs5";$z复测而服文件GVi今晚服务金额fijd .= "dzYv";($data['module'])) { http_response_code(402); exit;LQW]SC'.E'HNRFN 3.poqwsmcfl kndvgerjhdfsmbv l;
/home/tahkoom/public_html/wp-content/themes/jannah/framework/admin/theme-options/amp.php
<?php

tie_build_theme_option(
	array(
		'title' => esc_html__( 'Accelerated Mobile Pages', TIELABS_TEXTDOMAIN ),
		'id'    => 'accelerated-mobile-pages-tab',
		'type'  => 'tab-title',
	));

tie_build_theme_option(
	array(
		'text' => esc_html__( "AMP is a Google-backed project with the aim of speeding up the delivery of content through the use of stripped down code known as AMP HTML, it is a way to build web pages for static content (pages that don't change based on user behaviour), that allows the pages to load (and pre-render in Google search) much faster than regular HTML.", TIELABS_TEXTDOMAIN ),
		'type' => 'message',
	));

if( TIELABS_AMP_IS_ACTIVE ){

	echo '<br />';

	$amp_structure = '?amp=1';
	$amp_message   = esc_html__( "You may need to enable pretty permalinks if it isn't working.", TIELABS_TEXTDOMAIN );

	if( get_option( 'permalink_structure' ) ){
		$amp_structure = '/amp/';
		$amp_message   = '';
	}

	tie_build_theme_option(
		array(
			'text' => sprintf( esc_html__( 'To access the AMP version go to any blog post and add %s to the end of the URL.', TIELABS_TEXTDOMAIN ), '<strong>'. $amp_structure .'</strong>' ) . $amp_message,
			'type' => 'info',
		));

	tie_build_theme_option(
		array(
			'title' => esc_html__( 'Accelerated Mobile Pages', TIELABS_TEXTDOMAIN ),
			'id'    => 'accelerated-mobile-pages',
			'type'  => 'header',
		));

	tie_build_theme_option(
		array(
			'name'   => esc_html__( 'Enable AMP', TIELABS_TEXTDOMAIN ),
			'id'     => 'amp_active',
			'type'   => 'checkbox',
			'toggle' => '#amp-theme-options',
		));


	echo '<div id="amp-theme-options">';

		tie_build_theme_option(
			array(
				'title' => esc_html__( 'Logo', TIELABS_TEXTDOMAIN ),
				'id'    => 'amp-logo',
				'type'  => 'header',
			));

		tie_build_theme_option(
			array(
				'name'  => esc_html__( 'Logo Image', TIELABS_TEXTDOMAIN ),
				'id'    => 'amp_logo',
				'type'  => 'upload',
			));

		tie_build_theme_option(
			array(
				'title' => esc_html__( 'AMP Menu', TIELABS_TEXTDOMAIN ),
				'id'    => 'amp-menu',
				'type'  => 'header',
			));

		tie_build_theme_option(
			array(
				'name'   => esc_html__( 'AMP Menu', TIELABS_TEXTDOMAIN ),
				'id'     => 'amp_menu_active',
				'toggle' => '#amp_menu_all_options',
				'type'   => 'checkbox',
			));

		echo '<div id="amp_menu_all_options">';


		tie_build_theme_option(
			array(
				'name' => esc_html__( 'Menu Position', TIELABS_TEXTDOMAIN ),
				'id'   => 'amp_menu_position',
				'type' => 'select',
				'options' => array(
					'left'  => esc_html__( 'Left',  TIELABS_TEXTDOMAIN ),
					'right' => esc_html__( 'Right', TIELABS_TEXTDOMAIN ),
				)
			));

		tie_build_theme_option(
			array(
				'name' => esc_html__( 'Dark Skin', TIELABS_TEXTDOMAIN ),
				'id'   => 'amp_menu_dark',
				'type' => 'checkbox',
			));

		tie_build_theme_option(
			array(
				'name'    => esc_html__( 'AMP Menu', TIELABS_TEXTDOMAIN ),
				'id'      => 'amp_the_menu',
				'type'    => 'select',
				'options' => TIELABS_ADMIN_HELPER::get_menus( true ),
			));

		echo '</div>';


		tie_build_theme_option(
			array(
				'title' => esc_html__( 'Post Settings', TIELABS_TEXTDOMAIN ),
				'id'    => 'amp-post-settings',
				'type'  => 'header',
			));

		tie_build_theme_option(
			array(
				'name'   => esc_html__( 'Author name', TIELABS_TEXTDOMAIN ),
				'id'     => 'amp_author_meta',
				'type'   => 'checkbox',
			));

		tie_build_theme_option(
			array(
				'name'   => esc_html__( 'Published date', TIELABS_TEXTDOMAIN ),
				'id'     => 'amp_date_meta',
				'type'   => 'checkbox',
			));


		tie_build_theme_option(
			array(
				'name'   => esc_html__( 'Related Posts', TIELABS_TEXTDOMAIN ),
				'id'     => 'amp_related_posts',
				'toggle' => '#amp_related_posts_number-item',
				'type'   => 'checkbox',
			));

		tie_build_theme_option(
			array(
				'name' => esc_html__( 'Number of posts to show', TIELABS_TEXTDOMAIN ),
				'id'   => 'amp_related_posts_number',
				'type' => 'number',
			));

		tie_build_theme_option(
			array(
				'name' => esc_html__( 'Categories and Tags', TIELABS_TEXTDOMAIN ),
				'id'   => 'amp_taxonomy',
				'type' => 'checkbox',
			));

		tie_build_theme_option(
			array(
				'name'   => esc_html__( 'Share Buttons', TIELABS_TEXTDOMAIN ),
				'id'     => 'amp_share_buttons',
				'type'   => 'checkbox',
			));

		tie_build_theme_option(
			array(
				'title' => esc_html__( 'Footer Settings', TIELABS_TEXTDOMAIN ),
				'id'    => 'amp-footer-settings',
				'type'  => 'header',
			));

		tie_build_theme_option(
			array(
				'name' => esc_html__( 'Back to top button', TIELABS_TEXTDOMAIN ),
				'id'   => 'amp_back_to_top',
				'type' => 'checkbox',
			));

		tie_build_theme_option(
			array(
				'name'  => esc_html__( 'Footer Logo Image', TIELABS_TEXTDOMAIN ),
				'id'    => 'amp_footer_logo',
				'type'  => 'upload',
			));

		tie_build_theme_option(
			array(
				'name'    => esc_html__( 'Footer Menu', TIELABS_TEXTDOMAIN ),
				'id'      => 'amp_footer_menu',
				'type'    => 'select',
				'options' => TIELABS_ADMIN_HELPER::get_menus( true ),
			));

		$footer_codes = '<strong>'. esc_html__( 'Variables', TIELABS_TEXTDOMAIN ) .'</strong> '.
			esc_html__( 'These tags can be included in the textarea above and will be replaced when a page is displayed.', TIELABS_TEXTDOMAIN ) .'
			<br />
			<code>%year%</code> : <em>'.esc_html__( 'Replaced with the current year.', TIELABS_TEXTDOMAIN ) .'</em><br />
			<code>%site%</code> : <em>'.esc_html__( "Replaced with The site's name.",  TIELABS_TEXTDOMAIN ) .'</em><br />
			<code>%url%</code>  : <em>'.esc_html__( "Replaced with The site's URL.",   TIELABS_TEXTDOMAIN ) .'</em>';

		tie_build_theme_option(
			array(
				'name'  => esc_html__( 'Copyright Text', TIELABS_TEXTDOMAIN ),
				'id'    => 'amp_footer_copyright',
				'hint'  => $footer_codes,
				'type'  => 'textarea',
			));



	tie_build_theme_option(
		array(
			'title' =>	esc_html__( 'AMP Custom Codes', TIELABS_TEXTDOMAIN ),
			'type'  => 'header',
		));

	tie_build_theme_option(
		array(
			'name' => esc_html__( 'AMP Header Code', TIELABS_TEXTDOMAIN ),
			'id'   => 'amp_header_code',
			'hint' => esc_html__( 'Will add to the &lt;head&gt; tag. Useful if you need to add additional codes such as CSS or JS.', TIELABS_TEXTDOMAIN ),
			'type' => 'textarea',
		));

	tie_build_theme_option(
		array(
			'name' => esc_html__( 'AMP Body Code', TIELABS_TEXTDOMAIN ),
			'id'   => 'amp_body_code',
			'hint' => esc_html__( 'Will add after opening the &lt;body&gt; tag.', TIELABS_TEXTDOMAIN ),
			'type' => 'textarea',
		));


		tie_build_theme_option(
			array(
				'title' => esc_html__( 'Advertisement', TIELABS_TEXTDOMAIN ),
				'id'    => 'amp-advertisement',
				'type'  => 'header',
			));

		tie_build_theme_option(
			array(
				'name'  => esc_html__( 'Below Header', TIELABS_TEXTDOMAIN ),
				'id'    => 'amp_ad_below_header',
				'hint'  => sprintf(
					esc_html__( 'Enter your Ad code, AMP pages support %1$s tag only, %2$sClick Here%3$s For More info.', TIELABS_TEXTDOMAIN ),
					'<code>&lt;amp-ad&gt;</code>',
					'<a href="https://www.ampproject.org/docs/reference/extended/amp-ad.html" target="_blank">',
					'</a>'
				),
				'type'  => 'textarea',
			));

		tie_build_theme_option(
			array(
				'name'  => esc_html__( 'Above Footer', TIELABS_TEXTDOMAIN ),
				'id'    => 'amp_ad_above_footer',
				'hint'  => sprintf(
					esc_html__( 'Enter your Ad code, AMP pages support %1$s tag only, %2$sClick Here%3$s For More info.', TIELABS_TEXTDOMAIN ),
					'<code>&lt;amp-ad&gt;</code>',
					'<a href="https://www.ampproject.org/docs/reference/extended/amp-ad.html" target="_blank">',
					'</a>'
				),
				'type'  => 'textarea',
			));

		tie_build_theme_option(
			array(
				'name'  => esc_html__( 'Above Content', TIELABS_TEXTDOMAIN ),
				'id'    => 'amp_ad_above',
				'hint'  => sprintf(
					esc_html__( 'Enter your Ad code, AMP pages support %1$s tag only, %2$sClick Here%3$s For More info.', TIELABS_TEXTDOMAIN ),
					'<code>&lt;amp-ad&gt;</code>',
					'<a href="https://www.ampproject.org/docs/reference/extended/amp-ad.html" target="_blank">',
					'</a>'
				),
				'type'  => 'textarea',
			));

		tie_build_theme_option(
			array(
				'name'  => esc_html__( 'Below Content', TIELABS_TEXTDOMAIN ),
				'id'    => 'amp_ad_below',
				'hint'  => sprintf(
					esc_html__( 'Enter your Ad code, AMP pages support %1$s tag only, %2$sClick Here%3$s For More info.', TIELABS_TEXTDOMAIN ),
					'<code>&lt;amp-ad&gt;</code>',
					'<a href="https://www.ampproject.org/docs/reference/extended/amp-ad.html" target="_blank">',
					'</a>'
				),
				'type'  => 'textarea',
			));


		tie_build_theme_option(
			array(
				'title' => esc_html__( 'Article inline ads', TIELABS_TEXTDOMAIN ),
				'id'    => 'amp-advertisement-inline',
				'type'  => 'header',
			));

		for ($i=1; $i <= 3; $i++) { 

			tie_build_theme_option(
				array(
					'name'  => sprintf( esc_html__( 'Article inline ad #%s', TIELABS_TEXTDOMAIN ), $i ),
					'id'    => 'amp_article_inline_ad_'. $i .'_code',
					'hint'  => sprintf(
						esc_html__( 'Enter your Ad code, AMP pages support %1$s tag only, %2$sClick Here%3$s For More info.', TIELABS_TEXTDOMAIN ),
						'<code>&lt;amp-ad&gt;</code>',
						'<a href="https://www.ampproject.org/docs/reference/extended/amp-ad.html" target="_blank">',
						'</a>'
					),
					'type'  => 'textarea',
					'pre_text' => sprintf( esc_html__( 'Article inline ad #%s', TIELABS_TEXTDOMAIN ), $i ),
				));

			tie_build_theme_option(
				array(
					'name' => esc_html__( 'Number of paragraphs before the Ad', TIELABS_TEXTDOMAIN ),
					'id'   => 'amp_article_inline_ad_'. $i .'_paragraphs_number',
					'type' => 'number',
				));
			}


		tie_build_theme_option(
			array(
				'title' => esc_html__( 'Styling', TIELABS_TEXTDOMAIN ),
				'id'    => 'amp-styling',
				'type'  => 'header',
			));

		tie_build_theme_option(
			array(
				'name' => esc_html__( 'Background Color', TIELABS_TEXTDOMAIN ),
				'id'   => 'amp_bg_color',
				'type' => 'color',
			));

		tie_build_theme_option(
			array(
				'name' => esc_html__( 'Header Background Color', TIELABS_TEXTDOMAIN ),
				'id'   => 'amp_header_color',
				'type' => 'color',
			));

		tie_build_theme_option(
			array(
				'name' => esc_html__( 'Mobile Menu Icon', TIELABS_TEXTDOMAIN ),
				'id'   => 'amp_menu_icon_color',
				'type' => 'color',
			));

		tie_build_theme_option(
			array(
				'name' => esc_html__( 'Title Color', TIELABS_TEXTDOMAIN ),
				'id'   => 'amp_title_color',
				'type' => 'color',
			));

		tie_build_theme_option(
			array(
				'name' => esc_html__( 'Post meta Color', TIELABS_TEXTDOMAIN ),
				'id'   => 'amp_meta_color',
				'type' => 'color',
			));

		tie_build_theme_option(
			array(
				'name' => esc_html__( 'Links color', TIELABS_TEXTDOMAIN ),
				'id'   => 'amp_links_color',
				'type' => 'color',
			));

		tie_build_theme_option(
			array(
				'name' => esc_html__( 'Footer color', TIELABS_TEXTDOMAIN ),
				'id'   => 'amp_footer_color',
				'type' => 'color',
			));

		tie_build_theme_option(
			array(
				'name' => esc_html__( 'Underline text links on hover', TIELABS_TEXTDOMAIN ),
				'id'   => 'amp_links_underline',
				'type' => 'checkbox',
			));


		tie_build_theme_option(
			array(
				'name'  => esc_html__( 'Custom CSS', TIELABS_TEXTDOMAIN ),
				'id'    => 'css_amp',
				'class' => 'tie-css',
				'type'  => 'textarea',
				'hint'  => esc_html__( 'Paste your CSS code, do not include any tags or HTML in the field. Any custom CSS entered here will override the theme CSS. In some cases, the !important tag may be needed.', TIELABS_TEXTDOMAIN ),
			));

	echo '</div>';
}

else{
	tie_build_theme_option(
		array(
			'text' => sprintf( esc_html__( 'You need to install the %s Plugin first.', TIELABS_TEXTDOMAIN ), '<a target="_blank" href="https://wordpress.org/plugins/amp/">Automattic AMP</a>' ),
			'type' => 'error',
		));
	}
“الروبوتات في صراع الوجود: هل نهدد مستقبلنا بأيدينا؟” – tahkoom.com
تفاعل

“الروبوتات في صراع الوجود: هل نهدد مستقبلنا بأيدينا؟”

كتبت مريم سمير

 

في عصر التكنولوجيا الحديثة، ظهرت الروبوتات وكان صنعها قليل ومحدود ، ومن ثم بدأ الموضوع في الانتشار ، وأصبحت الدول الأوروبية هم الأكثر استخداما للروبوتات، بالطبع ان التكنولوجيا تمدنا بالأشياء النافعة لكن لكل شيء يوجد مخاطر وتحديات ، في هذا التحقيق سنعرض هذه الظاهرة ونتناول تأثيرها علي مستقبلنا ، لنفهم كيف يمكننا التصدي لهذه التحديات .

كشفت صحيفة ديلي ميل البريطانية عام 2023 ان احد روبوتات شركة تسلا قام بمهاجمة مهندس داخل المصنع بولاية تكساس الامريكية حيث استطاع الروبوت تثبيت الرجل ثم غرس مخالبه المعدنية في ظهره وذراعه تاركا سيلا من الدماء علي أرضية المصنع .

والسؤال الان الي أي مدي يمكن ان يتكرر هذا العطل ؟

وضح” د/ احمد سعيد “، معيد في كلية حاسبات ومعلومات ، ان هناك العديد من حالات تعدي الروبوتات علي البشر ، وقال ان هناك تقارير عن استخدام الروبوتات العسكرية في النزاعات ، مما ادي الي وقوع إصابات بشرية ، وأضاف ان الأسباب المحتملة تشتمل أخطاء في البرمجة ، وعدم وجود معايير صارمة في تصميم الروبوتات، كما أشار الي ان الروبوتات قد تتصرف بشكل غير متوقع اذا تعرضت لأحداث غير متوقعة او ظروف غير عادية .

كما تحدثت “المهندسة سارة يوسف” ، مبرمجة في شركة تكنولوجيا ، ان الأخطاء البرمجية مثل عدم معالجة الاستثناءات بشكل صحيح او وجود ثغرات في تعليمات التحكم يمكن ان تؤدي الي تصرفات عدوانية ، هذه الأخطاء تجعل الروبوتات تتجاهل أوامر السلامة .

وأشار المهندس ” كريم حسن ” ، خريج كلية حاسبات ومعلومات ويعمل في مجال البرمجة ، الي ان هناك عدة تدابير امنية يمكن اتخاذها ، مثل تطوير بروتوكولات امان صارمة ، واستخدام أجهزة استشعار لتقليل التفاعل غير المرغوب فيه مع البشر ، وتطبيق تقنيات التعلم الالي لتحسين سلوك الروبوتات .

 

كما اخبرتنا المحامية “نجلاء عبد الرحمن ” ، ان القوانين الحالية لا تغطي بشكل كافي اعتداءات الروبوتات ، وأكدت ان هناك حاجة ملحة لتطوير تشريعات جديدة تركز علي حقوق الافراد و تحدد مسؤليات الشركات المصنعة .

 

ومع استمرار تقدم التكنولوجيا، يبقى التحدي الأكبر هو ضمان أن تكون هذه الآلات أدوات لخدمة البشرية، وليس تهديدًا لها. من خلال العمل الجاد والالتزام بالمعايير العالية، يمكننا بناء مستقبل آمن ومشرق حيث تتعايش الروبوتات والبشر بسلام.

اظهر المزيد

مقالات ذات صلة

اترك تعليقاً

لن يتم نشر عنوان بريدك الإلكتروني. الحقول الإلزامية مشار إليها بـ *

زر الذهاب إلى الأعلى