Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<div id="content">
2
    <form id='ov_search_form' method="post">
3
        <table class="search">
4
        	<tr>
5
        	    <th><?php echo $spText['common']['Website']?>: </th>
6
        		<td>
7
        			<select name="website_id" id="website_id" onchange="$('#ov_search_form').submit()">
8
        				<?php foreach($siteList as $websiteInfo){?>
9
        					<?php if($websiteInfo['id'] == $websiteId){?>
10
        						<option value="<?php echo $websiteInfo['id']?>" selected><?php echo $websiteInfo['name']?></option>
11
        					<?php }else{?>
12
        						<option value="<?php echo $websiteInfo['id']?>"><?php echo $websiteInfo['name']?></option>
13
        					<?php }?>
14
        				<?php }?>
15
        			</select>
16
        		</td>
17
        		<th><?php echo $spText['common']['Period']?>:</th>
18
        		<td>
19
        			<input type="text" value="<?php echo $fromTime?>" name="from_time" id="from_time"/>
20
        			<input type="text" value="<?php echo $toTime?>" name="to_time" id="to_time"/>
21
        			<script>
22
        			  $( function() {
23
        			    $( "#from_time, #to_time").datepicker({dateFormat: "yy-mm-dd"});
24
        			  } );
25
        		  	</script>
26
        		</td>
27
        		<td>
28
            		<a href="javascript:void(0);" onclick="$('#ov_search_form').submit()" class="actionbut">
29
            			<?php echo $spText['button']['Search']?>
30
            		</a>
31
        		</td>
32
        	</tr>
33
        </table>
34
    </form>
35
	<?php
36
	$baseUrl = "overview.php?website_id=$websiteId&from_time=$fromTime&to_time=$toTime";
37
	?>
38
	<br>
39
 
40
	<?php echo showSectionHead($spTextHome["Page Overview Report"]);?>
41
	<div id="page_overview_tab">
42
    	<script type="text/javascript">
43
           	scriptDoLoad('<?php echo $baseUrl?>', 'page_overview_tab', 'sec=page-overview');
44
    	</script>
45
	</div>
46
	<br>
47
 
48
	<?php echo showSectionHead($spTextHome["Keyword Overview Report"]);?>
49
	<div id="keyword_overview_tab">
50
    	<script type="text/javascript">
51
           	scriptDoLoad('<?php echo $baseUrl?>', 'keyword_overview_tab', 'sec=keyword-overview');
52
    	</script>
53
	</div>
54
 
55
</div>