Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apex_micro_site
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Ali Arshad
apex_micro_site
Commits
6d016e3f
Commit
6d016e3f
authored
Mar 01, 2018
by
Muhammad Usman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feedback fixes
parent
9848ea4a
Pipeline
#371
passed with stage
in 0 seconds
Changes
10
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
441 additions
and
27 deletions
+441
-27
lms-setting.php
.../wp-content/plugins/apex_global_lms/admin/lms-setting.php
+28
-0
functions.php
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
+22
-2
lms.css
...A/wp-content/plugins/apex_global_lms/template/css/lms.css
+314
-2
download-now.php
...content/plugins/apex_global_lms/template/download-now.php
+0
-0
e-learning.php
...p-content/plugins/apex_global_lms/template/e-learning.php
+24
-21
it-course.php
...wp-content/plugins/apex_global_lms/template/it-course.php
+9
-0
lms.js
...ATA/wp-content/plugins/apex_global_lms/template/js/lms.js
+15
-0
learner-detail.php
...ntent/plugins/apex_global_lms/template/learner-detail.php
+15
-2
management.php
...p-content/plugins/apex_global_lms/template/management.php
+7
-0
pricing-request.php
...tent/plugins/apex_global_lms/template/pricing-request.php
+7
-0
No files found.
WWW_DATA/wp-content/plugins/apex_global_lms/admin/lms-setting.php
View file @
6d016e3f
...
@@ -229,6 +229,20 @@ function vq_lms_settings_init()
...
@@ -229,6 +229,20 @@ function vq_lms_settings_init()
]
]
);
);
add_settings_field
(
'vq_lms_settings_field_intro_price'
,
'Intro Price'
,
'vq_lms_settings_field_intro_price_cb'
,
'vq_lms_settings'
,
'vq_lms_settings_section_developers'
,
[
'label_for'
=>
'vq_lms_settings_field_intro_price'
,
'class'
=>
'vq_lms_settings_row'
,
'vq_lms_settings_custom_data'
=>
'custom'
,
]
);
add_settings_field
(
add_settings_field
(
'vq_lms_settings_field_shortcode'
,
'vq_lms_settings_field_shortcode'
,
'Banner Shortcode'
,
'Banner Shortcode'
,
...
@@ -282,6 +296,20 @@ function vq_lms_settings_section_developers_cb($args)
...
@@ -282,6 +296,20 @@ function vq_lms_settings_section_developers_cb($args)
}
}
function
vq_lms_settings_field_intro_price_cb
(
$args
)
{
$options
=
get_option
(
'vq_lms_settings_options'
);
?>
<input
type=
"text"
name=
"vq_lms_settings_options[
<?php
echo
esc_attr
(
$args
[
'label_for'
]);
?>
]"
value=
"
<?php
echo
$options
[
$args
[
'label_for'
]];
?>
"
>
<p
class=
"description"
>
<?php
esc_html_e
(
'Your entered price will be listed as intro price (special offer).'
,
'vq_lms_settings'
);
?>
</p>
<?php
}
function
vq_lms_settings_field_price_cb
(
$args
)
function
vq_lms_settings_field_price_cb
(
$args
)
{
{
$options
=
get_option
(
'vq_lms_settings_options'
);
$options
=
get_option
(
'vq_lms_settings_options'
);
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
View file @
6d016e3f
...
@@ -34,6 +34,21 @@ add_shortcode('vq_course_banner', 'vq_render_course_banner');
...
@@ -34,6 +34,21 @@ add_shortcode('vq_course_banner', 'vq_render_course_banner');
add_shortcode
(
'vq_lms_inquiry_form'
,
'vq_render_inquiry_form'
);
add_shortcode
(
'vq_lms_inquiry_form'
,
'vq_render_inquiry_form'
);
add_filter
(
'the_title'
,
'change_title'
);
function
change_title
(
$data
)
{
global
$post
;
$title
=
get_post_meta
(
$post
->
ID
,
'lms_title'
,
true
);
if
(
$title
!=
null
)
{
$data
=
$title
;
}
return
$data
;
}
add_action
(
'vq_course_promo_add_form_fields'
,
'add_course_promo'
,
10
,
2
);
add_action
(
'vq_course_promo_add_form_fields'
,
'add_course_promo'
,
10
,
2
);
add_action
(
'vq_course_promo_edit_form_fields'
,
'edit_course_promo'
,
10
,
2
);
add_action
(
'vq_course_promo_edit_form_fields'
,
'edit_course_promo'
,
10
,
2
);
add_action
(
'created_vq_course_promo'
,
'save_course_promo'
,
10
,
2
);
add_action
(
'created_vq_course_promo'
,
'save_course_promo'
,
10
,
2
);
...
@@ -100,11 +115,16 @@ function vq_lms_process_order()
...
@@ -100,11 +115,16 @@ function vq_lms_process_order()
}
}
$data
=
json_decode
(
stripslashes
(
$_POST
[
'data'
]),
true
);
$data
=
json_decode
(
stripslashes
(
$_POST
[
'data'
]),
true
);
if
(
$data
[
'terms'
]
!=
'on'
)
{
echo
"Terms & Conditions not accepted."
;
die
;
}
$code
=
""
;
$code
=
""
;
if
(
isset
(
$data
[
'pcode'
]))
{
if
(
isset
(
$data
[
'pcode'
]))
{
$code
=
$data
[
'pcode'
];
$code
=
$data
[
'pcode'
];
}
}
print_r
(
json_decode
(
$_POST
));
if
(
count
(
$data
[
'data'
])
===
0
)
{
if
(
count
(
$data
[
'data'
])
===
0
)
{
echo
"Unable to process your request"
;
echo
"Unable to process your request"
;
...
@@ -510,7 +530,7 @@ function vq_render_course_banner($attr)
...
@@ -510,7 +530,7 @@ function vq_render_course_banner($attr)
if
(
empty
(
$fee
)
||
$fee
<=
0
)
{
if
(
empty
(
$fee
)
||
$fee
<=
0
)
{
$settings
=
get_option
(
'vq_lms_settings_options'
);
$settings
=
get_option
(
'vq_lms_settings_options'
);
$fee
=
$settings
[
'vq_lms_settings_field_
general
_price'
];
$fee
=
$settings
[
'vq_lms_settings_field_
intro
_price'
];
}
}
$banner
=
file_get_contents
(
__DIR__
.
'/admin/includes/large-banner.html'
);
$banner
=
file_get_contents
(
__DIR__
.
'/admin/includes/large-banner.html'
);
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template/css/lms.css
View file @
6d016e3f
...
@@ -736,4 +736,317 @@
...
@@ -736,4 +736,317 @@
.bootstrap-iso
h3
.lms-excerpt
{
.bootstrap-iso
h3
.lms-excerpt
{
text-align
:
center
;
text-align
:
center
;
color
:
#fff
;
color
:
#fff
;
}
}
\ No newline at end of file
.bootstrap-iso
.lms-breadcrumbs
{
background-color
:
#ececec
;
padding
:
20px
;
}
.bootstrap-iso
.lms-breadcrumbs
p
{
font-size
:
18px
;
border-bottom
:
1px
dotted
#000
;
display
:
inline-block
;
}
.bootstrap-iso
.col-xs-5th-1
,
.bootstrap-iso
.col-xs-5th-2
,
.bootstrap-iso
.col-xs-5th-3
,
.bootstrap-iso
.col-xs-5th-4
{
float
:
left
;
}
.bootstrap-iso
.col-xs-5th-5
{
float
:
left
;
width
:
100%
;
}
.bootstrap-iso
.col-xs-5th-4
{
width
:
80%
;
}
.bootstrap-iso
.col-xs-5th-3
{
width
:
60%
;
}
.bootstrap-iso
.col-xs-5th-2
{
width
:
40%
;
}
.bootstrap-iso
.col-xs-5th-1
{
width
:
20%
;
margin-left
:
10px
;
}
.bootstrap-iso
.col-xs-5th-pull-5
{
right
:
100%
;
}
.bootstrap-iso
.col-xs-5th-pull-4
{
right
:
80%
;
}
.bootstrap-iso
.col-xs-5th-pull-3
{
right
:
60%
;
}
.bootstrap-iso
.col-xs-5th-pull-2
{
right
:
40%
;
}
.bootstrap-iso
.col-xs-5th-pull-1
{
right
:
20%
;
}
.bootstrap-iso
.col-xs-5th-pull-0
{
right
:
auto
;
}
.bootstrap-iso
.col-xs-5th-push-5
{
left
:
100%
;
}
.bootstrap-iso
.col-xs-5th-push-4
{
left
:
80%
;
}
.bootstrap-iso
.col-xs-5th-push-3
{
left
:
60%
;
}
.bootstrap-iso
.col-xs-5th-push-2
{
left
:
40%
;
}
.bootstrap-iso
.col-xs-5th-push-1
{
left
:
20%
;
}
.bootstrap-iso
.col-xs-5th-push-0
{
left
:
auto
;
}
.bootstrap-iso
.col-xs-5th-offset-5
{
margin-left
:
100%
;
}
.bootstrap-iso
.col-xs-5th-offset-4
{
margin-left
:
80%
;
}
.bootstrap-iso
.col-xs-5th-offset-3
{
margin-left
:
60%
;
}
.bootstrap-iso
.col-xs-5th-offset-2
{
margin-left
:
40%
;
}
.bootstrap-iso
.col-xs-5th-offset-1
{
margin-left
:
20%
;
}
.bootstrap-iso
.col-xs-5th-offset-0
{
margin-left
:
0%
;
}
@media
(
min-width
:
768px
)
{
.bootstrap-iso
.col-sm-5th-1
,
.bootstrap-iso
.col-sm-5th-2
,
.bootstrap-iso
.col-sm-5th-3
,
.bootstrap-iso
.col-sm-5th-4
{
float
:
left
;
}
.bootstrap-iso
.col-sm-5th-5
{
float
:
left
;
width
:
100%
;
}
.bootstrap-iso
.col-sm-5th-4
{
width
:
80%
;
}
.bootstrap-iso
.col-sm-5th-3
{
width
:
60%
;
}
.bootstrap-iso
.col-sm-5th-2
{
width
:
40%
;
}
.bootstrap-iso
.col-sm-5th-1
{
width
:
20%
;
margin-left
:
15px
;
}
.bootstrap-iso
.col-sm-5th-pull-5
{
right
:
100%
;
}
.bootstrap-iso
.col-sm-5th-pull-4
{
right
:
80%
;
}
.bootstrap-iso
.col-sm-5th-pull-3
{
right
:
60%
;
}
.bootstrap-iso
.col-sm-5th-pull-2
{
right
:
40%
;
}
.bootstrap-iso
.col-sm-5th-pull-1
{
right
:
20%
;
}
.bootstrap-iso
.col-sm-5th-pull-0
{
right
:
auto
;
}
.bootstrap-iso
.col-sm-5th-push-5
{
left
:
100%
;
}
.bootstrap-iso
.col-sm-5th-push-4
{
left
:
80%
;
}
.bootstrap-iso
.col-sm-5th-push-3
{
left
:
60%
;
}
.bootstrap-iso
.col-sm-5th-push-2
{
left
:
40%
;
}
.bootstrap-iso
.col-sm-5th-push-1
{
left
:
20%
;
}
.bootstrap-iso
.col-sm-5th-push-0
{
left
:
auto
;
}
.bootstrap-iso
.col-sm-5th-offset-5
{
margin-left
:
100%
;
}
.bootstrap-iso
.col-sm-5th-offset-4
{
margin-left
:
80%
;
}
.bootstrap-iso
.col-sm-5th-offset-3
{
margin-left
:
60%
;
}
.bootstrap-iso
.col-sm-5th-offset-2
{
margin-left
:
40%
;
}
.bootstrap-iso
.col-sm-5th-offset-1
{
margin-left
:
20%
;
}
.bootstrap-iso
.col-sm-5th-offset-0
{
margin-left
:
0%
;
}
}
@media
(
min-width
:
992px
)
{
.bootstrap-iso
.col-md-5th-1
,
.bootstrap-iso
.col-md-5th-2
,
.bootstrap-iso
.col-md-5th-3
,
.bootstrap-iso
.col-md-5th-4
{
float
:
left
;
}
.bootstrap-iso
.col-md-5th-5
{
float
:
left
;
width
:
100%
;
}
.bootstrap-iso
.col-md-5th-4
{
width
:
80%
;
}
.bootstrap-iso
.col-md-5th-3
{
width
:
60%
;
}
.bootstrap-iso
.col-md-5th-2
{
width
:
40%
;
}
.bootstrap-iso
.col-md-5th-1
{
margin-left
:
20px
;
width
:
20%
;
}
.bootstrap-iso
.col-md-5th-pull-5
{
right
:
100%
;
}
.bootstrap-iso
.col-md-5th-pull-4
{
right
:
80%
;
}
.bootstrap-iso
.col-md-5th-pull-3
{
right
:
60%
;
}
.bootstrap-iso
.col-md-5th-pull-2
{
right
:
40%
;
}
.bootstrap-iso
.col-md-5th-pull-1
{
right
:
20%
;
}
.bootstrap-iso
.col-md-5th-pull-0
{
right
:
auto
;
}
.bootstrap-iso
.col-md-5th-push-5
{
left
:
100%
;
}
.bootstrap-iso
.col-md-5th-push-4
{
left
:
80%
;
}
.bootstrap-iso
.col-md-5th-push-3
{
left
:
60%
;
}
.bootstrap-iso
.col-md-5th-push-2
{
left
:
40%
;
}
.bootstrap-iso
.col-md-5th-push-1
{
left
:
20%
;
}
.bootstrap-iso
.col-md-5th-push-0
{
left
:
auto
;
}
.bootstrap-iso
.col-md-5th-offset-5
{
margin-left
:
100%
;
}
.bootstrap-iso
.col-md-5th-offset-4
{
margin-left
:
80%
;
}
.bootstrap-iso
.col-md-5th-offset-3
{
margin-left
:
60%
;
}
.bootstrap-iso
.col-md-5th-offset-2
{
margin-left
:
40%
;
}
.bootstrap-iso
.col-md-5th-offset-1
{
margin-left
:
20%
;
}
.bootstrap-iso
.col-md-5th-offset-0
{
margin-left
:
0%
;
}
}
@media
(
min-width
:
1200px
)
{
.bootstrap-iso
.col-lg-5th-1
,
.bootstrap-iso
.col-lg-5th-2
,
.bootstrap-iso
.col-lg-5th-3
,
.bootstrap-iso
.col-lg-5th-4
{
float
:
left
;
}
.bootstrap-iso
.col-lg-5th-5
{
float
:
left
;
width
:
100%
;
}
.bootstrap-iso
.col-lg-5th-4
{
width
:
80%
;
}
.bootstrap-iso
.col-lg-5th-3
{
width
:
60%
;
}
.bootstrap-iso
.col-lg-5th-2
{
width
:
40%
;
}
.bootstrap-iso
.col-lg-5th-1
{
width
:
20%
;
margin-left
:
20px
;
}
.bootstrap-iso
.col-lg-5th-pull-5
{
right
:
100%
;
}
.bootstrap-iso
.col-lg-5th-pull-4
{
right
:
80%
;
}
.bootstrap-iso
.col-lg-5th-pull-3
{
right
:
60%
;
}
.bootstrap-iso
.col-lg-5th-pull-2
{
right
:
40%
;
}
.bootstrap-iso
.col-lg-5th-pull-1
{
right
:
20%
;
}
.bootstrap-iso
.col-lg-5th-pull-0
{
right
:
auto
;
}
.bootstrap-iso
.col-lg-5th-push-5
{
left
:
100%
;
}
.bootstrap-iso
.col-lg-5th-push-4
{
left
:
80%
;
}
.bootstrap-iso
.col-lg-5th-push-3
{
left
:
60%
;
}
.bootstrap-iso
.col-lg-5th-push-2
{
left
:
40%
;
}
.bootstrap-iso
.col-lg-5th-push-1
{
left
:
20%
;
}
.bootstrap-iso
.col-lg-5th-push-0
{
left
:
auto
;
}
.bootstrap-iso
.col-lg-5th-offset-5
{
margin-left
:
100%
;
}
.bootstrap-iso
.col-lg-5th-offset-4
{
margin-left
:
80%
;
}
.bootstrap-iso
.col-lg-5th-offset-3
{
margin-left
:
60%
;
}
.bootstrap-iso
.col-lg-5th-offset-2
{
margin-left
:
40%
;
}
.bootstrap-iso
.col-lg-5th-offset-1
{
margin-left
:
20%
;
}
.bootstrap-iso
.col-lg-5th-offset-0
{
margin-left
:
0%
;
}
}
WWW_DATA/wp-content/plugins/apex_global_lms/template/download-now.php
View file @
6d016e3f
This diff is collapsed.
Click to expand it.
WWW_DATA/wp-content/plugins/apex_global_lms/template/e-learning.php
View file @
6d016e3f
...
@@ -10,7 +10,7 @@ $course_categories = get_terms( array(
...
@@ -10,7 +10,7 @@ $course_categories = get_terms( array(
?>
?>
<div
class=
"bootstrap-iso"
>
<div
class=
"bootstrap-iso"
>
<div
class=
"e-learning-banner"
style=
"position: relative; background-image: url(
<?php
echo
get_the_post_thumbnail_url
(
$page
);
?>
)"
>
<div
class=
"e-learning-banner"
style=
"position: relative; background-image: url(
<?php
echo
get_the_post_thumbnail_url
(
$page
);
?>
)
;padding-bottom: 0;
"
>
<a
href=
"https://www.learn.apexgloballearning.com/"
class=
""
style=
"position: absolute; top: -1%; right: 9%;"
>
<a
href=
"https://www.learn.apexgloballearning.com/"
class=
""
style=
"position: absolute; top: -1%; right: 9%;"
>
<img
style=
"width: 80%;"
src=
"
<?php
echo
plugin_dir_url
(
__FILE__
);
?>
imgaes/E-learning-login.png"
alt=
""
>
<img
style=
"width: 80%;"
src=
"
<?php
echo
plugin_dir_url
(
__FILE__
);
?>
imgaes/E-learning-login.png"
alt=
""
>
...
@@ -22,6 +22,7 @@ $course_categories = get_terms( array(
...
@@ -22,6 +22,7 @@ $course_categories = get_terms( array(
<h3>
<?php
echo
$page
->
post_content
?>
</h3>
<h3>
<?php
echo
$page
->
post_content
?>
</h3>
</div>
</div>
</div>
</div>
<p
style=
"color: #fff; padding: 50px 0;"
class=
"text-center"
>
Learning Management System
</p>
</div>
</div>
</div>
</div>
<div
class=
"learning-profile-bg"
>
<div
class=
"learning-profile-bg"
>
...
@@ -32,28 +33,30 @@ $course_categories = get_terms( array(
...
@@ -32,28 +33,30 @@ $course_categories = get_terms( array(
<h4>
<?php
echo
$page
->
post_excerpt
?>
</h4>
<h4>
<?php
echo
$page
->
post_excerpt
?>
</h4>
</div>
</div>
</div>
</div>
<?php
foreach
(
$course_categories
as
$category
){
?>
<div
class=
"bootstrap-iso"
>
<div
class=
"col-sm-3"
>
<?php
foreach
(
$course_categories
as
$category
){
?>
<div
class=
"learning-profile-box"
>
<div
class=
"col-md-5th-1"
>
<div
class=
"e-learning-course-1"
style=
"background-image: url(
<?php
echo
wp_get_attachment_url
(
get_term_meta
(
$category
->
term_id
,
'vq_course_taxonomy-image-id'
,
true
))
?>
)"
>
<div
class=
"learning-profile-box"
>
<div
class=
"e-learning-heading"
>
<div
class=
"e-learning-course-1"
style=
"background-image: url(
<?php
echo
wp_get_attachment_url
(
get_term_meta
(
$category
->
term_id
,
'vq_course_taxonomy-image-id'
,
true
))
?>
)"
>
<h5>
<?php
echo
$category
->
name
?>
</h5>
<div
class=
"e-learning-heading"
>
<h5>
<?php
echo
$category
->
name
?>
</h5>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"e-learning-heading descrip"
>
<p>
<?php
echo
substr
(
$category
->
description
,
0
,
150
)
.
' ...'
;
?>
</p>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"text-center"
>
<a
href=
"
<?php
echo
get_permalink
(
get_page_by_path
(
'lms-courses'
))
.
$category
->
slug
?>
"
class=
"learn-button"
>
Learn More
</a>
</div>
</div>
<div
class=
"clear"
></div>
</div>
</div>
</div>
</div>
<div
class=
"col-sm-12"
>
<?php
}
?>
<div
class=
"e-learning-heading descrip"
>
<p>
<?php
echo
substr
(
$category
->
description
,
0
,
150
)
.
' ...'
;
?>
</p>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"text-center"
>
<a
href=
"
<?php
echo
get_permalink
(
get_page_by_path
(
'lms-courses'
))
.
$category
->
slug
?>
"
class=
"learn-button"
>
Learn More
</a>
</div>
</div>
<div
class=
"clear"
></div>
</div>
</div>
</div>
<?php
}
?>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -63,7 +66,7 @@ $course_categories = get_terms( array(
...
@@ -63,7 +66,7 @@ $course_categories = get_terms( array(
btnClr="#fff"
btnClr="#fff"
bgClr="#f89f18"
bgClr="#f89f18"
btnBg="#2898c4"
btnBg="#2898c4"
btnLink="
lms-pricing
"
btnLink="
download-all
"
btnTxt="Download Full List Of Courses"
btnTxt="Download Full List Of Courses"
txt="Not sure which course to take?"]'
);
?>
txt="Not sure which course to take?"]'
);
?>
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template/it-course.php
View file @
6d016e3f
...
@@ -47,6 +47,13 @@ $page = get_page_by_path('lms-courses');
...
@@ -47,6 +47,13 @@ $page = get_page_by_path('lms-courses');
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"lms-breadcrumbs"
>
<div
class=
"container"
>
<div
class=
"row"
>
<p><a
href=
"
<?php
echo
"/lms"
?>
"
>
LMS
</a>
>
<?php
echo
$term
->
name
;
?>
</p>
</div>
</div>
</div>
<div
class=
"learning-profile-bg"
>
<div
class=
"learning-profile-bg"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -54,6 +61,8 @@ $page = get_page_by_path('lms-courses');
...
@@ -54,6 +61,8 @@ $page = get_page_by_path('lms-courses');
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-sm-8"
>
<div
class=
"col-sm-8"
>
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template/js/lms.js
View file @
6d016e3f
...
@@ -228,10 +228,16 @@
...
@@ -228,10 +228,16 @@
return
;
return
;
}
}
if
(
!
$
(
"#accepted_terms"
).
is
(
':checked'
))
{
alert
(
'Please accept turns & conditions.'
);
return
;
}
var
data
=
{};
var
data
=
{};
data
.
data
=
learners
;
data
.
data
=
learners
;
data
.
pcode
=
$
(
"#pcode-value"
).
val
();
data
.
pcode
=
$
(
"#pcode-value"
).
val
();
data
.
terms
=
$
(
"#accepted_terms"
).
val
();
data
.
id
=
parseInt
(
pid
);
data
.
id
=
parseInt
(
pid
);
...
@@ -288,5 +294,13 @@
...
@@ -288,5 +294,13 @@
});
});
$
(
"#accepted_terms"
).
on
(
'click'
,
function
()
{
if
(
$
(
this
).
is
(
':checked'
))
{
$
(
"#lmsProcessPayment"
).
prop
(
'disabled'
,
false
);
}
else
{
$
(
"#lmsProcessPayment"
).
attr
(
'disabled'
,
true
);
}
});
})(
jQuery
);
})(
jQuery
);
\ No newline at end of file
WWW_DATA/wp-content/plugins/apex_global_lms/template/learner-detail.php
View file @
6d016e3f
...
@@ -46,6 +46,13 @@ while (have_posts()):
...
@@ -46,6 +46,13 @@ while (have_posts()):
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"lms-breadcrumbs"
>
<div
class=
"container"
>
<div
class=
"row"
>
<p><a
href=
"
<?php
echo
"/lms"
?>
"
>
LMS
</a>
>
<?php
echo
get_the_title
();
?>
</p>
</div>
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row ldr"
id=
"ldr"
>
<div
class=
"row ldr"
id=
"ldr"
>
<div
class=
"loader"
></div>
<div
class=
"loader"
></div>
...
@@ -95,6 +102,11 @@ while (have_posts()):
...
@@ -95,6 +102,11 @@ while (have_posts()):
</div>
</div>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-sm-12"
>
<label
for=
""
>
<input
type=
"checkbox"
id=
"accepted_terms"
name=
"terms_condition"
>
<span
style=
"font-weight: normal; font-size: 14px; margin-left: 5px;"
>
I have read and understood the
<a
href=
"http://apexgloballearning.com/refund-and-cancellation-policy/"
>
Terms
&
Conditions
</a></span>
.
</label>
</div>
<div
class=
"col-sm-12"
>
<button
type=
"submit"
id=
"lmsProcessPayment"
class=
"payment-course-button"
>
Proceed to
<button
type=
"submit"
id=
"lmsProcessPayment"
class=
"payment-course-button"
>
Proceed to
payment
</button>
payment
</button>
</div>
</div>
...
@@ -115,14 +127,15 @@ while (have_posts()):
...
@@ -115,14 +127,15 @@ while (have_posts()):
<
div
class
=
"col-sm-8 col-padding"
>
<
div
class
=
"col-sm-8 col-padding"
>
<
input
class
=
"form-control text-feild"
placeholder
=
"Name"
<
input
class
=
"form-control text-feild"
placeholder
=
"Name"
maxlength
=
"200"
type
=
"string"
name
=
"fname"
required
pattern
=
"[a-zA-Z]+[ ][a-zA-Z]+"
/>
maxlength
=
"200"
type
=
"string"
name
=
"fname"
required
pattern
=
"[a-zA-Z]+[ ][a-zA-Z]+"
/>
<
small
style
=
"font-size: 12px;"
>
format
:
FirstName
LastName
<
/small>
<
small
style
=
"font-size: 12px;"
>
format
:
John
Smith
<
/small>
<
input
class
=
"form-control text-feild"
placeholder
=
"Email"
<
input
class
=
"form-control text-feild"
placeholder
=
"Email"
maxlength
=
"200"
type
=
"email"
name
=
"email"
required
/>
maxlength
=
"200"
type
=
"email"
name
=
"email"
required
/>
<
small
style
=
"font-size: 12px;"
>
format
:
john
@
example
.
com
<
/small>
<
input
class
=
"form-control text-feild"
placeholder
=
"Confirm Email"
<
input
class
=
"form-control text-feild"
placeholder
=
"Confirm Email"
maxlength
=
"200"
type
=
"email"
name
=
"confirmEmail"
required
/>
maxlength
=
"200"
type
=
"email"
name
=
"confirmEmail"
required
/>
<
input
class
=
"form-control text-feild"
placeholder
=
"Phone number"
<
input
class
=
"form-control text-feild"
placeholder
=
"Phone number"
maxlength
=
"200"
type
=
"string"
name
=
"phone"
pattern
=
"
\
+
\
d{2,3}
\
s
\
d*"
required
/>
maxlength
=
"200"
type
=
"string"
name
=
"phone"
pattern
=
"
\
+
\
d{2,3}
\
s
\
d*"
required
/>
<
small
style
=
"font-size: 12px;"
>
format
:
+
xx
xxxxxxx
<
/small>
<
small
style
=
"font-size: 12px;"
>
format
:
+
12
3456789
<
/small>
<
div
class
=
"lms-all-course-holder"
>
<
div
class
=
"lms-all-course-holder"
>
<
/div>
<
/div>
<
a
href
=
"#"
class
=
"lms-courses-select-btn"
><
img
class
=
"add-icon"
src
=
"
<?php
echo
plugin_dir_url
(
__FILE__
);
<
a
href
=
"#"
class
=
"lms-courses-select-btn"
><
img
class
=
"add-icon"
src
=
"
<?php
echo
plugin_dir_url
(
__FILE__
);
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template/management.php
View file @
6d016e3f
...
@@ -12,6 +12,13 @@ get_header();
...
@@ -12,6 +12,13 @@ get_header();
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"lms-breadcrumbs"
>
<div
class=
"container"
>
<div
class=
"row"
>
<p><a
href=
"
<?php
echo
"/lms"
?>
"
>
LMS
</a>
>
<?php
echo
get_the_title
();
?>
</p>
</div>
</div>
</div>
<div
class=
"learning-profile-bg"
>
<div
class=
"learning-profile-bg"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template/pricing-request.php
View file @
6d016e3f
...
@@ -56,6 +56,13 @@ get_header();
...
@@ -56,6 +56,13 @@ get_header();
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"lms-breadcrumbs"
>
<div
class=
"container"
>
<div
class=
"row"
>
<p><a
href=
"
<?php
echo
"/lms"
?>
"
>
LMS
</a>
>
<?php
echo
get_the_title
();
?>
</p>
</div>
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-sm-6"
>
<div
class=
"col-sm-6"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment