Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WordPress_SexHackMe_Plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SexHackMe
WordPress_SexHackMe_Plugin
Commits
8ec403d5
Commit
8ec403d5
authored
Jul 25, 2023
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move all the video levels to the shmdown.php
parent
0d013e59
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
6 deletions
+24
-6
sexhackme_header.css
css/sexhackme_header.css
+8
-0
class-video.php
includes/class-video.php
+0
-2
video.php
templates/video.php
+16
-4
No files found.
css/sexhackme_header.css
View file @
8ec403d5
...
...
@@ -34,6 +34,14 @@
margin-bottom
:
0em
;
}
.woocommerce-MyAccount-navigation
ul
li
.is-active
{
border
:
10px
solid
#F3856b
!important
;
}
#pms-paygates-inner
input
:checked
+
span
{
box-shadow
:
0
10px
25px
0
#F3856b
!important
;
}
@media
screen
and
(
min-width
:
768px
)
{
.site-header-cart
.cart-contents
{
...
...
includes/class-video.php
View file @
8ec403d5
...
...
@@ -104,8 +104,6 @@ if(!class_exists('SH_Video')) {
case
'public'
:
return
$this
->
download_public
;
break
;
default
:
return
false
;
}
if
(
$this
->
download_public
OR
$this
->
download_members
OR
$this
->
download_premium
)
return
true
;
return
false
;
...
...
templates/video.php
View file @
8ec403d5
...
...
@@ -153,8 +153,14 @@ get_header(); ?>
case
"members"
:
if
(
user_has_member_access
())
{
if
(
$hls_members
&&
$video
->
video_type
==
"VR"
)
echo
do_shortcode
(
"[sexvideo url=
\"
"
.
$hls_members
.
"
\"
posters=
\"
"
.
$thumb
.
"
\"
]"
);
else
if
(
$hls_members
)
echo
do_shortcode
(
"[sexhls url=
\"
"
.
$hls_members
.
"
\"
posters=
\"
"
.
$thumb
.
"
\"
]"
);
if
(
$filterurl
&&
$hls_members
&&
$video
->
video_type
==
"VR"
)
echo
do_shortcode
(
"[sexvideo url=
\"
"
.
wp_nonce_url
(
$filterurl
.
$sh_video
.
"/members/"
.
basename
(
$hls_members
),
'shm_members_video-'
.
$video
->
id
)
.
"
\"
posters=
\"
"
.
$thumb
.
"
\"
]"
);
else
if
(
$hls_members
&&
$video
->
video_type
==
"VR"
)
echo
do_shortcode
(
"[sexvideo url=
\"
"
.
$hls_members
.
"
\"
posters=
\"
"
.
$thumb
.
"
\"
]"
);
else
if
(
$filterurl
&&
$hls_members
)
echo
do_shortcode
(
"[sexhls url=
\"
"
.
wp_nonce_url
(
$filterurl
.
$sh_video
.
"/members/"
.
basename
(
$hls_members
),
'shm_members_video-'
.
$video
->
id
)
.
"
\"
posters=
\"
"
.
$thumb
.
"
\"
]"
);
else
if
(
$hls_members
)
echo
do_shortcode
(
"[sexhls url=
\"
"
.
$hls_members
.
"
\"
posters=
\"
"
.
$thumb
.
"
\"
]"
);
else
echo
"<h3 class='sexhack-videonotify'>SOMETHING WENT BADLY WRONG. I CAN'T FIND THE VIDEO</h3>"
;
}
else
...
...
@@ -169,8 +175,14 @@ get_header(); ?>
case
"subscribers"
:
if
(
user_has_premium_access
())
{
if
(
$hls_premium
&&
$video
->
video_type
==
"VR"
)
echo
do_shortcode
(
"[sexvideo url=
\"
"
.
$hlt_premium
.
"
\"
posters=
\"
"
.
$thumb
.
"
\"
]"
);
else
if
(
$hls_premium
)
echo
do_shortcode
(
"[sexhls url=
\"
"
.
$hls_premium
.
"
\"
posters=
\"
"
.
$thumb
.
"
\"
]"
);
if
(
$filterurl
&&
$hls_premium
&&
$video
->
video_type
==
"VR"
)
echo
do_shortcode
(
"[sexvideo url=
\"
"
.
wp_nonce_url
(
$filterurl
.
$sh_video
.
"/premium/"
.
basename
(
$hls_premium
),
'shm_premium_video-'
.
$video
->
id
)
.
"
\"
posters=
\"
"
.
$thumb
.
"
\"
]"
);
else
if
(
$hls_premium
&&
$video
->
video_type
==
"VR"
)
echo
do_shortcode
(
"[sexvideo url=
\"
"
.
$hls_premium
.
"
\"
posters=
\"
"
.
$thumb
.
"
\"
]"
);
else
if
(
$filterurl
&&
$hls_premium
)
echo
do_shortcode
(
"[sexhls url=
\"
"
.
wp_nonce_url
(
$filterurl
.
$sh_video
.
"/premium/"
.
basename
(
$hls_premium
),
'shm_premium_video-'
.
$video
->
id
)
.
"
\"
posters=
\"
"
.
$thumb
.
"
\"
]"
);
else
if
(
$hls_premium
)
echo
do_shortcode
(
"[sexhls url=
\"
"
.
$hls_premium
.
"
\"
posters=
\"
"
.
$thumb
.
"
\"
]"
);
else
echo
"<h3 class='sexhack-videonotify'>SOMETHING WENT BADLY WRONG. I CAN'T FIND THE VIDEO</h3>"
;
}
...
...
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