home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.pdx.edu / 2014.02.ftp.ee.pdx.edu.tar / ftp.ee.pdx.edu / oss / cvs-2004 / bahasa / web / ipa.php,v < prev    next >
Text File  |  2003-10-26  |  3KB  |  119 lines

  1. head    1.1;
  2. access;
  3. symbols;
  4. locks; strict;
  5. comment    @# @;
  6.  
  7.  
  8. 1.1
  9. date    2003.10.26.01.53.10;    author bule;    state Exp;
  10. branches;
  11. next    ;
  12.  
  13.  
  14. desc
  15. @@
  16.  
  17.  
  18. 1.1
  19. log
  20. @*** empty log message ***
  21. @
  22. text
  23. @<?
  24. session_start();
  25. require_once("../php/Indonesia.php");
  26. require_once("../php/Web.php");
  27. //////////////////////////////////////////////////////////////////////////////
  28. //////////////////////////////////////////////////////////////////////////////
  29. // Project Name: Bahasa Indonesia Dictionary
  30. // Directory:    bahasa/web
  31. // File Name:    ipa.php
  32. // Author(s):    John L. Whiteman
  33. // Created:      October 21, 2003  
  34. // Modified:     October 21, 2003
  35. // Description:  The purpose of this unrestricted access PHP web 
  36. //               client page is to provide an IPA reference for  
  37. //               the client. 
  38. // 
  39. // Copyright (c) 2003 John L. Whiteman
  40. //
  41. // Permission is herby granted, free of charge, to any person obtaining a 
  42. // copy of this software, data, and associated documentation files 
  43. // (the "Software"), to deal in the Software without restriction, 
  44. // including without limitation the rights to use, copy, modify, merge, 
  45. // publish, distribute, sublicense, and/or sell copies of Software, and to
  46. // permit persons to whom the Software is furnished to do so, subject to 
  47. // the following conditions:
  48. //
  49. // The above copyright notice and this permission notice shall be 
  50. // included in all copies or substantial portions of the Software.
  51. //
  52. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 
  53. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
  54. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  55. // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR 
  56. // ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHERE IN AN ACTION OF CONTRACT,
  57. // TORT OR OTHERWISE, ARISING IN THE SOFTWARE.  
  58. //////////////////////////////////////////////////////////////////////////////
  59. //////////////////////////////////////////////////////////////////////////////
  60. $web = new Web();
  61.  
  62. $indonesia = new Indonesia();
  63.  
  64. $status = $indonesia->get_dictionary_status();
  65.  
  66. if (
  67. ($status["status"] == 1) ||
  68. ($status["status"] == 2) ||
  69. ($status["status"] == 3)) {
  70.  
  71.     $web->redirect("offline.php");
  72.  
  73.     exit;
  74. }
  75.  
  76. ?>
  77. <html>
  78. <head>
  79. <title>Bahasa Indonesia Dictionary: Reference for IPA</title>
  80.  
  81. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  82.  
  83. <link href="bahasa.css" rel="stylesheet" type="text/css">
  84.  
  85. </head>
  86. <body>
  87. <?
  88. $web->show_logo("Reference for IPA");
  89. ?>
  90.  
  91. <a class="menu" href="search.php">Search Dictionary</a>
  92.  | 
  93. <a class="menu" href="email.php">Send Us E-mail</a>
  94.  | 
  95. <a class="menu" href="request.php">Request a New Word</a>
  96.  | 
  97. <a class="menu" href="admin.php">Administration</a>
  98. <br><br>
  99.  
  100. <div id="help_msg">
  101.  
  102. <table cellpadding="3" cellspacing="3" border="0">
  103. <tr>
  104. <td class="ipa">ʤ</td>
  105. <td>vd postalveolar affricate</td>
  106.  
  107. </tr>
  108. </table>
  109.  
  110. </div>
  111.  
  112. <?
  113. $web->show_footer();
  114. ?>
  115. </body>
  116. </html>
  117.  
  118. @
  119.