mirror of
https://github.com/Mibew/java.git
synced 2025-01-24 10:30:33 +03:00
e409810a0f
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@442 c66351dc-e62f-0410-b875-e3a5c0b9693f
101 lines
2.4 KiB
PHP
101 lines
2.4 KiB
PHP
<?php
|
|
/*
|
|
* This file is part of Web Instant Messenger project.
|
|
*
|
|
* Copyright (c) 2005-2009 Web Messenger Community
|
|
* 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
|
|
*/
|
|
|
|
$page['title'] = getlocal("thread.chat_log");
|
|
|
|
function tpl_content() { global $page, $webimroot, $errors;
|
|
$chatthread = $page['thread'];
|
|
?>
|
|
|
|
<?php echo getlocal("thread.intro") ?>
|
|
|
|
<br/><br/>
|
|
|
|
<div class="logpane">
|
|
<div class="header">
|
|
|
|
<div class="wlabel">
|
|
<?php echo getlocal("page.analysis.search.head_name") ?>:
|
|
</div>
|
|
<div class="wvalue">
|
|
<?php echo topage(htmlspecialchars($chatthread['userName'])) ?>
|
|
</div>
|
|
<br clear="all"/>
|
|
|
|
<div class="wlabel">
|
|
<?php echo getlocal("page.analysis.search.head_host") ?>:
|
|
</div>
|
|
<div class="wvalue">
|
|
<?php echo get_user_addr(topage($chatthread['remote'])) ?>
|
|
</div>
|
|
<br clear="all"/>
|
|
|
|
<div class="wlabel">
|
|
<?php echo getlocal("page.analysis.search.head_browser") ?>:
|
|
</div>
|
|
<div class="wvalue">
|
|
<?php echo get_useragent_version(topage($chatthread['userAgent'])) ?>
|
|
</div>
|
|
<br clear="all"/>
|
|
|
|
<?php if( $chatthread['groupName'] ) { ?>
|
|
<div class="wlabel">
|
|
<?php echo getlocal("page.analysis.search.head_group") ?>:
|
|
</div>
|
|
<div class="wvalue">
|
|
<?php echo topage(htmlspecialchars($chatthread['groupName'])) ?>
|
|
</div>
|
|
<br clear="all"/>
|
|
<?php } ?>
|
|
|
|
<?php if( $chatthread['agentName'] ) { ?>
|
|
<div class="wlabel">
|
|
<?php echo getlocal("page.analysis.search.head_operator") ?>:
|
|
</div>
|
|
<div class="wvalue">
|
|
<?php echo topage(htmlspecialchars($chatthread['agentName'])) ?>
|
|
</div>
|
|
<br clear="all"/>
|
|
<?php } ?>
|
|
|
|
<div class="wlabel">
|
|
<?php echo getlocal("page.analysis.search.head_time") ?>:
|
|
</div>
|
|
<div class="wvalue">
|
|
<?php echo date_diff($chatthread['modified']-$chatthread['created']) ?>
|
|
(<?php echo strftime("%B, %d %Y %H:%M:%S", $chatthread['created']) ?>)
|
|
</div>
|
|
<br clear="all"/>
|
|
</div>
|
|
|
|
<div class="message">
|
|
<?php
|
|
foreach( $page['threadMessages'] as $message ) {
|
|
echo $message;
|
|
}
|
|
?>
|
|
</div>
|
|
</div>
|
|
|
|
<br />
|
|
<a href="<?php echo $webimroot ?>/operator/history.php">
|
|
<?php echo getlocal("thread.back_to_search") ?></a>
|
|
<br />
|
|
|
|
|
|
<?php
|
|
} /* content */
|
|
|
|
require_once('inc_main.php');
|
|
?>
|