<div id="user-basic-logo" style="width:100px;height:100px;position:relative;overflow:hidden;" οnmοuseοver="jQuery('#user-basic-logo div.logo-mask').show();" οnmοuseοut="jQuery('#user-basic-logo div.logo-mask').hide();">
<input type="hidden" name="urlField" id="urlField" /> <img id="tximg" src="<?php print $GLOBALS['base_url'] ?>/sites/default/files/styles/headpic/<?php print $filepath ?>" alt="更换头像" title="更换头像" width="100px" height='100px' />
<div class="logo-mask" style="display:none;position:absolute;left:0;top:0px;width:100px;height:100px;background:rgba(0,0,0,0.69);">
<div style="color:white;width:70px;margin:0 auto;height:100px;line-height:100px;">
<a href="<?php echo url('imce', array('query' => array('app' => 'myApp|imceload@myOnloadFunc'))) ?>" target="_blank"><span>更改</span></a>
<span>|</span>
<a href="javascript:userpic_logo_delete();"><span>删除</span></a>
</div>
</div>
</div>
jQuery("#user-basic-logo input[name='urlField']").val('');
jQuery("#user-basic-logo img").attr('src', url);