<div class="alert alert-danger" role="alert">Invalid information, please check your entries and try again</div>
            <?php 
}
// End Show Region
?>
            <?php 
if (WA_Auth_RulePasses("Email address not found")) {
    // Begin Show Region
    ?>
                <div class="alert alert-danger" role="alert">Your username could not be found in our records. Please try again.</div>
            <?php 
}
// End Show Region
?>
            <?php 
if (WA_Auth_RulePasses("Email server failure")) {
    // Begin Show Region
    ?>
                <div class="alert alert-danger" role="alert">Email failed to send.  Please confirm your email settings with your hosting provider.</div>
            <?php 
}
// End Show Region
?>
        </div>

            <div class="middle-box text-center loginscreen animated fadeInDown">
                <div>
                    <div>

                        <h1 class="logo-name"><img src="../../img/EliteRespiteCareLogo_text.svg" height="100" /></h1>
Пример #2
0
        if (strpos("," . ValidatedField("userupdate", "userupdate") . ",", "," . "2" . ",") !== false || "2" == "") {
            if (!false) {
                ?>
      <div class="alert alert-danger animated fadeIn" role="alert">The value you entered for the Email field is already contained in our records</div>
      <?php 
                //WAFV_Conditional userupdate.php userupdate(2:)
            }
        }
    }
    ?>
    <?php 
}
// End Show Region
?>
    <?php 
if (WA_Auth_RulePasses("Successful update")) {
    // Begin Show Region
    ?>
    <div class="alert alert-success animated fadeIn" role="alert">Information updated successfully</div>
    <?php 
}
// End Show Region
?>
      <br>
    </div>
  </div>
 
  <div class="container">
    <div id="UpdateContainer" class="row WAATK">    
      <?php 
if ($totalRows_SecurityAssistpcms2users > 0) {
    $WAFV_Redirect = "" . htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES) . "?invalid=true";
    $_SESSION['WAVT_advertisingupdate_Errors'] = "";
    if ($WAFV_Redirect == "") {
        $WAFV_Redirect = $_SERVER["PHP_SELF"];
    }
    $WAFV_Errors = "";
    $WAFV_Errors .= WAValidateRQ((isset($_POST["ad_title"]) ? $_POST["ad_title"] : "") . "", true, 1);
    //$WAFV_Errors .= WAValidateDT((isset($_POST["ad_expire"])?$_POST["ad_expire"]:"") . "",true,"","","",false,"","","",false,3);
    if ($WAFV_Errors != "") {
        PostResult($WAFV_Redirect, $WAFV_Errors, "advertisingupdate");
    }
}
require_once "../../webassist/file_manipulation/helperphp.php";
require_once "../../webassist/database_management/wa_appbuilder_php.php";
require_once "../../webassist/security_assist/helper_php.php";
if (!WA_Auth_RulePasses("Logged in to pcms2_users")) {
    WA_Auth_RestrictAccess("../user-admin/login.php");
}
if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
    {
        if (PHP_VERSION < 6) {
            $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
        }
        $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
        switch ($theType) {
            case "text":
                $theValue = $theValue != "" ? "'" . $theValue . "'" : "NULL";
                break;
            case "long":
            case "int":
Пример #4
0
<?php 
include "../admin-parts/admin-head.php";
?>

<body id="body-admin">

<?php 
include "../admin-parts/admin-nav.php";
require_once "../admin-parts/admin-header.php";
?>

<div class="container">
    <div class="row">
        <div class="col-md-12">
            <?php 
if (WA_Auth_RulePasses("Validated form")) {
    // Begin Show Region
    ?>
                <div class="alert alert-danger animated fadeIn" role="alert">Invalid information, please check your
                    entries and try again
                </div>
                <?php 
    if (ValidatedField('registration', 'registration')) {
        if (strpos("," . ValidatedField("registration", "registration") . ",", "," . "2" . ",") !== false || "2" == "") {
            if (!false) {
                ?>
                            <div class="alert alert-danger animated fadeIn" role="alert">The value you entered for the
                                Email field is already contained in our records
                            </div>
                            <?php 
                //WAFV_Conditional registration.php registration(2:)