{"id":1157,"date":"2024-12-13T07:07:09","date_gmt":"2024-12-13T07:07:09","guid":{"rendered":"https:\/\/appliedarts.edu.eg\/?page_id=1157"},"modified":"2025-07-29T16:06:50","modified_gmt":"2025-07-29T16:06:50","slug":"%d9%86%d8%aa%d8%a7%d8%a6%d8%ac-%d8%a7%d9%84%d8%b7%d9%84%d8%a7%d8%a8","status":"publish","type":"page","link":"https:\/\/appliedarts.edu.eg\/en\/%d9%86%d8%aa%d8%a7%d8%a6%d8%ac-%d8%a7%d9%84%d8%b7%d9%84%d8%a7%d8%a8\/","title":{"rendered":"Students Score"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"1157\" class=\"elementor elementor-1157\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-1f69390 e-con-full e-flex e-con e-parent\" data-id=\"1f69390\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-55e6c0c elementor-widget elementor-widget-m5-students-score\" data-id=\"55e6c0c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"m5-students-score.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t            <style>\n                #m5ss_frame {\n                    width: 100%;\n                    padding: 20px;\n                    display: flex;\n                    align-items: flex-start;\n                    flex-direction: column;\n                }\n\n                #m5ss_student_info {\n                    display: flex;\n                    flex-direction: column;\n                    align-items: flex-start;\n                    width: 100%;\n                }\n\n                #m5ss_score {\n                    display: flex;\n                    flex-direction: column;\n                    width: 100%;\n                }\n\n                #m5ss_seatno {\n                    display: flex;\n                    width: 100%;\n                    column-gap: 20px;\n                }\n\n                #m5ss_seatno input {\n                    flex: 1;\n                    padding: 5px;\n                    border-radius: 5px;\n                }\n\n                #m5ss_seatno div {\n                    background-color: rgb(80, 80, 80);\n                    color: white;\n                    padding: 5px 20px;\n                    border-radius: 10px;\n                    cursor: pointer;\n                }\n\n                #m5ss_seatno div:hover {\n                    background-color: rgb(32, 32, 32);\n                }\n\n                #m5ss_seatno div.m5_loading {\n                    animation: m5_loading 600ms infinite;\n                }\n\n                .error {\n                    color: red;\n                    display: none;\n                }\n\n                .m5_details {\n                    display: flex;\n                    margin-top: 30px;\n                    column-gap: 20px;\n                }\n\n                .m5_details .m5_header {\n                    font-weight: bold;\n                    min-width: 100px;\n                }\n\n                .m5_details .m5_value {\n                    flex: 1;\n                }\n\n                @keyframes m5_loading {\n                    0% {\n                        background-color: rgb(80, 80, 80);\n                    }\n\n                    50% {\n                        background-color: rgb(180, 180, 180);\n                    }\n\n                    100% {\n                        background-color: rgb(80, 80, 80);\n                    }\n                }\n\n                .m5_score_table {\n                    width: 100%;\n                    margin-top: 20px;\n                    display: flex;\n                    flex-direction: column;\n                    align-items: stretch;\n                }\n\n                .m5_score_table .m5_hrow {\n                    color: white;\n                }\n\n                .m5_score_table .m5_hrow .m5_col{\n                    background-color: rgb(54, 54, 54);\n                }\n\n                .m5_score_table .m5_row{\n                    display: flex;\n                    width: 100%;\n                    column-gap: 2px;\n                    border-bottom: solid 1px rgb(139, 139, 139);\n                }\n\n\n                .m5_score_table .m5_row .m5_col {\n                    flex: 1;\n                    padding: 5px;\n                }\n            <\/style>\n            <script>\n                jQuery(document).ready(function ($) {\n                    var m5_search = $('#m5ss_seatno input');\n                    var m5_btn = $('#m5ss_seatno div');\n\n                    m5_btn.on('click', function () {\n                        $('.error').hide();\n                        if (m5_search.val() == '') {\n                            $('#m5_empty').slideDown();\n                        }\n                        else {\n                            m5_btn.addClass('m5_loading');\n                            $('#m5ss_score .m5_value').html('');\n                            $('#m5_score_table .m5_row:not(.m5_hrow)').remove();\n                            $('.m5_totals').remove();\n                            fetch('https:\/\/appliedarts.edu.eg\/en\/wp-json\/m5\/get_student?seat_number=' + m5_search.val())\n                                .then(x => x.json())\n                                .then(data => {\n                                    m5_btn.removeClass('m5_loading');\n                                    if (data.success) {\n                                        $('#m5ss_score #m5_name').html(data.data.student.name);\n                                        $('#m5ss_score #m5_college').html(data.data.student.college);\n                                        $('#m5ss_score #m5_speciality').html(data.data.student.speciality);\n                                        $('#m5ss_score #m5_year').html(data.data.student.year);\n                                        $('#m5ss_score #seat_number').html(data.data.student.seat_number);\n\n                                        data.data.scores.forEach(score => {\n                                            $('#m5_score_table').append(`\n                                            <div class=\"m5_row\">\n                                                <div class=\"m5_col\">${score.subject}<\/div>\n                                                <div class=\"m5_col\">${score.max}<\/div>\n                                                <div class=\"m5_col\">${score.score}<\/div>\n                                            <\/div>\n                                            `);\n                                        });\n                                        $('#m5_score_table_total').append(`\n                                        <div class=\"m5_row m5_totals\">\n                                                <div class=\"m5_col\">${data.data.total.total}<\/div>\n                                                <div class=\"m5_col\">${data.data.total.score}<\/div>\n                                                <div class=\"m5_col\">${data.data.total.percent}<\/div>\n                                            <\/div>\n                                        `);\n\n                                    } else {\n                                        $('#m5_not_found').slideDown();\n                                    }\n                                }).catch(e => {\n\n                                });\n                        }\n\n                    });\n                });\n            <\/script>\n            <div id=\"m5ss_frame\">\n                <div id=\"m5ss_student_info\">\n                    <div id=\"m5ss_seatno\">\n                        <input type=\"text\" placeholder=\"Enter Seat Number\" \/>\n                        <div>Show Score<\/div>\n                    <\/div>\n                <\/div>\n                <div id=\"m5ss_score\">\n                    <div class=\"error\" id=\"m5_not_found\">\u0631\u0642\u0645 \u0627\u0644\u062c\u0644\u0648\u0633 \u063a\u064a\u0631 \u0645\u0648\u062c\u0648\u062f<\/div>\n                    <div class=\"error\" id=\"m5_empty\">\u0631\u0642\u0645 \u0627\u0644\u062c\u0644\u0648\u0633 \u0641\u0627\u0631\u063a<\/div>\n\n                    <div class=\"m5_details\">\n                        <div class=\"m5_header\">\n                            Student Name                        <\/div>\n                        <div class=\"m5_value\" id=\"m5_name\">\n\n                        <\/div>\n                    <\/div>\n                    <div class=\"m5_details\">\n                        <div class=\"m5_header\">\n                            Seat Number                        <\/div>\n                        <div class=\"m5_value\" id=\"seat_number\">\n\n                        <\/div>\n                    <\/div>\n                    <div class=\"m5_details\">\n                        <div class=\"m5_header\">\n                            Institute                        <\/div>\n                        <div class=\"m5_value\" id=\"m5_college\">\n\n                        <\/div>\n                    <\/div>\n                    <div class=\"m5_details\">\n                        <div class=\"m5_header\">\n                            Departemnt                        <\/div>\n                        <div class=\"m5_value\" id=\"m5_speciality\">\n\n                        <\/div>\n                    <\/div>\n                    <div class=\"m5_details\">\n                        <div class=\"m5_header\">\n                            Year                        <\/div>\n                        <div class=\"m5_value\" id=\"m5_year\">\n\n                        <\/div>\n                    <\/div>\n\n                    <div id=\"m5_score_table\" class=\"m5_score_table\">\n                        <div class=\"m5_hrow m5_row\">\n                            <div class=\"m5_col\">\n                                Subject                            <\/div>\n                            <div class=\"m5_col\">\n                                Max                            <\/div>\n                            <div class=\"m5_col\">\n                                Score                            <\/div>\n                        <\/div>\n                    <\/div>\n\n                    <div id=\"m5_score_table_total\" class=\"m5_score_table\">\n                        <div class=\"m5_hrow m5_row\">\n                            <div class=\"m5_col\">\n                                Total                            <\/div>\n                            <div class=\"m5_col\">\n                                Score                            <\/div>\n                            <div class=\"m5_col\">\n                                Percentage                            <\/div>\n                        <\/div>\n                    <\/div>\n\n                <\/div>\n            <\/div>\n<h3 style=\"text-align:center;\">\n\tCreated By <a href=\"https:\/\/wa.me\/message\/AIFB3WN7V6L7D1\" target=\"_blank\">CodeWeb<\/a>\n<\/h3>\n            \t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-493c71a elementor-widget elementor-widget-html\" data-id=\"493c71a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script>\r\n  window.history.replaceState(null, null, '\/res');\r\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>\u0639\u0631\u0636 \u0627\u0644\u0646\u062a\u064a\u062c\u0629 \u0631\u0642\u0645 \u0627\u0644\u062c\u0644\u0648\u0633 \u063a\u064a\u0631 \u0645\u0648\u062c\u0648\u062f \u0631\u0642\u0645 \u0627\u0644\u062c\u0644\u0648\u0633 \u0641\u0627\u0631\u063a \u0627\u0633\u0645 \u0627\u0644\u0637\u0627\u0644\u0628 \u0631\u0642\u0645 \u0627\u0644\u062c\u0644\u0648\u0633 \u0627\u0633\u0645 \u0627\u0644\u0645\u0639\u0647\u062f \u0642\u0633\u0645 \u0633\u0646\u0629 \u0627\u0644\u0645\u0627\u062f\u0629 \u0627\u0642\u0635\u0649 \u062f\u0631\u062c\u0629 \u0627\u0644\u062a\u0642\u062f\u064a\u0631 \u0627\u0644\u0627\u062c\u0645\u0627\u0644\u0649 \u0627\u0644\u062a\u0642\u062f\u064a\u0631 \u0627\u0644\u0646\u0633\u0628\u0629 Created By CodeWeb<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-1157","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/appliedarts.edu.eg\/en\/wp-json\/wp\/v2\/pages\/1157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appliedarts.edu.eg\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/appliedarts.edu.eg\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/appliedarts.edu.eg\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appliedarts.edu.eg\/en\/wp-json\/wp\/v2\/comments?post=1157"}],"version-history":[{"count":48,"href":"https:\/\/appliedarts.edu.eg\/en\/wp-json\/wp\/v2\/pages\/1157\/revisions"}],"predecessor-version":[{"id":1396,"href":"https:\/\/appliedarts.edu.eg\/en\/wp-json\/wp\/v2\/pages\/1157\/revisions\/1396"}],"wp:attachment":[{"href":"https:\/\/appliedarts.edu.eg\/en\/wp-json\/wp\/v2\/media?parent=1157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}