PluginProbe ʕ •ᴥ•ʔ
Tutor LMS – eLearning and online course solution / 2.0.2
Tutor LMS – eLearning and online course solution v2.0.2
4.0.0 3.9.15 3.9.14 3.9.13 3.9.12 3.9.11 trunk 1.0.0 1.0.0-alpha 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.2.0 1.2.1 1.2.11 1.2.12 1.2.13 1.2.20 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.7.7 1.7.8 1.7.9 1.8.0 1.8.1 1.8.10 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.1 1.9.10 1.9.11 1.9.12 1.9.13 1.9.14 1.9.15 1.9.16 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.10 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.10 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.3.0 2.4.0 2.5.0 2.6.0 2.6.1 2.6.2 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 3.0.0 3.0.1 3.0.2 3.1.0 3.2.0 3.2.1 3.2.2 3.2.3 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.7.0 3.7.1 3.7.2 3.7.3 3.7.4 3.8.0 3.8.1 3.8.2 3.8.3 3.9.0 3.9.1 3.9.10 3.9.2 3.9.3 3.9.4 3.9.5 3.9.6 3.9.7 3.9.8 3.9.9
tutor / templates / dashboard / dashboard.php
tutor / templates / dashboard Last commit date
announcements 4 years ago assignments 4 years ago elements 4 years ago enrolled-courses 4 years ago instructor 4 years ago my-courses 4 years ago my-quiz-attempts 4 years ago notifications 4 years ago question-answer 4 years ago quiz-attempts 4 years ago reviews 4 years ago settings 4 years ago withdraw-method-fields 4 years ago announcements.php 4 years ago assignments.php 4 years ago create-course.php 4 years ago dashboard.php 4 years ago enrolled-courses.php 4 years ago index.php 4 years ago logged-in.php 4 years ago my-courses.php 4 years ago my-profile.php 4 years ago my-quiz-attempts.php 4 years ago purchase_history.php 4 years ago question-answer.php 4 years ago quiz-attempts.php 4 years ago registration.php 4 years ago reviews.php 4 years ago settings.php 4 years ago wishlist.php 4 years ago withdraw.php 4 years ago
dashboard.php
398 lines
1 <?php
2
3 /**
4 * @package TutorLMS/Templates
5 * @version 1.4.3
6 */
7
8 if ( tutor_utils()->get_option( 'enable_profile_completion' ) ) {
9 $profile_completion = tutor_utils()->user_profile_completion();
10 $is_instructor = tutor_utils()->is_instructor(null, true);
11 $total_count = count( $profile_completion );
12 $incomplete_count = count(
13 array_filter(
14 $profile_completion,
15 function( $data ) {
16 return ! $data['is_set'];
17 }
18 )
19 );
20 $complete_count = $total_count - $incomplete_count;
21
22 if ( $is_instructor ) {
23 if ( isset($total_count) && isset($incomplete_count) && $incomplete_count <= $total_count ) {
24 ?>
25 <div class="tutor-profile-completion tutor-card tutor-px-32 tutor-py-24 tutor-mb-40">
26 <div class="tutor-row tutor-gx-0">
27 <div class="tutor-col-lg-7 <?php echo tutor_utils()->is_instructor() ? 'tutor-profile-completion-content-admin' : ''; ?>">
28 <div class="tutor-fs-5 tutor-fw-medium tutor-color-black">
29 <?php esc_html_e( 'Complete Your Profile', 'tutor' ); ?>
30 </div>
31
32 <div class="tutor-row tutor-align-center tutor-mt-12">
33 <div class="tutor-col">
34 <div class="tutor-row tutor-gx-1">
35 <?php for ( $i = 1; $i <= $total_count; $i++ ) : ?>
36 <div class="tutor-col">
37 <div class="tutor-progress-bar" style="--tutor-progress-value: <?php echo $i > $complete_count ? 0 : 100; ?>%; height: 8px;"><div class="tutor-progress-value" area-hidden="true"></div></div>
38 </div>
39 <?php endfor; ?>
40 </div>
41 </div>
42
43 <div class="tutor-col-auto">
44 <span class="tutor-round-box tutor-my-n20">
45 <i class="tutor-icon-trophy" area-hidden="true"></i>
46 </span>
47 </div>
48 </div>
49
50 <div class="tutor-fs-6 tutor-mt-20">
51 <?php
52 $profile_complete_text = __("Please complete profile", "tutor");
53 if($complete_count > ( $total_count / 2 ) && $complete_count < $total_count) {
54 $profile_complete_text = __("You are almost done", "tutor");
55 } else if($complete_count === $total_count) {
56 $profile_complete_text = __("Thanks for completing your profile", "tutor");
57 }
58 $profile_complete_status = $profile_complete_text;
59 ?>
60
61 <span class="tutor-color-muted"><?php echo $profile_complete_status ?>:</span>
62 <span><?php echo $complete_count . '/' . $total_count; ?></span>
63 </div>
64 </div>
65
66 <div class="tutor-col-lg-1 tutor-text-center tutor-my-24 tutor-my-lg-n24">
67 <div class="tutor-vr tutor-d-none tutor-d-lg-inline-flex"></div>
68 <div class="tutor-hr tutor-d-flex tutor-d-lg-none"></div>
69 </div>
70
71 <div class="tutor-col-lg-4 tutor-d-flex tutor-flex-column tutor-justify-center">
72 <?php
73 $i = 0;
74 foreach ( $profile_completion as $key => $data ) {
75 $is_set = $data['is_set']; // Whether the step is done or not
76 ?>
77 <div class="tutor-d-flex tutor-align-center<?php echo $i < (count($profile_completion) - 1) ? ' tutor-mb-8' : ''; ?>">
78 <?php if ( $is_set ) : ?>
79 <span class="tutor-icon-circle-mark-line tutor-color-success tutor-mr-8"></span>
80 <?php else : ?>
81 <span class="tutor-icon-circle-times-line tutor-color-warning tutor-mr-8"></span>
82 <?php endif; ?>
83
84 <span class="<?php echo $is_set ? 'tutor-color-secondary' : 'tutor-color-muted'; ?>">
85 <?php echo $data['label_html']; ?>
86 </span>
87 </div>
88 <?php
89 $i++;
90 }
91 ?>
92 </div>
93 </div>
94 </div>
95 <?php
96 }
97 } else {
98 if ( ! $profile_completion['_tutor_profile_photo']['is_set'] ) {
99 $alert_message = sprintf(
100 '<div class="tutor-alert tutor-primary tutor-mb-20">
101 <div class="tutor-alert-text">
102 <span class="tutor-alert-icon tutor-fs-4 tutor-icon-circle-info tutor-mr-12"></span>
103 <span>
104 %s
105 </span>
106 </div>
107 <div class="alert-btn-group">
108 <a href="%s" class="tutor-btn tutor-btn-sm">Click Here</a>
109 </div>
110 </div>',
111 $profile_completion['_tutor_profile_photo']['label_html'],
112 tutor_utils()->tutor_dashboard_url( 'settings' )
113 );
114
115 echo $alert_message;
116 }
117 }
118 }
119 ?>
120
121 <div class="tutor-fs-5 tutor-fw-medium tutor-color-black tutor-capitalize-text tutor-mb-24 tutor-dashboard-title"><?php _e( 'Dashboard', 'tutor' ); ?></div>
122 <div class="tutor-dashboard-content-inner">
123 <?php
124 $enrolled_course = tutor_utils()->get_enrolled_courses_by_user();
125 $completed_courses = tutor_utils()->get_completed_courses_ids_by_user();
126 $total_students = tutor_utils()->get_total_students_by_instructor( get_current_user_id() );
127 $my_courses = tutor_utils()->get_courses_by_instructor( get_current_user_id(), 'publish' );
128 $earning_sum = tutor_utils()->get_earning_sum();
129
130 $enrolled_course_count = $enrolled_course ? $enrolled_course->post_count : 0;
131 $completed_course_count = count( $completed_courses );
132 $active_course_count = $enrolled_course_count - $completed_course_count;
133 $active_course_count < 0 ? $active_course_count = 0 : 0;
134
135 $status_translations = array(
136 'publish' => __( 'Published', 'tutor' ),
137 'pending' => __( 'Pending', 'tutor' ),
138 'trash' => __( 'Trash', 'tutor' ),
139 );
140
141 ?>
142 <div class="tutor-row tutor-gx-lg-4">
143 <div class="tutor-col-lg-6 tutor-col-xl-4 tutor-mb-16 tutor-mb-lg-32">
144 <div class="tutor-card">
145 <div class="tutor-d-flex tutor-flex-lg-column tutor-align-center tutor-text-lg-center tutor-px-12 tutor-px-lg-24 tutor-py-8 tutor-py-lg-32">
146 <span class="tutor-round-box tutor-mr-12 tutor-mr-lg-0 tutor-mb-lg-12">
147 <i class="tutor-icon-book-open" area-hidden="true"></i>
148 </span>
149 <div class="tutor-fs-3 tutor-fw-bold tutor-d-none tutor-d-lg-block"><?php echo esc_html( $enrolled_course_count ); ?></div>
150 <div class="tutor-fs-7 tutor-color-secondary"><?php esc_html_e( 'Enrolled Courses', 'tutor' ); ?></div>
151 <div class="tutor-fs-4 tutor-fw-bold tutor-d-block tutor-d-lg-none tutor-ml-auto"><?php echo esc_html( $enrolled_course_count ); ?></div>
152 </div>
153 </div>
154 </div>
155
156 <div class="tutor-col-lg-6 tutor-col-xl-4 tutor-mb-16 tutor-mb-lg-32">
157 <div class="tutor-card">
158 <div class="tutor-d-flex tutor-flex-lg-column tutor-align-center tutor-text-lg-center tutor-px-12 tutor-px-lg-24 tutor-py-8 tutor-py-lg-32">
159 <span class="tutor-round-box tutor-mr-12 tutor-mr-lg-0 tutor-mb-lg-12">
160 <i class="tutor-icon-mortarboard-o" area-hidden="true"></i>
161 </span>
162 <div class="tutor-fs-3 tutor-fw-bold tutor-d-none tutor-d-lg-block"><?php echo esc_html( $active_course_count ); ?></div>
163 <div class="tutor-fs-7 tutor-color-secondary"><?php esc_html_e( 'Active Courses', 'tutor' ); ?></div>
164 <div class="tutor-fs-4 tutor-fw-bold tutor-d-block tutor-d-lg-none tutor-ml-auto"><?php echo esc_html( $active_course_count ); ?></div>
165 </div>
166 </div>
167 </div>
168
169 <div class="tutor-col-lg-6 tutor-col-xl-4 tutor-mb-16 tutor-mb-lg-32">
170 <div class="tutor-card">
171 <div class="tutor-d-flex tutor-flex-lg-column tutor-align-center tutor-text-lg-center tutor-px-12 tutor-px-lg-24 tutor-py-8 tutor-py-lg-32">
172 <span class="tutor-round-box tutor-mr-12 tutor-mr-lg-0 tutor-mb-lg-12">
173 <i class="tutor-icon-trophy" area-hidden="true"></i>
174 </span>
175 <div class="tutor-fs-3 tutor-fw-bold tutor-d-none tutor-d-lg-block"><?php echo esc_html( $completed_course_count ); ?></div>
176 <div class="tutor-fs-7 tutor-color-secondary"><?php esc_html_e( 'Completed Courses', 'tutor' ); ?></div>
177 <div class="tutor-fs-4 tutor-fw-bold tutor-d-block tutor-d-lg-none tutor-ml-auto"><?php echo esc_html( $completed_course_count ); ?></div>
178 </div>
179 </div>
180 </div>
181
182 <?php
183 if ( current_user_can( tutor()->instructor_role ) ) :
184 ?>
185 <div class="tutor-col-lg-6 tutor-col-xl-4 tutor-mb-16 tutor-mb-lg-32">
186 <div class="tutor-card">
187 <div class="tutor-d-flex tutor-flex-lg-column tutor-align-center tutor-text-lg-center tutor-px-12 tutor-px-lg-24 tutor-py-8 tutor-py-lg-32">
188 <span class="tutor-round-box tutor-mr-12 tutor-mr-lg-0 tutor-mb-lg-12">
189 <i class="tutor-icon-user-graduate" area-hidden="true"></i>
190 </span>
191 <div class="tutor-fs-3 tutor-fw-bold tutor-d-none tutor-d-lg-block"><?php echo esc_html( $total_students ); ?></div>
192 <div class="tutor-fs-7 tutor-color-secondary"><?php esc_html_e( 'Total Students', 'tutor' ); ?></div>
193 <div class="tutor-fs-4 tutor-fw-bold tutor-d-block tutor-d-lg-none tutor-ml-auto"><?php echo esc_html( $total_students ); ?></div>
194 </div>
195 </div>
196 </div>
197
198 <div class="tutor-col-lg-6 tutor-col-xl-4 tutor-mb-16 tutor-mb-lg-32">
199 <div class="tutor-card">
200 <div class="tutor-d-flex tutor-flex-lg-column tutor-align-center tutor-text-lg-center tutor-px-12 tutor-px-lg-24 tutor-py-8 tutor-py-lg-32">
201 <span class="tutor-round-box tutor-mr-12 tutor-mr-lg-0 tutor-mb-lg-12">
202 <i class="tutor-icon-box-open" area-hidden="true"></i>
203 </span>
204 <div class="tutor-fs-3 tutor-fw-bold tutor-d-none tutor-d-lg-block"><?php echo esc_html( count( $my_courses ) ); ?></div>
205 <div class="tutor-fs-7 tutor-color-secondary"><?php esc_html_e( 'Total Courses', 'tutor' ); ?></div>
206 <div class="tutor-fs-4 tutor-fw-bold tutor-d-block tutor-d-lg-none tutor-ml-auto"><?php echo esc_html( count( $my_courses ) ); ?></div>
207 </div>
208 </div>
209 </div>
210
211 <div class="tutor-col-lg-6 tutor-col-xl-4 tutor-mb-16 tutor-mb-lg-32">
212 <div class="tutor-card">
213 <div class="tutor-d-flex tutor-flex-lg-column tutor-align-center tutor-text-lg-center tutor-px-12 tutor-px-lg-24 tutor-py-8 tutor-py-lg-32">
214 <span class="tutor-round-box tutor-mr-12 tutor-mr-lg-0 tutor-mb-lg-12">
215 <i class="tutor-icon-coins" area-hidden="true"></i>
216 </span>
217 <div class="tutor-fs-3 tutor-fw-bold tutor-d-none tutor-d-lg-block"><?php echo tutor_utils()->tutor_price( $earning_sum->instructor_amount ); ?></div>
218 <div class="tutor-fs-7 tutor-color-secondary"><?php esc_html_e( 'Total Earnings', 'tutor' ); ?></div>
219 <div class="tutor-fs-4 tutor-fw-bold tutor-d-block tutor-d-lg-none tutor-ml-auto"><?php echo tutor_utils()->tutor_price( $earning_sum->instructor_amount ); ?></div>
220 </div>
221 </div>
222 </div>
223 <?php
224 endif;
225 ?>
226 </div>
227 </div>
228
229 <?php
230 /**
231 * Active users in progress courses
232 */
233 $placeholder_img = tutor()->url . 'assets/images/placeholder.svg';
234 $courses_in_progress = tutor_utils()->get_active_courses_by_user( get_current_user_id() );
235 ?>
236
237 <?php if ( tutor_utils()->is_instructor() ) : ?>
238 <div class="tutor-frontend-dashboard-course-progress">
239 <div class="tutor-fs-5 tutor-fw-medium tutor-color-black tutor-capitalize-text tutor-mb-24">
240 <?php esc_html_e( 'In Progress Courses', 'tutor' ); ?>
241 </div>
242 <?php if ( $courses_in_progress && $courses_in_progress->have_posts() ) : ?>
243 <?php
244 while ( $courses_in_progress->have_posts() ) :
245 $courses_in_progress->the_post();
246 $tutor_course_img = get_tutor_course_thumbnail_src();
247 $course_rating = tutor_utils()->get_course_rating( get_the_ID() );
248 $course_progress = tutor_utils()->get_course_completed_percent( get_the_ID(), 0, true );
249 $completed_number = 0 === (int) $course_progress['completed_count'] ? 1 : (int) $course_progress['completed_count'];
250 ?>
251 <div class="tutor-course-progress-item tutor-card tutor-mb-20">
252 <div class="tutor-row tutor-gx-0">
253 <div class="tutor-col-lg-4">
254 <div class="tutor-ratio tutor-ratio-3x2">
255 <img class="tutor-card-image-left" src="<?php echo empty(esc_url($tutor_course_img)) ? $placeholder_img : esc_url($tutor_course_img) ?>" alt="<?php the_title(); ?>" loading="lazy">
256 </div>
257 </div>
258
259 <div class="tutor-col-lg-8 tutor-align-self-center">
260 <div class="tutor-card-body">
261 <?php if ( $course_rating ) : ?>
262 <div class="tutor-ratings tutor-mb-4">
263 <?php tutor_utils()->star_rating_generator( $course_rating->rating_avg ); ?>
264 <div class="tutor-ratings-count">
265 <?php echo esc_html( number_format( $course_rating->rating_avg, 2 ) ); ?>
266 </div>
267 </div>
268 <?php endif; ?>
269
270 <div class="tutor-course-progress-item-title tutor-fs-5 tutor-fw-medium tutor-color-black tutor-mb-12">
271 <?php the_title(); ?>
272 </div>
273
274 <div class="tutor-d-flex tutor-fs-7 tutor-mb-32">
275 <span class="tutor-color-muted tutor-mr-4"><?php esc_html_e( 'Completed Lessons:', 'tutor' ); ?></span>
276 <span class="tutor-fw-medium tutor-color-black">
277 <span>
278 <?php echo esc_html( $course_progress['completed_count'] ); ?>
279 </span>
280 <?php esc_html_e( 'of', 'tutor' ); ?>
281 <span>
282 <?php echo esc_html( $course_progress['total_count'] ); ?>
283 </span>
284 <?php echo esc_html( _n( 'lesson', 'lessons', $completed_number, 'tutor' ) ); ?>
285 </span>
286 </div>
287
288 <div class="tutor-row tutor-align-center">
289 <div class="tutor-col">
290 <div class="tutor-progress-bar tutor-mr-16" style="--tutor-progress-value:<?php echo esc_attr( $course_progress['completed_percent'] ); ?>%"><span class="tutor-progress-value" area-hidden="true"></span></div>
291 </div>
292
293 <div class="tutor-col-auto">
294 <span class="progress-percentage tutor-fs-7 tutor-color-muted">
295 <span class="tutor-fw-medium tutor-color-black ">
296 <?php echo esc_html( $course_progress['completed_percent'] . '%' ); ?>
297 </span><?php esc_html_e( 'Complete', 'tutor' ); ?>
298 </span>
299 </div>
300 </div>
301 </div>
302 </div>
303 <a class="tutor-stretched-link" href="<?php the_permalink(); ?>"></a>
304 </div>
305 </div>
306 <?php endwhile; ?>
307 <?php wp_reset_postdata(); ?>
308 <?php else : ?>
309 <?php tutor_utils()->tutor_empty_state( tutor_utils()->not_found_text() ); ?>
310 <?php endif; ?>
311 </div>
312 <?php endif; ?>
313
314 <?php
315 $instructor_course = tutor_utils()->get_courses_for_instructors( get_current_user_id() );
316
317 if ( count( $instructor_course ) ) {
318 $course_badges = array(
319 'publish' => 'success',
320 'pending' => 'warning',
321 'trash' => 'danger',
322 );
323
324 ?>
325 <div class="popular-courses-heading-dashboard tutor-d-flex tutor-justify-between tutor-mb-24 tutor-mt-md-40 tutor-mt-0">
326 <span class="tutor-fs-5 tutor-fw-medium tutor-color-black"><?php esc_html_e( 'My Courses', 'tutor' ); ?></span>
327 <a class="tutor-btn tutor-btn-ghost" href="<?php echo esc_url( tutor_utils()->tutor_dashboard_url( 'my-courses' ) ); ?>">
328 <?php esc_html_e( 'View All', 'tutor' ); ?>
329 </a>
330 </div>
331
332 <div class="tutor-dashboard-content-inner">
333 <table class="tutor-table tutor-table-responsive table-popular-courses">
334 <thead>
335 <tr>
336 <th>
337 <span class="tutor-fs-7 tutor-color-secondary">
338 <?php esc_html_e( 'Course Name', 'tutor' ); ?>
339 </span>
340 </th>
341 <th class="tutor-table-rows-sorting">
342 <div class="tutor-d-inline-flex tutor-align-center tutor-color-secondary">
343 <span class="tutor-fs-7"><?php esc_html_e( 'Enrolled', 'tutor' ); ?></span>
344 <span class="tutor-icon-ordering-a-z a-to-z-sort-icon"></span>
345 </div>
346 </th>
347 <th class="tutor-table-rows-sorting">
348 <div class="tutor-d-inline-flex tutor-align-center tutor-color-secondary">
349 <span class="tutor-fs-7"><?php esc_html_e( 'Rating', 'tutor' ); ?></span>
350 <span class="tutor-icon-ordering-a-z a-to-z-sort-icon"></span>
351 </div>
352 </th>
353 </tr>
354 </thead>
355 <tbody>
356 <?php if ( is_array( $instructor_course ) && count( $instructor_course ) ) : ?>
357 <?php
358 foreach ( $instructor_course as $course ) :
359 $enrolled = tutor_utils()->count_enrolled_users_by_course( $course->ID );
360 $course_status = isset( $status_translations[ $course->post_status ] ) ? $status_translations[ $course->post_status ] : __( $course->post_status, 'tutor' );
361 $course_rating = tutor_utils()->get_course_rating( $course->ID );
362 $course_badge = isset( $course_badges[ $course->post_status ] ) ? $course_badges[ $course->post_status ] : 'dark';
363
364 ?>
365 <tr>
366 <td data-th="<?php esc_html_e( 'Course Name', 'tutor' ); ?>" class="column-fullwidth">
367 <div class="td-course tutor-fs-6 tutor-fw-medium tutor-color-black">
368 <a href="<?php echo esc_url( get_the_permalink( $course->ID ) ); ?>" target="_blank">
369 <?php esc_html_e( $course->post_title ); ?>
370 </a>
371 </div>
372 </td>
373 <td data-th="<?php esc_html_e( 'Enrolled', 'tutor' ); ?>">
374 <span class="tutor-fs-7 tutor-fw-medium tutor-color-black">
375 <?php esc_html_e( $enrolled ); ?>
376 </span>
377 </td>
378 <td data-th="<?php esc_html_e( 'Rating', 'tutor' ); ?>">
379 <div class="td-tutor-rating tutor-fs-6 tutor-color-secondary">
380 <?php tutor_utils()->star_rating_generator_v2( $course_rating->rating_avg, null, true ); ?>
381 </div>
382 </td>
383 </tr>
384 <?php endforeach; ?>
385 <?php else : ?>
386 <tr>
387 <td colspan="100%" class="column-empty-state">
388 <?php tutor_utils()->tutor_empty_state( tutor_utils()->not_found_text() ); ?>
389 </td>
390 </tr>
391 <?php endif; ?>
392 </tbody>
393 </table>
394 </div>
395 <?php
396 }
397 ?>
398