%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/pn/beta/64801_wp-content/themes/intosai/templates/
Upload File :
Create Path :
Current File : /var/www/pn/beta/64801_wp-content/themes/intosai/templates/site-messages.php

<!-- WHEN A USER SENDS THE CONTACT FORM -->
<!-- Email Recieved by admin -->
<?php if(isset($_GET['contactform_sent'])) { ?> <!--  Success -->
    <div class="message success">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> Thank you for your message.</p>
        </div>
    </div>
<?php } ?>
<?php if(isset($_GET['contactform_error'])) { ?> <!--  Error -->
    <div class="message error">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> Something went wrong, please try again.</p>
        </div>
    </div>
<?php } ?>

<!-- WHEN A USER IS REGISTERED -->
<!-- Email Recieved by admin -->
<?php if(isset($_GET['registration_sent'])) { ?> <!--  Success -->
    <div class="message success">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> Thank you for requesting user rights for the SAI Capacity Development Database!</p>
            <p>
                Your request has been submitted and will be considered by the administrator as soon as possible.<br />
                <br />
                Your will recieve a message containing your user name to your registered e-mail address within a few days.<br />
                Thank you.<br />
                <br />
                Regards<br />
                <a href="mailto:<?php echo antispambot('admin@saidevelopment.org'); ?>" style="color:#fff;"><?php echo antispambot('admin@saidevelopment.org'); ?></a>
            </p>
        </div>
    </div>
<?php } ?>
<?php if(isset($_GET['registration_failed'])) { ?> <!--  Error -->
    <div class="message error">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> Something went wrong, please try again.</p>
        </div>
    </div>
<?php } ?>



<?php if(isset($_GET['subscribe'])) { ?> <!--  A USER HAS SUCCESSFULLY SUBSCRIBED TO YOUR NEWSLETTER  -->
    <div class="message success">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-info-circle" aria-hidden="true"></i> Thank you for subscribing</p>
        </div>
    </div>
<?php } ?>

<?php if(isset($_GET['login'])) {
    if($_GET['login'] == 'failed'){ ?> <!--  A LOGGIN ATTEMPT FAILED  -->
    <div class="message error">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-times-circle-o" aria-hidden="true"></i> Something went wrong. Either your Username or Password were enterd incorrectly. Please try again.</p>
        </div>
    </div>
<?php }
} ?>

<?php if(isset($_GET['logedout'])) { ?> <!-- USER LOGGED OUT  -->
    <div class="message success">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> You have successfully loged out</p>
        </div>
    </div>
<?php } ?>

<!--  A USER HAS ADDED A NEW PROJECT -->
<!-- Admin recieves an email -->
<?php if(isset($_GET['project_added'])) { ?> <!--  Success -->
    <div class="message success">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> Your new project was added successfully. You can find it in the list below.</p>
        </div>
    </div>
<?php } ?>
<?php if(isset($_GET['add_project_error'])) { ?> <!--  Error -->
    <div class="message error">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> Something went wrong. Please try again.</p>
        </div>
    </div>
<?php } ?>

<!--  A USER HAS EDITED A PROJECT -->
<!-- Admin recieves an email -->
<?php if(isset($_GET['project_updated'])) { ?> <!--  Success -->
    <?php if(isset($_GET['pending_publication'])){ ?> <!-- If it is a previously un-published project -->
        <div class="message success">
            <div class="inner">
                <div class="close close_msg"><i class="fa fa-times"></i></div>
                <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> Your project has been updated and is awaiting publication.</p>
            </div>
        </div>
    <?php } ?>
    <?php if(isset($_GET['update_pending'])){ ?> <!-- If it is a previously published project -->
        <div class="message success">
            <div class="inner">
                <div class="close close_msg"><i class="fa fa-times"></i></div>
                <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> Your project has been updated and the changes will be visible once the changes has been reviewd.</p>
            </div>
        </div>
    <?php } ?>
<?php } ?>
<?php if(isset($_GET['add_update_error'])) { ?> <!--  Error -->
    <div class="message error">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> Something went wrong. Please try again.</p>
        </div>
    </div>
<?php } ?>

<!-- WHEN A USER UPDATES THEIR INFORMATION -->
<!-- No emails are sent -->
<?php if(isset($_GET['userinfo_updated'])) { ?> <!--  Success -->
    <div class="message success">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> Your information was updated successfully.</p>
        </div>
    </div>
<?php } ?>

<?php if(isset($_GET['userinfo_error'])) { ?> <!--  Error -->
    <div class="message error">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> Something went wrong. Please try again.</p>
        </div>
    </div>
<?php } ?>

<!-- WHEN A USER UPDATES THEIR PASSWORD -->
<!-- No emails are sent -->
<?php if(isset($_GET['password_updated'])) { ?> <!--  Success -->
    <div class="message success">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> Your password was successfully changed.</p>
        </div>
    </div>
<?php } ?>

<?php if(isset($_GET['password_error'])) { ?> <!--  Error -->
    <div class="message error">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> Something went wrong. Please try again.</p>
        </div>
    </div>
<?php } ?>

<!-- WHEN A USER SUGGEST CHANGES TO SAI -->
<!-- Email Recieved by admin -->
<?php if(isset($_GET['suggestion_sent'])) { ?> <!--  Success -->
    <div class="message success">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> Thank you for your contribution. Your suggestion will be reviewed and incorporated in the description if applicable.</p>
        </div>
    </div>
<?php } ?>
<?php if(isset($_GET['suggestion_failed'])) { ?> <!--  Error -->
    <div class="message error">
        <div class="inner">
            <div class="close close_msg"><i class="fa fa-times"></i></div>
            <p><i class="fa fa-check-circle-o" aria-hidden="true"></i> Something went wrong and your suggestion was not sent. Please try again or contact the Administrator if the error persists.</p>
        </div>
    </div>
<?php } ?>

Zerion Mini Shell 1.0