function avatar_page_jump($now_get, $avata_jump_num, $get_count) { if ($now_get == 0 || !is_int($now_get / $avata_jump_num)) { return FALSE; } data_go('member&myac=avatar_get&submit=1&jump=1'); exit; }
function flip() { $get_count = $this->pick_cache_data['get_count'] + 1; if (($this->i == $get_count || $this->i > $get_count) && $get_count > 1) { $this->finsh(); return FALSE; } if (intval($this->pick_config['pick_config']['max_memory_per']) < intval($this->status_arr['memory'])) { show_pick_info(milu_lang('to_max_memory'), 'finsh', $this->status_arr); $this->finsh(); exit; } $jump_num = $this->p_arr['jump_num'] ? $this->p_arr['jump_num'] : $pick_config['pick_num']; $j = intval($this->i) - 1; if (is_int($j / $jump_num) && $j != 0 && $this->msg_args['is_cron'] != 1) { if ($this->p_arr['stop_time'][1]) { sleep($this->p_arr['stop_time'][1]); } cache_data('pick' . $this->pid, $this->pick_cache_data); data_go('picker_manage&pid=' . $this->pid . '&myaction=get_article&submit=1&no_check_url=' . $_GET['no_check_url']); exit; } return TRUE; }