--- templates/default/entries.tpl.orig	2011-02-17 09:13:25.000000000 +0100
+++ templates/default/entries.tpl	2011-02-17 09:02:48.810188590 +0100
@@ -35,6 +35,19 @@
             <br /><a href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a><br /><br />
             {/if}
 
+            {if $is_single_entry and $entry_category.category_name|@escape == "MySQL"}
+                <script language="JavaScript"><!--
+                var planet = "http://planet.mysql.com/entry/vote/?apivote=1&";
+                var lk=encodeURIComponent(document.location);
+                var thumb_up="<img src=\"http://planet.mysql.com/images/thumbs_up_blue.jpg\" border=\"0\" />";
+                var thumb_down="<img src=\"http://planet.mysql.com/images/thumbs_down_blue.jpg\" border=\"0\" />";
+                document.write('<br/>Vote on <a href=\"http://planet.mysql.com/\" >Planet MySQL</a><br />');
+                document.write('<a title=\"Vote up on Planet MySQL\" href=\"' + planet + 'vote=1&url=' + lk  +  '\">' + thumb_up + '</a>');
+                document.write('&nbsp;');
+                document.write('<a title=\"Vote down on Planet MySQL\" href=\"' + planet + 'vote=-1&url=' + lk  +  '\">' + thumb_down + '</a>');
+                // --></script>
+            {/if}
+
             <div class='serendipity_entryFooter'>
                 {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a>
                 {if $entry.categories}

