├── Assets ├── js │ ├── MyJs.js │ ├── tests │ │ ├── unit │ │ │ ├── .jshintrc │ │ │ ├── phantom.js │ │ │ └── alert.js │ │ ├── visual │ │ │ ├── alert.html │ │ │ ├── popover.html │ │ │ ├── carousel.html │ │ │ ├── tooltip.html │ │ │ └── button.html │ │ └── README.md │ ├── faPrint.js │ ├── npm.js │ ├── AjaxSearch.js │ ├── transition.js │ ├── alert.js │ └── popover.js ├── img │ ├── 3.png │ ├── 05.jpg │ ├── lkpjkd.png │ ├── user.png │ ├── checklist.png │ ├── 17cricket-600.jpg │ ├── Tow Computers.jpg │ ├── facebook-like.png │ ├── 20190720_221301.jpg │ ├── bbc-blocks-dark.png │ ├── facebook-like-filled.png │ ├── _Profile_Picture │ │ ├── team1.jpg │ │ └── Tow Computers.jpg │ ├── uh60colombiapolice_policia.jpg │ ├── warmerdam-mockup-500x333.jpg │ ├── VideoCapture_20191124-110130.jpg │ ├── VideoCapture_20191124-110416.jpg │ ├── harissa_lamb_with_92207_16x9.jpg │ ├── southernindianmixedv_86569_16x9.jpg │ ├── prawn_saffron_biryani_82760_16x9.jpg │ ├── 87d6b69f-5e92-40f9-9dee-21c716afb707.jpg │ └── 1526762_1546604135591154_3974891804158661746_n.jpg ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2 │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── Ajax Search │ ├── Logout.php │ ├── disLike.php │ ├── getLogin.php │ ├── addLike.php │ ├── addComment.php │ ├── getSignup.php │ └── fetch-news.php ├── _Partial Components │ ├── conn.php │ ├── Format.php │ ├── Database.php │ └── Footer.php └── CSS │ └── News_Stjjjjjyle.CSS ├── Administrator ├── _Partial Components │ ├── CRUD.php │ ├── conn.php │ ├── Format.php │ ├── Footer.php │ ├── Database.php │ └── Navigation.php ├── Logout.php ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2 │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── Dari │ ├── Logout.php │ ├── _Partial Components │ │ ├── conn.php │ │ ├── Format.php │ │ ├── Footer.php │ │ ├── Database.php │ │ └── Navigation.php │ ├── Delete │ │ ├── DeleteMail.php │ │ ├── DeleteUsers.php │ │ ├── DeleteQuestion.php │ │ ├── DeleteTeacher.php │ │ ├── DeleteFaculty.php │ │ ├── DeleteSubject.php │ │ └── DeleteResult.php │ ├── Actions │ │ ├── EnableUser.php │ │ ├── DisableUser.php │ │ ├── EnableSubject.php │ │ ├── StandardUser.php │ │ ├── AdministratorUser.php │ │ └── DisableSubject.php │ ├── Ajax Search │ │ ├── addFaculty.php │ │ ├── editFaculty.php │ │ ├── addTeacher.php │ │ ├── addSubject.php │ │ ├── editTeachers.php │ │ ├── editSubjects.php │ │ ├── addQuestions.php │ │ ├── editQuestions.php │ │ ├── addResult.php │ │ ├── fetch-mail.php │ │ ├── fetch-teacher.php │ │ ├── fetch-QuizResult.php │ │ └── fetch-question.php │ ├── About-Us.php │ ├── js │ │ └── AjaxSearch.js │ ├── Add-Faculty.php │ └── View-Mail.php ├── Pashto │ ├── Logout.php │ ├── _Partial Components │ │ ├── conn.php │ │ ├── Format.php │ │ ├── Footer.php │ │ ├── Database.php │ │ └── Navigation.php │ ├── Delete │ │ ├── DeleteMail.php │ │ ├── DeleteNews.php │ │ ├── DeleteUsers.php │ │ ├── DeleteCategory.php │ │ └── DeleteComment.php │ ├── Actions │ │ ├── EnableUser.php │ │ ├── StandardUser.php │ │ ├── addCategory.php │ │ ├── AdministratorUser.php │ │ ├── editCategory.php │ │ ├── addNews.php │ │ ├── editNews.php │ │ └── addResult.php │ ├── js │ │ └── AjaxSearch.js │ ├── Ajax Search │ │ ├── fetch-Category.php │ │ ├── fetch-mail.php │ │ ├── fetch-News.php │ │ └── fetch-QuizResult.php │ ├── About-Us.php │ ├── Add-Category.php │ └── View-Mail.php ├── Delete │ ├── DeleteMail.php │ ├── DeleteUser.php │ ├── DeleteQuestion.php │ ├── DeleteTeacher.php │ ├── DeleteNews.php │ ├── DeleteSubject.php │ ├── DeleteCategory.php │ └── DeleteResult.php ├── Ajax Search │ ├── addCategory.php │ ├── editCategory.php │ ├── addNews.php │ ├── editNews.php │ ├── addSubject.php │ ├── fetch-Category.php │ ├── fetch-News.php │ └── fetch-QuizResult.php ├── Actions │ ├── addCategory.php │ └── editTeachers.php ├── js │ └── AjaxSearch.js ├── About.php ├── Add-Category.php └── Edit-Category.php ├── .htaccess ├── _Partial Components ├── conn.php ├── Format.php ├── Database.php └── Footer.php ├── updatePass.php ├── Dari ├── updatePass.php ├── index.php ├── Forgot-password.php └── Reset-pass.php ├── Pashto ├── updatePass.php ├── _Partial Components │ ├── Format.php │ ├── Database.php │ ├── Footer.php │ └── Method.php ├── News.php ├── index.php ├── About-us.php ├── Term.php ├── Contact-us.php ├── CSS │ └── News_Style.CSS ├── Forgot-password.php └── Reset-pass.php ├── About-us.php ├── Privacy.php ├── Contact-us.php ├── Forgot-password.php ├── NewsERD.txt ├── Reset-pass.php └── MyProfile.php /Assets/js/MyJs.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Administrator/_Partial Components/CRUD.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Assets/img/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/3.png -------------------------------------------------------------------------------- /Assets/img/05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/05.jpg -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | RewriteEngine on 2 | RewriteCond %{REQUEST_FILENAME} !-f 3 | RewriteRule ^([^\.]+)$ $1.php [NC,L] -------------------------------------------------------------------------------- /Assets/img/lkpjkd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/lkpjkd.png -------------------------------------------------------------------------------- /Assets/img/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/user.png -------------------------------------------------------------------------------- /Assets/img/checklist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/checklist.png -------------------------------------------------------------------------------- /Assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Assets/img/17cricket-600.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/17cricket-600.jpg -------------------------------------------------------------------------------- /Assets/img/Tow Computers.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/Tow Computers.jpg -------------------------------------------------------------------------------- /Assets/img/facebook-like.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/facebook-like.png -------------------------------------------------------------------------------- /Assets/img/20190720_221301.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/20190720_221301.jpg -------------------------------------------------------------------------------- /Assets/img/bbc-blocks-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/bbc-blocks-dark.png -------------------------------------------------------------------------------- /Administrator/Logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Administrator/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Administrator/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Assets/img/facebook-like-filled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/facebook-like-filled.png -------------------------------------------------------------------------------- /Administrator/Dari/Logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Administrator/Pashto/Logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Assets/img/_Profile_Picture/team1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/_Profile_Picture/team1.jpg -------------------------------------------------------------------------------- /_Partial Components/conn.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Assets/img/uh60colombiapolice_policia.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/uh60colombiapolice_policia.jpg -------------------------------------------------------------------------------- /Assets/img/warmerdam-mockup-500x333.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/warmerdam-mockup-500x333.jpg -------------------------------------------------------------------------------- /Administrator/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Administrator/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Administrator/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Administrator/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Assets/Ajax Search/Logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Assets/_Partial Components/conn.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Assets/img/VideoCapture_20191124-110130.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/VideoCapture_20191124-110130.jpg -------------------------------------------------------------------------------- /Assets/img/VideoCapture_20191124-110416.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/VideoCapture_20191124-110416.jpg -------------------------------------------------------------------------------- /Assets/img/harissa_lamb_with_92207_16x9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/harissa_lamb_with_92207_16x9.jpg -------------------------------------------------------------------------------- /Assets/js/tests/unit/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends" : "../../.jshintrc", 3 | "devel" : true, 4 | "es3" : false, 5 | "qunit" : true 6 | } 7 | -------------------------------------------------------------------------------- /Administrator/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Administrator/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Administrator/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Administrator/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Assets/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /Assets/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /Assets/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /Assets/img/_Profile_Picture/Tow Computers.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/_Profile_Picture/Tow Computers.jpg -------------------------------------------------------------------------------- /Assets/img/southernindianmixedv_86569_16x9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/southernindianmixedv_86569_16x9.jpg -------------------------------------------------------------------------------- /Administrator/Dari/_Partial Components/conn.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Administrator/_Partial Components/conn.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Assets/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /Assets/img/prawn_saffron_biryani_82760_16x9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/prawn_saffron_biryani_82760_16x9.jpg -------------------------------------------------------------------------------- /Administrator/Pashto/_Partial Components/conn.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Assets/img/87d6b69f-5e92-40f9-9dee-21c716afb707.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/87d6b69f-5e92-40f9-9dee-21c716afb707.jpg -------------------------------------------------------------------------------- /Administrator/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Administrator/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /Administrator/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Administrator/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /Administrator/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Administrator/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /Administrator/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Administrator/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /Assets/img/1526762_1546604135591154_3974891804158661746_n.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nasratullah-Shafiq/news_portal/HEAD/Assets/img/1526762_1546604135591154_3974891804158661746_n.jpg -------------------------------------------------------------------------------- /Administrator/Delete/DeleteMail.php: -------------------------------------------------------------------------------- 1 | delContactUs($Contact_ID); 8 | } 9 | 10 | header('Location: ../Mail.php'); 11 | ?> 12 | -------------------------------------------------------------------------------- /Administrator/Delete/DeleteUser.php: -------------------------------------------------------------------------------- 1 | delUsers($del_id); 8 | } 9 | 10 | header('Location: ../Manage-Users.php'); 11 | ?> 12 | 13 | -------------------------------------------------------------------------------- /Administrator/Dari/Delete/DeleteMail.php: -------------------------------------------------------------------------------- 1 | delContactUs($Contact_ID); 8 | } 9 | 10 | header('Location: ../Mail.php'); 11 | ?> 12 | -------------------------------------------------------------------------------- /Administrator/Dari/Delete/DeleteUsers.php: -------------------------------------------------------------------------------- 1 | delUsers($del_id); 8 | } 9 | 10 | header('Location: ../Manage-Users.php'); 11 | ?> 12 | 13 | -------------------------------------------------------------------------------- /Administrator/Pashto/Delete/DeleteMail.php: -------------------------------------------------------------------------------- 1 | delContactUs($Contact_ID); 8 | } 9 | 10 | header('Location: ../Mail.php'); 11 | ?> 12 | -------------------------------------------------------------------------------- /Administrator/Pashto/Delete/DeleteNews.php: -------------------------------------------------------------------------------- 1 | delNews($News_ID); 8 | } 9 | 10 | header('Location: ../Manage-News.php'); 11 | ?> 12 | 13 | -------------------------------------------------------------------------------- /Administrator/Pashto/Delete/DeleteUsers.php: -------------------------------------------------------------------------------- 1 | delUsers($del_id); 8 | } 9 | 10 | header('Location: ../Manage-Users.php'); 11 | ?> 12 | 13 | -------------------------------------------------------------------------------- /Administrator/Delete/DeleteQuestion.php: -------------------------------------------------------------------------------- 1 | delQuestions($Question_ID); 8 | } 9 | 10 | header('Location: ../Manage-Questions.php'); 11 | ?> 12 | 13 | -------------------------------------------------------------------------------- /Administrator/Delete/DeleteTeacher.php: -------------------------------------------------------------------------------- 1 | delTeachers($Teacher_ID); 9 | } 10 | 11 | header('Location: ../Manage-Teacher.php'); 12 | ?> 13 | 14 | -------------------------------------------------------------------------------- /Administrator/Dari/Actions/EnableUser.php: -------------------------------------------------------------------------------- 1 | 6 | enableUser($User_ID); 11 | } 12 | 13 | header('Location: ../Manage-Users.php'); 14 | ?> 15 | -------------------------------------------------------------------------------- /Administrator/Dari/Delete/DeleteQuestion.php: -------------------------------------------------------------------------------- 1 | delQuestions($Question_ID); 8 | } 9 | 10 | header('Location: ../Manage-Questions.php'); 11 | ?> 12 | 13 | -------------------------------------------------------------------------------- /Administrator/Dari/Delete/DeleteTeacher.php: -------------------------------------------------------------------------------- 1 | delTeachers($Teacher_ID); 9 | } 10 | 11 | header('Location: ../Manage-Teacher.php'); 12 | ?> 13 | 14 | -------------------------------------------------------------------------------- /Administrator/Pashto/Actions/EnableUser.php: -------------------------------------------------------------------------------- 1 | 6 | enableUser($User_ID); 11 | } 12 | 13 | header('Location: ../Manage-Users.php'); 14 | ?> 15 | -------------------------------------------------------------------------------- /Administrator/Dari/Actions/DisableUser.php: -------------------------------------------------------------------------------- 1 | 6 | disableUser($User_ID); 11 | } 12 | 13 | 14 | header('Location: ../Manage-Users.php'); 15 | ?> 16 | -------------------------------------------------------------------------------- /Administrator/Dari/Actions/EnableSubject.php: -------------------------------------------------------------------------------- 1 | 6 | enableSubject($Subject_ID); 11 | } 12 | 13 | header('Location: ../Manage-Subject.php'); 14 | ?> 15 | -------------------------------------------------------------------------------- /Administrator/Dari/Delete/DeleteFaculty.php: -------------------------------------------------------------------------------- 1 | 6 | delFaculty($Facutly_ID); 11 | } 12 | 13 | header('Location: ../Manage-Faculty.php'); 14 | ?> 15 | 16 | -------------------------------------------------------------------------------- /Assets/Ajax Search/disLike.php: -------------------------------------------------------------------------------- 1 | disLike($Like_ID); 11 | 12 | } 13 | ?> -------------------------------------------------------------------------------- /Administrator/Dari/Actions/StandardUser.php: -------------------------------------------------------------------------------- 1 | standardUser($User_ID); 8 | } 9 | else{ 10 | header('Location: ../Manage-Users.php'); 11 | } 12 | 13 | header('Location: ../Manage-Users.php'); 14 | ?> 15 | -------------------------------------------------------------------------------- /Administrator/Pashto/Actions/StandardUser.php: -------------------------------------------------------------------------------- 1 | standardUser($User_ID); 8 | } 9 | else{ 10 | header('Location: ../Manage-Users.php'); 11 | } 12 | 13 | header('Location: ../Manage-Users.php'); 14 | ?> 15 | -------------------------------------------------------------------------------- /updatePass.php: -------------------------------------------------------------------------------- 1 | updatePass($Password, $User_ID); 11 | } 12 | ?> -------------------------------------------------------------------------------- /Administrator/Ajax Search/addCategory.php: -------------------------------------------------------------------------------- 1 | addCategories($Category); 11 | 12 | } 13 | ?> -------------------------------------------------------------------------------- /Administrator/Pashto/Actions/addCategory.php: -------------------------------------------------------------------------------- 1 | addCategories($Category); 11 | 12 | } 13 | ?> -------------------------------------------------------------------------------- /Dari/updatePass.php: -------------------------------------------------------------------------------- 1 | updatePass($Password, $User_ID); 11 | } 12 | ?> -------------------------------------------------------------------------------- /Pashto/updatePass.php: -------------------------------------------------------------------------------- 1 | updatePass($Password, $User_ID); 11 | } 12 | ?> -------------------------------------------------------------------------------- /Assets/Ajax Search/getLogin.php: -------------------------------------------------------------------------------- 1 | userLogin($Email, $Password); 11 | } 12 | ?> -------------------------------------------------------------------------------- /Administrator/Dari/Actions/AdministratorUser.php: -------------------------------------------------------------------------------- 1 | 6 | adminUser($User_ID); 11 | } 12 | else{ 13 | header('Location: ../Manage-Users.php'); 14 | } 15 | 16 | header('Location: ../Manage-Users.php'); 17 | ?> 18 | -------------------------------------------------------------------------------- /Administrator/Pashto/Actions/AdministratorUser.php: -------------------------------------------------------------------------------- 1 | 6 | adminUser($User_ID); 11 | } 12 | else{ 13 | header('Location: ../Manage-Users.php'); 14 | } 15 | 16 | header('Location: ../Manage-Users.php'); 17 | ?> 18 | -------------------------------------------------------------------------------- /Assets/Ajax Search/addLike.php: -------------------------------------------------------------------------------- 1 | addLike($News_ID, $User_ID); 13 | 14 | } 15 | ?> -------------------------------------------------------------------------------- /Administrator/Actions/addCategory.php: -------------------------------------------------------------------------------- 1 | addCategory($Category, $Language); 11 | 12 | } 13 | ?> 14 | -------------------------------------------------------------------------------- /Administrator/Dari/Ajax Search/addFaculty.php: -------------------------------------------------------------------------------- 1 | addFaculty($Faculty, $Language); 11 | 12 | } 13 | ?> -------------------------------------------------------------------------------- /Administrator/Dari/Actions/DisableSubject.php: -------------------------------------------------------------------------------- 1 | 6 | disableSubject($Subject_ID); 11 | } 12 | //else{ 13 | // header('Location: ../Manage-Subject.php'); 14 | //} 15 | 16 | 17 | header('Location: ../Manage-Subject.php'); 18 | ?> 19 | -------------------------------------------------------------------------------- /Administrator/Ajax Search/editCategory.php: -------------------------------------------------------------------------------- 1 | updateCategory($Category_ID, $Category); 11 | 12 | } 13 | ?> -------------------------------------------------------------------------------- /Administrator/Pashto/Actions/editCategory.php: -------------------------------------------------------------------------------- 1 | editCategory($Category_ID, $Category); 12 | 13 | } 14 | ?> -------------------------------------------------------------------------------- /Assets/Ajax Search/addComment.php: -------------------------------------------------------------------------------- 1 | addComment($News_ID, $User_ID, $Comment); 13 | 14 | } 15 | ?> -------------------------------------------------------------------------------- /Administrator/Dari/Ajax Search/editFaculty.php: -------------------------------------------------------------------------------- 1 | updateFaculty($Faculty, $Language, $Faculty_ID); 12 | 13 | } 14 | ?> -------------------------------------------------------------------------------- /Administrator/Delete/DeleteNews.php: -------------------------------------------------------------------------------- 1 | $data) { 7 | $data2 = $_GET[$key] = base64_decode(urldecode($data)); 8 | $News_ID = ((($data2*999999)/9999)/123456789); 9 | } 10 | $data = $_GET['del']; 11 | 12 | $deleteNews = $exm->delNews($News_ID); 13 | 14 | } 15 | 16 | header('Location: ../Manage-News.php'); 17 | ?> 18 | 19 | 20 | -------------------------------------------------------------------------------- /Administrator/Delete/DeleteSubject.php: -------------------------------------------------------------------------------- 1 | $data) { 7 | $data2 = $_GET[$key] = base64_decode(urldecode($data)); 8 | $Subject_ID = ((($data2*999999)/9999)/123456789); 9 | } 10 | $data = $_GET['del']; 11 | 12 | $deleteSubject = $exm->delSubjects($Subject_ID); 13 | 14 | } 15 | 16 | header('Location: ../Manage-Subject.php'); 17 | ?> 18 | -------------------------------------------------------------------------------- /Administrator/Pashto/Delete/DeleteCategory.php: -------------------------------------------------------------------------------- 1 | delCategory($Category_ID); 11 | } 12 | 13 | header('Location: ../Manage-Category.php'); 14 | ?> 15 | 16 | -------------------------------------------------------------------------------- /Administrator/Ajax Search/addNews.php: -------------------------------------------------------------------------------- 1 | addNews($Heading, $Body, $Source, $Category_ID); 14 | 15 | } 16 | ?> -------------------------------------------------------------------------------- /Administrator/Dari/Delete/DeleteSubject.php: -------------------------------------------------------------------------------- 1 | 6 | delSubjects($Subject_ID); 11 | if($deleteSubject){ 12 | $msg = "Subject has deleted Successfully"; 13 | } 14 | else{ 15 | $error = "Subject Not Deleted!"; 16 | } 17 | } 18 | 19 | header('Location: ../Manage-Subject.php'); 20 | ?> 21 | -------------------------------------------------------------------------------- /Administrator/Delete/DeleteCategory.php: -------------------------------------------------------------------------------- 1 | 2 | $data) { 8 | $data2 = $_GET[$key] = base64_decode(urldecode($data)); 9 | $Category_ID = ((($data2*999999)/9999)/123456789); 10 | } 11 | $data = $_GET['del']; 12 | 13 | $deleteCategory = $exm->delCategory($Category_ID); 14 | 15 | } 16 | 17 | header('Location: ../Manage-Category.php'); 18 | ?> 19 | -------------------------------------------------------------------------------- /Administrator/Pashto/Delete/DeleteComment.php: -------------------------------------------------------------------------------- 1 | 6 | delComment($Comment_ID); 11 | if($deleteComment){ 12 | $msg = "Comment has deleted Successfully"; 13 | } 14 | else{ 15 | $error = "Comment Not Deleted!"; 16 | } 17 | } 18 | 19 | //header('Location: ../Manage-Subject.php'); 20 | ?> 21 | -------------------------------------------------------------------------------- /Administrator/Pashto/Actions/addNews.php: -------------------------------------------------------------------------------- 1 | addNews($Heading, $Body, $Source, $Category_ID); 15 | 16 | } 17 | ?> -------------------------------------------------------------------------------- /Administrator/Delete/DeleteResult.php: -------------------------------------------------------------------------------- 1 | delQuizResult($Result_ID); 8 | } 9 | if(isset($_GET['id'])){ 10 | $User_ID = $_GET['id']; 11 | $QuizResult = $exm->getQuizResultByID($User_ID); 12 | $row = $QuizResult->fetch_assoc(); 13 | 14 | } 15 | 16 | $Result = $row['User_ID']; 17 | header('Location: ../Quiz-Result.php?id='.$Result); 18 | ?> 19 | 20 | -------------------------------------------------------------------------------- /Administrator/Dari/Delete/DeleteResult.php: -------------------------------------------------------------------------------- 1 | delQuizResult($Result_ID); 8 | } 9 | if(isset($_GET['id'])){ 10 | $User_ID = $_GET['id']; 11 | $QuizResult = $exm->getQuizResultByID($User_ID); 12 | $row = $QuizResult->fetch_assoc(); 13 | 14 | } 15 | 16 | $Result = $row['User_ID']; 17 | header('Location: ../Quiz-Result.php?id='.$Result); 18 | ?> 19 | 20 | -------------------------------------------------------------------------------- /Administrator/Ajax Search/editNews.php: -------------------------------------------------------------------------------- 1 | updateNews($News_ID, $Heading, $Body, $Source, $Category_ID); 14 | } 15 | ?> 16 | -------------------------------------------------------------------------------- /Assets/js/faPrint.js: -------------------------------------------------------------------------------- 1 | module.exports = { prefix: 'fas', iconName: 'print', icon: [512, 512, [], "f02f", "M464 192h-16V81.941a24 24 0 0 0-7.029-16.97L383.029 7.029A24 24 0 0 0 366.059 0H88C74.745 0 64 10.745 64 24v168H48c-26.51 0-48 21.49-48 48v132c0 6.627 5.373 12 12 12h52v104c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24V384h52c6.627 0 12-5.373 12-12V240c0-26.51-21.49-48-48-48zm-80 256H128v-96h256v96zM128 224V64h192v40c0 13.2 10.8 24 24 24h40v96H128zm304 72c-13.254 0-24-10.746-24-24s10.746-24 24-24 24 10.746 24 24-10.746 24-24 24z"] }; -------------------------------------------------------------------------------- /Administrator/Pashto/Actions/editNews.php: -------------------------------------------------------------------------------- 1 | editNews($News_ID, $Heading, $Body, $Source, $Category_ID); 15 | 16 | } 17 | ?> -------------------------------------------------------------------------------- /Assets/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /Administrator/Dari/Ajax Search/addTeacher.php: -------------------------------------------------------------------------------- 1 | addTeachers($Teacher_Name, $Email, $Language, $Gender, $Mobile_No, $Time); 15 | 16 | } 17 | ?> -------------------------------------------------------------------------------- /Assets/Ajax Search/getSignup.php: -------------------------------------------------------------------------------- 1 | userRegistration($Full_Name, $Username, $Password, $Email, $Gender, $Phone_No, $image); 16 | } 17 | ?> -------------------------------------------------------------------------------- /Administrator/Actions/editTeachers.php: -------------------------------------------------------------------------------- 1 | updateTeachers($Teacher_Name, $Language, $Email, $Gender, $Mobile_No, $Time, $Teacher_ID); 16 | } 17 | 18 | ?> -------------------------------------------------------------------------------- /Administrator/Ajax Search/addSubject.php: -------------------------------------------------------------------------------- 1 | addSubjects($Subject, $Language, $Credit_Hours, $Teacher_ID, $Faculty_ID, $Time, $Status); 15 | 16 | } 17 | ?> -------------------------------------------------------------------------------- /Administrator/Dari/Ajax Search/addSubject.php: -------------------------------------------------------------------------------- 1 | addSubjects($Subject, $Language, $Credit_Hours, $Teacher_ID, $Faculty_ID, $Time, $Status); 15 | 16 | } 17 | ?> -------------------------------------------------------------------------------- /Administrator/Dari/Ajax Search/editTeachers.php: -------------------------------------------------------------------------------- 1 | updateTeachers($Teacher_Name, $Language, $Email, $Gender, $Mobile_No, $Time, $Teacher_ID); 16 | 17 | } 18 | ?> -------------------------------------------------------------------------------- /Administrator/Dari/Ajax Search/editSubjects.php: -------------------------------------------------------------------------------- 1 | updateSubjects($Subject, $Language, $Credit_Hours, $Teacher, $Faculty, $Time, $Status, $Subject_ID); 17 | 18 | } 19 | ?> -------------------------------------------------------------------------------- /Administrator/Dari/Ajax Search/addQuestions.php: -------------------------------------------------------------------------------- 1 | addQuestions($Question, $Answer0, $Answer1, $Answer2, $Answer3, $Language, $Right_Answer, $Subject_ID); 18 | 19 | } 20 | ?> -------------------------------------------------------------------------------- /About-us.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 |
7 |
8 |
9 |
10 |
11 |

Here you can find information about BBC NEW

12 |
13 | 14 |
15 |

BBC News is located in England London City. and is one of the most famous 16 | broadcasting channel. which is broadcasting news to more than 100 countries by 17 | 50 language from 6 AM to 6 PM. 18 |

19 |
20 |
21 | 22 |
23 |
24 |
25 |
26 | 27 | -------------------------------------------------------------------------------- /Administrator/Dari/Ajax Search/editQuestions.php: -------------------------------------------------------------------------------- 1 | updateQuestions($Question, $Answer0, $Answer1, $Answer2, $Answer3, $Language, $Right_Answer, $Subject_ID, $Status, $Question_ID); 19 | 20 | } 21 | ?> -------------------------------------------------------------------------------- /Administrator/Pashto/Actions/addResult.php: -------------------------------------------------------------------------------- 1 | addResults($TotalNumberOfQuestion, $Username, $Teacher, $Subject, $Credit_Hours, $Attempted_Answer, $Correct_Answer, $Wrong_Answer, $No_Answer, $Result); 20 | 21 | } 22 | 23 | ?> -------------------------------------------------------------------------------- /Administrator/Dari/Ajax Search/addResult.php: -------------------------------------------------------------------------------- 1 | addResults($TotalNumberOfQuestion, $Username, $Teacher, $Subject, $Credit_Hours, $Attempted_Answer, $Correct_Answer, $Wrong_Answer, $No_Answer, $Result); 20 | 21 | } 22 | 23 | ?> -------------------------------------------------------------------------------- /_Partial Components/Format.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Assets/_Partial Components/Format.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Pashto/_Partial Components/Format.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Administrator/Dari/_Partial Components/Format.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Administrator/Pashto/_Partial Components/Format.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Administrator/_Partial Components/Format.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Administrator/js/AjaxSearch.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | $('#SearchCategory').keyup(function(){ 3 | var txtCategory = $(this).val(); 4 | $.ajax({ 5 | url:"Ajax Search/fetch-Category.php", 6 | type:"POST", 7 | data:{search:txtCategory}, 8 | dataType:"text", 9 | success:function(data){ 10 | $('#resultCategory').html(data); 11 | } 12 | }); 13 | }); 14 | 15 | $('#searchNews').keyup(function(){ 16 | var txtNews = $(this).val(); 17 | $.ajax({ 18 | url:"Ajax Search/fetch-News.php", 19 | type:"POST", 20 | data:{search:txtNews}, 21 | dataType:"text", 22 | success:function(data){ 23 | $('#resultNews').html(data); 24 | } 25 | }); 26 | }); 27 | 28 | $('#searchUser').keyup(function(){ 29 | var txtUsers = $(this).val(); 30 | $.ajax({ 31 | url:"Actions/fetch-Users.php", 32 | type:"POST", 33 | data:{search:txtUsers}, 34 | dataType:"text", 35 | success:function(data){ 36 | $('#resultUsers').html(data); 37 | } 38 | }); 39 | }); 40 | 41 | 42 | }); 43 | 44 | -------------------------------------------------------------------------------- /Assets/js/AjaxSearch.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | $('#searchUser').keyup(function(){ 3 | var txtUser = $(this).val(); 4 | $.ajax({ 5 | url:"Ajax Search/fetch-user.php", 6 | type:"POST", 7 | data:{search:txtUser}, 8 | dataType:"text", 9 | success:function(data){ 10 | $('#resultUser').html(data); 11 | } 12 | }); 13 | }); 14 | 15 | $('#searchTeacher').keyup(function(){ 16 | var txtTeacher = $(this).val(); 17 | $.ajax({ 18 | url:"Ajax Search/fetch-teacher.php", 19 | type:"POST", 20 | data:{search:txtTeacher}, 21 | dataType:"text", 22 | success:function(data){ 23 | $('#resultTeacher').html(data); 24 | } 25 | }); 26 | }); 27 | 28 | $('#searchQuizResult').keyup(function(){ 29 | var txtQuizResult = $(this).val(); 30 | $.ajax({ 31 | url:"Ajax Search/fetch-QuizResult.php", 32 | type:"POST", 33 | data:{search:txtQuizResult}, 34 | dataType:"text", 35 | success:function(data){ 36 | $('#QuizResult').html(data); 37 | } 38 | }); 39 | }); 40 | }); 41 | 42 | -------------------------------------------------------------------------------- /Administrator/Pashto/js/AjaxSearch.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | $('#SearchCategory').keyup(function(){ 3 | var txtCategory = $(this).val(); 4 | $.ajax({ 5 | url:"Ajax Search/fetch-Category.php", 6 | type:"POST", 7 | data:{search:txtCategory}, 8 | dataType:"text", 9 | success:function(data){ 10 | $('#resultCategory').html(data); 11 | } 12 | }); 13 | }); 14 | 15 | $('#searchNews').keyup(function(){ 16 | var txtNews = $(this).val(); 17 | $.ajax({ 18 | url:"Ajax Search/fetch-News.php", 19 | type:"POST", 20 | data:{search:txtNews}, 21 | dataType:"text", 22 | success:function(data){ 23 | $('#resultNews').html(data); 24 | } 25 | }); 26 | }); 27 | 28 | $('#searchUser').keyup(function(){ 29 | var txtUsers = $(this).val(); 30 | $.ajax({ 31 | url:"Actions/fetch-Users.php", 32 | type:"POST", 33 | data:{search:txtUsers}, 34 | dataType:"text", 35 | success:function(data){ 36 | $('#resultUsers').html(data); 37 | } 38 | }); 39 | }); 40 | 41 | 42 | }); 43 | 44 | -------------------------------------------------------------------------------- /Pashto/News.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 |
7 |
8 |
9 |
10 |
11 |

پښتو ژبه د اتریش په درسی نصاب کی

12 |
13 |
14 |

پښتو ژبه د اتریش په درسی نصاب کی د یو مضمون په توګه شامله ده. په پلازمینه ویانا کي نو شمیر افغان ماشومان په ښونځیو کي د نورو مضامینو تر څنګ پښتو ژبه هم د یو مضمون په توګه لولي. 15 |

16 |
17 |
18 | یو ساعت مخکی 19 |
20 |
21 | 22 |
23 | 24 |
25 |
26 | 27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 | 36 | -------------------------------------------------------------------------------- /Pashto/index.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 |
7 |
8 |
9 |
10 |
11 |

پښتو ژبه د اتریش په درسی نصاب کی

12 |
13 |
14 |

پښتو ژبه د اتریش په درسی نصاب کی د یو مضمون په توګه شامله ده. په پلازمینه ویانا کي نو شمیر افغان ماشومان په ښونځیو کي د نورو مضامینو تر څنګ پښتو ژبه هم د یو مضمون په توګه لولي. 15 |

16 |
17 |
18 | یو ساعت مخکی 19 |
20 |
21 | 22 |
23 | 24 |
25 |
26 | 27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 | 36 | -------------------------------------------------------------------------------- /Administrator/Dari/_Partial Components/Footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Administrator/_Partial Components/Footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Administrator/Pashto/Ajax Search/fetch-Category.php: -------------------------------------------------------------------------------- 1 | 0){ 14 | 15 | $output .= '
16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | '; 25 | 26 | while($row = mysqli_fetch_array($result)){ 27 | 28 | $output .=' 29 | 30 | 31 | 32 | 33 | 34 | 35 | '; 36 | } 37 | 38 | $output .='
ID Category Edit Delete
' .$row["Category_ID"]. '' .$row["Category"]. ' view Result Delete
'; 39 | $output .='
'; 40 | echo $output; 41 | } 42 | else{ 43 | echo ''; 44 | } 45 | 46 | ?> -------------------------------------------------------------------------------- /Administrator/Ajax Search/fetch-Category.php: -------------------------------------------------------------------------------- 1 | 0){ 14 | 15 | $output .= '
16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | '; 25 | while($row = mysqli_fetch_array($result)){ 26 | 27 | $output .=' 28 | 29 | 30 | 31 | 32 | 33 | 34 | '; 35 | } 36 | 37 | $output .='
ID Category Edit Delete
' .$row["Category_ID"]. '' .$row["Category"]. ' view Result Delete
'; 38 | $output .='
'; 39 | echo $output; 40 | } 41 | else{ 42 | echo ''; 43 | } 44 | 45 | ?> -------------------------------------------------------------------------------- /Administrator/Pashto/_Partial Components/Footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Privacy.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 |
7 |
8 |
9 |
10 |
11 |

Manhatan Breaches Security

12 |
13 | 14 |
15 |

This is to say that British Military 16 | is to use Nuclear weapons for their 17 | good security 18 | This is to say that British Military 19 | is to use Nuclear weapons for their 20 | good security 21 |

22 |
23 |
24 | Time Left: 25 |
26 |
27 | 28 |
29 | 30 |
31 |
32 | 33 | 34 |
35 |
36 |
37 |
38 |
39 |
Same as you
40 |
Same as you
41 |
42 |
43 | 44 |
45 | 46 | -------------------------------------------------------------------------------- /Assets/_Partial Components/Database.php: -------------------------------------------------------------------------------- 1 | connectDB(); 14 | } 15 | 16 | private function connectDB(){ 17 | $this->link = new mysqli($this->host, $this->user, $this->pass, $this->db); 18 | if(!$this->link){ 19 | $this->error ="Connection fail".$this->link->connect_error; 20 | return false; 21 | } 22 | } 23 | 24 | // Select or Read data 25 | public function select($query){ 26 | $result = $this->link->query($query) or 27 | die($this->link->error.__LINE__); 28 | if($result->num_rows > 0){ 29 | return $result; 30 | } else { 31 | return false; 32 | } 33 | } 34 | 35 | // Insert data 36 | public function insert($query){ 37 | $insert_row = $this->link->query($query) or 38 | die($this->link->error.__LINE__); 39 | if($insert_row){ 40 | return $insert_row; 41 | } else { 42 | return false; 43 | } 44 | } 45 | 46 | // Update data 47 | public function update($query){ 48 | $update_row = $this->link->query($query) or 49 | die($this->link->error.__LINE__); 50 | if($update_row){ 51 | return $update_row; 52 | } else { 53 | return false; 54 | } 55 | } 56 | 57 | // Delete data 58 | public function delete($query){ 59 | $delete_row = $this->link->query($query) or 60 | die($this->link->error.__LINE__); 61 | if($delete_row){ 62 | return $delete_row; 63 | } else { 64 | return false; 65 | } 66 | } 67 | 68 | } -------------------------------------------------------------------------------- /_Partial Components/Database.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | connectDB(); 16 | } 17 | 18 | private function connectDB(){ 19 | $this->link = new mysqli($this->host, $this->user, $this->pass, $this->db); 20 | if(!$this->link){ 21 | $this->error ="Connection fail".$this->link->connect_error; 22 | return false; 23 | } 24 | } 25 | 26 | // Select or Read data 27 | public function select($query){ 28 | $result = $this->link->query($query) or 29 | die($this->link->error.__LINE__); 30 | if($result->num_rows > 0){ 31 | return $result; 32 | } else { 33 | return false; 34 | } 35 | } 36 | 37 | // Insert data 38 | public function insert($query){ 39 | $insert_row = $this->link->query($query) or 40 | die($this->link->error.__LINE__); 41 | if($insert_row){ 42 | return $insert_row; 43 | } else { 44 | return false; 45 | } 46 | } 47 | 48 | // Update data 49 | public function update($query){ 50 | $update_row = $this->link->query($query) or 51 | die($this->link->error.__LINE__); 52 | if($update_row){ 53 | return $update_row; 54 | } else { 55 | return false; 56 | } 57 | } 58 | 59 | // Delete data 60 | public function delete($query){ 61 | $delete_row = $this->link->query($query) or 62 | die($this->link->error.__LINE__); 63 | if($delete_row){ 64 | return $delete_row; 65 | } else { 66 | return false; 67 | } 68 | } 69 | 70 | } -------------------------------------------------------------------------------- /Pashto/_Partial Components/Database.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | connectDB(); 16 | } 17 | 18 | private function connectDB(){ 19 | $this->link = new mysqli($this->host, $this->user, $this->pass, $this->db); 20 | if(!$this->link){ 21 | $this->error ="Connection fail".$this->link->connect_error; 22 | return false; 23 | } 24 | } 25 | 26 | // Select or Read data 27 | public function select($query){ 28 | $result = $this->link->query($query) or 29 | die($this->link->error.__LINE__); 30 | if($result->num_rows > 0){ 31 | return $result; 32 | } else { 33 | return false; 34 | } 35 | } 36 | 37 | // Insert data 38 | public function insert($query){ 39 | $insert_row = $this->link->query($query) or 40 | die($this->link->error.__LINE__); 41 | if($insert_row){ 42 | return $insert_row; 43 | } else { 44 | return false; 45 | } 46 | } 47 | 48 | // Update data 49 | public function update($query){ 50 | $update_row = $this->link->query($query) or 51 | die($this->link->error.__LINE__); 52 | if($update_row){ 53 | return $update_row; 54 | } else { 55 | return false; 56 | } 57 | } 58 | 59 | // Delete data 60 | public function delete($query){ 61 | $delete_row = $this->link->query($query) or 62 | die($this->link->error.__LINE__); 63 | if($delete_row){ 64 | return $delete_row; 65 | } else { 66 | return false; 67 | } 68 | } 69 | 70 | } -------------------------------------------------------------------------------- /Administrator/_Partial Components/Database.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | connectDB(); 15 | } 16 | 17 | private function connectDB(){ 18 | $this->link = new mysqli($this->host, $this->user, $this->pass, $this->db); 19 | if(!$this->link){ 20 | $this->error ="Connection fail".$this->link->connect_error; 21 | return false; 22 | } 23 | } 24 | 25 | // Select or Read data 26 | public function select($query){ 27 | $result = $this->link->query($query) or 28 | die($this->link->error.__LINE__); 29 | if($result->num_rows > 0){ 30 | return $result; 31 | } else { 32 | return false; 33 | } 34 | } 35 | 36 | // Insert data 37 | public function insert($query){ 38 | $insert_row = $this->link->query($query) or 39 | die($this->link->error.__LINE__); 40 | if($insert_row){ 41 | return $insert_row; 42 | } else { 43 | return false; 44 | } 45 | } 46 | 47 | // Update data 48 | public function update($query){ 49 | $update_row = $this->link->query($query) or 50 | die($this->link->error.__LINE__); 51 | if($update_row){ 52 | return $update_row; 53 | } else { 54 | return false; 55 | } 56 | } 57 | 58 | // Delete data 59 | public function delete($query){ 60 | $delete_row = $this->link->query($query) or 61 | die($this->link->error.__LINE__); 62 | if($delete_row){ 63 | return $delete_row; 64 | } else { 65 | return false; 66 | } 67 | } 68 | 69 | } -------------------------------------------------------------------------------- /Administrator/Dari/_Partial Components/Database.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | connectDB(); 16 | } 17 | 18 | private function connectDB(){ 19 | $this->link = new mysqli($this->host, $this->user, $this->pass, $this->db); 20 | if(!$this->link){ 21 | $this->error ="Connection fail".$this->link->connect_error; 22 | return false; 23 | } 24 | } 25 | 26 | // Select or Read data 27 | public function select($query){ 28 | $result = $this->link->query($query) or 29 | die($this->link->error.__LINE__); 30 | if($result->num_rows > 0){ 31 | return $result; 32 | } else { 33 | return false; 34 | } 35 | } 36 | 37 | // Insert data 38 | public function insert($query){ 39 | $insert_row = $this->link->query($query) or 40 | die($this->link->error.__LINE__); 41 | if($insert_row){ 42 | return $insert_row; 43 | } else { 44 | return false; 45 | } 46 | } 47 | 48 | // Update data 49 | public function update($query){ 50 | $update_row = $this->link->query($query) or 51 | die($this->link->error.__LINE__); 52 | if($update_row){ 53 | return $update_row; 54 | } else { 55 | return false; 56 | } 57 | } 58 | 59 | // Delete data 60 | public function delete($query){ 61 | $delete_row = $this->link->query($query) or 62 | die($this->link->error.__LINE__); 63 | if($delete_row){ 64 | return $delete_row; 65 | } else { 66 | return false; 67 | } 68 | } 69 | 70 | } -------------------------------------------------------------------------------- /Administrator/Pashto/_Partial Components/Database.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | connectDB(); 16 | } 17 | 18 | private function connectDB(){ 19 | $this->link = new mysqli($this->host, $this->user, $this->pass, $this->db); 20 | if(!$this->link){ 21 | $this->error ="Connection fail".$this->link->connect_error; 22 | return false; 23 | } 24 | } 25 | 26 | // Select or Read data 27 | public function select($query){ 28 | $result = $this->link->query($query) or 29 | die($this->link->error.__LINE__); 30 | if($result->num_rows > 0){ 31 | return $result; 32 | } else { 33 | return false; 34 | } 35 | } 36 | 37 | // Insert data 38 | public function insert($query){ 39 | $insert_row = $this->link->query($query) or 40 | die($this->link->error.__LINE__); 41 | if($insert_row){ 42 | return $insert_row; 43 | } else { 44 | return false; 45 | } 46 | } 47 | 48 | // Update data 49 | public function update($query){ 50 | $update_row = $this->link->query($query) or 51 | die($this->link->error.__LINE__); 52 | if($update_row){ 53 | return $update_row; 54 | } else { 55 | return false; 56 | } 57 | } 58 | 59 | // Delete data 60 | public function delete($query){ 61 | $delete_row = $this->link->query($query) or 62 | die($this->link->error.__LINE__); 63 | if($delete_row){ 64 | return $delete_row; 65 | } else { 66 | return false; 67 | } 68 | } 69 | 70 | } -------------------------------------------------------------------------------- /Pashto/About-us.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 |
7 |
8 |
9 |

د بی بی سی په اړه

10 |
11 |
12 |

پښتو ژبه د اتریش په درسی نصاب کی د یو مضمون په توګه شامله ده. په پلازمینه ویانا کي نو شمیر افغان ماشومان په ښونځیو کي د نورو مضامینو تر څنګ پښتو ژبه هم د یو مضمون په توګه لولي. 13 | پښتو ژبه د اتریش په درسی نصاب کی د یو مضمون په توګه شامله ده. په پلازمینه ویانا کي نو شمیر افغان ماشومان په ښونځیو کي د نورو مضامینو تر څنګ پښتو ژبه هم د یو مضمون په توګه لولي. 14 | پښتو ژبه د اتریش په درسی نصاب کی د یو مضمون په توګه شامله ده. په پلازمینه ویانا کي نو شمیر افغان ماشومان په ښونځیو کي د نورو مضامینو تر څنګ پښتو ژبه هم د یو مضمون په توګه لولي. 15 | پښتو ژبه د اتریش په درسی نصاب کی د یو مضمون په توګه شامله ده. په پلازمینه ویانا کي نو شمیر افغان ماشومان په ښونځیو کي د نورو مضامینو تر څنګ پښتو ژبه هم د یو مضمون په توګه لولي. 16 | پښتو ژبه د اتریش په درسی نصاب کی د یو مضمون په توګه شامله ده. په پلازمینه ویانا کي نو شمیر افغان ماشومان په ښونځیو کي د نورو مضامینو تر څنګ پښتو ژبه هم د یو مضمون په توګه لولي. 17 | پښتو ژبه د اتریش په درسی نصاب کی د یو مضمون په توګه شامله ده. په پلازمینه ویانا کي نو شمیر افغان ماشومان په ښونځیو کي د نورو مضامینو تر څنګ پښتو ژبه هم د یو مضمون په توګه لولي. 18 | پښتو ژبه د اتریش په درسی نصاب کی د یو مضمون په توګه شامله ده. په پلازمینه ویانا کي نو شمیر افغان ماشومان په ښونځیو کي د نورو مضامینو تر څنګ پښتو ژبه هم د یو مضمون په توګه لولي. 19 |

20 |
21 |
22 |
23 |
24 | 25 | -------------------------------------------------------------------------------- /Administrator/Dari/Ajax Search/fetch-mail.php: -------------------------------------------------------------------------------- 1 | 0){ 16 | 17 | $output .= '
18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | '; 30 | 31 | while($row = mysqli_fetch_array($result)){ 32 | 33 | $output .=' 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | '; 44 | } 45 | 46 | $output .='
ID Full_Name Email Phone No Date View Mail Delete
' .$row["User_ID"]. '' .$row["Full_Name"]. '' .$row["Email"]. '' .$row["Phone_No"]. '' .$row["Date"]. ' view Mail Delete
'; 47 | $output .='
'; 48 | echo $output; 49 | } 50 | else{ 51 | echo ''; 52 | } 53 | 54 | ?> -------------------------------------------------------------------------------- /Administrator/Pashto/Ajax Search/fetch-mail.php: -------------------------------------------------------------------------------- 1 | 0){ 16 | 17 | $output .= '
18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | '; 30 | 31 | while($row = mysqli_fetch_array($result)){ 32 | 33 | $output .=' 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | '; 44 | } 45 | 46 | $output .='
ID Full_Name Email Phone No Date View Mail Delete
' .$row["User_ID"]. '' .$row["Full_Name"]. '' .$row["Email"]. '' .$row["Phone_No"]. '' .$row["Date"]. ' view Mail Delete
'; 47 | $output .='
'; 48 | echo $output; 49 | } 50 | else{ 51 | echo ''; 52 | } 53 | 54 | ?> -------------------------------------------------------------------------------- /Assets/js/tests/visual/alert.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Alert 8 | 9 | 10 | 11 | 12 | 16 | 17 | 18 | 19 |
20 | 21 | 24 | 25 |
26 | 27 | Holy guacamole! Best check yo self, you're not looking too good. 28 |
29 | 30 |
31 | 32 |

Oh snap! You got an error!

33 |

Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.

34 |

35 | 36 | 37 |

38 |
39 | 40 |
41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /Administrator/Pashto/About-Us.php: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 |
7 |
8 | 15 | 37 |
38 |
39 | 40 | -------------------------------------------------------------------------------- /Administrator/Pashto/Ajax Search/fetch-News.php: -------------------------------------------------------------------------------- 1 | 0){ 16 | 17 | $output .= '
18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | '; 31 | 32 | while($row = mysqli_fetch_array($result)){ 33 | 34 | $output .=' 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | '; 45 | } 46 | $output .='
ID Heading Source Date Category Visits Edit Delete
' .$row["News_ID"]. '' .$row["Heading"]. '' .$row["Source"]. '' .$row["Date"]. '' .$row["Category"]. '' .$row["Visits"]. ' Edit Delete
'; 47 | $output .='
'; 48 | echo $output; 49 | 50 | } 51 | else{ 52 | echo ''; 53 | } 54 | 55 | ?> -------------------------------------------------------------------------------- /Administrator/Ajax Search/fetch-News.php: -------------------------------------------------------------------------------- 1 | 0){ 16 | 17 | $output .= '
18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | '; 31 | 32 | while($row = mysqli_fetch_array($result)){ 33 | 34 | $output .=' 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | '; 45 | } 46 | $output .='
ID Heading Source Date Category Visits Edit Delete
' .$row["News_ID"]. '' .$row["Heading"]. '' .$row["Source"]. '' .$row["Date"]. '' .$row["Category"]. '' .$row["Visits"]. ' Edit Delete
'; 47 | $output .='
'; 48 | echo $output; 49 | 50 | } 51 | else{ 52 | echo ''; 53 | } 54 | 55 | ?> -------------------------------------------------------------------------------- /Assets/Ajax Search/fetch-news.php: -------------------------------------------------------------------------------- 1 | 0){ 15 | 16 | 17 | while($row = mysqli_fetch_array($result)){ 18 | $news_img = $row["File"]; 19 | 20 | $output .='
21 | 22 | 23 | 24 |
25 |
26 | 27 | 28 |
29 |

' .$row["Heading"]. '

30 |
31 |
32 | 33 | 43 | 44 |
45 |  46 |
47 |
48 | 49 | 50 |
51 | 52 | '; 53 | 54 | } 55 | 56 | $output .=''; 57 | $output .=''; 58 | echo $output; 59 | } 60 | else{ 61 | echo ''; 62 | } 63 | 64 | ?> -------------------------------------------------------------------------------- /Administrator/Dari/Ajax Search/fetch-teacher.php: -------------------------------------------------------------------------------- 1 | 0){ 17 | 18 | $output .= '
19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | '; 32 | 33 | while($row = mysqli_fetch_array($result)){ 34 | 35 | $output .=' 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | '; 46 | } 47 | $output .='
ID Teacher Email Gender Mobile No Time Edit Delete
' .$row["Teacher_ID"]. '' .$row["Teacher_Name"]. '' .$row["Email"]. '' .$row["Gender"]. '' .$row["Mobile_No"]. '' .$row["Time"]. ' Edit Delete
'; 48 | $output .='
'; 49 | echo $output; 50 | 51 | } 52 | else{ 53 | echo ''; 54 | } 55 | 56 | ?> -------------------------------------------------------------------------------- /Assets/js/transition.js: -------------------------------------------------------------------------------- 1 | /* ======================================================================== 2 | * Bootstrap: transition.js v3.3.7 3 | * http://getbootstrap.com/javascript/#transitions 4 | * ======================================================================== 5 | * Copyright 2011-2016 Twitter, Inc. 6 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 7 | * ======================================================================== */ 8 | 9 | 10 | +function ($) { 11 | 'use strict'; 12 | 13 | // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/) 14 | // ============================================================ 15 | 16 | function transitionEnd() { 17 | var el = document.createElement('bootstrap') 18 | 19 | var transEndEventNames = { 20 | WebkitTransition : 'webkitTransitionEnd', 21 | MozTransition : 'transitionend', 22 | OTransition : 'oTransitionEnd otransitionend', 23 | transition : 'transitionend' 24 | } 25 | 26 | for (var name in transEndEventNames) { 27 | if (el.style[name] !== undefined) { 28 | return { end: transEndEventNames[name] } 29 | } 30 | } 31 | 32 | return false // explicit for ie8 ( ._.) 33 | } 34 | 35 | // http://blog.alexmaccaw.com/css-transitions 36 | $.fn.emulateTransitionEnd = function (duration) { 37 | var called = false 38 | var $el = this 39 | $(this).one('bsTransitionEnd', function () { called = true }) 40 | var callback = function () { if (!called) $($el).trigger($.support.transition.end) } 41 | setTimeout(callback, duration) 42 | return this 43 | } 44 | 45 | $(function () { 46 | $.support.transition = transitionEnd() 47 | 48 | if (!$.support.transition) return 49 | 50 | $.event.special.bsTransitionEnd = { 51 | bindType: $.support.transition.end, 52 | delegateType: $.support.transition.end, 53 | handle: function (e) { 54 | if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments) 55 | } 56 | } 57 | }) 58 | 59 | }(jQuery); 60 | -------------------------------------------------------------------------------- /Administrator/Dari/About-Us.php: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 |
7 |
8 | 15 | 38 |
39 |
40 | 41 | -------------------------------------------------------------------------------- /Pashto/Term.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 |
7 |
8 |
9 |
10 |
11 |

پښتو ژبه د اتریش په درسی نصاب کی

12 |
13 |
14 |

پښتو ژبه د اتریش په درسی نصاب کی د یو مضمون په توګه شامله ده. په پلازمینه ویانا کي نو شمیر افغان ماشومان په ښونځیو کي د نورو مضامینو تر څنګ پښتو ژبه هم د یو مضمون په توګه لولي. 15 |

16 |
17 |
18 | یو ساعت مخکی 19 |
20 |
21 | 22 |
23 | 24 |
25 |
26 | 27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 | w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w 35 | 36 |

This is Nasratullah Shafiq's home work for this day that he 37 | to know about himself and this is not enogh for today. maybe she 38 | will not to keep f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f ff f f f ff fff f f f f f f f f f f f f f f fff f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f ff f f f f f f f f ff f f f f f f f f f ff f f f f f f f f f ff f f f f f f f f f f ff ff f f f f f ff going it This is Nasratullah Shafiq's home work for this day that he 39 | to know about himself and this is not enogh for today.

40 | 41 |
42 | 43 | -------------------------------------------------------------------------------- /Pashto/Contact-us.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 |
7 |
8 |
9 |
10 |
11 |

پښتو ژبه د اتریش په درسی نصاب کی

12 |
13 |
14 |

پښتو ژبه د اتریش په درسی نصاب کی د یو مضمون په توګه شامله ده. په پلازمینه ویانا کي نو شمیر افغان ماشومان په ښونځیو کي د نورو مضامینو تر څنګ پښتو ژبه هم د یو مضمون په توګه لولي. 15 |

16 |
17 |
18 | یو ساعت مخکی 19 |
20 |
21 | 22 |
23 | 24 |
25 |
26 | 27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 | w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w 35 | 36 |

This is Nasratullah Shafiq's home work for this day that he 37 | to know about himself and this is not enogh for today. maybe she 38 | will not to keep f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f ff f f f ff fff f f f f f f f f f f f f f f fff f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f ff f f f f f f f f ff f f f f f f f f f ff f f f f f f f f f ff f f f f f f f f f f ff ff f f f f f ff going it This is Nasratullah Shafiq's home work for this day that he 39 | to know about himself and this is not enogh for today.

40 | 41 |
42 | 43 | -------------------------------------------------------------------------------- /Pashto/_Partial Components/Footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 55 | 56 | -------------------------------------------------------------------------------- /Administrator/About.php: -------------------------------------------------------------------------------- 1 | 2 | 7 |
8 |
9 | 16 | 43 |
44 |
45 | 46 | -------------------------------------------------------------------------------- /Administrator/Add-Category.php: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 |
9 |
10 | 17 | 18 | 50 |
51 |
52 | 53 | -------------------------------------------------------------------------------- /Administrator/Pashto/_Partial Components/Navigation.php: -------------------------------------------------------------------------------- 1 | 2 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /Dari/index.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 |
7 |
8 |
9 |
10 |
11 |

Manhatan Breaches Security

12 |
13 |
14 |

This is to say that British Military 15 | is to use Nuclear weapons for their 16 | good security 17 | This is to say that British Military 18 | is to use Nuclear weapons for their 19 | good security 20 |

21 |
22 |
23 | Time Left: 24 |
25 |
26 | 27 |
28 | 29 |
30 |
31 | 32 |
33 |
34 |
35 |
36 |
37 |
Same as you
38 |
Same as you
39 |
40 |
41 | w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w 42 | 43 |

This is Nasratullah Shafiq's home work for this day that he 44 | to know about himself and this is not enogh for today. maybe she 45 | will not to keep f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f ff f f f ff fff f f f f f f f f f f f f f f fff f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f ff f f f f f f f f ff f f f f f f f f f ff f f f f f f f f f ff f f f f f f f f f f ff ff f f f f f ff going it This is Nasratullah Shafiq's home work for this day that he 46 | to know about himself and this is not enogh for today.

47 | 48 |
49 | 50 | -------------------------------------------------------------------------------- /Administrator/Dari/Ajax Search/fetch-QuizResult.php: -------------------------------------------------------------------------------- 1 | 0){ 17 | 18 | $output .= '
19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | '; 36 | 37 | while($row = mysqli_fetch_array($result)){ 38 | 39 | $output .=' 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | '; 55 | } 56 | 57 | $output .='
Total Username Teacher Subject Attempt Correct Wrong No Answer Result Date View Result Delete
' .$row["TotalNumberOfQuestion"]. '' .$row["Username"]. '' .$row["Teacher"]. '' .$row["Subject"]. '' .$row["Attempted_Answer"]. '' .$row["Correct_Answer"]. '' .$row["Wrong_Answer"]. '' .$row["No_Answer"]. '' .$row["Result"]. ' %'.'' .$row["Submit_Date"]. ' view Result Delete
'; 58 | $output .='
'; 59 | echo $output; 60 | } 61 | else{ 62 | echo ''; 63 | } 64 | 65 | ?> -------------------------------------------------------------------------------- /Administrator/Pashto/Ajax Search/fetch-QuizResult.php: -------------------------------------------------------------------------------- 1 | 0){ 17 | 18 | $output .= '
19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | '; 36 | 37 | while($row = mysqli_fetch_array($result)){ 38 | 39 | $output .=' 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | '; 55 | } 56 | 57 | $output .='
Total Username Teacher Subject Attempt Correct Wrong No Answer Result Date View Result Delete
' .$row["TotalNumberOfQuestion"]. '' .$row["Username"]. '' .$row["Teacher"]. '' .$row["Subject"]. '' .$row["Attempted_Answer"]. '' .$row["Correct_Answer"]. '' .$row["Wrong_Answer"]. '' .$row["No_Answer"]. '' .$row["Result"]. ' %'.'' .$row["Submit_Date"]. ' view Result Delete
'; 58 | $output .='
'; 59 | echo $output; 60 | } 61 | else{ 62 | echo ''; 63 | } 64 | 65 | ?> -------------------------------------------------------------------------------- /Administrator/Ajax Search/fetch-QuizResult.php: -------------------------------------------------------------------------------- 1 | 0){ 17 | 18 | 19 | $output .= '
20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | '; 37 | 38 | while($row = mysqli_fetch_array($result)){ 39 | 40 | $output .=' 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | '; 56 | } 57 | 58 | $output .='
Total Username Teacher Subject Attempt Correct Wrong No Answer Result Date View Result Delete
' .$row["TotalNumberOfQuestion"]. '' .$row["Username"]. '' .$row["Teacher"]. '' .$row["Subject"]. '' .$row["Attempted_Answer"]. '' .$row["Correct_Answer"]. '' .$row["Wrong_Answer"]. '' .$row["No_Answer"]. '' .$row["Result"]. ' %'.'' .$row["Submit_Date"]. ' view Result Delete
'; 59 | $output .='
'; 60 | echo $output; 61 | } 62 | else{ 63 | echo ''; 64 | } 65 | 66 | ?> -------------------------------------------------------------------------------- /Assets/js/tests/unit/phantom.js: -------------------------------------------------------------------------------- 1 | /* 2 | * grunt-contrib-qunit 3 | * http://gruntjs.com/ 4 | * 5 | * Copyright (c) 2014 "Cowboy" Ben Alman, contributors 6 | * Licensed under the MIT license. 7 | */ 8 | 9 | (function () { 10 | 'use strict'; 11 | 12 | // Don't re-order tests. 13 | QUnit.config.reorder = false 14 | // Run tests serially, not in parallel. 15 | QUnit.config.autorun = false 16 | 17 | // Send messages to the parent PhantomJS process via alert! Good times!! 18 | function sendMessage() { 19 | var args = [].slice.call(arguments) 20 | alert(JSON.stringify(args)) 21 | } 22 | 23 | // These methods connect QUnit to PhantomJS. 24 | QUnit.log(function (obj) { 25 | // What is this I don’t even 26 | if (obj.message === '[object Object], undefined:undefined') { return } 27 | 28 | // Parse some stuff before sending it. 29 | var actual 30 | var expected 31 | if (!obj.result) { 32 | // Dumping large objects can be very slow, and the dump isn't used for 33 | // passing tests, so only dump if the test failed. 34 | actual = QUnit.dump.parse(obj.actual) 35 | expected = QUnit.dump.parse(obj.expected) 36 | } 37 | // Send it. 38 | sendMessage('qunit.log', obj.result, actual, expected, obj.message, obj.source) 39 | }) 40 | 41 | QUnit.testStart(function (obj) { 42 | sendMessage('qunit.testStart', obj.name) 43 | }) 44 | 45 | QUnit.testDone(function (obj) { 46 | sendMessage('qunit.testDone', obj.name, obj.failed, obj.passed, obj.total, obj.duration) 47 | }) 48 | 49 | QUnit.moduleStart(function (obj) { 50 | sendMessage('qunit.moduleStart', obj.name) 51 | }) 52 | 53 | QUnit.moduleDone(function (obj) { 54 | if (obj.failed === 0) { 55 | console.log('\r\u221A All tests passed in "' + obj.name + '" module') 56 | } else { 57 | console.log('\u00D7 ' + obj.failed + ' tests failed in "' + obj.name + '" module') 58 | } 59 | sendMessage('qunit.moduleDone', obj.name, obj.failed, obj.passed, obj.total) 60 | }) 61 | 62 | QUnit.begin(function () { 63 | sendMessage('qunit.begin') 64 | console.log('\n\nStarting test suite') 65 | console.log('================================================\n') 66 | }) 67 | 68 | QUnit.done(function (obj) { 69 | sendMessage('qunit.done', obj.failed, obj.passed, obj.total, obj.runtime) 70 | }) 71 | 72 | }()) 73 | -------------------------------------------------------------------------------- /Assets/js/tests/visual/popover.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Popover 8 | 9 | 10 | 11 | 12 | 16 | 17 | 18 | 19 |
20 | 21 | 24 | 25 | 28 | 31 | 34 | 37 | 38 |
39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /Assets/js/tests/visual/carousel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Carousel 8 | 9 | 10 | 11 | 12 | 16 | 17 | 18 | 19 |
20 | 21 | 24 | 25 | 49 | 50 |
51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /Administrator/_Partial Components/Navigation.php: -------------------------------------------------------------------------------- 1 | 2 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Administrator/Dari/js/AjaxSearch.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | $('#searchUser').keyup(function(){ 3 | var txtUser = $(this).val(); 4 | $.ajax({ 5 | url:"Ajax Search/fetch-user.php", 6 | type:"POST", 7 | data:{search:txtUser}, 8 | dataType:"text", 9 | success:function(data){ 10 | $('#resultUser').html(data); 11 | } 12 | }); 13 | }); 14 | 15 | $('#searchTeacher').keyup(function(){ 16 | var txtTeacher = $(this).val(); 17 | $.ajax({ 18 | url:"Ajax Search/fetch-teacher.php", 19 | type:"POST", 20 | data:{search:txtTeacher}, 21 | dataType:"text", 22 | success:function(data){ 23 | $('#resultTeacher').html(data); 24 | } 25 | }); 26 | }); 27 | 28 | $('#searchSubject').keyup(function(){ 29 | var txtSubject = $(this).val(); 30 | $.ajax({ 31 | url:"Ajax Search/fetch-subject.php", 32 | type:"POST", 33 | data:{search:txtSubject}, 34 | dataType:"text", 35 | success:function(data){ 36 | $('#resultSubject').html(data); 37 | } 38 | }); 39 | }); 40 | 41 | $('#searchQuestion').keyup(function(){ 42 | var txtQuestion = $(this).val(); 43 | $.ajax({ 44 | url:"Ajax Search/fetch-question.php", 45 | type:"POST", 46 | data:{search:txtQuestion}, 47 | dataType:"text", 48 | success:function(data){ 49 | $('#resultQuestion').html(data); 50 | } 51 | }); 52 | }); 53 | 54 | $('#searchMail').keyup(function(){ 55 | var txtMail = $(this).val(); 56 | $.ajax({ 57 | url:"Ajax Search/fetch-mail.php", 58 | type:"POST", 59 | data:{search:txtMail}, 60 | dataType:"text", 61 | success:function(data){ 62 | $('#resultMail').html(data); 63 | } 64 | }); 65 | }); 66 | 67 | $('#searchQuizResult').keyup(function(){ 68 | var txtQuizResult = $(this).val(); 69 | $.ajax({ 70 | url:"Ajax Search/fetch-QuizResult.php", 71 | type:"POST", 72 | data:{search:txtQuizResult}, 73 | dataType:"text", 74 | success:function(data){ 75 | $('#QuizResult').html(data); 76 | } 77 | }); 78 | }); 79 | }); 80 | 81 | -------------------------------------------------------------------------------- /Pashto/CSS/News_Style.CSS: -------------------------------------------------------------------------------- 1 | body{ 2 | margin: 0px; 3 | padding: 0px; 4 | min-height: 100%; 5 | 6 | } 7 | html{ 8 | min-height: 100%; 9 | position: relative; 10 | } 11 | body *{ 12 | font-family: Calibri; 13 | } 14 | .top-header{ 15 | width: 100%; 16 | height: 45px; 17 | background-color: rgb(240,240,240); 18 | } 19 | 20 | .news-header{ 21 | height: 100px; 22 | background-color: rgb(190,0,0); 23 | margin-bottom: 30px; 24 | } 25 | .container h1{ 26 | color: #fff; 27 | margin: 0px; 28 | padding-top: 10px; 29 | /*font-family: segoe ui;*/ 30 | /*font-weight: lighter; */ 31 | } 32 | .containr{ 33 | margin-left: 10%; 34 | margin-right: 10%; 35 | 36 | } 37 | .news-title{ 38 | padding-right: 5px; 39 | 40 | } 41 | .news-content{ 42 | margin-top: 10px; 43 | background-color: rgb(170,0,0); 44 | height: 40px; 45 | width: 100%; 46 | padding-top: 12px; 47 | } 48 | .news-content a{ 49 | padding: 7px; 50 | text-decoration: none; 51 | color: #fff; 52 | /*font-family: sans-serif;*/ 53 | margin-top: 10px; 54 | } 55 | .news-content a:hover{ 56 | border-bottom: 5px solid #fff; 57 | transition: .2s linear; 58 | } 59 | .offset-five{ 60 | padding-left: 5px; 61 | } 62 | .col-md-3 h1{ 63 | color: #000; 64 | font-family: sans-serif; 65 | 66 | } 67 | .footer{ 68 | /*background-color: rgb(170,0,0);*/ 69 | background-color: #333; 70 | height: 270px; 71 | color: #fff; 72 | padding-top: 15px; 73 | font-family: calibri; 74 | font-size: 14px; 75 | bottom: 0; 76 | right: 0; 77 | left: 0; 78 | /*position: absolute;*/ 79 | } 80 | #footer-content a{ 81 | display: block; 82 | text-decoration: none; 83 | /*color: #fff;*/ 84 | color: #999; 85 | padding-top: 10px; 86 | } 87 | #footer-content a:hover{ 88 | color: #fff; 89 | transition: .3s linear; 90 | } 91 | .line{ 92 | padding-top: 10px; 93 | border-bottom: 1px solid rgb(180,180,180); 94 | width: 100%; 95 | vertical-align: middle; 96 | } 97 | .vertical-line{ 98 | border-left: 1px solid rgb(180,180,180); 99 | height: 100%; 100 | } 101 | .footer-text{ 102 | padding-top: 20px; 103 | } 104 | @media only screen and (min-width: 768) and (max-width: 1100px){ 105 | .container{ 106 | width: 100%; 107 | margin-right: 2%; 108 | margin-left: 2%; 109 | } 110 | } 111 | @media only screen and (max-width: 768px){ 112 | .container{ 113 | width: 100%; 114 | margin-right: 2%; 115 | margin-left: 2%; 116 | } 117 | .footer{ 118 | /*background-color: rgb(170,0,0);*/ 119 | background-color: #333; 120 | height: auto; 121 | font-size: 14px; 122 | } 123 | } -------------------------------------------------------------------------------- /Contact-us.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 |
7 |
8 |
9 |
10 |

Here you can contact to BBC

11 |
12 |
13 |
14 |
15 | $error
"; 19 | } 20 | else if (isset($msg)) { 21 | echo ""; 22 | } 23 | ?> 24 | 25 |
26 |
27 | 28 | 29 |
30 | 31 |
32 | 33 | 34 |
35 | 36 |
37 | 38 | 39 |
40 | 41 |
42 | 43 | 44 |
45 | 46 |
47 | 48 |
49 | 50 | 51 | 52 |
53 | 54 |
55 | 56 |
57 |
58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Assets/js/alert.js: -------------------------------------------------------------------------------- 1 | /* ======================================================================== 2 | * Bootstrap: alert.js v3.3.7 3 | * http://getbootstrap.com/javascript/#alerts 4 | * ======================================================================== 5 | * Copyright 2011-2016 Twitter, Inc. 6 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 7 | * ======================================================================== */ 8 | 9 | 10 | +function ($) { 11 | 'use strict'; 12 | 13 | // ALERT CLASS DEFINITION 14 | // ====================== 15 | 16 | var dismiss = '[data-dismiss="alert"]' 17 | var Alert = function (el) { 18 | $(el).on('click', dismiss, this.close) 19 | } 20 | 21 | Alert.VERSION = '3.3.7' 22 | 23 | Alert.TRANSITION_DURATION = 150 24 | 25 | Alert.prototype.close = function (e) { 26 | var $this = $(this) 27 | var selector = $this.attr('data-target') 28 | 29 | if (!selector) { 30 | selector = $this.attr('href') 31 | selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 32 | } 33 | 34 | var $parent = $(selector === '#' ? [] : selector) 35 | 36 | if (e) e.preventDefault() 37 | 38 | if (!$parent.length) { 39 | $parent = $this.closest('.alert') 40 | } 41 | 42 | $parent.trigger(e = $.Event('close.bs.alert')) 43 | 44 | if (e.isDefaultPrevented()) return 45 | 46 | $parent.removeClass('in') 47 | 48 | function removeElement() { 49 | // detach from parent, fire event then clean up data 50 | $parent.detach().trigger('closed.bs.alert').remove() 51 | } 52 | 53 | $.support.transition && $parent.hasClass('fade') ? 54 | $parent 55 | .one('bsTransitionEnd', removeElement) 56 | .emulateTransitionEnd(Alert.TRANSITION_DURATION) : 57 | removeElement() 58 | } 59 | 60 | 61 | // ALERT PLUGIN DEFINITION 62 | // ======================= 63 | 64 | function Plugin(option) { 65 | return this.each(function () { 66 | var $this = $(this) 67 | var data = $this.data('bs.alert') 68 | 69 | if (!data) $this.data('bs.alert', (data = new Alert(this))) 70 | if (typeof option == 'string') data[option].call($this) 71 | }) 72 | } 73 | 74 | var old = $.fn.alert 75 | 76 | $.fn.alert = Plugin 77 | $.fn.alert.Constructor = Alert 78 | 79 | 80 | // ALERT NO CONFLICT 81 | // ================= 82 | 83 | $.fn.alert.noConflict = function () { 84 | $.fn.alert = old 85 | return this 86 | } 87 | 88 | 89 | // ALERT DATA-API 90 | // ============== 91 | 92 | $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close) 93 | 94 | }(jQuery); 95 | -------------------------------------------------------------------------------- /Administrator/Pashto/Add-Category.php: -------------------------------------------------------------------------------- 1 | 2 | 5 |
6 |
7 | 14 | 49 |
50 | 51 | -------------------------------------------------------------------------------- /Assets/js/tests/visual/tooltip.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Tooltip 8 | 9 | 10 | 11 | 12 | 16 | 17 | 18 | 19 |
20 | 21 | 24 | 25 |

Tight pants next level keffiyeh you probably haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel have a terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan whatever keytar, scenester farm-to-table banksy Austin twitter handle freegan cred raw denim single-origin coffee viral. 26 |

27 |
28 |

29 | 30 | 31 | 32 | 33 |

34 | 35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /_Partial Components/Footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 63 | 64 | -------------------------------------------------------------------------------- /Assets/_Partial Components/Footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 63 | 64 | -------------------------------------------------------------------------------- /Administrator/Dari/Add-Faculty.php: -------------------------------------------------------------------------------- 1 | 2 | 5 | getTeacher(); 6 | ?> 7 |
8 |
9 | 16 | 60 |
61 |
62 | 63 | -------------------------------------------------------------------------------- /Assets/js/tests/README.md: -------------------------------------------------------------------------------- 1 | ## How does Bootstrap's test suite work? 2 | 3 | Bootstrap uses [QUnit](http://api.qunitjs.com/), a powerful, easy-to-use JavaScript unit test framework. Each plugin has a file dedicated to its tests in `unit/.js`. 4 | 5 | * `unit/` contains the unit test files for each Bootstrap plugin. 6 | * `vendor/` contains third-party testing-related code (QUnit and jQuery). 7 | * `visual/` contains "visual" tests which are run interactively in real browsers and require manual verification by humans. 8 | 9 | To run the unit test suite via [PhantomJS](http://phantomjs.org/), run `grunt test-js`. 10 | 11 | To run the unit test suite via a real web browser, open `index.html` in the browser. 12 | 13 | 14 | ## How do I add a new unit test? 15 | 16 | 1. Locate and open the file dedicated to the plugin which you need to add tests to (`unit/.js`). 17 | 2. Review the [QUnit API Documentation](http://api.qunitjs.com/) and use the existing tests as references for how to structure your new tests. 18 | 3. Write the necessary unit test(s) for the new or revised functionality. 19 | 4. Run `grunt test-js` to see the results of your newly-added test(s). 20 | 21 | **Note:** Your new unit tests should fail before your changes are applied to the plugin, and should pass after your changes are applied to the plugin. 22 | 23 | 24 | ## What should a unit test look like? 25 | 26 | * Each test should have a unique name clearly stating what unit is being tested. 27 | * Each test should test only one unit per test, although one test can include several assertions. Create multiple tests for multiple units of functionality. 28 | * Each test should begin with [`assert.expect`](http://api.qunitjs.com/expect/) to ensure that the expected assertions are run. 29 | * Each test should follow the project's [JavaScript Code Guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md#js) 30 | 31 | ### Example tests 32 | 33 | ```javascript 34 | // Synchronous test 35 | QUnit.test('should describe the unit being tested', function (assert) { 36 | assert.expect(1) 37 | var templateHTML = '
' 38 | + '×' 39 | + '

Template necessary for the test.

' 40 | + '
' 41 | var $alert = $(templateHTML).appendTo('#qunit-fixture').bootstrapAlert() 42 | 43 | $alert.find('.close').click() 44 | 45 | // Make assertion 46 | assert.strictEqual($alert.hasClass('in'), false, 'remove .in class on .close click') 47 | }) 48 | 49 | // Asynchronous test 50 | QUnit.test('should describe the unit being tested', function (assert) { 51 | assert.expect(1) 52 | var done = assert.async() 53 | 54 | $('
') 55 | .appendTo('#qunit-fixture') 56 | .on('shown.bs.tooltip', function () { 57 | assert.ok(true, '"shown" event was fired after calling "show"') 58 | done() 59 | }) 60 | .bootstrapTooltip('show') 61 | }) 62 | ``` 63 | -------------------------------------------------------------------------------- /Assets/js/tests/unit/alert.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 'use strict'; 3 | 4 | QUnit.module('alert plugin') 5 | 6 | QUnit.test('should be defined on jquery object', function (assert) { 7 | assert.expect(1) 8 | assert.ok($(document.body).alert, 'alert method is defined') 9 | }) 10 | 11 | QUnit.module('alert', { 12 | beforeEach: function () { 13 | // Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode 14 | $.fn.bootstrapAlert = $.fn.alert.noConflict() 15 | }, 16 | afterEach: function () { 17 | $.fn.alert = $.fn.bootstrapAlert 18 | delete $.fn.bootstrapAlert 19 | } 20 | }) 21 | 22 | QUnit.test('should provide no conflict', function (assert) { 23 | assert.expect(1) 24 | assert.strictEqual($.fn.alert, undefined, 'alert was set back to undefined (org value)') 25 | }) 26 | 27 | QUnit.test('should return jquery collection containing the element', function (assert) { 28 | assert.expect(2) 29 | var $el = $('
') 30 | var $alert = $el.bootstrapAlert() 31 | assert.ok($alert instanceof $, 'returns jquery collection') 32 | assert.strictEqual($alert[0], $el[0], 'collection contains element') 33 | }) 34 | 35 | QUnit.test('should fade element out on clicking .close', function (assert) { 36 | assert.expect(1) 37 | var alertHTML = '
' 38 | + '×' 39 | + '

Holy guacamole! Best check yo self, you\'re not looking too good.

' 40 | + '
' 41 | var $alert = $(alertHTML).bootstrapAlert() 42 | 43 | $alert.find('.close').trigger('click') 44 | 45 | assert.strictEqual($alert.hasClass('in'), false, 'remove .in class on .close click') 46 | }) 47 | 48 | QUnit.test('should remove element when clicking .close', function (assert) { 49 | assert.expect(2) 50 | var alertHTML = '
' 51 | + '×' 52 | + '

Holy guacamole! Best check yo self, you\'re not looking too good.

' 53 | + '
' 54 | var $alert = $(alertHTML).appendTo('#qunit-fixture').bootstrapAlert() 55 | 56 | assert.notEqual($('#qunit-fixture').find('.alert').length, 0, 'element added to dom') 57 | 58 | $alert.find('.close').trigger('click') 59 | 60 | assert.strictEqual($('#qunit-fixture').find('.alert').length, 0, 'element removed from dom') 61 | }) 62 | 63 | QUnit.test('should not fire closed when close is prevented', function (assert) { 64 | assert.expect(1) 65 | var done = assert.async() 66 | $('
') 67 | .on('close.bs.alert', function (e) { 68 | e.preventDefault() 69 | assert.ok(true, 'close event fired') 70 | done() 71 | }) 72 | .on('closed.bs.alert', function () { 73 | assert.ok(false, 'closed event fired') 74 | }) 75 | .bootstrapAlert('close') 76 | }) 77 | 78 | }) 79 | -------------------------------------------------------------------------------- /Forgot-password.php: -------------------------------------------------------------------------------- 1 | 13 | 14 | forgot Password 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 |
34 | 35 |
36 |

Insert your Email to reset your password

37 |
38 | 39 |
40 |
41 |
42 | 43 | 44 |
45 |
46 |
47 |
48 | 49 | 50 |
51 |
52 |
53 |
54 |
55 | 56 |
57 | 62 |
63 |
64 |
65 | 66 | 67 |
68 |
69 | 70 |
71 | 72 | 73 | 74 | 75 | 80 | 81 | 82 | 83 | -------------------------------------------------------------------------------- /Administrator/Edit-Category.php: -------------------------------------------------------------------------------- 1 | 2 | $data) { 9 | $data2 = $_GET[$key] = base64_decode(urldecode($data)); 10 | $Category_ID = ((($data2*999999)/9999)/123456789); 11 | } 12 | 13 | if (isset($_GET['edt'])) { 14 | $data = $_GET['edt']; 15 | 16 | $CategoryByID = $exm->getCategoryByID($Category_ID); 17 | } 18 | else{ 19 | //header('Location: index.php'); 20 | } 21 | 22 | ?> 23 | 24 |
25 |
26 | 31 | 75 |
76 |
77 | 78 | -------------------------------------------------------------------------------- /Dari/Forgot-password.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | forgot Password 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
32 |

ایمیل و پسورد خود را بنویسید تا که اکونت خود را اصلاح کنید

33 |
34 | 35 |
36 |
37 |
38 | 39 | 40 |
41 |
42 |
43 |
44 | 45 | 46 |
47 |
48 |
49 |
50 | 55 |
56 | 57 |
58 |
59 |
60 |
61 | 62 | 63 |
64 |
65 | 66 |
67 | 68 | 69 | 70 | 71 | 76 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /Pashto/Forgot-password.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | forgot Password 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
32 |

ایمیل و پسورد خود را بنویسید تا که اکونت خود را اصلاح کنید

33 |
34 | 35 |
36 |
37 |
38 | 39 | 40 |
41 |
42 |
43 |
44 | 45 | 46 |
47 |
48 |
49 |
50 | 55 |
56 | 57 |
58 |
59 |
60 |
61 | 62 | 63 |
64 |
65 | 66 |
67 | 68 | 69 | 70 | 71 | 76 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /Dari/Reset-pass.php: -------------------------------------------------------------------------------- 1 | 16 | getUsersByUsername($Username); 22 | $row = $UsersByUsername->fetch_assoc(); 23 | } 24 | else{ 25 | header("location: sign in.php"); 26 | } 27 | ?> 28 | 29 | 30 | Reset Password 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 |
43 | 44 |
45 | 46 |
47 |
48 |
49 | 50 |
51 |
52 | 53 | 54 |
55 |
56 |
57 | 58 | 59 |
60 | 61 |
62 | 63 | 64 | 65 | 66 | 67 | 72 | 73 | 74 | 75 | -------------------------------------------------------------------------------- /Pashto/Reset-pass.php: -------------------------------------------------------------------------------- 1 | 16 | getUsersByUsername($Username); 22 | $row = $UsersByUsername->fetch_assoc(); 23 | } 24 | else{ 25 | header("location: sign in.php"); 26 | } 27 | ?> 28 | 29 | 30 | Reset Password 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 |
43 | 44 |
45 | 46 |
47 |
48 |
49 | 50 |
51 |
52 | 53 | 54 |
55 |
56 |
57 | 58 | 59 |
60 | 61 |
62 | 63 | 64 | 65 | 66 | 67 | 72 | 73 | 74 | 75 | -------------------------------------------------------------------------------- /NewsERD.txt: -------------------------------------------------------------------------------- 1 | CREATE TABLE category ( 2 | category_id INT primary key identity, 3 | category_name VARCHAR(15) UNIQUE 4 | ); 5 | 6 | CREATE TABLE news ( 7 | news_id INT primary key identity, 8 | news_title VARCHAR(128) NOT NULL, 9 | news_body Text NOT NULL, 10 | news_file VARCHAR(128) , 11 | news_date DATE NOT NULL, 12 | news_source VARCHAR(64) NOT NULL, 13 | category_id INT NOT NULL, 14 | visits INT NOT NULL DEFAULT 0, 15 | CONSTRAINT news_category_fk FOREIGN KEY(category_id) REFERENCES category(category_id) ON DELETE NO ACTION ON UPDATE CASCADE 16 | ); 17 | 18 | CREATE TABLE account ( 19 | account_id INT primary key identity, 20 | firstname VARCHAR(16) NOT NULL, 21 | lastname VARCHAR(16) , 22 | gender BIT NOT NULL, 23 | dob DATE NOT NULL , 24 | phone VARCHAR(16) NOT NULL, 25 | email VARCHAR(64) NOT NULL, 26 | photo VARCHAR(128) , 27 | address VARCHAR(128) 28 | ); 29 | 30 | 31 | 32 | CREATE TABLE article ( 33 | article_id INT primary key identity, 34 | article_title VARCHAR(128) NOT NULL, 35 | article_body TEXT NOT NULL, 36 | article_date DATE NOT NULL, 37 | article_source VARCHAR(64) NOT NULL, 38 | article_file VARCHAR(128) , 39 | category_id INT NOT NULL, 40 | CONSTRAINT article_category_fk FOREIGN KEY(category_id) REFERENCES category(category_id) ON DELETE NO ACTION ON UPDATE CASCADE 41 | ); 42 | 43 | CREATE TABLE news_comment ( 44 | comment_id INT primary key identity, 45 | news_id INT NOT NULL, 46 | account_id INT NOT NULL, 47 | comment_text VARCHAR(255) NOT NULL, 48 | comment_date BIGINT NOT NULL, 49 | 50 | CONSTRAINT news_comment_fk FOREIGN KEY(news_id) REFERENCES news(news_id) ON DELETE NO ACTION ON UPDATE CASCADE, 51 | CONSTRAINT account_comment_fk FOREIGN KEY(account_id) REFERENCES account(account_id) ON DELETE NO ACTION ON UPDATE CASCADE 52 | ); 53 | 54 | CREATE TABLE news_like ( 55 | news_id INT , 56 | account_id INT , 57 | like_date BIGINT NOT NULL, 58 | 59 | CONSTRAINT news_like_pk PRIMARY KEY(news_id, account_id), 60 | CONSTRAINT news_like_fk FOREIGN KEY(news_id) REFERENCES news(news_id) ON DELETE CASCADE ON UPDATE CASCADE, 61 | CONSTRAINT account_like_fk FOREIGN KEY(account_id) REFERENCES account(account_id) ON DELETE NO ACTION ON UPDATE CASCADE 62 | ); 63 | 64 | CREATE TABLE users ( 65 | user_id INT primary key identity , 66 | username VARCHAR(32) NOT NULL UNIQUE , 67 | password VARCHAR(64) NOT NULL , 68 | firstname VARCHAR(16) NOT NULL , 69 | lastname VARCHAR(16) , 70 | ); 71 | 72 | CREATE TABLE user_level ( 73 | user_id INT primary key , 74 | politic_level INT NOT NULL DEFAULT 0, 75 | sport_level INT NOT NULL DEFAULT 0, 76 | economic_level INT NOT NULL DEFAULT 0, 77 | social_level INT NOT NULL DEFAULT 0, 78 | art_level INT NOT NULL DEFAULT 0, 79 | science_level INT NOT NULL DEFAULT 0, 80 | medical_level INT NOT NULL DEFAULT 0, 81 | nature_level INT NOT NULL DEFAULT 0, 82 | 83 | CONSTRAINT user_level_fk FOREIGN KEY (user_id) REFERENCES users(user_id) ON DELETE CASCADE ON UPDATE CASCADE 84 | ); 85 | 86 | 87 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /Administrator/Dari/View-Mail.php: -------------------------------------------------------------------------------- 1 | 2 | 10 | getTeacher(); 12 | 13 | if(isset($_GET['id'])){ 14 | $Contact_ID = $_GET['id']; 15 | $ContactByID = $exm->getContactUsByID($Contact_ID); 16 | } 17 | else{ 18 | header('Location: ../sign in.php'); 19 | } 20 | 21 | if(isset($_GET['id'])){ 22 | $Contact_ID = $_GET['id']; 23 | $dsblSubject = $usr->approveMail($Contact_ID); 24 | } 25 | ?> 26 |
27 |
28 | 29 | 34 | 35 | 36 | 37 | 85 | 86 |
87 | 88 |
89 | 90 | -------------------------------------------------------------------------------- /Administrator/Pashto/View-Mail.php: -------------------------------------------------------------------------------- 1 | 2 | 10 | getTeacher(); 12 | 13 | if(isset($_GET['id'])){ 14 | $Contact_ID = $_GET['id']; 15 | $ContactByID = $exm->getContactUsByID($Contact_ID); 16 | } 17 | else{ 18 | header('Location: ../sign in.php'); 19 | } 20 | 21 | if(isset($_GET['id'])){ 22 | $Contact_ID = $_GET['id']; 23 | $dsblSubject = $usr->approveMail($Contact_ID); 24 | } 25 | ?> 26 |
27 |
28 | 29 | 34 | 35 | 36 | 37 | 85 | 86 |
87 | 88 |
89 | 90 | -------------------------------------------------------------------------------- /Pashto/_Partial Components/Method.php: -------------------------------------------------------------------------------- 1 | db = new Database(); 8 | $this->fm = new Format(); 9 | } 10 | 11 | // public function getTotalRows(){ 12 | // $query = "SELECT * from Viw_Question where Status = '1'"; 13 | // mysqli_set_charset($this->db->link, 'UTF8'); 14 | // $getResult = $this->db->select($query); 15 | // $total =$getResult->num_rows; 16 | // return $total; 17 | // } 18 | // /* FUNCTION FOR SHOWING TOTAL QUESTION OF SPECIFIC SUBJECT */ 19 | // public function getTotalRowsOfSubject($Subject_ID){ 20 | // $query = "SELECT * from Question where Subject_ID = '$Subject_ID' and Status = '1'"; 21 | // mysqli_set_charset($this->db->link, 'UTF8'); 22 | // $getResult = $this->db->select($query); 23 | // $total =$getResult->num_rows; 24 | // return $total; 25 | // } 26 | 27 | public function getCategoryByID($Category_ID){ 28 | $query ="SELECT * from Category where Category_ID = '$Category_ID' and Language = 'Dari'"; 29 | mysqli_set_charset($this->db->link, 'UTF8'); 30 | $getData = $this->db->select($query); 31 | return $getData; 32 | } 33 | public function getNewsByID($Category_ID){ 34 | $query ="SELECT * from News where Category_ID = '$Category_ID' ORDER BY Category_ID DESC"; 35 | mysqli_set_charset($this->db->link, 'UTF8'); 36 | $getData = $this->db->select($query); 37 | return $getData; 38 | } 39 | public function getCategory(){ 40 | $query = "SELECT * from Category where Language = 'Dari'"; 41 | mysqli_set_charset($this->db->link, 'UTF8'); 42 | $getData = $this->db->select($query); 43 | return $getData; 44 | } 45 | // public function getDariQuestion($subject){ 46 | // $query ="SELECT * from Viw_Question where Subject = '$subject' and Language = 'Dari' and Status = '1' ORDER BY Question_ID DESC"; 47 | // $getData = $this->db->select($query); 48 | // mysqli_set_charset($this->db->link, 'UTF8'); 49 | // return $getData; 50 | // } 51 | // public function getUsersByUsername($Username){ 52 | // $query = "SELECT * from Users where Username = '$Username'"; 53 | // mysqli_set_charset($this->db->link, 'UTF8'); 54 | // $getData = $this->db->select($query); 55 | // return $getData; 56 | // } 57 | // public function getSubject($Subject_ID){ 58 | // $query = "SELECT * from Viw_Subject where Subject_ID = '$Subject_ID'"; 59 | // mysqli_set_charset($this->db->link, 'UTF8'); 60 | // $getData = $this->db->select($query); 61 | // return $getData; 62 | // } 63 | // public function getCateory(){ 64 | // $query = "SELECT * from Category"; 65 | // mysqli_set_charset($this->db->link, 'UTF8'); 66 | // $getData = $this->db->select($query); 67 | // return $getData; 68 | // } 69 | 70 | // public function getSubjects(){ 71 | // $query = "SELECT * from Viw_Subject where Language = 'English' and Status='1'"; 72 | // mysqli_set_charset($this->db->link, 'UTF8'); 73 | // $getData = $this->db->select($query); 74 | // return $getData; 75 | // } 76 | // public function getDariSubjects(){ 77 | // $query = "SELECT * from Viw_Subject where Language = 'Dari' and Status='1'"; 78 | // $getData = $this->db->select($query); 79 | // mysqli_set_charset($this->db->link, 'UTF8'); 80 | // return $getData; 81 | // } 82 | 83 | } 84 | ?> -------------------------------------------------------------------------------- /Administrator/Dari/Ajax Search/fetch-question.php: -------------------------------------------------------------------------------- 1 | 0){ 14 | 15 | $output .= '
16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | '; 30 | 31 | while($row = mysqli_fetch_array($result)){ 32 | 33 | if($row['Status']==0){ 34 | $output .=' 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | '; 46 | } 47 | else{ 48 | $output .=' 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | '; 61 | } 62 | } 63 | 64 | $output .='
ID Question Answer 1 Answer 2 Answer 3 Answer 4 Subject Edit Delete
' .$row["Question_ID"]. '' .$row["Question"]. '' .$row["Answer0"]. '' .$row["Answer1"]. '' .$row["Answer2"]. '' .$row["Answer3"]. '' .$row["Subject"]. ' edt dlt
' .$row["Question_ID"]. '' .$row["Question"]. '' .$row["Answer0"]. '' .$row["Answer1"]. '' .$row["Answer2"]. '' .$row["Answer3"]. '' .$row["Subject"]. ' edt dlt
'; 65 | $output .='
'; 66 | echo $output; 67 | } 68 | else{ 69 | echo ''; 70 | } 71 | 72 | ?> -------------------------------------------------------------------------------- /Reset-pass.php: -------------------------------------------------------------------------------- 1 | 17 | 18 | getUsersByUsername($Username); 24 | $row = $UsersByUsername->fetch_assoc(); 25 | } 26 | else{ 27 | header("location: sign in.php"); 28 | } 29 | ?> 30 | 31 | 32 | 33 | Reset Password 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 |
46 | 47 |
48 | 49 |
50 |
51 |
52 | 53 |
54 |
55 | 56 | 57 |
58 |
59 |
60 |
61 |
62 | 63 |
64 | 69 |
70 | 71 |
72 | 73 |
74 | 75 | 76 | 77 | 78 | 79 | 84 | 85 | 86 | 87 | -------------------------------------------------------------------------------- /Administrator/Dari/_Partial Components/Navigation.php: -------------------------------------------------------------------------------- 1 | 2 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /MyProfile.php: -------------------------------------------------------------------------------- 1 | 6 | getUsersByUsername($Email); 16 | $row = $UsersByUsername->fetch_assoc(); 17 | $chk_img = $row['Image']; 18 | } 19 | else{ 20 | header("location: index.php"); 21 | } 22 | ?> 23 |
24 |
25 | 35 |
36 |
37 | getUsersByUsername($Email); 39 | if(!$UsersByUsername){ 40 | echo "

No Users Table exist!

"; 41 | } 42 | else{ 43 | 44 | if($UsersByUsername->num_rows>0){ 45 | $result = $UsersByUsername->fetch_array(); 46 | ?> 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 |
";?>
ID
Full Name
Username
Email
Gender
Phone No
78 | No Users Available ! "; 81 | echo "
"; 82 | } 83 | } 84 | ?> 85 |
86 | 87 |
88 |
89 |
90 | -------------------------------------------------------------------------------- /Assets/js/popover.js: -------------------------------------------------------------------------------- 1 | /* ======================================================================== 2 | * Bootstrap: popover.js v3.3.7 3 | * http://getbootstrap.com/javascript/#popovers 4 | * ======================================================================== 5 | * Copyright 2011-2016 Twitter, Inc. 6 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 7 | * ======================================================================== */ 8 | 9 | 10 | +function ($) { 11 | 'use strict'; 12 | 13 | // POPOVER PUBLIC CLASS DEFINITION 14 | // =============================== 15 | 16 | var Popover = function (element, options) { 17 | this.init('popover', element, options) 18 | } 19 | 20 | if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js') 21 | 22 | Popover.VERSION = '3.3.7' 23 | 24 | Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, { 25 | placement: 'right', 26 | trigger: 'click', 27 | content: '', 28 | template: '' 29 | }) 30 | 31 | 32 | // NOTE: POPOVER EXTENDS tooltip.js 33 | // ================================ 34 | 35 | Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype) 36 | 37 | Popover.prototype.constructor = Popover 38 | 39 | Popover.prototype.getDefaults = function () { 40 | return Popover.DEFAULTS 41 | } 42 | 43 | Popover.prototype.setContent = function () { 44 | var $tip = this.tip() 45 | var title = this.getTitle() 46 | var content = this.getContent() 47 | 48 | $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title) 49 | $tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events 50 | this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text' 51 | ](content) 52 | 53 | $tip.removeClass('fade top bottom left right in') 54 | 55 | // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do 56 | // this manually by checking the contents. 57 | if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide() 58 | } 59 | 60 | Popover.prototype.hasContent = function () { 61 | return this.getTitle() || this.getContent() 62 | } 63 | 64 | Popover.prototype.getContent = function () { 65 | var $e = this.$element 66 | var o = this.options 67 | 68 | return $e.attr('data-content') 69 | || (typeof o.content == 'function' ? 70 | o.content.call($e[0]) : 71 | o.content) 72 | } 73 | 74 | Popover.prototype.arrow = function () { 75 | return (this.$arrow = this.$arrow || this.tip().find('.arrow')) 76 | } 77 | 78 | 79 | // POPOVER PLUGIN DEFINITION 80 | // ========================= 81 | 82 | function Plugin(option) { 83 | return this.each(function () { 84 | var $this = $(this) 85 | var data = $this.data('bs.popover') 86 | var options = typeof option == 'object' && option 87 | 88 | if (!data && /destroy|hide/.test(option)) return 89 | if (!data) $this.data('bs.popover', (data = new Popover(this, options))) 90 | if (typeof option == 'string') data[option]() 91 | }) 92 | } 93 | 94 | var old = $.fn.popover 95 | 96 | $.fn.popover = Plugin 97 | $.fn.popover.Constructor = Popover 98 | 99 | 100 | // POPOVER NO CONFLICT 101 | // =================== 102 | 103 | $.fn.popover.noConflict = function () { 104 | $.fn.popover = old 105 | return this 106 | } 107 | 108 | }(jQuery); 109 | -------------------------------------------------------------------------------- /Assets/js/tests/visual/button.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Button 8 | 9 | 10 | 11 | 12 | 16 | 17 | 18 | 19 |
20 | 21 | 24 | 25 | 28 | 29 | 30 | 31 |

For checkboxes and radio buttons, ensure that keyboard behavior is functioning correctly.

32 |

Navigate to the checkboxes with the keyboard (generally, using TAB / SHIFT + TAB), and ensure that SPACE toggles the currently focused checkbox. Click on one of the checkboxes using the mouse, ensure that focus was correctly set on the actual checkbox, and that SPACE toggles the checkbox again.

33 | 34 |
35 | 38 | 41 | 44 |
45 | 46 |

Navigate to the radio button group with the keyboard (generally, using TAB / SHIFT + TAB). If no radio button was initially set to be selected, the first/last radio button should receive focus (depending on whether you navigated "forward" to the group with TAB or "backwards" using SHIFT + TAB). If a radio button was already selected, navigating with the keyboard should set focus to that particular radio button. Only one radio button in a group should receive focus at any given time. Ensure that the selected radio button can be changed by using the and arrow keys. Click on one of the radio buttons with the mouse, ensure that focus was correctly set on the actual radio button, and that and change the selected radio button again.

47 | 48 |
49 | 52 | 55 | 58 |
59 | 60 |
61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 79 | 80 | -------------------------------------------------------------------------------- /Assets/CSS/News_Stjjjjjyle.CSS: -------------------------------------------------------------------------------- 1 | body{ 2 | min-height: calc(100% - 100px); 3 | height: 100%; 4 | position: relative; 5 | padding-bottom: 40px; 6 | } 7 | html{ 8 | height: 100%; 9 | position: relative; 10 | } 11 | /*body{ 12 | margin: 0px; 13 | padding: 0px; 14 | min-height: 100%; 15 | 16 | } 17 | html{ 18 | min-height: 100%; 19 | position: relative; 20 | }*/ 21 | .top-header{ 22 | width: 100%; 23 | height: 50px; 24 | background-color: rgb(240,240,240); 25 | } 26 | 27 | .news-header{ 28 | height: 100px; 29 | background-color: rgb(190,0,0); 30 | margin-bottom: 10px; 31 | } 32 | #div-language li{ 33 | list-style: none; 34 | 35 | } 36 | .container h1{ 37 | color: #fff; 38 | margin: 0px; 39 | padding-top: 10px; 40 | font-family: segoe ui; 41 | /*font-weight: lighter; */ 42 | } 43 | .containr{ 44 | margin-left: 10%; 45 | margin-right: 10%; 46 | 47 | } 48 | .news-title{ 49 | padding-left: 0px; 50 | padding-top: 0px; 51 | } 52 | .news-content{ 53 | margin-top: 10px; 54 | background-color: rgb(170,0,0); 55 | height: 40px; 56 | width: 100%; 57 | padding-top: 12px; 58 | display: block; 59 | } 60 | .news-content a{ 61 | padding: 7px; 62 | text-decoration: none; 63 | color: #fff; 64 | font-family: sans-serif; 65 | margin-top: 10px; 66 | } 67 | .news-content a:hover{ 68 | border-bottom: 5px solid #fff; 69 | transition: .2s linear; 70 | } 71 | .active{ 72 | border-bottom: 5px solid #fff; 73 | transition: .2s linear; 74 | } 75 | .active-title{ 76 | border-bottom: 3px solid rgb(180,0,0); 77 | transition: .2s linear; 78 | font-size: 18px; 79 | margin-left: 15px; 80 | padding: 0 3px 0 3px; 81 | } 82 | .offset-five{ 83 | padding-left: 5px; 84 | } 85 | .col-md-3 h1{ 86 | color: #000; 87 | font-family: sans-serif; 88 | 89 | } 90 | .right-nav{ 91 | border-bottom: 1px solid rgb(170,170,170); 92 | } 93 | .small-div{ 94 | padding-top: 14px; 95 | } 96 | .img-details{ 97 | padding: 30px 30px 30px 30px; 98 | } 99 | .navbar-static-top{ 100 | margin-bottom: 0px; 101 | } 102 | .footer{ 103 | background-color: #333; 104 | height: auto; 105 | color: #fff; 106 | padding-top: 15px; 107 | font-family: sans-serif; 108 | font-size: 14px; 109 | bottom: 0; 110 | right: 0; 111 | left: 0; 112 | /*position: absolute;*/ 113 | } 114 | #footer-content a{ 115 | display: block; 116 | text-decoration: none; 117 | /*color: #fff;*/ 118 | color: #999; 119 | font-family: sans-serif; 120 | width: 100%; 121 | padding-right: 30px; 122 | padding-top: 10px; 123 | } 124 | #footer-content a:hover{ 125 | color: #fff; 126 | transition: .3s linear; 127 | } 128 | .footer-text{ 129 | padding-top: 20px; 130 | padding-bottom: 20px; 131 | } 132 | .line{ 133 | padding-top: 10px; 134 | border-bottom: 1px solid rgb(100,100,100); 135 | width: 100%; 136 | vertical-align: middle; 137 | } 138 | .vertical-line{ 139 | border-right: 1px solid rgb(100,100,100); 140 | height: 100%; 141 | } 142 | .bottom-footer{ 143 | background: #333; 144 | color: #999; 145 | } 146 | @media only screen and (min-width: 768) and (max-width: 1100px){ 147 | .container{ 148 | /*width: 100%;*/ 149 | /*margin-right: 2%;*/ 150 | /*margin-left: 2%;*/ 151 | } 152 | } 153 | @media only screen and (max-width: 768px){ 154 | .news-content{ 155 | /*display: none;*/ 156 | } 157 | } 158 | @media only screen and (min-width: 768px){ 159 | 160 | .news-content{ 161 | display:; 162 | } 163 | .footer{ 164 | background-color: #333; 165 | /*height: 400px;*/ 166 | height: auto; 167 | font-size: 14px; 168 | } 169 | } 170 | @media only screen and (min-width:50px)and (max-width: 300px){ 171 | /*.navbar-static-top{ 172 | background: rgb(170,0,0); 173 | } 174 | .container{ 175 | width: 100%; 176 | /*margin-right: 2%;*/ 177 | /*margin-left: 2%;*/ 178 | } 179 | } --------------------------------------------------------------------------------