<?php $tmpDefault->checkUser('1,2,3,4,'); ?>
<!-- ------ #Body ------ -->
<div class="OutFrame1">
<!-- ------ #Search ------ -->
<div class="Search">
<div class="SeBox0">Nets.File</div>
<ul class="SeBox1">
<li class="SeBox1_2">文件名:</li>
<li class="SeBox1_0"><input id="FFilenameTxt" name="FFilenameTxt" value="<?php echo ($tmpDefault->sFFilename); ?>" type="text" class="Control0 SeBox1_0_C0" /></li>
<li class="SeBox1_0"><select id="FFiletypeTxt" name="FFiletypeTxt">
<option value="" class="SeBox1_0_C2">[所有类型]</option>
<?php $Coun0=0;
$tmpAR0=explode($tmpDefault->sysSPLIT1,$tmpDefault->sysFileConfig['UploadFileType']);
foreach($tmpAR0 as $Cell){ ?>
<option value="<?php echo($Cell); ?>" <?php if($tmpDefault->sFFiletype==$Cell){ echo ('selected'); } ?> ><?php echo($Cell); ?></option>
<?php $Coun0++; } ?>
</select></li>

<li class="SeBox1_2">文件大小:</li>
<li class="SeBox1_0"><input id="FFilemaxsizeTxt" name="FFilemaxsizeTxt" value="<?php echo ($tmpDefault->sFFilemaxsize); ?>" type="text" class="Control0 SeBox1_0_C1" /></li>
<li class="SeBox1_1">Kb ></li>
<li class="SeBox1_0"><input id="FFilemixsizeTxt" name="FFilemixsizeTxt" value="<?php echo ($tmpDefault->sFFilemixsize); ?>" type="text" class="Control0 SeBox1_0_C1" /></li>
<li class="SeBox1_1">Kb</li>

<li class="SeBox1_2">文件类型:</li>
<li class="SeBox1_0"><input id="FFilestartdateTxt" name="FFilestartdateTxt" value="<?php echo ($tmpDefault->sFFilestartdate); ?>" type="text" class="Control0 SeBox1_0_C1" /></li>
<li class="SeBox1_1">></li>
<li class="SeBox1_0"><input id="FFileenddateTxt" name="FFileenddateTxt" value="<?php echo ($tmpDefault->sFFileenddate); ?>" type="text" class="Control0 SeBox1_0_C1" /></li>

<li class="SeBox1_3"><input value="过滤" type="button" class="Button0" onclick="OnFilter('<?php echo($tmpDefault->sysPage); ?>');" /></li>

<li class="DClear"></li></ul>
<div class="DClear"></div></div>
<!-- ------ #Navigation ------ -->
<div class="Navigation">
<ul class="Nav_0">

<li class="Nav_3">排序方式:</li>
<li class="Nav_1">
<a href="<?php echo ($tmpDefault->sysPage); ?>?TOrder=0" class="Link2 FWhite1 <?php if($tmpDefault->sTOrder==0){ echo('FStrong'); } ?>">文件名</a>
<a href="<?php echo ($tmpDefault->sysPage); ?>?TOrder=1" class="Link2 FWhite1 <?php if($tmpDefault->sTOrder==1){ echo('FStrong'); } ?>">文件类型</a>
<a href="<?php echo ($tmpDefault->sysPage); ?>?TOrder=2" class="Link2 FWhite1 <?php if($tmpDefault->sTOrder==2){ echo('FStrong'); } ?>">文件大小</a>
<a href="<?php echo ($tmpDefault->sysPage); ?>?TOrder=3" class="Link2 FWhite1 <?php if($tmpDefault->sTOrder==3){ echo('FStrong'); } ?>">上传时间</a>
</li>
<li class="Nav_3">显示方式:</li>
<li class="<?php if($tmpDefault->sTListtype==0){ echo('Nav_2'); }else{ echo('Nav_1'); } ?>"><a href="<?php echo ($tmpDefault->sysPage); ?>?TListtype=0" class="Link2">文件列表</a></li>
<li class="<?php if($tmpDefault->sTListtype==1){ echo('Nav_2'); }else{ echo('Nav_1'); } ?>"><a href="<?php echo ($tmpDefault->sysPage); ?>?TListtype=1" class="Link2">缩略图</a></li>
<li class="Nav_3">
<a href="#" class="Link2 FWhite1" onclick="FSelectAll();">全选</a>
/
<a href="#" class="Link2 FWhite1" onclick="FUSelectAll();">反选</a>
<a href="#" class="Link2 FWhite1" onclick="UDelete('<?php echo($tmpDefault->sysPage); ?>','');">删除所选</a>
<a href="#" class="Link2 FWhite1" onclick="UDeleteDir('<?php echo($tmpDefault->sysPage); ?>');">删除所在目录</a>
</li>

<li class="DClear"></li></ul>
</div>
<!-- ------ #Main ------ -->
<table class="Main" cellpadding="0" cellspacing="0"><tr>
<!-- ------ #Tree ------ -->
<td class="Tree">
<!-- #Root -->
<ul class="Tree0">
<li class="Tree1"><img alt="" src="Img/a1a.jpg" class="Hand1" /></li>
<li class="Tree2"><a href="<?php echo($tmpDefault->sysPage); ?>?ActionType=UChangeDir&UChangeDir=<?php echo($tmpDefault->sURoot); ?>" class="Link1 FBlue2">管理根目录</a></li>
<li class="DClear"></li></ul>
<div class="CeLeft5">
<!-- ------ UAjaxDirectory ------ -->
<!--S.UAjaxDirectory-->
<?php
$Coun0=0;
foreach ($tmpDefault->sDataDirectory as $Row){
	$tmpImg='Img/a2.jpg';
	if(count($tmpDefault->sDataDirectory)-1==$Coun0){
		$tmpImg='Img/a2a.jpg';
	}
	$tmpStyle='CeLeft5';
	if(count($tmpDefault->sDataDirectory)-1==$Coun0){
		$tmpStyle='CeLeft5a';
	}
?><!-- #0 -->
<div><ul class="CeLeft2">
<li class="CeLeft3"><img src="<?php echo ($tmpImg); ?>" class="Hand1" onclick="UOpenDir('<?php echo ($tmpDefault->sysPage); ?>','<?php echo ($Row['Img']); ?>',this.parentNode.parentNode.parentNode);" /></li>
<li class="CeLeft4"><a href="<?php echo ($tmpDefault->sysPage); ?>?ActionType=UChangeDir&UChangeDir=<?php echo ($Row['Img']); ?>/" class="Link1 FBlue2"><?php echo ($Row['Name']); ?></a></li>
<li class="CClear"></li></ul>
<div class="<?php echo ($tmpStyle); ?>"></div></div>
<?php $Coun0++; } ?><!--sendRequestBase--><!--E.UAjaxDirectory-->
</div>

</td>
<!-- ------ #List ------ -->
<td class="List">
<div class="List0"><span class="FBlack4 FStrong">当前目录:</span> <?php echo ($tmpDefault->sUNowDirectory); ?></div>
<div class="LContentBox"><div class="LContent"><ul>
<?php if($tmpDefault->sTListtype==1){
$Coun0=0;
foreach ($tmpDefault->sDataFilelist as $Row){ ?>
<!-- #Img_ -->
<li class="LCont0"><div class="LCont0_0"><a href="#" onclick="copyClip('<?php echo ($tmpDefault->sUNowDirectory.$Row['Name']); ?>');"><img src="<?php echo ($Row['Img']); ?>" title="文件类型:<?php echo ($Row['Type']); ?>&#13;上传时间:<?php echo ($Row['Time']); ?>" /></a></div>
	<div class="LCont0_1"><input id="FileCheckbox_<?php echo($Coun0); ?>" name="FileCheckbox" type="checkbox" value="<?php echo ($tmpDefault->sUNowDirectory.$Row['Name']); ?>" /></div>
	<div class="LCont0_2"><a href="#" class="FBlue1 Link1" onclick="copyClip('<?php echo ($tmpDefault->sUNowDirectory.$Row['Name']); ?>');">选择</a>
		<a href="<?php echo ($tmpDefault->sUNowDirectory.$Row['Name']); ?>" class="FBlue1 Link1" target="_blank">查看</a>
		<a href="#" class="FBlue1 Link1" onclick="UDelete('<?php echo($tmpDefault->sysPage); ?>','<?php echo ($tmpDefault->sUNowDirectory.$Row['Name']); ?>');">删除</a></div>
	<div class="DClear"></div></li>
<?php $Coun0++; }}else{
$Coun0=0;
foreach ($tmpDefault->sDataFilelist as $Row){ ?>
<!-- #Text_ -->
<li class="LCont1"><div class="LCont1_0"><a href="#" class="Link1" onclick="copyClip('<?php echo ($tmpDefault->sUNowDirectory.$Row['Name']); ?>');" title="文件类型:<?php echo ($Row['Type']); ?>&#13;上传时间:<?php echo ($Row['Time']); ?>"><?php echo ($Row['Name']); ?></a>
		<span class="FBlack6 FSize4"><?php echo ($Row['Size']); ?>KB</span></div>
	<div class="LCont1_1"><input id="FileCheckbox_<?php echo($Coun0); ?>" name="FileCheckbox" type="checkbox" value="<?php echo ($tmpDefault->sUNowDirectory.$Row['Name']); ?>" /></div>
	<div class="LCont1_2"><a href="#" class="FBlue1 Link1" onclick="copyClip('<?php echo ($tmpDefault->sUNowDirectory.$Row['Name']); ?>');">选择</a>
		<a href="<?php echo ($tmpDefault->sUNowDirectory.$Row['Name']); ?>" class="FBlue1 Link1" target="_blank">查看</a>
		<a href="#" class="FBlue1 Link1" onclick="UDelete('<?php echo($tmpDefault->sysPage); ?>','<?php echo ($tmpDefault->sUNowDirectory.$Row['Name']); ?>');">删除</a></div></li>
<?php $Coun0++; }} ?>
</ul></div></div>
</td>
</tr></table>
<!-- ------ #Upload ------ -->
<!-- ------ #Tab ------ -->
<ul class="Tab">
<li id="Tab0" class="Tab1" onclick="onTab(0);"><a href="#UploadfileFlag" class="Link1">上传文件</a></li>
<li id="Tab1" class="Tab0" onclick="onTab(1);"><a href="#UploadfileFlag" class="Link1">添加文件夹</a></li>
<li class="DClear"></li></ul><div class="Tab2"><a name="#UploadfileFlag">&nbsp;</a></div>
<!-- ------ #File ------ -->
<table id="Panel0" class="File" cellpadding="4" cellspacing="2">
<!-- #Upload,选择您要上传的文件 -->
<tr><td class="File_0">选择您要上传的文件</td><td>
<table id="upBoxTab" cellpadding="0" cellspacing="0">
<tr><td><input id="FileTxt" name="FileTxt[]" type="file" class="Upload0" /></td>
<td><a href="#UploadfileFlag" class="FBlue1 Link1" onclick="addUpBox();"><span class="FStrong">+</span> 添加输入框</a></td></tr>
</table>
<div class="DHidden"><input id="FileTxtCount" name="FileTxtCount" type="hidden" value="1" /><input id="FileTxtX" name="FileTxt[]" type="file" /></div>
</td></tr>
<tr><td class="File_0">&nbsp;</td><td><a href="#UploadfileFlag" class="Link1 FBlue1" onclick="showDetail(this);">设置上传图片属性 >></a></td></tr>

<!-- #Rename,是否自动改名 -->
<tr id="PanelRow0" class="DHidden"><td class="File_0">是否自动改名</td>
<td><table class="UpBox0c">
<tr>
<td><input id="URenameTxt0" name="URenameTxt" type="radio" value="0" <?php if($tmpDefault->sysFileConfig['UploadFileRename']=='0'){echo ('checked="checked"');}?> /></td><td><label for="URenameTxt0">不自动改名</label></td>
<td><input id="URenameTxt1" name="URenameTxt" type="radio" value="1" <?php if($tmpDefault->sysFileConfig['UploadFileRename']=='1'){echo ('checked="checked"');}?> /></td><td><label for="URenameTxt1">自动改名</label></td>
</tr>
</table></td></tr>
<!-- #Thumb,是否生成缩略图 -->
<tr id="PanelRow1" class="DHidden"><td class="File_0">是否生成缩略图</td>
<td><table class="UpBox0c">
<tr>
<td><input id="UThumbTxt0" name="UThumbTxt" type="radio" value="0" <?php if($tmpDefault->sysFileConfig['ThumbEnable']=='0'){echo ('checked="checked"');}?> /></td><td><label for="UThumbTxt0">不生成缩略图</label></td>
<td><input id="UThumbTxt1" name="UThumbTxt" type="radio" value="1" <?php if($tmpDefault->sysFileConfig['ThumbEnable']=='1'){echo ('checked="checked"');}?> /></td><td><label for="UThumbTxt1">生成缩略图</label></td>
</tr>
</table></td></tr>
<!-- #ThumbPath,缩略图保存路径 -->
<tr id="PanelRow2" class="DHidden">
<td class="File_0">缩略图保存路径</td><td><input id="UThumbPathTxt" name="UThumbPathTxt" type="text" class="Control0" value="<?php echo($tmpDefault->sysFileConfig['ThumbPath']);?>" /></td>
</tr>
<!-- #Water,是否加水引 -->
<tr id="PanelRow3" class="DHidden"><td class="File_0">是否加水印</td>
<td><table class="UpBox0c">
<tr>
<td><input id="UWaterTxt0" name="UWaterTxt" type="radio" value="0" <?php if($tmpDefault->sysFileConfig['ThumbWater']=='0'){echo ('checked="checked"');}?> /></td><td><label for="UWaterTxt0">不加水印</label></td>
<td><input id="UWaterTxt1" name="UWaterTxt" type="radio" value="1" <?php if($tmpDefault->sysFileConfig['ThumbWater']=='1'){echo ('checked="checked"');}?> /></td><td><label for="UWaterTxt1">加水印</label></td>
</tr>
</table></td></tr>
<!-- #WaterPath,水引图片路径 -->
<tr id="PanelRow4" class="DHidden">
<td class="File_0">水引图片路径</td><td><input id="UWaterPathTxt" name="UWaterPathTxt" type="text" class="Control0" value="<?php echo($tmpDefault->sysFileConfig['ThumbWaterPath']);?>" /></td>
</tr>
<!-- #WaterPath,水引位置 -->
<tr id="PanelRow5" class="DHidden"><td class="File_0">水印位置</td>
<td><table class="UpBox0c">
<tr>
<td><input id="UWaterPositionTxt0" name="UWaterPositionTxt" type="radio" value="0" <?php if($tmpDefault->sysFileConfig['ThumbWaterPosition']=='0'){echo ('checked="checked"');}?> /></td><td><label for="UWaterPositionTxt0">上左</label></td>
<td><input id="UWaterPositionTxt1" name="UWaterPositionTxt" type="radio" value="1" <?php if($tmpDefault->sysFileConfig['ThumbWaterPosition']=='1'){echo ('checked="checked"');}?> /></td><td><label for="UWaterPositionTxt1">上中</label></td>
<td><input id="UWaterPositionTxt2" name="UWaterPositionTxt" type="radio" value="2" <?php if($tmpDefault->sysFileConfig['ThumbWaterPosition']=='2'){echo ('checked="checked"');}?> /></td><td><label for="UWaterPositionTxt2">上右</label></td>
</tr><tr>
<td><input id="UWaterPositionTxt3" name="UWaterPositionTxt" type="radio" value="3" <?php if($tmpDefault->sysFileConfig['ThumbWaterPosition']=='3'){echo ('checked="checked"');}?> /></td><td><label for="UWaterPositionTxt3">中左</label></td>
<td><input id="UWaterPositionTxt4" name="UWaterPositionTxt" type="radio" value="4" <?php if($tmpDefault->sysFileConfig['ThumbWaterPosition']=='4'){echo ('checked="checked"');}?> /></td><td><label for="UWaterPositionTxt4">中间</label></td>
<td><input id="UWaterPositionTxt5" name="UWaterPositionTxt" type="radio" value="5" <?php if($tmpDefault->sysFileConfig['ThumbWaterPosition']=='5'){echo ('checked="checked"');}?> /></td><td><label for="UWaterPositionTxt5">中右</label></td>
</tr><tr>
<td><input id="UWaterPositionTxt6" name="UWaterPositionTxt" type="radio" value="6" <?php if($tmpDefault->sysFileConfig['ThumbWaterPosition']=='6'){echo ('checked="checked"');}?> /></td><td><label for="UWaterPositionTxt6">下左</label></td>
<td><input id="UWaterPositionTxt7" name="UWaterPositionTxt" type="radio" value="7" <?php if($tmpDefault->sysFileConfig['ThumbWaterPosition']=='7'){echo ('checked="checked"');}?> /></td><td><label for="UWaterPositionTxt7">下中</label></td>
<td><input id="UWaterPositionTxt8" name="UWaterPositionTxt" type="radio" value="8" <?php if($tmpDefault->sysFileConfig['ThumbWaterPosition']=='8'){echo ('checked="checked"');}?> /></td><td><label for="UWaterPositionTxt8">下右</label></td>
</tr>
</table></td></tr>

<!-- #ButtonBox -->
<tr><td class="File_1" colspan="2" style="background-color:#F2F2F2;"><input type="submit" value="提交" class="Control2" onclick="tmpCommon.setActionType('Normal','UManage','','');" /></td></tr></table>
<!-- ------ #Directory ------ -->
<table id="Panel1" class="DHidden" cellpadding="4" cellspacing="2">
<!-- #DDirectoryName,请输入文件夹名 -->
<tr><td class="File_0">请输入文件夹名</td><td><input id="DDirectoryNameTxt" name="DDirectoryNameTxt" type="text" class="Control0" /></td></tr>
<!-- #ButtonBox -->
<tr><td class="File_1" colspan="2" style="background-color:#F2F2F2;"><input type="submit" value="提交" class="Control2" onclick="tmpCommon.setActionType('Normal','DDirectory','','');" /></td></tr></table>



</div>