Пример #1
0
      <input type="text" name="app_version" placeholder="0.1" />
    </label>
    <label>
      <span>App Page</span>
      <input type="text" name="app_page" placeholder="http:// or https://" />
    </label>
    <label>
      <span>Author ID</span>
      <input type="number" name="author_id" placeholder="Author's user ID" />
    </label>
    <label>
      <input type="checkbox" name="app_lobby_web" />
      <span>Lobby Web App ?</span>
    </label>
    <?php 
CSRF::getInput();
?>
    <button class="btn green">Submit App</button>
  </form>
  <style>
    label{
      display: block;
      margin: 10px 0px;
    }
    label span{
      display: block;
    }
  </style>
  <script>
    $(function(){
      $(".app_sub_category:not(:first)").attr("disabled", "disabled").hide();
Пример #2
0
                <form action="<?php 
                                    \Lobby::u();
                                    ?>
" method="POST">
                  <p>The location of the SQLite database file :</p>
                  <label>
                    <input type="text" name="db_location" id="db_location" value="<?php 
                                    echo \Lobby\FS::loc("/contents/extra/lobby_db.sqlite");
                                    ?>
" />
                  </label>
                  
                  <button name="submit" style="width:200px;font-size:15px;" class="btn green">Install Lobby</button>
                  <input type="hidden" name="db_type" value="sqlite" />
                  <?php 
                                    echo CSRF::getInput();
                                    ?>
                </form>
              <?php 
                                } else {
                                    echo ser("Error", "Uh... You didn't mention the DBMS to use");
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
if ($install_step === "3") {