View Single Post
Old 05-09-2008, 09:14 PM   #1 (permalink)
ComScout.com
 
ComScout.com's Avatar
 
Name: Billy
Last Online: Today 11:34 AM
iTrader: (7)
Join Date: Jul 2003
Posts: 1,137
DNF$: 10,771
Location: Western Australia
Country:


Exclamation Sedo Script Help

Hi Guys,

I am trying to implement the below sedo script into my vbulletin forum, but nothing is showing up. The script is supposed to show Sedo's latest TOP Domains / Recent Sales

Some help on how to implement this correctly would be greatly appreciated.

https://sedo.com/partner/example/int...&language=us#1

Quote:
<!-- Sedo Code -->
<?php # Script for displaying the topdomains #

# file with list of topdomains from Sedo
$filecontent = file ("http://www.sedo.com/txt/topdomains_e.txt");
#

$x =0;
$topdomains = array();
while(list($line) = each($filecontent)) {
$topdomains [$x][0] = substr($filecontent[$x],0,strpos($filecontent[$x],'~'));
$topdomains [$x][1] = substr($filecontent[$x], strpos($filecontent[$x],'~')+1, (strlen($filecontent[$x])-strpos($filecontent[$x],'~')-3) );
$x++;
}

# Displaying the domains & prices as table

echo '<table border=0 cellpadding=2 cellspacing=0>';
echo '<tr><td bgcolor=#e0e8ef><span style="font-size:11px; font-weight:bold;">
TOP domains for sale</span></td></tr>';

for ($i=0;$i<10;$i++) { ?> <tr><td bgcolor=#f0f0f0><a href="http://www.sedo.com/search/showdetails.php4?partnerid=12824&language=e&keywor d=<? echo $topdomains[$i][0]; ?>" target="_blank">
<span style="font-size:10px; font-weight:bold;">
<?php echo $topdomains[$i][0]; ?></span></a></td></tr>
<tr><td bgcolor=#ffffff><span style="font-size:8px">
<?php echo $topdomains[$i][1]; ?></span></td></tr>
<?php
}
echo '</table>';
?>
<!-- Sedo Code Ende -->
ComScout.com is offline   Reply With Quote