
	<!-- js send message-->
	<script>
		$(".form_email").click(function () {
			var email = $(".form_email").html();
			$("#email").val(email);
			console.log(email);
		});
	</script>
	<!-- /.js send message-->

	<!-- Modal -->
	<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="myModalLabel"><?php echo T('Написать сообщение полльзователю'); ?></h4>
				</div>
				<div class="modal-body">
					<form role="form" action="/handlers/adg/users.php" method="POST">
						<?php echo form_init(); ?>
						<div class="form-group">
							<label for="email"><?php echo T('E-mail'); ?></label>
							<input name="email" type="email" class="form-control" id="email" placeholder="<?php echo T('Введите E-mail'); ?>">
						</div>
						<div class="form-group">
							<label for="topic"><?php echo T('Тема'); ?></label>
							<input name="topic" type="text" class="form-control" id="topic" placeholder="<?php echo T('Тема Сообщения'); ?>">
						</div>
						<div class="form-group">
							<label for="message"><?php echo T('Сообщение'); ?></label>
							<textarea name="message" rows="10" class="form-control" id="message" placeholder="<?php echo T('Сообщение'); ?>"></textarea>
						</div>
						<button name="send_message" value="1" type="submit" class="btn btn-default"><?php echo T('Отправить'); ?></button>
					</form>
				</div>
			</div>
		</div>
	</div>
	<!-- /.Modal -->

	<?php if ($tech_chat) { ?>
		<script type="text/javascript">
			var _smartsupp = _smartsupp || {};
			_smartsupp.key = '3dc582c39d324ae89c91198708b698f00594d720';
			window.smartsupp||(function(d) {
				var s,c,o=smartsupp=function(){ o._.push(arguments)};o._=[];
				s=d.getElementsByTagName('script')[0];c=d.createElement('script');
				c.type='text/javascript';c.charset='utf-8';c.async=true;
				c.src='//www.smartsuppchat.com/loader.js?';s.parentNode.insertBefore(c,s);
			})(document);
		</script>
	<?php } ?>

	<!-- footer -->
	</body>
</html>
<!-- end footer -->
