Esempio n. 1
0
$polrauth = new polrauth();
$polrauth->headblock();
?>
                <?php 
require_once 'config.php';
if ($regtype != 'none') {
    echo '<li><a href="register.php">Sign Up</a></li>';
}
?>
                <li class="divider-vertical"></li>
                <li class="dropdown">
                    <a class="dropdown-toggle" href="#" data-toggle="dropdown">Sign In <strong class="caret"></strong></a>
                    <div class="dropdown-menu pull-right" id="dropdown" style="padding: 15px; padding-bottom: 0px;">
                        <h2>Login</h2>
                        <form action="handle-login.php" method="post" accept-charset="UTF-8">
                            <input id="user_username" style="margin-bottom: 15px;" type="text" name="username" placeholder='Username' size="30" class="form-control">
                            <input id="user_password" style="margin-bottom: 15px;" type="password" name="password" placeholder='Password' size="30" class="form-control">
                            <input class="btn btn-success form-control" style="clear: left; width: 100%; height: 32px; font-size: 13px;" type="submit" name="login" value="Sign In">
                            <br><br>
                        </form>
                    </div>
                </li>
                <?php 
$polrauth->headendblock();
?>
            </ul>
        </div>
    </div>
    <div class="container">
        <div class="jumbotron" style="text-align:center; padding-top:80px; background-color: rgba(0,0,0,0);">
Esempio n. 2
0
$polrauth->headblock();
?>
                <?php 
require_once '../config.php';
if ($regtype != 'none') {
    echo '<li><a href="../register.php">Sign Up</a></li>';
}
?>
                <li class="divider-vertical"></li>
                <li class="dropdown">
                    <a class="dropdown-toggle" href="#" data-toggle="dropdown">Sign In <strong class="caret"></strong></a>
                    <div class="dropdown-menu pull-right" id="dropdown" style="padding: 15px; padding-bottom: 0px;">
                        <h2>Login</h2>
                        <form action="../handle-login.php" method="post" accept-charset="UTF-8">
                            <input id="user_username" style="margin-bottom: 15px;" type="text" name="username" placeholder='Username' size="30" class="form-control">
                            <input id="user_password" style="margin-bottom: 15px;" type="password" name="password" placeholder='Password' size="30" class="form-control">
                            <input class="btn btn-success form-control" style="clear: left; width: 100%; height: 32px; font-size: 13px;" type="submit" name="login" value="Sign In">
                            <br><br>
                        </form>
                    </div>
                </li>
<?php 
$polrauth->headendblock(true);
?>

            </ul>
        </div>
    </div>
    <div class="container">
        <div class="jumbotron" style="background-color: rgba(0,0,0,0);">