admin-content.php
6 years ago
folder-deactivate-form.php
6 years ago
folder-popup.php
6 years ago
general-settings.php
6 years ago
help.php
6 years ago
update.php
6 years ago
upgrade-to-pro.php
6 years ago
upgrade-to-pro.php
215 lines
| 1 | <?php |
| 2 | defined('ABSPATH') or wp_die('Nope, not accessing this'); |
| 3 | $pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=687&edd_options[price_id]="; |
| 4 | ?> |
| 5 | <link href="<?php echo esc_url(WCP_FOLDER_URL."assets/css/select2.min.css?ver=".WCP_FOLDER_VERSION) ?>" type="text/css" rel="stylesheet" /> |
| 6 | <link href="<?php echo esc_url(WCP_FOLDER_URL."assets/css/admin-setting.css?ver=".WCP_FOLDER_VERSION) ?>" type="text/css" rel="stylesheet" /> |
| 7 | <div class="wrap"> |
| 8 | <div class="key-table"> |
| 9 | <div class="modal-upgrade upgrade-block" id="folder-modal"> |
| 10 | <div class="easy-modal-inner"> |
| 11 | <div class="modal__wrap"> |
| 12 | <p class="udner-title"> <strong class="text-primary"><?php esc_html_e('Unlock All Features', WCP_FOLDER); ?></strong> </p> |
| 13 | <div id="rpt_pricr" class="rpt_plans rpt_3_plans rpt_style_basic"> |
| 14 | <div class=""> |
| 15 | <div class="rpt_plan rpt_plan_0 "> |
| 16 | <div style="text-align:left;" class="rpt_title rpt_title_0">Basic</div> |
| 17 | <div class="rpt_head rpt_head_0"> |
| 18 | <div class="rpt_description rpt_description_0"> |
| 19 | <?php esc_html_e('For small website owners', WCP_FOLDER); ?> |
| 20 | </div> |
| 21 | <div class="rpt_price rpt_price_0">$25</div> |
| 22 | <div class="rpt_description rpt_description_0 rpt_desc"> |
| 23 | <?php esc_html_e('Per year. Renewals for 25% off', WCP_FOLDER); ?> |
| 24 | </div> |
| 25 | <div style="clear:both;"></div> |
| 26 | </div> |
| 27 | <div class="rpt_features rpt_features_0"> |
| 28 | <div class="rpt_feature rpt_feature_0-0"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b><?php esc_html_e('Use Folders on 1 domain', WCP_FOLDER); ?></span><?php esc_html_e('1 website', WCP_FOLDER); ?> <span class="rpt_tooltip_plus"> +</span></a> </div> |
| 29 | <div class="rpt_feature rpt_feature_1-1"> |
| 30 | <?php esc_html_e('Organize Pages, Posts and Media files', WCP_FOLDER); ?> |
| 31 | </div> |
| 32 | <div class="rpt_feature rpt_feature_0-2"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b>You can add unlimited pages, posts and media files to your folders</span>Unlimited files<span class="rpt_tooltip_plus"> +</span></a></div> |
| 33 | <div class="rpt_feature rpt_feature_0-3"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b>You can create additional 2 tires of sub-folders</span>Sub-folders<span class="rpt_tooltip_plus"> +</span></a></div> |
| 34 | <div class="rpt_feature rpt_feature_0-4"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b>You can create unlimited folders and sub-folders. On the Free plan it is limited to 10 folders in total</span>Unlimited folders<span class="rpt_tooltip_plus"> +</span></a></div> |
| 35 | <div class="rpt_feature rpt_feature_0-4"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b>You can use this feature to download all the content of any media library folder as a ZIP file.</span>Download folders as ZIP<span class="rpt_tooltip_plus"> +</span></a></div> |
| 36 | <div class="rpt_feature rpt_feature_0-5"> |
| 37 | <select data-key="0" class="multiple-options"> |
| 38 | <option data-header="Renewals for 25% off" data-price="25" value="<?php echo esc_url($pro_url."1") ?>"> |
| 39 | <?php esc_html_e("Updates & support for 1 year") ?> |
| 40 | </option> |
| 41 | <option data-header="For 2 years" data-price="39" value="<?php echo esc_url($pro_url."13") ?>"> |
| 42 | <?php esc_html_e("Updates & support for 2 years") ?> |
| 43 | </option> |
| 44 | <option data-header="For lifetime" data-price="79" value="<?php echo esc_url($pro_url."5") ?>"> |
| 45 | <?php esc_html_e("Updates & support for lifetime") ?> |
| 46 | </option> |
| 47 | </select> |
| 48 | </div> |
| 49 | </div> |
| 50 | <div style="clear:both;"></div> |
| 51 | <a target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&download_id=687&edd_options[price_id]=1" class="rpt_foot rpt_foot_0"> |
| 52 | <?php esc_html_e('Buy now', WCP_FOLDER); ?> |
| 53 | </a> |
| 54 | </div> |
| 55 | <div class="rpt_plan rpt_plan_1 rpt_recommended_plan "> |
| 56 | <div style="text-align:left;" class="rpt_title rpt_title_1">Plus<img class="rpt_recommended" src="<?php echo esc_url(WCP_FOLDER_URL."assets/images/rpt_recommended.png") ?>" style="top: 27px;"></div> |
| 57 | <div class="rpt_head rpt_head_1"> |
| 58 | <div class="rpt_description rpt_description_1"> |
| 59 | <?php esc_html_e('For businesses with multiple websites', WCP_FOLDER); ?> |
| 60 | </div> |
| 61 | <div class="rpt_price rpt_price_1">$59</div> |
| 62 | <div class="rpt_description rpt_description_0 rpt_desc"> |
| 63 | <?php esc_html_e('Per year. Renewals for 25% off', WCP_FOLDER); ?> |
| 64 | </div> |
| 65 | <div style="clear:both;"></div> |
| 66 | </div> |
| 67 | <div class="rpt_features rpt_features_1"> |
| 68 | <div class="rpt_feature rpt_feature_1-0"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b><?php esc_html_e('Use Folders on 5 domains', WCP_FOLDER); ?></span><?php esc_html_e('5 website', WCP_FOLDER); ?><span class="rpt_tooltip_plus"> +</span></a> </div> |
| 69 | <div class="rpt_feature rpt_feature_1-1"> |
| 70 | <?php esc_html_e('Organize Pages, Posts and Media files', WCP_FOLDER); ?> |
| 71 | </div> |
| 72 | <div class="rpt_feature rpt_feature_0-2"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b>You can add unlimited pages, posts and media files to your folders</span>Unlimited files<span class="rpt_tooltip_plus"> +</span></a></div> |
| 73 | <div class="rpt_feature rpt_feature_0-3"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b>You can create additional 2 tires of sub-folders</span>Sub-folders<span class="rpt_tooltip_plus"> +</span></a></div> |
| 74 | <div class="rpt_feature rpt_feature_0-4"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b>You can create unlimited folders and sub-folders. On the Free plan it is limited to 10 folders in total</span>Unlimited folders<span class="rpt_tooltip_plus"> +</span></a></div> |
| 75 | <div class="rpt_feature rpt_feature_0-4"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b>You can use this feature to download all the content of any media library folder as a ZIP file.</span>Download folders as ZIP<span class="rpt_tooltip_plus"> +</span></a></div> |
| 76 | <div class="rpt_feature rpt_feature_0-5"> |
| 77 | <select data-key="0" class="multiple-options"> |
| 78 | <option data-header="Renewals for 25% off" data-price="59" value="<?php echo esc_url($pro_url."2") ?>"> |
| 79 | <?php esc_html_e("Updates & support for 1 year") ?> |
| 80 | </option> |
| 81 | <option data-header="For 2 years" data-price="89" value="<?php echo esc_url($pro_url."14") ?>"> |
| 82 | <?php esc_html_e("Updates & support for 2 years") ?> |
| 83 | </option> |
| 84 | <option data-header="For lifetime" data-price="149" value="<?php echo esc_url($pro_url."7") ?>"> |
| 85 | <?php esc_html_e("Updates & support for lifetime") ?> |
| 86 | </option> |
| 87 | </select> |
| 88 | </div> |
| 89 | </div> |
| 90 | <div style="clear:both;"></div> |
| 91 | <a target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&download_id=687&edd_options[price_id]=2" class="rpt_foot rpt_foot_1"> |
| 92 | <?php esc_html_e('Buy now', WCP_FOLDER); ?> |
| 93 | </a> |
| 94 | </div> |
| 95 | <div class="rpt_plan rpt_plan_2 "> |
| 96 | <div style="text-align:left;" class="rpt_title rpt_title_2"> |
| 97 | <?php esc_html_e('Agency', WCP_FOLDER); ?> |
| 98 | </div> |
| 99 | <div class="rpt_head rpt_head_2"> |
| 100 | <div class="rpt_description rpt_description_2"> |
| 101 | <?php esc_html_e('For agencies who manage clients', WCP_FOLDER); ?> |
| 102 | </div> |
| 103 | <div class="rpt_price rpt_price_2">$99</div> |
| 104 | <div class="rpt_description rpt_description_0 rpt_desc"> |
| 105 | <?php esc_html_e('Per year. Renewals for 25% off', WCP_FOLDER); ?> |
| 106 | </div> |
| 107 | <div style="clear:both;"></div> |
| 108 | </div> |
| 109 | <div class="rpt_features rpt_features_2"> |
| 110 | <div class="rpt_feature rpt_feature_2-0" style="padding: 0px 16px 6px"> |
| 111 | <select class="multiple-web-options"> |
| 112 | <option value="50_websites">50 websites</option> |
| 113 | <option value="500_websites">500 websites</option> |
| 114 | <option value="1000_websites">1000 websites</option> |
| 115 | </select> |
| 116 | </div> |
| 117 | <div class="rpt_feature rpt_feature_1-1"> |
| 118 | <?php esc_html_e('Organize Pages, Posts and Media files', WCP_FOLDER); ?> |
| 119 | </div> |
| 120 | <div class="rpt_feature rpt_feature_0-2"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b>You can add unlimited pages, posts and media files to your folders</span>Unlimited files<span class="rpt_tooltip_plus"> +</span></a></div> |
| 121 | <div class="rpt_feature rpt_feature_0-3"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b>You can create additional 2 tires of sub-folders</span>Sub-folders<span class="rpt_tooltip_plus"> +</span></a></div> |
| 122 | <div class="rpt_feature rpt_feature_0-4"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b>You can create unlimited folders and sub-folders. On the Free plan it is limited to 10 folders in total</span>Unlimited folders<span class="rpt_tooltip_plus"> +</span></a></div> |
| 123 | <div class="rpt_feature rpt_feature_0-4"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b>You can use this feature to download all the content of any media library folder as a ZIP file.</span>Download folders as ZIP<span class="rpt_tooltip_plus"> +</span></a></div> |
| 124 | <div class="rpt_feature rpt_feature_0-5"> |
| 125 | <select data-key="0" class="multiple-options has-multiple-websites"> |
| 126 | <option data-option="1_year" data-header="Renewals for 25% off" data-price="99" value="<?php echo esc_url($pro_url."10") ?>"> |
| 127 | <?php esc_html_e("Updates & support for 1 year") ?> |
| 128 | </option> |
| 129 | <option data-option="2_year" data-header="For 2 years" data-price="149" value="<?php echo esc_url($pro_url."15") ?>"> |
| 130 | <?php esc_html_e("Updates & support for 2 years") ?> |
| 131 | </option> |
| 132 | <option data-option="lifetime" data-header="For lifetime" data-price="249" value="<?php echo esc_url($pro_url."12") ?>"> |
| 133 | <?php esc_html_e("Updates & support for lifetime") ?> |
| 134 | </option> |
| 135 | </select> |
| 136 | </div> |
| 137 | </div> |
| 138 | <div style="clear:both;"></div> |
| 139 | <a target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&download_id=687&edd_options[price_id]=10" class="rpt_foot rpt_foot_2"> |
| 140 | <?php esc_html_e('Buy now', WCP_FOLDER); ?> |
| 141 | </a> |
| 142 | </div> |
| 143 | </div> |
| 144 | <div style="clear:both;"></div> |
| 145 | </div> |
| 146 | <div class="text-center"> |
| 147 | <form method="post" action="https://www.paypal.com/cgi-bin/webscr"> |
| 148 | <p class="money-guaranteed"><span class="dashicons dashicons-yes"></span> |
| 149 | <?php esc_html_e("30 days money back guaranteed", WCP_FOLDER); ?> |
| 150 | </p> |
| 151 | <p class="money-guaranteed"><span class="dashicons dashicons-yes"></span> |
| 152 | <?php esc_html_e("The plugin will always keep working even if you don't renew your license", WCP_FOLDER); ?> |
| 153 | </p> |
| 154 | </form> |
| 155 | <div class="payments"> |
| 156 | <img src="<?php echo esc_url(WCP_FOLDER_URL."assets/images/payment.png") ?>" alt="Payment" class="payment-img" /> |
| 157 | </div> |
| 158 | </div> |
| 159 | <div class="folder-testimonial-list"> |
| 160 | <div class="folder-testimonial"> |
| 161 | <div class="testimonial-image"> <img src="<?php echo esc_url(WCP_FOLDER_URL."assets/images/client-image.jpg") ?>"> </div> |
| 162 | <div class="testimonial-data"> |
| 163 | <div class="testimonial-title">A brilliant solution!</div> |
| 164 | <div class="testimonial-desc">I’ve used other folder plug-ins for my WordPress media files, but Folders is better than any of them. An uncluttered interface, intuitive to use, allows drag-and-drop and allows subfolders: exactly what I needed in a media library folder plug-in. I can’t believe it’s free!</div> |
| 165 | <div class="testimonial-author">- Trevor Jordan</div> |
| 166 | </div> |
| 167 | </div> |
| 168 | </div> |
| 169 | </div> |
| 170 | </div> |
| 171 | </div> |
| 172 | </div> |
| 173 | </div> |
| 174 | <script src="<?php echo esc_url(WCP_FOLDER_URL."assets/js/select2.min.js?ver=".WCP_FOLDER_VERSION) ?>" type="text/javascript" ></script> |
| 175 | <script> |
| 176 | var priceOptions = {"50_websites":{"1_year":{"price":99,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=687&edd_options[price_id]=10"},"2_year":{"price":149,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=687&edd_options[price_id]=15"},"lifetime":{"price":249,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=687&edd_options[price_id]=12"}},"500_websites":{"1_year":{"price":179,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=687&edd_options[price_id]=16"},"2_year":{"price":269,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=687&edd_options[price_id]=17"},"lifetime":{"price":449,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=687&edd_options[price_id]=18"}},"1000_websites":{"1_year":{"price":249,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=687&edd_options[price_id]=19"},"2_year":{"price":375,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=687&edd_options[price_id]=20"},"lifetime":{"price":619,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=687&edd_options[price_id]=21"}}}; |
| 177 | jQuery(document).ready(function(){ |
| 178 | if(jQuery(".multiple-options").length) { |
| 179 | jQuery(".multiple-options").select2({ |
| 180 | minimumResultsForSearch: -1 |
| 181 | }); |
| 182 | } |
| 183 | if(jQuery(".multiple-web-options").length) { |
| 184 | jQuery(".multiple-web-options").select2({ |
| 185 | minimumResultsForSearch: -1 |
| 186 | }); |
| 187 | } |
| 188 | // priceOptions = jQuery.parseJSON(priceOptions); |
| 189 | jQuery(document).on("change", ".multiple-options", function(){ |
| 190 | priceText = jQuery(this).find("option:selected").attr("data-header"); |
| 191 | thisValue = jQuery(this).val(); |
| 192 | thisPrice = jQuery(this).find("option:selected").attr("data-price"); |
| 193 | if(!jQuery(this).hasClass("has-multiple-websites")) { |
| 194 | jQuery(this).closest(".rpt_plan").find("a.rpt_foot").attr("href", thisValue); |
| 195 | jQuery(this).closest(".rpt_plan").find(".rpt_price").text("$" + thisPrice); |
| 196 | } else { |
| 197 | var webOption = jQuery(".multiple-web-options").val(); |
| 198 | var priceSettings = priceOptions[webOption]; |
| 199 | var yearPlan = jQuery(".multiple-options.has-multiple-websites option:selected").attr("data-option"); |
| 200 | if(priceSettings[yearPlan] != undefined) { |
| 201 | priceSettings = priceSettings[yearPlan]; |
| 202 | thisValue = priceSettings.link; |
| 203 | thisPrice = priceSettings.price; |
| 204 | } |
| 205 | } |
| 206 | jQuery(this).closest(".rpt_plan").find("a.rpt_foot").attr("href", thisValue); |
| 207 | jQuery(this).closest(".rpt_plan").find(".rpt_price").text("$" + thisPrice); |
| 208 | jQuery(this).closest(".rpt_plan").find(".rpt_desc").text(priceText); |
| 209 | }); |
| 210 | |
| 211 | jQuery(document).on("change", ".multiple-web-options", function(){ |
| 212 | jQuery(".multiple-options.has-multiple-websites").trigger("change"); |
| 213 | }); |
| 214 | }); |
| 215 | </script> |