FlashChat v{$data.version}
{literal}
td {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
}
.small {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: normal;
}
.title {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
}
input {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
}
select {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
}
A {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #0000FF;
}
A:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #FF0000;
}
.error_border {
border: 1px solid #FF0000;
background-color: #FFFFFF;
font-size: 12px;
font-weight: normal;
}
-->
function formIsValid() {
// check to make sure a valid username has been entered
if ( document.login.username.value == "" ) {
alert('Please fill in username field');
return false;
}
return true;
}
// a small poupup window to show who's in the chat at the current time
function showInfo() {
// the size of the popup window
var width = 400;
var height = 300;
// the x,y position of the popup window
// NOTE: this formula will auto-center the popup on the screen
var y = (screen.height - height) / 2;
var x = (screen.width - width) / 2;
var url = "info.php";
var options = "width=" + width + ",height=" + height + ",top=" + y + ",left=" + x + ",resizable";
// open the info window as a popup, instead of embedded in webpage
window.open( url, "info", options );
}
function basicLogin() {
if (formIsValid()) document.login.submit();
}
function popupLogin() {
// check to make sure a valid username has been entered
if (!formIsValid()) return;
var username = document.login.username.value;
var password = document.login.password.value;
var lang = document.login.lang.value;
// the size of the popup window
var width = 800;
var height = 600;
// the x,y position of the popup window
// NOTE: this formula will auto-center the popup on the screen
var y = (screen.height - height) / 2;
var x = (screen.width - width) / 2;
var url = "flashchat.php?username=" + username + "&password=" + password + "&lang=" + lang;
var options = "width=" + width + ",height=" + height + ",top=" + y + ",left=" + x + ",resizable";
// open the chat window as a popup, instead of embedded in webpage
window.open( url, "chat", options );
}
//-->
{/literal}
Welcome to FlashChat v {$data.version}
Who's in the chat?
{if $data.file_exists}
Security alert!install.php, or the install_files folder, are still present on your server. Please remove these files before continuing.
{/if}
Start FlashChat using built-in login
Start FlashChat using HTML-based login
Username:
{if $data.is_cms}
register
{/if}
Password:
{if $data.is_cms}
new password
current password
{/if}
Language:
{assign var="selected" value="`$data.defaultLanguage`"}
{foreach from=$data.languages key=key item=ordersel}
{$ordersel.name}
{/foreach}
{if $data.is_statelesscms}
To login as a moderator, use {$data.adminPassword} as the password.
To login as a spy, use {$data.spyPassword} as the password. These passwords can be set in the FlashChat configuration file.
-->
To login as a moderator or spy, please use the moderator or spy passwords found in FlashChat's configuration file,
with any username.
{else}
To login as a moderator or spy, you must use a registered login with the moderator
or spy "role" assigned to it. This can be done at registration, or using FlashChat's
admin.php file (to access this you must have a valid moderator login).
{/if}
Start FlashChat using a direct link
Standard
Auto-LoginModerator
Auto-LoginSpy
Auto-LoginAuto-Login to Room #3
ACME Widgets Demo.
This demo shows how you can integrate FlashChat into your website's template. ACME Widgets is a ficticous company.
Purchase
FlashChat for your website for $5!
What you get: All PHP source code, All Flash source code (.FLA file), MySQL
table structures, installation instructions, free technical support at
the TUFaT.com support
forum.
Minimum requirements: PHP 4.1.2, MySQL 3.23, Flash
7. You do NOT need Flash Communication Server or any other server components.
FlashChat is the copyright of Darren Gates and
TUFaT.com. Re-sale of FlashChat is strictly prohibited. The purpose of
FlashChat is to give companies, organizations, and individuals a simple
way to add live chat capabilities to any PHP/MySQL-enabled website. Technical
support is available on the TUFaT.com support forum, and upgrades are
free.