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']['Id']?></td>
4
		<td><?php echo $spText['common']['Url']?></td>
5
		<td><?php echo $spText['common']['MOZ Rank']?></td>
6
		<td><?php echo $spText['common']['Domain Authority']?></td>
7
		<td><?php echo $spText['common']['Page Authority']?></td>
8
		<td class="right"><?php echo $spText['common']['Alexa Rank']?></td>
9
	</tr>
10
	<?php
11
	$colCount = 6;
12
	if(count($list) > 0){
13
		$catCount = count($list);
14
		$i = 0;
15
		foreach($list as $url){
16
 
17
			$class = ($i % 2) ? "blue_row" : "white_row";
18
            if($catCount == ($i + 1)){
19
                $leftBotClass = "tab_left_bot";
20
                $rightBotClass = "tab_right_bot";
21
            }else{
22
                $leftBotClass = "td_left_border td_br_right";
23
                $rightBotClass = "td_br_right";
24
            }
25
 
26
            $debugVar = !empty($_POST['debug']) ? "&debug=1" : "";
27
            $debugVar .= !empty($_POST['debug_format']) ? "&debug_format=" . $_POST['debug_format'] : ""
28
			?>
29
			<tr class="<?php echo $class?>">
30
				<td class="<?php echo $leftBotClass?>"><?php echo ($i+1)?></td>
31
				<td class="td_br_right" style="text-align: left;"><?php echo $url?></td>
32
				<td width="150px" id='mozrank<?php echo $i?>' class='td_br_right rankarea'>
33
					<b class="success"><?php echo empty($mozRankList[$i]['moz_rank']) ? "-" : $mozRankList[$i]['moz_rank']; ?></b>
34
				</td>
35
				<td width="150px" class='td_br_right rankarea'>
36
					<b class="success"><?php echo empty($mozRankList[$i]['domain_authority']) ? "-" : $mozRankList[$i]['domain_authority']; ?></b>
37
				</td>
38
				<td width="150px" class='td_br_right rankarea'>
39
					<b class="success"><?php echo empty($mozRankList[$i]['page_authority']) ? "-" : $mozRankList[$i]['page_authority']; ?></b>
40
				</td>
41
				<td class="<?php echo $rightBotClass?>" width="150px" id='alexarank<?php echo $i?>' class='rankarea'>
42
					<script type="text/javascript">
43
						scriptDoLoadPost('rank.php', 'tmp', 'alexarank<?php echo $i?>', 'sec=showalexa&url=<?php echo urlencode($url); ?><?php echo $debugVar?>');
44
					</script>
45
				</td>
46
			</tr>
47
			<?php
48
			$i++;
49
		}
50
	}else{
51
		echo showNoRecordsList($colCount-2);
52
	}
53
	?>
54
	<tr class="listBot">
55
		<td class="left" colspan="<?php echo ($colCount-1)?>"></td>
56
		<td class="right"></td>
57
	</tr>
58
</table>