<!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>[icon:skin/default/toolbar/link.png]书签列表</title>
<link rel="stylesheet" href="mz://system/css/common.css" type="text/css" />
<link rel="stylesheet" href="mz://system/css/page.css" type="text/css" />
<link rel="stylesheet" href="mz://system/css/jquery.cluetip.css" type="text/css" />
<!--{hook mark_css}-->
</head>

<body>
<!--{template ../include/ie6.htm}-->
<!--{hook mark_top}-->
<div class="wrap_bg"></div>
<div class="wrap_box">
	<div class="tab_box" id="tab_box">
    	<a href="?index" data-id="mark_index">我的书签</a>
        <!--{template ../include/searchInput.htm}-->
    </div>
    <div class="clear"></div>
    
    <div class="table_box hidden" id="mark_index">
        
    </div>
    <div class="clear"></div>
</div>
<div id="append_top"></div>
<script type="mz/tpl" id="tpl_mark_loading">
	<div class="tip tip_loading">正在努力加载书签中.... <a href="?index">重新载入</a></div>
</script>
<script type="mz/tpl" id="tpl_mark_loaded">
	<div class="tip">书签加载完毕，请尽情享用 <a href="?index">重新载入</a></div>
</script>
<script type="mz/tpl" id="tpl_mark_list">
<%if(marks.length>0){%>
	<%=loadedHtml%>
	<Table class="mark_table" width="100%">
		<Tr>
			<Th>书名</th>
			<Th>章节名</th>
			<Th>时间</th>
			<Th>操作</th>
		</tr>
		<%for(var j=0;j<marks.length;j++){%>
			<tr>
				<Td><a class="pointer autohidden" data-url="mz://reader/?url=<%=escape(marks[j]['url'])%>" _click="tabopen" title="<%=marks[j]['title']%>"><%=marks[j]['title'].sub(20,'...')%></a></td>
				<Td><a class="pointer" data-url="<%=marks[j]['url']%>" data-index="<%=marks[j]['index']%>" data-scrolltop="<%=marks[j]['scrollTop']%>" _click="_openBookMark" title="<%=marks[j]['chapter']%>"><%=marks[j]['chapter'].sub(30,'...')%></a></td>
				<Td><%=marks[j]['time'].substr(2)%></td>
				<Td><A class="action_btn green pointer" data-url="<%=marks[j]['url']%>" data-index="<%=marks[j]['index']%>" data-scrolltop="<%=marks[j]['scrollTop']%>" _click="_openBookMark" title="<%=marks[j]['chapter']%>">继续阅读</a> <A class="action_btn pointer" data-delkey="<%=marks[j]['key']%>">删除</a></td>
			</tr>
		<%}%>
	</table>
<%}else{%>
	<div class="tip">您还没有保存过任何书签，请在阅读作品正文时右键->加入书签</div>
<%}%>
</script>
<script type="text/javascript" src="mz://lib/jquery.js"></script>
<script type="text/javascript" src="mz://lib/underscore.js"></script>
<script type="text/javascript" src="mz://lib/jquery.cluetip.js"></script>
<script type="text/javascript" src="mz://lib/jquery.mztab.js"></script>
<script type="text/javascript" src="mz://lib/jquery.artDialog.js?skin=chrome"></script>
<script type="text/javascript" src="mz://lib/mozhua.js"></script>
<script type="text/javascript" src="mz://lib/mark.func.js"></script>
<!--{template ../include/searchDialog.htm}-->
<!--{template ../include/bookMark.htm}-->
<script type="text/javascript">
$(document).ready(function(){
	__log('page_view', 'mark', 'index');
});
</script>
<!--{hook mark_end}-->
</body>
</html>
