DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Program Files/CA/arcserve Unified Data Protection/APM/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /Program Files/CA/arcserve Unified Data Protection/APM//PatchHistory.xsl
<?xml version='1.0'?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:output method="html"/>
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="castylesr1\castylesr1.css" />

<xsl:text disable-output-escaping="yes">
<![CDATA[
<script>
function ChangeDisplay(divId)
{	
	var innerDiv = divId+"_inner";
	var imageId = divId+"_image";	
	var hideDiv = document.getElementById(innerDiv);	
	var image =   document.getElementById(imageId);	
	
	if(hideDiv.style.display == "none")
	{
		hideDiv.style.display="block";
		image.src="castylesr1/prototypeimages/arrow_down.png";
	}
	else
	{
		hideDiv.style.display="none";
		image.src="castylesr1/prototypeimages/arrow_up.png";
	}
}

</script>
]]>
</xsl:text>


</head>
<body bgcolor="#ffffff">
<!--Logo  table.
This table contains the CA Logo and the Product name ARCServe Backup
-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="white" >
		<tr> 
			<td width="5%" align="left">
				<img src="castylesr1/cssimages/circleca1.png" border="0" alt="CA" width="57" height="38"/>
			</td>
			<td width="95%" align="right" >
				<div align="left"><span class="product_name">Unified Data Protection</span></div>
			</td>			
		</tr>
	</table>
<!--
Page Header table.
This table contains the heading  "patch History for the server xxxx" and also "number of Patches applied"
-->
<table width="99%" border="0" cellpadding="0" cellspacing="0" align="center">
 <tr> 
      <td colspan="6"> 
           <table cellSpacing="0" cellPadding="0" width="100%" border="0">
            <tr>
			
             <td width="4" height="22" class="page_section_header_left">
              <IMG src="castylesr1/prototypeimages/spacer.png" width="4" height="22" border="0"/>
             </td>
			 
               <td  class="page_Section_header_center" align="left" > 
                <span  class="page_section_header_text">Patch History for the Server <xsl:value-of select="//@Server" />  </span>
               </td>	
               <td width="4" height="22" class="page_Section_header_right">
                <img src="castylesr1/prototypeimages/spacer.png" alt="" width="4" height="22" border="0"/>
               </td>
            </tr>
        </table>
       </td>
      </tr>
	 
	  </table>
	  <br/>
  
<!--
This is the content table
For each PatchInfo node in the xml , one table will be generated
-->
<xsl:for-each select="Patches/PatchInfo">
 <xsl:variable name="DivId" select="generate-id()"/>
 <xsl:variable name="InnerDiv" select="concat($DivId,'_inner')" />
 <xsl:variable name="Image" select="concat($DivId,'_image')" />
<div>
<table width="99%" border="0" cellpadding="0" cellspacing="0" align="center">
 <!-- Fix Number Header -->
 
 <tr > 
      <td colspan="6"> 
           <table cellSpacing="0" cellPadding="0" width="100%" border="0">
            <tr>
			
             <td width="4" height="22" class="page_section_header_left">
              <IMG src="castylesr1/prototypeimages/spacer.png" width="4" height="22" border="0"/>
             </td>
			 
               <td id="{$DivId}" class="page_section_header_center" align="left" OnClick="ChangeDisplay(this.id)">
			  
				<img id="{$Image}" width="14" height="14" class="hide_show_button" src="castylesr1/prototypeimages/arrow_down.png" />
                <span  class="page_section_header_text">Patch : <xsl:value-of select="FixNumber" /></span>
				<img src="castylesr1/prototypeimages/spacer.png" alt="" width="4" height="22" border="0"/>
				<span  class="page_section_header_text"><xsl:value-of select="State" /></span>
               </td>	
               <td width="4" height="22" class="page_section_header_right">
                <img src="castylesr1/prototypeimages/spacer.png" alt="" width="4" height="22" border="0"/>
               </td>			   
            </tr>
        </table>
       </td>
      </tr>
</table>
<div id="{$InnerDiv}">	  
<table width="99%" border="0" cellpadding="0" cellspacing="0" align="center">
<!-- Product Name -->
<tr class="page_section">
<td class="data">
<p>Product: <xsl:value-of select="Product" /> <xsl:value-of select="Release" /></p>
</td>
</tr>

<!-- Applied time -->
<tr class="page_section">
<td class="data">
<p>
		 <xsl:choose>
		<xsl:when test="State='Uninstalled'">
	Uninstalled on  : <xsl:value-of select="TimeStamp" />
	</xsl:when>
	<xsl:otherwise>
	Applied on : <xsl:value-of select="TimeStamp" />
	</xsl:otherwise>
	</xsl:choose>
	</p>
</td>
</tr>
<!--
This is commented as the State is being moved to the header. Please uncomment this if you want to show the state information also.
-->
<!-- State of the Patch
<tr class="page_section">
<td class="data">
<p>Current State of the Patch: <b><xsl:value-of select="State" /></b> </p>
</td>
</tr>
 -->

<!-- Files Information -->
<tr class="page_section">
<td class ="data">
<!--Populate a table here -->
<!--Table Header Files Information -->
<xsl:if test="count(Files) > 0">
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="left">
 <tr> 
      <td colspan="6"> 
           <table cellSpacing="0" cellPadding="0" width="100%" border="0">
            <tr>
			
             <td width="4" height="22" class="groupbox_header_left">
              <IMG src="castylesr1/prototypeimages/spacer.png" width="4" height="22" border="0"/>
             </td>
			 
               <td  class="groupbox_header_center" align="left" > 
                <span  class="groupbox_header_text">Replaced File Information</span>
               </td>	
               <td width="4" height="22" class="groupbox_header_right">
                <img src="castylesr1/prototypeimages/spacer.png" alt="" width="4" height="22" border="0"/>
               </td>
            </tr>
        </table>
       </td>
      </tr>
	  <!-- Headers row for the Files table -->
	   
	<tr>            
            <td ><span class="table_column_header_text">File Name </span></td>
            <td><span class="table_column_header_text">New File Size</span></td>       
			<td><span class="table_column_header_text">Existing File Size</span></td>      
            <td><span class="table_column_header_text">New File Creation Date</span></td>
            <td><span class="table_column_header_text">Path</span></td>
          </tr>
		  
	<!-- Data -->
	
	<xsl:for-each select= "Files/File">
	<tr class="table_row">
            <td  class="table_data" align="left" ><xsl:value-of select="."/></td>
            <td  class="table_data" align="left" ><xsl:value-of select="@NewFileSize"/></td>
			<td  class="table_data" align="left" ><xsl:value-of select="@OldFileSize"/></td>
            <td  class="table_data" align="left" ><xsl:value-of select="@DateReplaced"/></td>
            <td  class="table_data" align="left"><xsl:value-of select="@Path"/></td>            
          </tr>
	</xsl:for-each>
	
	  </table>
 
</xsl:if>  
</td>
</tr>
</table>

<br/>
</div> 
</div> 
<br/>
</xsl:for-each>

</body>
</html>
 </xsl:template>
</xsl:stylesheet>

Anon7 - 2022
AnonSec Team