Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
2
	<tr class="listHead">
3
		<td class="left"><?php echo $spText['common']['Url']?></td>
4
		<td>Google</td>
5
		<td class="right">Bing</td>
6
	</tr>
7
	<?php
8
	$colCount = 3;
9
	if(count($list) > 0){
10
		$catCount = count($list);
11
		$i = 0;
12
		foreach($list as $url){
13
 
14
			$class = ($i % 2) ? "blue_row" : "white_row";
15
            if($catCount == ($i + 1)){
16
                $leftBotClass = "tab_left_bot";
17
                $rightBotClass = "tab_right_bot";
18
            }else{
19
                $leftBotClass = "td_left_border td_br_right";
20
                $rightBotClass = "td_br_right";
21
            }
22
            $tdWidth = "25%";
23
            $debugVar = !empty($_POST['debug']) ? "&debug=1" : "";
24
            $debugVar .= !empty($_POST['debug_format']) ? "&debug_format=" . $_POST['debug_format'] : "" ;
25
			?>
26
			<tr class="<?php echo $class?>">
27
				<td class="<?php echo $leftBotClass?>" style="text-align:left;padding-left:10px;"><?php echo $url?></td>
28
				<td class="td_br_right" width="<?php echo $tdWidth?>" id='googlerank<?php echo $i?>'>
29
					<script type="text/javascript">
30
						scriptDoLoadPost('saturationchecker.php', 'tmp', 'googlerank<?php echo $i?>', 'sec=saturation&engine=google&url=<?php echo urlencode($url); ?><?php echo $debugVar?>');
31
					</script>
32
				</td>
33
				<td class="<?php echo $rightBotClass?>" width="<?php echo $tdWidth?>" id='msnrank<?php echo $i?>'>
34
					<script type="text/javascript">
35
						scriptDoLoadPost('saturationchecker.php', 'tmp', 'msnrank<?php echo $i?>', 'sec=saturation&engine=msn&url=<?php echo urlencode($url); ?><?php echo $debugVar?>');
36
					</script>
37
				</td>
38
			</tr>
39
			<?php
40
			$i++;
41
		}
42
	}else{
43
		echo showNoRecordsList($colCount-2);
44
	}
45
	?>
46
	<tr class="listBot">
47
		<td class="left" colspan="<?php echo ($colCount-1)?>"></td>
48
		<td class="right"></td>
49
	</tr>
50
</table>