Location: PHPKode > projects > X-kernoel-x.NET Chat Engine > xchatx-0.1/chat.php
<?
/*********************************************************************************
x-kernoel-x.NET Chat Engine is Copyright (c) 2002 by Markus Duft
You can reach me ofer E-Mail at: hide@address.com
This peace of Software underlies the GPL General Public License
Feel free to take peaces of this software for your own programs, but please let me know,
and leave a copyright notice where you use something out of this script!
*********************************************************************************/
?>

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Chat</title>

<script language="php">

include("includes/config.inc.php");
include("includes/class.database.php");

$db = new Database($db_host,$db_name,$db_user,$db_pass);
$sql = "SELECT * FROM chat ORDER BY id DESC";
$db->query($sql);
$db->nextRecord();
$last = $db->getField(0);

</script>

</head>

<frameset rows="68,*,60" border="0" frameborder="0">
  <frame name="top" target="footnotes" src="top.php?user=<? echo $user; ?>" marginwidth="0" marginheight="0" scrolling="no" noresize>
  <frameset cols="120,*">
    <frame name="nav" src="nav.php?user=<? echo $user; ?>" marginwidth="0" marginheight="0" scrolling="no" noresize>
    <frame name="main" src="output.php?user=<? echo $user; ?>" marginwidth="10" marginheight="0" scrolling="auto" noresize>
  </frameset>
  <frameset cols="*,25,25">
    <frame name="input" src="input.php?user=<? echo $user; ?>" marginwidth="0" marginheight="0" scrolling="no" noresize>
    <frame name="work" src="work.php?user=<? echo $user; ?>" scrolling="no" noresize>
	<frame name="work1" src="read.php?user=<? echo $user; ?>&last=<? echo $last; ?>" marginwidth="0" marginheight="0" scrolling="no" noresize>
  </frameset>
  <noframes>
  <body>

  <p>This page uses frames, but your browser doesn't support them.</p>

  </body>
  </noframes>
</frameset>

</html>
Return current item: X-kernoel-x.NET Chat Engine