Changeset 3774651
- Timestamp:
- 10/30/2026 08:10:56 AM (73 minutes ago)
- Location:
- aabcore-backlinks-page-backlinks/trunk
- Files:
-
- 5 added
- 3 edited
-
aabcore-backlinks-page-backlinks.php (modified) (8 diffs)
-
aabcore-backlinks.php (modified) (5 diffs)
-
backlinks-free.png (added)
-
backlinks.png (added)
-
cache-cdn-hit.png (added)
-
readme.txt (modified) (2 diffs)
-
security-malware-virus.png (added)
-
seo.png (added)
Legend:
- Unmodified
- Added
- Removed
-
aabcore-backlinks-page-backlinks/trunk/aabcore-backlinks-page-backlinks.php
r3714154 r3774651 4 4 * Plugin URI: https://aabcore.co.in/seo/ 5 5 * Description: Discover SEO link opportunities, analyze backlinks, and support natural growth with simple backlink management tools. 6 * Version: 1.0. 36 * Version: 1.0.4 7 7 * Requires at least: 5.2 8 8 * Requires PHP: 7.2 … … 618 618 <div class="card-body"> 619 619 <h5 class="card-title">Set Up JSON URL</h5><br> 620 <h6 class="card-title">https://aabcore.co.in/seo/addlink.php </h6><br>620 <h6 class="card-title">https://aabcore.co.in/seo/addlink.php?domain=<?php echo esc_attr(get_option('siteurl')); ?>&typeo=<?php echo esc_attr(get_option('aaabcore_backlink_website_type')); ?></h6><br> 621 621 <p class="card-text">Copy and paste JSON URL into the input field, then click Create External Backlinks to generate external backlinks for your website.</p><br> 622 622 </div> … … 681 681 682 682 </table> 683 <?php if(get_option('aaabcore_b uilding_backlinks')==='1'){ ?>683 <?php if(get_option('aaabcore_backlinks_wads')==='1'){ ?> 684 684 <?php 685 685 submit_button( … … 738 738 ?> 739 739 740 <?php if(get_option('aaabcore_b uilding_backlinks')==='1'){ ?>740 <?php if(get_option('aaabcore_backlinks_wads')==='1'){ ?> 741 741 <?php 742 742 submit_button( … … 793 793 794 794 795 <?php if(get_option('aaabcore_b uilding_backlinks')==='1'){ ?>795 <?php if(get_option('aaabcore_backlinks_wads')==='1'){ ?> 796 796 797 797 … … 1088 1088 1089 1089 <h2>Stored Backlinks</h2> 1090 <p>Number of Link Pages Creating Your Backlinks.<br>Backlinks will be created to the target URL. You can stop or disable a backlink from the webpage at any time by clicking the Turn Off button.<br>Inactive means that the webpage or URL does not exist or is currently unavailable.</p> 1090 <p>Number of Link Pages Creating Your Backlinks.<br>Backlinks will be created to the target URL. You can stop or disable a backlink from the webpage at any time by clicking the Turn Off button.<br>Inactive means that the webpage or URL does not exist or is currently unavailable. 1091 1092 <br><br> 1093 1094 You can turn off or disable your backlinks on the webpages at any time by clicking the “<b>Turn Off</b>” button. This feature is available in the premium version. 1095 <br><br> 1096 <a href="https://aabcore.co.in/seo/plan.php" target="_blank" class="btn btn-warning">Premium Plan --> </a> 1097 <br><br> 1098 1099 1100 1101 </p> 1091 1102 1092 1103 <?php … … 1220 1231 update_option( 1221 1232 $this->option_name, 1222 $json_url1233 'https://aabcore.co.in/seo/addlink.php?domain='.get_option('siteurl').'&typeo='.get_option('aaabcore_backlink_website_type') 1223 1234 ); 1224 1235 … … 2662 2673 2663 2674 2664 2675 register_deactivation_hook( __FILE__, 'aabcore_backlink_seo_ext_deactivate' ); 2676 2677 function aabcore_backlink_seo_ext_deactivate() { 2678 update_option('aabcore-link-start-stop','stop'); 2679 wp_remote_post("https://aabcore.co.in/seo/off-my-ads.php", ['timeout' => 30, 'method' => 'POST', 'body' => ["domain" => get_site_url(), "type" => "stop" ]]); 2680 } 2665 2681 2666 2682 -
aabcore-backlinks-page-backlinks/trunk/aabcore-backlinks.php
r3714154 r3774651 7 7 class Aabcore_backlink_seo_ext_backlinks{ 8 8 9 9 private $option_name_adlink= 'aabcore_backlinks_json_url'; 10 10 11 11 12 12 public function __construct() { 13 add_action('init', [$this, 'aabcore_backlinks_api']);13 14 14 } 15 15 16 16 17 public function aabcore_backlinks_api() { 18 if(get_option('aaabcore_building_backlinks')==='1'){ 19 if (get_option('aabcore-datev-backlinks', false) === false) { 20 update_option('aabcore-datev-backlinks', current_time('timestamp')); 17 18 public function aabcore_seo_ext_backlink_backlinks() { 19 20 21 if (get_option('aaabcore_backlinks_wads', false) === false) { 22 update_option('aaabcore_backlinks_wads', '0'); 21 23 } 22 if (get_option('aabcore-date-backlinks', false) === false) { 23 update_option('aabcore-date-backlinks', current_time('timestamp')); 24 25 if (get_option('aaabcore_link_consent', false) === false) { 26 update_option('aaabcore_link_consent', 'no'); 24 27 } 25 28 26 $last_runsit = (int) get_option('aabcore_tat_backlinks', 0); 27 $nowsit = current_time('timestamp'); 28 29 // Run once every 7 days-604800 30 if ( ($nowsit - $last_runsit) >= 604800) { 31 update_option('aabcore-asn-backlinks', 'aabcore'); 32 $resultab =wp_remote_post("https://aabcore.co.in/seo/api-backlinks.php", ['timeout' => 30, 'method' => 'POST', 'body' => ["domain" => get_site_url(), "email" => get_option('admin_email'), "date" => get_option('aabcore-datev-backlinks')]]); 33 34 if (!is_wp_error($resultab)) { 35 update_option('aabcore-asn-backlinks','aabcore-extlinks'); 36 $body = wp_remote_retrieve_body($resultab); 37 $this->dodbacklinks = json_decode($body); 38 if (!empty($this->dodbacklinks) && isset($this->dodbacklinks->status) && $this->dodbacklinks->status == "success") { 39 40 update_option("aabcore_tat_backlinks", $this->dodbacklinks->backlinkskeytime, false); 41 update_option('aabcore-asn-backlinks', $this->dodbacklinks->backlinksmode, false); 42 } 43 }}} 44 } 45 46 47 public function aabcore_seo_ext_backlink_backlinks() { 29 48 30 49 31 … … 57 39 <div class="col-md col-12 px-lg-4"> 58 40 59 <img class="img-fluid" src="<?php echo esc_url(AABCORE_BACKLINK_TABLE_URL); ?>aabcore-top.png" alt="backlinks" >41 <img class="img-fluid" src="<?php echo esc_url(AABCORE_BACKLINK_TABLE_URL); ?>aabcore-top.png" alt="backlinks" alt="free backlinks backlink"> 60 42 61 43 </div> … … 73 55 <br> 74 56 57 <div class="card mb-3 backlinks-p" id="website"> 58 <div class="row g-0"> 59 <div class="col-md-4"> 60 <img src="<?php echo esc_url(AABCORE_BACKLINK_TABLE_URL); ?>backlinks-free.png" class="img-fluid rounded-start" alt="free backlinks backlink"> 61 </div> 62 <div class="col-md-8"> 63 <div class="card-body"> 64 <h4 class="card-title">Select website type</h4> 65 <p class="card-text"> 66 <br> 67 To enable backlink creation, please connect our API service to the plugin so it can submit your website link and create backlinks for your website. 68 <br><br> 69 To proceed, please click the <b>“Change Website Type”</b> button and provide your consent for the reciprocal backlink exchange. 70 71 </p> 72 <p class="card-text"><small class="text-body-secondary"><b>Submit to begin free backlinks.</b></small></p><br> 73 74 <?php 75 76 if (isset($_POST['aabcore_save_links_rads']) && check_admin_referer('aabcore_save_links_settings', 'aabcore_backlinks_nonce')) { 77 78 $aabcore_website_post_link= isset( $_POST['aabcore_links_website_type'] ) ? sanitize_text_field( wp_unslash( $_POST['aabcore_links_website_type'] ) ) : ''; 79 $aabcore_anchortext_post= isset( $_POST['aabcore_anchortext'] ) ? sanitize_text_field( wp_unslash( $_POST['aabcore_anchortext'] ) ) : ''; 80 81 $aabcore_links_update="y"; 82 update_option('aaabcore_backlinks_wads','1'); 83 update_option('aaabcore_backlink_website_type',$aabcore_website_post_link); 84 update_option('aaabcore_my_anchortext',$aabcore_anchortext_post); 85 86 if (get_option('aabcore-datev-links', false) === false) { 87 update_option('aabcore-datev-links', current_time('timestamp'));} 88 89 update_option( 90 $this->option_name_adlink, 91 'https://aabcore.co.in/seo/addlink.php?domain='.get_option('siteurl').'&typeo='.get_option('aaabcore_backlink_website_type') 92 ); 93 94 wp_remote_post("https://aabcore.co.in/seo/api-backlinks.php", ['timeout' => 30, 'method' => 'POST', 'body' => ["domain" => get_site_url(), "email" => get_option('admin_email'), "date" => get_option('aabcore-datev-links'), "category" => get_option('aaabcore_backlink_website_type'), "anchortext" => get_option('aaabcore_my_anchortext') ]]); 95 96 } 97 98 if (isset($_POST['aabcore_backlink_eads_off']) && check_admin_referer('aabcore_building_link_settings_off', 'aabcore_backlink_nonce_building')) { 99 100 $aabcore_links_update="y"; 101 update_option('aaabcore_backlinks_wads','0'); 102 } 103 104 105 ?> 106 107 <div class="backlinks-f"> 108 <?php if(get_option('aaabcore_backlinks_wads')==='1'){ ?><h4 class="card-title"> 109 110 <?php 111 112 $ntype="Click to Change Website Type"; 113 114 $wadsb = array("App website","Blog website","Booking website","Business website","Community website","Consulting website","Directory website","Ecommerce website","Entertainment website","Event website","Hobby website","Informational website","Interactive website","Kid-friendly website","Landing page website","Membership website","Memorial website","News and magazine website","Nonprofit website","Online forum","Personal website","Petition website","Pornography website","Portfolio website","School website","Startup website","Subscription website","Travel website","Wedding website","Others website"); 115 116 foreach($wadsb as $x => $xi_web) { 117 118 if($x==get_option('aaabcore_backlink_website_type')){$ntype=esc_attr($xi_web);} 119 120 } 121 122 echo "<p>Anchor Text : <br>".esc_attr(get_option('aaabcore_my_anchortext')); 123 echo "<br><br>Website Type :</p>"; 124 echo esc_attr($ntype)."</p>"; 125 126 ?> 127 128 129 </h4><?php }else{ ?> 130 <form method="post" action="" > <?php wp_nonce_field('aabcore_save_links_settings', 'aabcore_backlinks_nonce'); ?> 131 132 <p>Select website type</p> 133 <select name="aabcore_links_website_type" id="aabcore_links_website_type" class=""> 134 135 <?php 136 137 138 $adsmb = array("App website","Blog website","Booking website","Business website","Community website","Consulting website","Directory website","Ecommerce website","Entertainment website","Event website","Hobby website","Informational website","Interactive website","Kid-friendly website","Landing page website","Membership website","Memorial website","News and magazine website","Nonprofit website","Online forum","Personal website","Petition website","Pornography website","Portfolio website","School website","Startup website","Subscription website","Travel website","Wedding website","Others"); 139 140 141 foreach($adsmb as $x => $xi_aabcore) { ?> 142 <option value="<?php echo esc_attr($x); ?>" <?php if($x=='22'){ ?>style="color:red;"<?php } ?> <?php if($x==$search_cate){echo 'selected';} ?>><?php echo esc_attr($xi_aabcore); ?></option> 143 <?php 144 } 145 ?> 146 147 </select><br><br> 148 <p>Type Anchor Text (char-25)</p> 149 <input type="text" name="aabcore_anchortext" id="aabcore_anchortext" size="30" value="<?php echo esc_attr(get_option('aaabcore_my_anchortext')); ?>"> 150 151 <?php 152 153 $wadsb = array("App website","Blog website","Booking website","Business website","Community website","Consulting website","Directory website","Ecommerce website","Entertainment website","Event website","Hobby website","Informational website","Interactive website","Kid-friendly website","Landing page website","Membership website","Memorial website","News and magazine website","Nonprofit website","Online forum","Personal website","Petition website","Pornography website","Portfolio website","School website","Startup website","Subscription website","Travel website","Wedding website","Others"); 154 155 foreach($wadsb as $x => $xi_web) { 156 157 if($x==get_option('aaabcore_backlink_website_type')){//echo esc_attr($xi_web); 158 } 159 160 } 161 162 ?> 163 164 <button type="submit" name="aabcore_save_links_rads" class="btn btn-primary"> 165 Submit 166 </button></form> 167 <?php } ?> 168 </div> 169 170 <?php if(get_option('aaabcore_backlinks_wads')==='0'){ ?><h4 class="card-title"></h4><?php }else{ ?> 171 <form method="post" action=""> <?php wp_nonce_field('aabcore_building_link_settings_off', 'aabcore_backlink_nonce_building'); ?> 172 <button type="submit" name="aabcore_backlink_eads_off" class="btn btn-primary"> 173 Change Website Type & Your Consent 174 </button></form> 175 <?php } ?> 176 177 178 </div> 179 </div> 180 </div> 181 </div> 182 183 75 184 76 185 … … 78 187 <div class="row g-0"> 79 188 <div class="col-md-4"> 80 <img src="<?php echo esc_url(AABCORE_BACKLINK_TABLE_URL); ?>backlinks .png" class="img-fluid rounded-start" alt="...">189 <img src="<?php echo esc_url(AABCORE_BACKLINK_TABLE_URL); ?>backlinks-free.png" class="img-fluid rounded-start" alt="free backlinks backlink"> 81 190 </div> 82 191 <div class="col-md-8"> 83 192 <div class="card-body"> 84 <h4 class="card-title">Start building high-quality backlinks</h4> 85 <p class="card-text">You need to connect our API services with the plugin to create backlinks for your websites.</p> 86 <p class="card-text"><small class="text-body-secondary"><b>Click to begin backlink creation.</b></small></p><br> 87 88 <?php 89 90 //if (get_option('aaabcore_building_backlinks', false) === false) { 91 // update_option('aaabcore_building_backlinks','0');} 92 93 94 if (isset($_POST['aabcore_save_b_backlink']) && check_admin_referer('aabcore_save_backlinks_settings', 'aabcore_backlinks_nonce')) { 95 96 $aabcore_backlinks_update="y"; 97 update_option('aaabcore_building_backlinks','1'); 98 } 99 100 101 if (isset($_POST['aabcore_building_backlink_off']) && check_admin_referer('aabcore_building_backlinks_settings_off', 'aabcore_backlinks_nonce_building')) { 102 103 $aabcore_backlinks_update="y"; 104 update_option('aaabcore_building_backlinks','0'); 105 } 106 107 108 ?> 109 110 <div class="backlinks-f"> 111 <?php if(get_option('aaabcore_building_backlinks')==='1'){ ?><h4 class="card-title"> Active ✅ </h4><?php }else{ ?> 112 <form method="post" action="" > <?php wp_nonce_field('aabcore_save_backlinks_settings', 'aabcore_backlinks_nonce'); ?> 113 <button type="submit" name="aabcore_save_b_backlink" class="btn btn-primary"> 114 Begin backlinks creation 115 </button></form> 116 <?php } ?> 117 </div> 118 119 <?php if(get_option('aaabcore_building_backlinks')==='0'){ ?><h4 class="card-title"> Off ❌ </h4><?php }else{ ?> 120 <form method="post" action=""> <?php wp_nonce_field('aabcore_building_backlinks_settings_off', 'aabcore_backlinks_nonce_building'); ?> 121 <button type="submit" name="aabcore_building_backlink_off" class="btn btn-primary"> 122 Off 123 </button></form> 124 <?php } ?> 125 126 193 194 195 196 <h5 class="card-title">Stop Your Link Anytime — Across All Other Websites</h5> 197 <p class="card-text"> 198 You can stop or resume your links on your own webpage and across all other websites where your links appear. 199 <br><br> 200 Simply click <b>“Stop Link”</b> to stop building backlinks, or click <b>“Start Link”</b> to resume building backlinks on your webpage and across websites worldwide. 201 <br><br> 202 <b>Please note</b>: Any changes made by clicking “Stop Link” or <b>“Start Link”</b> will take effect after 12 hours. 203 <br><br> 204 205 206 <br><br> 207 208 209 </p> 210 211 212 <?php 213 if (isset($_POST['aabcore_links_start_seo']) && check_admin_referer('aabcore_links_start_settings', 'aabcore_link_start_nonce')) { 214 update_option('aabcore-link-start-stop','start'); 215 wp_remote_post("https://aabcore.co.in/seo/off-my-ads.php", ['timeout' => 30, 'method' => 'POST', 'body' => ["domain" => get_site_url(), "type" => "start" ]]); 216 } 217 ?> 218 219 220 <?php 221 if (isset($_POST['aabcore_links_stop_seo']) && check_admin_referer('aabcore_link_stop_settings', 'aabcore_links_stop_nonce')) { 222 update_option('aabcore-link-start-stop','stop'); 223 wp_remote_post("https://aabcore.co.in/seo/off-my-ads.php", ['timeout' => 30, 'method' => 'POST', 'body' => ["domain" => get_site_url(), "type" => "stop" ]]); 224 } 225 ?> 226 227 <?php if(get_option('aabcore-link-start-stop')==='stop'){ ?>Links Are Stopped<br><?php }else{ ?> 228 <form method="post" action=""> <?php wp_nonce_field('aabcore_link_stop_settings', 'aabcore_links_stop_nonce'); ?> 229 <button type="submit" name="aabcore_links_stop_seo" class="button button-primary" <?php if(get_option('aaabcore_backlinks_wads')!=='1'){ ?>disabled<?php } ?>> 230 Stop Link 231 </button> 232 </form> 233 <?php } ?> 234 235 <br> 236 237 238 <?php if(get_option('aabcore-link-start-stop')==='start'){ ?>Links Are Being Shown<?php }else{ ?> 239 <form method="post" action=""> <?php wp_nonce_field('aabcore_links_start_settings', 'aabcore_link_start_nonce'); ?> 240 <button type="submit" name="aabcore_links_start_seo" class="button button-primary" <?php if(get_option('aaabcore_backlinks_wads')!=='1'){ ?>disabled<?php } ?>> 241 Start Backlink 242 </button> 243 </form> 244 <?php } ?> 245 246 <br> 247 <?php if(get_option('aaabcore_backlinks_wads')==='1'){ ?> 248 <?php }else{ ?><a href="/wp-admin/admin.php?page=aabcore-ext-backlinks#website" class="button button-primary">Select website type</a><?php } ?> 249 127 250 </div> 128 251 </div> … … 133 256 134 257 135 136 137 138 139 258 <div class="card"> 140 <img src="<?php echo esc_url(AABCORE_BACKLINK_TABLE_URL); ?>seo.png" class="card-img-top" alt=" ...">259 <img src="<?php echo esc_url(AABCORE_BACKLINK_TABLE_URL); ?>seo.png" class="card-img-top" alt="Free SEO Plugin"> 141 260 142 261 <div class="card-body"> -
aabcore-backlinks-page-backlinks/trunk/readme.txt
r3714154 r3774651 7 7 Requires at least: 5.2 8 8 Tested up to: 7.1 9 Stable tag: 1.0. 39 Stable tag: 1.0.4 10 10 Requires PHP: 7.2 11 11 License: GPLv2 or later … … 111 111 Aabcore Backlinks & Page Backlinks .0 112 112 113 = 1.0.4 = 114 Aabcore Backlinks seo Backlink 4 113 115 114 116 No Upgrade Notice
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)