<?xml version="1.0"?>
<uploadsetting>
  <item module="uploadphoto" api="nologin" name="无需登录图片上传" btntext="上传图片" btnwidth="120" allowext="jpg|gif|png|bmp" limitsize="2048" showthumb="0" addwatermark="0" createthumbs="0"><![CDATA[
	    KesionJS.AlertByTime('1','恭喜文件上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		try {
			parent.document.getElementById("show{#fieldid}").style.display = '';
			parent.document.getElementById("show{#fieldid}").src = {#return};
		}
		catch (e) {
		}
	]]></item>
  <item module="common" api="admin" name="后台通用图片上传" btntext="上传图片" btnwidth="120" allowext="jpg|gif|png|bmp" limitsize="2048" showthumb="0" addwatermark="0" createthumbs="0" tips="限制：{#size},支持{#ext} 图片,建议大小130*130。"><![CDATA[
	    KesionJS.AlertByTime('1','恭喜文件上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		try {
			parent.document.getElementById("show{#fieldid}").style.display = '';
			parent.document.getElementById("show{#fieldid}").src = {#return};
		}
		catch (e) {
		}
	]]></item>
  <item module="shopspecial" api="admin" name="商城上传规格图片" btntext="上传图片" btnwidth="120" allowext="jpg|gif|png|bmp" limitsize="2048" showthumb="0" addwatermark="0" createthumbs="1" thumbwidth="30" thumbheight="0"><![CDATA[
	    KesionJS.AlertByTime('1','恭喜文件上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		try {
			parent.document.getElementById("show{#fieldid}").style.display = '';
			parent.document.getElementById("show{#fieldid}").src = {#return}.split('@')[0];
		}
		catch (e) {
		}
	]]></item>
  <item module="classpic" api="admin" name="上传栏目图片" btntext="上传图片" btnwidth="120" allowext="jpg|gif|png" limitsize="2048" showthumb="0" addwatermark="0" createthumbs="0"><![CDATA[
	    KesionJS.AlertByTime('1','恭喜文件上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		$("#show{#fieldid}",parent.document).attr("src",{#return}+"?p="+Math.random());
	]]></item>
  <item module="userclasspic" api="user" name="上传栏目图片" btntext="上传图片" btnwidth="120" allowext="jpg|gif|png" limitsize="2048" showthumb="0" addwatermark="0" createthumbs="0"><![CDATA[
	    KesionJS.AlertByTime('1','恭喜文件上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		$("#show{#fieldid}",parent.document).attr("src",{#return}+"?p="+Math.random());
    $("#{#fieldid}",parent.document).click();
	]]></item>
  <item module="userface" api="user" name="上传头像" btntext="上传头像" btnwidth="120" allowext="jpg|gif|png" limitsize="2048" addwatermark="0" showthumb="0" thumbarr="200x200,120x120,60x60,30x30" createthumbs="0" tips="限制：{#size},支持格式：{#ext}。"><![CDATA[
	    KesionJS.AlertByTime('1','恭喜，头像上传成功！',2);
		$("img[userface]",parent.document).each(function(){
		 $(this).attr("src",$(this).attr("oldsrc")+"?p="+Math.random());
		});
		
		parent.document.getElementById('{#fieldid}').value={#return};
	]]></item>
  <item module="adminuserface" api="admin" name="上传头像" btntext="上传头像" btnwidth="100" allowext="jpg|gif|png" limitsize="2048" addwatermark="0" showthumb="0" thumbarr="200x200,120x120,60x60,30x30" createthumbs="0" tips="限制：{#size},支持格式：{#ext}。"><![CDATA[
	    KesionJS.AlertByTime('1','恭喜，头像上传成功！',2);
		$("img[userface]",parent.document).each(function(){
		 $(this).attr("src",$(this).attr("oldsrc")+"?p="+Math.random());
		});
		
		parent.document.getElementById('{#fieldid}').value={#return};
	]]></item>
  <item module="spacelogo" api="user" name="上传空间LOGO" btntext="上传LOGO" btnwidth="120" allowext="jpg|png|gif" limitsize="2048" showthumb="0" addwatermark="0" createthumbs="0" tips="限制：{#size},支持{#ext} 图片,建议大小130*130。"><![CDATA[
	    KesionJS.AlertByTime('1','恭喜，LOGO上传成功！',2);
		$("img[userface]",parent.document).attr("src",{#return}+"?p="+Math.random());
		parent.document.getElementById('{#fieldid}').value={#return};
	]]></item>
  <item module="agentshoplogo" api="user" name="上传店铺LOGO" btntext="上传店铺LOGO" btnwidth="130" allowext="jpg|png|gif" limitsize="2048" showthumb="0" addwatermark="0" createthumbs="0" tips="限制：{#size},支持{#ext} 图片,建议大小130*130。"><![CDATA[
	    KesionJS.AlertByTime('1','恭喜，LOGO上传成功！',2);
		$("img[userface]",parent.document).attr("src",{#return}+"?p="+Math.random());
		parent.document.getElementById('{#fieldid}').value={#return};
	]]></item>
  <item module="courseFile" api="admin" name="上传课程资料" btntext="上传文件" btnwidth="100" allowext="wma|wmv|mp3|mp4|swf|flv|doc|rar|pdf" limitsize="30240" showthumb="0" addwatermark="0" createthumbs="0" tips="限制：{#size},支持{#ext} "><![CDATA[
	    KesionJS.AlertByTime('1','恭喜文件上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		try {
			parent.document.getElementById("show{#fieldid}").style.display = '';
			parent.document.getElementById("show{#fieldid}").src = {#return};
		}
		catch (e) {
		}
	]]></item>
  <item module="coursepptFiles" api="user" name="上传PPT资料" btntext="上传文件" btnwidth="100" allowext="pdf|ppt" limitsize="50240" showthumb="0" addwatermark="0" createthumbs="0" tips="限制：{#size},支持{#ext} "><![CDATA[
	    KesionJS.AlertByTime('1','恭喜文件上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		try {
			parent.document.getElementById("show{#fieldid}").style.display = '';
			parent.document.getElementById("show{#fieldid}").src = {#return};
		}
		catch (e) {
		}
	]]></item>
  <item module="coursepptFile" api="admin" name="上传PPT资料" btntext="上传文件" btnwidth="100" allowext="pdf|ppt" limitsize="50240" showthumb="0" addwatermark="0" createthumbs="0" tips="限制：{#size},支持{#ext} "><![CDATA[
	    KesionJS.AlertByTime('1','恭喜文件上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		try {
			parent.document.getElementById("show{#fieldid}").style.display = '';
			parent.document.getElementById("show{#fieldid}").src = {#return};
		}
		catch (e) {
		}
	]]></item>
  <item module="courseUserFile" api="user" name="上传课程资料" btntext="上传文件" btnwidth="100" allowext="wma|wmv|mp3|mp4|swf|flv|doc|rar|pdf" limitsize="30240" showthumb="0" addwatermark="0" createthumbs="0" tips="限制：{#size},支持{#ext} "><![CDATA[
	    KesionJS.AlertByTime('1','恭喜文件上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		try {
			parent.document.getElementById("show{#fieldid}").style.display = '';
			parent.document.getElementById("show{#fieldid}").src = {#return};
		}
		catch (e) {
		}
	]]></item>
  <item module="courseZLFile" api="user" name="上传课程资料" btntext="上传文件" btnwidth="100" allowext="pdf|ppt" limitsize="30240" showthumb="0" addwatermark="0" createthumbs="0" tips="限制：{#size},支持{#ext} "><![CDATA[
	    KesionJS.AlertByTime('1','恭喜文件上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		try {
			parent.document.getElementById("show{#fieldid}").style.display = '';
			parent.document.getElementById("show{#fieldid}").src = {#return};
		}
		catch (e) {
		}
	]]></item>
  <item module="courseExcel" api="user" name="上传Excel" btntext="上传文件" btnwidth="100" allowext="xls" limitsize="30240" showthumb="0" addwatermark="0" createthumbs="0" tips="限制：{#size},支持{#ext} "><![CDATA[
	    KesionJS.AlertByTime('1','恭喜文件上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		try {
			parent.document.getElementById("show{#fieldid}").style.display = '';
			parent.document.getElementById("show{#fieldid}").src = {#return};
		}
		catch (e) {
		}
	]]></item>
  <item module="coursePic" api="admin" name="上传课程资料" btntext="上传文件" btnwidth="100" allowext="jpg|png|gif" limitsize="2048" showthumb="0" addwatermark="0" createthumbs="0" tips="限制：{#size},支持{#ext} "><![CDATA[
	    KesionJS.AlertByTime('1','恭喜文件上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		try {
			parent.document.getElementById("show{#fieldid}").style.display = '';
			parent.document.getElementById("show{#fieldid}").src = {#return};
		}
		catch (e) {
		}
	]]></item>
  <item module="courseUserPic" api="user" name="上传课程图片" btntext="上传图片" btnwidth="100" allowext="jpg|png|gif" limitsize="3048" showthumb="0" addwatermark="0" createthumbs="0" tips="限制：{#size},支持{#ext} 图片,建议大小130*130。"><![CDATA[
	    KesionJS.AlertByTime('1','恭喜图片上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		try {
			parent.document.getElementById("show{#fieldid}").style.display = '';
			parent.document.getElementById("show{#fieldid}").src = {#return};
		}
		catch (e) {
		}
	]]></item>
  <item module="UserCoursePic" api="user" name="上传图片" btntext="上传图片" btnwidth="100" allowext="jpg|gif|png" limitsize="2048" showthumb="0" addwatermark="0" createthumbs="0" tips="限制：{#size},支持{#ext} 图片,建议大小130*130。"><![CDATA[
	    KesionJS.AlertByTime('1','恭喜图片上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		$("#show{#fieldid}",parent.document).attr("src",{#return}+"?p="+Math.random());
	]]></item>
  <item module="EpAdvertPic" api="user" name="上传图片" btntext="上传图片" btnwidth="100" allowext="jpg|gif|png" limitsize="2048" showthumb="0" addwatermark="0" createthumbs="0" tips="限制：{#size},支持{#ext} 图片,建议大小1920*380。"><![CDATA[
	    KesionJS.AlertByTime('1','恭喜图片上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		$("#show{#fieldid}",parent.document).attr("src",{#return}+"?p="+Math.random());
	]]></item>
  <item module="uploadexcelfile" api="admin" name="上传栏目图片" btntext="上传excel文件" btnwidth="120" allowext="xls|xlsx" limitsize="2048" showthumb="0" addwatermark="0" createthumbs="0"><![CDATA[
	    KesionJS.AlertByTime('1','恭喜文件上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		$("#show{#fieldid}",parent.document).attr("src",{#return}+"?p="+Math.random());
	]]></item>
  <item module="useruploadexcelfile" api="user" name="上传栏目图片" btntext="上传excel文件" btnwidth="120" allowext="xls|xlsx" limitsize="2048" showthumb="0" addwatermark="0" createthumbs="0"><![CDATA[
	    KesionJS.AlertByTime('1','恭喜文件上传成功！',2);
		parent.document.getElementById('{#fieldid}').value={#return};
		$("#show{#fieldid}",parent.document).attr("src",{#return}+"?p="+Math.random());
	]]></item>
</uploadsetting>