Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<table width="100%" class="list">
2
	<tr class="listHead">
3
		<td class="left" colspan='2'><?php echo $seInfo['domain']?></td>
4
		<td class="right">&nbsp;</td>
5
	</tr>
6
	<?php
7
	$colCount = 3;
8
	if(count($list) > 0){
9
		$catCount = count($list);
10
		$i = 0;
11
		foreach($list as $listInfo){
12
 
13
			$class = ($i % 2) ? "blue_row" : "white_row";
14
            if($catCount == ($i + 1)){
15
                $leftBotClass = "tab_left_bot";
16
                $rightBotClass = "tab_right_bot";
17
            }else{
18
                $leftBotClass = "td_left_border td_br_right";
19
                $rightBotClass = "td_br_right";
20
            }
21
			?>
22
			<tr class="<?php echo $class?>">
23
				<td class="<?php echo $leftBotClass?>" width='100px;'><?php echo date('Y-m-d', $listInfo['time']); ?></td>
24
				<td class='td_br_right' id='seresult'>
25
					<a href='<?php echo $listInfo['url']?>' target='_blank'><?php echo stripslashes($listInfo['title']);?></a>
26
					<p><?php echo stripslashes($listInfo['description']);?><p>
27
					<label><?php echo $listInfo['url']?></label>
28
				</td>
29
				<td class="<?php echo $rightBotClass?>" width="100px" style='text-align:left;'><b><?php echo $listInfo['rank']?></b></td>
30
			</tr>
31
			<?php
32
			$i++;
33
		}
34
	}else{
35
		echo showNoRecordsList($colCount-2);
36
	}
37
	?>
38
	<tr class="listBot">
39
		<td class="left" colspan="<?php echo ($colCount-1)?>"></td>
40
		<td class="right"></td>
41
	</tr>
42
</table>