{include file="$admingentemplates/admin_top.tpl"}
<div class="back">
    <a href="{$site_url}{$site_root}/admin/admin_modules.php">{$lang.button.back}</a>
</div>
<div class="cr"></div>
<div class="show_help" style="display: none;">&nbsp;</div>

<font style="display:table;" class=red_header>{$lang.settings.flashcoms}</font>
<div class="cr">&nbsp;</div>
<div class="cr">&nbsp;</div>
<div style="display:block;" class="help_text">
	<div class="close_help">
		<img src="{$site_root}{$template_root}/images/close_help.png" alt="">
	</div>
	<div class="help_body">
		<span class="help_title">{$lang.help}:</span>{$lang.admin_help.chat}
	</div>
</div>
<div class="cr">&nbsp;</div>
	<ul class="tabs">
		<li>
			<a {if $par eq '0'}class="current"{else}href="{$site_url}{$site_root}/admin/{$file_name_root}"{/if}>{$lang.admin_menu.settings}</a>
		</li>
		<li>
			<a {if $par eq 1}class="current"{else}href="{$site_url}{$site_root}/topcmm_123flashchat/admin/basicsetting.php"{/if}>{$lang.settings.123flashchat}</a>
		</li>
		<li>
			<a {if $par eq 2}class="current"{else}href="{$site_url}{$site_root}/admin/admin_chat7.php"{/if}>{$lang.settings.flashcoms}</a>
		</li>
		<li>
			<a {if $par eq 4}class="current"{else}href="{$site_url}{$site_root}/admin/webmessenger/connlist.php"{/if}>{$lang.settings.userplane}</a>
		</li>
		<li>
            <a {if $par eq 5}class="current"{else}href="{$site_url}{$site_root}/admin/admin_av_module.php?sel=cometchat"{/if}>Cometchat</a>
         </li>
		<!--{$site_url}{$site_root}/admin/{$file_name}?par=4-->
	</ul>
	<div class="user_operation_line" style="height:4px;font-size:0px;">&nbsp;</div>
</div>

<div class="cr">&nbsp;</div>
<div id="ajax_load">

<div id="user_status_line" class="user_status_line" style="margin-bottom:-2px;float:none;overflow:hidden;">
	<div id="tab_chat" class="user_status_elem{if $subtabs eq 'chat'}_active{/if}" width="80px" onclick="location.href='{$site_url}{$site_root}/admin/admin_chat7.php'">{$lang.av_module.chat}</div>	
	<div id="tab_" class="user_status_elem{if $subtabs eq 'mess'}_active{/if}" width="80px" onclick="location.href='{$site_url}{$site_root}/admin/admin_messenger7.php'"><a>{$lang.av_module.messenger}</a></div>
	<!-- onclick="List('chat')"  onclick="List('')"-->
</div>

<script type="text/javascript" src="{$server}{$template_root}/chat7/swfobject.js"></script>
<script type="text/javascript">
{literal}
	var flashvars = {};
	var params = {};
	var attributes = {};
	swfobject.embedSWF("{/literal}{$server}{$template_root}{literal}/chat7/admintool.swf?build=8917",
		"main_swf", "100%", "600px", "9.0.124", null,
		flashvars, params, attributes);
		
	
	$('#user_types_match').find('input').bind('change', function(){
		var id_type = $(this).attr('id_type');
		var id_fc_type = $(this).val();
		var param = 'user_type['+id_type+']='+id_fc_type;
		$.post(
			'{/literal}{$site_url}{$site_root}{literal}/admin/admin_chat7.php',
			{
				sel: 'save_types',
				id_type: id_type,
				id_fc_type: id_fc_type
			},
			function(data){
				ShowAjaxError(data.msg, '', data.status);
			},
			'json'
		);
	});
{/literal}
</script>
<table width="100%" cellpadding="0" cellspacing="0">
	<tr class="table_header">
		<td></td>
	</tr>
	<tr>
		<td>
			<div id="main_swf" style="width:100%; height:100%;">
				<p><strong>Flashcoms Videochat 7</strong></p>
				<p>You need to install or upgrade Adobe Flash Player.</p>
				<p>Version 9.0.124 or higher is required.</p>
				<p><a href="http://get.adobe.com/flashplayer/">Get Adobe Flash player</a></p>
			</div>
		</td>
	</tr>
	<tr class="table_header">
		<td></td>
	</tr>
</table>	
</div>
{include file="$admingentemplates/admin_bottom.tpl"}