/** * NG/あぼ〜ん日時と回数を更新 * * @access private * @return void */ function ngAbornUpdate($ngcode, $k) { global $_ngaborns; if (isset($_ngaborns[$ngcode]['data'][$k])) { $v =& $_ngaborns[$ngcode]['data'][$k]; $v['lasttime'] = date('Y/m/d G:i'); // HIT時間を更新 if (empty($v['hits'])) { $v['hits'] = 1; // 初HIT } else { $v['hits']++; // HIT回数を更新 } } NgAbornCtl::countNgAbornsHits($ngcode); }