File: languagesList.html

Recommend this page to a friend!
  Classes of adriano ghezzi  >  PHP Yandex Translate API Wrapper  >  languagesList.html  >  Download  
File: languagesList.html
Role: Auxiliary data
Content type: text/plain
Description: available languages
Class: PHP Yandex Translate API Wrapper
Translate text between languages using Yandex API
Author: By
Last change:
Date: 4 years ago
Size: 1,504 bytes
 

Contents

Class file image Download
<!DOCTYPE html>
<html lang="en">
<head>
    <title>Bootstrap Example</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>

<a href="/">
    <button class="btn-primary pull-left">
        back
    </button>
</a>
    <div class="col-md-4">
        <h2>Translation supported directions</h2>
        <table class="table table-bordered">
            <tbody>
            <?php foreach($dirs as $k=>$v){?>
            <tr>
                <td><?php print $v;?></td>
            </tr>
            <?php }?>

            </tbody>
        </table>
    </div>

    <div class="col-md-4">
        <h2>Translation supported languages</h2>
        <table class="table table-bordered">
            <thead>
            <tr>
                <th>code</th>
                <th>language</th>
            </tr>
            </thead>
            <tbody>
            <?php foreach($langs as $k=>$v){?>
            <tr>
                <td><?php print $k;?></td>
                <td><?php print $v;?></td>
            </tr>
            <?php }?>
            </tbody>
        </table>
    </div>

</body>
</html>
For more information send a message to info at phpclasses dot org.