コード例 #1
0
function jtracker_customer($customers_id)
{
    $result = jtracker_info($customers_id);
    return $result;
}
コード例 #2
0
ファイル: tracker.php プロジェクト: wwxgitcat/zencart_v1.0
$limit = 50;
if (isset($_GET['limit'])) {
    $limit = (int) $_GET['limit'];
}
if ($limit <= 0) {
    $limit = 50;
}
if (isset($_GET['page'])) {
    $page = (int) $_GET['page'];
}
$stat = jtracker_total();
if ($page <= 0 || $page > ceil((int) $stat['track_total'] / (int) $limit)) {
    $page = 1;
}
$start = ($page - 1) * $limit;
$stat['all_stat'] = jtracker_info(0, 0, $start, $limit);
?>
<!DOCTYPE html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php 
echo HTML_PARAMS;
?>
>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo CHARSET;
?>
">
<title><?php 
echo TITLE;
?>
</title>