<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理後臺</title>
<meta name="keywords" content="管理後臺" />
<meta name="description" content="管理後臺" />
<script src="/jquery/jquery-1.8.2.min.js"></script>
</head>
<body>
	<div class="wrapper">
    	<?# header ?>
    	<div class="wrap">
        	<?# sidePage ?>
            <div class="contentMain">
            	<h3>搜尋引擎分析</h3>
                <div class="article">
                    <div id="countBtn">
                        <a href="countAnalyze.php">瀏覽人數分析</a>
                        <a href="countLast100.php">最後一百位訪客</a>
                        <a class="action" href="countSearchEngine.php">搜尋引擎分析</a>
                        <a href="countIP.php">IP點擊次數</a>
                    </div>
                    <form id="form1" name="form1" method="post" action="countSearchEngine.php">
                        <p style="margin: 15px 0;">
                            分析月份：
                            <select id="ym" name="ym">
                                <php:repeater id="listT">
                                    <template>
                                        <option value="<?# ym ?>"><?# ym ?></option>
                                    </template>
                                </php:repeater>
                            </select>
                            <input type="button" id="btnOK" name="btnOK" value="搜尋" />
                        </p>
                    </form>
                    <ul class="countSearch">
                        <php:repeater id="listC">
                            <template>
                                <li><?# title ?>：<?# count ?><?# percent ?></li>
                            </template>
                        </php:repeater>
                    </ul>
                </div>
            </div>
        </div>
        <?# footer ?>
    </div>
	<script type="text/javascript">
		$(function(){
			$('#ym').val('<?# ym ?>');
			$('#btnOK').click(function(){
				$('#form1').submit();
			});
		});
	</script>
</body>
</html>