Location: PHPKode > projects > CoreAsset > coreasset/templates/show_asset_history.tpl
<link href="css/style_new.css" rel="stylesheet" type="text/css">
<title> History </title>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="middle">
	<form name="form1" method="post" action="">
     {section name=i loop=$eq_name}
	  <table width="90%" border="0" cellspacing="1" cellpadding="0" align="center">
        <tr>
          <td colspan="4" height="30"></td>
          
        </tr>
		
		<tr>
          <td class="btn_bg1" nowrap="nowrap">
		  <strong>Equipment Name&nbsp;:{$eq_name[i]}&nbsp;|</strong>
		  <strong>Serial No&nbsp;:{$eq_serial[i]}&nbsp;|</strong>
		  <strong>Manufacturer&nbsp;:{$eq_manufac[i]}&nbsp;|</strong>
		  <strong>Warranty Date&nbsp;:{$eq_warranty[i]}</strong></td>
         
          
        </tr>
      </table>
	 
	  <table width="90%" border="0" cellspacing="1" cellpadding="0" align="center">
        <tr>
		<td class="txtbox_bgcolor" width="20%">&nbsp;Old Status</td>
          <td class="txtbox_bgcolor" width="20%">&nbsp;Changed Status</td>
          <td class="txtbox_bgcolor" width="20%">&nbsp;Comment</td>
          <td class="txtbox_bgcolor" width="20%">&nbsp;Date</td>
		 </tr>
		{assign var=a value="$count_inner[i]" }
		{if $a > 0}
		{section name=index loop=$a}
			<tr>
			  <td class="list_item" width="20%">&nbsp;{$old_status[i][index]}</td>
			  <td class="list_item" width="20%">&nbsp;{$new_status[i][index]}</td>
			  <td class="list_item" width="20%">&nbsp;{$comment[i][index]}</td>
			  <td class="list_item" width="20%">&nbsp;{$change_date[i][index]}</td>
			</tr>
		{/section}
	  	{else}
			<tr>
			  <td colspan="4" class="text" align="center"><font color="#FF0000">Running Properly Till Date</font></td>
			</tr>
	  	{/if}
	  
      </table>
	  {/section}
      </form>
    </td>
  </tr>
  
</table>
Return current item: CoreAsset