Jakweb.ch stuff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

126 lines
5.7 KiB

<?php include_once APP_PATH.'template/business/tplblocks/header.php';?>
<div class="container">
<div class="row pb-4">
<div class="col-md-6 col-sm-10 mb-3">
<?php if (isset($_SESSION["webembed"])) { ?>
<p><a href="<?php echo JAK_rewrite::jakParseurl(JAK_SUPPORT_URL);?>" class="btn btn-secondary"><i class="fa fa-arrow-left"></i></a></p>
<?php } ?>
<div class="login-wrapper">
<div class="login-title">
<h2 class="pb-3"><?php echo $jkl['hd18'];?></h2>
</div>
<div class="form-signin">
<div class="loginF">
<?php if (isset($ErrLogin)) { ?>
<?php if (defined('JAK_API_PROFILE') && !empty(JAK_API_PROFILE)) { ?>
<p class="pt-2"><a href="<?php echo JAK_API_PROFILE;?>" class="btn btn-block btn-danger"><i class="fa fa-key"></i> <?php echo $jkl["hd19"];?></a></p>
<?php } else { ?>
<p class="pt-2"><a href="javascript:void(0)" class="btn btn-block btn-danger lost-pwd"><i class="fa fa-key"></i> <?php echo $jkl["hd19"];?></a></p>
<?php } } ?>
<?php if (isset($errorsl)) { ?><div class="alert alert-danger mt-2"><?php echo $errorsl["recaptcha"];?></div><?php } ?>
<form id="login_form" method="post" action="<?php echo JAK_rewrite::jakParseurl(JAK_CLIENT_URL);?>">
<div class="form-group<?php if (isset($ErrLogin)) echo " has-danger";?>">
<label for="email"><?php echo $jkl["g5"];?></label>
<input type="text" name="email" class="form-control" id="email">
</div>
<div class="form-group<?php if (isset($ErrLogin)) echo " has-danger";?>">
<label for="password"><?php echo $jkl["g77"];?></label>
<input type="password" name="password" class="form-control" id="password">
</div>
<?php if (!empty(JAK_RECAP_CLIENT)) { ?>
<p><div class="g-recaptcha" data-sitekey="<?php echo JAK_RECAP_CLIENT;?>"></div></p>
<?php } ?>
<div class="form-check">
<label class="form-check-label">
<input class="form-check-input" type="checkbox" name="lcookies" checked>
<span class="form-check-sign">
<span class="check"></span>
</span>
<?php echo $jkl["hd20"];?>
</label>
</div>
<input type="hidden" name="action" value="login">
<button type="submit" name="logID" class="btn btn-rose btn-round"><?php echo $jkl["hd18"];?></button>
</form>
</div>
<div class="forgotP">
<h4><?php echo $jkl["hd21"];?></h4>
<?php if (isset($errorfp)) { ?><div class="alert alert-danger mt-2"><?php echo $errorfp["e"];?></div><?php } ?>
<form action="<?php echo JAK_rewrite::jakParseurl(JAK_CLIENT_URL);?>" method="post">
<div class="form-group<?php if (isset($errorfp)) echo " has-danger";?>">
<label for="lsE"><?php echo $jkl["g5"];?></label>
<input type="text" name="lsE" class="form-control" id="lsE">
</div>
<?php if (!empty(JAK_RECAP_CLIENT)) { ?>
<p><div class="g-recaptcha" data-sitekey="<?php echo JAK_RECAP_CLIENT;?>"></div></p>
<?php } ?>
<button type="submit" name="forgotP" class="btn btn-rose btn-round"><?php echo $jkl["hd22"];?></button>
<input type="hidden" name="action" value="forgot-password">
</form>
<hr>
<p><a href="javascript:void(0)" class="btn btn-success btn-round lost-pwd"><i class="fa fa-lightbulb-o"></i> <?php echo $jkl["hd23"];?></a></p>
</div>
</div>
</div>
</div>
<div class="col-md-6 col-sm-10">
<?php if (JAK_REGISTER) { ?>
<div class="register-wrapper">
<div class="register-title">
<h2 class="pb-3"><?php echo $jkl['hd24'];?></h2>
</div>
<div class="form-signin">
<?php if ($errorsreg) { ?>
<div class="alert alert-danger mt-2">
<?php if (isset($errorsreg) && !empty($errorsreg)) foreach ($errorsreg as $e) { echo $e; }?>
</div>
<?php } ?>
<form method="post" action="<?php echo JAK_rewrite::jakParseurl(JAK_CLIENT_URL);?>">
<div class="form-group<?php if (isset($errorsreg["e"])) echo " has-danger";?>">
<label for="namereg"><?php echo $jkl["g4"];?></label>
<input type="text" name="reg_name" class="form-control" id="namereg" value="<?php if (isset($_REQUEST["reg_name"])) echo $_REQUEST["reg_name"];?>">
</div>
<div class="form-group<?php if (isset($errorsreg["e1"])) echo " has-danger";?>">
<label for="emailreg"><?php echo $jkl["g5"];?></label>
<input type="text" name="reg_email" class="form-control" id="emailreg" value="<?php if (isset($_REQUEST["reg_email"])) echo $_REQUEST["reg_email"];?>">
</div>
<?php if (isset($custom_fields_register) && !empty($custom_fields_register)) echo $custom_fields_register;?>
<?php if (!empty(JAK_RECAP_CLIENT)) { ?>
<p><div class="g-recaptcha" data-sitekey="<?php echo JAK_RECAP_CLIENT;?>"></div></p>
<?php } ?>
<input type="hidden" name="action" value="register">
<button type="submit" name="registerID" class="btn btn-rose btn-round"><?php echo $jkl["hd30"];?></button>
</form>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
<?php include_once APP_PATH.'template/business/tplblocks/footer.php';?>