103 |
- |
1 |
<?php echo showSectionHead($spTextTools['Skipped Directories']); ?>
|
|
|
2 |
<form id='search_form'>
|
|
|
3 |
<table width="80%" class="search">
|
|
|
4 |
<tr>
|
|
|
5 |
<th><?php echo $spText['common']['Name']?>: </th>
|
|
|
6 |
<td width="100px">
|
|
|
7 |
<input type="text" name="search_name" value="<?php echo htmlentities($searchInfo['search_name'], ENT_QUOTES)?>" onblur="<?php echo $onChange?>">
|
|
|
8 |
</td>
|
|
|
9 |
<th><?php echo $spText['common']['Website']?>: </th>
|
|
|
10 |
<td>
|
|
|
11 |
<?php echo $this->render('website/websiteselectbox', 'ajax'); ?>
|
|
|
12 |
</td>
|
|
|
13 |
<td colspan="2">
|
|
|
14 |
<a href="javascript:void(0);" onclick="<?php echo $onChange?>" class="actionbut"><?php echo $spText['button']['Search']?></a>
|
|
|
15 |
</td>
|
|
|
16 |
</tr>
|
|
|
17 |
</table>
|
|
|
18 |
</form>
|
|
|
19 |
|
|
|
20 |
<?php
|
|
|
21 |
if(empty($websiteId)){ showErrorMsg($spText['common']['nowebsites'].'!');}
|
|
|
22 |
?>
|
|
|
23 |
|
|
|
24 |
<div id='subcontent'>
|
|
|
25 |
<?php echo $pagingDiv?>
|
|
|
26 |
<table width="100%" class="list">
|
|
|
27 |
<tr class="listHead">
|
|
|
28 |
<td class="left"><?php echo $spText['common']['Id']?></td>
|
|
|
29 |
<td><?php echo $spText['common']['Directory']?></td>
|
|
|
30 |
<td>PR</td>
|
|
|
31 |
<td class="right"><?php echo $spText['common']['Action']?></td>
|
|
|
32 |
</tr>
|
|
|
33 |
<?php
|
|
|
34 |
$colCount = 4;
|
|
|
35 |
if(count($list) > 0){
|
|
|
36 |
$catCount = count($list);
|
|
|
37 |
$i = 0;
|
|
|
38 |
foreach($list as $listInfo){
|
|
|
39 |
|
|
|
40 |
$class = ($i % 2) ? "blue_row" : "white_row";
|
|
|
41 |
if($catCount == ($i + 1)){
|
|
|
42 |
$leftBotClass = "tab_left_bot";
|
|
|
43 |
$rightBotClass = "tab_right_bot";
|
|
|
44 |
}else{
|
|
|
45 |
$leftBotClass = "td_left_border td_br_right";
|
|
|
46 |
$rightBotClass = "td_br_right";
|
|
|
47 |
}
|
|
|
48 |
|
|
|
49 |
$argStr = "sec=unskip&id={$listInfo['id']}&pageno=$pageNo&website_id=$websiteId&search_name=".$searchInfo['search_name'];
|
|
|
50 |
$includeLink = "<a href='javascript:void(0);' onclick=\"scriptDoLoad('directories.php', 'content', '$argStr')\">".$spTextDir['Add back to directory list']."</a>";
|
|
|
51 |
|
|
|
52 |
?>
|
|
|
53 |
<tr class="<?php echo $class?>">
|
|
|
54 |
<td class="<?php echo $leftBotClass?>"><?php echo $listInfo['id']?></td>
|
|
|
55 |
<td class='td_br_right' style='text-align:left;padding-left:10px;'>
|
|
|
56 |
<a href="<?php echo $listInfo['submit_url']?>" target="_blank"><?php echo $listInfo['domain']?></a>
|
|
|
57 |
</td>
|
|
|
58 |
<td class='td_br_right'><?php echo $listInfo['pagerank']?></td>
|
|
|
59 |
<td class="<?php echo $rightBotClass?>"><?php echo $includeLink?></td>
|
|
|
60 |
</tr>
|
|
|
61 |
<?php
|
|
|
62 |
$i++;
|
|
|
63 |
}
|
|
|
64 |
}else{
|
|
|
65 |
echo showNoRecordsList($colCount-2);
|
|
|
66 |
}
|
|
|
67 |
?>
|
|
|
68 |
<tr class="listBot">
|
|
|
69 |
<td class="left" colspan="<?php echo ($colCount-1)?>"></td>
|
|
|
70 |
<td class="right"></td>
|
|
|
71 |
</tr>
|
|
|
72 |
</table>
|
|
|
73 |
</div>
|