Code:
<?php
header('Content-Type: text/html; charset=UTF-8');
if(empty($_GET['url'])) die;
include('../config.php');
$web1 = 'FeedTheBull.com';
$web2 = 'Feed!';
$server = $my_base_url.$my_pligg_base;
$url = htmlspecialchars(strip_tags($_GET['url']));
$query = mysql_query("SELECT link_id,link_votes FROM " . table_links . " WHERE link_url=\"$url\" AND (link_status='published' OR link_status='queued') LIMIT 1");
$res = mysql_num_rows($query);
?>
<style type="text/css">
<!--
.wrap {background:url(/evb/img/vote-01.png) no-repeat 0 0;position:absolute;top:0px;left:0px;width:54px;height:71px;text-align:center;font-size:85%;margin:0;padding:0;list-style:none}
.mnm-publish a {font-size:26px;letter-spacing:-1px;text-decoration:none;line-height:48px;padding:15px 0 6px 0}
.mnm-publish a small {font-size:12px;letter-spacing:0px;text-decoration:none}
.mnm-publish a:link, .mnm-publish a:visited {color:#FFFFFF}
.mnm-publish a:hover, .mnm-publish a:active {text-decoration:none;color:#000}
.menealo a:link,.menealo a:visited, .menealo span {display:block;padding:4px 0 5px 0;color:#774525;font-size:12px; text-decoration:none}
.menealo a:hover {color:#000}
.menealo span {color:#ccc;font-size:11px}
//-->
</style>
<?php
if($res == 1) {
$array = mysql_fetch_array($query);
$id = $array['link_id'];
$votes = $array['link_votes'];
echo '<div>
<ul class="wrap">
<li class="mnm-publish"><a href="' . $server . '/story.php?id=' . $id . '" title="Vote for this story on ' . $web1 . '" target="_parent"><b>' . $votes . '</b></a></li>
<li class="menealo">
<a href="' . $server . '/story.php?id=' . $id . '">' . $web2 . '</a>
</li>
</ul>
</div>';
} else {
echo '<div>
<ul class="wrap">
<li class="mnm-publish"><a href="' . $server . '/submit.php?url=' . $url . '" title="Submit this story on ' . $web1 . '" target="_parent"><b>Go</b></a></li>
<li class="menealo">
<a href="' . $server . '/submit.php?url=' . $url . '">' . $web2 . '</a>
</li>
</ul>
</div>';
}
?> http://www.feedthebull.com/story.php?id=1770
Does it have anything to do with me using URL method 2?








Linear Mode



