home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 113 / EnigmaAmiga113CD.iso / software / on-line / webnap-0.4.1 / webnap.inc < prev   
Encoding:
Text File  |  2000-06-15  |  2.0 KB  |  60 lines

  1. <?
  2. /*****
  3. #
  4. # This software may be used and distributed according to the terms
  5. # of the GNU Public License, incorporated herein by reference.
  6. #
  7. # See file COPYING for details of the GNU GPL.
  8. #
  9. #################################
  10. WebNap Client copyright 2000
  11. Aakash Kambuj - aakash@idearing.com
  12. Kalpak Kothari - kalpak@idearing.com
  13. #################################
  14.  
  15. You are welcome to modify and distribute this code, but you MUST retain
  16. this copyright notice above any notices you put.  If you use this program
  17. beyond personal use, we request that you send us a copy of your modified code.
  18.  
  19. Napster is a registered trademark of Napster Inc - http://www.napster.com
  20.  
  21. *****/
  22.  
  23. $version = "WebNap v0.4.1";
  24.  
  25. function print_search_form() {
  26.  
  27.   global $username;
  28.   global $password;
  29.   global $napserver;
  30.   global $keywords;
  31.   
  32.   print("<center><form action=\"searchmp3.php\" method=POST>\n".
  33.     "<input type=hidden name=\"username\" value=$username>".
  34.     "<input type=hidden name=\"password\" value=$password>\n".
  35.     "<font size=\"+1\">New search</font><br>\n".
  36.     "<table><tr width=100%><td colspan=2><input type=text name=\"keywords\" size=\"50\" maxlength=\"50\" value=\"$keywords\"></td></tr>\n");
  37.   print("<tr width=100%><td><select size=\"1\" name=\"napserver\">\n".
  38.     "<option selected value=\"64.13.30.57\">imperialfleet.com</option>\n".
  39.     "<option value=\"128.61.2.126\">culvernap.yi.org</option>\n".
  40.     "<option value=\"24.31.162.149\">inapnap.faradic.net</option>\n".
  41.     "<option value=\"207.195.111.5\">opennap.squidcafe.com </option>\n".
  42.     "<option value=\"209.250.0.44\">lightening.reboot.org</option>\n".
  43.     "<option value=\"24.66.169.200\">wintermute.sparhawk.bc.ca </option>\n".
  44.     "<option value=\"207.195.111.2\">bitchx.dimension6.com </option>\n".
  45.     "<option value=\"64.29.16.161\">matt.3mu.com </option>\n".
  46.     "<option value=\"64.224.114.33\">alternative.mynapster.com </option>\n".
  47.     "</select></td>\n".
  48.     "<td align=\"right\"><input type=submit value=\"Go\"></td></tr></table>\n".
  49.     "</form></center>\n");
  50.  
  51. }
  52.  
  53. ?>
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.