<?php if ('remote' == $type):?>
<?php $title = '远程头像上传 - ' . setting('webname');?>
<?php include_once tpl('globalHeader');?>
<form action="<?php echo url('system',array('s'=>'member','a'=>'face','t'=>$type));?>" method="post">
图片地址:<input type="text" name="url" />
<input type="hidden" name="do" value="1" />
<input type="submit" value="提交" />
</form>
<?php include_once tpl('globalFooter');?>
<?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;?>