<?php 
@header("Expires: -1");
@header("Cache-Control: no-store, private, post-check=0, pre-check=0, max-age=0", FALSE);
@header("Pragma: no-cache");
@header("Content-type: application/xml; charset=utf-8");
echo '<?xml version="1.0" encoding="UTF-8"?>';
?>
<?php if($xml=='config'): ?>
<parameter>
	<allowsExtend>
		<extend depict="All Image File(*.jpg,*.jpeg,*.gif,*.png)">*.jpg,*.gif,*.png,*.jpeg</extend>
	</allowsExtend>
	<language>
		<create>创建</create>
		<notCreate>取消</notCreate>
		<albumName>相册名</albumName>
		<createTitle>创建新相册</createTitle>
		<okbtn>继续</okbtn>
		<cancelbtn>查看</cancelbtn>
		<fileName>文件名</fileName>
		<depict>描述(单击修改)</depict>
		<size>文件大小</size>
		<stat>上传进度</stat>
		<aimAlbum>上传到:</aimAlbum>
		<browser>浏览</browser>
		<delete>删除</delete>
		<upload>上传</upload>
		<okTitle>上传完成</okTitle>
		<okMsg>所有文件上传完成!</okMsg>
		<uploadTitle>正在上传</uploadTitle>
		<uploadMsg1>总共有</uploadMsg1>
		<uploadMsg2>个文件等待上传,正在上传第</uploadMsg2>
		<uploadMsg3>个文件</uploadMsg3>
		<bigFile>文件过大</bigFile>
		<uploaderror>上传失败</uploaderror>
	</language>
	<config>
		<userid>1</userid>
		<hash></hash>
		<maxupload>1000000</maxupload>
	</config>
	<albums>
		<album id="1">好好学习</album>
		<album id="2">天天向上</album>
	</albums>
</parameter>
<?php elseif($xml=='result'): ?>
<uploadResponse>
	<message> <?php if($status=="success"): ?>完成<?php else: ?>失败<?php endif; ?></message>
	<status><?php echo $status; ?></status>
	<proid><?php echo $proid; ?></proid>
	<albumid><?php echo $albumid; ?></albumid>
	<picid><?php echo $picid; ?></picid>
</uploadResponse>
<?php endif; ?>
