<!-- SIGN IN MODAL -->
        <div id="signin" class="modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
              <div class="modal-content">

                <div class="modal-header">
                  <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                  <h4 class="modal-title" id="myModalLabel"><?php echo $a043;?></h4>
                </div>
                <div class="modal-body">
                  <!-- SIGN IN MODAL -->
				<form action="panel/f.login.php" method="post" class="form-horizontal">
					<div class="form-group">
						<label for="inputEmail" class="col-lg-2 control-label"><?php echo $a112; ?></label>
						<div class="col-lg-10">
							<?php $token = NoCSRF::generate( 'csrf_token' ); ?>
							<input type="hidden" name="csrf_token" value="<?php echo $token; ?>">
							<input type="text" name="login_username" class="form-control" id="inputEmail" placeholder="<?php echo $a112; ?>">
						</div>
					</div>
					<div class="form-group">
						<label for="inputPassword" class="col-lg-2 control-label"><?php echo $a113;?></label>
						<div class="col-lg-10">
							<input type="password" class="form-control" id="inputPassword" placeholder="<?php echo $a113; ?>" name="login_password" AUTOCOMPLETE="off">
						</div>
					</div>
				</div>
					<div class="modal-footer">
						<!-- DOWN BUTTONS -->
						<button type="button" class="btn btn-default" data-dismiss="modal">X</button>
						<input type="submit" class="btn btn-primary" value="<?php echo $a043; ?>" name="submit" id="submit">
					</div>
				</form> 

              </div><!-- /.modal-content -->
            </div><!-- /.modal-dialog -->
        </div><!-- /.modal -->
		
		<!-- SIGN UP MODAL -->
        <div id="signup" class="modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
              <div class="modal-content">

                <div class="modal-header">
                  <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                  <h4 class="modal-title" id="myModalLabel"><?php echo $a042;?></h4>
                </div>
                <div class="modal-body">
                  <!-- SIGN IN MODAL -->
				<form action="panel/f.register.php" method="post" class="form-horizontal">
					<div class="form-group">
						<label for="inputUsername" class="col-lg-2 control-label"><?php echo $a112;?></label>
						<div class="col-lg-10">
							<input type='hidden' name='refid' id='refid' value='<?php echo $_refid ?>'>
							<input type="hidden" name="csrf_token" value="<?php echo $token; ?>">
							<input type="text" name="login_username" class="form-control" id="inputUsername" placeholder="Username">
						</div>
					</div>
					<div class="form-group">
						<label for="inputEmail" class="col-lg-2 control-label">Email</label>
						<div class="col-lg-10">
							<input type="text" name="email" class="form-control" id="inputEmail" placeholder="Email">
						</div>
					</div>
					<div class="form-group">
						<label for="inputPassword" class="col-lg-2 control-label"><?php echo $a113;?></label>
						<div class="col-lg-10">
							<input type="password" name="pass1" class="form-control" id="inputPassword" placeholder="Password">
						</div>
					</div>
					<div class="form-group">
						<label for="inputRPassword" class="col-lg-2 control-label"><?php echo $a113;?></label>
						<div class="col-lg-10">
							<input type="password" name="pass2" class="form-control" id="inputRPassword" placeholder="Repeat Password">
						</div>
					</div>
					<div class="form-group">
						<label for="inputAccountype" class="col-lg-2 control-label"><?php echo $a058;?></label>
						<div class="col-lg-10">
							<select class="form-control" i='inputAccountype' name='accounttype'>
								<option value='pub'><?php echo $a259;?></option>
								<option value='adv'><?php echo $a260;?></option>
							</select>
						</div>
					</div>
					<div class="form-group">
						<label for="inputCountry" class="col-lg-2 control-label"><?php echo $a060;?></label>
						<div class="col-lg-10">
							<input type="text" class="form-control" name="country" id="inputCountry" placeholder="Country">
						</div>
					</div>
            
                </div>
					<div class="modal-footer">
						<!-- DOWN BUTTONS -->
						<button type="button" class="btn btn-default" data-dismiss="modal">X</button>
						<input type="submit" class="btn btn-primary" value="<?php echo $a042; ?>" name="submit" id="submit">
					</div>
				</form> 

              </div><!-- /.modal-content -->
            </div><!-- /.modal-dialog -->
        </div><!-- /.modal -->
	  
  <footer class="text-center">
		<p>
			<!-- HOME PAGE !-->
			<a class="btn btn-primary btn-sm" href="f.home"><?php echo $a026; ?></a>
				<!-- Lost your password !-->
			<a class="btn btn-primary btn-sm" href="f.panel?forgotpass"><?php echo $a114;?></a>
				<!-- Publisher Rates -- Could edit from admin panel !-->
			<a class="btn btn-primary btn-sm" href="f.publisher_rates"><?php echo $a193;?></a>
				<!-- Info for ADVERTISERS !-->
			<a class="btn btn-primary btn-sm" href="f.advertiser_rates_int"><?php echo $a192;?></a>
				<!-- ABUSE REPORTING PAGE !-->
			<a class="btn btn-primary btn-sm" href="f.abuse"><?php echo $a013;?></a>
				<!-- CONTACT US LINK !-->
			<a class="btn btn-primary btn-sm" href="f.contact"><?php echo $a033;?></a>
		</p>
		</br>
		<p>
<?php
// FOOTER FOR NORMAL SITE // EXCLUDING HOME PAGE
// LOADING STATS
$time = microtime(true);
$time = explode(' ', $time);
$time = $time[1] + $time[0];
$finish = $time;
$total_time = round(($finish - $start), 4);
if ($total_time == '0') {$total_time = '0.001';}
?>
			<!-- COPYRIGHTS - LOAD TIME  !-->
			© <?php echo date('Y');?> <?php echo"$title";?>™ &nbsp;|&nbsp; <?php echo $a034;?> &nbsp;|&nbsp; <?php echo $a035 .' ' . $total_time . ' '. $a036;?>
		</p>
	</div>
  </footer>

  <!-- jQuery CDN and fallback -->
  <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
  <script>window.jQuery || document.write('<script src="data/templates/bootflot/assets/js/jquery.js">\x3C/script>')</script>

  <!-- Main Scripts-->
  <script src="data/templates/frontend/bootflot/assets/js/bootstrap.min.js"></script>
  <!-- Plan UI elements -->
  <script src="data/templates/frontend/bootflot/assets/js/plan.ui.js"></script>
  <!-- Bootstrap Select -->
  <script src="data/templates/frontend/bootflot/assets/js/bootstrap-select.min.js"></script>

</body></html>

