Location: PHPKode > projects > Clinical Handover Database > output/templates/Current_Jobs_list.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Current Jobs</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"><LINK 
href="include/style.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY bgColor=white topMargin=5 {$onload}>{$includes}{include_if_exists file="include/header.php"}
<FORM name=frmSearch action=Current_Jobs_list.php method=get><input type="Hidden" name="a" value="search"><input type="Hidden" name="value" value="1"><input type="Hidden" name="SearchFor" value=""><input type="Hidden" name="SearchOption" value=""><input type="Hidden" name="SearchField" value=""></FORM>{include file="$showmasterfile"}
<TABLE>
  <TBODY>
  <TR>
    <TD width=30>&nbsp;</TD>
    <TD align=middle><FONT size=+0><B>&nbsp;Current&nbsp;Jobs</B></FONT></TD>
    <TD align=middle width=50>
    <TD align=middle width="80%">
      <TABLE align=center border=0>
        <TBODY>
        <TR>
          <TD width=10>&nbsp;</TD>{if $mastertable!=""}
          <TD align=middle><A 
            href="{$mastertable_short}_list.php?a=return">Back to Master 
            table</A></TD>
          <TD width=20>&nbsp;</TD>{/if}
          <TD align=middle>Logged as&nbsp;<B>{$userid}</B>&nbsp;<A 
            href="login.php?a=logout">Log out</A></TD>
          <TD width=20>&nbsp;</TD>
          <TD align=middle>&nbsp;<A href="changepwd.php">Change 
password</A></TD>
          <TD width=20>&nbsp;</TD><OPTION 
          value="Current_Patients_list.php"></OPTION>{if $allow_search}
          <TD align=middle><A href="Current_Jobs_search.php">Advanced 
            search</A></TD>
          <TD width=20>&nbsp;</TD>{/if}{if $allow_export}
          <TD align=middle><A href="Current_Jobs_print.php" target=_blank><IMG 
            src="images/printer.gif" border=0></A></TD>
          <TD align=middle><A href="Current_Jobs_print.php" 
            target=_blank>Printer-friendly version</A></TD>
          <TD 
  width=20>&nbsp;</TD>{/if}</TR></TBODY></TABLE></TD></TR></TBODY></TABLE>{doevent name="ListOnLoad"}
<TABLE 
style="BORDER-RIGHT: #c0c0c0 1px solid; BORDER-TOP: #c0c0c0 1px solid; BORDER-LEFT: #c0c0c0 1px solid; BORDER-BOTTOM: #c0c0c0 1px solid" 
cellSpacing=1 cellPadding=4 width="95%" align=center border=0>
  <TBODY>
  <TR>{if $allow_add}<!-- Add new record -->
    <TD class=shade align=middle><A href="Current_Jobs_add.php">Add new</A></TD>{/if}{if $allow_search}<!-- how many records found-->
    <TD class=shade align=middle>Details found: {$records_found}<BR>Page {$page}of {$maxpages}</TD><!--Records per page-->
    <TD class=shade align=middle>Records Per Page::<BR><SELECT 
      onchange="javascript: document.location='Current_Jobs_list.php?pagesize='+this.options[this.selectedIndex].value;"><OPTION 
        value=10 selected {$rpp10_selected}>10</OPTION><OPTION value=20 
        {$rpp20_selected}>20</OPTION><OPTION value=30 
        {$rpp30_selected}>30</OPTION><OPTION value=50 
        {$rpp50_selected}>50</OPTION><OPTION value=100 
        {$rpp100_selected}>100</OPTION><OPTION value=500 
        {$rpp500_selected}>500</OPTION></SELECT></TD></TR></TBODY></TABLE>{if $rowsfound}{if $allow_delete}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A 
onclick="var i; bSelected = !bSelected; &#13;&#10;if ((typeof frmAdmin.elements['mdelete[]'].length)=='undefined')&#13;&#10;&#9;frmAdmin.elements['mdelete[]'].checked=bSelected;&#13;&#10;else&#13;&#10;for (i=0;i<frmAdmin.elements['mdelete[]'].length;++i) &#13;&#10;&#9;frmAdmin.elements['mdelete[]'][i].checked=bSelected;" 
href="#">Select/Unselect all</A> &nbsp;&nbsp;<A 
onclick="if (confirm('Do you really want to delete these records?')) frmAdmin.submit(); return false;" 
href="#">Delete selected</A> {/if}<!-- delete form -->
<FORM name=frmAdmin action=Current_Jobs_list.php method=post><input type=hidden id="a" name="a" value="delete">
<TABLE 
style="BORDER-RIGHT: #c0c0c0 1px solid; BORDER-TOP: #c0c0c0 1px solid; BORDER-LEFT: #c0c0c0 1px solid; BORDER-BOTTOM: #c0c0c0 1px solid" 
cellSpacing=2 cellPadding=3 width="95%" align=center border=0><!-- table header -->
  <TBODY>
  <TR class=blackshade vAlign=top><!--{if $column1show}-->{if $allow_edit}
    <TD align=middle><IMG alt="" src="images/report_edit.png" border=0></TD>{/if}
    <TD align=middle><IMG alt="" src="images/folder_go.png" border=0></TD>{if $allow_delete}
    <TD align=middle><IMG alt="" src="images/user_delete.png" border=0></TD>{/if}
    <TD>
      <TABLE>
        <TBODY>
        <TR>
          <TD class=blackshade><A class=blackshade 
            href="Current_Jobs_list.php?orderby={$order_dir_Patient_Name}Patient+Name">Patient 
            Name</A></TD>
          <TD>{$order_image_Patient_Name}</TD></TR></TBODY></TABLE></TD>
    <TD>
      <TABLE>
        <TBODY>
        <TR>
          <TD class=blackshade><A class=blackshade 
            href="Current_Jobs_list.php?orderby={$order_dir_Consultant}Consultant">Consultant</A></TD>
          <TD>{$order_image_Consultant}</TD></TR></TBODY></TABLE></TD>
    <TD>
      <TABLE>
        <TBODY>
        <TR>
          <TD class=blackshade><A class=blackshade 
            href="Current_Jobs_list.php?orderby={$order_dir_Date}Date">Date</A></TD>
          <TD>{$order_image_Date}</TD></TR></TBODY></TABLE></TD>
    <TD>
      <TABLE>
        <TBODY>
        <TR>
          <TD class=blackshade><A class=blackshade 
            href="Current_Jobs_list.php?orderby={$order_dir_Type}Type">Type</A></TD>
          <TD>{$order_image_Type}</TD></TR></TBODY></TABLE></TD>
    <TD>
      <TABLE>
        <TBODY>
        <TR>
          <TD class=blackshade><A class=blackshade 
            href="Current_Jobs_list.php?orderby={$order_dir_Status}Status">Status</A></TD>
          <TD>{$order_image_Status}</TD></TR></TBODY></TABLE></TD>
    <TD>
      <TABLE>
        <TBODY>
        <TR>
          <TD class=blackshade><A class=blackshade 
            href="Current_Jobs_list.php?orderby={$order_dir_Name}Name">Name</A></TD>
          <TD>{$order_image_Name}</TD></TR></TBODY></TABLE></TD>
    <TD>
      <TABLE>
        <TBODY>
        <TR>
          <TD class=blackshade><A class=blackshade 
            href="Current_Jobs_list.php?orderby={$order_dir_Result}Result">Result</A></TD>
          <TD>{$order_image_Result}</TD></TR></TBODY></TABLE></TD>
    <TD>
      <TABLE>
        <TBODY>
        <TR>
          <TD class=blackshade><A class=blackshade 
            href="Current_Jobs_list.php?orderby={$order_dir_Notes}Notes">Notes</A></TD>
          <TD>{$order_image_Notes}</TD></TR></TBODY></TABLE></TD><!--{/if}--><!-- table data --><!--{foreach from=$rowinfo item=row}-->
  <TR onmouseover="this.className = 'rowselected';" 
  onmouseout="this.className = '{$row.shadeclassname}';" vAlign=top 
  {$row.shadeclass}>{if $allow_edit}
    <TD align=middle><A href="Current_Jobs_edit.php?{$row.1editlink}">Edit</A> 
      &nbsp;</TD>{/if}
    <TD align=middle><A href="Current_Jobs_view.php?{$row.1editlink}">View</A> 
      &nbsp;</TD>{if $allow_delete}
    <TD align=middle><INPUT type=checkbox value={$row.1recno} 
      name=mdelete[]><input type=hidden name="mdelete1[]" value="{$row.1id1}">&nbsp;</TD>{/if}
    <TD>{$row.1Patient_Name_value}</TD>
    <TD>{$row.1Consultant_value}</TD>
    <TD>{$row.1Date_value}</TD>
    <TD>{$row.1Type_value}</TD>
    <TD>{$row.1Status_value}</TD>
    <TD>{$row.1Name_value}</TD>
    <TD>{$row.1Result_value}</TD>
    <TD>{$row.1Notes_value}</TD><!--{/foreach}-->{/if}{/if}</TR></TBODY></TABLE></FORM>
<P>&nbsp;</P>
<P align=center><B>{$message}</B></P>{if $allow_search}{$pagination} {/if}{include_if_exists file="include/footer.php"}</BODY></HTML>
Return current item: Clinical Handover Database