Location: PHPKode > projects > CoreAsset > coreasset/templates/vw_ast_dtl.tpl
{include file="head.tpl"}
{include file="left.tpl"}
<form name="form1" method="post" action="">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" align="center">

<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="21"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/corner9.gif" width="5" height="21"></td>
<td width="99%" class="header"><span class="whitetext">
Book History
</span></td>
<td><img src="images/corner10.gif" width="5" height="21"></td>
</tr>
</table></td>
</tr>
<tr>
<td class="border3side" valign="top" height="100%"><table width="100%" height="100%" border="0" cellspacing="8" cellpadding="0">
<tr>
<td valign="top">

<table width="100%" border="0" cellspacing="0" cellpadding="1">
  <tr>
    <td valign="top">
	 <table width="100%" border="0" cellspacing="1" cellpadding="1">
	 <tr align="center">
	 	  <td class="txtbox_bgcolor" width="25%">&nbsp;<strong>Book Details</strong></td>
		  <td class="txtbox_bgcolor" width="15%">&nbsp;<strong>Issued To</strong></td>
		  <td class="txtbox_bgcolor" width="15%">&nbsp;<strong>Issued On</strong></td>
		  <td class="txtbox_bgcolor" width="15%">&nbsp;<strong>Return Date</strong></td>
		 </tr>
	 </table>

      <table width="100%" border="0" cellspacing="2" cellpadding="0">
	  
        <tr>
          <td class="list_item"  align="left" width="36%" valign="top" style="border:#333333 1px solid;">
	  <table bgcolor="#ffffff" width="100%" border="0" cellspacing="0" cellpadding="2" align="left">
         <tr><td class="list_item" valign="TOP">Book Name</td><td class="list_item">{$book_name}</td></tr>
		 <tr><td class="list_item" valign="TOP">ISBN No</td><td class="list_item">{$isbn_no}</td></tr>
		 <tr><td class="list_item" valign="TOP">Author</td><td class="list_item">{$author}</td></tr>
		 <tr><td class="list_item" valign="TOP">Publisher</td><td class="list_item">{$publisher}</td></tr>
		 <tr><td class="list_item" valign="TOP">Price</td><td class="list_item">{$price}</td></tr>
      </table>
		  </td>
          <td class="list_item"  align="left" width="70%" valign="top"  style="border:#333333 1px solid;">
<div style="height:100px;overflow:auto;">
		  <table width="100%" border="0" cellspacing="3" cellpadding="3" align="center">
		{section name=index loop=$book_hist_id}
			<tr>
			  <td class="list_item" width="17%" valign="TOP">{$user_nm[index]}</td>
			  <td class="list_item" width="17%" valign="TOP">{if $issued_on[index]!="0000-00-00"}{$issued_on[index]}{else}<font color="RED">Not Issued !</font>{/if}</td>
			  <td class="list_item" width="17%" valign="TOP">{if $return_date[index]!="0000-00-00"}{$return_date[index]}{else}<font color="RED">Not Issued !</font>{/if}</td>	
			</tr>
		{/section}
      </table>

	  </div>
		  </td>
        </tr>
			<tr>
			  <td class="txtbox_bgcolor" colspan="1"  align="center" valign="TOP">&nbsp;</td>
			  <td class="txtbox_bgcolor"  align="center" valign="TOP"><img src="images/back.gif" border="0" style="cursor:pointer;" onClick="Javascript:location='manage_book.php';"></td>
			</tr>	  
	
      </table>
</td>
 </tr>
</table>
    </td>
  </tr>
  
<tr>
<td  align="left" class="header">

<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
{if $rows == 1}
<tr>
<td align="left" width="45%">


</td>
<td align="left" width="30%">

</td>
<td align="right" width="30%">
</td>
</tr>
{else}
<tr>
<td align="left" width="45%">&nbsp;&nbsp;
{if $flag !=0}
{else}
{/if}
</td>
<td align="left" width="30%">

</td>
<td align="right" width="30%">

&nbsp;&nbsp;
</td>
</tr>
{/if}
</table>
</td>
</tr>
</table>

<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
<tr>
<td align="center" width="100%" class="text">
<font color="#FF0000">Sorry ! You have no such Privillage ... </font>
</td>
</tr>
</table>


<!-- ########################      End Here ##########################-->
</form>
	  
{include file="foot.tpl"}


Return current item: CoreAsset