Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
VinDSL
Life Cycles Becoming CPU Cycles


Joined: Jul 11, 2004
Posts: 614
Location: Arizona (USA) Admin: NukeCops.com Admin: Disipal Designs Admin: Lenon.com

PostPosted: Thu Aug 04, 2005 11:17 pm Reply with quote

I was playing around with my Download module tonight, and realized that the 'other Search Engines' links were seriously
out of date. A lot of these web sites don't even exist any more, so I tweaked it.

This is what I came up with...

    Image


If you would like to do the same thing...

OPEN: 'modules/Downloads/index.php'

At the end of the search function...

FIND:

Code:
    echo "<br><br><center><font class=\"content\">"

    .""._TRY2SEARCH." \"$the_query\" "._INOTHERSENGINES."<br>"
    ."<a target=\"_blank\" href=\"http://www.altavista.com/cgi-bin/query?pg=q&amp;sc=on&amp;hl=on&amp;act=2006&amp;par=0&amp;q=$the_query&amp;kl=XX&amp;stype=stext\">Alta Vista</a> - "
    ."<a target=\"_blank\" href=\"http://www.hotbot.com/?MT=$the_query&amp;DU=days&amp;SW=web\">HotBot</a> - "
    ."<a target=\"_blank\" href=\"http://www.infoseek.com/Titles?qt=$the_query\">Infoseek</a> - "
    ."<a target=\"_blank\" href=\"http://www.dejanews.com/dnquery.xp?QRY=$the_query\">Deja News</a> - "
    ."<a target=\"_blank\" href=\"http://www.lycos.com/cgi-bin/pursuit?query=$the_query&amp;maxhits=20\">Lycos</a> - "
    ."<a target=\"_blank\" href=\"http://search.yahoo.com/bin/search?p=$the_query\">Yahoo</a>"
    ."<br>"
    ."<a target=\"_blank\" href=\"http://es.linuxstart.com/cgi-bin/sqlsearch.cgi?pos=1&amp;query=$the_query&amp;language=&amp;advanced=&amp;urlonly=&amp;withid=\">LinuxStart</a> - "
    ."<a target=\"_blank\" href=\"http://search.1stlinuxsearch.com/compass?scope=$the_query&amp;ui=sr\">1stLinuxSearch</a> - "
    ."<a target=\"_blank\" href=\"http://www.google.com/search?q=$the_query\">Google</a> - "
    ."<a target=\"_blank\" href=\"http://www.linuxdownloads.com/cgi-bin/search.cgi?query=$the_query&amp;engine=Downloads\">LinuxDownloads</a> - "
    ."<a target=\"_blank\" href=\"http://www.freshmeat.net/search/?q=$the_query&amp;section=projects\">Freshmeat</a> - "
    ."<a target=\"_blank\" href=\"http://www.justlinux.com/bin/search.pl?key=$the_query\">JustLinux</a>"
    ."</font>";
    } else {
    echo "<center><font class=\"option\"><b>"._NOMATCHES."</b></font></center><br><br>";
    }
    CloseTable();
    include("footer.php");
}


CHANGE TO:

Code:
    echo "<br><br><center><font class=\"content\">"

        .""._TRY2SEARCH." \"$the_query\" "._INOTHERSENGINES."<br>"
        ."<a target=\"_blank\" href=\"http://www.altavista.com/web/results?i&q=$the_query\">AltaVista</a>&nbsp;<b>&middot;</b>&nbsp;"
        ."<a target=\"_blank\" href=\"http://web.ask.com/web?q=$the_query\">Ask Jeeves</a>&nbsp;<b>&middot;</b>&nbsp;"
        ."<a target=\"_blank\" href=\"http://www.dogpile.com/info.dogpl/search/web/$the_query\">Dogpile</a>&nbsp;<b>&middot;</b>&nbsp;"
        ."<a target=\"_blank\" href=\"http://search.go.com/search/searchResults?&search=$the_query\">Go.com</a>"
        ."<br>"
        ."<a target=\"_blank\" href=\"http://www.google.com/search?q=$the_query\">Google</a>&nbsp;<b>&middot;</b>&nbsp;"
        ."<a target=\"_blank\" href=\"http://www.hotbot.com/?MT=$the_query\">HotBot</a>&nbsp;<b>&middot;</b>&nbsp;"
        ."<a target=\"_blank\" href=\"http://search.lycos.com/default.asp?loc=searchbox&query=$the_query\">Lycos</a>&nbsp;<b>&middot;</b>&nbsp;"
        ."<a target=\"_blank\" href=\"http://search.msn.com/results.aspx?&q=$the_query\">MSN</a>&nbsp;<b>&middot;</b>&nbsp;"
        ."<a target=\"_blank\" href=\"http://search.yahoo.com/bin/search?p=$the_query\">Yahoo</a>"
        ."</font>";
    } else {
        echo "<center><font class=\"option\"><b>"._NOMATCHES."</b></font></center><br><br>";
    }
    CloseTable();
    include("footer.php");
}

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: Only registered users can see links on this board! Get registered or login! | Only registered users can see links on this board! Get registered or login! ::. 
View user's profile Send private message Visit poster's website ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Thu Aug 04, 2005 11:48 pm Reply with quote

Thanks Vin!
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©