share.php
74 lines
| 1 | <html> |
| 2 | <head> |
| 3 | <style type="text/css"> |
| 4 | <!-- |
| 5 | body { |
| 6 | font: 13px Arial, Helvetica, sans-serif; |
| 7 | padding: 10px; |
| 8 | overflow: hidden; |
| 9 | } |
| 10 | .txtBox{ |
| 11 | font-size: 20px; |
| 12 | padding: 5px; |
| 13 | width: 25%; |
| 14 | } |
| 15 | p { |
| 16 | font-size: 12px; |
| 17 | } |
| 18 | #close{ |
| 19 | background: #dfdfdf; |
| 20 | height: 21px; |
| 21 | width: 15px; |
| 22 | top: -5px; |
| 23 | right: -5px; |
| 24 | position: absolute; |
| 25 | padding: 8px 5px 1px 10px; |
| 26 | -webkit-border-radius: 35px; |
| 27 | -moz-border-radius: 35px; |
| 28 | border-radius: 35px; |
| 29 | cursor: pointer; |
| 30 | } |
| 31 | --> |
| 32 | </style> |
| 33 | |
| 34 | </head> |
| 35 | <body> |
| 36 | <?php $id = intval($_GET['i']); ?> |
| 37 | |
| 38 | <div id="close" onClick="parent.sc_closeiframe();">x</div> |
| 39 | |
| 40 | <?php if ($id == 1): ?> |
| 41 | <div id="donate"> |
| 42 | <h3>Donate and support this plugin !</h3> |
| 43 | <p>If you like this plugin, then just make a small donation for this plugin.</p> |
| 44 | <p style="font-size:10px">This plugin is free with premium features, so your donation will encourage me to work on the plugin to add more features.</p> |
| 45 | <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"> |
| 46 | <input name="cmd" value="_donations" type="hidden"> |
| 47 | <input name="business" value="donations@aakashweb.com" type="hidden">$ |
| 48 | <input type="number" name="amount" class="txtBox" value="20"> |
| 49 | <input align="right" src="../images/paypal.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" type="image" border="0"> |
| 50 | <input name="item_name" value="Donation for Shortcoder plugin" type="hidden"> |
| 51 | <input name="no_shipping" value="0" type="hidden"> |
| 52 | <input name="no_note" value="1" type="hidden"> |
| 53 | <input name="currency_code" value="USD" type="hidden"> |
| 54 | <input name="tax" value="0" type="hidden"> |
| 55 | <input name="lc" value="US" type="hidden"> |
| 56 | <input name="bn" value="PP-DonationsBF" type="hidden"> |
| 57 | </form> |
| 58 | </div> |
| 59 | <?php endif; ?> |
| 60 | |
| 61 | <?php if ($id == 2): ?> |
| 62 | <div id="share"> |
| 63 | <h3>Share this plugin !!</h3> |
| 64 | <div class="addthis_toolbox addthis_default_style"> |
| 65 | <a class="addthis_button_facebook_like" fb:like:layout="button_count" fb:like:href="http://facebook.com/aakashweb"></a> |
| 66 | <a class="addthis_button_google_plusone" g:plusone:size="medium" g:plusone:href="http://www.aakashweb.com"></a> |
| 67 | <a class="addthis_button_tweet" tw:count="horizontal" tw:url="http://www.aakashweb.com/wordpress-plugins/shortcoder/" tw:text="Shortcoder - Awesome plugin for creating custom Shortcodes in Wordpress !"></a> |
| 68 | </div> |
| 69 | <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=vaakash"></script> |
| 70 | </div> |
| 71 | <?php endif; ?> |
| 72 | |
| 73 | </body> |
| 74 | </html> |