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
9379e4ac
Commit
9379e4ac
authored
May 08, 2018
by
nadeem.qasmi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
download all page location fixed again http, https not works
parent
05aa24e4
Pipeline
#491
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
download-now.php
...content/plugins/apex_global_lms/template/download-now.php
+10
-3
No files found.
WWW_DATA/wp-content/plugins/apex_global_lms/template/download-now.php
View file @
9379e4ac
...
@@ -445,16 +445,23 @@ $selected_id = isset( $_GET['course'] ) ? $_GET['course'] : - 1;
...
@@ -445,16 +445,23 @@ $selected_id = isset( $_GET['course'] ) ? $_GET['course'] : - 1;
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
var
ip
=
$
.
getJSON
(
'https://gd.geobytes.com/GetCityDetails?callback=?'
,
function
(
data
)
{
var
ipx
=
data
.
geobytesremoteip
;
var
ips
=
'00'
;
return
ipx
;
});
$
.
getJSON
(
'http://gd.geobytes.com/GetCityDetails?callback=?'
,
function
(
data
)
{
$
.
getJSON
(
"https://cors-anywhere.herokuapp.com/http://www.geoplugin.net/json.gp?ip="
+
ip
,
function
(
response
){
ips
=
data
.
geobytesremoteip
;
$
.
getJSON
(
"https://cors-anywhere.herokuapp.com/http://www.geoplugin.net/json.gp?ip="
+
ips
,
function
(
response
){
$
(
'#country_code'
).
val
(
response
.
geoplugin_countryCode
);
$
(
'#country_code'
).
val
(
response
.
geoplugin_countryCode
);
});
});
});
});
});
</script>
</script>
<div
class=
"col-md-12 form-group"
>
<div
class=
"col-md-12 form-group"
>
...
...
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