{"id":1210,"date":"2019-08-25T22:13:37","date_gmt":"2019-08-25T18:43:37","guid":{"rendered":"http:\/\/montajab.com\/kishuniv\/?page_id=1210"},"modified":"2021-09-29T22:12:28","modified_gmt":"2021-09-29T18:42:28","slug":"scores","status":"publish","type":"page","link":"https:\/\/montajab.com\/kishuniv\/sp\/scores\/","title":{"rendered":"\u0646\u0645\u0631\u0627\u062a"},"content":{"rendered":"<p><script src=\"\/angular.min.js\"><\/script><br \/>\n<script>\n            var app = angular.module('scoreApp', []);\n            app.controller('scoreCtrl', function ($scope) {\n                $scope.getScore = function(sArray,sEach){\n                    var s = 0;\n                    for (var i = 0; i < sArray.length; i++) {\n                        s += (sArray[i]>0) ? (sArray[i]*sEach)\/100 : 0;\n                    }\n                    s = s.toFixed(2);\n                    return Number(s);\n                }\n\t\t\t\t$scope.getSum = function(st, max){\n\t\t\t\t\tvar sum = st.Class + $scope.getScore([st.P1, st.P2, st.P3],0.5) + $scope.getScore([st.Q1, st.Q2, st.Q3],0.5) + $scope.getScore([st.Project],1.0) + $scope.getScore([st.MidTerm],2.0);\n\t\t\t\t\tif(max) sum = (sum > max) ? max : sum;\n\t\t\t\t\treturn sum;\n\t\t\t\t}\t\t\t\t\n                $scope.scoreTable = [];\n                $scope.scoreTable.push({ 'Name': '\u0627\u0645\u06cc\u0646 \u0622\u0645\u0631\u063a \u0641\u0631\u062f', 'ID': '97137036160011', 'P1': 0, 'P2': 100, 'P3': 0, 'Q1': 80, 'Q2': 100, 'Q3': 0, 'UndeliveredForms': '-', 'Class': 0.25, 'Project': 0, 'MidTerm': 43, 'Final': 4.9, RegNum: 7.5});\n                $scope.scoreTable.push({ 'Name': '\u0633\u06cc\u062f\u0639\u0637\u0627 \u062e\u0631\u062f', 'ID': '97137036160023',    'P1': 0, 'P2': 100, 'P3': 100, 'Q1': 80, 'Q2': 100, 'Q3': 100, 'UndeliveredForms': -1, 'Class': 0, 'Project': 100, 'MidTerm': 53, 'Final': 10.85, RegNum: 15.5});\n                $scope.scoreTable.push({ 'Name': '\u0645\u062d\u0645\u062f\u0635\u062f\u0631\u0627 \u062f\u0648\u0627\u0626\u06cc \u062f\u0647\u0627\u0642\u0627\u0646\u06cc', 'ID': '97137036160026', 'P1': 100, 'P2': 100, 'P3': 100, 'Q1': 90, 'Q2': 100, 'Q3': 100, 'UndeliveredForms': 0, 'Class': 0.75, 'Project': 100, 'MidTerm': 73, 'Final': 13.6, RegNum: 20});\n                $scope.scoreTable.push({ 'Name': '\u062d\u0633\u06cc\u0646 \u0631\u0646\u062c\u0628\u0631\u06cc', 'ID': '97137036160031', 'P1': 0, 'P2': 100, 'P3': 100, 'Q1': 90, 'Q2': 100, 'Q3': 100, 'UndeliveredForms': -4, 'Class': 0, 'Project': 0, 'MidTerm': 53, 'Final': 10.75, RegNum: 14.5});\n                $scope.scoreTable.push({ 'Name': '\u0645\u0631\u06cc\u0645 \u0627\u0644\u0633\u0627\u062f\u0627\u062a \u0633\u06cc\u062f\u0639\u0644\u06cc \u062e\u0627\u0646\u06cc', 'ID': '97137036160037', 'P1': 0, 'P2': 100, 'P3': 100, 'Q1': 80, 'Q2': 100, 'Q3': 100, 'UndeliveredForms': -1, 'Class': 0, 'Project': 0, 'MidTerm': 56, 'Final': 0, RegNum: '-'});\n                $scope.scoreTable.push({ 'Name': '\u0645\u062d\u0645\u062f\u062d\u0633\u06cc\u0646 \u0641\u06cc\u0627\u0636\u06cc', 'ID': '97137036160047', 'P1': 0, 'P2': 100, 'P3': 0, 'Q1': 0, 'Q2': 0, 'Q3': 0, 'UndeliveredForms': '-', 'Class': 0, 'Project': 0, 'MidTerm': 47, 'Final': 11.05, RegNum: 12.5});\n                $scope.scoreTable.push({ 'Name': '\u0639\u0644\u06cc \u0646\u0627\u0632\u067e\u0631\u0648\u0631', 'ID': '97137036160072', 'P1': 0, 'P2': 100, 'P3': 100, 'Q1': 80, 'Q2': 100, 'Q3': 100, 'UndeliveredForms': '-', 'Class': 0.25, 'Project': 100, 'MidTerm': 65, 'Final': 12.85, RegNum: 18});\n                $scope.scoreTable.push({ 'Name': '\u0635\u0627\u062f\u0642 \u06cc\u0648\u0646\u0633\u06cc \u067e\u0648\u0631', 'ID': '97137036160059', 'P1': 0, 'P2': 100, 'P3': 100, 'Q1': 0, 'Q2': 100, 'Q3': 0, 'UndeliveredForms': '-', 'Class': 0, 'Project': 0, 'MidTerm': 27, 'Final': 6.2, RegNum: 8.25});\n\t\t\t});\n\t\t<\/script><\/p>\n<style>\n            td, th {\n                text-align: center !important;\n                font-family: 'B nazanin';\n                border-width: 1px;\n                border-style: solid;\n                border-color: black;\n            }\n        <\/style>\n<div ng-app=\"scoreApp\" ng-controller=\"scoreCtrl\" ng-cloak>\n<div style=\"overflow-x: auto;\">\n<table style=\"direction:rtl;border-collapse: collapse; width:100%;text-align:center;\">\n<caption style=\"font-weight:bold;font-size:20px;font-family:'B nazanin';\">\u0646\u0645\u0631\u0627\u062a \u062a\u0645\u0631\u06cc\u0646 \u0648 \u06a9\u0648\u0626\u06cc\u0632 \u06a9\u0644\u0627\u0633 \u0628\u0631\u0646\u0627\u0645\u0647 \u0633\u0627\u0632\u06cc \u0634\u0628\u06a9\u0647<\/caption>\n<tr>\n<th rowspan=\"2\"><\/th>\n<th>\u062a\u0645\u0631\u06cc\u0646 \u06f1<\/th>\n<th>\u062a\u0645\u0631\u06cc\u0646 \u06f2<\/th>\n<th>\u062a\u0645\u0631\u06cc\u0646 \u06f3<\/th>\n<th>\u06a9\u0648\u0626\u06cc\u0632 \u06f1<\/th>\n<th>\u06a9\u0648\u0626\u06cc\u0632 \u06f2<\/th>\n<th>\u06a9\u0648\u0626\u06cc\u0632 \u06f3<\/th>\n<th>\u0627\u0631\u0632\u0634\u06cc\u0627\u0628\u06cc<\/th>\n<\/tr>\n<tr>\n<th>\u06f0.\u06f5<\/th>\n<th>\u06f0.\u06f5<\/th>\n<th>\u06f0.\u06f5<\/th>\n<th>\u06f0.\u06f5<\/th>\n<th>\u06f0.\u06f5<\/th>\n<th>\u06f0.\u06f5<\/th>\n<th>~<\/th>\n<\/tr>\n<tr ng-repeat=\"st in scoreTable\">\n<th>{{st.ID}}<\/th>\n<td><span ng-if=\"st.P1\">%<\/span>{{st.P1}}<\/td>\n<td><span ng-if=\"st.P2\">%<\/span>{{st.P2}}<\/td>\n<td><span ng-if=\"st.P3\">%<\/span>{{st.P3}}<\/td>\n<td><span ng-if=\"st.Q1\">%<\/span>{{st.Q1}}<\/td>\n<td><span ng-if=\"st.Q2\">%<\/span>{{st.Q2}}<\/td>\n<td><span ng-if=\"st.Q3\">%<\/span>{{st.Q3}}<\/td>\n<td style=\"direction:ltr;\">{{st.UndeliveredForms}}<\/td>\n<\/tr>\n<\/table><\/div>\n<p><\/p>\n<hr>\n<p><\/p>\n<div style=\"overflow-x: auto;\">\n<table style=\"direction:rtl;border-collapse: collapse; width:100%;text-align:center;\">\n<caption style=\"font-weight:bold;font-size:20px;font-family:'B nazanin';\">\u0646\u0645\u0631\u0627\u062a \u06a9\u0644\u0627\u0633 \u0628\u0631\u0646\u0627\u0645\u0647 \u0633\u0627\u0632\u06cc \u0634\u0628\u06a9\u0647<\/caption>\n<tr>\n<th rowspan=\"2\"><\/th>\n<th>\u0645\u0634\u0627\u0631\u06a9\u062a \u06a9\u0644\u0627\u0633\u06cc<\/th>\n<th>\u062a\u0645\u0631\u06cc\u0646<\/th>\n<th>\u06a9\u0648\u0626\u06cc\u0632<\/th>\n<th>\u067e\u0631\u0648\u0698\u0647<\/th>\n<th>\u0645\u06cc\u0627\u0646 \u062a\u0631\u0645<\/th>\n<th>\u067e\u0627\u06cc\u0627\u0646 \u062a\u0631\u0645<\/th>\n<th>\u0645\u062c\u0645\u0648\u0639<\/th>\n<th>\u0646\u0647\u0627\u06cc\u06cc<\/th>\n<\/tr>\n<tr>\n<th>(\u06f2+)<\/th>\n<th>\u06f1.\u06f5<\/th>\n<th>\u06f1.\u06f5<\/th>\n<th>\u06f1<\/th>\n<th>\u06f2<\/th>\n<th>\u06f1\u06f4<\/th>\n<th>\u06f2\u06f0<\/th>\n<th>\u06f2\u06f0<\/th>\n<\/tr>\n<tr ng-repeat=\"st in scoreTable\">\n<th>{{st.ID}}<\/th>\n<td>{{st.Class}}<\/td>\n<td>{{getScore([st.P1, st.P2, st.P3],0.5)}}<\/td>\n<td>{{getScore([st.Q1, st.Q2, st.Q3],0.5)}}<\/td>\n<td>{{getScore([st.Project],1.0)}}<\/td>\n<td>{{getScore([st.MidTerm],2.0)}}<\/td>\n<td>{{st.Final}}<\/td>\n<td>{{(getSum(st) + st.Final).toFixed(2)}}<\/td>\n<p>                    <!--\n\n<td>{{(st.Class + getScore([st.P1, st.P2, st.P3],0.5) + getScore([st.Q1, st.Q2, st.Q3],0.5) + getScore([st.Project],1.0) + getScore([st.MidTerm],2.0) + st.Final).toFixed(2)}}<\/td>\n\n--><\/p>\n<td>{{st.RegNum}}<\/td>\n<\/tr>\n<\/table><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0646\u0645\u0631\u0627\u062a \u062a\u0645\u0631\u06cc\u0646 \u0648 \u06a9\u0648\u0626\u06cc\u0632 \u06a9\u0644\u0627\u0633 \u0628\u0631\u0646\u0627\u0645\u0647 \u0633\u0627\u0632\u06cc \u0634\u0628\u06a9\u0647 \u062a\u0645\u0631\u06cc\u0646 \u06f1 \u062a\u0645\u0631\u06cc\u0646 \u06f2 \u062a\u0645\u0631\u06cc\u0646 \u06f3 \u06a9\u0648\u0626\u06cc\u0632 \u06f1 \u06a9\u0648\u0626\u06cc\u0632 \u06f2 \u06a9\u0648\u0626\u06cc\u0632 \u06f3 \u0627\u0631\u0632\u0634\u06cc\u0627\u0628\u06cc \u06f0.\u06f5 \u06f0.\u06f5 \u06f0.\u06f5 \u06f0.\u06f5 \u06f0.\u06f5 \u06f0.\u06f5 ~ {{st.ID}} %{{st.P1}} %{{st.P2}} %{{st.P3}} %{{st.Q1}} %{{st.Q2}} %{{st.Q3}} {{st.UndeliveredForms}} \u0646\u0645\u0631\u0627\u062a \u06a9\u0644\u0627\u0633 \u0628\u0631\u0646\u0627\u0645\u0647 \u0633\u0627\u0632\u06cc \u0634\u0628\u06a9\u0647 \u0645\u0634\u0627\u0631\u06a9\u062a \u06a9\u0644\u0627\u0633\u06cc \u062a\u0645\u0631\u06cc\u0646 \u06a9\u0648\u0626\u06cc\u0632 \u067e\u0631\u0648\u0698\u0647 \u0645\u06cc\u0627\u0646 \u062a\u0631\u0645 \u067e\u0627\u06cc\u0627\u0646 \u062a\u0631\u0645 \u0645\u062c\u0645\u0648\u0639 \u0646\u0647\u0627\u06cc\u06cc (\u06f2+) \u06f1.\u06f5 \u06f1.\u06f5 &hellip;<br \/><a href=\"https:\/\/montajab.com\/kishuniv\/sp\/scores\/\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\">\u0627\u062f\u0627\u0645\u0647 \u06cc \u0646\u0648\u0634\u062a\u0647 <span class=\"screen-reader-text\">\u0646\u0645\u0631\u0627\u062a<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1204,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1210","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/pages\/1210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/comments?post=1210"}],"version-history":[{"count":17,"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/pages\/1210\/revisions"}],"predecessor-version":[{"id":1656,"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/pages\/1210\/revisions\/1656"}],"up":[{"embeddable":true,"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/pages\/1204"}],"wp:attachment":[{"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/media?parent=1210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}