Source for file index.php

Documentation is available at index.php

  1. <?php
  2. /**
  3.  * R.E. Login 2.0 - Telepítő - index.php
  4.  *
  5.  * Telepítő űrlap megjelenítése. <br />
  6.  * <br />
  7.  * <b>Dátum:</b> 2010.04.02.
  8.  *
  9.  * <b>Szerző weboldala:</b> {@link http://rimelek.hu/}<br />
  10.  * <b>Login weblapja:</b> {@link http://rimelek.hu/meghivos-loginrendszer-r-e-login-v2-0 R.E. Login v2.0}
  11.  *
  12.  * @author Takács Ákos (Rimelek), programmer [at] rimelek [dot] hu
  13.  * @copyright Copyright (C) 2010, Takács Ákos
  14.  * @license http://www.gnu.org/licenses/gpl.html
  15.  * @package RELogin
  16.  * @version 2.0
  17.  */
  18.  
  19. /**
  20.  * @ignore
  21.  */
  22. require_once 'init.php';
  23. ?>
  24. <html>
  25.     <head>
  26.         <title>R.E. Login 2.0 telepítése</title>
  27.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  28.     </head>
  29.     <body>
  30.     <?php if (!$installed?>
  31.     <div align="center">
  32.         <?php print $msg ?>
  33.     </div>
  34.     <?php if (!$install || !$run  ?>
  35.     <form action="" method="post">
  36.         <table align="center">
  37.         <?php foreach ($titles as $key => &$title{
  38.         $value $constants[$key];
  39.         $value_checked ' value = "'.htmlspecialchars($value).'" ';
  40.         $type "text";
  41.         //$type = (stripos($key,'password') !== false) ? 'password' : 'text';
  42.         if (is_bool($value))
  43.         {
  44.             $type 'checkbox';
  45.             $value_checked ($value'checked = "checked"' '';
  46.         ?>
  47.         <tr>
  48.             <td valign="top"><?php print $title ?><td>
  49.             <td valign="top"><input type="<?php print $type ?>" name="install[<?php print $key ?>]" <?php print $value_checked ?> /></td>
  50.         </tr>
  51.         <?php ?>
  52.         <tr><td colspan="2" align="center"><input type="submit" value="Küldés" /></td></tr>
  53.         </table>
  54.     </form>
  55.     <?php }
  56.     else ?>
  57.         <div align="center">
  58.             Úgy tűnik, ez a login már telepítve van.<br />
  59.             Töröld a <b>Config.class.php</b> -t classes mappából, és próbáld újra telepíteni. 
  60.         </div>
  61.     <?php ?>
  62.  
  63.     </body>
  64. </html>

Documentation generated on Sun, 04 Apr 2010 22:43:40 +0200 by phpDocumentor 1.4.1