<{include file="db:user_header.html"}>
<script type="text/javascript" charset="utf-8">
jQuery.noConflict();
jQuery(function(){
	jQuery(':button[rel^="prettyPopin"]').prettyPopin({
		width : 400, /* false/integer */
		height: 400, /* false/integer */
		opacity: 0.5, /* value from 0 to 1 */
		animationSpeed: '0', /*
		slow/medium/fast/integer */
		close : false, /* true/false */
		followScroll: false, /* true/false */
		dirname : '<{$dirname}>',
		loader_path: './images/loader.gif', /* path to your loading image */
		callback: function(id,value){
			var form=jQuery('#<{$dirname}>_su_form');
			form.attr('action','index.php?action=userSu&uid=' + value);
			form.submit();
			return false;
		} /* callback called when closing the popin */
	});
});
</script>
<h3><{$smarty.const._MD_USER_LANG_SU}></h3>
<{$smarty.const._MD_USER_MESSAGE_SU_EXPLAIN}>
<form id="<{$dirname}>_su_form" action="index.php?action=userSu&op=su" method="post">
<input type="hidden" name="su_uid" value='<{$su_uid}>' />
 <table class="outer">
  <tr>
   <td class="head" width="48%"><{$smarty.const._MD_USER_LANG_SU_TARGET_USER}></td>
   <td class="even" width="52%"><{if $name !=''}><{$name|xoops_escape}>(<{$uname|xoops_escape}>)<{else}><{$uname|xoops_escape}><{/if}>
   <input type="button" href="<{$smarty.const.XOOPS_URL}>/modules/<{$dirname}>/userselectsub.php?mode=single&callbackid=1;1;1" rel="prettyPopin" value='<{$smarty.const._MD_USER_LANG_SEARCH}>' />
   </td>
  </tr>
  <tr>
   <td class="head"><{$smarty.const._MD_USER_LANG_SU_PASSWORD}></td>
   <td class="odd">
    <input type="password" name="password" />
   </td>
  </tr>
 </table>
 <div style="text-align:center;">
  <input class="formButton" type="submit" value="<{$smarty.const._MD_USER_LANG_OK}>" />
 </div>
</form>
<{include file="db:user_footer.html"}>
