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
218 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-4"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b>Pin selected folders to the upper part of the folders navigation area for easy access.</span>Sticky Folders<span class="rpt_tooltip_plus"> +</span></a></div> |
| 37 | <div class="rpt_feature rpt_feature_0-5"> |
| 38 | <select data-key="0" class="multiple-options"> |
| 39 | <option data-header="Renewals for 25% off" data-price="25" value="<?php echo esc_url($pro_url."1") ?>"> |
| 40 | <?php esc_html_e("Updates & support for 1 year") ?> |
| 41 | </option> |
| 42 | <option data-header="For 2 years" data-price="39" value="<?php echo esc_url($pro_url."13") ?>"> |
| 43 | <?php esc_html_e("Updates & support for 2 years") ?> |
| 44 | </option> |
| 45 | <option data-header="For lifetime" data-price="79" value="<?php echo esc_url($pro_url."5") ?>"> |
| 46 | <?php esc_html_e("Updates & support for lifetime") ?> |
| 47 | </option> |
| 48 | </select> |
| 49 | </div> |
| 50 | </div> |
| 51 | <div style="clear:both;"></div> |
| 52 | <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"> |
| 53 | <?php esc_html_e('Buy now', WCP_FOLDER); ?> |
| 54 | </a> |
| 55 | </div> |
| 56 | <div class="rpt_plan rpt_plan_1 rpt_recommended_plan "> |
| 57 | <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> |
| 58 | <div class="rpt_head rpt_head_1"> |
| 59 | <div class="rpt_description rpt_description_1"> |
| 60 | <?php esc_html_e('For businesses with multiple websites', WCP_FOLDER); ?> |
| 61 | </div> |
| 62 | <div class="rpt_price rpt_price_1">$59</div> |
| 63 | <div class="rpt_description rpt_description_0 rpt_desc"> |
| 64 | <?php esc_html_e('Per year. Renewals for 25% off', WCP_FOLDER); ?> |
| 65 | </div> |
| 66 | <div style="clear:both;"></div> |
| 67 | </div> |
| 68 | <div class="rpt_features rpt_features_1"> |
| 69 | <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> |
| 70 | <div class="rpt_feature rpt_feature_1-1"> |
| 71 | <?php esc_html_e('Organize Pages, Posts and Media files', WCP_FOLDER); ?> |
| 72 | </div> |
| 73 | <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> |
| 74 | <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> |
| 75 | <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> |
| 76 | <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> |
| 77 | <div class="rpt_feature rpt_feature_0-4"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b>Pin selected folders to the upper part of the folders navigation area for easy access.</span>Sticky Folders<span class="rpt_tooltip_plus"> +</span></a></div> |
| 78 | <div class="rpt_feature rpt_feature_0-5"> |
| 79 | <select data-key="0" class="multiple-options"> |
| 80 | <option data-header="Renewals for 25% off" data-price="59" value="<?php echo esc_url($pro_url."2") ?>"> |
| 81 | <?php esc_html_e("Updates & support for 1 year") ?> |
| 82 | </option> |
| 83 | <option data-header="For 2 years" data-price="89" value="<?php echo esc_url($pro_url."14") ?>"> |
| 84 | <?php esc_html_e("Updates & support for 2 years") ?> |
| 85 | </option> |
| 86 | <option data-header="For lifetime" data-price="149" value="<?php echo esc_url($pro_url."7") ?>"> |
| 87 | <?php esc_html_e("Updates & support for lifetime") ?> |
| 88 | </option> |
| 89 | </select> |
| 90 | </div> |
| 91 | </div> |
| 92 | <div style="clear:both;"></div> |
| 93 | <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"> |
| 94 | <?php esc_html_e('Buy now', WCP_FOLDER); ?> |
| 95 | </a> |
| 96 | </div> |
| 97 | <div class="rpt_plan rpt_plan_2 "> |
| 98 | <div style="text-align:left;" class="rpt_title rpt_title_2"> |
| 99 | <?php esc_html_e('Agency', WCP_FOLDER); ?> |
| 100 | </div> |
| 101 | <div class="rpt_head rpt_head_2"> |
| 102 | <div class="rpt_description rpt_description_2"> |
| 103 | <?php esc_html_e('For agencies who manage clients', WCP_FOLDER); ?> |
| 104 | </div> |
| 105 | <div class="rpt_price rpt_price_2">$99</div> |
| 106 | <div class="rpt_description rpt_description_0 rpt_desc"> |
| 107 | <?php esc_html_e('Per year. Renewals for 25% off', WCP_FOLDER); ?> |
| 108 | </div> |
| 109 | <div style="clear:both;"></div> |
| 110 | </div> |
| 111 | <div class="rpt_features rpt_features_2"> |
| 112 | <div class="rpt_feature rpt_feature_2-0" style="padding: 0px 16px 6px"> |
| 113 | <select class="multiple-web-options"> |
| 114 | <option value="50_websites">50 websites</option> |
| 115 | <option value="500_websites">500 websites</option> |
| 116 | <option value="1000_websites">1000 websites</option> |
| 117 | </select> |
| 118 | </div> |
| 119 | <div class="rpt_feature rpt_feature_1-1"> |
| 120 | <?php esc_html_e('Organize Pages, Posts and Media files', WCP_FOLDER); ?> |
| 121 | </div> |
| 122 | <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> |
| 123 | <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> |
| 124 | <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> |
| 125 | <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> |
| 126 | <div class="rpt_feature rpt_feature_0-4"><a href="javascript:void(0)" class="rpt_tooltip"><span class="intool"><b></b>Pin selected folders to the upper part of the folders navigation area for easy access.</span>Sticky Folders<span class="rpt_tooltip_plus"> +</span></a></div> |
| 127 | <div class="rpt_feature rpt_feature_0-5"> |
| 128 | <select data-key="0" class="multiple-options has-multiple-websites"> |
| 129 | <option data-option="1_year" data-header="Renewals for 25% off" data-price="99" value="<?php echo esc_url($pro_url."10") ?>"> |
| 130 | <?php esc_html_e("Updates & support for 1 year") ?> |
| 131 | </option> |
| 132 | <option data-option="2_year" data-header="For 2 years" data-price="149" value="<?php echo esc_url($pro_url."15") ?>"> |
| 133 | <?php esc_html_e("Updates & support for 2 years") ?> |
| 134 | </option> |
| 135 | <option data-option="lifetime" data-header="For lifetime" data-price="249" value="<?php echo esc_url($pro_url."12") ?>"> |
| 136 | <?php esc_html_e("Updates & support for lifetime") ?> |
| 137 | </option> |
| 138 | </select> |
| 139 | </div> |
| 140 | </div> |
| 141 | <div style="clear:both;"></div> |
| 142 | <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"> |
| 143 | <?php esc_html_e('Buy now', WCP_FOLDER); ?> |
| 144 | </a> |
| 145 | </div> |
| 146 | </div> |
| 147 | <div style="clear:both;"></div> |
| 148 | </div> |
| 149 | <div class="text-center"> |
| 150 | <form method="post" action="https://www.paypal.com/cgi-bin/webscr"> |
| 151 | <p class="money-guaranteed"><span class="dashicons dashicons-yes"></span> |
| 152 | <?php esc_html_e("30 days money back guaranteed", WCP_FOLDER); ?> |
| 153 | </p> |
| 154 | <p class="money-guaranteed"><span class="dashicons dashicons-yes"></span> |
| 155 | <?php esc_html_e("The plugin will always keep working even if you don't renew your license", WCP_FOLDER); ?> |
| 156 | </p> |
| 157 | </form> |
| 158 | <div class="payments"> |
| 159 | <img src="<?php echo esc_url(WCP_FOLDER_URL."assets/images/payment.png") ?>" alt="Payment" class="payment-img" /> |
| 160 | </div> |
| 161 | </div> |
| 162 | <div class="folder-testimonial-list"> |
| 163 | <div class="folder-testimonial"> |
| 164 | <div class="testimonial-image"> <img src="<?php echo esc_url(WCP_FOLDER_URL."assets/images/client-image.jpg") ?>"> </div> |
| 165 | <div class="testimonial-data"> |
| 166 | <div class="testimonial-title">A brilliant solution!</div> |
| 167 | <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> |
| 168 | <div class="testimonial-author">- Trevor Jordan</div> |
| 169 | </div> |
| 170 | </div> |
| 171 | </div> |
| 172 | </div> |
| 173 | </div> |
| 174 | </div> |
| 175 | </div> |
| 176 | </div> |
| 177 | <script src="<?php echo esc_url(WCP_FOLDER_URL."assets/js/select2.min.js?ver=".WCP_FOLDER_VERSION) ?>" type="text/javascript" ></script> |
| 178 | <script> |
| 179 | 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"}}}; |
| 180 | jQuery(document).ready(function(){ |
| 181 | if(jQuery(".multiple-options").length) { |
| 182 | jQuery(".multiple-options").select2({ |
| 183 | minimumResultsForSearch: -1 |
| 184 | }); |
| 185 | } |
| 186 | if(jQuery(".multiple-web-options").length) { |
| 187 | jQuery(".multiple-web-options").select2({ |
| 188 | minimumResultsForSearch: -1 |
| 189 | }); |
| 190 | } |
| 191 | // priceOptions = jQuery.parseJSON(priceOptions); |
| 192 | jQuery(document).on("change", ".multiple-options", function(){ |
| 193 | priceText = jQuery(this).find("option:selected").attr("data-header"); |
| 194 | thisValue = jQuery(this).val(); |
| 195 | thisPrice = jQuery(this).find("option:selected").attr("data-price"); |
| 196 | if(!jQuery(this).hasClass("has-multiple-websites")) { |
| 197 | jQuery(this).closest(".rpt_plan").find("a.rpt_foot").attr("href", thisValue); |
| 198 | jQuery(this).closest(".rpt_plan").find(".rpt_price").text("$" + thisPrice); |
| 199 | } else { |
| 200 | var webOption = jQuery(".multiple-web-options").val(); |
| 201 | var priceSettings = priceOptions[webOption]; |
| 202 | var yearPlan = jQuery(".multiple-options.has-multiple-websites option:selected").attr("data-option"); |
| 203 | if(priceSettings[yearPlan] != undefined) { |
| 204 | priceSettings = priceSettings[yearPlan]; |
| 205 | thisValue = priceSettings.link; |
| 206 | thisPrice = priceSettings.price; |
| 207 | } |
| 208 | } |
| 209 | jQuery(this).closest(".rpt_plan").find("a.rpt_foot").attr("href", thisValue); |
| 210 | jQuery(this).closest(".rpt_plan").find(".rpt_price").text("$" + thisPrice); |
| 211 | jQuery(this).closest(".rpt_plan").find(".rpt_desc").text(priceText); |
| 212 | }); |
| 213 | |
| 214 | jQuery(document).on("change", ".multiple-web-options", function(){ |
| 215 | jQuery(".multiple-options.has-multiple-websites").trigger("change"); |
| 216 | }); |
| 217 | }); |
| 218 | </script> |