Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<table id="cust_tab">
2
	<tr>
3
		<th><?php echo $spText['common']['Source']?></th>
4
		<?php foreach ($metricColList as $metricLabel) {?>
5
			<th><?php echo $metricLabel?></th>
6
		<?php }?>
7
	</tr>
8
	<tr>
9
		<td><?php echo$spText['common']['Total']?></td>
10
		<?php foreach ($metricColList as $metricName => $metricLabel) {?>
11
			<td>
12
				<?php echo $websiteReport[$metricName]?><?php echo $metricName == 'bounceRate' ? "%" : ""?>
13
			</td>
14
		<?php }?>
15
	</tr>
16
</table>
17
 
18
<script type="text/javascript">
19
$(document).ready(function() {
20
    $("table").tablesorter({
21
		sortList: [[2,1]]
22
    });
23
});
24
</script>
25
 
26
<br>
27
<?php //echo showSectionHead($spTextTools['Keyword Search Reports']); ?>
28
<table id="cust_tab" class="tablesorter">
29
	<thead>
30
		<tr>
31
			<th><?php echo $spText['common']['Source']?></th>
32
			<?php foreach ($metricColList as $metricLabel) {?>
33
				<th><?php echo $metricLabel?></th>
34
			<?php }?>
35
		</tr>
36
	</thead>
37
	<tbody>
38
		<?php
39
		foreach($sourceReport as $sourceName => $listInfo){
40
			?>
41
			<tr>
42
				<td><?php echo $sourceName?></td>
43
				<?php foreach ($metricColList as $metricName => $metricLabel) {?>
44
					<td>
45
						<?php echo $listInfo[$metricName]?><?php echo $metricName == 'bounceRate' ? "%" : ""?>
46
					</td>
47
				<?php }?>
48
			</tr>
49
		<?php }?>
50
	</tbody>
51
</table>