Location: PHPKode > projects > CoreAsset > coreasset/templates/inner_div.tpl
{literal}
<script language="JavaScript" src="js/calendar.js"></script>
{/literal}

            <div id="i1" style="display:none;">
            <table cellSpacing="0" cellPadding="0" width="100%" border="0">
              <tr>
               <td class="txt" align="left" colspan="5" height="23" width="33%">&nbsp;&nbsp;Enter Asset Tag</td>
               <td class="text" align="left" colspan="5" height="23" width="15%">
               <input type="text" name="criteria[]" class="text" id="criteria" {if $option==1}value="{$cond}"{/if}>
               </td>
			   <td align="left"  height="23" width="33%"><input type="image" src="images/search_asset.gif"  name="search" id="search"   title="click to search asset"/></td>
              </tr>
              <tr>
                <td class="txt"  colspan="5">&nbsp;</td>
              </tr>

            </table>
            </div>

            <div id="i2" style="display:none;">
              <table cellSpacing="0" cellPadding="0" width="100%" border="0">
              <tr>
               <td class="txt" align="left" colspan="5"  height="23" width="33%">&nbsp;&nbsp;Enter Manufacturer</td>
               <td class="text" align="left" colspan="5"  height="23" width="15%">
			   <input type="text" name="criteria[]" class="text" id="criteria" {if $option==2} value="{$cond}"{/if}>
               </td>
			   <td  width="33%" align="left"  height="23"><input type="image" src="images/search_asset.gif"  name="search" id="search"  /></td>
              </tr>
             
              <tr>
                <td class="txt"  colspan="5">&nbsp;</td>
              </tr>
            </table>
            </div>
            
              <div id="i3" style="display:none;">
              <table cellSpacing="0" cellPadding="0" width="100%" border="0">
              <tr>
               <td class="txt" align="left" colspan="5"  height="23" width="33%">&nbsp;&nbsp;Enter Nick Name</td>
               <td class="text" align="left" colspan="5"  height="23" width="15%">
			   <input type="text" name="criteria[]" class="text" id="criteria" {if $option==3}value="{$cond}"{/if}>
               </td>
			   <td  width="33%" align="left"  height="23"><input type="image" src="images/search_asset.gif"  name="search" id="search"  /></td>
              </tr>
              
              <tr>
                <td class="txt"  colspan="5">&nbsp;</td>
              </tr>
            </table>
            </div>
            
            <div id="i4" style="display:none;">
              <table cellSpacing="0" cellPadding="0" width="100%" border="0">
              <tr>
               <td class="txt" align="left" colspan="5"  height="23" width="33%">&nbsp;&nbsp;Enter Equipment</td>
               <td class="text" align="left" colspan="5"  height="23" width="15%">
			   <input type="text" name="criteria[]" class="text" id="criteria" {if $option==4}value="{$cond}"{/if}>
               </td>
			   <td  width="33%" align="left"  height="23"><input type="image" src="images/search_asset.gif"  name="search" id="search"  /></td>
              </tr>
              
              <tr>
                <td class="txt"  colspan="5">&nbsp;</td>
              </tr>
            </table>
            </div>
            
            <div id="i5" style="display:none;">
              <table  cellSpacing="0" cellPadding="0" width="100%" border="0">
              <tr>
               <td class="txt" align="left" colspan="5"  height="23" width="33%">&nbsp;&nbsp;Enter Vendor</td>
               <td class="text" align="left" colspan="5"  height="23" width="15%">
			   <input type="text" name="criteria[]" class="text" id="criteria" {if $option==5}value="{$cond}"{/if}>
               </td>
			   <td  width="33%" align="left"  height="23"><input type="image" src="images/search_asset.gif"  name="search" id="search"  /></td>
              </tr>
              
              <tr>
                <td class="txt"  colspan="5">&nbsp;</td>
              </tr>
            </table>
            </div>
            
            <div id="i6" style="display:none;">
              <table  cellSpacing="0" cellPadding="0" width="100%" border="0">
              <tr>
               <td class="txt" align="left" colspan="5"  height="23"  width="33%">&nbsp;&nbsp;Enter Serial Number</td>
               <td class="text" align="left" colspan="5"  height="23" width="15%">
			   <input type="text" name="criteria[]" class="text" id="criteria" {if $option==6}value="{$cond}"{/if}>
               </td>
			   <td  width="33%" align="left"  height="23"><input type="image" src="images/search_asset.gif"  name="search" id="search"  /></td>
              </tr>
             
              <tr>
                <td class="txt"  colspan="5">&nbsp;</td>
              </tr>
            </table>
            </div>
            
            <div id="i7" style="display:none;">
              <table  cellSpacing="0" cellPadding="0" width="100%" border="0">
              <tr>
               <td class="txt" align="left" colspan="5"  height="23" width="33%">&nbsp;&nbsp;Enter Purchase Order Number</td>
               <td class="text" align="left" colspan="5"  height="23" width="15%">
			   <input type="text" name="criteria[]" class="text" id="criteria" {if $option==7}value="{$cond}"{/if}>
               </td>
			   <td  width="33%" align="left"  height="23"><input type="image" src="images/search_asset.gif"  name="search" id="search"  /></td>
              </tr>
             
              <tr>
                <td class="txt"  colspan="5">&nbsp;</td>
              </tr>
            </table>
            </div>
             <div id="i8" style="display:none;">
              <table cellSpacing="0" cellPadding="0" width="100%" border="0">
              <tr>
               <td class="txt" align="left" colspan="5"  height="23" width="33%">&nbsp;&nbsp;Select Receive Date</td>
               <td class="text" align="left" colspan="5"  height="23" width="15%">
               <input name="receive_date"  type="text" size="20" class="text" readonly value="{$con}">
                <a href="javascript:cal.popup();"><img src="images/calender.gif" border="0" alt="Click to pickup..."></a>
               </td>
			   <td  width="33%" align="left"  height="23"><input type="image" src="images/search_asset.gif"  name="search" id="search"  /></td>
              </tr>
              
              <tr>
                <td class="txt"  colspan="5">&nbsp;</td>
              </tr>
            </table>
            </div>

{literal}
<script language="JavaScript">
var cal = new calendar1(document.f1.elements['receive_date']);
cal.year_scroll = true;
</script>
{/literal}
Return current item: CoreAsset