home *** CD-ROM | disk | FTP | other *** search
/ 66.142.0.142 / 66.142.0.142.tar / 66.142.0.142 / ltgFixtureNotelist.aspx < prev    next >
Text File  |  2014-01-25  |  20KB  |  383 lines

  1. <%@ Page Language="VB" MasterPageFile="masterpage.master" ValidateRequest="false" AutoEventWireup="false" CodeFile="ltgFixtureNotelist.aspx.vb" Inherits="ltgFixtureNotelist" CodeFileBaseClass="AspNetMaker7_tfpssnet" %>
  2. <%@ Register TagPrefix="tfpssnet" TagName="MasterTable_ltgFixtureMaster" Src="ltgFixtureMastermaster.ascx" %>
  3. <asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
  4. <% If ltgFixtureNote.Export = "" Then %>
  5. <script type="text/javascript">
  6. <!--
  7. // Create page object
  8. var ltgFixtureNote_list = new ew_Page("ltgFixtureNote_list");
  9. // page properties
  10. ltgFixtureNote_list.PageID = "list"; // page ID
  11. var EW_PAGE_ID = ltgFixtureNote_list.PageID; // for backward compatibility
  12. <% If EW_CLIENT_VALIDATE Then %>
  13. ltgFixtureNote_list.ValidateRequired = true; // uses JavaScript validation
  14. <% Else %>
  15. ltgFixtureNote_list.ValidateRequired = false; // no JavaScript validation
  16. <% End If %>
  17. //-->
  18. </script>
  19. <link rel="stylesheet" type="text/css" media="all" href="calendar/calendar-win2k-1.css" title="win2k-1" />
  20. <script type="text/javascript" src="calendar/calendar.js"></script>
  21. <script type="text/javascript" src="calendar/lang/calendar-en.js"></script>
  22. <script type="text/javascript" src="calendar/calendar-setup.js"></script>
  23. <script language="JavaScript" type="text/javascript">
  24. <!--
  25. // Write your client script here, no need to add script tags.
  26. // To include another .js script, use:
  27. // ew_ClientScriptInclude("my_javascript.js"); 
  28. //-->
  29. </script>
  30. <% End If %>
  31. <% If ltgFixtureNote.Export = "" Then %>
  32. <%
  33. gsMasterReturnUrl = "ltgFixtureMasterlist.aspx"
  34. If ltgFixtureNote_list.sDbMasterFilter <> "" AndAlso ltgFixtureNote.CurrentMasterTable = "ltgFixtureMaster" Then
  35.     If ltgFixtureNote_list.bMasterRecordExists Then
  36.         If ltgFixtureNote.CurrentMasterTable = ltgFixtureNote.TableVar Then gsMasterReturnUrl = gsMasterReturnUrl & "?" & EW_TABLE_SHOW_MASTER & "="
  37. %>
  38. <tfpssnet:MasterTable_ltgFixtureMaster id="MasterTable_ltgFixtureMaster" runat="server" />
  39. <%
  40.     End If
  41. End If
  42. %>
  43. <% End If %>
  44. <%
  45.  
  46. ' Load recordset
  47. Rs = ltgFixtureNote_list.LoadRecordset()
  48.     ltgFixtureNote_list.lStartRec = 1
  49.     If ltgFixtureNote_list.lDisplayRecs <= 0 Then ' Display all records
  50.         ltgFixtureNote_list.lDisplayRecs = ltgFixtureNote_list.lTotalRecs
  51.     End If
  52.     If Not (ltgFixtureNote.ExportAll AndAlso ltgFixtureNote.Export <> "") Then
  53.         ltgFixtureNote_list.SetUpStartRec() ' Set up start record position
  54.     End If
  55. %>
  56. <p><span class="aspnetmaker" style="white-space: nowrap;">TABLE: ltg Fixture Note
  57. </span></p>
  58. <% If Security.CanSearch Then %>
  59. <% If ltgFixtureNote.Export = "" AndAlso ltgFixtureNote.CurrentAction = "" Then %>
  60. <a href="javascript:ew_ToggleSearchPanel(ltgFixtureNote_list);" style="text-decoration: none;"><img id="ltgFixtureNote_list_SearchImage" src="images/collapse.gif" alt="" width="9" height="9" border="0"></a><span class="aspnetmaker"> Search</span><br>
  61. <div id="ltgFixtureNote_list_SearchPanel">
  62. <form name="fltgFixtureNotelistsrch" id="fltgFixtureNotelistsrch" class="ewForm">
  63. <input type="hidden" id="t" name="t" value="ltgFixtureNote" />
  64. <table class="ewBasicSearch">
  65.     <tr>
  66.         <td><span class="aspnetmaker">
  67.             <input type="text" name="<%= EW_TABLE_BASIC_SEARCH %>" id="<%= EW_TABLE_BASIC_SEARCH %>" size="20" value="<%= ew_HtmlEncode(ltgFixtureNote.BasicSearchKeyword) %>" />
  68.             <input type="Submit" name="Submit" id="Submit" value="Search (*)" /> 
  69.             <a href="<%= ltgFixtureNote_list.PageUrl %>cmd=reset">Show all</a> 
  70.         </span></td>
  71.     </tr>
  72.     <tr>
  73.     <td><span class="aspnetmaker"><label><input type="radio" name="<%= EW_TABLE_BASIC_SEARCH_TYPE %>" id="<%= EW_TABLE_BASIC_SEARCH_TYPE %>" value=""<% If ltgFixtureNote.BasicSearchType = "" Then %> checked="checked"<% End If %> />Exact phrase</label>  <label><input type="radio" name="<%= EW_TABLE_BASIC_SEARCH_TYPE %>" id="<%= EW_TABLE_BASIC_SEARCH_TYPE %>" value="AND"<% If ltgFixtureNote.BasicSearchType = "AND" Then %> checked="checked"<% End If %> />All words</label>  <label><input type="radio" name="<%= EW_TABLE_BASIC_SEARCH_TYPE %>" id="<%= EW_TABLE_BASIC_SEARCH_TYPE %>" value="OR"<% If ltgFixtureNote.BasicSearchType = "OR" Then %> checked="checked"<% End If %> />Any word</label></span></td>
  74.     </tr>
  75. </table>
  76. </form>
  77. </div>
  78. <% End If %>
  79. <% End If %>
  80. <% ltgFixtureNote_list.ShowMessage() %>
  81. <br />
  82. <table cellspacing="0" class="ewGrid"><tr><td class="ewGridContent">
  83. <div class="ewGridMiddlePanel">
  84. <form name="fltgFixtureNotelist" id="fltgFixtureNotelist" class="ewForm" method="post">
  85. <% If ltgFixtureNote_list.lTotalRecs > 0 Then %>
  86. <table cellspacing="0" rowhighlightclass="ewTableHighlightRow" rowselectclass="ewTableSelectRow" roweditclass="ewTableEditRow" class="ewTable ewTableSeparate">
  87. <%
  88.     ltgFixtureNote_list.lOptionCnt = 0
  89. If Security.CanView Then
  90.     ltgFixtureNote_list.lOptionCnt = ltgFixtureNote_list.lOptionCnt + 1 ' View
  91. End If
  92. If Security.CanEdit Then
  93.     ltgFixtureNote_list.lOptionCnt = ltgFixtureNote_list.lOptionCnt + 1 ' Edit
  94. End If
  95. If Security.CanDelete Then
  96.     ltgFixtureNote_list.lOptionCnt = ltgFixtureNote_list.lOptionCnt + 1 ' Delete
  97. End If
  98.     ltgFixtureNote_list.lOptionCnt = ltgFixtureNote_list.lOptionCnt + ltgFixtureNote_list.ListOptions.Items.Count ' Custom list options
  99. %>
  100. <%= ltgFixtureNote.TableCustomInnerHTML %>
  101. <thead><!-- Table header -->
  102.     <tr class="ewTableHeader">
  103. <% If ltgFixtureNote.Export = "" Then %>
  104. <% If Security.CanView Then %>
  105. <td style="white-space: nowrap;"> </td>
  106. <% End If %>
  107. <% If Security.CanEdit Then %>
  108. <td style="white-space: nowrap;"> </td>
  109. <% End If %>
  110. <% If Security.CanDelete Then %>
  111. <td style="white-space: nowrap;"> </td>
  112. <% End If %>
  113. <%
  114.  
  115. ' Custom list options
  116. For i As Integer = 0 to ltgFixtureNote_list.ListOptions.Items.Count -1
  117.     If ltgFixtureNote_list.ListOptions.Items(i).Visible Then Response.Write(ltgFixtureNote_list.ListOptions.Items(i).HeaderCellHtml)
  118. Next
  119. %>
  120. <% End If %>
  121. <% If ltgFixtureNote.notFixID.Visible Then ' notFixID %>
  122.     <% If ltgFixtureNote.SortUrl(ltgFixtureNote.notFixID) = "" Then %>
  123.         <td>Fixture</td>
  124.     <% Else %>
  125.         <td class="ewPointer" onmousedown="ew_Sort(event,'<%= ltgFixtureNote.SortUrl(ltgFixtureNote.notFixID) %>',2);">
  126.             <table cellspacing="0" class="ewTableHeaderBtn"><tr><td>Fixture</td><td style="width: 10px;"><% If ltgFixtureNote.notFixID.Sort = "ASC" Then %><img src="images/sortup.gif" width="10" height="9" border="0"><% ElseIf ltgFixtureNote.notFixID.Sort = "DESC" Then %><img src="images/sortdown.gif" width="10" height="9" border="0"><% End If %></td></tr></table>
  127.         </td>
  128.     <% End If %>
  129. <% End If %>        
  130. <% If ltgFixtureNote.notTypeID.Visible Then ' notTypeID %>
  131.     <% If ltgFixtureNote.SortUrl(ltgFixtureNote.notTypeID) = "" Then %>
  132.         <td>Note Type</td>
  133.     <% Else %>
  134.         <td class="ewPointer" onmousedown="ew_Sort(event,'<%= ltgFixtureNote.SortUrl(ltgFixtureNote.notTypeID) %>',2);">
  135.             <table cellspacing="0" class="ewTableHeaderBtn"><tr><td>Note Type</td><td style="width: 10px;"><% If ltgFixtureNote.notTypeID.Sort = "ASC" Then %><img src="images/sortup.gif" width="10" height="9" border="0"><% ElseIf ltgFixtureNote.notTypeID.Sort = "DESC" Then %><img src="images/sortdown.gif" width="10" height="9" border="0"><% End If %></td></tr></table>
  136.         </td>
  137.     <% End If %>
  138. <% End If %>        
  139. <% If ltgFixtureNote.notDate.Visible Then ' notDate %>
  140.     <% If ltgFixtureNote.SortUrl(ltgFixtureNote.notDate) = "" Then %>
  141.         <td>Date</td>
  142.     <% Else %>
  143.         <td class="ewPointer" onmousedown="ew_Sort(event,'<%= ltgFixtureNote.SortUrl(ltgFixtureNote.notDate) %>',2);">
  144.             <table cellspacing="0" class="ewTableHeaderBtn"><tr><td>Date</td><td style="width: 10px;"><% If ltgFixtureNote.notDate.Sort = "ASC" Then %><img src="images/sortup.gif" width="10" height="9" border="0"><% ElseIf ltgFixtureNote.notDate.Sort = "DESC" Then %><img src="images/sortdown.gif" width="10" height="9" border="0"><% End If %></td></tr></table>
  145.         </td>
  146.     <% End If %>
  147. <% End If %>        
  148. <% If ltgFixtureNote.notShortDesc.Visible Then ' notShortDesc %>
  149.     <% If ltgFixtureNote.SortUrl(ltgFixtureNote.notShortDesc) = "" Then %>
  150.         <td>Short Desc</td>
  151.     <% Else %>
  152.         <td class="ewPointer" onmousedown="ew_Sort(event,'<%= ltgFixtureNote.SortUrl(ltgFixtureNote.notShortDesc) %>',2);">
  153.             <table cellspacing="0" class="ewTableHeaderBtn"><tr><td>Short Desc (*)</td><td style="width: 10px;"><% If ltgFixtureNote.notShortDesc.Sort = "ASC" Then %><img src="images/sortup.gif" width="10" height="9" border="0"><% ElseIf ltgFixtureNote.notShortDesc.Sort = "DESC" Then %><img src="images/sortdown.gif" width="10" height="9" border="0"><% End If %></td></tr></table>
  154.         </td>
  155.     <% End If %>
  156. <% End If %>        
  157. <% If ltgFixtureNote.notLPRStatusID.Visible Then ' notLPRStatusID %>
  158.     <% If ltgFixtureNote.SortUrl(ltgFixtureNote.notLPRStatusID) = "" Then %>
  159.         <td>Problem Status</td>
  160.     <% Else %>
  161.         <td class="ewPointer" onmousedown="ew_Sort(event,'<%= ltgFixtureNote.SortUrl(ltgFixtureNote.notLPRStatusID) %>',2);">
  162.             <table cellspacing="0" class="ewTableHeaderBtn"><tr><td>Problem Status</td><td style="width: 10px;"><% If ltgFixtureNote.notLPRStatusID.Sort = "ASC" Then %><img src="images/sortup.gif" width="10" height="9" border="0"><% ElseIf ltgFixtureNote.notLPRStatusID.Sort = "DESC" Then %><img src="images/sortdown.gif" width="10" height="9" border="0"><% End If %></td></tr></table>
  163.         </td>
  164.     <% End If %>
  165. <% End If %>        
  166. <% If ltgFixtureNote.notPriority.Visible Then ' notPriority %>
  167.     <% If ltgFixtureNote.SortUrl(ltgFixtureNote.notPriority) = "" Then %>
  168.         <td>Priority</td>
  169.     <% Else %>
  170.         <td class="ewPointer" onmousedown="ew_Sort(event,'<%= ltgFixtureNote.SortUrl(ltgFixtureNote.notPriority) %>',2);">
  171.             <table cellspacing="0" class="ewTableHeaderBtn"><tr><td>Priority</td><td style="width: 10px;"><% If ltgFixtureNote.notPriority.Sort = "ASC" Then %><img src="images/sortup.gif" width="10" height="9" border="0"><% ElseIf ltgFixtureNote.notPriority.Sort = "DESC" Then %><img src="images/sortdown.gif" width="10" height="9" border="0"><% End If %></td></tr></table>
  172.         </td>
  173.     <% End If %>
  174. <% End If %>        
  175. <% If ltgFixtureNote.notIsActive.Visible Then ' notIsActive %>
  176.     <% If ltgFixtureNote.SortUrl(ltgFixtureNote.notIsActive) = "" Then %>
  177.         <td>Is Active</td>
  178.     <% Else %>
  179.         <td class="ewPointer" onmousedown="ew_Sort(event,'<%= ltgFixtureNote.SortUrl(ltgFixtureNote.notIsActive) %>',2);">
  180.             <table cellspacing="0" class="ewTableHeaderBtn"><tr><td>Is Active</td><td style="width: 10px;"><% If ltgFixtureNote.notIsActive.Sort = "ASC" Then %><img src="images/sortup.gif" width="10" height="9" border="0"><% ElseIf ltgFixtureNote.notIsActive.Sort = "DESC" Then %><img src="images/sortdown.gif" width="10" height="9" border="0"><% End If %></td></tr></table>
  181.         </td>
  182.     <% End If %>
  183. <% End If %>        
  184.     </tr>
  185. </thead>
  186. <tbody><!-- Table body -->
  187. <%
  188. If (ltgFixtureNote.ExportAll AndAlso ltgFixtureNote.Export <> "") Then
  189.     ltgFixtureNote_list.lStopRec = ltgFixtureNote_list.lTotalRecs
  190. Else
  191.     ltgFixtureNote_list.lStopRec = ltgFixtureNote_list.lStartRec + ltgFixtureNote_list.lDisplayRecs - 1 ' Set the last record to display
  192. End If
  193. If ltgFixtureNote.CurrentAction = "gridadd" AndAlso ltgFixtureNote_list.lStopRec = -1 Then
  194.     ltgFixtureNote_list.lStopRec = EW_GRIDADD_ROWS
  195. End If 
  196.  
  197. ' Move to first record
  198. For i As Integer = 1 to ltgFixtureNote_list.lStartRec - 1
  199.     If Rs.Read() Then    ltgFixtureNote_list.lRecCnt = ltgFixtureNote_list.lRecCnt + 1
  200. Next        
  201. ltgFixtureNote_list.lRowCnt = 0
  202.  
  203. ' Output data rows
  204. Do While (ltgFixtureNote.CurrentAction = "gridadd" OrElse Rs.Read()) AndAlso (ltgFixtureNote_list.lRecCnt < ltgFixtureNote_list.lStopRec)
  205.     ltgFixtureNote_list.lRecCnt = ltgFixtureNote_list.lRecCnt + 1
  206.     If ltgFixtureNote_list.lRecCnt >= ltgFixtureNote_list.lStartRec Then
  207.         ltgFixtureNote_list.lRowCnt = ltgFixtureNote_list.lRowCnt + 1
  208.     ltgFixtureNote.CssClass = ""
  209.     ltgFixtureNote.CssStyle = ""
  210.     ltgFixtureNote.RowClientEvents = "onmouseover='ew_MouseOver(event, this);' onmouseout='ew_MouseOut(event, this);' onclick='ew_Click(event, this);'"
  211.     If ltgFixtureNote.CurrentAction = "gridadd" Then
  212.         ltgFixtureNote_list.LoadDefaultValues() ' Load default values
  213.     Else
  214.         ltgFixtureNote_list.LoadRowValues(Rs) ' Load row values
  215.     End If
  216.     ltgFixtureNote.RowType = EW_ROWTYPE_VIEW ' Render view
  217.  
  218.     ' Render row
  219.     ltgFixtureNote_list.RenderRow()
  220. %>
  221.     <tr<%= ltgFixtureNote.RowAttributes %>>
  222. <% If ltgFixtureNote.Export = "" Then %>
  223. <% If Security.CanView Then %>
  224. <td style="white-space: nowrap;"><span class="aspnetmaker">
  225. <a href="<%= ltgFixtureNote.ViewUrl %>"><img src='images/view.gif' alt='View' title='View' width='16' height='16' border='0'></a>
  226. </span></td>
  227. <% End If %>
  228. <% If Security.CanEdit Then %>
  229. <td style="white-space: nowrap;"><span class="aspnetmaker">
  230. <a href="<%= ltgFixtureNote.EditUrl %>"><img src='images/edit.gif' alt='Edit' title='Edit' width='16' height='16' border='0'></a>
  231. </span></td>
  232. <% End If %>
  233. <% If Security.CanDelete Then %>
  234. <td style="white-space: nowrap;"><span class="aspnetmaker">
  235. <a href="<%= ltgFixtureNote.DeleteUrl %>"><img src='images/delete.gif' alt='Delete' title='Delete' width='16' height='16' border='0'></a>
  236. </span></td>
  237. <% End If %>
  238. <%
  239.  
  240. ' Custom list options
  241. For i As Integer = 0 to ltgFixtureNote_list.ListOptions.Items.Count -1
  242.     If ltgFixtureNote_list.ListOptions.Items(i).Visible Then Response.Write(ltgFixtureNote_list.ListOptions.Items(i).BodyCellHtml)
  243. Next
  244. %>
  245. <% End If %>
  246.     <% If ltgFixtureNote.notFixID.Visible Then ' notFixID %>
  247.         <td<%= ltgFixtureNote.notFixID.CellAttributes %>>
  248. <div<%= ltgFixtureNote.notFixID.ViewAttributes %>><%= ltgFixtureNote.notFixID.ListViewValue %></div>
  249. </td>
  250.     <% End If %>
  251.     <% If ltgFixtureNote.notTypeID.Visible Then ' notTypeID %>
  252.         <td<%= ltgFixtureNote.notTypeID.CellAttributes %>>
  253. <div<%= ltgFixtureNote.notTypeID.ViewAttributes %>><%= ltgFixtureNote.notTypeID.ListViewValue %></div>
  254. </td>
  255.     <% End If %>
  256.     <% If ltgFixtureNote.notDate.Visible Then ' notDate %>
  257.         <td<%= ltgFixtureNote.notDate.CellAttributes %>>
  258. <div<%= ltgFixtureNote.notDate.ViewAttributes %>><%= ltgFixtureNote.notDate.ListViewValue %></div>
  259. </td>
  260.     <% End If %>
  261.     <% If ltgFixtureNote.notShortDesc.Visible Then ' notShortDesc %>
  262.         <td<%= ltgFixtureNote.notShortDesc.CellAttributes %>>
  263. <div<%= ltgFixtureNote.notShortDesc.ViewAttributes %>><%= ltgFixtureNote.notShortDesc.ListViewValue %></div>
  264. </td>
  265.     <% End If %>
  266.     <% If ltgFixtureNote.notLPRStatusID.Visible Then ' notLPRStatusID %>
  267.         <td<%= ltgFixtureNote.notLPRStatusID.CellAttributes %>>
  268. <div<%= ltgFixtureNote.notLPRStatusID.ViewAttributes %>><%= ltgFixtureNote.notLPRStatusID.ListViewValue %></div>
  269. </td>
  270.     <% End If %>
  271.     <% If ltgFixtureNote.notPriority.Visible Then ' notPriority %>
  272.         <td<%= ltgFixtureNote.notPriority.CellAttributes %>>
  273. <div<%= ltgFixtureNote.notPriority.ViewAttributes %>><%= ltgFixtureNote.notPriority.ListViewValue %></div>
  274. </td>
  275.     <% End If %>
  276.     <% If ltgFixtureNote.notIsActive.Visible Then ' notIsActive %>
  277.         <td<%= ltgFixtureNote.notIsActive.CellAttributes %>>
  278. <% If Convert.ToString(ltgFixtureNote.notIsActive.CurrentValue) = "1" Then %>
  279. <input type="checkbox" value="<%= ltgFixtureNote.notIsActive.ListViewValue %>" checked onclick="this.form.reset();" disabled="disabled" />
  280. <% Else %>
  281. <input type="checkbox" value="<%= ltgFixtureNote.notIsActive.ListViewValue %>" onclick="this.form.reset();" disabled="disabled" />
  282. <% End If %>
  283. </td>
  284.     <% End If %>
  285.     </tr>
  286. <%
  287.     End If
  288. Loop
  289. %>
  290. </tbody>
  291. </table>
  292. <% End If %>
  293. </form>
  294. <%
  295.  
  296. ' Close recordset
  297. Rs.Close()
  298. Rs.Dispose()
  299. %>
  300. </div>
  301. <% If ltgFixtureNote.Export = "" Then %>
  302. <div class="ewGridLowerPanel">
  303. <% If ltgFixtureNote.CurrentAction <> "gridadd" AndAlso ltgFixtureNote.CurrentAction <> "gridedit" Then %>
  304. <form name="ewpagerform" id="ewpagerform" class="ewForm">
  305. <table border="0" cellspacing="0" cellpadding="0" class="ewPager">
  306.     <tr>
  307.         <td>
  308. <span class="aspnetmaker">
  309. <% If ltgFixtureNote_list.Pager Is Nothing Then ltgFixtureNote_list.Pager = New cNumericPager(ltgFixtureNote_list.lStartRec, ltgFixtureNote_list.lDisplayRecs, ltgFixtureNote_list.lTotalRecs, ltgFixtureNote_list.lRecRange) %>
  310. <% If ltgFixtureNote_list.Pager.RecordCount > 0 Then %>
  311.     <% If ltgFixtureNote_list.Pager.FirstButton.Enabled Then %>
  312.     <a href="<%= ltgFixtureNote_list.PageUrl %>start=<%= ltgFixtureNote_list.Pager.FirstButton.Start %>">First</a> 
  313.     <% End If %>
  314.     <% If ltgFixtureNote_list.Pager.PrevButton.Enabled Then %>
  315.     <a href="<%= ltgFixtureNote_list.PageUrl %>start=<%= ltgFixtureNote_list.Pager.PrevButton.Start %>">Previous</a> 
  316.     <% End If %>
  317.     <% For Each PagerItem As cPagerItem In ltgFixtureNote_list.Pager.Items %>
  318.         <% If PagerItem.Enabled Then %><a href="<%= ltgFixtureNote_list.PageUrl %>start=<%= PagerItem.Start %>"><% End If %><%= PagerItem.Text %><% If PagerItem.Enabled Then %></a><% End If %> 
  319.     <% Next %>
  320.     <% If ltgFixtureNote_list.Pager.NextButton.Enabled Then %>
  321.     <a href="<%= ltgFixtureNote_list.PageUrl %>start=<%= ltgFixtureNote_list.Pager.NextButton.Start %>">Next</a> 
  322.     <% End If %>
  323.     <% If ltgFixtureNote_list.Pager.LastButton.Enabled Then %>
  324.     <a href="<%= ltgFixtureNote_list.PageUrl %>start=<%= ltgFixtureNote_list.Pager.LastButton.Start %>">Last</a> 
  325.     <% End If %>
  326.     <% If ltgFixtureNote_list.Pager.ButtonCount > 0 Then %>    <%    End If %>
  327.     Records <%= ltgFixtureNote_list.Pager.FromIndex %> to <%= ltgFixtureNote_list.Pager.ToIndex %> of <%= ltgFixtureNote_list.Pager.RecordCount %>
  328. <% Else %>
  329.     <% If Security.CanList Then %>
  330.     <% If ltgFixtureNote_list.sSrchWhere = "0=101" Then %>
  331.     Please enter search criteria
  332.     <% Else %>
  333.     No records found
  334.     <% End If %>
  335.     <% Else %>
  336.     You do not have the right permission to view the page
  337.     <% End If %>
  338. <% End If %>
  339. </span>
  340.         </td>
  341. <% If ltgFixtureNote_list.lTotalRecs > 0 Then %>
  342.         <td>    </td>
  343.         <td><table border="0" cellspacing="0" cellpadding="0"><tr><td>Page Size </td><td>
  344. <input type="hidden" id="t" name="t" value="ltgFixtureNote" />
  345. <select name="<%= EW_TABLE_REC_PER_PAGE %>" id="<%= EW_TABLE_REC_PER_PAGE %>" onchange="this.form.submit();" class="aspnetmaker">
  346. <option value="10"<% If ltgFixtureNote_list.lDisplayRecs = 10 Then %> selected="selected"<% End If %>>10</option>
  347. <option value="20"<% If ltgFixtureNote_list.lDisplayRecs = 20 Then %> selected="selected"<% End If %>>20</option>
  348. <option value="50"<% If ltgFixtureNote_list.lDisplayRecs = 50 Then %> selected="selected"<% End If %>>50</option>
  349. <option value="ALL"<% If ltgFixtureNote.RecordsPerPage = -1 Then %> selected="selected"<% End If %>>All</option>
  350. </select></td></tr></table>
  351.         </td>
  352. <% End If %>
  353.     </tr>
  354. </table>
  355. </form>
  356. <% End If %>
  357. <% 'If ltgFixtureNote_list.lTotalRecs > 0 Then %>
  358. <div class="aspnetmaker">
  359. <% If Security.CanAdd Then %>
  360. <a href="<%= ltgFixtureNote.AddUrl %>">Add</a>  
  361. <% End If %>
  362. </div>
  363. <% 'End If %>
  364. </div>
  365. <% End If %>
  366. </td></tr></table>
  367. <% If ltgFixtureNote.Export = "" AndAlso ltgFixtureNote.CurrentAction = "" Then %>
  368. <script type="text/javascript">
  369. <!--
  370. //ew_ToggleSearchPanel(ltgFixtureNote_list); // uncomment to init search panel as collapsed
  371. //-->
  372. </script>
  373. <% End If %>
  374. <% If ltgFixtureNote.Export = "" Then %>
  375. <script language="JavaScript" type="text/javascript">
  376. <!--
  377. // Write your table-specific startup script here
  378. // document.write("page loaded");
  379. //-->
  380. </script>
  381. <% End If %>
  382. </asp:Content>
  383.