| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/arforms/core/views/ |
Upload File : |
<?php
global $arfsettings;
if (isset($message) && $message != ''){
if(is_admin()){
?>
<div id="message" class="updated" style="padding:5px;"><?php echo $message ?></div>
<?php
} else {
echo $message;
}
}
if( isset($errors) && is_array($errors) && !empty($errors) ){
global $arfsettings;
?>
<div class="<?php echo (is_admin()) ? 'error' : 'frm_error_style' ?>">
<?php
if(!is_admin()){
$img = '';
if($img and !empty($img)){
}
}
if(empty($arfsettings->invalid_msg)){
$show_img = false;
foreach( $errors as $error ){
if($show_img and isset($img) and !empty($img)){
}else{
$show_img = true;
}
echo '<div class="msg-detail">
<div class="msg-title-error">Error</div>
<div class="msg-description-error">'.stripslashes($error).'</div>
</div>';
}
}else{
echo '<div class="msg-detail">
<div class="msg-title-error">Error</div>
<div class="msg-description-error">'.$arfsettings->invalid_msg.'</div>
</div>';
$show_img = true;
foreach( $errors as $err_key => $error ){
if(!is_numeric($err_key) and ($err_key == 'cptch_number' or $err_key == 'form' or strpos($err_key, 'field') === 0 or strpos($err_key, 'captcha') === 0 ))
continue;
echo '<br/>';
if($show_img and $img and !empty($img)){
}else{
$show_img = true;
}
echo '<div class="msg-detail">
<div class="msg-title-error">Error</div>
<div class="msg-description-error">'.stripslashes($error).'</div>
</div>';
}
} ?>
</div>
<div style="clear:both;"></div>
<?php } ?>