Source

knowledgeCenter / tpl / words.html

Full commit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<title>wdfanyi</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf8">
<link href="../static/main.css" rel="stylesheet" type="text/css" media="all" />
    {% include 'seo.html' %}
</head>
  <body>

    {% include 'header.html' %}
<a href='/show/words'>WORDS</a>

<div style="text-align:center;float:center;width:auto;margin-right: auto; margin-left: auto;">
	<form action="/translate" method="post">
		<fieldset>
		<legend>翻译</legend>
		<div>	<textarea rows="5" cols="40" name='word'></textarea></div>
		<input type="submit" class="btn3" value="提交" >
		</fieldset>
		</form>

	{% for WORD in WORDSS %}
	<fieldset>

		<legend>{{WORD.time|date:"Y年m月d日 H时i分"}}</legend>

<div class="word"><object data="http://www.google.com/dictionary/flash/SpeakerApp16.swf" type="application/x-shockwave-flash" id="pronunciation" height="36" width=" 36">
    <param name="movie" value="http://www.google.com/dictionary/flash/SpeakerApp16.swf">
    <param name="flashvars" value="sound_name=http://www.gstatic.com/dictionary/static/sounds/de/0/{{WORD.EN}}.mp3">
    <param name="wmode" value="transparent">
    <a href="http://www.gstatic.com/dictionary/static/sounds/de/0/{{WORD.EN}}.mp3"><img src="http://www.google.com/dictionary/flash/SpeakerOffA16.png" alt="发音" height="16" width="16" border="0"></a>
    </object></div>
	<p>{{WORD.EN}}</p>
<a href="http://dict.baidu.com/s?wd={{WORD.EN}}">百度</a>
<a href="http://dict.cn/{{WORD.EN}}">海词</a>
<a href="http://hk.dictionary.yahoo.com/dictionary?p={{WORD.EN}}">雅虎</a>||
<a href="http://www.google.com/dictionary?langpair=en|en&q={{WORD.EN}}">google</a>
<a href="http://www.thefreedictionary.com/{{WORD.EN}}">3dictionary</a>
<a href="http://dictionary.reference.com/browse/{{WORD.EN}}">dictionary</a>
		<hr class="l" />
	<p>{{WORD.CN}}</p>
	<div style="font-size:12px;color:#630;float:left;"></div>

	<div style="font-size:12px;color:#000;float:right;"></div>

	</fieldset>

	{% endfor %}


</div>



  {% include 'footer.html' %}
  </body>
</html>