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
9a0613e7
Commit
9a0613e7
authored
Jan 20, 2018
by
jenkins
Browse files
Options
Browse Files
Download
Plain Diff
Merge Request accepted by jenkins build success
parents
35ddaf5d
d9ff697e
Pipeline
#190
failed with stage
in 0 seconds
Changes
14
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
802 additions
and
97 deletions
+802
-97
handle-metaboxes.php
...ontent/plugins/apex_global_lms/admin/handle-metaboxes.php
+13
-6
handle-post.php
.../wp-content/plugins/apex_global_lms/admin/handle-post.php
+4
-2
attachmentAndPrice.html
...ns/apex_global_lms/admin/includes/attachmentAndPrice.html
+27
-15
large-banner.html
.../plugins/apex_global_lms/admin/includes/large-banner.html
+1
-1
lms-setting.php
.../wp-content/plugins/apex_global_lms/admin/lms-setting.php
+12
-0
functions.php
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
+51
-12
template.php
WWW_DATA/wp-content/plugins/apex_global_lms/template.php
+10
-0
lms.css
...A/wp-content/plugins/apex_global_lms/template/css/lms.css
+2
-2
download-now.php
...content/plugins/apex_global_lms/template/download-now.php
+252
-9
e-learning.php
...p-content/plugins/apex_global_lms/template/e-learning.php
+2
-6
it-course.php
...wp-content/plugins/apex_global_lms/template/it-course.php
+2
-6
pricing-request.php
...tent/plugins/apex_global_lms/template/pricing-request.php
+320
-37
single-course.php
...ontent/plugins/apex_global_lms/template/single-course.php
+105
-0
thank-you-download.php
...t/plugins/apex_global_lms/template/thank-you-download.php
+1
-1
No files found.
WWW_DATA/wp-content/plugins/apex_global_lms/admin/handle-metaboxes.php
View file @
9a0613e7
...
@@ -2,8 +2,9 @@
...
@@ -2,8 +2,9 @@
add_action
(
'add_meta_boxes'
,
'vq_add_custom_meta_boxes'
,
10
,
2
);
add_action
(
'add_meta_boxes'
,
'vq_add_custom_meta_boxes'
,
10
,
2
);
function
vq_render_short_banner_shortcode_metabox
()
{
function
vq_render_course_shortcode_metabox
()
{
echo
'[vq_short_banner bgClr="" btnBg="" txt="" txtClr="" btnClr="" btnLink="" btnTxt=""]'
;
echo
'[vq_course_banner id="'
.
get_the_ID
()
.
'"]'
;
}
}
function
vq_render_course_attachment_metabox
()
{
function
vq_render_course_attachment_metabox
()
{
...
@@ -12,8 +13,9 @@ function vq_render_course_attachment_metabox() {
...
@@ -12,8 +13,9 @@ function vq_render_course_attachment_metabox() {
$file
=
file_get_contents
(
__DIR__
.
'/includes/attachmentAndPrice.html'
);
$file
=
file_get_contents
(
__DIR__
.
'/includes/attachmentAndPrice.html'
);
$attachment_id
=
get_post_meta
(
get_the_ID
(),
'course_attachment_id'
,
true
);
$attachment_id
=
get_post_meta
(
get_the_ID
(),
'course_attachment_id'
,
true
);
$attachment_title
=
get_post_meta
(
get_the_ID
(),
'course_attachment_
title
'
,
true
);
$attachment_title
=
get_post_meta
(
get_the_ID
(),
'course_attachment_
url
'
,
true
);
$courseFee
=
get_post_meta
(
get_the_ID
(),
'course_fee'
,
true
);
$courseFee
=
get_post_meta
(
get_the_ID
(),
'course_fee'
,
true
);
$listing_content
=
get_post_meta
(
get_the_ID
(),
'listing_content'
,
true
);
if
(
$attachment_id
>
0
)
{
if
(
$attachment_id
>
0
)
{
$file
=
str_replace
(
'[[ATTACHMENT]]'
,
$attachment_title
,
$file
);
$file
=
str_replace
(
'[[ATTACHMENT]]'
,
$attachment_title
,
$file
);
...
@@ -27,6 +29,11 @@ function vq_render_course_attachment_metabox() {
...
@@ -27,6 +29,11 @@ function vq_render_course_attachment_metabox() {
}
else
{
}
else
{
$file
=
str_replace
(
'[[PRICE]]'
,
''
,
$file
);
$file
=
str_replace
(
'[[PRICE]]'
,
''
,
$file
);
}
}
if
(
$listing_content
)
{
$file
=
str_replace
(
'[[LISTING_CONTENT]]'
,
$listing_content
,
$file
);
}
else
{
$file
=
str_replace
(
'[[LISTING_CONTENT]]'
,
''
,
$file
);
}
echo
$file
;
echo
$file
;
}
}
...
@@ -35,8 +42,8 @@ function vq_add_custom_meta_boxes() {
...
@@ -35,8 +42,8 @@ function vq_add_custom_meta_boxes() {
add_meta_box
(
add_meta_box
(
'vq_short_banner_shortcode_metabox'
,
'vq_short_banner_shortcode_metabox'
,
'
Short Banner
Shortcode'
,
'
Course
Shortcode'
,
'vq_render_
short_banner
_shortcode_metabox'
,
'vq_render_
course
_shortcode_metabox'
,
'vq_course'
,
'vq_course'
,
'side'
,
'side'
,
'high'
'high'
...
@@ -44,7 +51,7 @@ function vq_add_custom_meta_boxes() {
...
@@ -44,7 +51,7 @@ function vq_add_custom_meta_boxes() {
add_meta_box
(
add_meta_box
(
'vq_course_attachment_metabox'
,
'vq_course_attachment_metabox'
,
'
Attachment
'
,
'
Media & Settings
'
,
'vq_render_course_attachment_metabox'
,
'vq_render_course_attachment_metabox'
,
'vq_course'
,
'vq_course'
,
'advanced'
,
'advanced'
,
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/admin/handle-post.php
View file @
9a0613e7
...
@@ -6,9 +6,11 @@ add_action('save_post_vq_course', 'vq_handle_course_post');
...
@@ -6,9 +6,11 @@ add_action('save_post_vq_course', 'vq_handle_course_post');
function
vq_handle_course_post
()
{
function
vq_handle_course_post
()
{
if
(
isset
(
$_POST
[
'course_attachment_id'
]))
{
if
(
isset
(
$_POST
[
'course_attachment_id'
]))
{
$attachment_id
=
$_POST
[
'course_attachment_id'
];
$attachment_id
=
$_POST
[
'course_attachment_id'
];
$attachment_title
=
$_POST
[
'course_attachment_title'
];
$attachment_url
=
$_POST
[
'course_attachment_url'
];
$listingContent
=
$_POST
[
'listing_content'
];
update_post_meta
(
get_the_ID
(),
'course_attachment_id'
,
$attachment_id
);
update_post_meta
(
get_the_ID
(),
'course_attachment_id'
,
$attachment_id
);
update_post_meta
(
get_the_ID
(),
'course_attachment_title'
,
$attachment_title
);
update_post_meta
(
get_the_ID
(),
'course_attachment_url'
,
$attachment_url
);
update_post_meta
(
get_the_ID
(),
'listing_content'
,
$listingContent
);
}
}
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/admin/includes/attachmentAndPrice.html
View file @
9a0613e7
<label>
Course Fee:
</label>
<h3>
Course Setting
</h3>
<hr>
<br>
<label><strong>
Course Fee:
</strong></label>
<br>
<input
type=
"text"
name=
"course_fee"
value=
"[[PRICE]]"
/>
<input
type=
"text"
name=
"course_fee"
value=
"[[PRICE]]"
/>
<br>
<br>
<br>
<label><strong>
Listing Content
</strong></label>
<br>
<textarea
name=
"listing_content"
id=
""
cols=
"30"
rows=
"4"
>
[[LISTING_CONTENT]]
</textarea>
<br><br>
<input
type=
"hidden"
name=
"course_attachment_id"
id=
"course_attachment_id"
value=
""
>
<input
type=
"hidden"
name=
"course_attachment_id"
id=
"course_attachment_id"
value=
""
>
<input
type=
"hidden"
name=
"course_attachment_title"
id=
"course_attachment_title"
value=
""
>
<input
type=
"hidden"
name=
"course_attachment_url"
id=
"course_attachment_url"
value=
""
>
<h4
id=
"attachment_title"
>
None
</h4>
<video
src=
""
width=
"200"
id=
"course-video-holder"
controls
>
<input
id=
"upload_course_attachment"
type=
"button"
class=
"button center-block"
value=
"Upload Attachment"
/>
<input
id=
"remove_attachment"
type=
"button"
class=
"button center-block"
value=
"Remove Attachment"
/>
</video><br>
<input
id=
"upload_course_attachment"
type=
"button"
class=
"button center-block"
value=
"Upload Video"
/>
<input
id=
"remove_attachment"
type=
"button"
class=
"button center-block"
value=
"Remove Video"
/>
<script>
<script>
var
title
=
'[[ATTACHMENT]]'
;
var
url
=
'[[ATTACHMENT]]'
;
var
attachment_id
=
[[
ATTACHMENT_ID
]];
var
attachment_id
=
[[
ATTACHMENT_ID
]];
if
(
attachment_id
>
0
)
{
if
(
attachment_id
>
0
)
{
jQuery
(
"#course_attachment_id"
).
val
(
attachment_id
);
jQuery
(
"#course_attachment_id"
).
val
(
attachment_id
);
jQuery
(
"#
attachment_title"
).
text
(
title
);
jQuery
(
"#
course_attachment_url"
).
val
(
url
);
jQuery
(
"#course
_attachment_title"
).
val
(
title
);
jQuery
(
"#course
-video-holder"
).
attr
(
'src'
,
url
);
}
}
jQuery
(
"#remove_attachment"
).
on
(
'click'
,
function
()
{
jQuery
(
"#remove_attachment"
).
on
(
'click'
,
function
()
{
jQuery
(
"#attachment_title"
).
text
(
'None'
);
jQuery
(
"#course_attachment_id"
).
val
(
-
1
);
jQuery
(
"#course_attachment_id"
).
val
(
-
1
);
jQuery
(
"#course_attachment_title"
).
val
(
-
1
);
jQuery
(
"#course_attachment_url"
).
val
(
''
);
jQuery
(
"#course-video-holder"
).
attr
(
'src'
,
''
);
});
});
jQuery
(
document
).
ready
(
function
()
{
jQuery
(
document
).
ready
(
function
()
{
...
@@ -35,17 +47,17 @@
...
@@ -35,17 +47,17 @@
return
;
return
;
}
}
mediaUploader
=
wp
.
media
.
frames
.
file_frame
=
wp
.
media
({
mediaUploader
=
wp
.
media
.
frames
.
file_frame
=
wp
.
media
({
title
:
'Select
Attachment
'
,
title
:
'Select
Video
'
,
button
:
{
button
:
{
text
:
'Choose
Attachment
'
text
:
'Choose
Video
'
},
},
multiple
:
false
multiple
:
false
});
});
mediaUploader
.
on
(
'select'
,
function
()
{
mediaUploader
.
on
(
'select'
,
function
()
{
attachment
=
mediaUploader
.
state
().
get
(
'selection'
).
first
().
toJSON
();
attachment
=
mediaUploader
.
state
().
get
(
'selection'
).
first
().
toJSON
();
jQuery
(
"#course_attachment_id"
).
val
(
attachment
.
id
);
jQuery
(
"#course_attachment_id"
).
val
(
attachment
.
id
);
jQuery
(
"#
attachment_title"
).
text
(
attachment
.
filename
);
jQuery
(
"#
course_attachment_url"
).
val
(
attachment
.
url
);
jQuery
(
"#course
_attachment_title"
).
val
(
attachment
.
filename
);
jQuery
(
"#course
-video-holder"
).
attr
(
'src'
,
attachment
.
url
);
});
});
mediaUploader
.
open
();
mediaUploader
.
open
();
});
});
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/admin/includes/large-banner.html
View file @
9a0613e7
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<div
class=
"intro-heading"
>
<div
class=
"intro-heading"
>
<p>
[[BANNER_DESCRIPTION]]
</p>
<p>
[[BANNER_DESCRIPTION]]
</p>
</div>
</div>
<
button
type=
"submit"
class=
"learn-button-1"
>
Loern More
</button
>
<
a
href=
"[[REDIRECT_URL]]"
class=
"learn-button-1"
>
Learn More
</a
>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/admin/lms-setting.php
View file @
9a0613e7
...
@@ -31,6 +31,14 @@ function vq_lms_settings_init() {
...
@@ -31,6 +31,14 @@ function vq_lms_settings_init() {
);
);
add_settings_field
(
add_settings_field
(
'vq_lms_settings_field_shortcode'
,
'Banner Shortcode'
,
'vq_lms_settings_field_shortcode_cb'
,
'vq_lms_settings'
,
'vq_lms_settings_section_developers'
);
add_settings_field
(
'vq_lms_settings_field_currency_name'
,
'vq_lms_settings_field_currency_name'
,
'Currency Name'
,
'Currency Name'
,
'vq_lms_settings_field_currency_name_cb'
,
'vq_lms_settings_field_currency_name_cb'
,
...
@@ -182,6 +190,10 @@ function vq_lms_settings_field_video_cb($args) {
...
@@ -182,6 +190,10 @@ function vq_lms_settings_field_video_cb($args) {
<?php
<?php
}
}
function
vq_lms_settings_field_shortcode_cb
()
{
echo
'[vq_short_banner bgClr="" btnBg="" txt="" txtClr="" btnClr="" btnLink="" btnTxt=""]'
;
}
function
vq_lms_settings_page
()
{
function
vq_lms_settings_page
()
{
add_submenu_page
(
'edit.php?post_type=vq_course'
,
add_submenu_page
(
'edit.php?post_type=vq_course'
,
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
View file @
9a0613e7
...
@@ -18,15 +18,11 @@ add_filter('wp_nav_menu_items', 'vq_add_lms_navigation', 10, 2);
...
@@ -18,15 +18,11 @@ add_filter('wp_nav_menu_items', 'vq_add_lms_navigation', 10, 2);
add_filter
(
'query_vars'
,
'vq_query_vars_filter'
);
add_filter
(
'query_vars'
,
'vq_query_vars_filter'
);
add_action
(
'admin_menu'
,
'vq_add_plugin_setting_page'
);
add_shortcode
(
'vq_short_banner'
,
'vq_render_short_banner'
);
add_shortcode
(
'vq_short_banner'
,
'vq_render_short_banner'
);
add_filter
(
'query_vars'
,
'vq_query_vars_filter'
);
add_filter
(
'query_vars'
,
'vq_query_vars_filter'
);
add_shortcode
(
'vq_short_banner'
,
'vq_render_short_banner'
);
add_shortcode
(
'vq_course_banner'
,
'vq_render_course_banner'
);
add_shortcode
(
'vq_large_banner'
,
'vq_render_large_banner'
);
function
vq_apex_custom_posts
()
{
function
vq_apex_custom_posts
()
{
...
@@ -56,7 +52,7 @@ function vq_apex_custom_posts() {
...
@@ -56,7 +52,7 @@ function vq_apex_custom_posts() {
'show_ui'
=>
true
,
'show_ui'
=>
true
,
'show_in_menu'
=>
true
,
'show_in_menu'
=>
true
,
'query_var'
=>
true
,
'query_var'
=>
true
,
'rewrite'
=>
array
(
'slug'
=>
'
vq_
course'
),
'rewrite'
=>
array
(
'slug'
=>
'
lms-
course'
),
'capability_type'
=>
'post'
,
'capability_type'
=>
'post'
,
'has_archive'
=>
true
,
'has_archive'
=>
true
,
'hierarchical'
=>
false
,
'hierarchical'
=>
false
,
...
@@ -101,6 +97,42 @@ function vq_apex_custom_posts() {
...
@@ -101,6 +97,42 @@ function vq_apex_custom_posts() {
);
);
register_post_type
(
'vq_lms_drequest'
,
$args
);
register_post_type
(
'vq_lms_drequest'
,
$args
);
/* Pricing Requests Post Type */
$labels
=
array
(
'name'
=>
__
(
'Pricing Requests'
),
'singular_name'
=>
__
(
'Pricing Request'
),
'menu_name'
=>
__
(
'Pricing Requests'
),
'name_admin_bar'
=>
__
(
'Pricing Requests'
),
'add_new'
=>
__
(
'Add New'
,
'download_request'
),
'add_new_item'
=>
__
(
'Add New Pricing Request'
),
'new_item'
=>
__
(
'New Pricing Request'
),
'edit_item'
=>
__
(
'Edit Pricing Request'
),
'view_item'
=>
__
(
'View Pricing Request'
),
'all_items'
=>
__
(
'Pricing Requests'
),
'search_items'
=>
__
(
'Search Pricing Requests'
),
'parent_item_colon'
=>
__
(
'Parent Pricing Requests:'
),
'not_found'
=>
__
(
'No Pricing Request found.'
),
'not_found_in_trash'
=>
__
(
'No Pricing Request found in Trash.'
)
);
$args
=
array
(
'labels'
=>
$labels
,
'description'
=>
__
(
'Description.'
),
'public'
=>
false
,
'publicly_queryable'
=>
false
,
'show_ui'
=>
true
,
'show_in_menu'
=>
"edit.php?post_type=vq_course"
,
'query_var'
=>
true
,
'rewrite'
=>
false
,
'capability_type'
=>
'post'
,
'has_archive'
=>
false
,
'hierarchical'
=>
false
,
'supports'
=>
array
(
'title'
,
'editor'
,
'thumbnail'
)
);
register_post_type
(
'vq_lms_prequest'
,
$args
);
}
}
function
vq_apex_custom_taxonomies
()
{
function
vq_apex_custom_taxonomies
()
{
...
@@ -155,16 +187,21 @@ function vq_render_short_banner($attr) {
...
@@ -155,16 +187,21 @@ function vq_render_short_banner($attr) {
$banner
=
str_replace
(
'[[TXT_CLR]]'
,
$txtClr
,
$banner
);
$banner
=
str_replace
(
'[[TXT_CLR]]'
,
$txtClr
,
$banner
);
$banner
=
str_replace
(
'[[BTN_CLR]]'
,
$btnClr
,
$banner
);
$banner
=
str_replace
(
'[[BTN_CLR]]'
,
$btnClr
,
$banner
);
echo
$banner
;
return
$banner
;
}
}
function
vq_render_large_banner
(
$attr
)
{
function
vq_render_course_banner
(
$attr
)
{
$pgslg
=
isset
(
$attr
[
'pgslg'
])
?
$attr
[
'pgslg'
]
:
"none"
;
if
(
!
isset
(
$attr
[
'id'
]))
{
return
'No Course Found'
;
}
else
{
$cid
=
$attr
[
'id'
];
}
$page
=
get_p
age_by_path
(
$pgslg
);
$page
=
get_p
ost
(
$cid
);
$banner
=
file_get_contents
(
__DIR__
.
'/admin/includes/large-banner.html'
);
$banner
=
file_get_contents
(
__DIR__
.
'/admin/includes/large-banner.html'
);
...
@@ -172,8 +209,10 @@ function vq_render_large_banner($attr) {
...
@@ -172,8 +209,10 @@ function vq_render_large_banner($attr) {
$banner
=
str_replace
(
'[[BANNER_DESCRIPTION]]'
,
$page
->
post_content
,
$banner
);
$banner
=
str_replace
(
'[[BANNER_DESCRIPTION]]'
,
$page
->
post_content
,
$banner
);
$banner
=
str_replace
(
'[[BG_IMG]]'
,
get_the_post_thumbnail_url
(
get_page_by_path
(
$pgslg
)),
$banner
);
$banner
=
str_replace
(
'[[BG_IMG]]'
,
get_the_post_thumbnail_url
(
$page
->
id
),
$banner
);
$banner
=
str_replace
(
'[[REDIRECT_URL]]'
,
get_permalink
(
$page
->
ID
),
$banner
);
echo
$banner
;
return
$banner
;
}
}
WWW_DATA/wp-content/plugins/apex_global_lms/template.php
View file @
9a0613e7
...
@@ -12,6 +12,7 @@ function enqueue_admin_css()
...
@@ -12,6 +12,7 @@ function enqueue_admin_css()
function
use_lms_template
(
$data
)
function
use_lms_template
(
$data
)
{
{
global
$post
;
if
(
is_page
(
'lms'
)){
if
(
is_page
(
'lms'
)){
return
__DIR__
.
"/template/e-learning.php"
;
return
__DIR__
.
"/template/e-learning.php"
;
}
}
...
@@ -24,5 +25,14 @@ function use_lms_template($data)
...
@@ -24,5 +25,14 @@ function use_lms_template($data)
return
__DIR__
.
'/template/download-now.php'
;
return
__DIR__
.
'/template/download-now.php'
;
}
}
else
if
(
is_page
(
'thank-you-download'
)
||
is_page
(
'thank-you-pricing'
))
{
return
__DIR__
.
'/template/thank-you-download.php'
;
}
else
if
(
$post
->
post_type
===
'vq_course'
)
{
return
__DIR__
.
'/template/single-course.php'
;
}
else
if
(
is_page
(
'lms-pricing'
))
{
return
__DIR__
.
'/template/pricing-request.php'
;
}
return
$data
;
return
$data
;
}
}
WWW_DATA/wp-content/plugins/apex_global_lms/template/css/lms.css
View file @
9a0613e7
...
@@ -82,11 +82,11 @@
...
@@ -82,11 +82,11 @@
{
{
background-color
:
#f89f18
;
color
:
white
;
border
:
2px
solid
#f89f18
;
background-color
:
#f89f18
;
color
:
white
;
border
:
2px
solid
#f89f18
;
}
}
.learn-button-1
.learn-button-1
,
a
.learn-button-1
{
{
background-color
:
#41a4cb
;
padding-left
:
30px
;
padding-right
:
30px
;
padding-top
:
10px
;
padding-bottom
:
10px
;
color
:
#fff
;
font-size
:
14px
;
font-weight
:
bold
;
text-transform
:
uppercase
;
text-align
:
center
;
letter-spacing
:
2px
;
border
:
0px
;
margin-top
:
20px
;
background-color
:
#41a4cb
;
padding-left
:
30px
;
padding-right
:
30px
;
padding-top
:
10px
;
padding-bottom
:
10px
;
color
:
#fff
;
font-size
:
14px
;
font-weight
:
bold
;
text-transform
:
uppercase
;
text-align
:
center
;
letter-spacing
:
2px
;
border
:
0px
;
margin-top
:
20px
;
}
}
.learn-button-1
:hover
.learn-button-1
:hover
,
a
.learn-button-1
:hover
{
{
background-color
:
#fff
;
color
:
#41a4cb
;
background-color
:
#fff
;
color
:
#41a4cb
;
}
}
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template/download-now.php
View file @
9a0613e7
...
@@ -45,6 +45,8 @@ if( 'POST' === $_SERVER['REQUEST_METHOD'] && isset($_POST['download_submit']) &&
...
@@ -45,6 +45,8 @@ if( 'POST' === $_SERVER['REQUEST_METHOD'] && isset($_POST['download_submit']) &&
update_post_meta
(
$pid
,
'dl_jobTitle'
,
$jobTitle
);
update_post_meta
(
$pid
,
'dl_jobTitle'
,
$jobTitle
);
update_post_meta
(
$pid
,
'dl_country'
,
$country
);
update_post_meta
(
$pid
,
'dl_country'
,
$country
);
update_post_meta
(
$pid
,
'dl_courses'
,
json_encode
(
$courses
));
update_post_meta
(
$pid
,
'dl_courses'
,
json_encode
(
$courses
));
header
(
'Location: '
.
'/thank-you-download'
);
}
}
...
@@ -56,7 +58,7 @@ $video = $settings['vq_lms_settings_field_video'];
...
@@ -56,7 +58,7 @@ $video = $settings['vq_lms_settings_field_video'];
$courses
=
new
WP_Query
(
array
(
'post_type'
=>
'vq_course'
));
$courses
=
new
WP_Query
(
array
(
'post_type'
=>
'vq_course'
));
?>
?>
<div
class=
"bootstrap-iso"
>
<div
class=
"bootstrap-iso"
>
<div
class=
"e-learning-banner"
>
<div
class=
"e-learning-banner"
style=
"background-image: url(
<?php
echo
get_the_post_thumbnail_url
(
$page
);
?>
)"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"e-learning-heading"
>
<div
class=
"e-learning-heading"
>
...
@@ -91,11 +93,255 @@ $courses = new WP_Query(array('post_type' => 'vq_course'));
...
@@ -91,11 +93,255 @@ $courses = new WP_Query(array('post_type' => 'vq_course'));
</div>
</div>
<div
class=
"col-md-12 form-group"
>
<div
class=
"col-md-12 form-group"
>
<select
class=
"form-control chosen-select"
name=
"dl_country"
data-placeholder=
"Select Country"
>
<select
class=
"form-control chosen-select"
name=
"dl_country"
data-placeholder=
"Select Country"
>
<option>
Country
</option>
<option
value=
"AF"
>
Afghanistan
</option>
<option>
2
</option>
<option
value=
"AX"
>
Åland Islands
</option>
<option>
3
</option>
<option
value=
"AL"
>
Albania
</option>
<option>
4
</option>
<option
value=
"DZ"
>
Algeria
</option>
<option>
5
</option>
<option
value=
"AS"
>
American Samoa
</option>
<option
value=
"AD"
>
Andorra
</option>
<option
value=
"AO"
>
Angola
</option>
<option
value=
"AI"
>
Anguilla
</option>
<option
value=
"AQ"
>
Antarctica
</option>
<option
value=
"AG"
>
Antigua and Barbuda
</option>
<option
value=
"AR"
>
Argentina
</option>
<option
value=
"AM"
>
Armenia
</option>
<option
value=
"AW"
>
Aruba
</option>
<option
value=
"AU"
>
Australia
</option>
<option
value=
"AT"
>
Austria
</option>
<option
value=
"AZ"
>
Azerbaijan
</option>
<option
value=
"BS"
>
Bahamas
</option>
<option
value=
"BH"
>
Bahrain
</option>
<option
value=
"BD"
>
Bangladesh
</option>
<option
value=
"BB"
>
Barbados
</option>
<option
value=
"BY"
>
Belarus
</option>
<option
value=
"BE"
>
Belgium
</option>
<option
value=
"BZ"
>
Belize
</option>
<option
value=
"BJ"
>
Benin
</option>
<option
value=
"BM"
>
Bermuda
</option>
<option
value=
"BT"
>
Bhutan
</option>
<option
value=
"BO"
>
Bolivia, Plurinational State of
</option>
<option
value=
"BQ"
>
Bonaire, Sint Eustatius and Saba
</option>
<option
value=
"BA"
>
Bosnia and Herzegovina
</option>
<option
value=
"BW"
>
Botswana
</option>
<option
value=
"BV"
>
Bouvet Island
</option>
<option
value=
"BR"
>
Brazil
</option>
<option
value=
"IO"
>
British Indian Ocean Territory
</option>
<option
value=
"BN"
>
Brunei Darussalam
</option>
<option
value=
"BG"
>
Bulgaria
</option>
<option
value=
"BF"
>
Burkina Faso
</option>
<option
value=
"BI"
>
Burundi
</option>
<option
value=
"KH"
>
Cambodia
</option>
<option
value=
"CM"
>
Cameroon
</option>
<option
value=
"CA"
>
Canada
</option>
<option
value=
"CV"
>
Cape Verde
</option>
<option
value=
"KY"
>
Cayman Islands
</option>
<option
value=
"CF"
>
Central African Republic
</option>
<option
value=
"TD"
>
Chad
</option>
<option
value=
"CL"
>
Chile
</option>
<option
value=
"CN"
>
China
</option>
<option
value=
"CX"
>
Christmas Island
</option>
<option
value=
"CC"
>
Cocos (Keeling) Islands
</option>
<option
value=
"CO"
>
Colombia
</option>
<option
value=
"KM"
>
Comoros
</option>
<option
value=
"CG"
>
Congo
</option>
<option
value=
"CD"
>
Congo, the Democratic Republic of the
</option>
<option
value=
"CK"
>
Cook Islands
</option>
<option
value=
"CR"
>
Costa Rica
</option>
<option
value=
"CI"
>
Côte d'Ivoire
</option>
<option
value=
"HR"
>
Croatia
</option>
<option
value=
"CU"
>
Cuba
</option>
<option
value=
"CW"
>
Curaçao
</option>
<option
value=
"CY"
>
Cyprus
</option>
<option
value=
"CZ"
>
Czech Republic
</option>
<option
value=
"DK"
>
Denmark
</option>
<option
value=
"DJ"
>
Djibouti
</option>
<option
value=
"DM"
>
Dominica
</option>
<option
value=
"DO"
>
Dominican Republic
</option>
<option
value=
"EC"
>
Ecuador
</option>
<option
value=
"EG"
>
Egypt
</option>
<option
value=
"SV"
>
El Salvador
</option>
<option
value=
"GQ"
>
Equatorial Guinea
</option>
<option
value=
"ER"
>
Eritrea
</option>
<option
value=
"EE"
>
Estonia
</option>
<option
value=
"ET"
>
Ethiopia
</option>
<option
value=
"FK"
>
Falkland Islands (Malvinas)
</option>
<option
value=
"FO"
>
Faroe Islands
</option>
<option
value=
"FJ"
>
Fiji
</option>
<option
value=
"FI"
>
Finland
</option>
<option
value=
"FR"
>
France
</option>
<option
value=
"GF"
>
French Guiana
</option>
<option
value=
"PF"
>
French Polynesia
</option>
<option
value=
"TF"
>
French Southern Territories
</option>
<option
value=
"GA"
>
Gabon
</option>
<option
value=
"GM"
>
Gambia
</option>
<option
value=
"GE"
>
Georgia
</option>
<option
value=
"DE"
>
Germany
</option>
<option
value=
"GH"
>
Ghana
</option>
<option
value=
"GI"
>
Gibraltar
</option>
<option
value=
"GR"
>
Greece
</option>
<option
value=
"GL"
>
Greenland
</option>
<option
value=
"GD"
>
Grenada
</option>
<option
value=
"GP"
>
Guadeloupe
</option>
<option
value=
"GU"
>
Guam
</option>
<option
value=
"GT"
>
Guatemala
</option>
<option
value=
"GG"
>
Guernsey
</option>
<option
value=
"GN"
>
Guinea
</option>
<option
value=
"GW"
>
Guinea-Bissau
</option>
<option
value=
"GY"
>
Guyana
</option>
<option
value=
"HT"
>
Haiti
</option>
<option
value=
"HM"
>
Heard Island and McDonald Islands
</option>
<option
value=
"VA"
>
Holy See (Vatican City State)
</option>
<option
value=
"HN"
>
Honduras
</option>
<option
value=
"HK"
>
Hong Kong
</option>
<option
value=
"HU"
>
Hungary
</option>
<option
value=
"IS"
>
Iceland
</option>
<option
value=
"IN"
>
India
</option>
<option
value=
"ID"
>
Indonesia
</option>
<option
value=
"IR"
>
Iran, Islamic Republic of
</option>
<option
value=
"IQ"
>
Iraq
</option>
<option
value=
"IE"
>
Ireland
</option>
<option
value=
"IM"
>
Isle of Man
</option>
<option
value=
"IL"
>
Israel
</option>
<option
value=
"IT"
>
Italy
</option>
<option
value=
"JM"
>
Jamaica
</option>
<option
value=
"JP"
>
Japan
</option>
<option
value=
"JE"
>
Jersey
</option>
<option
value=
"JO"
>
Jordan
</option>
<option
value=
"KZ"
>
Kazakhstan
</option>
<option
value=
"KE"
>
Kenya
</option>
<option
value=
"KI"
>
Kiribati
</option>
<option
value=
"KP"
>
Korea, Democratic People's Republic of
</option>
<option
value=
"KR"
>
Korea, Republic of
</option>
<option
value=
"KW"
>
Kuwait
</option>
<option
value=
"KG"
>
Kyrgyzstan
</option>
<option
value=
"LA"
>
Lao People's Democratic Republic
</option>
<option
value=
"LV"
>
Latvia
</option>
<option
value=
"LB"
>
Lebanon
</option>
<option
value=
"LS"
>
Lesotho
</option>
<option
value=
"LR"
>
Liberia
</option>
<option
value=
"LY"
>
Libya
</option>
<option
value=
"LI"
>
Liechtenstein
</option>
<option
value=
"LT"
>
Lithuania
</option>
<option
value=
"LU"
>
Luxembourg
</option>
<option
value=
"MO"
>
Macao
</option>
<option
value=
"MK"
>
Macedonia, the former Yugoslav Republic of
</option>
<option
value=
"MG"
>
Madagascar
</option>
<option
value=
"MW"
>
Malawi
</option>
<option
value=
"MY"
>
Malaysia
</option>
<option
value=
"MV"
>
Maldives
</option>
<option
value=
"ML"
>
Mali
</option>
<option
value=
"MT"
>
Malta
</option>
<option
value=
"MH"
>
Marshall Islands
</option>
<option
value=
"MQ"
>
Martinique
</option>
<option
value=
"MR"
>
Mauritania
</option>
<option
value=
"MU"
>
Mauritius
</option>
<option
value=
"YT"
>
Mayotte
</option>
<option
value=
"MX"
>
Mexico
</option>
<option
value=
"FM"
>
Micronesia, Federated States of
</option>
<option
value=
"MD"
>
Moldova, Republic of
</option>
<option
value=
"MC"
>
Monaco
</option>
<option
value=
"MN"
>
Mongolia
</option>
<option
value=
"ME"
>
Montenegro
</option>
<option
value=
"MS"
>
Montserrat
</option>
<option
value=
"MA"
>
Morocco
</option>
<option
value=
"MZ"
>
Mozambique
</option>
<option
value=
"MM"
>
Myanmar
</option>
<option
value=
"NA"
>
Namibia
</option>
<option
value=
"NR"
>
Nauru
</option>
<option
value=
"NP"
>
Nepal
</option>
<option
value=
"NL"
>
Netherlands
</option>
<option
value=
"NC"
>
New Caledonia
</option>
<option
value=
"NZ"
>
New Zealand
</option>
<option
value=
"NI"
>
Nicaragua
</option>
<option
value=
"NE"
>
Niger
</option>
<option
value=
"NG"
>
Nigeria
</option>
<option
value=
"NU"
>
Niue
</option>
<option
value=
"NF"
>
Norfolk Island
</option>
<option
value=
"MP"
>
Northern Mariana Islands
</option>
<option
value=
"NO"
>
Norway
</option>
<option
value=
"OM"
>
Oman
</option>
<option
value=
"PK"
>
Pakistan
</option>
<option
value=
"PW"
>
Palau
</option>
<option
value=
"PS"
>
Palestinian Territory, Occupied
</option>
<option
value=
"PA"
>
Panama
</option>
<option
value=
"PG"
>
Papua New Guinea
</option>
<option
value=
"PY"
>
Paraguay
</option>
<option
value=
"PE"
>
Peru
</option>
<option
value=
"PH"
>
Philippines
</option>
<option
value=
"PN"
>
Pitcairn
</option>
<option
value=
"PL"
>
Poland
</option>
<option
value=
"PT"
>
Portugal
</option>
<option
value=
"PR"
>
Puerto Rico
</option>
<option
value=
"QA"
>
Qatar
</option>
<option
value=
"RE"
>
Réunion
</option>
<option
value=
"RO"
>
Romania
</option>
<option
value=
"RU"
>
Russian Federation
</option>
<option
value=
"RW"
>
Rwanda
</option>
<option
value=
"BL"
>
Saint Barthélemy
</option>
<option
value=
"SH"
>
Saint Helena, Ascension and Tristan da Cunha
</option>
<option
value=
"KN"
>
Saint Kitts and Nevis
</option>
<option
value=
"LC"
>
Saint Lucia
</option>
<option
value=
"MF"
>
Saint Martin (French part)
</option>
<option
value=
"PM"
>
Saint Pierre and Miquelon
</option>
<option
value=
"VC"
>
Saint Vincent and the Grenadines
</option>
<option
value=
"WS"
>
Samoa
</option>
<option
value=
"SM"
>
San Marino
</option>
<option
value=
"ST"
>
Sao Tome and Principe
</option>
<option
value=
"SA"
>
Saudi Arabia
</option>
<option
value=
"SN"
>
Senegal
</option>
<option
value=
"RS"
>
Serbia
</option>
<option
value=
"SC"
>
Seychelles
</option>
<option
value=
"SL"
>
Sierra Leone
</option>
<option
value=
"SG"
>
Singapore
</option>
<option
value=
"SX"
>
Sint Maarten (Dutch part)
</option>
<option
value=
"SK"
>
Slovakia
</option>
<option
value=
"SI"
>
Slovenia
</option>
<option
value=
"SB"
>
Solomon Islands
</option>
<option
value=
"SO"
>
Somalia
</option>
<option
value=
"ZA"
>
South Africa
</option>
<option
value=
"GS"
>
South Georgia and the South Sandwich Islands
</option>
<option
value=
"SS"
>
South Sudan
</option>
<option
value=
"ES"
>
Spain
</option>
<option
value=
"LK"
>
Sri Lanka
</option>
<option
value=
"SD"
>
Sudan
</option>
<option
value=
"SR"
>
Suriname
</option>
<option
value=
"SJ"
>
Svalbard and Jan Mayen
</option>
<option
value=
"SZ"
>
Swaziland
</option>
<option
value=
"SE"
>
Sweden
</option>
<option
value=
"CH"
>
Switzerland
</option>
<option
value=
"SY"
>
Syrian Arab Republic
</option>
<option
value=
"TW"
>
Taiwan, Province of China
</option>
<option
value=
"TJ"
>
Tajikistan
</option>
<option
value=
"TZ"
>
Tanzania, United Republic of
</option>
<option
value=
"TH"
>
Thailand
</option>
<option
value=
"TL"
>
Timor-Leste
</option>
<option
value=
"TG"
>
Togo
</option>
<option
value=
"TK"
>
Tokelau
</option>
<option
value=
"TO"
>
Tonga
</option>
<option
value=
"TT"
>
Trinidad and Tobago
</option>
<option
value=
"TN"
>
Tunisia
</option>
<option
value=
"TR"
>
Turkey
</option>
<option
value=
"TM"
>
Turkmenistan
</option>
<option
value=
"TC"
>
Turks and Caicos Islands
</option>
<option
value=
"TV"
>
Tuvalu
</option>
<option
value=
"UG"
>
Uganda
</option>
<option
value=
"UA"
>
Ukraine
</option>
<option
value=
"AE"
>
United Arab Emirates
</option>
<option
value=
"GB"
>
United Kingdom
</option>
<option
value=
"US"
>
United States
</option>
<option
value=
"UM"
>
United States Minor Outlying Islands
</option>
<option
value=
"UY"
>
Uruguay
</option>
<option
value=
"UZ"
>
Uzbekistan
</option>
<option
value=
"VU"
>
Vanuatu
</option>
<option
value=
"VE"
>
Venezuela, Bolivarian Republic of
</option>
<option
value=
"VN"
>
Viet Nam
</option>
<option
value=
"VG"
>
Virgin Islands, British
</option>
<option
value=
"VI"
>
Virgin Islands, U.S.
</option>
<option
value=
"WF"
>
Wallis and Futuna
</option>
<option
value=
"EH"
>
Western Sahara
</option>
<option
value=
"YE"
>
Yemen
</option>
<option
value=
"ZM"
>
Zambia
</option>
<option
value=
"ZW"
>
Zimbabwe
</option>
</select>
</select>
</div>
</div>
<div
class=
"col-md-12 form-group"
>
<div
class=
"col-md-12 form-group"
>
...
@@ -111,9 +357,6 @@ $courses = new WP_Query(array('post_type' => 'vq_course'));
...
@@ -111,9 +357,6 @@ $courses = new WP_Query(array('post_type' => 'vq_course'));
?>
?>
</select>
</select>
</div>
</div>
<div
class=
"col-md-8 pull-right form-group"
>
<input
type=
"text"
class=
"form-control"
name=
"vCode"
placeholder=
"Verification Code"
>
</div>
<div
class=
"col-md-12 form-group"
>
<div
class=
"col-md-12 form-group"
>
<input
value=
"Submit"
type=
"submit"
name=
"download_submit"
class=
"submit-course-button"
/>
<input
value=
"Submit"
type=
"submit"
name=
"download_submit"
class=
"submit-course-button"
/>
</div>
</div>
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template/e-learning.php
View file @
9a0613e7
...
@@ -6,10 +6,6 @@ $course_categories = get_terms( array(
...
@@ -6,10 +6,6 @@ $course_categories = get_terms( array(
'taxonomy'
=>
'vq_course_taxonomy'
,
'taxonomy'
=>
'vq_course_taxonomy'
,
'hide_empty'
=>
false
,
'hide_empty'
=>
false
,
));
));
//echo "<pre>";
//print_r($course_categories);
//exit;
?>
?>
<div
class=
"bootstrap-iso"
>
<div
class=
"bootstrap-iso"
>
...
@@ -57,7 +53,7 @@ $course_categories = get_terms( array(
...
@@ -57,7 +53,7 @@ $course_categories = get_terms( array(
</div>
</div>
</div>
</div>
<?php
do_shortcode
(
'[vq_short_banner
<?php
echo
do_shortcode
(
'[vq_short_banner
txtClr="#fff"
txtClr="#fff"
btnClr="#fff"
btnClr="#fff"
bgClr="#f89f18"
bgClr="#f89f18"
...
@@ -65,7 +61,7 @@ $course_categories = get_terms( array(
...
@@ -65,7 +61,7 @@ $course_categories = get_terms( array(
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?"]'
);
?>
<?php
do_shortcode
(
'[vq_large_banner pgslg="banner
"]'
)
?>
<?php
echo
do_shortcode
(
'[vq_course_banner id="6173
"]'
)
?>
</div>
</div>
<?php
<?php
get_footer
();
get_footer
();
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template/it-course.php
View file @
9a0613e7
...
@@ -8,10 +8,6 @@ $args = array(
...
@@ -8,10 +8,6 @@ $args = array(
);
);
$courses
=
new
WP_Query
(
$args
);
$courses
=
new
WP_Query
(
$args
);
//exit;
//die;
?>
?>
<div
class=
"bootstrap-iso"
>
<div
class=
"bootstrap-iso"
>
<div
class=
"e-learning-banner"
>
<div
class=
"e-learning-banner"
>
...
@@ -99,7 +95,7 @@ $courses = new WP_Query($args);
...
@@ -99,7 +95,7 @@ $courses = new WP_Query($args);
</div>
</div>
</div>
</div>
<?php
do_shortcode
(
'[vq_short_banner
<?php
echo
do_shortcode
(
'[vq_short_banner
txtClr="#fff"
txtClr="#fff"
btnClr="#fff"
btnClr="#fff"
bgClr="#f89f18"
bgClr="#f89f18"
...
@@ -107,7 +103,7 @@ $courses = new WP_Query($args);
...
@@ -107,7 +103,7 @@ $courses = new WP_Query($args);
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?"]'
);
?>
<?php
do_shortcode
(
'[vq_short_banner
<?php
echo
do_shortcode
(
'[vq_short_banner
txtClr="#fff"
txtClr="#fff"
btnClr="#fff"
btnClr="#fff"
bgClr="#2898c4"
bgClr="#2898c4"
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template/pricing-request.php
View file @
9a0613e7
<?php
<?php
if
(
'POST'
===
$_SERVER
[
'REQUEST_METHOD'
]
&&
isset
(
$_POST
[
'download_submit'
])
&&
$_POST
[
'post_action'
]
===
'download-all'
)
{
$fname
=
$_POST
[
'pr_firstName'
];
$lname
=
$_POST
[
'pr_lastName'
];
$company
=
$_POST
[
'pr_company'
];
$email
=
$_POST
[
'pr_email'
];
$cNumber
=
$_POST
[
'pr_contactNumber'
];
$jobTitle
=
$_POST
[
'pr_jobTitle'
];
$country
=
$_POST
[
'pr_country'
];
$prMessage
=
$_POST
[
'pr_message'
];
$postContent
=
'<strong>First Name: '
.
$fname
.
'</strong><br>'
;
$postContent
.=
'<strong>Last Name: '
.
$lname
.
'</strong><br>'
;
$postContent
.=
'<strong>Company: '
.
$company
.
'</strong><br>'
;
$postContent
.=
'<strong>Email: '
.
$email
.
'</strong><br>'
;
$postContent
.=
'<strong>Contact Number: '
.
$cNumber
.
'</strong><br>'
;
$postContent
.=
'<strong>Job Title: '
.
$jobTitle
.
'</strong><br>'
;
$postContent
.=
'<strong>Country: '
.
$country
.
'</strong><br>'
;
$postContent
.=
'<strong>Message: '
.
$prMessage
.
'</strong><br>'
;
$newPricingRequest
=
array
(
'post_title'
=>
$fname
.
' '
.
$lname
,
'post_type'
=>
'vq_lms_prequest'
,
'post_status'
=>
'publish'
,
'post_content'
=>
$postContent
);
$pid
=
wp_insert_post
(
$newPricingRequest
);
update_post_meta
(
$pid
,
'pr_firstName'
,
$fname
);
update_post_meta
(
$pid
,
'pr_lastName'
,
$lname
);
update_post_meta
(
$pid
,
'pr_company'
,
$company
);
update_post_meta
(
$pid
,
'pr_email'
,
$email
);
update_post_meta
(
$pid
,
'pr_contactNumber'
,
$cNumber
);
update_post_meta
(
$pid
,
'pr_jobTitle'
,
$jobTitle
);
update_post_meta
(
$pid
,
'pr_country'
,
$country
);
update_post_meta
(
$pid
,
'pr_message'
,
$prMessage
);
header
(
'Location: '
.
'/thank-you-pricing'
);
}
get_header
();
get_header
();
?>
?>
<div
class=
"bootstrap-iso"
>
<div
class=
"bootstrap-iso"
>
...
@@ -6,8 +50,8 @@ get_header();
...
@@ -6,8 +50,8 @@ get_header();
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"e-learning-heading"
>
<div
class=
"e-learning-heading"
>
<h2>
Professional Development anytime, anywhere
</h2>
<h2>
<?php
echo
get_the_title
();
?>
</h2>
<h3>
Special intro price: $1.00 per user / per month
</h3>
<h3>
<?php
echo
get_the_excerpt
();
?>
</h3>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -15,58 +59,297 @@ get_header();
...
@@ -15,58 +59,297 @@ get_header();
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-sm-6"
>
<div
class=
"col-sm-6"
>
<
div
class=
"inquire-box
"
>
<
form
class=
"inquire-box"
action=
""
method=
"post
"
>
<div
class=
"inquire-heading"
>
<div
class=
"inquire-heading"
>
<h2>
Pricing Request - LMS
</h2>
<h2>
Pricing Request - LMS
</h2>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-md-12 form-group"
>
<input
type=
"email"
class=
"form-control text-feild"
id=
"exampleInputEmail1"
<input
type=
"text"
class=
"form-control"
name=
"pr_firstName"
placeholder=
"First Name"
required
>
placeholder=
"First Name"
>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-md-12 form-group"
>
<input
type=
"email"
class=
"form-control text-feild"
id=
"exampleInputEmail1"
<input
type=
"text"
class=
"form-control"
name=
"pr_lastName"
placeholder=
"Last Name"
required
>
placeholder=
"Last Name"
>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-md-12 form-group"
>
<input
type=
"email"
class=
"form-control text-feild"
id=
"exampleInputEmail1"
<input
type=
"text"
class=
"form-control"
name=
"pr_company"
placeholder=
"Company Name"
required
>
placeholder=
"Company Name"
>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-md-12 form-group"
>
<input
type=
"email"
class=
"form-control text-feild"
id=
"exampleInputEmail1"
<input
type=
"text"
class=
"form-control"
name=
"pr_email"
placeholder=
"Email Address"
required
>
placeholder=
"Email Address"
>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-md-12 form-group"
>
<input
type=
"email"
class=
"form-control text-feild"
id=
"exampleInputEmail1"
<input
type=
"text"
class=
"form-control"
name=
"pr_contactNumber"
placeholder=
"Contact Number"
required
>
placeholder=
"Contact Number"
>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-md-12 form-group"
>
<input
type=
"email"
class=
"form-control text-feild"
id=
"exampleInputEmail1"
<input
type=
"text"
class=
"form-control"
name=
"pr_jobTitle"
placeholder=
"Job Title"
required
>
placeholder=
"Job Title"
>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-md-12 form-group"
>
<select
class=
"form-control text-feild"
>
<select
class=
"form-control chosen-select"
name=
"pr_country"
data-placeholder=
"Select Country"
>
<option>
Country
</option>
<option
value=
"AF"
>
Afghanistan
</option>
<option>
2
</option>
<option
value=
"AX"
>
Åland Islands
</option>
<option>
3
</option>
<option
value=
"AL"
>
Albania
</option>
<option>
4
</option>
<option
value=
"DZ"
>
Algeria
</option>
<option>
5
</option>
<option
value=
"AS"
>
American Samoa
</option>
<option
value=
"AD"
>
Andorra
</option>
<option
value=
"AO"
>
Angola
</option>
<option
value=
"AI"
>
Anguilla
</option>
<option
value=
"AQ"
>
Antarctica
</option>
<option
value=
"AG"
>
Antigua and Barbuda
</option>
<option
value=
"AR"
>
Argentina
</option>
<option
value=
"AM"
>
Armenia
</option>
<option
value=
"AW"
>
Aruba
</option>
<option
value=
"AU"
>
Australia
</option>
<option
value=
"AT"
>
Austria
</option>
<option
value=
"AZ"
>
Azerbaijan
</option>
<option
value=
"BS"
>
Bahamas
</option>
<option
value=
"BH"
>
Bahrain
</option>
<option
value=
"BD"
>
Bangladesh
</option>
<option
value=
"BB"
>
Barbados
</option>
<option
value=
"BY"
>
Belarus
</option>
<option
value=
"BE"
>
Belgium
</option>
<option
value=
"BZ"
>
Belize
</option>
<option
value=
"BJ"
>
Benin
</option>
<option
value=
"BM"
>
Bermuda
</option>
<option
value=
"BT"
>
Bhutan
</option>
<option
value=
"BO"
>
Bolivia, Plurinational State of
</option>
<option
value=
"BQ"
>
Bonaire, Sint Eustatius and Saba
</option>
<option
value=
"BA"
>
Bosnia and Herzegovina
</option>
<option
value=
"BW"
>
Botswana
</option>
<option
value=
"BV"
>
Bouvet Island
</option>
<option
value=
"BR"
>
Brazil
</option>
<option
value=
"IO"
>
British Indian Ocean Territory
</option>
<option
value=
"BN"
>
Brunei Darussalam
</option>
<option
value=
"BG"
>
Bulgaria
</option>
<option
value=
"BF"
>
Burkina Faso
</option>
<option
value=
"BI"
>
Burundi
</option>
<option
value=
"KH"
>
Cambodia
</option>
<option
value=
"CM"
>
Cameroon
</option>
<option
value=
"CA"
>
Canada
</option>
<option
value=
"CV"
>
Cape Verde
</option>
<option
value=
"KY"
>
Cayman Islands
</option>
<option
value=
"CF"
>
Central African Republic
</option>
<option
value=
"TD"
>
Chad
</option>
<option
value=
"CL"
>
Chile
</option>
<option
value=
"CN"
>
China
</option>
<option
value=
"CX"
>
Christmas Island
</option>
<option
value=
"CC"
>
Cocos (Keeling) Islands
</option>
<option
value=
"CO"
>
Colombia
</option>
<option
value=
"KM"
>
Comoros
</option>
<option
value=
"CG"
>
Congo
</option>
<option
value=
"CD"
>
Congo, the Democratic Republic of the
</option>
<option
value=
"CK"
>
Cook Islands
</option>
<option
value=
"CR"
>
Costa Rica
</option>
<option
value=
"CI"
>
Côte d'Ivoire
</option>
<option
value=
"HR"
>
Croatia
</option>
<option
value=
"CU"
>
Cuba
</option>
<option
value=
"CW"
>
Curaçao
</option>
<option
value=
"CY"
>
Cyprus
</option>
<option
value=
"CZ"
>
Czech Republic
</option>
<option
value=
"DK"
>
Denmark
</option>
<option
value=
"DJ"
>
Djibouti
</option>
<option
value=
"DM"
>
Dominica
</option>
<option
value=
"DO"
>
Dominican Republic
</option>
<option
value=
"EC"
>
Ecuador
</option>
<option
value=
"EG"
>
Egypt
</option>
<option
value=
"SV"
>
El Salvador
</option>
<option
value=
"GQ"
>
Equatorial Guinea
</option>
<option
value=
"ER"
>
Eritrea
</option>
<option
value=
"EE"
>
Estonia
</option>
<option
value=
"ET"
>
Ethiopia
</option>
<option
value=
"FK"
>
Falkland Islands (Malvinas)
</option>
<option
value=
"FO"
>
Faroe Islands
</option>
<option
value=
"FJ"
>
Fiji
</option>
<option
value=
"FI"
>
Finland
</option>
<option
value=
"FR"
>
France
</option>
<option
value=
"GF"
>
French Guiana
</option>
<option
value=
"PF"
>
French Polynesia
</option>
<option
value=
"TF"
>
French Southern Territories
</option>
<option
value=
"GA"
>
Gabon
</option>
<option
value=
"GM"
>
Gambia
</option>
<option
value=
"GE"
>
Georgia
</option>
<option
value=
"DE"
>
Germany
</option>
<option
value=
"GH"
>
Ghana
</option>
<option
value=
"GI"
>
Gibraltar
</option>
<option
value=
"GR"
>
Greece
</option>
<option
value=
"GL"
>
Greenland
</option>
<option
value=
"GD"
>
Grenada
</option>
<option
value=
"GP"
>
Guadeloupe
</option>
<option
value=
"GU"
>
Guam
</option>
<option
value=
"GT"
>
Guatemala
</option>
<option
value=
"GG"
>
Guernsey
</option>
<option
value=
"GN"
>
Guinea
</option>
<option
value=
"GW"
>
Guinea-Bissau
</option>
<option
value=
"GY"
>
Guyana
</option>
<option
value=
"HT"
>
Haiti
</option>
<option
value=
"HM"
>
Heard Island and McDonald Islands
</option>
<option
value=
"VA"
>
Holy See (Vatican City State)
</option>
<option
value=
"HN"
>
Honduras
</option>
<option
value=
"HK"
>
Hong Kong
</option>
<option
value=
"HU"
>
Hungary
</option>
<option
value=
"IS"
>
Iceland
</option>
<option
value=
"IN"
>
India
</option>
<option
value=
"ID"
>
Indonesia
</option>
<option
value=
"IR"
>
Iran, Islamic Republic of
</option>
<option
value=
"IQ"
>
Iraq
</option>
<option
value=
"IE"
>
Ireland
</option>
<option
value=
"IM"
>
Isle of Man
</option>
<option
value=
"IL"
>
Israel
</option>
<option
value=
"IT"
>
Italy
</option>
<option
value=
"JM"
>
Jamaica
</option>
<option
value=
"JP"
>
Japan
</option>
<option
value=
"JE"
>
Jersey
</option>
<option
value=
"JO"
>
Jordan
</option>
<option
value=
"KZ"
>
Kazakhstan
</option>
<option
value=
"KE"
>
Kenya
</option>
<option
value=
"KI"
>
Kiribati
</option>
<option
value=
"KP"
>
Korea, Democratic People's Republic of
</option>
<option
value=
"KR"
>
Korea, Republic of
</option>
<option
value=
"KW"
>
Kuwait
</option>
<option
value=
"KG"
>
Kyrgyzstan
</option>
<option
value=
"LA"
>
Lao People's Democratic Republic
</option>
<option
value=
"LV"
>
Latvia
</option>
<option
value=
"LB"
>
Lebanon
</option>
<option
value=
"LS"
>
Lesotho
</option>
<option
value=
"LR"
>
Liberia
</option>
<option
value=
"LY"
>
Libya
</option>
<option
value=
"LI"
>
Liechtenstein
</option>
<option
value=
"LT"
>
Lithuania
</option>
<option
value=
"LU"
>
Luxembourg
</option>
<option
value=
"MO"
>
Macao
</option>
<option
value=
"MK"
>
Macedonia, the former Yugoslav Republic of
</option>
<option
value=
"MG"
>
Madagascar
</option>
<option
value=
"MW"
>
Malawi
</option>
<option
value=
"MY"
>
Malaysia
</option>
<option
value=
"MV"
>
Maldives
</option>
<option
value=
"ML"
>
Mali
</option>
<option
value=
"MT"
>
Malta
</option>
<option
value=
"MH"
>
Marshall Islands
</option>
<option
value=
"MQ"
>
Martinique
</option>
<option
value=
"MR"
>
Mauritania
</option>
<option
value=
"MU"
>
Mauritius
</option>
<option
value=
"YT"
>
Mayotte
</option>
<option
value=
"MX"
>
Mexico
</option>
<option
value=
"FM"
>
Micronesia, Federated States of
</option>
<option
value=
"MD"
>
Moldova, Republic of
</option>
<option
value=
"MC"
>
Monaco
</option>
<option
value=
"MN"
>
Mongolia
</option>
<option
value=
"ME"
>
Montenegro
</option>
<option
value=
"MS"
>
Montserrat
</option>
<option
value=
"MA"
>
Morocco
</option>
<option
value=
"MZ"
>
Mozambique
</option>
<option
value=
"MM"
>
Myanmar
</option>
<option
value=
"NA"
>
Namibia
</option>
<option
value=
"NR"
>
Nauru
</option>
<option
value=
"NP"
>
Nepal
</option>
<option
value=
"NL"
>
Netherlands
</option>
<option
value=
"NC"
>
New Caledonia
</option>
<option
value=
"NZ"
>
New Zealand
</option>
<option
value=
"NI"
>
Nicaragua
</option>
<option
value=
"NE"
>
Niger
</option>
<option
value=
"NG"
>
Nigeria
</option>
<option
value=
"NU"
>
Niue
</option>
<option
value=
"NF"
>
Norfolk Island
</option>
<option
value=
"MP"
>
Northern Mariana Islands
</option>
<option
value=
"NO"
>
Norway
</option>
<option
value=
"OM"
>
Oman
</option>
<option
value=
"PK"
>
Pakistan
</option>
<option
value=
"PW"
>
Palau
</option>
<option
value=
"PS"
>
Palestinian Territory, Occupied
</option>
<option
value=
"PA"
>
Panama
</option>
<option
value=
"PG"
>
Papua New Guinea
</option>
<option
value=
"PY"
>
Paraguay
</option>
<option
value=
"PE"
>
Peru
</option>
<option
value=
"PH"
>
Philippines
</option>
<option
value=
"PN"
>
Pitcairn
</option>
<option
value=
"PL"
>
Poland
</option>
<option
value=
"PT"
>
Portugal
</option>
<option
value=
"PR"
>
Puerto Rico
</option>
<option
value=
"QA"
>
Qatar
</option>
<option
value=
"RE"
>
Réunion
</option>
<option
value=
"RO"
>
Romania
</option>
<option
value=
"RU"
>
Russian Federation
</option>
<option
value=
"RW"
>
Rwanda
</option>
<option
value=
"BL"
>
Saint Barthélemy
</option>
<option
value=
"SH"
>
Saint Helena, Ascension and Tristan da Cunha
</option>
<option
value=
"KN"
>
Saint Kitts and Nevis
</option>
<option
value=
"LC"
>
Saint Lucia
</option>
<option
value=
"MF"
>
Saint Martin (French part)
</option>
<option
value=
"PM"
>
Saint Pierre and Miquelon
</option>
<option
value=
"VC"
>
Saint Vincent and the Grenadines
</option>
<option
value=
"WS"
>
Samoa
</option>
<option
value=
"SM"
>
San Marino
</option>
<option
value=
"ST"
>
Sao Tome and Principe
</option>
<option
value=
"SA"
>
Saudi Arabia
</option>
<option
value=
"SN"
>
Senegal
</option>
<option
value=
"RS"
>
Serbia
</option>
<option
value=
"SC"
>
Seychelles
</option>
<option
value=
"SL"
>
Sierra Leone
</option>
<option
value=
"SG"
>
Singapore
</option>
<option
value=
"SX"
>
Sint Maarten (Dutch part)
</option>
<option
value=
"SK"
>
Slovakia
</option>
<option
value=
"SI"
>
Slovenia
</option>
<option
value=
"SB"
>
Solomon Islands
</option>
<option
value=
"SO"
>
Somalia
</option>
<option
value=
"ZA"
>
South Africa
</option>
<option
value=
"GS"
>
South Georgia and the South Sandwich Islands
</option>
<option
value=
"SS"
>
South Sudan
</option>
<option
value=
"ES"
>
Spain
</option>
<option
value=
"LK"
>
Sri Lanka
</option>
<option
value=
"SD"
>
Sudan
</option>
<option
value=
"SR"
>
Suriname
</option>
<option
value=
"SJ"
>
Svalbard and Jan Mayen
</option>
<option
value=
"SZ"
>
Swaziland
</option>
<option
value=
"SE"
>
Sweden
</option>
<option
value=
"CH"
>
Switzerland
</option>
<option
value=
"SY"
>
Syrian Arab Republic
</option>
<option
value=
"TW"
>
Taiwan, Province of China
</option>
<option
value=
"TJ"
>
Tajikistan
</option>
<option
value=
"TZ"
>
Tanzania, United Republic of
</option>
<option
value=
"TH"
>
Thailand
</option>
<option
value=
"TL"
>
Timor-Leste
</option>
<option
value=
"TG"
>
Togo
</option>
<option
value=
"TK"
>
Tokelau
</option>
<option
value=
"TO"
>
Tonga
</option>
<option
value=
"TT"
>
Trinidad and Tobago
</option>
<option
value=
"TN"
>
Tunisia
</option>
<option
value=
"TR"
>
Turkey
</option>
<option
value=
"TM"
>
Turkmenistan
</option>
<option
value=
"TC"
>
Turks and Caicos Islands
</option>
<option
value=
"TV"
>
Tuvalu
</option>
<option
value=
"UG"
>
Uganda
</option>
<option
value=
"UA"
>
Ukraine
</option>
<option
value=
"AE"
>
United Arab Emirates
</option>
<option
value=
"GB"
>
United Kingdom
</option>
<option
value=
"US"
>
United States
</option>
<option
value=
"UM"
>
United States Minor Outlying Islands
</option>
<option
value=
"UY"
>
Uruguay
</option>
<option
value=
"UZ"
>
Uzbekistan
</option>
<option
value=
"VU"
>
Vanuatu
</option>
<option
value=
"VE"
>
Venezuela, Bolivarian Republic of
</option>
<option
value=
"VN"
>
Viet Nam
</option>
<option
value=
"VG"
>
Virgin Islands, British
</option>
<option
value=
"VI"
>
Virgin Islands, U.S.
</option>
<option
value=
"WF"
>
Wallis and Futuna
</option>
<option
value=
"EH"
>
Western Sahara
</option>
<option
value=
"YE"
>
Yemen
</option>
<option
value=
"ZM"
>
Zambia
</option>
<option
value=
"ZW"
>
Zimbabwe
</option>
</select>
</select>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-sm-12 form-group"
>
<textarea
class=
"form-control text-feild"
placeholder=
"Message"
rows=
"5"
></textarea>
<textarea
class=
"form-control"
placeholder=
"Message"
name=
"pr_message"
rows=
"5"
></textarea>
</div>
<div
class=
"col-sm-12"
>
<input
type=
"email"
class=
"form-control text-feild"
id=
"exampleInputEmail1"
placeholder=
"Verification Code"
>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-sm-12"
>
<
button
type=
"submit"
class=
"submit-course-button"
>
Submit Request
</button
>
<
input
value=
"Submit"
type=
"submit"
name=
"download_submit"
class=
"submit-course-button"
/
>
</div>
</div>
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
</div>
<?php
wp_nonce_field
(
'new_song_nonce'
);
?>
<input
type=
"hidden"
id=
"post_action"
name=
"post_action"
value=
"download-all"
/>
</form>
</div>
</div>
<div
class=
"col-sm-6"
>
<div
class=
"col-sm-6"
>
<a
href=
"#"
><img
class=
"management-video"
src=
"
<?php
echo
plugin_dir_url
(
__FILE__
);
?>
imgaes/management-video.jpg"
alt=
""
/></a>
<?php
$settings
=
get_option
(
'vq_lms_settings_options'
);
?>
<video
class=
"management-video"
src=
"
<?php
echo
$settings
[
'vq_lms_settings_field_video'
];
?>
"
controls
>
</video>
<div
class=
"payment-heading"
>
<div
class=
"payment-heading"
>
<h2>
Apex global online resources
</h2>
<h2>
Apex global online resources
</h2>
</div>
</div>
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template/single-course.php
0 → 100644
View file @
9a0613e7
<?php
get_header
();
$meta
=
get_post_meta
(
get_the_ID
());
?>
<div
class=
"bootstrap-iso"
>
<div
class=
"e-learning-banner"
style=
"background-image: url(
<?php
echo
get_the_post_thumbnail_url
(
get_the_ID
());
?>
)"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"e-learning-heading"
>
<h2>
<?php
echo
get_the_title
()
?>
</h2>
<h3>
<?php
echo
get_the_excerpt
();
?>
</h3>
</div>
</div>
</div>
</div>
<div
class=
"learning-profile-bg"
>
<div
class=
"container"
>
<div
class=
"row"
>
<?php
echo
get_the_content
();
?>
</div>
</div>
</div>
<div
class=
"container"
style=
"margin-top: 15px; margin-bottom: 30px;"
>
<div
class=
"row"
>
<div
class=
"col-sm-8"
>
<video
src=
"
<?php
echo
$meta
[
'course_attachment_url'
][
0
];
?>
"
width=
"100%"
controls
>
</video>
<div
class=
"course-box"
>
<div
class=
"col-sm-3 col-padding"
>
<?php
the_post_thumbnail
(
'thumbnail'
)
?>
</div>
<div
class=
"col-sm-6"
>
<div
class=
"course-heading"
>
<?php
echo
$meta
[
'listing_content'
][
0
];
?>
</div>
</div>
<div
class=
"col-sm-3 col-padding"
>
<div
class=
"download-course-box"
>
<div
class=
"course-heading"
>
<h4><a
href=
"
<?php
echo
get_permalink
(
get_page_by_path
(
'download-all'
))
?>
"
>
Download
<br>
course list
</a></h4>
</div>
<div
class=
"text-center"
>
</div>
</div>
</div>
<div
class=
"clear"
></div>
</div>
</div>
<div
class=
"col-sm-4"
>
<div
class=
"inquire-box"
>
<div
class=
"inquire-heading"
>
<h2>
Inquire Now
</h2>
</div>
<div
class=
"col-sm-12"
>
<input
type=
"email"
class=
"form-control text-feild"
id=
"exampleInputEmail1"
placeholder=
"Name"
>
</div>
<div
class=
"col-sm-12"
>
<input
type=
"email"
class=
"form-control text-feild"
id=
"exampleInputEmail1"
placeholder=
"Email"
>
</div>
<div
class=
"col-sm-12"
>
<select
class=
"form-control text-feild"
>
<option>
E-Learning Solution
</option>
<option>
2
</option>
<option>
3
</option>
<option>
4
</option>
<option>
5
</option>
</select>
</div>
<div
class=
"col-sm-12"
>
<textarea
class=
"form-control text-feild"
placeholder=
"Message"
rows=
"5"
></textarea>
</div>
<div
class=
"col-sm-12"
>
<input
type=
"email"
class=
"form-control text-feild"
id=
"exampleInputEmail1"
placeholder=
"Verification Code"
>
</div>
<div
class=
"col-sm-12"
>
<button
type=
"submit"
class=
"submit-course-button"
>
Submit
</button>
</div>
<div
class=
"clear"
></div>
</div>
</div>
</div>
</div>
<?php
do_shortcode
(
'[vq_short_banner
txtClr="#fff"
btnClr="#fff"
bgClr="#2898c4"
btnBg="#f89f18"
btnTxt="Sign Up today"
txt="Ready to begin?"]'
);
?>
</div>
<?php
get_footer
();
?>
\ No newline at end of file
WWW_DATA/wp-content/plugins/apex_global_lms/template/thank-you-download.php
View file @
9a0613e7
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"col-sm-12"
>
<div
class=
"thankyou-heading"
>
<div
class=
"thankyou-heading"
>
<h2>
Your download should start automatically. if not, please click this link
</h2>
<h2>
Kindly check the provided email, You shall soon get a download link for the courses.
</h2>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
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