<table width="200" border="0" align="center">
  <tr>
    <td><a href="http://ul.uc.edu/uclit/teaming/equipment/add_home.php"><img src="addequip.jpg" alt="Add" width="120" height="50" border="0" /></a></td>
    <td><a href="http://ul.uc.edu/uclit/teaming/equipment/sel_allequiptdetail.php"><img src="equipbydept.jpg" alt="dept" width="120" height="50" border="0" /></a></td>
    <td><a href="http://ul.uc.edu/uclit/teaming/equipment/show_move.php"><img src="searchequip.jpg" alt="search" width="120" height="50" border="0" /></a></td>
    <td><a href="http://ul.uc.edu/uclit/teaming/equipment/show_assignequipt.php"><img src="Assign.jpg" alt="assign" width="120" height="50" border="0" /></a></td>
    <td><a href="http://ul.uc.edu/uclit/teaming/equipment/printmon.php"><img src="printmon.jpg" alt="print" width="120" height="50" border="0" /></a></td>
  </tr>
</table>

<?php
	include('/var/www/html/uclit/protected/connections/db_equip.php');

	$db = mysql_select_db('equipment', $equipConn) or die ("Unable to select equipment database.");
	
	if (isset($_GET['computer_serial']))
	{
		$cserial = $_GET['computer_serial'];
		echo"
		<FORM METHOD='post' ACTION='move_stock.php'>

  <TABLE CELLSPACING='3' CELLPADDING='3'>
    <TR>
      <TD height='125' VALIGN=TOP><P><STRONG>Select Stock Room Number:</STRONG><BR>
          <select name='stock_room'>
            <option selected value=''>Select.......</option>

					<option value='465'>465</option>
					<option value='466'>466</option>
					<option value='650D'>650D</option>
					<option value='657'>657</option>

          </select>
        <P> 
		<input type='hidden' name='computer_serial' value='$cserial' size=50>
          <INPUT TYPE='SUBMIT' NAME='Send to Surplus' VALUE='Send to Stock'>
        </P></TD>
    </TR>
  </TABLE>
</FORM>

		<h2>Computer '$cserial ' will be sent to the selected Stock Room</h2>
			  $display_block
			  <br /> <a href='show_move.php'>Move another Workstation</a>";
		}	
	else  
	{
		header("Location: ./uclit/teaming/equipment/show_pcsearch.php");
		exit;				
	}
		

?>