global $needEdit; $needEdit = false; //global $editUrl; //$editUrl = "Login.php"; global $service_list; global $totalCount; global $curPage; global $totalPage; $service_list = new CategoryService(); global $rows; $totalCount = $service_list->GetCount("select count(*) from category"); $totalPage = $service_list->GetTotalPage($totalCount); $curPage = $service_list->GetCurrentPage($totalPage); $sql = " select * from category "; $sql = $service_list->SetPaging($sql, $curPage); $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> <script src="../js/Common.js" type="text/javascript"></script> <style type="text/css"> .submit_btn { padding: 5px 12px; text-align: center; text-decoration: none; font-weight: bold; background-color: #404040; border: 1px solid #fff;