phcthemes_web_theme_pack 2.0.8 → 2.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51fabd690dcc7a3a395138bb96250867215da78c802822d472809156e4afbb1a
4
- data.tar.gz: a2ef76a5a5e2fbf99bfb0828e1b1bb3b2ceeb9f93169f02ecba8da809bfc31ee
3
+ metadata.gz: 724a826cebce4c93b7958503401440a17a519ab9b8addd7f983d9450d547ee88
4
+ data.tar.gz: 882771fd35274e1ddcbd845a377644ed776a0b290a899effe06edd0ee57a5118
5
5
  SHA512:
6
- metadata.gz: e61276ebb3cdf63d3c91255fe4256d34a011588aeb2cd752ffbec3a348c88e72d3be3bb0b085f445c9791be788e6d83201d75b51de107ac12eeddd5cd40ef617
7
- data.tar.gz: 43082ecbbf55ba93430f98927e0dcf24f73ab50942d16abf3ebdf80d09736502db5c15d505ae550066e4767a774250f044ddb7908e6d4ab980d141ef7e4fd0a3
6
+ metadata.gz: c9557c78e0ce047185fb531101ec2b5ec738abd45c52e33bd18d4acff2c287427003e86d1e298ce587abad20880a8926bac41fd3dbe07245436557a55e4e323f
7
+ data.tar.gz: 15ab0f85ce711501e91c9073186f2ec345a46ad5c437b1bd36e5a288eb8014b1c2f09b0920d84bcd576ee92759328e6369150e750ee032abae954a07fe843a2e
@@ -9,6 +9,8 @@
9
9
  //= require themes/hostinza/theme/jquery.parallax-scroll.js
10
10
  //= require themes/hostinza/theme/jquery.parallax.js
11
11
  //= require themes/hostinza/theme/hostslide.js
12
+ //= require themes/hostinza/theme/vps-slider.js
13
+ //= require themes/hostinza/theme/vps-slider-settings.js
12
14
  //= require common/rev-slider/jquery.themepunch.tools.min.js
13
15
  //= require common/rev-slider/jquery.themepunch.revolution.js
14
16
  //= require common/rev-slider/extensions/revolution.extension.actions.js
@@ -0,0 +1,130 @@
1
+ (function($) {
2
+ "use strict";
3
+ $(document).ready(function() {
4
+
5
+
6
+ if ($(".vps-slider").length > 0) {
7
+ let $this = $(".vps-slider");
8
+
9
+ let sliderplans = [];
10
+
11
+ // name
12
+ sliderplans[0] = [products[0].name, products[1].name, products[2].name, products[3].name, products[4].name];
13
+
14
+ // price
15
+ sliderplans[1] = [products[0].price, products[1].price, products[2].price, products[3].price, products[4].price];
16
+
17
+ // desc
18
+ sliderplans[2] = [products[0].desc, products[1].desc, products[2].desc, products[3].desc, products[4].desc];
19
+
20
+ // cpu
21
+ sliderplans[3] = [products[0].cpu, products[1].cpu, products[2].cpu, products[3].cpu, products[4].cpu];
22
+
23
+ // brandwidth 1
24
+ sliderplans[4] = [products[0].brandwidth, products[1].brandwidth, products[2].brandwidth, products[3].brandwidth, products[4].brandwidth];
25
+
26
+ // brandwidth 2
27
+ sliderplans[5] = [products[0].brandwidth2, products[1].brandwidth2, products[2].brandwidth2, products[3].brandwidth2, products[4].brandwidth2];
28
+
29
+ // ram
30
+ sliderplans[6] = [products[0].ram, products[1].ram, products[2].ram, products[3].ram, products[4].ram];
31
+
32
+ // setup
33
+ sliderplans[7] = [products[0].setup, products[1].setup, products[2].setup, products[3].setup, products[4].setup];
34
+
35
+ // setup 2
36
+ sliderplans[8] = [products[0].setup2, products[1].setup2, products[2].setup2, products[3].setup2, products[4].setup2];
37
+
38
+ // diskspace
39
+ sliderplans[9] = [products[0].diskspace, products[1].diskspace, products[2].diskspace, products[3].diskspace, products[4].diskspace];
40
+
41
+ // ip one
42
+ sliderplans[10] = [products[0].ipOne, products[1].ipOne, products[2].ipOne, products[3].ipOne, products[4].ipOne];
43
+
44
+ // ip two
45
+ sliderplans[11] = [products[0].ipTwo, products[1].ipTwo, products[2].ipTwo, products[3].ipTwo, products[4].ipTwo];
46
+
47
+ let urilink = [products[0].urlLink, products[1].urlLink, products[2].urlLink, products[3].urlLink, products[4].urlLink];
48
+
49
+ let currentplan = 1;
50
+
51
+ $this.xsslide('single', sliderplans, currentplan, 'xs', 'horizontal');
52
+
53
+ $this.slider({
54
+ animate: true,
55
+ slide: function( event, ui ) {
56
+ // title
57
+ $('.slider-container .title').html(sliderplans[0][ui.value-1]);
58
+ // price
59
+ $('.slider-container .price').html(sliderplans[1][ui.value-1]);
60
+ // description
61
+ $('.slider-container .desc').html(sliderplans[2][ui.value-1]);
62
+ // cpu
63
+ $('.vps-pricing-list .cpu').html(sliderplans[3][ui.value-1]);
64
+ // brandwidth
65
+ $('.vps-pricing-list .brandwidth').html(sliderplans[4][ui.value-1]);
66
+ // brandwidth2
67
+ $('.vps-pricing-list .brandwidth2').html(sliderplans[5][ui.value-1]);
68
+ // ram
69
+ $('.vps-pricing-list .ram').html(sliderplans[6][ui.value-1]);
70
+ // setup 1
71
+ $('.vps-pricing-list .setup').html(sliderplans[7][ui.value-1]);
72
+ // setup 2
73
+ $('.vps-pricing-list .setup2').html(sliderplans[8][ui.value-1]);
74
+ // diskspace
75
+ $('.vps-pricing-list .diskspace').html(sliderplans[9][ui.value-1]);
76
+ // ip one
77
+ $('.vps-pricing-list .ip_one').html(sliderplans[10][ui.value-1]);
78
+ // ip two
79
+ $('.vps-pricing-list .ip_two').html(sliderplans[11][ui.value-1]);
80
+ // buttons
81
+ $('.slider-btns').attr('href', urilink[ui.value-1]);
82
+ // console.log($('.slider-btns').attr())
83
+ },
84
+ change: function( event, ui ) {
85
+ // title
86
+ $('.slider-container .title').html(sliderplans[0][ui.value-1]);
87
+ // price
88
+ $('.slider-container .price').html(sliderplans[1][ui.value-1]);
89
+ // description
90
+ $('.slider-container .desc').html(sliderplans[2][ui.value-1]);
91
+ // cpu
92
+ $('.vps-pricing-list .cpu').html(sliderplans[3][ui.value-1]);
93
+ // brandwidth
94
+ $('.vps-pricing-list .brandwidth').html(sliderplans[4][ui.value-1]);
95
+ // brandwidth2
96
+ $('.vps-pricing-list .brandwidth2').html(sliderplans[5][ui.value-1]);
97
+ // ram
98
+ $('.vps-pricing-list .ram').html(sliderplans[6][ui.value-1]);
99
+ // setup 1
100
+ $('.vps-pricing-list .setup').html(sliderplans[7][ui.value-1]);
101
+ // setup 2
102
+ $('.vps-pricing-list .setup2').html(sliderplans[8][ui.value-1]);
103
+ // diskspace
104
+ $('.vps-pricing-list .diskspace').html(sliderplans[9][ui.value-1]);
105
+ // ip one
106
+ $('.vps-pricing-list .ip_one').html(sliderplans[10][ui.value-1]);
107
+ // ip two
108
+ $('.vps-pricing-list .ip_two').html(sliderplans[11][ui.value-1]);
109
+ // buttons
110
+ $('.slider-btns').attr('href', urilink[ui.value-1]);
111
+ // console.log($('.slider-btns').attr())
112
+ }
113
+ });
114
+ }
115
+
116
+ $('.slider-tigger').click(function() {
117
+ var value= parseInt(this.id.slice(5)) + 1;
118
+ $('.vps-slider').slider('value', value);
119
+ if (!$(this).hasClass('current')) {
120
+ $(this).addClass('current');
121
+ $(this).nextAll().removeClass('current');
122
+ $(this).prevAll().removeClass('current');
123
+ } else {
124
+ $(this).removeClass('current');
125
+ }
126
+ });
127
+
128
+ }); // end ready function
129
+
130
+ })(jQuery);
@@ -0,0 +1,85 @@
1
+ let products = [
2
+
3
+ {
4
+ name : 'Basic Pack',
5
+ price : '$5.99',
6
+ desc : 'It is a paradisematic country, in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name',
7
+ cpu : '1 Core',
8
+ brandwidth: '100 GB',
9
+ brandwidth2: '.5 TB',
10
+ ram: '1 GB' ,
11
+ setup: 'Paid',
12
+ setup2: 'Free',
13
+ diskspace: '100 GB',
14
+ ipOne: 'Up to 1',
15
+ ipTwo: 'Up to 0',
16
+ urlLink: 'http://whmcs.finesttheme.com/cart.php?a=add&pid=3'
17
+ },
18
+
19
+ {
20
+ name : 'Starter Pack',
21
+ price : '$10.99',
22
+ desc : ' Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.',
23
+ cpu : '2 Core',
24
+ brandwidth: '500 GB',
25
+ brandwidth2: '1 TB',
26
+ ram: '2 GB' ,
27
+ setup: 'Free',
28
+ setup2: 'Paid',
29
+ diskspace: '200 GB',
30
+ ipOne: 'Up to 3',
31
+ ipTwo: 'Up to 2',
32
+ urlLink: 'http://whmcs.finesttheme.com/cart.php?a=add&pid=6'
33
+ },
34
+
35
+ {
36
+ name : 'Enterprise Pack',
37
+ price : '$15.99',
38
+ desc : 'It is a paradisematic country, in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name',
39
+ cpu : '3 Core',
40
+ brandwidth: '1000 GB',
41
+ brandwidth2: '5 TB',
42
+ ram: '5 GB' ,
43
+ setup: 'Paid',
44
+ setup2: 'Free',
45
+ diskspace: '300 GB',
46
+ ipOne: 'Up to 4',
47
+ ipTwo: 'Up to 6',
48
+ urlLink: 'http://whmcs.finesttheme.com/cart.php?a=add&pid=5'
49
+ },
50
+
51
+ {
52
+ name : 'Business Pack',
53
+ price : '$18.99',
54
+ desc : 'Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.',
55
+ cpu : '5 Core',
56
+ brandwidth: '2000 GB',
57
+ brandwidth2: '50 TB',
58
+ ram: '16 GB' ,
59
+ setup: 'Free',
60
+ setup2: 'Paid',
61
+ diskspace: '400 GB',
62
+ ipOne: 'Up to 8',
63
+ ipTwo: 'Up to 10',
64
+ urlLink: 'http://whmcs.finesttheme.com/cart.php?a=add&pid=10'
65
+ },
66
+
67
+ {
68
+ name : 'Pro Pack',
69
+ price : '$20.99',
70
+ desc : 'It is a paradisematic country, in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name',
71
+ cpu : '8 Core',
72
+ brandwidth: 'Unlimited',
73
+ brandwidth2: '500 TB',
74
+ ram: '32 GB' ,
75
+ setup: 'Paid',
76
+ setup2: 'Free',
77
+ diskspace: '500 GB',
78
+ ipOne: 'Up to 9',
79
+ ipTwo: 'Up to 6',
80
+ urlLink: 'http://whmcs.finesttheme.com/cart.php?a=add&pid=11'
81
+ },
82
+ ];
83
+
84
+ // let url = 'https://www.domainname.com/?cmd=cart&id=';
85
+ // $('.slider-btns').attr('href', url + sliderplans[1][ui.value-1]);
@@ -1,3 +1,3 @@
1
1
  module PhcthemesWebThemePack
2
- VERSION = "2.0.8"
2
+ VERSION = "2.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcthemes_web_theme_pack
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
@@ -504,10 +504,8 @@ files:
504
504
  - app/assets/javascripts/themes/hostinza/theme/plugins.js
505
505
  - app/assets/javascripts/themes/hostinza/theme/shuffle-letters.js
506
506
  - app/assets/javascripts/themes/hostinza/theme/tweetie.js
507
- - app/assets/javascripts/themes/hostinza/theme/vps-slider-month-products.js
508
- - app/assets/javascripts/themes/hostinza/theme/vps-slider-month-settings.js
509
- - app/assets/javascripts/themes/hostinza/theme/vps-slider-year-products.js
510
- - app/assets/javascripts/themes/hostinza/theme/vps-slider-year-settings.js
507
+ - app/assets/javascripts/themes/hostinza/theme/vps-slider-settings.js
508
+ - app/assets/javascripts/themes/hostinza/theme/vps-slider.js
511
509
  - app/assets/javascripts/themes/pitnik/theme/TweenMax.min.js
512
510
  - app/assets/javascripts/themes/pitnik/theme/jquery-stories.js
513
511
  - app/assets/javascripts/themes/pitnik/theme/locationpicker.jquery.js
@@ -1,66 +0,0 @@
1
- let monthproducts = [
2
-
3
- {
4
- name : 'WordPress Solo',
5
- price : '$40.00',
6
- desc : 'Solo site package created especially for entrepreneurs, bloggers, writers, business professionals, business/lifestyle coaches and small businesses starting out.',
7
-
8
- ram : '1 GB',
9
- processor: '1 Core',
10
- storage: '25 GB',
11
-
12
- bandwidth: '1 TB' ,
13
- sites: '2 Max',
14
- databases: '2 Max',
15
-
16
- setup: 'Included',
17
- migration: 'Included',
18
- ssl: 'Included',
19
-
20
- urlclass: 'http://whmcs.finesttheme.com/cart.php?a=add&pid=3'
21
- },
22
-
23
- {
24
- name : 'WordPress Business',
25
- price : '$60.00',
26
- desc : 'Multiple site package for medium to larger businesses and startups that require a bit more resources to handle traffic, sales funnels to meet their demand.',
27
-
28
- ram : '2 GB',
29
- processor: '1 Core',
30
- storage: '50 GB',
31
-
32
- bandwidth: '2 TB' ,
33
- sites: '4 Included',
34
- databases: '4 Included',
35
-
36
- setup: 'Included',
37
- migration: 'Included',
38
- ssl: 'Included',
39
-
40
- urlclass: 'http://whmcs.finesttheme.com/cart.php?a=add&pid=3'
41
- },
42
-
43
- {
44
- name : 'WordPress Enterprise',
45
- price : '$80.00',
46
- desc : 'Multiple site package for enterprises, education institutions or organizations with resource intensive WordPress sites with plugins like learning management systems and memberships sites.',
47
-
48
- ram : '4 GB',
49
- processor: '2 Core',
50
- storage: '.5 TB',
51
-
52
- bandwidth: '1 GB' ,
53
- sites: '10 Included',
54
- databases: '10 Included',
55
-
56
- setup: 'Included',
57
- migration: 'Included',
58
- ssl: 'Included',
59
-
60
- urlclass: 'http://whmcs.finesttheme.com/cart.php?a=add&pid=3'
61
- },
62
-
63
- ];
64
-
65
- // let url = 'https://www.domainname.com/?cmd=cart&id=';
66
- // $('.slider-btns').attr('href', url + sliderplans[1][ui.value-1]);
@@ -1,134 +0,0 @@
1
- // PHC- Start Month Function
2
- (function($) {
3
-
4
- "use strict";
5
- $(document).ready(function() {
6
-
7
- if ($(".vps-slider").length > 0) {
8
-
9
- let $this = $(".vps-slider");
10
- let sliderplans = [];
11
-
12
- // Title
13
- sliderplans[0] = [monthproducts[0].name, monthproducts[1].name, monthproducts[2].name, monthproducts[3].name, monthproducts[4].name];
14
- // Price
15
- sliderplans[1] = [monthproducts[0].price, monthproducts[1].price, monthproducts[2].price, monthproducts[3].price, monthproducts[4].price];
16
- // Description
17
- sliderplans[2] = [monthproducts[0].desc, monthproducts[1].desc, monthproducts[2].desc, monthproducts[3].desc, monthproducts[4].desc];
18
-
19
- // Ram
20
- sliderplans[3] = [monthproducts[0].ram, monthproducts[1].ram, monthproducts[2].ram, monthproducts[3].ram, monthproducts[4].ram];
21
- // Processor
22
- sliderplans[4] = [monthproducts[0].processor, monthproducts[1].processor, monthproducts[2].processor, monthproducts[3].processor, monthproducts[4].processor];
23
- // Storage
24
- sliderplans[5] = [monthproducts[0].storage, monthproducts[1].storage, monthproducts[2].storage, monthproducts[3].storage, monthproducts[4].storage];
25
-
26
- // Bandwidth
27
- sliderplans[6] = [monthproducts[0].bandwidth, monthproducts[1].bandwidth, monthproducts[2].bandwidth, monthproducts[3].bandwidth, monthproducts[4].bandwidth];
28
- // sites
29
- sliderplans[7] = [monthproducts[0].sites, monthproducts[1].sites, monthproducts[2].sites, monthproducts[3].sites, monthproducts[4].sites];
30
- // Databases
31
- sliderplans[8] = [monthproducts[0].databases, monthproducts[1].databases, monthproducts[2].databases, monthproducts[3].databases, monthproducts[4].databases];
32
-
33
- // Setup
34
- sliderplans[9] = [monthproducts[0].setup, monthproducts[1].setup, monthproducts[2].setup, monthproducts[3].setup, monthproducts[4].setup];
35
-
36
- // ip one
37
- sliderplans[10] = [monthproducts[0].migration, monthproducts[1].migration, monthproducts[2].migration, monthproducts[3].migration, monthproducts[4].migration];
38
-
39
- // ip two
40
- sliderplans[11] = [monthproducts[0].ssl, monthproducts[1].ssl, monthproducts[2].ssl, monthproducts[3].ssl, monthproducts[4].ssl];
41
-
42
- let uriclass = [monthproducts[0].urlclass, monthproducts[1].urlclass, monthproducts[2].urlclass, monthproducts[3].urlclass, monthproducts[4].urlclass];
43
- let currentplan = 1;
44
-
45
- $this.xsslide('single', sliderplans, currentplan, 'xs', 'horizontal');
46
- $this.slider({
47
-
48
- animate: true,
49
- slide: function( event, ui ) {
50
-
51
- // Title
52
- $('.slider-container .title').html(sliderplans[0][ui.value-1]);
53
- // Price
54
- $('.slider-container .price').html(sliderplans[1][ui.value-1]);
55
- // Description
56
- $('.slider-container .desc').html(sliderplans[2][ui.value-1]);
57
-
58
- // Ram
59
- $('.vps-pricing-list .ram').html(sliderplans[3][ui.value-1]);
60
- // Processor
61
- $('.vps-pricing-list .processor').html(sliderplans[4][ui.value-1]);
62
- // Storage
63
- $('.vps-pricing-list .storage').html(sliderplans[5][ui.value-1]);
64
-
65
- // Bandwidth
66
- $('.vps-pricing-list .bandwidth').html(sliderplans[6][ui.value-1]);
67
- // sites
68
- $('.vps-pricing-list .sites').html(sliderplans[7][ui.value-1]);
69
- // Databases
70
- $('.vps-pricing-list .databases').html(sliderplans[8][ui.value-1]);
71
-
72
- // sites
73
- $('.vps-pricing-list .sites').html(sliderplans[9][ui.value-1]);
74
- // Migration
75
- $('.vps-pricing-list .migration').html(sliderplans[10][ui.value-1]);
76
- // SSL
77
- $('.vps-pricing-list .ssl').html(sliderplans[11][ui.value-1]);
78
-
79
- // Buttons
80
- $('.slider-btns').attr('href', uriclass[ui.value-1]);
81
-
82
- },
83
- change: function( event, ui ) {
84
-
85
- // Title
86
- $('.slider-container .title').html(sliderplans[0][ui.value-1]);
87
- // Price
88
- $('.slider-container .price').html(sliderplans[1][ui.value-1]);
89
- // Description
90
- $('.slider-container .desc').html(sliderplans[2][ui.value-1]);
91
-
92
- // Ram
93
- $('.vps-pricing-list .ram').html(sliderplans[3][ui.value-1]);
94
- // Processor
95
- $('.vps-pricing-list .processor').html(sliderplans[4][ui.value-1]);
96
- // Storage
97
- $('.vps-pricing-list .storage').html(sliderplans[5][ui.value-1]);
98
-
99
- // Bandwidth
100
- $('.vps-pricing-list .bandwidth').html(sliderplans[6][ui.value-1]);
101
- // sites
102
- $('.vps-pricing-list .sites').html(sliderplans[7][ui.value-1]);
103
- // Databases
104
- $('.vps-pricing-list .databases').html(sliderplans[8][ui.value-1]);
105
-
106
- // Steup
107
- $('.vps-pricing-list .setup').html(sliderplans[9][ui.value-1]);
108
- // Migration
109
- $('.vps-pricing-list .migration').html(sliderplans[10][ui.value-1]);
110
- // SSL
111
- $('.vps-pricing-list .ssl').html(sliderplans[11][ui.value-1]);
112
-
113
- // Buttons
114
- $('.slider-btns').attr('href', uriclass[ui.value-1]);
115
-
116
- }
117
- });
118
- }
119
-
120
- $('.slider-tigger-monthly').click(function() {
121
- var value= parseInt(this.id.slice(5)) + 1;
122
- $('.vps-slider-monthly').slider('value', value);
123
- if (!$(this).hasClass('current')) {
124
- $(this).addClass('current');
125
- $(this).nextAll().removeClass('current');
126
- $(this).prevAll().removeClass('current');
127
- } else {
128
- $(this).removeClass('current');
129
- }
130
- });
131
-
132
- });
133
-
134
- })(jQuery);
@@ -1,66 +0,0 @@
1
- let yearproducts = [
2
-
3
- {
4
- name : 'WordPress Solo',
5
- price : '$40.00',
6
- desc : 'Solo site package created especially for entrepreneurs, bloggers, writers, business professionals, business/lifestyle coaches and small businesses starting out.',
7
-
8
- ram : '1 GB',
9
- processor: '1 Core',
10
- storage: '25 GB',
11
-
12
- bandwidth: '1 TB' ,
13
- sites: '2 Max',
14
- databases: '2 Max',
15
-
16
- setup: 'Included',
17
- migration: 'Included',
18
- ssl: 'Included',
19
-
20
- urlclass: 'http://whmcs.finesttheme.com/cart.php?a=add&pid=3'
21
- },
22
-
23
- {
24
- name : 'WordPress Business',
25
- price : '$60.00',
26
- desc : 'Multiple site package for medium to larger businesses and startups that require a bit more resources to handle traffic, sales funnels to meet their demand.',
27
-
28
- ram : '2 GB',
29
- processor: '1 Core',
30
- storage: '50 GB',
31
-
32
- bandwidth: '2 TB' ,
33
- sites: '4 Included',
34
- databases: '4 Included',
35
-
36
- setup: 'Included',
37
- migration: 'Included',
38
- ssl: 'Included',
39
-
40
- urlclass: 'http://whmcs.finesttheme.com/cart.php?a=add&pid=3'
41
- },
42
-
43
- {
44
- name : 'WordPress Enterprise',
45
- price : '$80.00',
46
- desc : 'Multiple site package for enterprises, education institutions or organizations with resource intensive WordPress sites with plugins like learning management systems and memberships sites.',
47
-
48
- ram : '4 GB',
49
- processor: '2 Core',
50
- storage: '.5 TB',
51
-
52
- bandwidth: '1 GB' ,
53
- sites: '10 Included',
54
- databases: '10 Included',
55
-
56
- setup: 'Included',
57
- migration: 'Included',
58
- ssl: 'Included',
59
-
60
- urlclass: 'http://whmcs.finesttheme.com/cart.php?a=add&pid=3'
61
- },
62
-
63
- ];
64
-
65
- // let url = 'https://www.domainname.com/?cmd=cart&id=';
66
- // $('.slider-btns').attr('href', url + sliderplans[1][ui.value-1]);
@@ -1,134 +0,0 @@
1
- // PHC- Start Month Function
2
- (function($) {
3
-
4
- "use strict";
5
- $(document).ready(function() {
6
-
7
- if ($(".vps-slider-annually").length > 0) {
8
-
9
- let $this = $(".vps-slider-annually");
10
- let sliderplans = [];
11
-
12
- // Title
13
- sliderplans[0] = [yearproducts[0].name, yearproducts[1].name, yearproducts[2].name, yearproducts[3].name, yearproducts[4].name];
14
- // Price
15
- sliderplans[1] = [yearproducts[0].price, yearproducts[1].price, yearproducts[2].price, yearproducts[3].price, yearproducts[4].price];
16
- // Description
17
- sliderplans[2] = [yearproducts[0].desc, yearproducts[1].desc, yearproducts[2].desc, yearproducts[3].desc, yearproducts[4].desc];
18
-
19
- // Ram
20
- sliderplans[3] = [yearproducts[0].ram, yearproducts[1].ram, yearproducts[2].ram, yearproducts[3].ram, yearproducts[4].ram];
21
- // Processor
22
- sliderplans[4] = [yearproducts[0].processor, yearproducts[1].processor, yearproducts[2].processor, yearproducts[3].processor, yearproducts[4].processor];
23
- // Storage
24
- sliderplans[5] = [yearproducts[0].storage, yearproducts[1].storage, yearproducts[2].storage, yearproducts[3].storage, yearproducts[4].storage];
25
-
26
- // Bandwidth
27
- sliderplans[6] = [yearproducts[0].bandwidth, yearproducts[1].bandwidth, yearproducts[2].bandwidth, yearproducts[3].bandwidth, yearproducts[4].bandwidth];
28
- // sites
29
- sliderplans[7] = [yearproducts[0].sites, yearproducts[1].sites, yearproducts[2].sites, yearproducts[3].sites, yearproducts[4].sites];
30
- // Databases
31
- sliderplans[8] = [yearproducts[0].databases, yearproducts[1].databases, yearproducts[2].databases, yearproducts[3].databases, yearproducts[4].databases];
32
-
33
- // Setup
34
- sliderplans[9] = [yearproducts[0].setup, yearproducts[1].setup, yearproducts[2].setup, yearproducts[3].setup, yearproducts[4].setup];
35
-
36
- // ip one
37
- sliderplans[10] = [yearproducts[0].migration, yearproducts[1].migration, yearproducts[2].migration, yearproducts[3].migration, yearproducts[4].migration];
38
-
39
- // ip two
40
- sliderplans[11] = [yearproducts[0].ssl, yearproducts[1].ssl, yearproducts[2].ssl, yearproducts[3].ssl, yearproducts[4].ssl];
41
-
42
- let urlClass = [yearproducts[0].urlclass, yearproducts[1].urlclass, yearproducts[2].urlclass, yearproducts[3].urlclass, yearproducts[4].urlclass];
43
- let currentplan = 1;
44
-
45
- $this.xsslide('single', sliderplans, currentplan, 'xs', 'horizontal');
46
- $this.slider({
47
-
48
- animate: true,
49
- slide: function( event, ui ) {
50
-
51
- // Title
52
- $('.slider-container .title').html(sliderplans[0][ui.value-1]);
53
- // Price
54
- $('.slider-container .price').html(sliderplans[1][ui.value-1]);
55
- // Description
56
- $('.slider-container .desc').html(sliderplans[2][ui.value-1]);
57
-
58
- // Ram
59
- $('.vps-pricing-list .ram').html(sliderplans[3][ui.value-1]);
60
- // Processor
61
- $('.vps-pricing-list .processor').html(sliderplans[4][ui.value-1]);
62
- // Storage
63
- $('.vps-pricing-list .storage').html(sliderplans[5][ui.value-1]);
64
-
65
- // Bandwidth
66
- $('.vps-pricing-list .bandwidth').html(sliderplans[6][ui.value-1]);
67
- // sites
68
- $('.vps-pricing-list .sites').html(sliderplans[7][ui.value-1]);
69
- // Databases
70
- $('.vps-pricing-list .databases').html(sliderplans[8][ui.value-1]);
71
-
72
- // sites
73
- $('.vps-pricing-list .sites').html(sliderplans[9][ui.value-1]);
74
- // Migration
75
- $('.vps-pricing-list .migration').html(sliderplans[10][ui.value-1]);
76
- // SSL
77
- $('.vps-pricing-list .ssl').html(sliderplans[11][ui.value-1]);
78
-
79
- // Buttons
80
- $('.slider-btns').attr('href', urilink[ui.value-1]);
81
-
82
- },
83
- change: function( event, ui ) {
84
-
85
- // Title
86
- $('.slider-container .title').html(sliderplans[0][ui.value-1]);
87
- // Price
88
- $('.slider-container .price').html(sliderplans[1][ui.value-1]);
89
- // Description
90
- $('.slider-container .desc').html(sliderplans[2][ui.value-1]);
91
-
92
- // Ram
93
- $('.vps-pricing-list .ram').html(sliderplans[3][ui.value-1]);
94
- // Processor
95
- $('.vps-pricing-list .processor').html(sliderplans[4][ui.value-1]);
96
- // Storage
97
- $('.vps-pricing-list .storage').html(sliderplans[5][ui.value-1]);
98
-
99
- // Bandwidth
100
- $('.vps-pricing-list .bandwidth').html(sliderplans[6][ui.value-1]);
101
- // sites
102
- $('.vps-pricing-list .sites').html(sliderplans[7][ui.value-1]);
103
- // Databases
104
- $('.vps-pricing-list .databases').html(sliderplans[8][ui.value-1]);
105
-
106
- // Steup
107
- $('.vps-pricing-list .setup').html(sliderplans[9][ui.value-1]);
108
- // Migration
109
- $('.vps-pricing-list .migration').html(sliderplans[10][ui.value-1]);
110
- // SSL
111
- $('.vps-pricing-list .ssl').html(sliderplans[11][ui.value-1]);
112
-
113
- // Buttons
114
- $('.slider-btns').attr('href', urlClass[ui.value-1]);
115
-
116
- }
117
- });
118
- }
119
-
120
- $('.slider-tigger-annually').click(function() {
121
- var value= parseInt(this.id.slice(5)) + 1;
122
- $('.vps-slider-annually').slider('value', value);
123
- if (!$(this).hasClass('current')) {
124
- $(this).addClass('current');
125
- $(this).nextAll().removeClass('current');
126
- $(this).prevAll().removeClass('current');
127
- } else {
128
- $(this).removeClass('current');
129
- }
130
- });
131
-
132
- });
133
-
134
- })(jQuery);