<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Admin - left</title>
<link href="res/css/douya.css" rel="stylesheet" type="text/css">
</HEAD>

<BODY class="my" >
<div style="line-height:150%;padding:5px">
<p class="m">完成一个共享模块只需要四步</p><br/>
<?php foreach( $modules = get_modules() as $module ): 
if( $module['dy_module_is_active'] == 1 )
{
	$title = $module['dy_module_name'];
}
else
{
	$title = '<strike>' . $module['dy_module_name'] . '</strike>';
}
?>
<p class="h3"><?php echo  $title; ?> 模块 </p><span class="explain"><?php echo  $module['dy_module_action'] ?>&nbsp;&nbsp;<br/><?php echo $module['dy_module_state'] ?></span> <br/>
1 <a href="?a=admin_module_modify&id=<?php echo $module['id'] ?>" target="main">修改基本信息</a>&nbsp;&nbsp;&nbsp; 2 <a href="?a=admin_module_database_modify&id=<?php echo $module['id'] ?>" target="main">更新数据表结构</a>&nbsp;&nbsp;&nbsp; 3 <a href="?a=admin_module_template_modify&id=<?php echo $module['id'] ?>" target="main">修改呈现模版</a>&nbsp;&nbsp;&nbsp; 4 <a href="?a=admin_module_build_script&id=<?php echo $module['id'] ?>" target="main">更新应用程序</a>&nbsp;&nbsp;&nbsp;
<?php endforeach; ?>
</div>
</BODY>
</HTML>