<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="java.util.List"%>
<%@page import="admin.model.SupportInfo"%>
<% 
SupportInfo spi = (SupportInfo) request.getAttribute("spi");
if( spi == null){
%><% } else { %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel=stylesheet href='images/style.css' type=text/css>
<link rel="stylesheet" type="text/css" href="images/AjaxForm.css" />
<script type="text/javascript" src="js/CreatesSp.js"></script>
<script>
document.title="Sửa Hỗ Trợ > <%= spi.getName() %>";
document.getElementById("titleMod").innerHTML = "Sửa Hỗ Trợ";
</script>
<title>Edit Ho Tro Online</title>

</head>
<body>
<div align="Center" style="border:1px solid #cfcfcf;padding:20px 10px 10px 10px;background-color:#f3f3f3; width:412px ">

  <form name="form" id="formRegister" action="../Support" onsubmit="return validate(this)" method="post">
  <input type="hidden" name="rep" value="update"/>
  <input type="hidden" name="id" value="<%= spi.getId() %>"/>
  <Table>
<tr><td>Yahoo</td><td><input type="text" name="yahoo" id="yahoo" value="<%= spi.getYahoo()%>"></td></tr>
<tr><td>Tên</td><td><input type="text" name="name" id="name" value="<%= spi.getName()%>"></td></tr>
<tr><td>Số Điện Thoại<td><input type="text" name="phone" id="phone" value="<%= spi.getPhone()%>"></td></tr>
<tr><td><br><input type="submit" class="UniXT" value="Chấp nhận"></td><td><br><input class="UniXT" type="reset" value="Nhập Lại"></td></tr>
   </table> 
  </form>
</div> 
</body>
<% } %>
</html>