Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<?php echo showSectionHead($spTextPanel['Seo Plugins Manager']); ?>
2
<?php
3
if(!empty($msg)){
4
	echo $error ? showErrorMsg($msg, false) : showSuccessMsg($msg, false);
5
}
6
?>
7
<?php echo $pagingDiv?>
8
<table id="cust_tab">
9
	<thead>
10
		<tr>
11
			<th><?php echo $spText['common']['Id']?></th>
12
			<th><?php echo $spText['label']['Plugin']?></th>
13
			<th><?php echo $spText['common']['Priority']?></th>
14
			<th><?php echo $spText['label']['Author']?></th>
15
			<th><?php echo $spText['common']['Website']?></th>
16
			<th><?php echo $spText['common']['Status']?></th>
17
			<th><?php echo $spText['label']['Installation']?></th>
18
			<th><?php echo $spText['common']['Action']?></th>
19
		</tr>
20
	</thead>
21
	<tbody>
22
		<?php
23
		foreach($list as $i => $listInfo){
24
 
25
			if($listInfo['status']){
26
				$statLabel = $spText['common']["Active"];
27
			}else{
28
				$statLabel = $spText['common']["Inactive"];
29
			}
30
 
31
            $activateLink = SP_DEMO ? "alertDemoMsg()" : "scriptDoLoad('seo-plugins-manager.php', 'content', 'sec=changestatus&seoplugin_id={$listInfo['id']}&status={$listInfo['status']}&pageno=$pageNo')";
32
			?>
33
			<tr>
34
				<td><?php echo $listInfo['id']?></td>
35
				<td>
36
					<a href="javascript:void(0);" onclick="scriptDoLoad('seo-plugins-manager.php?sec=listinfo&pid=<?php echo $listInfo['id']?>&pageno=<?php echo $pageNo?>', 'content')"><?php echo $listInfo['label']?> <?php echo $listInfo['version']?></a>
37
				</td>
38
				<td><?php echo $listInfo['priority']?></td>
39
				<td><?php echo $listInfo['author']?></td>
40
				<td><a href="<?php echo $listInfo['website']?>" target="_blank"><?php echo $listInfo['website']?></a></td>
41
				<td><a href="javascript:void(0)" onclick="<?php echo $activateLink?>"><?php echo $statLabel?></a></td>
42
				<td><?php echo $listInfo['installed'] ? "<font class='green'>Success</font>" : "<font class='red'>Failed</font>"; ?></td>
43
				<td>
44
					<select name="action" id="action<?php echo $listInfo['id']?>" onchange="doAction('seo-plugins-manager.php?pageno=<?php echo $pageNo?>', 'content', 'pid=<?php echo $listInfo['id']?>', 'action<?php echo $listInfo['id']?>')">
45
						<option value="select">-- <?php echo $spText['common']['Select']?> --</option>
46
						<option value="edit"><?php echo $spText['common']['Edit']?></option>
47
						<option value="upgrade"><?php echo $spText['label']['Upgrade']?></option>
48
						<option value="reinstall"><?php echo $spText['label']['Re-install']?></option>
49
					</select>
50
				</td>
51
			</tr>
52
			<?php
53
		}
54
		?>
55
	</tbody>
56
</table>
57
<br>
58
<table width="100%" class="actionSec">
59
	<tr>
60
    	<td style="padding-top: 6px;text-align:right;">
61
    		<a href="<?php echo SP_PLUGINSITE?>" class="actionbut" target="_blank"><?php echo $spTextPlugin['Download Seo Panel Plugins']?> &gt;&gt;</a>
62
    	</td>
63
	</tr>
64
</table>