public function SetPageData()
 {
     // 不正パラメータは書き換える ----------------------------------------------
     $pn = $_GET["pn"];
     if (!ctype_digit($pn) or $pn < 1) {
         $pn = 1;
     }
     if ($pn > self::C_SAFETY_NUMBER) {
         $pn = self::C_SAFETY_NUMBER;
     }
     $_GET["pn"] = $pn;
     $pl = $_GET["pl"];
     if (!ctype_digit($pl) or $pl < 1) {
         $pl = self::C_LIST_CNT_MAX;
     }
     if ($pl > self::C_SAFETY_LIMIT) {
         $pl = self::C_SAFETY_LIMIT;
     }
     $_GET["pl"] = $pl;
     // 一覧データ取得 ----------------------------------------------------------
     $row_count = 0;
     $result = $this->GetDataList();
     if ($result["status"] == 1) {
         $row_count = $result["row_count"];
         $pre = $result["list"][0];
         $list = $this->SetColumnStatus($result["list"]);
         $new_list = [];
         for ($i = 0; $i < count($list); $i++) {
             $row = $list[$i];
             if ($row["column_path"] != $pre["column_path"]) {
                 $new_list[] = null;
             }
             $new_list[] = $row;
             $pre = $row;
         }
         $this->smarty->assign("lstData", $new_list);
     }
     $this->smarty->assign("row_count", $row_count);
     // ページャー関連 ----------------------------------------------------------
     $page_arr = comPager("PageLoad", $row_count, $_GET["pl"], self::C_LIST_COL_CNT);
     $this->smarty->assign("pager", $page_arr);
     // ソート関連 --------------------------------------------------------------
     unset($sort_mode);
     $sort_mode["creation_date"] = "";
     $sort_mode["midashi_title"] = "";
     $sort_mode["keisai_datetime"] = "";
     $sort_mode["keisai_flg"] = "";
     $sort = cmnGetSortInfo($sort_mode);
     $this->smarty->assign("sort", $sort);
 }
 public function SetPageData()
 {
     // 不正パラメータは書き換える ----------------------------------------------
     $pn = $_GET["pn"];
     if (!ctype_digit($pn) or $pn < 1) {
         $pn = 1;
     }
     if ($pn > self::C_SAFETY_NUMBER) {
         $pn = self::C_SAFETY_NUMBER;
     }
     $_GET["pn"] = $pn;
     $pl = $_GET["pl"];
     if (!ctype_digit($pl) or $pl < 1) {
         $pl = self::C_LIST_CNT_MAX;
     }
     if ($pl > self::C_SAFETY_LIMIT) {
         $pl = self::C_SAFETY_LIMIT;
     }
     $_GET["pl"] = $pl;
     // 一覧データ取得 ----------------------------------------------------------
     $row_count = 0;
     $result = $this->GetDataList();
     if ($result["status"] == 1) {
         $row_count = $result["row_count"];
         $this->smarty->assign("lstData", $result["list"]);
     }
     $this->smarty->assign("row_count", $row_count);
     // ページャー関連 ----------------------------------------------------------
     $page_arr = comPager("PageLoad", $row_count, $_GET["pl"], self::C_LIST_COL_CNT);
     $this->smarty->assign("pager", $page_arr);
     // ソート関連 --------------------------------------------------------------
     unset($sort_mode);
     $sort_mode["user_no"] = "";
     $sort_mode["user_nm"] = "";
     $sort_mode["user_kn"] = "";
     $sort_mode["user_id"] = "";
     $sort_mode["e_mail"] = "";
     $sort_mode["last_login_time"] = "";
     $sort = cmnGetSortInfo($sort_mode);
     $this->smarty->assign("sort", $sort);
 }