{"id":3314,"date":"2024-04-08T12:50:20","date_gmt":"2024-04-08T12:50:20","guid":{"rendered":"https:\/\/american-board.us\/?page_id=3314"},"modified":"2024-05-28T06:27:08","modified_gmt":"2024-05-28T06:27:08","slug":"%d8%a7%d9%84%d8%b1%d8%a6%d9%8a%d8%b3%d9%8a%d8%a9-2","status":"publish","type":"page","link":"https:\/\/american-board.us\/ar\/%d8%a7%d9%84%d8%b1%d8%a6%d9%8a%d8%b3%d9%8a%d8%a9-2\/","title":{"rendered":"\u0627\u0644\u0631\u0626\u064a\u0633\u064a\u0629 2"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"3314\" class=\"elementor elementor-3314\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7ae825e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7ae825e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8474443\" data-id=\"8474443\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-96cefce elementor-widget elementor-widget-text-editor\" data-id=\"96cefce\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<header class=\"~text-gray-500 flex-none z-30 h-16 px-6 @lg:px-10 flex items-center justify-end\"><span class=\"inline-flex flex-wrap items-baseline\" style=\"color: #000000;\">app\u2009\/\u2009Http\u2009\/\u2009Controllers\u2009\/\u2009Frontend\u2009\/\u2009<span class=\"font-semibold\">HomeController<\/span>.php\u2009<span class=\"whitespace-nowrap\">:\u2009<span class=\"font-mono text-xs\">30<\/span><\/span><\/span><\/header><div class=\"flex-grow pr-10\"><pre><span style=\"color: #000000;\"><code class=\"language-php\"><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\"><span class=\"hljs-keyword\">use<\/span> <span class=\"hljs-title\">App<\/span>\\<span class=\"hljs-title\">Models<\/span>\\<span class=\"hljs-title\">Appointment<\/span>;\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\"><span class=\"hljs-keyword\">use<\/span> <span class=\"hljs-title\">App<\/span>\\<span class=\"hljs-title\">Models<\/span>\\<span class=\"hljs-title\">Information<\/span>;\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\"><span class=\"hljs-keyword\">use<\/span> <span class=\"hljs-title\">App<\/span>\\<span class=\"hljs-title\">Models<\/span>\\<span class=\"hljs-title\">Testimonial<\/span>;\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\"><span class=\"hljs-keyword\">use<\/span> <span class=\"hljs-title\">Illuminate<\/span>\\<span class=\"hljs-title\">Http<\/span>\\<span class=\"hljs-title\">Request<\/span>;\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\"><span class=\"hljs-keyword\">use<\/span> <span class=\"hljs-title\">App<\/span>\\<span class=\"hljs-title\">Models<\/span>\\<span class=\"hljs-title\">ValuesServices<\/span>;\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\"><span class=\"hljs-keyword\">use<\/span> <span class=\"hljs-title\">Illuminate<\/span>\\<span class=\"hljs-title\">Support<\/span>\\<span class=\"hljs-title\">Facades<\/span>\\<span class=\"hljs-title\">DB<\/span>;\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\"><span class=\"hljs-keyword\">use<\/span> <span class=\"hljs-title\">Illuminate<\/span>\\<span class=\"hljs-title\">Support<\/span>\\<span class=\"hljs-title\">Facades<\/span>\\<span class=\"hljs-title\">Log<\/span>;\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\"><span class=\"hljs-keyword\">use<\/span> <span class=\"hljs-title\">App<\/span>\\<span class=\"hljs-title\">Http<\/span>\\<span class=\"hljs-title\">Controllers<\/span>\\<span class=\"hljs-title\">Controller<\/span>;\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\"><span class=\"hljs-keyword\">use<\/span> <span class=\"hljs-title\">App<\/span>\\<span class=\"hljs-title\">Http<\/span>\\<span class=\"hljs-title\">Requests<\/span>\\<span class=\"hljs-title\">Admin<\/span>\\<span class=\"hljs-title\">Appointment<\/span>\\<span class=\"hljs-title\">StoreAppointmentRequest<\/span>;\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\"><span class=\"hljs-keyword\">use<\/span> <span class=\"hljs-title\">App<\/span>\\<span class=\"hljs-title\">Http<\/span>\\<span class=\"hljs-title\">Requests<\/span>\\<span class=\"hljs-title\">Front<\/span>\\<span class=\"hljs-title\">Appointment<\/span>\\<span class=\"hljs-title\">StoreRequestAppointment<\/span>;\n<\/span><\/span><\/span><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button>\n<span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\"><span class=\"hljs-class hljs-keyword\">class<\/span> <span class=\"hljs-class hljs-title\">HomeController<\/span> <span class=\"hljs-class hljs-keyword\">extends<\/span> <span class=\"hljs-class hljs-title\">Controller<\/span>\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">{\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">    <span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-function hljs-keyword\">function<\/span> <span class=\"hljs-function hljs-title\">index<\/span><span class=\"hljs-function\">(<\/span><span class=\"hljs-function\">)\n<\/span><\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">    {\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10 ~bg-red-500\/20\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">        <span class=\"hljs-variable\">$about<\/span>          = About::first();\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">        <span class=\"hljs-variable\">$valuesServices<\/span> = ValuesServices::with(<span class=\"hljs-string\">'data'<\/span>)-&gt;get();\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">        <span class=\"hljs-variable\">$vision<\/span>         = Vision::first();\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">        <span class=\"hljs-variable\">$testimonial<\/span>    = Testimonial::first();\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">        <span class=\"hljs-variable\">$informations<\/span>   = Information::get();\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">        <span class=\"hljs-variable\">$setting<\/span>        = Setting::with(<span class=\"hljs-string\">'data'<\/span>)-&gt;first();\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">        <span class=\"hljs-variable\">$languags<\/span>       = Language::get();\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">        <span class=\"hljs-variable\">$lang_id<\/span>        = Lang::getSelectedLangId();\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">        <span class=\"hljs-keyword\">return<\/span> view(<span class=\"hljs-string\">'layouts.Frontend.index'<\/span>, compact(<span class=\"hljs-string\">'about'<\/span>, <span class=\"hljs-string\">'languags'<\/span>, <span class=\"hljs-string\">'lang_id'<\/span>,<span class=\"hljs-string\">'valuesServices'<\/span>,<span class=\"hljs-string\">'vision'<\/span>,<span class=\"hljs-string\">'testimonial'<\/span>,<span class=\"hljs-string\">'informations'<\/span>,<span class=\"hljs-string\">'setting'<\/span>));\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">    }\n<\/span><\/span><\/span><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button>\n<span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">    <span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-function hljs-keyword\">function<\/span> <span class=\"hljs-function hljs-title\">appointement<\/span><span class=\"hljs-function\">(<\/span><span class=\"hljs-function\">)\n<\/span><\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">    {\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">        <span class=\"hljs-variable\">$languags<\/span>   = Language::get();\n<\/span><\/span><\/span><span class=\"flex group leading-loose hover:~bg-red-500\/10\"><button class=\"w-6 h-6 rounded-full flex items-center justify-center text-xs ~bg-white text-indigo-500 hover:~text-indigo-600 transform transition-animation shadow-md hover:shadow-lg active:shadow-sm active:translate-y-px&quot;\" type=\"button\"><\/button><span class=\"pl-6\"><span class=\"\">        <span class=\"hljs-variable\">$lang_id<\/span>    = Lang::getSelectedLangId();<\/span><\/span><\/span><\/code><\/span><\/pre><\/div><p>\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>app\u2009\/\u2009Http\u2009\/\u2009Controllers\u2009\/\u2009Frontend\u2009\/\u2009HomeController.php\u2009:\u200930 use AppModelsAppointment; use AppModelsInformation; use AppModelsTestimonial; use IlluminateHttpRequest; use AppModelsValuesServices; &#8230; <\/p>","protected":false},"author":7,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-3314","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/american-board.us\/ar\/wp-json\/wp\/v2\/pages\/3314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/american-board.us\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/american-board.us\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/american-board.us\/ar\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/american-board.us\/ar\/wp-json\/wp\/v2\/comments?post=3314"}],"version-history":[{"count":0,"href":"https:\/\/american-board.us\/ar\/wp-json\/wp\/v2\/pages\/3314\/revisions"}],"wp:attachment":[{"href":"https:\/\/american-board.us\/ar\/wp-json\/wp\/v2\/media?parent=3314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}