<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="skin/default/jooyea/css/row_menus.css">
<link rel="stylesheet" type="text/css" href="skin/default/jooyea/css/iframe.css">
<script type='text/javascript'>
	parent.guide("set_apply");
</script>
</head>
<body>
	<div class="main_right_title">
		<span class="main_title_dot12"></span>
		<span class="main_title_txt">{echo:lp{pl_manage};/}</span>
	</div>
	<div id="tabsB">
		<ul>
			<li><a href="?app=mag_app" class="nowbutl"><span class="nowbutr">{echo:lp{pl_set_app};/}</span></a></li>
		</ul>
		<div class="div_but" onClick="location.href='?app=all_app'">{echo:lp{pl_add_app};/}</div>
	</div>
	{sta:if($app_rs)[exc]}
		<table id="ttable">	
			<tbody id="tlist">
				{sta:foreach($app_rs as $rs)[loop]}
				{sta:$small_url=$app_rs[0]['image']?preg_replace("/(.*)(\.\w+)/","$1_small$2","plugins/".$app_rs[0]['name']."/".$app_rs[0]['image']):$def_small_image;/}
				<tr id="app_25">
						<td class="icon"><a href="modules.php?app=add_app&id={echo:$rs["id"];/}"><img src="{echo:$small_url;/}" /></a></td>
						<td class="info"><a href="modules.php?app=add_app&id={echo:$rs["id"];/}">{echo:$rs["title"];/}</a></td>
						<td class="action"><a href="do.php?act=del_app&id={echo:$rs["id"];/}" class="remove"></a></td>
				</tr>
				{end:foreach/}
			</tbody>
		</table>	
	{end:if/}
	{sta:if(empty($app_rs))[exc]}
	<div class="guide_info">
		{echo:lp{pl_mine_none};/}
	</div>
	{end:if/}
</body>
</html>
