| 1 |
<style> |
| 2 |
a.xyz_header_link:hover{text-decoration:underline;} |
| 3 |
.xyz_header_link{text-decoration:none;} |
| 4 |
</style> |
| 5 |
|
| 6 |
<?php |
| 7 |
|
| 8 |
if(get_option('xyz_credit_link')=="0"){ |
| 9 |
?> |
| 10 |
<div style="float:left;background-color: #FFECB3;border-radius:5px;padding: 0px 5px;margin-top: 10px;border: 1px solid #E0AB1B" id="xyz_backlink_div"> |
| 11 |
|
| 12 |
Please do a favour by enabling backlink to our site. <a id="xyz_ips_backlink" style="cursor: pointer;" >Okay, Enable</a>. |
| 13 |
<script type="text/javascript"> |
| 14 |
|
| 15 |
jQuery(document).ready(function() { |
| 16 |
|
| 17 |
jQuery('#xyz_ips_backlink').click(function() { |
| 18 |
var dataString = { |
| 19 |
action: 'ajax_backlink', |
| 20 |
enable: 1 |
| 21 |
}; |
| 22 |
|
| 23 |
jQuery.post(ajaxurl, dataString, function(response) { |
| 24 |
jQuery("#xyz_backlink_div").html('Thank you for enabling backlink !'); |
| 25 |
jQuery("#xyz_backlink_div").css('background-color', '#D8E8DA'); |
| 26 |
jQuery("#xyz_backlink_div").css('border', '1px solid #0F801C'); |
| 27 |
}); |
| 28 |
}); |
| 29 |
}); |
| 30 |
|
| 31 |
</script> |
| 32 |
</div> |
| 33 |
<?php |
| 34 |
} |
| 35 |
?> |
| 36 |
|
| 37 |
<style> |
| 38 |
#text {margin:50px auto; width:500px} |
| 39 |
.hotspot {color:#900; padding-bottom:1px; border-bottom:1px dotted #900; cursor:pointer} |
| 40 |
|
| 41 |
#tt {position:absolute; display:block; } |
| 42 |
#tttop {display:block; height:5px; margin-left:5px;} |
| 43 |
#ttcont {display:block; padding:2px 10px 3px 7px; margin-left:-400px; background:#666; color:#FFF} |
| 44 |
#ttbot {display:block; height:5px; margin-left:5px; } |
| 45 |
</style> |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
<div style="margin-top: 10px"> |
| 52 |
<table style="float:right; "> |
| 53 |
<tr> |
| 54 |
<td style="float:right;" > |
| 55 |
<a onmouseover="tooltip.show('Please help us to keep this plugin free forever by donating a dollar');" onmouseout="tooltip.hide();" class="xyz_header_link" style="margin-left:8px;margin-right:12px;" target="_blank" href="http://xyzscripts.com/donate/1">Donate</a> |
| 56 |
</td> |
| 57 |
<td style="float:right;"> |
| 58 |
<a class="xyz_header_link" style="margin-left:8px;" target="_blank" href="http://kb.xyzscripts.com/category/insert-php-code-snippet/">FAQ</a> |
| 59 |
</td> |
| 60 |
<td style="float:right;"> |
| 61 |
<a class="xyz_header_link" style="margin-left:8px;" target="_blank" href="http://docs.xyzscripts.com/category/insert-php-code-snippet/">Docs</a> |
| 62 |
</td> |
| 63 |
<td style="float:right;"> |
| 64 |
<a class="xyz_header_link" style="margin-left:8px;" target="_blank" href="http://xyzscripts.com/wordpress-plugins/insert-php-code-snippet/details">About</a> |
| 65 |
</td> |
| 66 |
<td style="float:right;"> |
| 67 |
<a class="xyz_header_link" target="_blank" href="http://xyzscripts.com">XYZScripts</a> |
| 68 |
</td> |
| 69 |
|
| 70 |
</tr> |
| 71 |
</table> |
| 72 |
</div> |
| 73 |
|
| 74 |
<div style="clear: both"></div> |