Location: PHPKode > projects > Seo Panel > seopanel/themes/classic/views/seoplugins/listseoplugins.ctp.php
<?php echo showSectionHead($spTextPanel['Seo Plugins Manager']); ?>
<?php 
if(!empty($msg)){ 
	echo $error ? showErrorMsg($msg, false) : showSuccessMsg($msg, false); 
} 
?>
<?=$pagingDiv?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
	<tr class="listHead">
		<td class="left"><?=$spText['label']['Plugin']?></td>		
		<td><?=$spText['label']['Author']?></td>		
		<td><?=$spText['common']['Website']?></td>
		<td><?=$spText['common']['Status']?></td>		
		<td><?=$spText['label']['Installation']?></td>
		<td class="right"><?=$spText['common']['Action']?></td>
	</tr>
	<?php
	$colCount = 6; 
	if(count($list) > 0){
		$catCount = count($list);
		foreach($list as $i => $listInfo){
			$class = ($i % 2) ? "blue_row" : "white_row";
            if($catCount == ($i + 1)){
                $leftBotClass = "tab_left_bot";
                $rightBotClass = "tab_right_bot";
            }else{
                $leftBotClass = "td_left_border td_br_right";
                $rightBotClass = "td_br_right";
            }
		
			if($listInfo['status']){
				$statLabel = $spText['common']["Active"];
			}else{
				$statLabel = $spText['common']["Inactive"];
			}
            $activateLink = SP_DEMO ? "alertDemoMsg()" : "scriptDoLoad('seo-plugins-manager.php', 'content', 'sec=changestatus&seoplugin_id={$listInfo['id']}&status={$listInfo['status']}&pageno=$pageNo')";
			?>
			<tr class="<?=$class?>">
				<td class="<?=$leftBotClass?>">
					<a href="javascript:void(0);" onclick="scriptDoLoad('seo-plugins-manager.php?sec=listinfo&pid=<?=$listInfo['id']?>&pageno=<?=$pageNo?>', 'content')"><?=$listInfo['label']?> <?=$listInfo['version']?></a>
				</td>				
				<td class="td_br_right left"><?=$listInfo['author']?></td>
				<td class="td_br_right left"><a href="<?=$listInfo['website']?>" target="_blank"><?=$listInfo['website']?></a></td>
				<td class="td_br_right"><a href="javascript:void(0)" onclick="<?=$activateLink?>"><?=$statLabel?></a></td>
				<td class="td_br_right"><? echo $listInfo['installed'] ? "<font class='green'>Success</font>" : "<font class='red'>Failed</font>"; ?></td>
				<td class="<?=$rightBotClass?>" width="100px">
					<select name="action" id="action<?=$listInfo['id']?>" onchange="doAction('seo-plugins-manager.php?pageno=<?=$pageNo?>', 'content', 'pid=<?=$listInfo['id']?>', 'action<?=$listInfo['id']?>')">
						<option value="select">-- <?=$spText['common']['Select']?> --</option>
						<option value="edit"><?=$spText['common']['Edit']?></option>
						<option value="upgrade"><?=$spText['label']['Upgrade']?></option>
						<option value="reinstall"><?=$spText['label']['Re-install']?></option>
					</select>
				</td>
			</tr>
			<?php
		}
	}else{	 
		echo showNoRecordsList($colCount-2);		
	} 
	?>
	<tr class="listBot">
		<td class="left" colspan="<?=($colCount-1)?>"></td>
		<td class="right"></td>
	</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="actionSec">
	<tr>
    	<td style="padding-top: 6px;text-align:right;">
    		<a href="<?=SP_PLUGINSITE?>" class="actionbut" target="_blank"><?=$spTextPlugin['Download Seo Panel Plugins']?> &gt;&gt;</a>
    	</td>
	</tr>
</table>
Return current item: Seo Panel