2007-10-10 19:15:47 +04:00
|
|
|
<?php
|
|
|
|
/*
|
2009-06-04 02:44:32 +04:00
|
|
|
* This file is part of Mibew Messenger project.
|
2007-10-10 19:15:47 +04:00
|
|
|
*
|
2009-06-04 02:44:32 +04:00
|
|
|
* Copyright (c) 2005-2009 Mibew Messenger Community
|
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
|
|
|
|
*/
|
|
|
|
|
2008-06-05 01:36:54 +04:00
|
|
|
require_once('../libs/common.php');
|
|
|
|
require_once('../libs/operator.php');
|
2007-10-10 19:15:47 +04:00
|
|
|
|
|
|
|
$operator = check_login();
|
2008-10-04 03:35:17 +04:00
|
|
|
loadsettings();
|
2007-10-10 19:15:47 +04:00
|
|
|
|
2008-09-30 02:46:27 +04:00
|
|
|
$page = array(
|
2007-10-17 14:43:34 +04:00
|
|
|
'version' => $version,
|
2008-10-04 03:35:17 +04:00
|
|
|
'localeLinks' => get_locale_links("$webimroot/operator/index.php"),
|
2009-02-04 03:31:26 +03:00
|
|
|
'needUpdate' => $settings['dbversion'] != $dbversion,
|
|
|
|
'updateWizard' => "$webimroot/install/",
|
2007-10-10 19:15:47 +04:00
|
|
|
);
|
|
|
|
|
2009-03-16 04:20:04 +03:00
|
|
|
prepare_menu($operator);
|
2007-10-10 19:15:47 +04:00
|
|
|
start_html_output();
|
|
|
|
require('../view/menu.php');
|
2007-05-10 21:31:10 +04:00
|
|
|
?>
|