├── Aarogya ├── car-listing.php ├── carrental.sql ├── check_availability.php ├── contact-us.php ├── index.php ├── logout.php ├── my-booking.php ├── my-testimonials.php ├── page.php ├── post-testimonial.php ├── profile.php ├── search-carresult.php ├── update-password.php └── vehical-details.php ├── LICENSE ├── Project_deployment_steps.md ├── README.md ├── SECURITY.md ├── _config.yml ├── admin ├── change-password.php ├── changeimage1.php ├── changeimage2.php ├── changeimage3.php ├── changeimage4.php ├── changeimage5.php ├── create-brand.php ├── css │ ├── awesome-bootstrap-checkbox.css │ ├── bootstrap-select.css │ ├── bootstrap-social.css │ ├── bootstrap.min.css │ ├── css │ │ └── vars.css │ ├── dataTables.bootstrap.min.css │ ├── datatables.min.css │ ├── fileinput.min.css │ ├── font-awesome.min.css │ ├── jquery.dataTables.min.css │ ├── less │ │ ├── components.less │ │ └── vars.less │ ├── style.css │ └── style.less ├── dashboard.php ├── edit-brand.php ├── edit-vehicle.php ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2 │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── img │ ├── login-bg.png │ ├── logo.jpg │ ├── ts-avatar.png │ └── vehicleimages │ │ ├── about_us_img2.jpg │ │ ├── about_us_img4.jpg │ │ ├── addmore_img.png │ │ ├── banner-image-1.png │ │ ├── banner-image.png │ │ ├── blog_img-2.jpg │ │ ├── dealer-logo.jpg │ │ ├── favicon.png │ │ ├── featured-img-3.jpg │ │ ├── knowledge_base_bg.jpg │ │ ├── recent-car-3.jpg │ │ └── social-icons.png ├── includes │ ├── config.php │ ├── header.php │ └── leftbar.php ├── index.php ├── js │ ├── Chart.min.js │ ├── bootstrap-select.js │ ├── bootstrap-select.min.js │ ├── bootstrap.js │ ├── bootstrap.min.js │ ├── chartData.js │ ├── dataTables.bootstrap.min.js │ ├── fileinput.js │ ├── jquery.dataTables.min.js │ ├── jquery.min.js │ └── main.js ├── logout.php ├── manage-bookings.php ├── manage-brands.php ├── manage-conactusquery.php ├── manage-pages.php ├── manage-subscribers.php ├── manage-vehicles.php ├── nicEdit.js ├── nicEditorIcons.gif ├── post-avehical.php ├── reg-users.php ├── testimonials.php └── update-contactinfo.php ├── assets ├── css │ ├── bootstrap-slider.min.css │ ├── bootstrap.min.css │ ├── font-awesome.min.css │ ├── grabbing.html │ ├── owl.carousel.css │ ├── owl.transitions.css │ ├── slick.css │ └── style.css ├── fonts │ ├── fontawesome-webfont3e6e.eot │ ├── fontawesome-webfont3e6e.html │ ├── fontawesome-webfont3e6e.svg │ ├── fontawesome-webfont3e6e.ttf │ ├── fontawesome-webfont3e6e.woff │ ├── fontawesome-webfontd41d.eot │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.html │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regulard41d.eot ├── images │ ├── about_us_faq_bg.jpg │ ├── about_us_img1.jpg │ ├── about_us_img2.jpg │ ├── about_us_img3.jpg │ ├── about_us_img4.jpg │ ├── aboutus-page-header-img.jpg │ ├── addmore_img.png │ ├── banner-image-1.jpg │ ├── banner-image-2.jpg │ ├── banner-image.png │ ├── blog_img-1.jpg │ ├── blog_img-2.jpg │ ├── blog_img3.jpg │ ├── blog_img4.jpg │ ├── brand-logo-1.png │ ├── brand-logo-2.png │ ├── brand-logo-3.png │ ├── brand-logo-4.png │ ├── brand-logo-5.png │ ├── car_755x430.jpg │ ├── cat-profile.png │ ├── change_logo.png │ ├── coming_soon_bg.jpg │ ├── comment-author-1.jpg │ ├── comment-author-2.jpg │ ├── comment-author-3.jpg │ ├── compare-page-header-img.jpg │ ├── contact-page-header-img.jpg │ ├── dealer-logo.jpg │ ├── dealer_img.jpg │ ├── favicon-icon │ │ ├── apple-touch-icon-114-precomposed.html │ │ ├── apple-touch-icon-144-precomposed.png │ │ ├── apple-touch-icon-57-precomposed.png │ │ ├── apple-touch-icon-72-precomposed.png │ │ └── favicon.png │ ├── featured-img-2.jpg │ ├── featured-img-3.jpg │ ├── knowledge_base_bg.jpg │ ├── listing-page-header-img.jpg │ ├── logo.png │ ├── our_team_1.jpg │ ├── our_team_2.jpg │ ├── our_team_3.jpg │ ├── recent-car-2.jpg │ ├── recent-car-3.jpg │ ├── recent-car-4.jpg │ ├── recent-car-5.jpg │ ├── recent-car-6.jpg │ ├── testimonial-bg.jpg │ ├── trending-car-img1.jpg │ ├── trending-car-img2.jpg │ └── trending-car-img3.jpg ├── js │ ├── bootstrap-slider.min.js │ ├── bootstrap.min.js │ ├── countdown_date.js │ ├── interface.js │ ├── jquery.countdown.min.js │ ├── jquery.min.js │ ├── owl.carousel.min.js │ └── slick.min.js └── switcher │ ├── css │ ├── blue.css │ ├── green.css │ ├── orange.css │ ├── pink.css │ ├── purple.css │ ├── red.css │ └── switcher.css │ └── js │ └── switcher.js ├── car-listing.php ├── carrental.sql ├── check_availability.php ├── contact-us.php ├── images ├── arrow-down.png └── octocat-small.png ├── includes ├── colorswitcher.php ├── config.php ├── footer.php ├── forgotpassword.php ├── header.php ├── login.php ├── registration.php └── sidebar.php ├── index.html ├── index.php ├── javascripts └── scale.fix.js ├── logout.php ├── my-booking.php ├── my-testimonials.php ├── page.php ├── params.json ├── post-testimonial.php ├── profile.php ├── search-carresult.php ├── stylesheets ├── github-light.css └── styles.css ├── update-password.php └── vehical-details.php /Aarogya/check_availability.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 13 | $query-> bindParam(':email', $email, PDO::PARAM_STR); 14 | $query-> execute(); 15 | $results = $query -> fetchAll(PDO::FETCH_OBJ); 16 | $cnt=1; 17 | if($query -> rowCount() > 0) 18 | { 19 | echo " Email already exists ."; 20 | echo ""; 21 | } else{ 22 | 23 | echo " Email available for Registration ."; 24 | echo ""; 25 | } 26 | } 27 | } 28 | 29 | 30 | ?> 31 | -------------------------------------------------------------------------------- /Aarogya/logout.php: -------------------------------------------------------------------------------- 1 | 15 | 16 | -------------------------------------------------------------------------------- /Aarogya/page.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 24x7 Ambulance Booking | Aarogya Services| Page details 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 | 51 | 52 | 53 | 54 | prepare($sql); 58 | $query->bindParam(':pagetype',$pagetype,PDO::PARAM_STR); 59 | $query->execute(); 60 | $results=$query->fetchAll(PDO::FETCH_OBJ); 61 | $cnt=1; 62 | if($query->rowCount() > 0) 63 | { 64 | foreach($results as $result) 65 | { ?> 66 | 81 |
82 |
83 |
84 | 85 | 86 |

PageName); ?>

87 |

detail; ?>

88 |
89 | 90 |
91 |
92 | 93 | 94 | 95 | 96 | 97 | 98 | < 99 | 100 | 101 | 102 | 103 |
104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 SAHELI BASU 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Project_deployment_steps.md: -------------------------------------------------------------------------------- 1 | ### Aarogya Ambulance Booking Service ``aarogya_v1.2`` 2 | 3 | # Run the Application Locally 4 | 5 | `Be sure to use the exact versions of the softwares/services for optimum performance of the project.` 6 | 7 | *Some functions may not work otherwise.* 8 | 9 | ## Requirements 10 | 11 | - XAMPP : 12 | - Download compatible version from [here](https://www.apachefriends.org/download.html) 13 | 14 | - phpMyAdmin : _version 4.4.14_ 15 | - Download _version 4.4.14_ from [here](https://www.phpmyadmin.net/files/4.4.14.1/) 16 | - #### For latest version [visit](http://www.phpmyadmin.net) 17 | 18 | - Host: 127.0.0.1 19 | - Server version: 5.6.26 20 | - PHP Version: 5.5.28 21 | 22 | ### Extract this -> [aarogya_v1.2.zip](https://github.com/MehaRima/aarogya_v1.2/blob/master/aarogya_v1.2.zip) 23 | 24 | ### _Steps_ 25 | 26 | 1.Download the zip file `aarogya_v1.2.zip` 27 | 28 | 2.Don't change any name of the files. 29 | 30 | 3.Extract the folder `aarogya_v1.2` under `C:>htdocs` as `C:>htdocs>aarogya_v1.2` 31 | 32 | 4.Type this in web browser 33 | - http://localhost:85/aarogya_v1.2/ (80/8080 can be used in place of 85 if port allocation problem arises) 34 | 35 | 5.Go to Xampp control Panel and *Start* `Apache` & `MySQL` 36 | 37 | 6.Again,type in browser 38 | - http://localhost:85/phpmyadmin/ 39 | 40 | 7.Create a database: `aarogya_v1.2_db` 41 | 42 | 8.Import file: [aarogya_v1.2_db.sql](https://github.com/MehaRima/aarogya_v1.2/blob/master/aarogya_v1.2_db.sql) in the Import section of the database created. 43 | 44 | 9.Save 45 | 46 | 10.Browse the `Aarogya Ambulance Booking Service` Web Application 47 | 48 | ### Login credentials 49 | 50 | #### Admin 51 | - Username :- *admin* 52 | - Password :- *admin* 53 | 54 | #### User 55 | - Username/Email :- *sb@g.com* 56 | - Password :- *sb@g* 57 | 58 | ### In case the above mentioned admin isn't accessible , please create one of your own in the database under the table name : admin. 59 | ` Similarly for the user , create one entry of your own in the database under the table name : tblusers ` 60 | 61 | 62 | 63 | ### Sincerely 64 | 65 | ### _SAHELI BASU_ ! 66 | 67 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # AAROGYA 2 | *Online Ambulance Booking Service* 3 | ### [GitHub Repository link](https://meharima.github.io/online_ambulance_booking_service/) 4 | ![Aarogya ](https://github.com/MehaRima/online_ambulance_booking_service/blob/master/assets/images/logo.png) 5 | 6 | [Project Demo ](https://youtu.be/156Att0_Ndk) 7 | 8 | [Video Guide to run the project](https://youtube.com/playlist?list=PLH7HLHxxM274iXlk-DZAVhq6y-7J-XYs0) 9 | 10 | 11 | Updates on 12 | **[this repository](https://meharima.github.io/aarogya_v1.2/)** 13 | contains all the documents whose links are given below alongwith the zip file for easy downloading. 14 | 15 | ## Steps to run this project 16 | [Steps to run this project](https://github.com/MehaRima/online_ambulance_booking_service/blob/master/Project_deployment_steps.md) 17 | 18 | 19 | 20 | ___________________________________________________________________________ 21 | 22 | 23 | # Online Ambulance Booking Service 24 | 25 | This ambulance booking website is based on 26 | ### Php,MySql for creating the back end *and* Html,Css,Js as the front end part of the service required for university major web project 27 | 28 | - Initial update : 21.04.2020 29 | - GitHub page : 20.06.2020 30 | - [GitHub Page link](https://meharima.github.io/online_ambulance_booking_service/) 31 | - Final updates : 30.06.2020 32 | 33 | ## Be respectful when you communicate ## 34 | 35 | *Ask for help,get the help.* 36 | 37 | **But don't infringe ,that's an earnest request.** 38 | 39 | **Please note:This is the updated version of the project created as a part of Final Year Project** 40 | 41 | *** 42 | 43 | ### Connect with creator 44 | [Saheli Basu](https://www.linkedin.com/in/saheli-basu/) 45 | 46 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Supported Versions 4 | 5 | Use this section to tell people about which versions of your project are 6 | currently being supported with security updates. 7 | 8 | | Version | Supported | 9 | | ------- | ------------------ | 10 | | 5.1.x | :white_check_mark: | 11 | | 5.0.x | :x: | 12 | | 4.0.x | :white_check_mark: | 13 | | < 4.0 | :x: | 14 | 15 | ## Reporting a Vulnerability 16 | 17 | Use this section to tell people how to report a vulnerability. 18 | 19 | Tell them where to go, how often they can expect to get an update on a 20 | reported vulnerability, what to expect if the vulnerability is accepted or 21 | declined, etc. 22 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-leap-day 2 | -------------------------------------------------------------------------------- /admin/changeimage1.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 18 | $query->bindParam(':vimage1',$vimage1,PDO::PARAM_STR); 19 | $query->bindParam(':id',$id,PDO::PARAM_STR); 20 | $query->execute(); 21 | 22 | $msg="Image updated successfully"; 23 | 24 | 25 | 26 | } 27 | ?> 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | Car Rental Portal | Admin Update Image 1 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 76 | 77 | 78 | 79 | 80 | 81 | 82 |
83 | 84 |
85 |
86 | 87 |
88 |
89 | 90 |

Vehicle Image 1

91 | 92 |
93 |
94 |
95 |
Vehicle Image 1 Details
96 |
97 |
98 | 99 | 100 |
ERROR:
SUCCESS:
102 | 103 | 104 | 105 |
106 | 107 | prepare($sql); 111 | $query-> bindParam(':id', $id, PDO::PARAM_STR); 112 | $query->execute(); 113 | $results=$query->fetchAll(PDO::FETCH_OBJ); 114 | $cnt=1; 115 | if($query->rowCount() > 0) 116 | { 117 | foreach($results as $result) 118 | { ?> 119 | 120 |
121 | 122 |
123 | 124 |
125 | 126 |
127 | 128 |
129 | 130 |
131 |
132 |
133 | 134 | 135 | 136 | 137 |
138 |
139 | 140 | 141 |
142 |
143 | 144 |
145 | 146 |
147 |
148 |
149 | 150 |
151 | 152 | 153 | 154 |
155 |
156 | 157 | 158 |
159 |
160 |
161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | -------------------------------------------------------------------------------- /admin/changeimage2.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 18 | $query->bindParam(':vimage',$vimage,PDO::PARAM_STR); 19 | $query->bindParam(':id',$id,PDO::PARAM_STR); 20 | $query->execute(); 21 | 22 | $msg="Image updated successfully"; 23 | 24 | 25 | 26 | } 27 | ?> 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | Car Rental Portal | Admin Update Image 2 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 76 | 77 | 78 | 79 | 80 | 81 | 82 |
83 | 84 |
85 |
86 | 87 |
88 |
89 | 90 |

Vehicle Image 2

91 | 92 |
93 |
94 |
95 |
Vehicle Image 2 Details
96 |
97 |
98 | 99 | 100 |
ERROR:
SUCCESS:
102 | 103 | 104 | 105 |
106 | 107 | prepare($sql); 111 | $query-> bindParam(':id', $id, PDO::PARAM_STR); 112 | $query->execute(); 113 | $results=$query->fetchAll(PDO::FETCH_OBJ); 114 | $cnt=1; 115 | if($query->rowCount() > 0) 116 | { 117 | foreach($results as $result) 118 | { ?> 119 | 120 |
121 | 122 |
123 | 124 |
125 | 126 |
127 | 128 |
129 | 130 |
131 |
132 |
133 | 134 | 135 | 136 | 137 |
138 |
139 | 140 | 141 |
142 |
143 | 144 |
145 | 146 |
147 |
148 |
149 | 150 |
151 | 152 | 153 | 154 |
155 |
156 | 157 | 158 |
159 |
160 |
161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | -------------------------------------------------------------------------------- /admin/changeimage3.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 18 | $query->bindParam(':vimage',$vimage,PDO::PARAM_STR); 19 | $query->bindParam(':id',$id,PDO::PARAM_STR); 20 | $query->execute(); 21 | 22 | $msg="Image updated successfully"; 23 | 24 | 25 | 26 | } 27 | ?> 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | Car Rental Portal | Admin Update Image 3 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 76 | 77 | 78 | 79 | 80 | 81 | 82 |
83 | 84 |
85 |
86 | 87 |
88 |
89 | 90 |

Vehicle Image 3

91 | 92 |
93 |
94 |
95 |
Vehicle Image 3 Details
96 |
97 |
98 | 99 | 100 |
ERROR:
SUCCESS:
102 | 103 | 104 | 105 |
106 | 107 | prepare($sql); 111 | $query-> bindParam(':id', $id, PDO::PARAM_STR); 112 | $query->execute(); 113 | $results=$query->fetchAll(PDO::FETCH_OBJ); 114 | $cnt=1; 115 | if($query->rowCount() > 0) 116 | { 117 | foreach($results as $result) 118 | { ?> 119 | 120 |
121 | 122 |
123 | 124 |
125 | 126 |
127 | 128 |
129 | 130 |
131 |
132 |
133 | 134 | 135 | 136 | 137 |
138 |
139 | 140 | 141 |
142 |
143 | 144 |
145 | 146 |
147 |
148 |
149 | 150 |
151 | 152 | 153 | 154 |
155 |
156 | 157 | 158 |
159 |
160 |
161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | -------------------------------------------------------------------------------- /admin/changeimage4.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 18 | $query->bindParam(':vimage',$vimage,PDO::PARAM_STR); 19 | $query->bindParam(':id',$id,PDO::PARAM_STR); 20 | $query->execute(); 21 | 22 | $msg="Image updated successfully"; 23 | 24 | 25 | 26 | } 27 | ?> 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | Car Rental Portal | Admin Update Image 4 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 76 | 77 | 78 | 79 | 80 | 81 | 82 |
83 | 84 |
85 |
86 | 87 |
88 |
89 | 90 |

Vehicle Image 4

91 | 92 |
93 |
94 |
95 |
Vehicle Image 4 Details
96 |
97 |
98 | 99 | 100 |
ERROR:
SUCCESS:
102 | 103 | 104 | 105 |
106 | 107 | prepare($sql); 111 | $query-> bindParam(':id', $id, PDO::PARAM_STR); 112 | $query->execute(); 113 | $results=$query->fetchAll(PDO::FETCH_OBJ); 114 | $cnt=1; 115 | if($query->rowCount() > 0) 116 | { 117 | foreach($results as $result) 118 | { ?> 119 | 120 |
121 | 122 |
123 | 124 |
125 | 126 |
127 | 128 |
129 | 130 |
131 |
132 |
133 | 134 | 135 | 136 | 137 |
138 |
139 | 140 | 141 |
142 |
143 | 144 |
145 | 146 |
147 |
148 |
149 | 150 |
151 | 152 | 153 | 154 |
155 |
156 | 157 | 158 |
159 |
160 |
161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | -------------------------------------------------------------------------------- /admin/changeimage5.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 18 | $query->bindParam(':vimage',$vimage,PDO::PARAM_STR); 19 | $query->bindParam(':id',$id,PDO::PARAM_STR); 20 | $query->execute(); 21 | 22 | $msg="Image updated successfully"; 23 | 24 | 25 | 26 | } 27 | ?> 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | Car Rental Portal | Admin Update Image 5 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 76 | 77 | 78 | 79 | 80 | 81 | 82 |
83 | 84 |
85 |
86 | 87 |
88 |
89 | 90 |

Vehicle Image 5

91 | 92 |
93 |
94 |
95 |
Vehicle Image 5 Details
96 |
97 |
98 | 99 | 100 |
ERROR:
SUCCESS:
102 | 103 | 104 | 105 |
106 | 107 | prepare($sql); 111 | $query-> bindParam(':id', $id, PDO::PARAM_STR); 112 | $query->execute(); 113 | $results=$query->fetchAll(PDO::FETCH_OBJ); 114 | $cnt=1; 115 | if($query->rowCount() > 0) 116 | { 117 | foreach($results as $result) 118 | { ?> 119 | 120 |
121 | 122 |
123 | 124 |
125 | 126 |
127 | 128 |
129 | 130 |
131 |
132 |
133 | 134 | 135 | 136 | 137 |
138 |
139 | 140 | 141 |
142 |
143 | 144 |
145 | 146 |
147 |
148 |
149 | 150 |
151 | 152 | 153 | 154 |
155 |
156 | 157 | 158 |
159 |
160 |
161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | -------------------------------------------------------------------------------- /admin/create-brand.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 16 | $query->bindParam(':brand',$brand,PDO::PARAM_STR); 17 | $query->execute(); 18 | $lastInsertId = $dbh->lastInsertId(); 19 | if($lastInsertId) 20 | { 21 | $msg="Brand Created successfully"; 22 | } 23 | else 24 | { 25 | $error="Something went wrong. Please try again"; 26 | } 27 | 28 | } 29 | ?> 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | Car Rental Portal | Admin Create Brand 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 78 | 79 | 80 | 81 | 82 | 83 | 84 |
85 | 86 |
87 |
88 | 89 |
90 |
91 | 92 |

Create Brand

93 | 94 |
95 |
96 |
97 |
Form fields
98 |
99 |
100 | 101 | 102 |
ERROR:
SUCCESS:
104 |
105 | 106 |
107 | 108 |
109 |
110 |
111 | 112 | 113 | 114 | 115 |
116 |
117 | 118 | 119 |
120 |
121 | 122 |
123 | 124 |
125 |
126 |
127 | 128 |
129 | 130 | 131 | 132 |
133 |
134 | 135 | 136 |
137 |
138 |
139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | -------------------------------------------------------------------------------- /admin/css/css/vars.css: -------------------------------------------------------------------------------- 1 | @import url(http://fonts.googleapis.com/css?family=Lato:300,400,700,900,100italic,300italic,400italic); 2 | @import url(https://fonts.googleapis.com/css?family=Oswald:700,400,300); 3 | -------------------------------------------------------------------------------- /admin/css/dataTables.bootstrap.min.css: -------------------------------------------------------------------------------- 1 | table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px !important;max-width:none !important}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{width:75px;display:inline-block}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:0.5em;display:inline-block;width:auto}div.dataTables_wrapper div.dataTables_info{padding-top:8px;white-space:nowrap}div.dataTables_wrapper div.dataTables_paginate{margin:0;white-space:nowrap;text-align:right}div.dataTables_wrapper div.dataTables_paginate ul.pagination{margin:2px 0;white-space:nowrap}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:30px}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;position:relative}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{position:absolute;bottom:8px;right:8px;display:block;font-family:'Glyphicons Halflings';opacity:0.5}table.dataTable thead .sorting:after{opacity:0.2;content:"\e150"}table.dataTable thead .sorting_asc:after{content:"\e155"}table.dataTable thead .sorting_desc:after{content:"\e156"}table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{color:#eee}div.dataTables_scrollHead table.dataTable{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_desc:after{display:none}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot table{margin-top:0 !important;border-top:none}@media screen and (max-width: 767px){div.dataTables_wrapper div.dataTables_length,div.dataTables_wrapper div.dataTables_filter,div.dataTables_wrapper div.dataTables_info,div.dataTables_wrapper div.dataTables_paginate{text-align:center}}table.dataTable.table-condensed>thead>tr>th{padding-right:20px}table.dataTable.table-condensed .sorting:after,table.dataTable.table-condensed .sorting_asc:after,table.dataTable.table-condensed .sorting_desc:after{top:6px;right:6px}table.table-bordered.dataTable{border-collapse:separate !important}table.table-bordered.dataTable th,table.table-bordered.dataTable td{border-left-width:0}table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable td:last-child,table.table-bordered.dataTable td:last-child{border-right-width:0}table.table-bordered.dataTable tbody th,table.table-bordered.dataTable tbody td{border-bottom-width:0}div.dataTables_scrollHead table.table-bordered{border-bottom-width:0}div.table-responsive>div.dataTables_wrapper>div.row{margin:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:first-child{padding-left:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:last-child{padding-right:0} 2 | -------------------------------------------------------------------------------- /admin/css/fileinput.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015 3 | * @package bootstrap-fileinput 4 | * @version 4.2.6 5 | * 6 | * File input styling for Bootstrap 3.0 7 | * Built for Yii Framework 2.0 8 | * Author: Kartik Visweswaran 9 | * Year: 2015 10 | * For more Yii related demos visit http://demos.krajee.com 11 | */.file-input{overflow-x:auto}.file-loading{top:0;right:0;width:25px;height:25px;font-size:999px;text-align:right;color:#fff;background:transparent url(../img/loading.gif) top left no-repeat;border:none}.btn-file{position:relative;overflow:hidden}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;text-align:right;filter:alpha(opacity=0);opacity:0;background:none repeat scroll 0 0 transparent;cursor:inherit;display:block}.file-caption .glyphicon{display:inline-block;min-width:18px;margin-top:2px}.file-caption-name{display:inline-block;overflow:hidden;padding-right:10px;word-break:break-all}.file-caption-ellipsis{position:absolute;right:10px;margin-top:-6px;font-size:1.2em;display:none;font-weight:700;cursor:default}.kv-has-ellipsis .file-caption-ellipsis{display:inline}.kv-has-ellipsis{padding-right:17px}.kv-search-container .kv-search-clear{position:absolute;padding:10px;right:0}.file-error-message{background-color:#f2dede;color:#a94442;text-align:center;border-radius:5px;padding:5px}.file-error-message pre,.file-error-message ul{margin:5px 0;text-align:left}.file-caption-disabled{background-color:#EEE;cursor:not-allowed;opacity:1}.file-input .btn .disabled,.file-input .btn[disabled]{cursor:not-allowed}.file-preview{border-radius:5px;border:1px solid #ddd;padding:5px;width:100%;margin-bottom:5px}.file-preview-frame{display:table;margin:8px;height:160px;border:1px solid #ddd;box-shadow:1px 1px 5px 0 #a2958a;padding:6px;float:left;text-align:center;vertical-align:middle}.file-preview-frame:hover{box-shadow:3px 3px 5px 0 #333}.file-preview-image{height:160px;vertical-align:text-center}.file-preview-text{width:160px;color:#428bca;font-size:11px;text-align:center}.file-preview-other{padding-top:48px;text-align:center}.file-preview-other i{font-size:2.4em}.file-other-error{width:100%;padding-top:30px;text-align:right}.file-input-ajax-new .fileinput-remove-button,.file-input-ajax-new .fileinput-upload-button,.file-input-new .close,.file-input-new .file-preview,.file-input-new .fileinput-remove-button,.file-input-new .fileinput-upload-button,.file-input-new .glyphicon-file{display:none}.loading{background:transparent url(../img/loading.gif) no-repeat scroll center center content-box!important}.wrap-indicator{font-weight:700;color:#245269;cursor:pointer}.file-actions{text-align:left}.file-footer-buttons{float:right}.file-thumbnail-footer .file-caption-name{padding-top:4px;font-size:11px;color:#777}.file-upload-indicator{padding-top:2px;cursor:default}.file-upload-indicator:hover{font-size:1.2em;font-weight:700;padding-top:0}.file-drop-zone{border:1px dashed #aaa;border-radius:4px;height:100%;text-align:center;vertical-align:middle;margin:12px 15px 12px 12px;padding:5px}.file-drop-zone-title{color:#aaa;font-size:40px;padding:85px 10px}.highlighted{border:2px dashed #999!important;background-color:#f0f0f0}.file-uploading{background-image:url(../img/loading-sm.gif);background-position:center bottom 10px;background-repeat:no-repeat;opacity:.6}.file-icon-large{font-size:1.2em} -------------------------------------------------------------------------------- /admin/css/less/vars.less: -------------------------------------------------------------------------------- 1 | // Import Fonts 2 | @import url(http://fonts.googleapis.com/css?family=Lato:300,400,700,900,100italic,300italic,400italic); 3 | @import url(https://fonts.googleapis.com/css?family=Oswald:700,400,300); 4 | 5 | @secondary-font: 'Lato', sans-serif; 6 | //@secondary-font: 'Oswald', sans-serif; 7 | @primary-font: 'Oswald', sans-serif; 8 | 9 | 10 | // Layout Breakpoints 11 | @highdensity: ~"only screen and (-webkit-min-device-pixel-ratio: 1.5)", 12 | ~"only screen and (min--moz-device-pixel-ratio: 1.5)", 13 | ~"only screen and (-o-min-device-pixel-ratio: 3/2)", 14 | ~"only screen and (min-device-pixel-ratio: 1.5)"; 15 | @mobile: ~"only screen and (max-width: 479px)"; 16 | @tablet: ~"only screen and (min-width: 480px)"; 17 | @desktop: ~"only screen and (min-width: 992px)"; 18 | @desktop-xl: ~"only screen and (min-width: 1200px)"; 19 | 20 | // Brand Colors 21 | @background: #fff; 22 | @color1: #37a6c4; 23 | @color2: #ff962f; 24 | @color3: #25292a; 25 | 26 | 27 | @color-primary: #325d88; 28 | @color-success: #93c54b; 29 | @color-warning: #f47c3c; 30 | @color-danger: #d9534f; 31 | @color-info: #29abe0; 32 | 33 | @selection: #4f5362; -------------------------------------------------------------------------------- /admin/edit-brand.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 17 | $query->bindParam(':brand',$brand,PDO::PARAM_STR); 18 | $query->bindParam(':id',$id,PDO::PARAM_STR); 19 | $query->execute(); 20 | $lastInsertId = $dbh->lastInsertId(); 21 | 22 | $msg="Brand updted successfully"; 23 | 24 | } 25 | ?> 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | Car Rental Portal | Admin Create Brand 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 74 | 75 | 76 | 77 | 78 | 79 | 80 |
81 | 82 |
83 |
84 | 85 |
86 |
87 | 88 |

Create Brand

89 | 90 |
91 |
92 |
93 |
Form fields
94 |
95 |
96 | 97 | 98 |
ERROR:
SUCCESS:
100 | 101 | prepare($ret); 105 | $query->bindParam(':id',$id, PDO::PARAM_STR); 106 | $query-> execute(); 107 | $results = $query -> fetchAll(PDO::FETCH_OBJ); 108 | $cnt=1; 109 | if($query -> rowCount() > 0) 110 | { 111 | foreach($results as $result) 112 | { 113 | ?> 114 | 115 |
116 | 117 |
118 | 119 |
120 |
121 |
122 | 123 | 124 | 125 | 126 |
127 |
128 | 129 | 130 |
131 |
132 | 133 |
134 | 135 |
136 |
137 |
138 | 139 |
140 | 141 | 142 | 143 |
144 |
145 | 146 | 147 |
148 |
149 |
150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | -------------------------------------------------------------------------------- /admin/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /admin/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /admin/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /admin/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /admin/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /admin/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /admin/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /admin/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /admin/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /admin/img/login-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/img/login-bg.png -------------------------------------------------------------------------------- /admin/img/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/img/logo.jpg -------------------------------------------------------------------------------- /admin/img/ts-avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/img/ts-avatar.png -------------------------------------------------------------------------------- /admin/img/vehicleimages/about_us_img2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/img/vehicleimages/about_us_img2.jpg -------------------------------------------------------------------------------- /admin/img/vehicleimages/about_us_img4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/img/vehicleimages/about_us_img4.jpg -------------------------------------------------------------------------------- /admin/img/vehicleimages/addmore_img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/img/vehicleimages/addmore_img.png -------------------------------------------------------------------------------- /admin/img/vehicleimages/banner-image-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/img/vehicleimages/banner-image-1.png -------------------------------------------------------------------------------- /admin/img/vehicleimages/banner-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/img/vehicleimages/banner-image.png -------------------------------------------------------------------------------- /admin/img/vehicleimages/blog_img-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/img/vehicleimages/blog_img-2.jpg -------------------------------------------------------------------------------- /admin/img/vehicleimages/dealer-logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/img/vehicleimages/dealer-logo.jpg -------------------------------------------------------------------------------- /admin/img/vehicleimages/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/img/vehicleimages/favicon.png -------------------------------------------------------------------------------- /admin/img/vehicleimages/featured-img-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/img/vehicleimages/featured-img-3.jpg -------------------------------------------------------------------------------- /admin/img/vehicleimages/knowledge_base_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/img/vehicleimages/knowledge_base_bg.jpg -------------------------------------------------------------------------------- /admin/img/vehicleimages/recent-car-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/img/vehicleimages/recent-car-3.jpg -------------------------------------------------------------------------------- /admin/img/vehicleimages/social-icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MehaRima/online_ambulance_booking_service/272f77053f5fa9ed8d996220b8c34e6998309a16/admin/img/vehicleimages/social-icons.png -------------------------------------------------------------------------------- /admin/includes/config.php: -------------------------------------------------------------------------------- 1 | "SET NAMES 'utf8'")); 11 | } 12 | catch (PDOException $e) 13 | { 14 | exit("Error: " . $e->getMessage()); 15 | } 16 | ?> -------------------------------------------------------------------------------- /admin/includes/header.php: -------------------------------------------------------------------------------- 1 |
2 | Aarogya Service Portal | Admin Panel 3 | 4 | 14 |
15 | -------------------------------------------------------------------------------- /admin/includes/leftbar.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /admin/index.php: -------------------------------------------------------------------------------- 1 | prepare($sql); 10 | $query-> bindParam(':email', $email, PDO::PARAM_STR); 11 | $query-> bindParam(':password', $password, PDO::PARAM_STR); 12 | $query-> execute(); 13 | $results=$query->fetchAll(PDO::FETCH_OBJ); 14 | if($query->rowCount() > 0) 15 | { 16 | $_SESSION['alogin']=$_POST['username']; 17 | echo ""; 18 | } else{ 19 | 20 | echo ""; 21 | 22 | } 23 | 24 | } 25 | 26 | ?> 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | Service Portal | Admin Login 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |
51 |
52 |
53 |
54 |
55 |

Sign in

56 |
57 |
58 |
59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /admin/js/chartData.js: -------------------------------------------------------------------------------- 1 | var swirlData = { 2 | labels: ["January", "February", "March", "April", "May", "June", "July"], 3 | datasets: [ 4 | { 5 | label: "My First dataset", 6 | fillColor: "rgba(220,220,220,0.2)", 7 | strokeColor: "rgba(220,220,220,1)", 8 | pointColor: "rgba(220,220,220,1)", 9 | pointStrokeColor: "#fff", 10 | pointHighlightFill: "#fff", 11 | pointHighlightStroke: "rgba(220,220,220,1)", 12 | data: [65, 59, 80, 81, 56, 55, 40] 13 | }, 14 | { 15 | label: "My Second dataset", 16 | fillColor: "rgba(151,187,205,0.2)", 17 | strokeColor: "rgba(151,187,205,1)", 18 | pointColor: "rgba(151,187,205,1)", 19 | pointStrokeColor: "#fff", 20 | pointHighlightFill: "#fff", 21 | pointHighlightStroke: "rgba(151,187,205,1)", 22 | data: [28, 48, 40, 19, 86, 27, 90] 23 | } 24 | ] 25 | }; 26 | 27 | var doughnutData = [ 28 | { 29 | value: 300, 30 | color:"#F7464A", 31 | highlight: "#FF5A5E", 32 | label: "Red" 33 | }, 34 | { 35 | value: 50, 36 | color: "#46BFBD", 37 | highlight: "#5AD3D1", 38 | label: "Green" 39 | }, 40 | { 41 | value: 100, 42 | color: "#FDB45C", 43 | highlight: "#FFC870", 44 | label: "Yellow" 45 | } 46 | ] 47 | 48 | var radarData = { 49 | labels: ["Eating", "Drinking", "Sleeping", "Designing", "Coding", "Cycling", "Running"], 50 | datasets: [ 51 | { 52 | label: "My First dataset", 53 | fillColor: "rgba(220,220,220,0.2)", 54 | strokeColor: "rgba(220,220,220,1)", 55 | pointColor: "rgba(220,220,220,1)", 56 | pointStrokeColor: "#fff", 57 | pointHighlightFill: "#fff", 58 | pointHighlightStroke: "rgba(220,220,220,1)", 59 | data: [65, 59, 90, 81, 56, 55, 40] 60 | }, 61 | { 62 | label: "My Second dataset", 63 | fillColor: "rgba(151,187,205,0.2)", 64 | strokeColor: "rgba(151,187,205,1)", 65 | pointColor: "rgba(151,187,205,1)", 66 | pointStrokeColor: "#fff", 67 | pointHighlightFill: "#fff", 68 | pointHighlightStroke: "rgba(151,187,205,1)", 69 | data: [28, 48, 40, 19, 96, 27, 100] 70 | } 71 | ] 72 | }; 73 | 74 | 75 | var polarData = [ 76 | { 77 | value: 300, 78 | color:"#F7464A", 79 | highlight: "#FF5A5E", 80 | label: "Red" 81 | }, 82 | { 83 | value: 50, 84 | color: "#46BFBD", 85 | highlight: "#5AD3D1", 86 | label: "Green" 87 | }, 88 | { 89 | value: 100, 90 | color: "#FDB45C", 91 | highlight: "#FFC870", 92 | label: "Yellow" 93 | }, 94 | { 95 | value: 40, 96 | color: "#949FB1", 97 | highlight: "#A8B3C5", 98 | label: "Grey" 99 | }, 100 | { 101 | value: 120, 102 | color: "#4D5360", 103 | highlight: "#616774", 104 | label: "Dark Grey" 105 | } 106 | 107 | ]; 108 | 109 | var barChartData = { 110 | labels: ["January", "February", "March", "April", "May", "June", "July"], 111 | datasets: [ 112 | { 113 | label: "My First dataset", 114 | fillColor: "rgba(220,220,220,0.5)", 115 | strokeColor: "rgba(220,220,220,0.8)", 116 | highlightFill: "rgba(220,220,220,0.75)", 117 | highlightStroke: "rgba(220,220,220,1)", 118 | data: [65, 59, 80, 81, 56, 55, 40] 119 | }, 120 | { 121 | label: "My Second dataset", 122 | fillColor: "rgba(151,187,205,0.5)", 123 | strokeColor: "rgba(151,187,205,0.8)", 124 | highlightFill: "rgba(151,187,205,0.75)", 125 | highlightStroke: "rgba(151,187,205,1)", 126 | data: [28, 48, 40, 19, 86, 27, 90] 127 | } 128 | ] 129 | } 130 | -------------------------------------------------------------------------------- /admin/js/dataTables.bootstrap.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | DataTables Bootstrap 3 integration 3 | ©2011-2015 SpryMedia Ltd - datatables.net/license 4 | */ 5 | (function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(a){return b(a,window,document)}):"object"===typeof exports?module.exports=function(a,d){a||(a=window);if(!d||!d.fn.dataTable)d=require("datatables.net")(a,d).$;return b(d,a,a.document)}:b(jQuery,window,document)})(function(b,a,d){var f=b.fn.dataTable;b.extend(!0,f.defaults,{dom:"<'row'<'col-sm-6'l><'col-sm-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-5'i><'col-sm-7'p>>",renderer:"bootstrap"});b.extend(f.ext.classes, 6 | {sWrapper:"dataTables_wrapper form-inline dt-bootstrap",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm",sProcessing:"dataTables_processing panel panel-default"});f.ext.renderer.pageButton.bootstrap=function(a,h,r,m,j,n){var o=new f.Api(a),s=a.oClasses,k=a.oLanguage.oPaginate,t=a.oLanguage.oAria.paginate||{},e,g,p=0,q=function(d,f){var l,h,i,c,m=function(a){a.preventDefault();!b(a.currentTarget).hasClass("disabled")&&o.page()!=a.data.action&&o.page(a.data.action).draw("page")}; 7 | l=0;for(h=f.length;l",{"class":s.sPageButton+" "+g,id:0===r&&"string"===typeof c?a.sTableId+"_"+c:null}).append(b("",{href:"#", 8 | "aria-controls":a.sTableId,"aria-label":t[c],"data-dt-idx":p,tabindex:a.iTabIndex}).html(e)).appendTo(d),a.oApi._fnBindAction(i,{action:c},m),p++)}},i;try{i=b(h).find(d.activeElement).data("dt-idx")}catch(u){}q(b(h).empty().html('