mirror of
				https://github.com/Mibew/java.git
				synced 2025-10-31 18:41:09 +03:00 
			
		
		
		
	git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@618 c66351dc-e62f-0410-b875-e3a5c0b9693f
		
			
				
	
	
		
			103 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			103 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /*
 | |
|  * This file is part of Mibew Messenger project.
 | |
|  * 
 | |
|  * Copyright (c) 2005-2009 Mibew Messenger Community
 | |
|  * All rights reserved. The contents of this file are subject to 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
 | |
|  * 
 | |
|  * Alternatively, the contents of this file may be used under the terms of
 | |
|  * the GNU General Public License Version 2 or later (the "GPL"), in which case
 | |
|  * the provisions of the GPL are applicable instead of those above. If you wish
 | |
|  * to allow use of your version of this file only under the terms of the GPL, and
 | |
|  * not to allow others to use your version of this file under the terms of the
 | |
|  * EPL, indicate your decision by deleting the provisions above and replace them
 | |
|  * with the notice and other provisions required by the GPL.
 | |
|  * 
 | |
|  * Contributors:
 | |
|  *    Evgeny Gryaznov - initial API and implementation
 | |
|  */
 | |
| 
 | |
| require_once("inc_menu.php");
 | |
| $page['title'] = getlocal("clients.title");
 | |
| $page['menuid'] = "users";
 | |
| 
 | |
| 
 | |
| function tpl_header() { global $page, $webimroot, $jsver;
 | |
| ?>	
 | |
| <script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/<?php echo $jsver ?>/common.js"></script>
 | |
| <script type="text/javascript" language="javascript"><!--
 | |
| var localized = new Array(
 | |
|     "<?php echo getlocal("pending.table.speak") ?>",
 | |
|     "<?php echo getlocal("pending.table.view") ?>",
 | |
|     "<?php echo getlocal("pending.table.ban") ?>",
 | |
|     "<?php echo htmlspecialchars(getlocal("pending.menu.show")) ?>",
 | |
|     "<?php echo htmlspecialchars(getlocal("pending.menu.hide")) ?>",
 | |
|     "<?php echo htmlspecialchars(getlocal("pending.popup_notification")) ?>"
 | |
| );
 | |
| var updaterOptions = {
 | |
| 	url:"<?php echo $webimroot ?>/operator/update.php",wroot:"<?php echo $webimroot ?>",
 | |
| 	agentservl:"<?php echo $webimroot ?>/operator/agent.php", frequency:<?php echo $page['frequency'] ?>, istatus:<?php echo $page['istatus'] ?>,  
 | |
| 	noclients:"<?php echo getlocal("clients.no_clients") ?>", havemenu: <?php echo $page['havemenu'] ?>, showpopup: <?php echo $page['showpopup'] ?> };
 | |
| //--></script>
 | |
| <script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/<?php echo $jsver ?>/users.js"></script>
 | |
| <?php
 | |
| }
 | |
| 
 | |
| function tpl_content() { global $page, $webimroot;
 | |
| ?>
 | |
| 
 | |
| <div>
 | |
| <div id="togglediv">
 | |
| <a href="#" id="togglemenu"></a>
 | |
| </div>
 | |
| <?php echo getlocal("clients.intro") ?>
 | |
| <br/>
 | |
| <?php echo getlocal("clients.how_to") ?>
 | |
| </div>
 | |
| <br/>
 | |
| 
 | |
| <table id="threadlist" class="awaiting" border="0">
 | |
| <thead>
 | |
| <tr>
 | |
| 	<th class="first"><?php echo getlocal("pending.table.head.name") ?></th>
 | |
| 	<th><?php echo getlocal("pending.table.head.contactid") ?></th>
 | |
|     <th><?php echo getlocal("pending.table.head.state") ?></th>
 | |
|     <th><?php echo getlocal("pending.table.head.operator") ?></th>
 | |
|     <th><?php echo getlocal("pending.table.head.total") ?></th>
 | |
|     <th><?php echo getlocal("pending.table.head.waittime") ?></th>
 | |
|     <th><?php echo getlocal("pending.table.head.etc") ?></th>
 | |
| </tr>
 | |
| </thead>
 | |
| <tbody>
 | |
| <tr id="tprio"><td colspan="7"></td></tr>
 | |
| <tr id="tprioend"><td colspan="7"></td></tr>
 | |
| 
 | |
| <tr id="twait"><td colspan="7"></td></tr>
 | |
| <tr id="twaitend"><td colspan="7"></td></tr>
 | |
| 
 | |
| <tr id="tchat"><td colspan="7"></td></tr>
 | |
| <tr id="tchatend"><td colspan="7"></td></tr>
 | |
| 
 | |
| <tr><td id="statustd" colspan="7" height="30">Loading....</td></tr>
 | |
| </tbody>
 | |
| </table>
 | |
| 
 | |
| 
 | |
| <div id="connstatus">
 | |
| </div>
 | |
| 
 | |
| <div id="connlinks">
 | |
| <?php if($page['istatus']) { ?>
 | |
| <a href="users.php<?php echo $page['havemenu'] ? "" : "?nomenu" ?>"><?php echo getlocal("pending.status.setonline") ?></a>
 | |
| <?php } else { ?>
 | |
| <a href="users.php?away<?php echo $page['havemenu'] ? "" : "&nomenu" ?>"><?php echo getlocal("pending.status.setaway") ?></a>
 | |
| <?php } ?>
 | |
| </div>
 | |
| 
 | |
| <?php 
 | |
| } /* content */
 | |
| 
 | |
| require_once('inc_main.php');
 | |
| ?>
 |