Source

knowledgeCenter / tpl / mainpage.html

Full commit
<!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>
    <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" />
    <style type="text/css">
/*<![CDATA[*/
    div.c3 {float:left;width:25%}
    div.c2 {float:left;width:20%}
    div.c1 {text-align:center;float:left;width:30%;}
    /*]]>*/
    </style>
  </head>
  <body>{% include 'header.html' %}
    {% include 'seo.html' %}
    <div class="c1">
      <fieldset>
        <legend><a href='/show/words'>WORDS</a></legend> {% 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|escape}}
          </p>
          <hr class="l" />
          <p>
            {{WORD.CN|escape}}
          </p>
        </fieldset>{% endfor %}
        <form action="/translate" method="post">
          <div>
            <textarea rows="5" cols="40" name='word'>
</textarea>
          </div><input type="submit" class="btn3" value="提交" />
        </form>
      </fieldset>
    </div><!--
<div style="text-align:center;float:left;width:30%;">
<fieldset>
<legend><a href='/show/wiki'>WIKI</a></legend>
        {% for WIKI in WIKIS %}
        <fieldset>

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


        <p><a href="http://gg.eeload.com/search?hl=zh-CN&source=hp&biw=&bih=&q={{WIKI.EN}}&btnG=Google+%E6%90%9C%E7%B4%A2">GOOGLE</a>
                <a href="http://en.wikipedia.org/wiki/{{WIKI.EN}}">wikipedia</a>
        {{WIKI.EN|escape}}</p>
                <hr class="l" />
        <p><a href="http://gg.eeload.com/search?hl=zh-CN&source=hp&biw=&bih=&q={{WIKI.CN}}&btnG=Google+%E6%90%9C%E7%B4%A2">GOOGLE</a>
                <a href="http://CN.wikipedia.org/wiki/{{WIKI.CN}}">wikipedia</a>
        {{WIKI.CN|escape}}</p>

        <hr class="l" />
        <p>{{WIKI.tip|escape}}</p>
        </fieldset>

        {% endfor %}


                <form action="/wiki/new" method="post">

                <div>   <input type="text" name='name' /></div>
                <div>   <textarea rows="4" cols="30" name='tip'></textarea></div>
                <input type="submit" class="btn3" value="提交" >
                </fieldset>
                </form>
</div>
-->
    <div class="c2">
      <form action="/li/new" method="post">
        <fieldset>
          <legend><a href='/show/li'>LI</a></legend>
          <div>
            <textarea name='content'>
{{LASTLI|escape}}
</textarea>
          </div><input type="submit" class="btn3" value="提交" />
        </fieldset>
      </form>{% for LI in LIS %}
      <fieldset>
        <legend>{{LI.time|date:"Y年m月d日 H时i分"}}</legend>
        <pre>
{{LI.content|escape}}
</pre>
      </fieldset>{% endfor %}
    </div>
    <div class="c3">
      <form action="/swap/new" method="post">
        <fieldset>
          <legend><a href='/show/swap'>SWAP</a></legend>
          <div>
            <textarea rows="20" cols="55" name='content'>
{{LASTSWAP|escape}}
</textarea>
          </div><input type="submit" class="btn3" value="提交" />
        </fieldset>
      </form>{% for SWAP in SWAPS %}
      <fieldset>
        <legend>{{SWAP.time|date:"Y年m月d日 H时i分"}}</legend>
        <pre>
{{SWAP.content|escape}}
</pre>
      </fieldset>{% endfor %}
    </div> {% include 'footer.html' %}
  </body>
</html>