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
22e2ad2a
Commit
22e2ad2a
authored
Jan 20, 2018
by
jenkins
Browse files
Options
Browse Files
Download
Plain Diff
Merge Request accepted by jenkins build success
parents
f134a8d7
2cff219f
Pipeline
#194
passed with stage
in 0 seconds
Changes
6
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
7 deletions
+29
-7
large-banner.html
.../plugins/apex_global_lms/admin/includes/large-banner.html
+2
-2
functions.php
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
+9
-0
lms.css
...A/wp-content/plugins/apex_global_lms/template/css/lms.css
+12
-0
download-now.php
...content/plugins/apex_global_lms/template/download-now.php
+3
-1
e-learning.php
...p-content/plugins/apex_global_lms/template/e-learning.php
+2
-2
it-course.php
...wp-content/plugins/apex_global_lms/template/it-course.php
+1
-2
No files found.
WWW_DATA/wp-content/plugins/apex_global_lms/admin/includes/large-banner.html
View file @
22e2ad2a
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<div
class=
"intro-box"
>
<div
class=
"intro-box"
>
<div
class=
"intro-heading"
>
<div
class=
"intro-heading"
>
<h2>
Special
<br>
intro
<br>
price
</h2>
<h2>
Special
<br>
intro
<br>
price
</h2>
<h3>
$
1.00
</h3>
<h3>
$
[[FEE]]
</h3>
<h4>
Per user / Per month
</h4>
<h4>
Per user / Per month
</h4>
</div>
</div>
</div>
</div>
...
@@ -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>
<a
href=
"[[REDIRECT_URL]]"
class=
"learn-button-1"
>
Learn More
</a>
<a
href=
"[[REDIRECT_URL]]"
class=
"learn-button-1
pull-right
"
>
Learn More
</a>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
View file @
22e2ad2a
...
@@ -203,6 +203,13 @@ function vq_render_course_banner($attr) {
...
@@ -203,6 +203,13 @@ function vq_render_course_banner($attr) {
$page
=
get_post
(
$cid
);
$page
=
get_post
(
$cid
);
$fee
=
get_post_meta
(
$page
->
ID
,
'course_fee'
,
true
);
if
(
empty
(
$fee
)
||
$fee
<=
0
)
{
$settings
=
get_option
(
'vq_lms_settings_options'
);
$fee
=
$settings
[
'vq_lms_settings_field_general_price'
];
}
$banner
=
file_get_contents
(
__DIR__
.
'/admin/includes/large-banner.html'
);
$banner
=
file_get_contents
(
__DIR__
.
'/admin/includes/large-banner.html'
);
$banner
=
str_replace
(
'[[BANNER_HEADING]]'
,
$page
->
post_title
,
$banner
);
$banner
=
str_replace
(
'[[BANNER_HEADING]]'
,
$page
->
post_title
,
$banner
);
...
@@ -213,6 +220,8 @@ function vq_render_course_banner($attr) {
...
@@ -213,6 +220,8 @@ function vq_render_course_banner($attr) {
$banner
=
str_replace
(
'[[REDIRECT_URL]]'
,
get_permalink
(
$page
->
ID
),
$banner
);
$banner
=
str_replace
(
'[[REDIRECT_URL]]'
,
get_permalink
(
$page
->
ID
),
$banner
);
$banner
=
str_replace
(
'[[FEE]]'
,
$fee
,
$banner
);
return
$banner
;
return
$banner
;
}
}
WWW_DATA/wp-content/plugins/apex_global_lms/template/css/lms.css
View file @
22e2ad2a
...
@@ -615,6 +615,7 @@
...
@@ -615,6 +615,7 @@
.bootstrap-iso
.e-learning-link
{
.bootstrap-iso
.e-learning-link
{
margin-top
:
5%
;
margin-top
:
5%
;
}
}
.bootstrap-iso
.lms-learner-remove
{
.bootstrap-iso
.lms-learner-remove
{
text-align
:
center
;
text-align
:
center
;
font-size
:
12px
;
font-size
:
12px
;
...
@@ -653,3 +654,13 @@
...
@@ -653,3 +654,13 @@
display
:
none
;
display
:
none
;
margin-top
:
15px
;
margin-top
:
15px
;
}
}
.bootstrap-iso
.descrip
{
height
:
150px
;
}
.bootstrap-iso
.descrip
p
{
line-height
:
20px
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
}
\ No newline at end of file
WWW_DATA/wp-content/plugins/apex_global_lms/template/download-now.php
View file @
22e2ad2a
...
@@ -56,6 +56,8 @@ $page = get_page_by_path('download-all');
...
@@ -56,6 +56,8 @@ $page = get_page_by_path('download-all');
$settings
=
$options
=
get_option
(
'vq_lms_settings_options'
);
$settings
=
$options
=
get_option
(
'vq_lms_settings_options'
);
$video
=
$settings
[
'vq_lms_settings_field_video'
];
$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'
));
$selected_id
=
isset
(
$_GET
[
'course'
])
?
$_GET
[
'course'
]
:
-
1
;
?>
?>
<div
class=
"bootstrap-iso"
>
<div
class=
"bootstrap-iso"
>
<div
class=
"e-learning-banner"
style=
"background-image: url(
<?php
echo
get_the_post_thumbnail_url
(
$page
);
?>
)"
>
<div
class=
"e-learning-banner"
style=
"background-image: url(
<?php
echo
get_the_post_thumbnail_url
(
$page
);
?>
)"
>
...
@@ -350,7 +352,7 @@ $courses = new WP_Query(array('post_type' => 'vq_course'));
...
@@ -350,7 +352,7 @@ $courses = new WP_Query(array('post_type' => 'vq_course'));
while
(
$courses
->
have_posts
())
{
while
(
$courses
->
have_posts
())
{
$courses
->
the_post
();
$courses
->
the_post
();
?>
?>
<option
value=
"
<?php
the_ID
();
?>
"
>
<?php
the_title
();
?>
</option>
<option
value=
"
<?php
the_ID
();
?>
"
<?php
if
(
get_the_ID
()
==
$selected_id
)
echo
' selected'
;
?>
>
<?php
the_title
();
?>
</option>
<?php
<?php
}
}
$page
=
get_page_by_path
(
'download-all'
);
$page
=
get_page_by_path
(
'download-all'
);
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template/e-learning.php
View file @
22e2ad2a
...
@@ -36,8 +36,8 @@ $course_categories = get_terms( array(
...
@@ -36,8 +36,8 @@ $course_categories = get_terms( array(
</div>
</div>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-sm-12"
>
<div
class=
"e-learning-heading"
>
<div
class=
"e-learning-heading
descrip
"
>
<p>
<?php
echo
$category
->
description
?>
</p>
<p>
<?php
echo
substr
(
$category
->
description
,
0
,
150
)
.
' ...'
;
?>
</p>
</div>
</div>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-sm-12"
>
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template/it-course.php
View file @
22e2ad2a
...
@@ -44,8 +44,7 @@ $courses = new WP_Query($args);
...
@@ -44,8 +44,7 @@ $courses = new WP_Query($args);
<div
class=
"col-sm-3 col-padding"
>
<div
class=
"col-sm-3 col-padding"
>
<div
class=
"download-course-box"
>
<div
class=
"download-course-box"
>
<div
class=
"course-heading"
>
<div
class=
"course-heading"
>
<?php
$aid
=
get_post_meta
(
get_the_ID
(),
'course_attachment_id'
,
true
)
?>
<h4><a
href=
"
<?php
echo
'/download-alla?course='
.
get_the_ID
();
?>
"
>
Download
<br>
course list
</a></h4>
<h4><a
href=
"
<?php
echo
wp_get_attachment_url
(
$aid
);
?>
"
>
Download
<br>
course list
</a></h4>
</div>
</div>
<div
class=
"text-center"
>
<div
class=
"text-center"
>
...
...
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