					<tmpl_if name="error">
					<div class="alert alert-danger" role="alert"><tmpl_var name="error"></div>
					</tmpl_if>
					<form accept-charset="UTF-8" role="form" method="post" action="index.php">
                    <fieldset>
			    	  	<div class="form-group">
			    		    <input class="form-control" placeholder="{tmpl_var name='username_txt'}" name="username" id="username" type="text">
			    		</div>
			    		<div class="form-group">
			    			<input class="form-control" placeholder="{tmpl_var name='password_txt'}" name="password" id="password" type="password" value="">
			    		</div>
						<tmpl_if name="session_timeout" op=">" value="0">
						<tmpl_if name="session_allow_endless" value="y">
			    		<div class="checkbox">
			    	    	<label>
			    	    		<input name="stay" id="stay" type="checkbox" value="1"> {tmpl_var name='stay_logged_in_txt'}
			    	    	</label>
			    	    </div>
						</tmpl_if>
						</tmpl_if>
						<input type="hidden" name="s_mod" value="login" />
						<input type="hidden" name="s_pg" value="index" />
						<div class="right">
						<tmpl_if name="pw_lost_show"><button class="btn btn-default formbutton-default" type="button" value="{tmpl_var name='pw_lost_txt'}" onClick="document.location.href='password_reset.php';">{tmpl_var name='pw_lost_txt'}</button></tmpl_if>
			    		<input class="btn btn-default formbutton-default" type="submit" value="{tmpl_var name='login_txt'}">
						</div>
			    	</fieldset>
			      	</form>
