global $arr_header;
global $key_id;
$key_id = "supplier_id";
$arr_header = array("supplier_name" => "Supplier name", "supplier_home_phone" => "Home phone", "supplier_work_phone" => "Work phoe", "supplier_mobile_phone" => "Mobile phone", "supplier_fax_number" => "Fax number", "supplier_address" => "Address");
global $needEdit;
$needEdit = false;
global $service_list;
global $totalCount;
global $curPage;
global $totalPage;
$service_list = new SupplierService();
$totalCount = $service_list->GetCount("select count(*) from supplier");
$totalPage = $service_list->GetTotalPage($totalCount);
$curPage = $service_list->GetCurrentPage($totalPage);
$sql = " select * from supplier ";
$sql = $service_list->SetPaging($sql, $curPage);
global $rows;
$rows = $service_list->GetRows($sql);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CRAZY HATS</title>
<link rel="stylesheet" href="../css/style2.css" type="text/css" />
<script src="../js/Common.js" type="text/javascript"></script>
<style type="text/css">
.submit_btn { 
	padding: 5px 12px; 
	text-align: center; 
	text-decoration: none;