Author Topic: I made a search engine...  (Read 1261 times)

http://search.endless-space.tk/

I just took the coding of a ShinySearch one and edited it and made my own search engine. :D


This is the code for it:

Code: [Select]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 
<head>
 
<LINK REL="SHORTCUT ICON"
       HREF="http://endless-space.tk/ES.ico">
 
 
<script type="text/JavaScript">
<!--
if (parent.frames.length > 0) top.location.replace(document.location);
-->
</script>
<title>Endless Space - Search</title>
 
 
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Endless Space - ShinySearch</title>
<link rel="canonical" href="http://www.shinysearch.com" />
 
<link href="home.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
 
background-color: #000000;
}
#AutoNumber1 { text-align: center; width: 100%; height: 100%; background-color: #000000;
 
background-image: url(http://endless-space.tk/es-bgimage.gif);
background-repeat: no-repeat;
background-position: center 100%;
}
#inner { width: 25%; height: 20%;
 
 
 
}
 
#left_td, #top_td, #inner_left_td, #top_inner_td { font-size: 0px; line-height: 0px; margin: 0px; padding: 0px; }
#bottom_inner_td { text-align: left }
 
#AutoNumber1 { margin-left: auto; margin-right: auto; }
#left_td { width: 0px; }
 
 
 
#container_td { vertical-align: middle; height: 100%; }
#top_td { height: 0px; }
#bottom_td { height: 100%; }
 
 
 
 
 
#inner_left_td { width: 4%; }
 
 
 
#container_inner_td { vertical-align: top; }
#top_inner_td { height: 4%; }
#bottom_inner_td { height: 96%; }
 
.q, a.q:active, a.q:link, a.q:hover, a.q:visited  { color :#52A1BF; }
 
-->
</style>
</head>
<body align="center"><center>
 
<div id="overlay" align="center" align="middle">&#160;</div>
<div id="getmenu_container"></div>
 
<div id="content" style="height:100%; overflow: hidden;">
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="height: 100%;">
<tr><td id="top_td" colspan="2">&#160;</td></tr>
<tr>
<td id="left_td"></td>
<td id="bottom_td">
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="height: 100%">
<tr>
<td id="container_td">
  <table border="0" cellpadding="0" cellspacing="0" id="AutoNumber1">
<tr><td id="top_inner_td" colspan="2">&#160;</td></tr>
    <tr>
      <td id="inner_left_td"></td>
  <td id="bottom_inner_td">
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="height: 100%">
<tr>
<td id="container_inner_td">
      <table cellspacing="0" cellpadding="0" border="0" id="inner" style="z-index: 30; position: relative;">
      <tr>
      <td width="100%" align="center" valign="middle">
<p align="center"><img alt="" src="http://www.endless-space.tk/search/logo.png" /></p>
 
 
 
 
          <p align="center" class="q">
<form action="http://www.shinysearch.com/serp.php" id="cse-search-box">
        <table cellSpacing="0" cellPadding="0">
          <tr vAlign="top">
            <td width="25%" style="font-family: arial,sans-serif">&nbsp;</td>
            <td noWrap valign="middle" align="center" style="font-family: arial,sans-serif">
<input type="hidden" name="r_bimg" value="6043a667bbb0df9dd04d60cfb4aa6bda" />
 
<input type="hidden" name="r_bclor" value="000000" />
 
<input type="hidden" name="r_ov" value="1" />
 
<input type="hidden" name="r_op" value="78" />
        <input type="hidden" name="cx" value="partner-pub-6807258685122891:b5gtbi71bd0" />
        <input type="hidden" name="cof" value="FORID:11" />
        <input type="hidden" name="ie" value="UTF-8" />
        <input type="text" name="q" size="55" autocomplete="off" /><br>
        <input type="submit" name="sa" value="Search The Internets" />
 
</td>
            <td noWrap width="25%" style="font-family: arial,sans-serif">
            <font size="-2">&nbsp;</font></td>
          </tr>
        </table>
      </form>
      <p align="center">&nbsp;<p align="center"><font style="font-size: 9pt">
      <a class="q" href="http://www.endless-space.tk/">Main Website</a><font class="q">&nbsp;
      |&nbsp;&nbsp; </font> <a class="q" onclick="set_homepage(); return false;" href="http://forums.endless-space.tk/">Go to Forums</a></font>
      <p class="q" align="center"><font size="1">Powered by Google Custom Search and ShinySearch.</font></p>
      </td>
      </tr>
      </table>
      </td>
      </tr>
      </table>
 
      </td>
    </tr>
  </table>
 
</td>
</tr>
</table>
 
</td>
</tr>
</table>
</div>
 
<div id="ie7_set_homepage_tip">
<div class="ie7_set_homepage_tip_text">
1, Click the First option - (Use this webpage as your only home page)
<br />
2, Then click the "Yes" button.
</div>

</div>
 
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-brown townytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-1613452-2");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>
<!-- www.000webhost.com brown townytics Code -->
<script type="text/javascript" src="http://brown townytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://brown townytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of brown townytics Code -->


So you didnt actually make your own search engine, you just edited the code to change the logo. That takes no skill.

i prefer google  :cookieMonster:

:P

Me too, I just made this for the heck of it.

I like how it uses google search

So you didnt actually make your own search engine, you just edited the code to change the logo. That takes no skill.

Well, close. :P

I viewed the page's source and coppied it all and just changed some scripts, added some of my own, changed what the button said and the links on the bottom, ansd stuff like that.

This is what I changed:

1. Since it's on a TK domain I had to add the javascript that deletes the TK favicon.
2. I had to add the HTML to use my own favicon.
3. I changed the logo.
4. I changed what the button said.
5. I changed the two links on the bottom.
6. I changed the words on the bottom.
7. I changed the background image to mine.
8. I centered the logo, text box, ect...
9. I deleted a button.
10. I put it on my website.


Here is the original that I got the code from:

http://www.shinysearch.com/myhome.php?style=space&ltext=Endless%20Space

The image is all blurry to lol.

Well, close. :P

I viewed the page's source and coppied it all and just changed some scripts, added some of my own, changed what the button said and the links on the bottom, ansd stuff like that.
That's so not illegal.

The image is all blurry to lol.
That's so not illegal.

It does say that it's powered by ShinySearch on the bottom. I put that there hoping no one would try to shut my website down or anything because I just got it up.

Any decent server automatically uses a favicon.

Your changes are worthless and easy.

You edited a code
You're such a pro

Any decent server automatically uses a favicon.

Your changes are worthless and easy.

Okay, then what is the javascript I used to remove the TK favicon?


Oh, when you use TKs DNS service it gives you the favicon. You are supposed to pay to remove it but I just use a javascript.
« Last Edit: June 17, 2010, 12:20:36 AM by nitt »