<!DOCTYPE html>
<!--[if IE 8 ]><html dir="ltr" lang="zh-TW" class="ie8"><![endif]-->
<!--[if IE 9 ]><html dir="ltr" lang="zh-TW" class="ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html dir="ltr" lang="zh-TW">
<!--<![endif]-->
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
<title>管理後臺</title>
<meta name="robots" content="noindex, nofollow" />
<link href="less/page.less" rel="stylesheet/less">
<link href="css/main.css" rel="stylesheet">
<link href="css/page.css" rel="stylesheet">
<script src="/jquery/jquery-1.10.js"></script>
<!-- 下拉選單 -->
<link href="/jquery/select/nice-select.css" rel="stylesheet">
<script src="/jquery/select/jquery.nice-select.js"></script>
<script>
	if('<?# alertMsg ?>' != ''){
		alert('<?# alertMsg ?>');
		if('<?# goBack ?>' == 'Y') history.back();
	}
	if('<?# locationHref ?>' != '') location.href = '<?# locationHref ?>';
</script>
</head>
<body>
	<?# sidePage ?>
	<div class="pos_rel" id="content">
		<?# header ?>
		<div class="row mt_10 mb_5 h3 page_title">IP點擊次數</div>
		<form id="form1" name="form1">
			<div class="card">
				<div class="pos_rel bg_g_100 tabs_warp" id="tabs_warp">
					<div class="tabs_list">
						<a class="tabs_item" href="countAnalyze.php">全站瀏覽人數分析</a>
						<a class="tabs_item" href="countLast100.php">最後一百位訪客</a>
						<a class="tabs_item" data-action="true" href="javascript:void(0);">IP點擊次數</a>
					</div>
				</div>
				<div class="mall_5 search_box">
					<div class="mr_5 d_inblock">
                        <label>分析月份</label>
                        <select id="ym" name="ym">
                            <php:repeater id="listT">
                            <template>
                            <option value="<?# ym ?>"><?# ym ?></option>
                            </template>
                            </php:repeater>
                        </select>
                    </div>
					<div class="d_inblock"><a id="btnOK" class="btn btn_info" href="javascript:void(0);">搜尋</a></div>
				</div>
				<ul class="list_box">
					<php:repeater id="listL">
					<template>
					<li class="d_lg_flex">
						<p class="col_lg_3"><label>IP</label><font><a class="badge badge_soft_primary" href="countIP2.php?ip=<?# IP ?>&ym=<?# ym ?>" target="_blank"><?# IP ?></a></font></p>
						<p class="col_lg_2"><label>點擊數</label><font><?# Count ?></font></p>
					</li>
					</template>
					</php:repeater>
				</ul>
			</div>
		</form>
		<?# footer ?>
	</div>
</body>
</html>
<script>
	$(function(){
		$('#ym').val('<?# ym ?>');
		
		$('select').niceSelect();
		
		$('#btnOK').click(function(){
			$('#form1').submit();
		});
	});
</script>