mirror of
https://github.com/Mibew/java.git
synced 2025-01-24 18:40:34 +03:00
32 lines
908 B
PHP
32 lines
908 B
PHP
|
<?php
|
||
|
/*
|
||
|
* This file is part of Web Instant Messenger project.
|
||
|
*
|
||
|
* Copyright (c) 2005-2007 Internet Services Ltd.
|
||
|
* 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
|
||
|
*/
|
||
|
|
||
|
require('../libs/common.php');
|
||
|
require('../libs/operator.php');
|
||
|
require('../libs/chat.php');
|
||
|
|
||
|
$operator = check_login();
|
||
|
|
||
|
$page = array( 'operator' => get_operator_name($operator) );
|
||
|
|
||
|
|
||
|
if( isset($_GET['threadid'])) {
|
||
|
$threadid = verifyparam( "threadid", "/^(\d{1,9})?$/", "");
|
||
|
$lastid = -1;
|
||
|
$page['threadMessages'] = get_messages($threadid,"html",false,$lastid);
|
||
|
}
|
||
|
|
||
|
start_html_output();
|
||
|
require('../view/thread_log.php');
|
||
|
?>
|