<html>
<head>
<title>TalkerNet.Net Talker Database</title>
<meta name="description" content="TalkerNet.Net's WebPage is here to promote the overall use of ALL talkers.  We believe that the use a Web-based Java connection to talkers will
 increase the accessibility and ease of use for the average internet user to ALL talkers.">
<meta name="keywords" content="talker, talkers, chat, internet, talk, nuts, java, talkernet">

<script>
if (document.images) {
  image1on = new Image();  image1on.src = "main/here1.gif";
  image2on = new Image();  image2on.src = "main/sys1.gif";
  image4on = new Image();  image4on.src = "main/main1.gif";
  image5on = new Image();  image5on.src = "main/tconn1.gif";
  image6on = new Image();  image6on.src = "main/figlet1.gif";
  image7on = new Image();  image7on.src = "main/comments1.gif";
  image8on = new Image();  image8on.src = "main/database1.gif";
  image9on = new Image();  image9on.src = "main/graph1.gif";

  image1off = new Image();  image1off.src = "main/here2.gif";
  image2off = new Image();  image2off.src = "main/sys2.gif";
  image4off = new Image();  image4off.src = "main/main2.gif";
  image5off = new Image();  image5off.src = "main/tconn2.gif";
  image6off = new Image();  image6off.src = "main/figlet2.gif";
  image7off = new Image();  image7off.src = "main/comments2.gif";
  image8off = new Image();  image8off.src = "main/database2.gif";
  image9off = new Image();  image9off.src = "main/graph2.gif";

}

function turnOn(imageName) {
  if (document.images) {
    document[imageName].src = eval(imageName + "on.src");
  }
}

function turnOff(imageName) {
  if (document.images) {
    document[imageName].src = eval(imageName + "off.src");
  }
}

</script></head>

<body bgcolor="#f1f1f1" link=black alink=black vlink=black>

<center>&nbsp;<br>&nbsp;

<table width="700" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td width="100%" BGCOLOR=#000000>

      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
        <tr>
          <td width="100" bgcolor="#ffffff" align="left" valign="middle" background="main/side.gif"><br><br>
        <img src="main/smlogo.gif" width="92" height="18"><br>
        <hr width="100" noshade color="#000000"><br>
            &nbsp;&nbsp;<a href="/" onMouseOver="turnOn('image4')" onMouseOut="turnOff('image4')"><img name="image4" src="main/main2.gif" alt="Main Page" border="0" width="26" height="13" align="center"></a><br><br>
        &nbsp;&nbsp;<a href="/talkerconnect" onMouseOver="turnOn('image5')" onMouseOut="turnOff('image5')"><img name="image5" src="main/tconn2.gif" alt="TalkerNet TalkerConnect" border="0" width="75" height="14" align="center"></a><br><br>
        &nbsp;&nbsp;<a href="/figlet.html" onMouseOver="turnOn('image6')" onMouseOut="turnOff('image6')"><img name="image6" src="main/figlet2.gif" alt="TalkerNet Figlet" border="0" width="27" height="14" align="center"></a><br><br>
        &nbsp;&nbsp;<a href="/main/comments.html" onMouseOver="turnOn('image7')" onMouseOut="turnOff('image7')"><img name="image7" src="main/comments2.gif" alt="TalkerNet Comments" border="0" width="51" height="11" align="center"></a><br><br>
        &nbsp;&nbsp;<img name="image8" src="main/database2.gif" alt="TalkerNet DataBase" border="0" width="47" height="13" align="center"></a><br><br>
        &nbsp;&nbsp;<a href="http://graph.talkernet.net/" onMouseOver="turnOn('image9')" onMouseOut="turnOff('image9')"><img name="image9" src="main/graph2.gif" alt="TalkerConnect Graph" border=0 width=29 height=15 align=center></a><br><br>
        <hr width="100" noshade color="#000000">
            <a href="http://www.php.net"><img src = "/main/php.gif" height=31 width=88 border=0></a>
      </td>

      <td width="50" bgcolor="#ffffff" valign="top" align="left" background="main/newback.gif"><br>
      </td>
      <td width="550" bgcolor="#ffffff" valign="top" align="left" background="main/newback2.gif"><br>

<center>
<?
        
    
if (!(isset($sort))) 
    {
    
$sort="talker";
        }

        
mysql_connect("localhost""www""www");


if (isset(
$select)) {
    
$query "SELECT * FROM talkers where $type = \"$select\"";
    
$result mysql_db_query("talkernet""select count(*) from talkers where $type = \"$select\"");
    if (
$result) {
               if (
$r=mysql_fetch_row($result)) {
            echo 
"This query returned <b>$r[0]</b> entries<br><br><br>";
               }
    }
}



else {
    
$query "SELECT * FROM talkers order by $sort";
    
$result mysql_db_query("talkernet""select count(*) from talkers");
        if (
$result) {
               if (
$r=mysql_fetch_row($result)) {
            echo 
"This query returned <b>$r[0]</b> entries";
        }
       }
}
        
$result mysql_db_query("talkernet"$query ); 
    echo 
"<table border=1 width=500 cellspacing=1 cellpadding=1 bordercolor=#6C6CB4><tr>\n";
    echo 
"<td><b><a href=/talker/index.php3?sort=talker>Talker</td></b></a>\n";
    echo 
"<td><b><a href=/talker/index.php3?sort=owner>Owner</td></b></a>\n";
    echo 
"<td><b><a href=/talker/index.php3?sort=flavor>Flavor</td></b></a>\n";
    echo 
"<td><b><a href=/talker/index.php3?sort=domain>Address</td></b></a>\n";

        if (
$result) {
               while (
$r mysql_fetch_array($result)) {
                
$talker $r["talker"];
                
$owner $r["owner"];
                
$flavor $r["flavor"]; $safe_flavor ereg_replace" ""+"$flavor );
                
$port $r["port"];
                
$domain $r["domain"];
                
$url $r["url"];
                
$email $r["email"];
                echo 
"<tr><td><a href=\"http://$url\">$talker</a></td>\n";
        echo 
"<td><a href=\"mailto:$email\">$owner</a></td>\n";
        echo 
"<td><a href=\"index.php3?select=$safe_flavor&type=flavor\">$flavor</a></td>\n";
        echo 
"<td><a href=\"telnet://$domain:$port\">$domain $port</a></td></tr>\n";
        }
    }

echo 
"</table>\n";

?>

<center>
<?
if (!(isset($select))) {
echo 
"<form><input type=\"button\" value=\"Edit\" onclick=\"window.location='http://www.talkernet.net/edit/'\">&nbsp;&nbsp;\n";
echo 
"<input type=\"button\" value=\"Add\" onclick=\"window.location='http://www.talkernet.net/edit/add.php3'\">&nbsp;&nbsp;\n";
echo 
"<input type=\"button\" value=\"Delete\" onclick=\"window.location='http://www.talkernet.net/edit/delete.php3'\"></form>\n";
}

else {
echo 
"<br><br><a href=\"index.php3\">Back to all entries</a>\n";
}

// mysql_free_result($result);
?>
</center>

          </td>
        </tr>
      </table>

    </td>
  </tr>
</table>

</body></html>