Пример #1
0
<?php

/**
 * @package WordPress
 * @subpackage Traveler
 * @since 1.0
 *
 * form new login
 *
 * Created by ShineTheme
 *
 */
if (isset($_REQUEST['btn-reg'])) {
    STUser_f::registration_user();
}
$class_form = "";
if (is_page_template('template-login.php')) {
    $class_form = 'form-group-ghost';
}
$btn_sing_up = get_post_meta(get_the_ID(), 'btn_sing_up', true);
if (empty($btn_sing_up)) {
    $btn_sing_up = __("Sign Up", ST_TEXTDOMAIN);
}
?>

<form  method="post" action="<?php 
echo TravelHelper::build_url('url', STInput::get('url'));
?>
">
    <div class="form-group <?php 
echo esc_attr($class_form);