103 |
- |
1 |
<?php echo showSectionHead($spTextTools['Featured Submission']); ?>
|
|
|
2 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
|
|
|
3 |
<tr class="listHead">
|
|
|
4 |
<td class="left"><?php echo $spText['common']['Id']?></td>
|
|
|
5 |
<td><?php echo $spText['common']['Name']?></td>
|
|
|
6 |
<td><?php echo $spText['common']['Pagerank']?></td>
|
|
|
7 |
<!--
|
|
|
8 |
<td><?php echo $spTextDir['Coupon Code']?></td>
|
|
|
9 |
<td><?php echo $spTextDir['Coupon Offer']?></td>
|
|
|
10 |
-->
|
|
|
11 |
<td class="right"><?php echo $spText['common']['Action']?></td>
|
|
|
12 |
</tr>
|
|
|
13 |
<?php
|
|
|
14 |
$colCount = 4;
|
|
|
15 |
if(count($list) > 0){
|
|
|
16 |
$catCount = count($list);
|
|
|
17 |
foreach($list as $i => $listInfo){
|
|
|
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 |
|
|
|
27 |
?>
|
|
|
28 |
<tr class="<?php echo $class?>">
|
|
|
29 |
<td class="<?php echo $leftBotClass?>"><?php echo $listInfo['id']?></td>
|
|
|
30 |
<td class="td_br_right left"><a target="_blank" href="<?php echo addHttpToUrl($listInfo['directory_link']); ?>"><?php echo $listInfo['directory_name']?></a></td>
|
|
|
31 |
<td class="td_br_right"><?php echo $listInfo['google_pagerank']?></td>
|
|
|
32 |
<!--
|
|
|
33 |
<td class="td_br_right" style="color: red;"><?php echo $listInfo['coupon_code']?></td>
|
|
|
34 |
<td class="td_br_right" style="color: red;">
|
|
|
35 |
<?php echo empty($listInfo['coupon_offer']) ? "" : $listInfo['coupon_offer']."%"; ?>
|
|
|
36 |
</td>
|
|
|
37 |
-->
|
|
|
38 |
<td class="<?php echo $rightBotClass?>">
|
|
|
39 |
<a href="<?php echo $listInfo['directory_link']?>" target="_blank"><b><?php echo $spText['button']['Submit']?> >></b></a>
|
|
|
40 |
</td>
|
|
|
41 |
</tr>
|
|
|
42 |
<?php
|
|
|
43 |
}
|
|
|
44 |
}else{
|
|
|
45 |
echo showNoRecordsList($colCount-2);
|
|
|
46 |
}
|
|
|
47 |
?>
|
|
|
48 |
<tr class="listBot">
|
|
|
49 |
<td class="left" colspan="<?php echo ($colCount-1)?>"></td>
|
|
|
50 |
<td class="right"></td>
|
|
|
51 |
</tr>
|
|
|
52 |
</table>
|
|
|
53 |
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="actionSec">
|
|
|
54 |
<tr>
|
|
|
55 |
<td style="padding-top: 6px;text-align:right;">
|
|
|
56 |
<a href="<?php echo SP_CONTACT_LINK?>" class="actionbut" target="_blank"><?php echo $spTextDir['clickaddfeatureddirectory']?> >></a>
|
|
|
57 |
</td>
|
|
|
58 |
</tr>
|
|
|
59 |
</table>
|