This would just require a script or something. Try creating a script called 'show_rating.cgi', and upload to your CGI-BIN;
Code:
#!/usr/bin/perl
use strict;
use lib '/path/to/admin';
use Links qw/$IN $DB $CFG/;
Links::init('/path/to/admin');
my $id = $IN->param('ID');
my $rating;
my $sth = $DB->table('Links')->select( { ID => $id } );
while (my $hit = $sth->fetchrow_hashref) {
$rating = $hit->{Rating};
}
print $IN->header();
print "Rating: $rating";
Then on your link owners sites, have something like this;
Code:
<IFRAME SRC="http://www.yoursite.com/cgi-bin/show_rating.cgi?ID=1234" TITLE="Link Rating">
Your browser doesn't seem to support IFRAMES.</IFRAME>
Untested, but it should work
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my
Amazon Wish List GLinks ULTRA Package | GLinks ULTRA Package PRO Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin |
Pre-Made Template Sets |
FREE GLinks Plugins!