103 |
- |
1 |
<table width="100%" border="0" cellspacing="0" cellpadding="2px;" class="list" align='center'>
|
|
|
2 |
<tr>
|
|
|
3 |
<td width='33%'>
|
|
|
4 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
|
|
|
5 |
<tr class="listHead">
|
|
|
6 |
<td class="left" width='340px'><?php echo $spText['common']['Directory']?></td>
|
|
|
7 |
<td><?php echo $spText['common']['Date']?></td>
|
|
|
8 |
<td><?php echo $spTextDir['Confirmation']?></td>
|
|
|
9 |
<td class="right"><?php echo $spText['common']['Status']?></td>
|
|
|
10 |
</tr>
|
|
|
11 |
<?php
|
|
|
12 |
$colCount = 4;
|
|
|
13 |
if(count($list) > 0){
|
|
|
14 |
$catCount = count($list);
|
|
|
15 |
$i = 0;
|
|
|
16 |
foreach($list as $listInfo){
|
|
|
17 |
|
|
|
18 |
$class = ($i % 2) ? "blue_row" : "white_row";
|
|
|
19 |
if($catCount == ($i + 1)){
|
|
|
20 |
$leftBotClass = "tab_left_bot";
|
|
|
21 |
$rightBotClass = "tab_right_bot";
|
|
|
22 |
}else{
|
|
|
23 |
$leftBotClass = "td_left_border td_br_right";
|
|
|
24 |
$rightBotClass = "td_br_right";
|
|
|
25 |
}
|
|
|
26 |
$confirm = empty($listInfo['status']) ? $spText['common']["No"] : $spText['common']["Yes"];
|
|
|
27 |
$statusId = "status_".$listInfo['id'];
|
|
|
28 |
$checkStatusLink = "<script>scriptDoLoad('directories.php', '$statusId', 'sec=checkstatus&id={$listInfo['id']}');</script>";
|
|
|
29 |
?>
|
|
|
30 |
<tr class="<?php echo $class?>">
|
|
|
31 |
<td class="<?php echo $leftBotClass?>" style='text-align:left;padding-left:10px;'><?php echo $listInfo['domain']?></td>
|
|
|
32 |
<td class='td_br_right'><?php echo date('Y-m-d', $listInfo['submit_time']); ?></td>
|
|
|
33 |
<td class='td_br_right'><?php echo $confirm?></td>
|
|
|
34 |
<td class="<?php echo $rightBotClass?>" id="<?php echo $statusId?>"><?php echo $checkStatusLink?></td>
|
|
|
35 |
</tr>
|
|
|
36 |
<?php
|
|
|
37 |
$i++;
|
|
|
38 |
}
|
|
|
39 |
}else{
|
|
|
40 |
echo showNoRecordsList($colCount-2);
|
|
|
41 |
}
|
|
|
42 |
?>
|
|
|
43 |
<tr class="listBot">
|
|
|
44 |
<td class="left" colspan="<?php echo ($colCount-1)?>"></td>
|
|
|
45 |
<td class="right"></td>
|
|
|
46 |
</tr>
|
|
|
47 |
</table>
|
|
|
48 |
</td>
|
|
|
49 |
</tr>
|
|
|
50 |
</table>
|