コード例 #1
0
ファイル: point_log.php プロジェクト: akswosn/Smartax
<?php

require_once "./class/Utils.php";
require_once "./class/DBWork.php";
require_once "./class/DBMemberWork.php";
require_once "./class/Display.php";
$memWork = new DBMemberWork();
$memWork->setPageInfo(20, 10, 100);
$total_count = 0;
$contents = $_GET['contents'];
try {
    $memWork->createWork($_GET, FALSE);
    $total_count = $memWork->requestPointUseLog();
} catch (Exception $e) {
    $memWork->destoryWork();
    echo $e->getMessage();
    Util::serverLog($e);
    exit;
}
function displayPointList($memWork)
{
    while ($post = $memWork->fetchMixedRow()) {
        ?>
				<tr>
					<td><?php 
        echo $post['pu_id'];
        ?>
</td>
					<td><?php 
        echo $post['pu_co_nm'];
        ?>