File: index.php

Recommend this page to a friend!
  Classes of Martin Latter  >  JavaScript Cryptographic Chat  >  index.php  >  Download  
File: index.php
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: JavaScript Cryptographic Chat
Chat system that exchanges encrypted messages
Author: By
Last change: revise install.php comments
fix typos in index.php
Date: 3 months ago
Size: 1,535 bytes


Class file image Download



?><!DOCTYPE html>

<html lang="en">

		<meta charset="iso-8859-1">
		<meta name="description" content="CChat ~ Cryptochat">
		<meta name="author" content="Martin Latter">
		<meta name="copyright" content="&copy; 2010-<?php echo date('Y'); ?> Martin Latter">

		<link type="text/css" href="css/cchat.css" rel="stylesheet" media="all">

		<script type="text/javascript" src="js/cchat.js"></script>
		<script type="text/javascript" src="js/bf.js"></script>


		<div id="chatboxcontainer">

				<p>Browser JavaScript must be enabled for CChat to operate.</p>

			<div id="title">CryptoChat</div>
			<div id="chatbox" class="curved">

				echo Chatbox::outputMessages();


			<div id="chatboxinput">
				<input type="text" id="name" name="name" maxlength="15" placeholder="name" class="curved">
				<input type="password" id="pw" maxlength="30" placeholder="password" class="curved">
				<textarea id="message" name="message" maxlength="255" cols="26" rows="7" placeholder="message" class="curved"></textarea>
				<div id="remcharcontainer"><span id="remchar">255</span> chars remaining</div>
					<input type="button" id="chatsubmit" value="chat" class="curved">
					<input type="button" id="decrypt" value="decrypt" class="curved">
				<div id="error"></div>

			<div id="debug"></div>