<?php if ('remote' == $type):?>
<?php include_once tpl('header');?>
<card title="远程头像上传 - <?php echo setting('webname');?>">
<p align="left">
图片地址:<input type="text" name="url" />
<anchor><go href='<?php echo url('system',array('s'=>'member','a'=>'face','t'=>$type));?>' accept-charset='utf-8' method='post'>
	<postfield name='url' value='$(url)'/>
	<postfield name='do' value='1'/>
</go>提交</anchor>
<br/>
<?php include_once tpl('footer');?>
<?php else:?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>头像上传 - <?php echo setting('webname');?></title>
</head>
<body>
PS:上传的图片文件大小不要超过1M
<br/>
<form action="<?php echo url('system',array('s'=>'member','a'=>'face','t'=>$type));?>" method="post" enctype='multipart/form-data'>
<input type="file" name="file" />
<input type="hidden" name="do" value=1 />
<input type="submit" value="上传" />
</form>
</body>
</html>
<?php endif;?>