Mr.Combet Webshell
Your IP :
216.73.216.136
Server IP :
103.233.58.157
Server :
Windows NT WIN-4PGF72KEHKB 10.0 build 17763 (Windows Server 2016) AMD64
Server Software :
Microsoft-IIS/10.0
PHP Version :
7.3.25
Add File :
Submit
Add Directory :
Submit
Dir :
C:
/
Windows
/
System32
/
srm
/
xslt
/
Edit File Name :
Common_TXT.xsl
<?xml version="1.0" ?> <!-- Copyright (C) 2004, Microsoft Corporation --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:global="urn:srm-extension-obj" > <!-- /////////////////////////////////////////////////////////////////////////// // Global variables /////////////////////////////////////////////////////////////////////////// --> <xsl:variable name="MaxItems" select="100"/> <xsl:variable name="DarkBorderColor" select="'gray'"/> <xsl:variable name="LightBorderColor" select="'#c0c0c0'"/> <xsl:variable name="TableHeaderBackground" select="'#ededed'"/> <xsl:variable name="ReportTitle" select="/StorageReport/ReportHeader/@ReportTitle"/> <xsl:variable name="THeadRightBorderStyle" select="'BORDER-RIGHT-COLOR: #c0c0c0; BORDER-RIGHT-STYLE: solid;'"/> <xsl:variable name="THeadBottomBorderStyle" select="'BORDER-BOTTOM-COLOR: #c0c0c0; BORDER-BOTTOM-STYLE: solid;'"/> <xsl:variable name="TBodyRightBorderStyle" select="'BORDER-RIGHT-COLOR: lightgrey; BORDER-RIGHT-STYLE: solid;'"/> <xsl:variable name="TBodyBottomBorderStyle" select="'BORDER-BOTTOM-COLOR: lightgrey; BORDER-BOTTOM-STYLE: solid;'"/> <!-- /////////////////////////////////////////////////////////////////////////// // Header templates /////////////////////////////////////////////////////////////////////////// --> <!-- Header rendering --> <xsl:template match="ReportHeader"> <a name="Top-report"/> <p> <TABLE border="1" borderColor="{$LightBorderColor}" cellPadding="5" style="margin:3mm;width=700"> <TR> <TD> </TD> <TD textWidth="60" > <span style='font-size:18.0pt;font-family:Tahoma'> <b> <xsl:value-of select="@ReportTitle"/> </b> </span> <newline/> <xsl:if test="/StorageReport/ReportHeader/@Type != 'FsrmReportType_Expiration'"> <span style='font-size:8.0pt;font-family:Tahoma'> <xsl:value-of select="@ReportDescription"/> </span> </xsl:if> <newline/> <span style='font-size:8.0pt;font-family:Tahoma'> <xsl:value-of select="$SrmStringRes_GeneratedAt"/> <xsl:value-of select="@GeneratedAt"/> </span> </TD> </TR> <TR> <TD style="font:bold"> <xsl:value-of select="$SrmStringRes_ReportDescription"/> </TD> <TD textWidth="60" > <xsl:value-of select="@ReportTypeDescription"/> </TD> </TR> <xsl:if test="/StorageReport/ReportHeader/@Type = 'FsrmReportType_Expiration'"> <TR> <TD style="font:bold"> <xsl:value-of select="$SrmStringRes_ActionType"/> </TD> <TD textWidth="60" > <xsl:value-of select="@ReportDescription"/> </TD> </TR> </xsl:if> <TR> <TD style="font:bold" > <xsl:value-of select="$SrmStringRes_Machine"/> </TD> <TD textWidth="60" > <xsl:value-of select="@MachineName"/> </TD> </TR> <TR> <TD style="font:bold"> <xsl:value-of select="$SrmStringRes_ReportFolders"/> </TD> <TD textWidth="60" > <xsl:apply-templates select="ReportNamespaces"/> </TD> </TR> <xsl:if test="ReportFilters/@FileNamePattern"> <TR> <TD style="font:bold"> <xsl:value-of select="$SrmStringRes_FileNamePattern"/> </TD> <TD textWidth="60" > <xsl:apply-templates select="ReportFilters/@FileNamePattern"/> </TD> </TR> </xsl:if> <xsl:if test="ReportFilters/Filter/@Name"> <TR> <TD style="font:bold"> <xsl:value-of select="$SrmStringRes_Parameters"/> </TD> <TD textWidth="60" > <xsl:apply-templates select="ReportFilters"/> </TD> </TR> </xsl:if> </TABLE> </p> <xsl:apply-templates select="ReportWarnings"/> </xsl:template> <xsl:template match="ReportNamespaces"> <xsl:apply-templates select="Namespace"/> </xsl:template> <xsl:template match="Namespace"> <xsl:text>'</xsl:text> <xsl:value-of select="."/> <xsl:text>'</xsl:text> <xsl:if test="position()!=last()"> <xsl:text>, </xsl:text> </xsl:if> </xsl:template> <xsl:template match="ReportFilters"> <xsl:apply-templates select="Filter"/> </xsl:template> <xsl:template match="Filter"> <xsl:value-of select="concat(@Name,': ',@Value)"/> <xsl:if test="position()!=last()"> <xsl:text>, </xsl:text> </xsl:if> </xsl:template> <xsl:template match="ReportWarnings"> <xsl:if test="Warning"> <TABLE border="1" borderColor="#ffffff" cellPadding="2" style="margin:3mm;width=700"> <TR> <TD textWidth="80"> <xsl:value-of select="$SrmStringRes_Warnings"/> </TD> </TR> <xsl:apply-templates select="Warning"/> </TABLE> </xsl:if> </xsl:template> <xsl:template match="Warning"> <TR> <TD textWidth="80"> <FONT color="red"> <xsl:value-of select="."/> </FONT> </TD> </TR> </xsl:template> <!-- /////////////////////////////////////////////////////////////////////////// // Statistics templates /////////////////////////////////////////////////////////////////////////// --> <!-- Generic table-of-contents (good for FileList-style reports) --> <xsl:template name="DisplayFolder"> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="RemotePath"> <xsl:value-of select="RemotePath/Path[position()=1]"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="VolumeURL"/> <xsl:value-of select="Path"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:attribute name="title"> <xsl:choose> <xsl:when test="RemotePath"> <xsl:value-of select="RemotePath/Path[position()=1]"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="VolumeURL"/> <xsl:value-of select="Path"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:value-of select="VolumeDisplayName"/> <xsl:value-of select="Path"/> </xsl:template> <!-- /////////////////////////////////////////////////////////////////////////// // Summary templates /////////////////////////////////////////////////////////////////////////// --> <!-- Summaries rendering --> <xsl:template name="FileReportTotals"> <p> <a name="ReportTotals"/> <TABLE BORDER="1" borderColor="{$DarkBorderColor}" cellPadding="5" style="TEXT-ALIGN: center; WIDTH: 600px"> <THEAD bgColor="{$TableHeaderBackground}" style="font:bold"> <TR noData="yes"> <TD textWidth="83" colSpan="4" style="COLOR: gray" ><xsl:value-of select="$SrmStringRes_ReportTotals"/></TD> </TR> <TR> <TD textWidth="41" colSpan="2" style="{$THeadRightBorderStyle};{$THeadBottomBorderStyle}"> <xsl:value-of select="$SrmStringRes_FilesShownInTheReport"/> </TD> <TD textWidth="41" colSpan="2" style="{$THeadBottomBorderStyle}"> <xsl:value-of select="$SrmStringRes_AllFilesMatchingReportCriteria"/> </TD> </TR> <TR> <TD style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_Files"/></TD> <TD style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_TotalSizeOnDiskMB"/></TD> <TD style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_Files"/></TD> <TD ><xsl:value-of select="$SrmStringRes_TotalSizeOnDiskMB"/></TD> </TR> </THEAD> <TBODY> <TR> <TD style="{$TBodyRightBorderStyle}"> <xsl:value-of select="ReportTotals/@DisplayFileCount"/> </TD> <TD style="{$TBodyRightBorderStyle}"> <xsl:value-of select="global:ConvertToMb(string(ReportTotals/@DisplaySize))"/> </TD> <TD style="{$TBodyRightBorderStyle}"> <xsl:value-of select="ReportTotals/@FileCount"/> </TD> <TD style="{$TBodyBottomBorderStyle}"> <xsl:value-of select="global:ConvertToMb(string(ReportTotals/@Size))"/> </TD> </TR> </TBODY> </TABLE> </p> </xsl:template> <xsl:template name="FolderReportTotals"> <p> <a name="ReportTotals"/> <TABLE BORDER="1" borderColor="{$DarkBorderColor}" cellPadding="5" style="TEXT-ALIGN: center; WIDTH: 600px"> <THEAD bgColor="{$TableHeaderBackground}" style="font:bold"> <TR noData="yes"> <TD textWidth="83" colSpan="4" style="COLOR: gray" ><xsl:value-of select="$SrmStringRes_ReportTotals"/></TD> </TR> <TR> <TD textWidth="41" colSpan="2" style="{$THeadRightBorderStyle};{$THeadBottomBorderStyle}"> <xsl:value-of select="$SrmStringRes_FoldersShownInTheReport"/> </TD> <TD textWidth="41" colSpan="2" style="{$THeadBottomBorderStyle}"> <xsl:value-of select="$SrmStringRes_AllFoldersMatchingReportCriteria"/> </TD> </TR> <TR> <TD style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_PropertyValues"/></TD> <TD style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_Folders"/></TD> <TD style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_PropertyValues"/></TD> <TD ><xsl:value-of select="$SrmStringRes_Folders"/></TD> </TR> </THEAD> <TBODY> <TR> <TD style="{$TBodyRightBorderStyle}"> <xsl:value-of select="FolderReportTotals/@DisplayGroupCount"/> </TD> <TD style="{$TBodyRightBorderStyle}"> <xsl:value-of select="FolderReportTotals/@DisplayFileCount"/> </TD> <TD style="{$TBodyRightBorderStyle}"> <xsl:value-of select="FolderReportTotals/@GroupCount"/> </TD> <TD style="{$TBodyBottomBorderStyle}"> <xsl:value-of select="FolderReportTotals/@FileCount"/> </TD> </TR> </TBODY> </TABLE> </p> </xsl:template> <!-- Summaries rendering --> <xsl:template name="GroupReportTotals"> <xsl:variable name="GroupColumnName"> <xsl:choose> <xsl:when test="/StorageReport/ReportHeader/@Type = 'FsrmReportType_FilesByType'"><xsl:value-of select="$SrmStringRes_FileGroups"/></xsl:when> <xsl:when test="/StorageReport/ReportHeader/@Type = 'FsrmReportType_FilesByOwner'"><xsl:value-of select="$SrmStringRes_Owners"/></xsl:when> <xsl:when test="/StorageReport/ReportHeader/@Type = 'FsrmReportType_FilesByProperty'"><xsl:value-of select="$SrmStringRes_PropertyValues"/></xsl:when> <xsl:when test="/StorageReport/ReportHeader/@Type = 'FsrmReportType_AutomaticClassification'"><xsl:value-of select="$SrmStringRes_Properties"/></xsl:when> </xsl:choose> </xsl:variable> <p> <a name="ReportTotals"/> <TABLE BORDER="1" borderColor="{$DarkBorderColor}" cellPadding="5" style="TEXT-ALIGN: center; WIDTH: 600px"> <THEAD bgColor="{$TableHeaderBackground}" style="font:bold"> <TR noData="yes"> <TD textWidth="125" colSpan="6" style="COLOR: gray" ><xsl:value-of select="$SrmStringRes_ReportTotals"/></TD> </TR> <TR> <TD textWidth="62" colSpan="3" style="{$THeadRightBorderStyle};{$THeadBottomBorderStyle}"> <xsl:value-of select="$SrmStringRes_FilesShownInTheReport"/> </TD> <TD textWidth="62" colSpan="3" style="{$THeadBottomBorderStyle}"> <xsl:value-of select="$SrmStringRes_AllFilesMatchingReportCriteria"/> </TD> </TR> <TR> <TD style="{$THeadRightBorderStyle}"> <xsl:value-of select="$GroupColumnName"/> </TD> <TD style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_Files"/></TD> <TD style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_TotalSizeOnDiskMB"/></TD> <TD style="{$THeadRightBorderStyle}"> <xsl:value-of select="$GroupColumnName"/> </TD> <TD style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_Files"/></TD> <TD ><xsl:value-of select="$SrmStringRes_TotalSizeOnDiskMB"/></TD> </TR> </THEAD> <TBODY> <TR> <TD style="{$TBodyRightBorderStyle}"> <xsl:value-of select="ReportTotals/@DisplayGroupCount"/> </TD> <TD style="{$TBodyRightBorderStyle}"> <xsl:value-of select="ReportTotals/@DisplayFileCount"/> </TD> <TD style="{$TBodyRightBorderStyle}"> <xsl:value-of select="global:ConvertToMb(string(ReportTotals/@DisplaySize))"/> </TD> <TD style="{$TBodyRightBorderStyle}"> <xsl:value-of select="ReportTotals/@GroupCount"/> </TD> <TD style="{$TBodyRightBorderStyle}"> <xsl:value-of select="ReportTotals/@FileCount"/> </TD> <TD style="{$TBodyBottomBorderStyle}"> <xsl:value-of select="global:ConvertToMb(string(ReportTotals/@Size))"/> </TD> </TR> </TBODY> </TABLE> </p> </xsl:template> <xsl:template name="SizeBySummaries"> <xsl:apply-templates select="SizeByOwner"/> <xsl:apply-templates select="SizeByFileGroup"/> </xsl:template> <xsl:template name="FolderCountBySummaries"> <xsl:apply-templates select="FolderSizeByPropertyValue"/> </xsl:template> <xsl:template name="SizeBySummariesWithPropertyValues"> <xsl:apply-templates select="SizeByOwner"/> <xsl:apply-templates select="SizeByFileGroup"/> <xsl:apply-templates select="SizeByPropertyValue"/> </xsl:template> <xsl:template name="SizeBySummariesWithProperties"> <xsl:apply-templates select="SizeByOwner"/> <xsl:apply-templates select="SizeByFileGroup"/> <xsl:apply-templates select="SizeByProperty"/> </xsl:template> <xsl:template match="SizeByOwner"> <a name="SizeByOwner"/> <TABLE BORDER="1" borderColor="{$DarkBorderColor}" cellPadding="5" style="TEXT-ALIGN: center; WIDTH: 600px"> <THEAD bgColor="{$TableHeaderBackground}" style="font:bold"> <TR noData="yes"> <TD textWidth="82" colSpan="3" style="COLOR: gray" > <xsl:value-of select="$SrmStringRes_SizeByOwner"/> </TD> </TR> <TR> <TD textWidth="40" style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_Owner"/></TD> <TD style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_TotalSizeOnDiskMB"/></TD> <TD ><xsl:value-of select="$SrmStringRes_Files"/></TD> </TR> </THEAD> <TBODY> <xsl:apply-templates select="GroupInfo"/> </TBODY> </TABLE> </xsl:template> <xsl:template match="SizeByFileGroup"> <a name="SizeByFileGroup"/> <TABLE BORDER="1" borderColor="{$DarkBorderColor}" cellPadding="5" style="TEXT-ALIGN: center; WIDTH: 600px"> <THEAD bgColor="{$TableHeaderBackground}" style="font:bold"> <TR noData="yes"> <TD textWidth="82" colSpan="3" style="COLOR: gray" ><xsl:value-of select="$SrmStringRes_SizeByFileGroup"/></TD> </TR> <TR> <TD textWidth="40" style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_FileGroup"/></TD> <TD style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_TotalSizeOnDiskMB"/></TD> <TD ><xsl:value-of select="$SrmStringRes_Files"/></TD> </TR> </THEAD> <TBODY> <xsl:apply-templates select="GroupInfo"/> </TBODY> </TABLE> </xsl:template> <xsl:template match="SizeByPropertyValue"> <a name="SizeBy"> <xsl:text> </xsl:text> <xsl:value-of select="/StorageReport/ReportHeader/ReportFilters/Filter/@Value"/> <xsl:text> </xsl:text> <xsl:value-of select="$SrmStringRes_Value"/> </a> <TABLE BORDER="1" borderColor="{$DarkBorderColor}" cellPadding="5" style="TEXT-ALIGN: center; WIDTH: 600px"> <THEAD bgColor="{$TableHeaderBackground}" style="font:bold"> <TR noData="yes"> <TD textWidth="82" colSpan="3" style="COLOR: gray" ><xsl:value-of select="$SrmStringRes_SizeByPropertyValue"/></TD> </TR> <TR> <TD textWidth="40" style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_PropertyValue"/></TD> <TD style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_TotalSizeOnDiskMB"/></TD> <TD ><xsl:value-of select="$SrmStringRes_Files"/></TD> </TR> </THEAD> <TBODY> <xsl:apply-templates select="GroupInfo"/> </TBODY> </TABLE> </xsl:template> <xsl:template match="FolderSizeByPropertyValue"> <a name="SizeBy"> <xsl:text> </xsl:text> <xsl:value-of select="/StorageReport/ReportHeader/ReportFilters/Filter/@Value"/> <xsl:text> </xsl:text> <xsl:value-of select="$SrmStringRes_Value"/> </a> <TABLE BORDER="1" borderColor="{$DarkBorderColor}" cellPadding="5" style="TEXT-ALIGN: center; WIDTH: 600px"> <THEAD bgColor="{$TableHeaderBackground}" style="font:bold"> <TR noData="yes"> <TD textWidth="83" colSpan="2" style="COLOR: gray" ><xsl:value-of select="$SrmStringRes_FolderDistributionBy"/><xsl:value-of select="/StorageReport/ReportHeader/ReportFilters/Filter/@Value"/></TD> </TR> <TR> <TD textWidth="41" style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_PropertyValue"/></TD> <TD textWidth="41"><xsl:value-of select="$SrmStringRes_Folders"/></TD> </TR> </THEAD> <TBODY> <xsl:apply-templates select="FolderGroupInfo"/> </TBODY> </TABLE> </xsl:template> <xsl:template match="SizeByProperty"> <a name="SizeByProperty"/> <TABLE BORDER="1" borderColor="{$DarkBorderColor}" cellPadding="5" style="TEXT-ALIGN: center; WIDTH: 600px"> <THEAD bgColor="{$TableHeaderBackground}" style="font:bold"> <TR noData="yes"> <TD textWidth="82" colSpan="3" style="COLOR: gray" ><xsl:value-of select="$SrmStringRes_SizeByProperty"/></TD> </TR> <TR> <TD textWidth="40" style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_Property"/></TD> <TD style="{$THeadRightBorderStyle}"><xsl:value-of select="$SrmStringRes_TotalSizeOnDiskMB"/></TD> <TD ><xsl:value-of select="$SrmStringRes_Files"/></TD> </TR> </THEAD> <TBODY> <xsl:apply-templates select="GroupInfo"/> </TBODY> </TABLE> </xsl:template> <xsl:template match="GroupInfo"> <TR> <TD textWidth="40" style="{$TBodyRightBorderStyle};{$TBodyBottomBorderStyle}"> <xsl:value-of select="@Name"/> </TD> <TD style="{$TBodyRightBorderStyle};{$TBodyBottomBorderStyle}"> <xsl:value-of select="global:ConvertToMb(string(@SizeAllocated))"/> </TD> <TD style="{$TBodyBottomBorderStyle}"> <xsl:value-of select="@FileCount"/> </TD> </TR> </xsl:template> <xsl:template match="FolderGroupInfo"> <TR> <TD textWidth="41" style="{$TBodyRightBorderStyle};{$TBodyBottomBorderStyle}"> <xsl:value-of select="@Name"/> </TD> <TD textWidth="41" style="{$TBodyBottomBorderStyle}"> <xsl:value-of select="@FileCount"/> </TD> </TR> </xsl:template> </xsl:stylesheet>
Save