function getEnglishFromKanji($kanji) { $kid = getKanjiId($kanji, 'jtest'); $answerId = getOppositeWordID($kid, 'jtest'); $english = getWord($answerId, 'etest'); return $english; }
?> <tr> <td class="text-center"><small><?php echo $word['q']; ?> </small></td> <td class="text-center" > <abbr title="<?php echo $word['reading']; ?> "><?php echo $word['kanji']; ?> </abbr> </td> <td class="text-left"> <?php echo getWord(getOppositeWordID($word['id'], 'jtest'), 'etest'); ?> </td> <td class="text-center"><?php echo $word['lv']; ?> </td> </tr><?php } ?> </table>
<td><i class="fa fa-ellipsis-v"></i></td> </tr> <tr> <td class="text-danger text-center"><?php echo $d['size']; ?> </i></td> <td class="text-center"><abbr title="<?php echo $top[$prNum]['reading']; ?> "><?php echo $top[$prNum]['kanji']; ?> </abbr></td> <td><?php echo getWord(getOppositeWordID($top[$prNum]['id'], 'jtest'), 'etest'); ?> </abbr></td> <td class="text-danger text-center"><?php echo $d['levels']; ?> </i></td> </tr> </table> </div><!-- end RIGHT COLUMN--> </div> </div> </div> </section> <hr> <!--<section>