echo " <tr>\n"; echo " <td align=\"left\" colspan=\"3\"> </td>\n"; echo " </tr>\n"; echo " </table>\n"; echo " </td>\n"; echo " </tr>\n"; echo " </table>\n"; echo " </td>\n"; echo " </tr>\n"; echo " </table>\n"; echo " </td>\n"; echo " </tr>\n"; echo "</table>\n"; echo "<br />\n"; if (session::logged_in()) { $vote = links_get_vote($lid, $_SESSION['UID']); $vote = $vote ? $vote : -1; echo "<form accept-charset=\"utf-8\" name=\"link_vote\" action=\"links_detail.php\" method=\"post\">\n"; echo " ", form_csrf_token_field(), "\n"; echo " ", form_input_hidden('webtag', htmlentities_array($webtag)), "\n"; echo " ", form_input_hidden("type", "vote"), "\n"; echo " ", form_input_hidden("lid", htmlentities_array($lid)), "\n"; echo " ", form_input_hidden("parent_fid", htmlentities_array($parent_fid)), "\n"; echo " <table cellpadding=\"0\" cellspacing=\"0\" width=\"600\">\n"; echo " <tr>\n"; echo " <td align=\"left\">\n"; echo " <table class=\"box\" width=\"100%\">\n"; echo " <tr>\n"; echo " <td align=\"left\" class=\"posthead\">\n"; echo " <table class=\"posthead\" width=\"100%\">\n"; echo " <tr>\n";
echo " <tr>\n"; echo " <td align=\"left\" colspan=\"3\"> </td>\n"; echo " </tr>\n"; echo " </table>\n"; echo " </td>\n"; echo " </tr>\n"; echo " </table>\n"; echo " </td>\n"; echo " </tr>\n"; echo " </table>\n"; echo " </td>\n"; echo " </tr>\n"; echo "</table>\n"; echo "<br />\n"; if (session::logged_in()) { $vote = links_get_vote($lid, $uid); $vote = $vote ? $vote : -1; echo "<form accept-charset=\"utf-8\" name=\"link_vote\" action=\"links_detail.php\" method=\"post\">\n"; echo " ", form_input_hidden('webtag', htmlentities_array($webtag)), "\n"; echo " ", form_input_hidden("type", "vote"), "\n"; echo " ", form_input_hidden("lid", htmlentities_array($lid)), "\n"; echo " ", form_input_hidden("parent_fid", htmlentities_array($parent_fid)), "\n"; echo " <table cellpadding=\"0\" cellspacing=\"0\" width=\"600\">\n"; echo " <tr>\n"; echo " <td align=\"left\">\n"; echo " <table class=\"box\" width=\"100%\">\n"; echo " <tr>\n"; echo " <td align=\"left\" class=\"posthead\">\n"; echo " <table class=\"posthead\" width=\"100%\">\n"; echo " <tr>\n"; echo " <td align=\"left\" class=\"subhead\" colspan=\"3\">", gettext("Rate"), " ", word_filter_add_ob_tags($link['TITLE'], true), "</td>";