HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.34
System: Linux atalantini.com 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64
User: root (0)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: //opt/login.php
<?php
/*
Template Name: Login
*/
?>
<?php get_header(); ?>
    <section class="news-area container" style="background-color:#fff;">
        <div class="container">

						<div class="post_day mbf clearfix">
							<div class="title_bu"><a href="<?= the_permalink(); ?>"><h4> Login: </h4></a></div>

							<div class="grid_12 omega">

                                                        <div style="color:#000; padding-left:10px;">
<?php if ( is_user_logged_in() ) { ?>
<?php } else { ?>
<br><br>
        <form method="post" action="/loginhp.php">
        Username:<br>
        <input type="text" name="username" size="30"><br>
        Password:<br>
        <input type="password" name="password" size="30"><br>
        <input  type="submit" value="Loggati" style="background-color: #2c8cd6; color:#fff;width:100px; height:30px;" name="sendMessage">
        <input  type="button" value="Registrati" style="background-color: #2c8cd6; color:#fff;width:100px; height:30px;cursor:pointer;" onClick="document.location='/registrazione/'">
        <br><br>
        </form>
<?php } ?>


							</div><!-- /grid6 omega -->
			</div><!-- /row -->
		</section><!-- /end page content -->
<?php get_footer(); ?>