Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<div class="container col-md-6">
2
	<h2 class="public_head">
3
		<i class="fas fa-user-tie"></i>
4
		<?php echo ucwords($spText['common']['signin'])?>
5
	</h2>
6
	<div class="public_form">
7
		<form name="loginForm" method="post" action="<?php echo SP_WEBPATH?>/login.php">
8
			<input type="hidden" name="sec" value="login">
9
			<input type="hidden" name="red_referer" value="<?php echo $post['red_referer']?>">
10
			<div class="form-group">
11
				<label for="email"><?php echo $spText['login']['Username']?>:</label>
12
				<input type="text" class="form-control" id="userName" name="userName" required="required">
13
				<?php echo $errMsg['userName']?>
14
			</div>
15
			<div class="form-group">
16
				<label for="pwd"><?php echo $spText['login']['Password']?>:</label>
17
				<input type="password" class="form-control" id="password" name="password" required="required">
18
				<?php echo $errMsg['password'] ? $errMsg['password']."<br>" : ""?>
19
				<div class="form-group" style="margin-top: 5px;">
20
					<a href="<?php echo SP_WEBPATH?>/login.php?sec=forgot"><?php echo $spText['login']['Forgot password?']?></a>
21
				</div>
22
			</div>
23
			<button name="login" type="submit" class="btn btn-primary"><?php echo ucwords($spText['common']['signin'])?></button>
24
			<?php if(!isLoggedIn() && SP_USER_REGISTRATION){ ?>
25
				&nbsp;<a href="<?php echo SP_WEBPATH?>/register.php"><?php echo $spText['login']['Register']?></a>
26
			<?php }?>
27
		</form>
28
	</div>
29
</div>