<div class="ChatPanel" id="[{$id}]">
	<div class="chatleft">
		<div class="rooms">
			<ul class="rooms">
[{foreach from=$datas.chatrooms item=chatroom}]
				<li><a href="#chat_[{$chatroom.chatroom_name}]">[{$chatroom.chatroom_title}]</a></li>
[{/foreach}]
			</ul>
		</div>
[{foreach from=$datas.chatrooms item=chatroom}]
		<div class="messages" id="chat_[{$chatroom.chatroom_name}]">
		</div>
[{/foreach}]
	</div>
	<div class="chatright">
		<div class="members ui-widget ui-widget-content ui-corner-all ui-tabs">
			<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
				<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a>[{t}]chatroom_Users[{/t}]</a></li>
			</ul>
			<div id="memberlist" class="ui-tabs-panel ui-widget-content ui-corner-bottom" style="padding-left: 2px; padding-right: 2px;">
				[{t}]Loading[{/t}]
			</div>
		</div>
	</div>
	<div class="clr"></div>
	<hr/>
	<div class="inp">
		<input class="inp" type="text" name="[{$id}]_msg" id="[{$id}]_msg" />
		<input class="minismb" type="button" name="[{$id}]_btn" value="[{t escape=attr}]chatpage_Send[{/t}]" onclick="ChatSendMessage('content_widget');" />
	</div>
</div>
