2007-10-10 19:15:47 +04:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* This file is part of Web Instant Messenger project.
|
|
|
|
*
|
2008-05-05 20:57:46 +04:00
|
|
|
* Copyright (c) 2005-2008 Internet Services Ltd.
|
2007-10-10 19:15:47 +04:00
|
|
|
* All rights reserved. This program and the accompanying materials
|
|
|
|
* are made available under the terms of the Eclipse Public License v1.0
|
|
|
|
* which accompanies this distribution, and is available at
|
|
|
|
* http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
*
|
|
|
|
* Contributors:
|
|
|
|
* Evgeny Gryaznov - initial API and implementation
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
2008-05-06 15:08:21 +04:00
|
|
|
<title><?php echo getlocal("chat.window.title.user") ?></title>
|
2007-10-30 15:13:04 +03:00
|
|
|
<link rel="shortcut icon" href="<?php echo $webimroot ?>/images/favicon.ico" type="image/x-icon"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?php echo $webimroot ?>/chat.css" />
|
2007-10-10 19:15:47 +04:00
|
|
|
</head>
|
2007-10-30 15:13:04 +03:00
|
|
|
<body bgcolor="#FFFFFF" background="<?php echo $webimroot ?>/images/bg.gif" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
|
2007-10-10 19:15:47 +04:00
|
|
|
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td valign="top">
|
|
|
|
|
2007-10-30 15:13:04 +03:00
|
|
|
<form name="mailThreadForm" method="post" action="<?php echo $webimroot ?>/mail.php">
|
2007-10-10 19:15:47 +04:00
|
|
|
<input type="hidden" name="thread" value="<?php echo $page['ct.chatThreadId'] ?>"/><input type="hidden" name="token" value="<?php echo $page['ct.token'] ?>"/><input type="hidden" name="level" value="<?php echo $page['level'] ?>"/>
|
|
|
|
|
|
|
|
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td height="75"></td>
|
|
|
|
<td class="window">
|
2008-05-06 15:08:21 +04:00
|
|
|
<h1><?php echo getlocal("mailthread.title") ?></h1>
|
2007-10-10 19:15:47 +04:00
|
|
|
</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
2007-12-03 00:32:47 +03:00
|
|
|
<tr><td></td>
|
|
|
|
<td height="25">
|
|
|
|
<?php if( isset($errors) && count($errors) > 0 ) { ?>
|
|
|
|
<table cellspacing="0" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td valign="top"><img src='<?php echo $webimroot ?>/images/icon_err.gif' width="40" height="40" border="0" alt="" /></td>
|
|
|
|
<td width="10"></td>
|
|
|
|
<td class="text">
|
|
|
|
<?php if( isset($errors) && count($errors) > 0 ) {
|
2008-05-06 15:08:21 +04:00
|
|
|
print getlocal("errors.header");
|
2007-12-03 00:32:47 +03:00
|
|
|
foreach( $errors as $e ) {
|
2008-05-06 15:08:21 +04:00
|
|
|
print getlocal("errors.prefix");
|
2007-12-03 00:32:47 +03:00
|
|
|
print $e;
|
2008-05-06 15:08:21 +04:00
|
|
|
print getlocal("errors.suffix");
|
2007-12-03 00:32:47 +03:00
|
|
|
}
|
2008-05-06 15:08:21 +04:00
|
|
|
print getlocal("errors.footer");
|
2007-12-03 00:32:47 +03:00
|
|
|
} ?>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<?php } ?>
|
|
|
|
</td><td></td>
|
|
|
|
</tr>
|
2007-10-10 19:15:47 +04:00
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td height="60"></td>
|
|
|
|
<td>
|
|
|
|
|
2007-10-30 15:13:04 +03:00
|
|
|
<table cellspacing="0" cellpadding="0" border="0"><tr><td width="15"><img src="<?php echo $webimroot ?>/images/wincrnlt.gif" width="15" height="15" border="0" alt="" /></td><td width="100%" background="<?php echo $webimroot ?>/images/winbg.gif" class="bgcy"><img src="<?php echo $webimroot ?>/images/free.gif" width="1" height="1" border="0" alt="" /></td><td width="15"><img src="<?php echo $webimroot ?>/images/wincrnrt.gif" width="15" height="15" border="0" alt="" /></td></tr><tr><td height="100%" bgcolor="#FED840"><img src="<?php echo $webimroot ?>/images/free.gif" width="1" height="1" border="0" alt="" /></td><td background="<?php echo $webimroot ?>/images/winbg.gif" class="bgcy"><table cellspacing="0" cellpadding="0" border="0">
|
2007-10-10 19:15:47 +04:00
|
|
|
<tr>
|
2008-05-06 15:08:21 +04:00
|
|
|
<td class="text"><?php echo getlocal("mailthread.enter_email") ?></td>
|
2007-10-10 19:15:47 +04:00
|
|
|
<td width="10"></td>
|
|
|
|
<td><input type="text" name="email" size="20" value="<?php echo form_value('email') ?>" class="username"/></td>
|
|
|
|
</tr>
|
2007-10-30 15:13:04 +03:00
|
|
|
</table></td><td bgcolor="#E8A400"><img src="<?php echo $webimroot ?>/images/free.gif" width="1" height="1" border="0" alt="" /></td></tr><tr><td><img src="<?php echo $webimroot ?>/images/wincrnlb.gif" width="15" height="15" border="0" alt="" /></td><td background="<?php echo $webimroot ?>/images/winbg.gif" class="bgcy"><img src="<?php echo $webimroot ?>/images/free.gif" width="1" height="1" border="0" alt="" /></td><td><img src="<?php echo $webimroot ?>/images/wincrnrb.gif" width="15" height="15" border="0" alt=""/></td></tr></table>
|
2007-10-10 19:15:47 +04:00
|
|
|
|
|
|
|
</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td height="70"></td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td width="50%">
|
|
|
|
<table cellspacing="0" cellpadding="0" border="0">
|
|
|
|
<tr>
|
2008-05-06 15:08:21 +04:00
|
|
|
<td><a href="javascript:document.mailThreadForm.submit();" title="<?php echo getlocal("mailthread.perform") ?>"><img src='<?php echo $webimroot ?>/images/submit.gif' width="40" height="35" border="0" alt="" /></a></td>
|
2007-10-30 15:13:04 +03:00
|
|
|
<td background="<?php echo $webimroot ?>/images/submitbg.gif" valign="top" class="submit">
|
|
|
|
<img src='<?php echo $webimroot ?>/images/free.gif' width="1" height="10" border="0" alt="" /><br>
|
2008-05-06 15:08:21 +04:00
|
|
|
<a href="javascript:document.mailThreadForm.submit();" title="<?php echo getlocal("mailthread.perform") ?>"><?php echo getlocal("mailthread.perform") ?></a><br>
|
2007-10-10 19:15:47 +04:00
|
|
|
</td>
|
2008-05-06 15:08:21 +04:00
|
|
|
<td width="10"><a href="javascript:document.mailThreadForm.submit();" title="<?php echo getlocal("mailthread.perform") ?>"><img src='<?php echo $webimroot ?>/images/submitrest.gif' width="10" height="35" border="0" alt="" /></a></td>
|
2007-10-10 19:15:47 +04:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
<td width="50%" align="right">
|
|
|
|
<table cellspacing="0" cellpadding="0" border="0">
|
|
|
|
<tr>
|
2008-05-06 15:08:21 +04:00
|
|
|
<td><a href="javascript:window.close();" title="<?php echo getlocal("mailthread.close") ?>"><img src='<?php echo $webimroot ?>/images/buttons/back.gif' width="25" height="25" border="0" alt="" /></a></td>
|
2007-10-10 19:15:47 +04:00
|
|
|
<td width="5"></td>
|
2008-05-06 15:08:21 +04:00
|
|
|
<td class="button"><a href="javascript:window.close();" title="<?php echo getlocal("mailthread.close") ?>"><?php echo getlocal("mailthread.close") ?></a></td>
|
2007-10-10 19:15:47 +04:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2007-10-30 15:13:04 +03:00
|
|
|
<td width="30"><img src='<?php echo $webimroot ?>/images/free.gif' width="30" height="1" border="0" alt="" /></td>
|
|
|
|
<td width="100%"><img src='<?php echo $webimroot ?>/images/free.gif' width="540" height="1" border="0" alt="" /></td>
|
|
|
|
<td width="30"><img src='<?php echo $webimroot ?>/images/free.gif' width="30" height="1" border="0" alt="" /></td>
|
2007-10-10 19:15:47 +04:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|