<?php
/**
 * 单词批量上传
 * $Id: product_category_list.inc,v 1.1 2015/10/08 11:18:53 wanggb Exp $
 * @author zhouhj
 * @access public
 * @package manager.templates
 */

?>

<b>单词批量上传成功！</b><br /><br />
<a class="flatbutton" href="word_dat_batch.php">返回</a>
<br /><br />
<div id="result_list">
	<table>
		<tr>
			<th class="contents_title" width="10%">单词</th>
			<th class="contents_title" width="10%">平假名</th>
			<th class="contents_title" width="15%">中文翻译</th>
			<th class="contents_title" width="10%">MP3</th>
			<th class="contents_title" width="25%">例句</th>
			<th class="contents_title" width="25%">用法描述</th>
		</tr>

		<?
		if (count($result_list) > 0) {
			foreach ($result_list as $word_dat) {
		?>
				<tr>
					<td align="center"><?=$word_dat->word ?></td>
					<td align="center"><?=htmlspecialchars($word_dat->hira_kana) ?></td>
					<td align="center"><?=htmlspecialchars($word_dat->chinese) ?></td>
					<td align="left">
					<?
						if(!empty($word_dat->mp3)) {
					?>
					<?=htmlspecialchars($word_dat->mp3) ?>
					<?
						}
					?>
					</td>
					<td align="left"><?=htmlspecialchars($word_dat->sample) ?></td>
					<td align="left"><?=htmlspecialchars($word_dat->comment) ?></td>
				</tr>
				<?
			}
		}
		?>
	</table>
</div>
<br />
<a class="flatbutton" href="word_dat_batch.php">返回</a>
<br />