<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="{-:*__THEME__-}/admin/css/c.css" />
<link rel="stylesheet" type="text/css" href="{-:*__THEME__-}/admin/css/mf.css" />
</head>
<body>
<dl class="abox">
	<dt><strong>{-:@ARCHIVE_MODEL-}{-:@LIST-}</strong></dt>
	<dd>
		<table class="listTable">
			<tr>
				<th scope="col">{-:@ID-}</th>
				<th scope="col">{-:@NAME-}</th>
				<th scope="col">{-:@ALIAS-}</th>
				<th scope="col">{-:@ADDON_TABLE-}</th>
				<th scope="col">{-:@STATUS-}</th>
				<th scope="col">{-:@TYPE-}</th>
				<th scope="col">{-:@MANAGE-}</th>
			</tr>
			{-foreach:$_AML,$am-}
			<tr>
				<td>{-:$am['archive_model_id']-}</td>
				<td><a href="{-url:archive_model/edit_model?archive_model_id={$am['archive_model_id']}-}">{-:$am['am_name']-}</a></td>
				<td>{-:$am['am_alias']-}</td>
				<td>{-:$am['am_addon_table']-}</td>
				<td>
				{-if:1 == $am['am_status']-}
					<span class="status"><b class="on">{-:@ON-}</b><a href="{-url:archive_model/toggle_model_status_do?archive_model_id={$am['archive_model_id']}&am_status=0-}">{-:@TOGGLE-}</a></span>
				{-else:-}
					<span class="status"><b class="off">{-:@OFF-}</b><a href="{-url:archive_model/toggle_model_status_do?archive_model_id={$am['archive_model_id']}&am_status=1-}">{-:@TOGGLE-}</a></span>
				{-:/if-}
				</td>
				<td>
				{-if:0 == $am['am_type']-}{-:@SYSTEM-}{-elseif:1 == $am['am_type']-}{-:@CUSTOM-}{-:/if-}
				</td>
				<td><a href="{-url:archive_model/export_model?archive_model_id={$am['archive_model_id']}-}">{-:@EXPORT-}</a> | <a href="{-url:archive_model/edit_model?archive_model_id={$am['archive_model_id']}-}">{-:@EDIT-}</a>{-if:0 != $am['am_type']-} | <a href="{-url:archive_model/delete_model_do?archive_model_id={$am['archive_model_id']}-}" onclick="javascript:return delete_confirm();" >{-:@DELETE-}</a>{-:/if-}</td>
			</tr>
			{-:/foreach-}
		</table>
	</dd>
</dl><!--/.abox-->
<div id="operation">
	<a class="btn_l" href="{-url:archive_model/add_model-}">{-:@ADD-}{-:@MODEL-}</a>
	<a class="btn_l" href="{-url:archive_model/import_model-}">{-:@IMPORT-}{-:@MODEL-}</a>
</div><!--/#operation-->
<script type="text/javascript" src="{-:*__PUBLIC__-}/js/jquery.js"></script>
<script type="text/javascript" src="{-:*__THEME__-}/admin/js/c.js"></script>
</body>
</html>