Jump to content

Recommended Posts

Posted (edited)

Salut am incercat si eu dar din pacate ma depaseste ..

Vreau ca atunci cand apesi pe butonul Sign Up ca, sa-ti creeze cont, sa se apese si butonul follow

cod Sign Up

<div class="panel panel-default">
                <div class="panel-body">
                    <h4>{__("New to")} {$system.system_title}! {__("Sign up")}</h4>
                    <form class="js_ajax-forms" data-url="core/signup.php">
                        <div class="form-group">
                            <input name="full_name" type="text" class="form-control" placeholder="{__("Full name")}" required>
                        </div>
                        <div class="form-group">
                            <input name="username" type="text" class="form-control" placeholder="{__("Username")}" required>
                        </div>
                        <div class="form-group">
                            <input name="email" type="email" class="form-control" placeholder="{__("Email")}" required>
                        </div>
                        <div class="form-group">
                            <input name="password" type="password" class="form-control" placeholder="{__("Password")}" required>
                        </div>
                        <div class="js_hidden-section x-hidden">
                            <div class="form-group">
                                <label for="gender">{__("I am")}</label>
                                <select name="gender" id="gender" class="form-control" required>
                                    <option value="none">{__("Select Sex")}:</option>
                                    <option value="Male">{__("Male")}</option>
                                    <option value="Female">{__("Female")}</option>
                                </select>
                            </div>
                            <p class="text-muted">
                                {__(" Sign Up")} <a href="#">{__("Terms")}</a>
                            </p>
                        </div>
                        <button type="submit" class="btn btn-block btn-success">{__("Sign Up")}</button>

                        <div class="alert alert-danger mb0 mt10 x-hidden" role="alert"></div>
                        
                    </form>
                </div>
            </div>

cod follow

                        {if $profile['i_follow']}
                            <button type="button" class="btn btn-default js_follow" data-uid="{$profile['user_id']}">
                                <i class="fa fa-rss"></i>
                                {__("Follow")}
                            </button>
                        {/if}

 

Edited by PAProject
  • gaby changed the title to Sign Up si Follow pe acelasi buton?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.