Thread Rating:
  • 3 Vote(s) - 4.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PlugIn Contact Form Getsimple
Hi Cumbe and everyone

Re .. Bugs fixed, Here is an edited version of v5823

I am using this contact form plugin from Cumbe, but on downloading the latest version v5823, I had some bugs. I have fixed all the bugs that I have seen, and the contact form is now working well. Also, I added a little extra functionality to v5823, but this does NOT affect the original functionality.

So the reason for this post is that I offer you my bug fixed version and also the added functionality. … but I am not the original author, just trying to help. The edited files are included below.

First a important note : I have only ever used the PHPmailer class. In the contact form there are 2 send methods, which you can choose with function param ‘sendphpmail’ : false : use php mail() fn, true : use the PHPMailer class. In testing my bug fixes and functionality changes, I have only ever used/tested the PHPMailer class, and never the php mail() fn ... So if there any problems on he php mail() side them I have not look at these. But I have not touched the code for the actual send process using the other php mail() function … so I hope I have not broken that side … apologies if I have !

Indyana : I have not included your possible mod to possible problem, in you last post re canonical redirects.

... So all mods are relative to version 5823 :

1. Bugs fixed - general
a. Captcha validation enable / disable : If function param ‘captcha’ is set false, then now NO captcha validation is done AND the captcha fields are not shown in the contact form
b. Moved the add_action('pages-sidebar', …) fn in cbcontact_form.php to inside the if (basename($_SERVER, …)) {.. } block. .. otherwise had language switching problems (I have a multilanguage site) … a Cumbe mod, but not in v5823

2. Bugs fixed – PHPMailer
a. Put PHPMailer send() and some add email address fns in a try/catch, to catch otherwise uncaught exceptions when have send problems.
b. v5823 : $message->FromName = $from = > Changed to : Mail->fromEmail = $from .. otherwsie have problems

3. Functional changes – General
a. Add the following 2 boolean configs .. in my edited cbcontact_form.php, line 322 and 329 .. to change their true/false values change them directly in the code. (I did not want to change the cbcontact_page() fn param list) :

b. $display_jsalert_boolean
i. true => Display success/error message on send in a javascript alert box (as v5823)
ii. false => Display success/error message on send in the html at the top of the re-output contact form , colour blue = success, red = error

c. $required_fields_all_boolean
i. true => All four contact form textfields are required
ii. false => Only the fields 'Name' and 'Subject' are required (as v5823)

d. input param $usu - the GS admin username, used to look up his email address in the GS admin => This can now also be directly an email address and will be accepted as such, exactly in the same way as the ‘other users’ $usus

e. Tidy code : Since I was doing a number of changes, I generally tidied some code here and there, to make it clearer to understand, at least for me, but functionality not changed because of this.


4. General PHPMailer setup
a. In my edited comprueba.php file I have all the PHPMailer params setup for my needs as follows
b. Note the API description for PHPMiler is at : http://phpmailer.github.io/PHPMailer/cla...ailer.html

c. In general, for your particular setup you need to assign some or all of the following
i. $mail->IsSMTP() / isMail() / isSendmail()
ii. $mail->SMTPSecure = "" / "ssl" / "tls"
iii. $mail->Host = "my.server.name"; // specify SMTP Server name
iv. $mail->Port = 25; // specify SMTP Server port nr, default = 25
v. $mail->SMTPAuth = true/false ; // turn on/off SMTP authentication
vi. $mail->Username = "me@myusername.com"; // SMTP username
vii. $mail->Password = "mypassword"; // SMTP password

d. As an example, for my needs I have => I am sending over SMTP to my website hoster’s smtp mail server, which has the same server name as my hoster, so smtp server is localhost, and authentication is required :
i. $mail->IsSMTP(); // send mail over SMTP
ii. // $mail->SMTPSecure = xx // no ssl/tls required (at the moment), default = “” = not secure
iii. $mail->Host = "localhost"; // smtp server is same as my hoster
iv. $mail->Port = 25; // This is the default anyway
v. $mail->SMTPAuth = true; // Require SMTP username / password to send
vi. $mail->Username = "me@myusername.com"; // SMTP username (dummy)
vii. $mail->Password = "mypassword"; // SMTP password (dummy)
.
5. So here are the files … use them all together, just replace the original with these. Not, the css file is not necessary, but I just changed it a bit so looked better for me. PS to everyone .. is there a better place in the future to upload whole files ? , as I think code tags are really only meant for code snippets.

6. Tell me if it has improved things for you

7. Cumbe, if you have time can you check through these mods and see what you think, and maybe you can include the mods in an updated version of the proper online version, that would be great

Regards Aldebaran

cbcontact_form.php :
PHP Code:
<?php

/*****************************************************/
/* Aldebaran Edited Version 1.0                      */
/* - An edit of Cumbe's plugin 'Contact Form' v5823  */
/*****************************************************/

/*
Name: Simple Cumbe contact form
Description: It is a simple contact form
Version: 5.8.2.3
Author: Cumbe (Miguel Embuena Lance)
Author URI: http://www.cumbe.es/contact/
*/

// Relative
$relative '../';
$path $relative'data/other/';

# get correct id for plugin
$thisfile=basename(__FILE__".php");

# register plugin
register_plugin(
    
$thisfile,
    
'Cumbe_contact',
    
'5.8.2.3',
    
'Cumbe',
    
'http://www.cumbe.es/contact/',
    
'Description:  Getsimple contactform.',
    
'pages'//page type
    
'vermensajes'
);

//set internationalization
global $LANG;
if (
basename($_SERVER['PHP_SELF']) != 'index.php') { // backend only
  
i18n_merge('cbcontact'$LANG);
  
i18n_merge('cbcontact''en_US');
  
// New Cumbe Mod 
  // add to sidebar of admin > pages
  
add_action('pages-sidebar','createSideMenu',array('cbcontact_form'$i18n['cbcontact/CONTACT']));
}

//add css to head
add_action('theme-header','cbcontact_css');

//check $_SESSION
add_action('index-pretemplate''cbcontact_session');

// New Cumbe Mod  .. moved to above  
// add_action('pages-sidebar','createSideMenu',array('cbcontact_form', $i18n['cbcontact/CONTACT']));

//filter $content
add_filter('content','cbcontact_content');

function 
cbcontact_css(){
   global 
$SITEURL;
   echo 
'<link href="'.$SITEURL.'plugins/cbcontact/form/cbcontact.css" rel="stylesheet" type="text/css" />';
}

function 
cbcontact_session(){
   if( !isset(
$_SESSION)){
         
session_start();
   }
}


/* ***************************************************** */
/* Function  vermensajes()  =>  list_email_log()         */ 
/* This is called in the backend/admin  to display the   */
/* contact form pa<ge showing the list of email sent     */
/* ***************************************************** */ 
function vermensajes(){
    global 
$i18n

    
$log_name 'cbcontactform.log';
    
$log_path GSDATAOTHERPATH.'logs/';
    
$log_file $log_path $log_name;

?>
    <script type="text/javascript">
        <!--
    function confirmar(formObj,count,msge,bck) {
        if(!confirm(msge)) { 
                   return false; 
            } else {
                   if (bck == 'log'){
                       if (count =='n'){
                           window.location="load.php?id=cbcontact_form&action=delete";
                       } else {   
                           window.location="load.php?id=cbcontact_form&n_del=" + count + "";
                       }
                   } 
                   return false;
            }    
        }

        -->
    </script> 
<?php

    
if(file_exists($log_file)) {
        
$log_data getXML($log_file);
        if (@
$_GET['action'] == 'delete' && strlen($log_name)>0) {
            
unlink($log_file);
            
exec_action('logfile_delete');
?>
                    <label>Log <?php echo $log_name;?> <?php echo $i18n['MSG_HAS_BEEN_CLR']; ?>            
                </div>
            </div>
            <div id="sidebar" >
                <?php include('template/sidebar-pages.php'); ?>
            </div>    
            <div class="clear"></div>
            </div>
            <?php get_template('footer'); ?>
<?php
            
exit;
        }

        
//delete one register:entry
        
if (@$_GET['n_del'] != ''){
            
$domDocument = new DomDocument();
            
$domDocument->preserveWhiteSpace FALSE
            
$domDocument->load($log_file);
            
$domNodeList $domDocument->documentElement;
            
$domNodeList $domDocument->getElementsByTagname('entry');
            
$ndel = @$_GET['n_del'];
            
$ndL $domNodeList ->item($ndel)->parentNode;
            
$ndL -> removeChild($domNodeList ->item($ndel));

            
//sase again modified document
            
$domDocument->save($log_file);
        }     

        
//load data of xml
        
$log_data getXML($log_file);
        
//END delete one register

?>

        <label><?php echo $i18n['VIEWING'];?>&nbsp;<?php echo $i18n['LOG_FILE'];?>: &lsquo;<em><?php echo @$log_name?></em>&rsquo;</label>
        <div class="edit-nav" >
<?php
            
echo '<a href="load.php?id=cbcontact_form&action=delete" accesskey="c" title="'.$i18n['CLEAR_ALL_DATA'].' '.$log_name.'" onClick="return confirmar(this,&quot;n&quot;,&quot;'.$i18n['CLEAR_ALL_DATA'].' '.$log_file.'. '.$i18n['cbcontact/delsure'].'&quot;,&quot;log&quot;)" />'.$i18n['CLEAR_THIS_LOG'].'</a>';
            echo 
'<div class="clear"></div>';
        echo 
'</div>';
        echo 
'<ol class="more" >';
            
$count 0;

            foreach (
$log_data as $log) {
                echo 
'<li><p style="font-size:11px;line-height:15px;" ><b style="line-height:20px;" >'.$i18n['LOG_FILE_ENTRY'].':'.$count.'</b><a style="padding-left: 50px;" title="'.$i18n['cbcontact/ndel'].'" href="load.php?id=cbcontact_form" onClick="return confirmar(this,&quot;'.$count.'&quot;,&quot;'.$i18n['cbcontact/ndelc'].$count.'. '.$i18n['cbcontact/delsure'].'&quot;,&quot;log&quot;)"><b>X</b></a><br />';
;
                foreach(
$log->children() as $child) {
                    
$name $child->getName();
                    echo 
'<b>'stripslashes(ucwords($name)) .'</b>: ';      
                    
$d $log->$name;
                    
$n strtolower($child->getName());
                    
$ip_regex '/^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:[.](?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$/';
                    
$url_regex = @"((https?|ftp|gopher|telnet|file|notes|ms-help):((//)|(\\\\))+[\w\d:#@%/;$()~_?\+-=\\\.&]*)";
                      
                      
                    
//check if its an url address
                    
if (do_reg($d$url_regex)) {
                        
$d '<a href="'$d .'" target="_blank" >'.$d.'</a>';
                    }
                      
                    
//check if its an ip address
                    
if (do_reg($d$ip_regex)) {
                        if (
$d == $_SERVER['REMOTE_ADDR']) {
                            
$d $i18n['THIS_COMPUTER'].' (<a href="http://www.geobytes.com/IpLocator.htm?GetLocation&IpAddress='$d.'" target="_blank" >'.$d.'</a>)';
                        } else {
                            
$d '<a href="http://www.geobytes.com/IpLocator.htm?GetLocation&IpAddress='$d.'" target="_blank" >'.$d.'</a>';
                        }
                    }
                      
                    
//check if there is an email address
                    
if (check_email_address($d)) {
                        
$d '<a href="mailto:'.$d.'">'.$d.'</a>';
                    }
                      
                    
//check if its a date
                    
if ($n === 'date') {
                        
$d lngDate($d);
                    }
                          
                    echo 
stripslashes(html_entity_decode($d));
                    echo 
' <br />';
                }
                echo 
"</p></li>";
                
$count++;
            }                
                
?>
        </ol>
        
<?php
    
//END if file_exists
    
else
    {   
//If file does not exist
?>
        <label><?php echo $i18n['MISSING_FILE']; ?>: &lsquo;<em><?php echo @$log_name?></em>&rsquo;</label>
<?php
    
}

}  
// END vermensajes


/* ********************************************** */
/*  Function  cbcontact_content($content)         */ 
/*                                                */
/* ********************************************** */ 
function cbcontact_content($content){
  
////////////////////////////////////////////////////////////////////  
  //         filter content of page searching $cbcontact 
  ////////////////////////////////////////////////////////////////////  

   /*
   echo ' <br>At the very START of function cbcontact_content <br><br>';
   echo '\$content at start  = '.$content.'<br><br>';
   */
  
    
if ( preg_match("/\(%\s*(cbcontact)(\s+(?:%[^%\)]|[^%])+)?\s*%\)/"$content$coinc)){
        
$array_coinc explode(','$coinc[2]);
        
$cuantos count($array_coinc);

        
array_filter($array_coinc'trim_value');
        
$array_coinc str_replace("'","",$array_coinc); 
        
$array_coinc str_replace(" ","",$array_coinc); 

        if (
array_key_exists ('1'$array_coinc) === false) {
            
$array_coinc[1] = 'true';
        } else {
            
$array_coinc[1] = trim($array_coinc[1]);
        }  
        if (
array_key_exists ('2'$array_coinc) === false) {
            
$array_coinc[2] = 'false';
        } else {
            
$array_coinc[2] = trim($array_coinc[2]);
        } 

        
$usus '';   
        for (
$q 4$q $cuantos$q++ ){
            
$usus[$q] = $array_coinc[$q];
        }  
        
$usus str_replace("'","",$usus); 
        
$usus str_replace(" ","",$usus); 
        


      
$content_cbcontact cbcontact_page (trim($array_coinc[0]), $array_coinc[1], $array_coinc[2], false,  $usus);
      
        
$content str_replace($coinc[0], $content_cbcontact$content);
    } 
   
   return 
$content;
}   


/* *************************************************************************************************** */ 
/*  cbcontact_page()  : Main function to output the Contact form, and  send the form data as an email  */  
/*                                                                                                     */
/*      1st para : $usu, String, user name of GetSimple admin, or the user's email addr.               */ 
/*      2nd para : $captcha, Boolean,  true = Use Captcha, false = Don’t use Captcha,                  */ 
/*      3rd para : $sendphpmail, Boolean, true = send mail with PHPMailer class,                       */
/*                                       false = with the php fn  mail()                               */ 
/*      4th para : $echocontact, Boolean, true = echo the HTML code for the contact form,              */
/*                                       false = return the HTML code                                  */ 
/*      5th para : $usus .. A String array of users / users' emails                                    */ 
/* *************************************************************************************************** */  
function cbcontact_page($usu$captcha=true$sendphpmail=false$echocontact=true$usus='') {

    global 
$admin_user_email
    global 
$SITEURL;
    global 
$SITENAME;
    global 
$LANG;
    global 
$PRETTYURLS;
    global 
$i18n;
    global 
$language;
   
  
/* ------------------------------------------------------------------------------------- */ 
  /* Convert passed boolean/strings $captcha, $sendphpmail and $echocontact                */
  /* to definite booleans. ... These passed in params can be either boolan or string  ..   */ 
  /* .. So converting to ONLY booleans makes any 'if' code where they are used clearer AND BUG free !*/ 
  /* ------------------------------------------------------------------------------------- */
  // Convert $captcha to $captchaboolean
  // $captcha -> $captchabool :  "1" ->T, "true"->T, "TRUE"->T, "0"->F, "false"->F, "FALSE"->F, ""->F, "Any"->T, true->T, false->F
  
$captchaboolean  false;  
  if ((
$captcha == false)  or  (strtolower($captcha) == "false"))
  { 
$captchaboolean false; }                          
  else 
  { 
$captchaboolean true; }
    
    
  
// Convert $sendphpmail to $sendphpmailboolean
  // $sendphpmail -> $sendphpmailboolean :  "1" ->T, "true"->T, "TRUE"->T, "0"->F, "false"->F, "FALSE"->F, ""->F, "Any"->T, true->T, false->F
  
$sendphpmailboolean  false;  
  if ((
$sendphpmail == false)  or  (strtolower($sendphpmail) == "false"))
  { 
$sendphpmailboolean false; }                          
  else 
  { 
$sendphpmailboolean true; }
 
    
  
// Convert $echocontact to $echocontactboolean
  // $echocontact -> $echocontactbool :  "1" ->T, "true"->T, "TRUE"->T, "0"->F, "false"->F, "FALSE"->F, ""->F, "Any"->T, true->T, false->F
  
$echocontactboolean  false;  
  if ((
$echocontact == false)  or  (strtolower($echocontact) == "false"))
  { 
$echocontactboolean false; }                          
  else 
  { 
$echocontactboolean true; }

  
/* ---------------------------------------- */ 
  /*    Define some additional local booleans   */
  /* ---------------------------------------- */
  
   // -----------------------------------------
   //  Display success/error message on send, either
   //  $display_jsalert_boolean = true  => In a javascript alert box,  or  
   //  $display_jsalert_boolean = false => In the html at the top of the re-output contact form  
   // -----------------------------------------
   
$display_jsalert_boolean true;
          
   
// -----------------------------------------
   //  Define the fields that are required/mandatory/obligatory  ..
   //  $required_fields_all_boolean = true  => All contact form fields are required
   //  $required_fields_all_boolean = false => Only the fields 'Name' and 'Subject' are required  
   // -----------------------------------------
   
$required_fields_all_boolean false;
          

    
$log_name 'cbcontactform.log';
    
$log_path GSDATAOTHERPATH.'logs/';
    
$log_file $log_path $log_name;
    
$fich return_page_slug();
    
$idpret find_url($fich,'');
    if (
$PRETTYURLS !='') {
        
$idpret $idpret.'?';
    }

    if (
file_exists('gsconfig.php')) {
        include_once(
'gsconfig.php');
    }

    
// Debugging
    
if (defined('GSDEBUG')){
        
error_reporting(E_ALL E_STRICT);
        
ini_set('display_errors'1);
    } else {
        
error_reporting(0);
        @
ini_set('display_errors'0);
    }

    
//Check session: important for captcha and contact form    
    
if (!isset($_SESSION)) { session_start(); }

   
   
// Get the Email address and language defined in the GS admin for the admin user 
   
if (!check_email_address($usu)){ 
      if (
file_exists(GSDATAPATH.'users/'.$usu.'.xml')) {
         
$data getXML(GSDATAPATH.'users/'.$usu.'.xml');  
         
$admin_user_email $data->EMAIL;
         
$LANG $data->LANG;
      }    
   } 
   else {
      
// $value is already/directly a valid email => so assign directly 
      // to admin_user_email   
      
$admin_user_email $usu;
      
$LANG 'en_US'// Just a basic default if don't know anything else 
   
}

    
// i18n compatible
    
if (isset($_GET['setlang'])){
        
$LANG $_GET['setlang']. '_'.strtoupper($_GET['setlang']);
    }
    if (isset(
$language)){
        switch (
$language) {
            case 
'en':
                
$LANG $language'_US';
                break;
            default:
              
$LANG $language'_'.strtoupper($language);
               break;
        }
    }
    
// i18n lang  
    
i18n_merge('cbcontact'$LANG);     

   
   
// Get the email address of the other users, defined in fn array param $usus
   // For each value of $usus if it is an email address, then assign it directly
   // to output array $other_user_emails, else assume it is a user name, so get this user's
   // email address from the GS admin, and then assign this to $other_user_emails. Note,
   // this may not actually be a valid email addr, but assign it anyway .. will
   // get an error on send (probably) to highlight the problem .. and the admin 
   // can correct the email entry in GS admin 
   
   // Note, if cbcontact_page() is called from add_filter function cbcontact_content(),
   // then if array $usus exists, its first key value is 4, and NOT 0    
   
   // Note, the output array other_user_emails will not be created at all, if have no valid email
   // directly in usus and none can be found in GS admin.  ... so when use other_user_emails 
   // afterwards test if it first exists with if (isset($other_user_emails))    

   // $usus is the array (or poss single var) of other users or emails passed to the fn 
    
if ($usus != ''){
      
// If usus is a single variable, then make into an array .. so can check it also below 
      
if (!(is_array($usus))){
         
$temp =  $usus;
         unset(
$usus);
         
$usus[4] = $temp;         
        }
      if (
is_array($usus)) {
         foreach (
$usus as $key=> $value) {   
            if (!
check_email_address(trim($value))){ 
               if (
file_exists(GSDATAPATH.'users/'.trim($value).'.xml')) {
                  
$data getXML(GSDATAPATH.'users/'.trim($value).'.xml');  
                  
$other_user_emails[$key] = $data->EMAIL;  
               }    
            } 
            else {
               
// $value is already/directly a valid email => so assign directly 
               // to other_user_emails 
               
$other_user_emails[$key] = trim($value);
            }
         } 
// end for each
      
}
    } 
 
   
// Initialise error flag/string and message output string
   
$err '';
   
$msgshw '';

   
// Define an assoc array fields[] to temporarily hold the user entered textfield values.
   // Also used to to re-output textfield for the next displayed HTML contact form.
   
global $fields;
    
$fields = array(
        
i18n_r('cbcontact/Nb') =>  '',  // 'Name',
        
i18n_r('cbcontact/Em') =>  '',  // 'Email',
        
i18n_r('cbcontact/Sub') => '',  // 'Subject',
        
i18n_r('cbcontact/Ms') =>  '',  // 'Message', 
    
);
 
   
// If we come here becuse the contact form was already displayed and the user hit the 
   // submit button, then insert the validate fields/send mail script 
   // Else This is the first time display of the contact form, so just continue ...    
    
if (isset($_POST['contact-submit'])) {
   
        include (
GSPLUGINPATH."cbcontact/comprueba.php");
    }
   

?>
    <script type="text/javascript">
    <!--
        function rec_cpt(id,ourl){
            var aleat = Math.random();
            var mf = document.getElementById(id);
            mf.src = ourl + "/cbcontact/&" + aleat;
        }
    -->
    </script>

<?php

    
//control uri
    
$request_uri getenv ("REQUEST_URI");       // Requested URI

    //Show in page   
    
$mGSPLUGINPATH str_replace("\\""/"GSPLUGINPATH);
    
$mGSPLUGINPATH substr($mGSPLUGINPATH0, -1);

    
// -------------------------
   // Set up the actual Form HTML 
   // -----------------------
  
    
$cbcontactform '<form id="cbform" class="" action="'.    $idpret.'&amp;tp=contact" method="post">';
   
   
// Aldebaran : If option selected, add in a message after a send, will be a success or error message.
   
if ($display_jsalert_boolean === false) {
      if (
$msgshw != ''$cbcontactform .= '<div class = "msgshw" >'.$msgshw.'</div>';
      else 
$cbcontactform .= '<div class = "msgshw" >&nbsp;</div>';
   }

   
// Call script to include the main body of he form  
    
include  (GSPLUGINPATH.'cbcontact/form/cbcontact.php');

    
// add in hidden fields
    
$cbcontactform .= "\r\n\t".'<input type="hidden" name="contact[q_uri]" value="'.$request_uri.'">';
    
$cbcontactform .= "\r\n\t".'<input type="hidden" name="contact[leaveblank]" value="">';
    
$cbcontactform .= "\r\n\t".'<input type="hidden" name="contact[leaveso]" value="leaveso">';
    
$cbcontactform .= "\r\n".'</form>'."\r\n\t";

   
// ---------------------------------------------------------------------------------------------
   // Echo or return the contact form html 
   //    
   // $echocontact is passed in as FALSE when cbcontact_page() is called from cbcontact_content() 
   // so that we return HTML content of $cbcontactform to cbcontact_content() where it is then
   // added to $content .. so we replace the page editer entered (% %) syntax with the form code.   
   // 
   // $echocontact is passed in as TRUE when we just want to echo the HTML content of $cbcontactform,
   // eg when we directly call cbcontact_page() from a template file.   
   // ----------------------------------------------------------------------------                                                                   ------------------
   
if ($echocontactboolean === true){
        echo 
$cbcontactform;
    } else {
        return 
$cbcontactform;
    } 

}

function 
trim_value(&$value){
    
$value trim($value); 
}
 
?>

cbcontact/comprueba.php :
PHP Code:
<?php

/*****************************************************/
/* Aldebaran Edited Version 1.0                      */
/* - An edit of Cumbe's plugin 'Contact Form' v5823  */
/*****************************************************/

//-----------------------------------------------------------------//
//--- comprueba.php:  action if form is submit                     //
//-----------------------------------------------------------------//
if (!isset($_SESSION)) { session_start(); }

  if (
$captchaboolean === true) {  
    
$imagenCadena $_SESSION["imagencadena"]; 
    
$pot trim(strtolower($imagenCadena));
  }
  
  
$server_name getenv ("SERVER_NAME");       // Server Name
  
$request_uri getenv ("REQUEST_URI");       // Requested UR

// check antispam 
if (isset($_POST['contact-submit'])) {
    if (
$_POST['contact']['leaveso'] != 'leaveso' or $_POST['contact']['leaveblank']!=''){
       echo 
'<html>';
       echo 
'<head>';
       echo 
'</head>';
       echo 
'<body>';
       echo 
'<div style="padding: 20px; border: 4px double; margin: 20%;">';
       echo 
i18n_r('cbcontact/spam').'<br />';
       echo 
'<a href="'.$idpret.'">'.i18n_r('cbcontact/back').'</a>';
       echo 
'</div>';
       echo 
'</body>';
       echo 
'</html>';   
       exit; 
    }  
}

//------------------------
//START CONTACT
//------------------------
    
if (@$_GET['tp'] == 'contact') { 
        if (isset(
$_POST['contact-submit'])) {
      
          
// Assign the Forms POST params to the local array $fields[ ]
         // Note $_POST['contact'] is an array of all the field values 
         
$fields $_POST['contact'];  
         
         
// Just remove any leading/trailing spaces, so if a field just 
         // contains spaces it is completely emptied, so validated correctly     
         
foreach ( $fields as $key => $value ) {
                     
$fields[$key] = trim($value);
            }
         
         
// ------------------------------------------ //
         //  Do field validation                       //
         // ------------------------------------------ // 
         
$err '';
            
         
// Check captcha - mandatory, if enabled. Note $pot = value of $imagenCadena     
         
if ($captchaboolean === true)  {

                if ( 
$pot != trim(strtolower($fields['pot']))) {

                    
$err i18n_r('cbcontact/MSG_CAPTCHA_FAILED');  
               
$err .= ' Captcha code: '.$pot.', Code wrote: '.$fields['pot'];                 
                }
            }
         
         
// if err != '' due to Captca err then don't do any more validating 
         
if ($err == '') { 
         
            
// Check all fields, mandatory or not   .. 
            // Check in reverse order so first see the error message of top most field 
            // ------------------------------------------------------
       
            // Check MESSAGE - If empty, label, (*)label then empty, and (Is mandatory) so then set err msg    
            
if ( ($fields[i18n_r('cbcontact/Ms')] == '' )  or 
                 (
$fields[i18n_r('cbcontact/Ms')] == '(*)'.i18n_r('cbcontact/Ms'))  or 
                     (
$fields[i18n_r('cbcontact/Ms')] == i18n_r('cbcontact/Ms')) 
               ) 
            {
               
$fields[i18n_r('cbcontact/Ms')] = '';
               
$err i18n_r('cbcontact/Ms'). ' : *** '.i18n_r('cbcontact/Co').' ***';
            }

            
// Check SUBJECT  - If empty, label, (*)label then empty, and If mandatory then set err msg   
            
if ( ($fields[i18n_r('cbcontact/Sub')] == '' )  or 
                 (
$fields[i18n_r('cbcontact/Sub')] == '(*)'.i18n_r('cbcontact/Sub'))  or 
                 (
$fields[i18n_r('cbcontact/Sub')] == i18n_r('cbcontact/Sub')) 
               ) 
             {
                
$fields[i18n_r('cbcontact/Sub')] = '';
                if (
$required_fields_all_boolean === true) { $err i18n_r('cbcontact/Sub'). ' : *** '.i18n_r('cbcontact/Co').' ***'; }
             }
           
     
            
// Check EMAIL - If empty, label, (*)label then empty, and (Is mandatory) so then set err msg   
            
if ( ($fields[i18n_r('cbcontact/Em')] == '' )  or 
                 (
$fields[i18n_r('cbcontact/Em')] == '(*)'.i18n_r('cbcontact/Em'))  or 
                     (
$fields[i18n_r('cbcontact/Em')] == i18n_r('cbcontact/Em')) 
               ) 
            {
               
$fields[i18n_r('cbcontact/Em')] = '';
               
$err i18n_r('cbcontact/Em'). ' : *** '.i18n_r('cbcontact/Co').' ***';
            }
            
            
// Check NAME  - If empty, label, (*)label then empty, andIf mandatory then set err msg   
            
if ( ($fields[i18n_r('cbcontact/Nb')] == '' )  or 
                 (
$fields[i18n_r('cbcontact/Nb')] == '(*)'.i18n_r('cbcontact/Nb'))  or 
                 (
$fields[i18n_r('cbcontact/Nb')] == i18n_r('cbcontact/Nb')) 
               ) 
            {
                
$fields[i18n_r('cbcontact/Nb')] = '';
                if (
$required_fields_all_boolean === true) { $err i18n_r('cbcontact/Nb'). ' : *** '.i18n_r('cbcontact/Co').' ***'; }
            }

         }  
//  END check the 4 text fields 

         // Validate done .. If $err still empty, then all OK, else $err contains the err msg  
         // Also, for any field, mandatory or not, if they had a reminder label in them
         // then these should now be empty (if had no captach error)    

         // Also just assign the 4 main fields to simple local variables, just for convenience  
         
$field_fromName  stripslashes(html_entity_decode($fields[i18n_r('cbcontact/Nb')]));
         
$field_fromEmail stripslashes(html_entity_decode($fields[i18n_r('cbcontact/Em')]));
         
$field_subject   stripslashes(html_entity_decode($fields[i18n_r('cbcontact/Sub')]));
         
$field_message   stripslashes(html_entity_decode($fields[i18n_r('cbcontact/Ms')]));
  
         
// If No error then prepare mail for send  ...    
            
if ($err == '') {

            
// Build the Body of  the mail from the 4 contact form fields, ´plus ip address etc
            // ----------------------------------------------            
                
$body '"'.$field_subject.'": <a href="'.substr($idpret,0,-1).'">'.substr($idpret,0,-1).'</a>';
                
$body .= "<hr><br />";

                if ( ! 
file_exists($log_file) ) {
                    
$xml = new SimpleXMLExtended('<channel></channel>');
                } else {
                    
$xmldata file_get_contents($log_file);
                    
$xml = new SimpleXMLExtended($xmldata);
                }

                
$thislog $xml->addChild('entry');
                
$thislog->addChild('date'date('r'));
                
$cdata $thislog->addChild('captcha');
                
$cdata->addCData($captcha);
                
$cdata $thislog->addChild('ip_address');
                
$ip getenv("REMOTE_ADDR"); 
                
$cdata->addCData(htmlentities($ipENT_QUOTES'UTF-8'));
                
$body .= "Ip: "$ip ."<br />"
            
            unset(
$fields['pot']);
               unset(
$fields['contact-submit']);
               unset(
$fields['submit']);
               unset(
$fields['leaveso']);
               unset(
$fields['leaveblank']);
                foreach ( 
$fields as $key => $value ) {
                    if (
substr($key02) != 'q_') {
                        
$body .= ucfirst($key) .": "stripslashes(html_entity_decode($valueENT_QUOTES'UTF-8')) ."<br />";
                        
$cdata $thislog->addChild(clean_url($key));
                        
$cdata->addCData(stripslashes(html_entity_decode($valueENT_QUOTES'UTF-8')));
                    }
                }
            
                
XMLsave($xml$log_file);
            
            
            
// *************************************************************** //
            //  Send the mail .. with the PHP mail() fn or the PHPMailer class //
            // *************************************************************** //
          
            
if ($sendphpmailboolean === false)
            {
               
// ****************************************** //
               //  Send the mail .. with the PHP mail() fn   //
               // ****************************************** //
               
               
$headers "From: ".$field_fromEmail."\r\n";
               
$headers .= "Return-Path: ".$field_fromEmail."\r\n";
               
$headers .= "Content-type: text/html; charset=UTF-8 \r\n";

                
$result mail($admin_user_email$field_subject$body$headers);
               if (
$result == false) { $err "".i18n_r('cbcontact/MSG_guestERR')." <br>";}
                   if (isset(
$other_user_emails))  {
                  foreach (
$other_user_emails as $key=>$value){
                            
$result =  mail($value$field_subject$body$headers);
                     if (
$result == false) { $err "".i18n_r('cbcontact/MSG_guestERR')." <br>";}
                  }
                    }
          
            }
            else  
// $sendphpmailboolean = true
            
{      
               
// ****************************************** //
               //  Send the mail .. with PHPMailer           //
               // ****************************************** //

               
if (is_dir(GSPLUGINPATH.'PHPMailer_v5.1') and file_exists(GSPLUGINPATH.'PHPMailer_v5.1/class.phpmailer.php')){
               
                  require(
GSPLUGINPATH.'PHPMailer_v5.1/class.phpmailer.php');   
               
                  
$mail = new PHPMailer(true); // the true param means it will throw exceptions on errors, which we need to catch
                             
                  
$mail->CharSet "utf-8"
                  
$mail->SMTPDebug false;    // enables SMTP debug information (for testing)
                                                        // false = disabled debug
                                                        // 1 = errors and messages
                                                        // 2 = messages only
                  // set mailer to use SMTP
                  
$mail->IsSMTP();

                  
// Uncomment this if you need ssl
                  
$mail->SMTPSecure ""// "ssl";   

                  // As this email.php script lives on the same server as our email server
                  // we are setting the HOST to localhost

                  
$mail->Host "localhost";   // specify SMTP Server name
                  
$mail->Port 25;            // specify SMTP Server port number, default 25  
                  
$mail->SMTPAuth true;    // turn on SMTP authentication

                  // When sending email using PHPMailer, you need to use a valid email address 
                  // - username/password
                  
$mail->Username "me@myusername.com";  // SMTP username (dummy)
                  
$mail->Password "mypassword"// SMTP password (dummy)

                  // set word wrap to 50 characters
                  
$mail->WordWrap 50;

                  
// set email format to HTML
                  
$mail->IsHTML(true);

                  
// Set the From email address
                  
$mail->From $field_fromEmail;  //  The From email address - Form field 'Email'   
                  
$mail->FromName $field_fromName;  // Form field 'Name' => The name seen outside the < > of the From email address 

                  
$mail->Subject $field_subject// Form field 'Subject' 
                  
                  // Assign the email body $body, created above 
                  
$myBody $body;
                  
$mail->Body $myBody;  // Form field 'Message'
                  
$mail->AltBody $myBody;  // Body for non-HTML mail clients .. so should be in plain text, here not  

                  
$ex null;
                  try {
                     
// Add the TO email address of the GS admin user, and the
                     // TO email addresses $other_user_emails of the passed in users $usus   
        
                    
$mail->AddAddress($admin_user_email,"");
                     
// echo "Email added : ".$admin_user_email."<br/>";
                     
if (isset($other_user_emails))  {
                        foreach (
$other_user_emails as $key=>$value){
                            
$mail->AddAddress($value,""); 
                            
// echo "Email added : ".$value."<br/>"; 
                        
}
                     }

                    
// Add a ReplyTo email address  
                    
$mail->addReplyTo($field_fromEmail$field_fromName); 
                    
                    
// Actually send the email  
                    
$mail->Send();

                  }
                  catch (
phpmailerException   $ex){ 
                     
$err "".i18n_r('cbcontact/MSG_guestERR')." <br>";
                     
$err .= "Mailer Error: "$mail->ErrorInfo;
                  }
                  catch (
Exception   $ex){ 
                     
$err "".i18n_r('cbcontact/MSG_guestERR')." <br>";
                     
$err .= "Mailer Error: "$mail->ErrorInfo;
                  }

               }  
// End else if dir PHPMailer_v5.1 exists etc  
               
else {
                  
//  Developer/ plugin user message  ..   Folder PHPMailer_v5.1 does not exist  
                  
$err strtoupper(i18n_r('cbcontact/errphphmail'))."<br/>";   
               }

            } 
//  End if (validation) ($err == '') 

            // ----------------------------------------- //
            //  END Send the mail with PHP mailer         //
            // ----------------------------------------- //
          
         
}  //  End if/else sendphpmailboolean         

         
         //  Display success/error message on send, either as a js alert or directly in contact form 
         
if  ($display_jsalert_boolean === true) {
         
            if  (
$err == '')  { $msgshw i18n_r('cbcontact/MSG_CONTACTSUC');  } //  success 
            
else { $msgshw $err;  }
            
?>
               <script type="text/javascript">
            <!--
                  alert ("<?php echo $msgshw?>");
            -->
               </script>
            <?php
         
         

         else { 
// Display inline above contact form ( $msgshw output in form html at bottom of cbcontact_form.php) 

            // If a success message colour text blue,
            // if an error message color text red 
            
if  ($err == '')  { 
                
$msgshw '<div style="color:blue">'.i18n_r('cbcontact/MSG_CONTACTSUC').'</div>'//  success 
            
}
            else { 
                
$msgshw '<div style="color:red">'.$err.'</div>';
            }
         }
         
         
// Re-assign array $fields[] as necessary  ... $fields[] is used to reassign the text fields
         // of the next displayed HTML contact form. So  ...
         
         // If $err empty, then we had no validation error nor send error, and msg should have been sent => 
         // So then assign $fields[] empty, ready so user can send another message  
         // Note, a form textfield is shown with the label text, as a reminder, but this
         // is done directly in the final form creation script cbcontact.php, and not in the variable fields[] 
         
         // IF $err is NOT empty, then we had a validation error or had a send problem  => 
         // So then just leave $fields[] with the values already entered by User, 
         //  .. .. so user does not have to re-enter  the good fields, and can 
         // correct the (poss) erroneous fields  
         
if($err == '') {
            
$fields[i18n_r('cbcontact/Nb')]  = ''// 'Name'
            
$fields[i18n_r('cbcontact/Em')]  = ''// 'Email'
            
$fields[i18n_r('cbcontact/Sub')] = ''// 'Subject'
            
$fields[i18n_r('cbcontact/Ms')]  = ''// 'Message'
         
}

      }
    }
   
?>

cbcontact/form/cbcontact.php :
PHP Code:
<?php

/*****************************************************/
/* Aldebaran Edited Version 1.0                      */
/* - An edit of Cumbe's plugin 'Contact Form' v5823  */
/*****************************************************/

   // NAME Input field    
   // ------------------
   
if ($required_fields_all_boolean === true) {
   
      
$cbcontactform .= '<input class="cbrightV" type="text" onblur="if (this.value == &quot;&quot;) {this.value = &quot;(*)'.i18n_r('cbcontact/Nb').'&quot;}" onfocus="if(this.value == &quot;(*)'.i18n_r('cbcontact/Nb').'&quot;) {this.value = &quot;&quot;}" value="';
      if (
$fields[i18n_r('cbcontact/Nb')] != "") {
          
$cbcontactform .= $fields[i18n_r('cbcontact/Nb')];
      } else {
          
$cbcontactform .= '(*)'.i18n_r('cbcontact/Nb');
      }
      
$cbcontactform .= '" name="contact['.i18n_r('cbcontact/Nb').']">';
   }
   else {
      
$cbcontactform .= '<input class="cbrightV" type="text" onblur="if (this.value == &quot;&quot;) {this.value = &quot;'.i18n_r('cbcontact/Nb').'&quot;}" onfocus="if(this.value == &quot;'.i18n_r('cbcontact/Nb').'&quot;) {this.value = &quot;&quot;}" value="';
      if (
$fields[i18n_r('cbcontact/Nb')] != "") {
          
$cbcontactform .= $fields[i18n_r('cbcontact/Nb')];
      } else {
          
$cbcontactform .= i18n_r('cbcontact/Nb');
      }
      
$cbcontactform .= '" name="contact['.i18n_r('cbcontact/Nb').']">';
   }
                       

   
// EMAIL Input field    
   // -------------------
   
$cbcontactform .= '<input class="cbrightV" type="text" onblur="if (this.value == &quot;&quot;) {this.value = &quot;(*)'.i18n_r('cbcontact/Em').'&quot;}" onfocus="if(this.value == &quot;(*)'.i18n_r('cbcontact/Em').'&quot;) {this.value = &quot;&quot;}" value="';
   if (
$fields[i18n_r('cbcontact/Em')] != "") {
       
$cbcontactform .= $fields[i18n_r('cbcontact/Em')];
   } else {
       
$cbcontactform .= '(*)'.i18n_r('cbcontact/Em');
   }
   
$cbcontactform .= '" name="contact['.i18n_r('cbcontact/Em').']">';

   
   
// SUBJECT Input field    
   // ---------------------
   
if ($required_fields_all_boolean === true) {
      
      
$cbcontactform .= '<input class="cbrightV" type="text" onblur="if (this.value == &quot;&quot;) {this.value = &quot;(*)'.i18n_r('cbcontact/Sub').'&quot;}" onfocus="if(this.value == &quot;(*)'.i18n_r('cbcontact/Sub').'&quot;) {this.value = &quot;&quot;}" value="';
      if (
$fields[i18n_r('cbcontact/Sub')] != "") {
          
$cbcontactform .= $fields[i18n_r('cbcontact/Sub')];
      } else {
          
$cbcontactform .= '(*)'.i18n_r('cbcontact/Sub');
      }
      
$cbcontactform .= '" name="contact['.i18n_r('cbcontact/Sub').']">';

   }
   else {
      
$cbcontactform .= '<input class="cbrightV" type="text" onblur="if (this.value == &quot;&quot;) {this.value = &quot;'.i18n_r('cbcontact/Sub').'&quot;}" onfocus="if(this.value == &quot;'.i18n_r('cbcontact/Sub').'&quot;) {this.value = &quot;&quot;}" value="';
      if (
$fields[i18n_r('cbcontact/Sub')] != "") {
          
$cbcontactform .= $fields[i18n_r('cbcontact/Sub')];
      } else {
          
$cbcontactform .= i18n_r('cbcontact/Sub');
      }
      
$cbcontactform .= '" name="contact['.i18n_r('cbcontact/Sub').']">';
   }

   
// MESSAGE Input field    
   // ---------------------- 
   
$cbcontactform .= '<textarea class="cbrightV" onblur="if (this.value == &quot;&quot;) {this.value = &quot;(*)'.i18n_r('cbcontact/Ms').'&quot;}" onfocus="if(this.value == &quot;(*)'.i18n_r('cbcontact/Ms').'&quot;) {this.value = &quot;&quot;}" name="contact['.i18n_r('cbcontact/Ms').']">';
   if (
$fields[i18n_r('cbcontact/Ms')] != "") {
       
$cbcontactform .= $fields[i18n_r('cbcontact/Ms')];
   } else {
       
$cbcontactform .= '(*)'.i18n_r('cbcontact/Ms');
   }
   
$cbcontactform .= '</textarea>';


   
// system captcha - mandatory, if enabled.     
   // -------------------------------------
   
if ($captchaboolean === true)  {
      
// This block  a) text /rl = 'If you can\'t see the code clearly click Reload'
      //             b) captch image
      //             c) reload button 
      
$cbcontactform .= '<div class="cbcaptcha">';
         
$cbcontactform .= '<div class="cbcaptcha_label">'.i18n_r('cbcontact/veri').' <span class="cbreload_label"> '.i18n_r('cbcontact/rl').'</span></div>';
         
$cbcontactform .= '<div>';
            
$cbcontactform .= '<img id="captcha" class="cbcaptchaimg" src="'.$SITEURL.'plugins/cbcontact/img_cpt.php?url='.GSPLUGINPATH.'cbcontact/" alt=" " />';
            
$cbcontactform .= '<input class="cbreload" type="button" value="'.i18n_r('cbcontact/rl_but').'" onClick="javascript:rec_cpt(&quot;captcha&quot;,&quot;'.$SITEURL.'plugins/cbcontact/img_cpt.php?url='.$mGSPLUGINPATH.'&quot;)" />';
         
$cbcontactform .= '</div>';
      
$cbcontactform .= '</div>';


      
// This block  a) text (*) + text /Cpt = 'Copy the CAPTCHA Code','
      //             b) input field captcha  name="contact[pot]" 
      //             c) send button 
      //             d) text (*) + text /Rf = 'Required fields',
      
$cbcontactform .= '<div class="cbpadleft">';  
         
$cbcontactform .= '<div class="cbcaptcha_write"> (*)'.i18n_r('cbcontact/Cpt').'</div>'
         
$cbcontactform .= '<input class="cbcaptcha_input" type="text" value="" name="contact[pot]" />';                           
         
$cbcontactform .= '<input class="cbsend" type="submit" value="'.i18n_r('cbcontact/Ev').'" id="contact-submit" name="contact-submit" />';
         
$cbcontactform .= '<div class="cbreload_label">(*) '.i18n_r('cbcontact/Rf').'</div>';
      
$cbcontactform .= '</div>';

   }  
// End if ($captchaboolean === true)  
   
   
else {  //  Else $captchaboolean is false

      // This block a) send button 
      //            b) text (*) + text /Rf =  'Required fields',
      
$cbcontactform .= '<div class="cbpadleft">';                         
         
$cbcontactform .= '<input class="cbsend" type="submit" value="'.i18n_r('cbcontact/Ev').'" id="contact-submit" name="contact-submit" />';
         
$cbcontactform .= '<div class="cbreload_label">(*) '.i18n_r('cbcontact/Rf').'</div>';
      
$cbcontactform .= '</div>';                        
   
   } 
// End if ELSE ($captchaboolean === true)  
   

?>

cbcontact/form/cbcontact.css
(not really necessary, just to improve display ) :
PHP Code:
/*****************************************************/
/* Aldebaran Edited Version 1.0                      */
/* - An edit of Cumbe's plugin 'Contact Form' v5823  */
/*****************************************************/

#cbform {
      
color#555555; 
      
font-familyArial,Helvetica,sans-serif;
      
width100%; 
}

#cbform .noshow { display: none;  }

#cbform .cbright { 
         
border-radius6px;
         -
moz-border-radius:6px;
         -
khtml-border-radius:6px;
         -
webkit-border-radius:6px;
         
/*-o-border-radius:6px;*/
         
border-styleinset;
         
font-size14px
         
margin-bottom6px;
         
margin-left5px
         
padding5px
         
width400px
     }

#cbform .cbrightV { 
         
border-radius6px
         -
moz-border-radius:6px;
         -
khtml-border-radius:6px;
         -
webkit-border-radius:6px;
         
/*-o-border-radius:6px;*/
         
border-styleinset
         
color#555555; 
         
font-familyArial,Helvetica,sans-serif
         
font-size14px
         
margin-bottom6px
         
margin-left0px;  /* Aldebaran : was 90px */ 
         
padding5px;
         
width300px/* Aldebaran : was 400px */ 
        
         
border:1px solid  #808080;  /* Aldebaran : new */    
   
}

#cbform .cbradio  {
      
margin-left15px;
       
vertical-alignmiddle;       
}

#cbform .cbcheck {
      
margin-left15px;
      
vertical-alignmiddle;   
}

#cbform textarea {
      
border-radius6px
       -
moz-border-radius:6px;
       -
khtml-border-radius:6px;
       -
webkit-border-radius:6px;
      
height100px;
   }

#cbform .cbcaptcha {
      
padding-left0px;  /* Aldebaran : was 90px */ 
      
width300px;  /* Aldebaran : was 400px */ 
   
}
#cbform .cbcaptcha .cbcaptchaimg { 
      
border2px outset #CCCCCC;
      
margin0 15px 10px 0
      
vertical-alignmiddle
   }

#cbform .cbcaptcha_label { 
   
font-size16px;
   
width390px;
   
margin-top5px;
 }

#cbform .cbcaptcha_input { 
   
border-radius6px;
    -
moz-border-radius6px;
    -
khtml-border-radius6px;
     -
webkit-border-radius6px;
    
border-styleinset;
    
font-size:20px;
    
margin0 15px 0 0;
    
padding5px;
    
text-aligncenter;
    
vertical-alignmiddle;
    
width164px;
    
    
border:1px solid  #808080;  /* Aldebaran : new */    
}

#cbform .cbcaptcha_write { 
font-size12px;
 
font-styleitalic;
 
margin-top: -5px;
 }

#cbform  .cbreload, .cbsend { 
background-color#DEDEDE; 
border-radius6px
         -
moz-border-radius:6px;
         -
khtml-border-radius:6px;
         -
webkit-border-radius:6px;
            
border-styleoutset
            
color#444444; 
            
font-size18px
            
padding3px 0
            
vertical-aligntop
            
width100px; }

#cbform  .cbreload:hover, .cbsend:hover {   
    
background-color#EEEEEE;
    
border-styleinset
    }

#cbform .cbreload_label { 
font-size11px
font-styleitalic; }

#cbform .cbpadleft { 
padding-left0px/*was 90px */
 
}

/* Aldebaran new  */
#cbform .msgshw { 
   
padding-bottom10px;

Reply


Messages In This Thread
PlugIn Contact Form Getsimple - by cumbe - 2010-07-29, 02:56:36
RE: PlugIn Contact Form Getsimple - by Timbow - 2013-06-20, 20:21:16
RE: PlugIn Contact Form Getsimple - by cumbe - 2013-06-23, 01:15:16
RE: PlugIn Contact Form Getsimple - by cumbe - 2013-06-23, 01:20:49
RE: PlugIn Contact Form Getsimple - by leonku - 2013-08-30, 20:32:10
RE: PlugIn Contact Form Getsimple - by cumbe - 2013-09-16, 06:41:43
RE: PlugIn Contact Form Getsimple - by Fluc - 2013-09-18, 04:36:06
RE: PlugIn Contact Form Getsimple - by cumbe - 2013-09-22, 01:15:30
RE: PlugIn Contact Form Getsimple - by Timbow - 2013-09-23, 06:59:27
RE: PlugIn Contact Form Getsimple - by cumbe - 2013-09-24, 01:09:25
RE: PlugIn Contact Form Getsimple - by Timbow - 2013-09-24, 08:26:08
RE: PlugIn Contact Form Getsimple - by cumbe - 2013-09-24, 16:43:37
RE: PlugIn Contact Form Getsimple - by Timbow - 2013-09-24, 18:41:27
RE: PlugIn Contact Form Getsimple - by Timbow - 2013-09-26, 08:49:41
RE: PlugIn Contact Form Getsimple - by antoromani - 2013-10-19, 05:36:11
RE: PlugIn Contact Form Getsimple - by cumbe - 2013-10-20, 17:55:23
RE: PlugIn Contact Form Getsimple - by antoromani - 2013-10-21, 13:07:50
RE: PlugIn Contact Form Getsimple - by SoHo22 - 2014-04-30, 00:32:24
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-05-02, 04:58:00
RE: PlugIn Contact Form Getsimple - by krupers - 2014-05-06, 09:18:13
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-05-07, 04:02:55
RE: PlugIn Contact Form Getsimple - by mengi - 2014-05-15, 09:36:05
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-05-15, 16:31:20
RE: PlugIn Contact Form Getsimple - by Timbow - 2014-06-05, 23:59:14
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-06-07, 03:21:20
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-06-08, 01:33:36
RE: PlugIn Contact Form Getsimple - by Timbow - 2014-06-08, 08:04:25
RE: PlugIn Contact Form Getsimple - by ferchosj - 2014-06-21, 00:36:33
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-06-23, 06:17:22
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-07-27, 01:59:39
RE: PlugIn Contact Form Getsimple - by akd - 2014-08-06, 23:19:34
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-08-07, 04:52:56
RE: PlugIn Contact Form Getsimple - by akd - 2014-08-07, 20:35:58
RE: PlugIn Contact Form Getsimple - by sarnaiz - 2014-08-14, 07:32:49
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-08-15, 06:48:34
RE: PlugIn Contact Form Getsimple - by sarnaiz - 2014-08-15, 07:35:39
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-08-16, 01:50:11
Security issue - by kaborka - 2014-09-01, 03:41:10
RE: Security issue - by cumbe - 2014-09-02, 16:08:53
RE: PlugIn Contact Form Getsimple - by indyana - 2014-09-01, 09:25:23
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-09-02, 16:24:35
RE: PlugIn Contact Form Getsimple - by kaborka - 2014-09-29, 10:21:19
RE: PlugIn Contact Form Getsimple - by vtsimple - 2014-09-29, 12:50:26
RE: PlugIn Contact Form Getsimple - by vtsimple - 2014-09-29, 13:00:17
RE: PlugIn Contact Form Getsimple - by charlsouma - 2014-09-29, 21:27:05
RE: PlugIn Contact Form Getsimple - by vtsimple - 2014-09-29, 23:53:45
RE: PlugIn Contact Form Getsimple - by charlsouma - 2014-09-30, 00:18:28
RE: PlugIn Contact Form Getsimple - by vtsimple - 2014-09-30, 00:44:23
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-09-30, 01:49:51
RE: PlugIn Contact Form Getsimple - by vtsimple - 2014-09-30, 02:08:10
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-09-30, 02:54:10
RE: PlugIn Contact Form Getsimple - by vtsimple - 2014-09-30, 01:50:50
RE: PlugIn Contact Form Getsimple - by vtsimple - 2014-09-30, 03:33:57
RE: PlugIn Contact Form Getsimple - by vtsimple - 2014-09-30, 03:59:16
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-09-30, 05:05:41
RE: PlugIn Contact Form Getsimple - by vtsimple - 2014-09-30, 05:37:05
RE: PlugIn Contact Form Getsimple - by vtsimple - 2014-09-30, 06:16:35
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-09-30, 20:23:02
RE: PlugIn Contact Form Getsimple - by kaborka - 2014-10-01, 06:52:49
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-10-01, 17:10:29
RE: PlugIn Contact Form Getsimple - by cumbe - 2015-01-10, 18:48:48
RE: PlugIn Contact Form Getsimple - by aldebaran - 2015-01-12, 02:30:50
RE: PlugIn Contact Form Getsimple - by cumbe - 2015-01-12, 04:45:17
RE: PlugIn Contact Form Getsimple - by aldebaran - 2015-01-12, 22:57:05
RE: PlugIn Contact Form Getsimple - by ch.tanzer - 2015-01-12, 07:58:01
RE: PlugIn Contact Form Getsimple - by cumbe - 2015-01-13, 05:45:32
RE: PlugIn Contact Form Getsimple - by Oleg06 - 2015-01-13, 06:35:21
RE: PlugIn Contact Form Getsimple - by aldebaran - 2015-01-19, 22:08:51
RE: PlugIn Contact Form Getsimple - by cumbe - 2015-01-26, 03:45:08
RE: PlugIn Contact Form Getsimple - by aldebaran - 2015-01-27, 21:21:38
RE: PlugIn Contact Form Getsimple - by aldebaran - 2015-01-19, 22:12:59
Re : Problem language switching - by aldebaran - 2015-02-01, 21:00:10
RE: Re : Problem language switching - by indyana - 2015-02-17, 22:41:35
RE: PlugIn Contact Form Getsimple - by smilesk - 2015-02-12, 21:17:35
RE: PlugIn Contact Form Getsimple - by aldebaran - 2015-02-13, 22:54:06
RE: PlugIn Contact Form Getsimple - by indyana - 2015-02-18, 11:19:19
RE: PlugIn Contact Form Getsimple - by indyana - 2015-02-18, 12:08:09
RE: PlugIn Contact Form Getsimple - by aldebaran - 2015-02-21, 23:29:09
RE: PlugIn Contact Form Getsimple - by cumbe - 2015-02-22, 02:35:10
RE: PlugIn Contact Form Getsimple - by aldebaran - 2015-02-22, 20:41:43
RE: PlugIn Contact Form Getsimple - by cumbe - 2015-04-07, 05:21:58
RE: PlugIn Contact Form Getsimple - by maco-nl - 2015-04-12, 17:06:43
RE: PlugIn Contact Form Getsimple - by cumbe - 2015-04-13, 03:09:31
RE: PlugIn Contact Form Getsimple - by maco-nl - 2015-04-13, 05:33:35
RE: PlugIn Contact Form Getsimple - by stwneu - 2015-06-30, 18:43:56
RE: PlugIn Contact Form Getsimple - by cumbe - 2015-07-01, 00:19:03
RE: PlugIn Contact Form Getsimple - by stwneu - 2015-07-01, 19:33:47
RE: PlugIn Contact Form Getsimple - by pentaxeros - 2015-07-07, 05:11:46
RE: PlugIn Contact Form Getsimple - by datiswous - 2015-07-11, 02:20:40
RE: PlugIn Contact Form Getsimple - by 0zz - 2015-08-19, 21:27:42
RE: PlugIn Contact Form Getsimple - by cumbe - 2015-08-20, 00:40:27
RE: PlugIn Contact Form Getsimple - by 0zz - 2015-08-20, 01:16:04
RE: PlugIn Contact Form Getsimple - by ross104 - 2015-09-29, 17:14:34
RE: PlugIn Contact Form Getsimple - by cumbe - 2015-09-30, 04:40:13
RE: PlugIn Contact Form Getsimple - by ross104 - 2015-09-30, 05:05:18
RE: PlugIn Contact Form Getsimple - by cumbe - 2015-10-02, 03:31:36
RE: PlugIn Contact Form Getsimple - by ross104 - 2015-10-02, 04:59:42
RE: PlugIn Contact Form Getsimple - by cumbe - 2015-11-29, 08:27:00
RE: PlugIn Contact Form Getsimple - by alanq - 2016-01-22, 00:29:48
RE: PlugIn Contact Form Getsimple - by cumbe - 2016-01-23, 03:47:56
RE: PlugIn Contact Form Getsimple - by alanq - 2016-01-27, 00:04:06
RE: PlugIn Contact Form Getsimple - by flurl - 2016-04-11, 05:41:07
RE: PlugIn Contact Form Getsimple - by GeoHub01 - 2016-08-02, 06:20:56
RE: PlugIn Contact Form Getsimple - by jlyon1515 - 2016-09-14, 10:46:34
RE: PlugIn Contact Form Getsimple - by roisag - 2016-12-17, 18:59:12
RE: PlugIn Contact Form Getsimple - by orthodox - 2016-12-28, 03:34:42
RE: PlugIn Contact Form Getsimple - by cumbe - 2016-12-29, 02:00:14
RE: PlugIn Contact Form Getsimple - by orthodox - 2017-03-10, 04:23:07
RE: PlugIn Contact Form Getsimple - by indyana - 2017-01-08, 04:33:24
RE: PlugIn Contact Form Getsimple - by cumbe - 2017-03-14, 22:40:21
RE: PlugIn Contact Form Getsimple - by orthodox - 2017-03-15, 04:27:34
RE: PlugIn Contact Form Getsimple - by hameau - 2017-03-17, 00:24:39
RE: PlugIn Contact Form Getsimple - by Timbow - 2017-03-17, 02:01:11
RE: PlugIn Contact Form Getsimple - by bigthanks - 2017-03-15, 04:02:43
RE: PlugIn Contact Form Getsimple - by jlyon1515 - 2017-03-18, 01:45:40
RE: PlugIn Contact Form Getsimple - by orthodox - 2017-04-22, 20:09:28
RE: PlugIn Contact Form Getsimple - by aquarius60 - 2017-05-24, 22:33:49
RE: PlugIn Contact Form Getsimple - by morvy - 2017-05-30, 18:35:54
RE: PlugIn Contact Form Getsimple - by ulli - 2017-10-26, 20:32:33
RE: PlugIn Contact Form Getsimple - by morvy - 2017-11-29, 23:46:00
RE: PlugIn Contact Form Getsimple - by Amid - 2023-04-14, 05:47:20
RE: PlugIn Contact Form Getsimple - by multicolor - 2023-04-14, 07:28:22
RE: PlugIn Contact Form Getsimple - by Amid - 2023-04-15, 07:10:00
RE: PlugIn Contact Form Getsimple - by multicolor - 2023-04-15, 07:40:21
RE: PlugIn Contact Form Getsimple - by Amid - 2023-04-15, 07:50:53
RE: PlugIn Contact Form Getsimple - by multicolor - 2023-04-15, 08:07:52
RE: PlugIn Contact Form Getsimple - by multicolor - 2023-04-15, 08:11:36
RE: PlugIn Contact Form Getsimple - by Amid - 2023-04-15, 19:59:33
RE: PlugIn Contact Form Getsimple - by multicolor - 2023-04-16, 02:53:43
PlugIn Contact Form Getsimple - by marrco - 2010-08-11, 05:57:58
RE: PlugIn Contact Form Getsimple - by charlsouma - 2014-09-13, 02:11:10
RE: PlugIn Contact Form Getsimple - by cumbe - 2014-09-13, 04:06:31
RE: PlugIn Contact Form Getsimple - by charlsouma - 2014-09-29, 21:22:58
PlugIn Contact Form Getsimple - by cumbe - 2010-08-19, 22:16:02
PlugIn Contact Form Getsimple - by madvic - 2010-09-03, 08:07:13
PlugIn Contact Form Getsimple - by cumbe - 2010-09-03, 18:02:21
PlugIn Contact Form Getsimple - by cumbe - 2010-09-13, 05:55:39
PlugIn Contact Form Getsimple - by Oleg06 - 2010-09-13, 06:14:17
PlugIn Contact Form Getsimple - by WebFXWorld - 2010-09-15, 14:17:02
PlugIn Contact Form Getsimple - by pinguino - 2010-09-16, 00:44:19
PlugIn Contact Form Getsimple - by cumbe - 2010-09-16, 04:05:03
PlugIn Contact Form Getsimple - by pinguino - 2010-09-16, 17:09:08
PlugIn Contact Form Getsimple - by xd1936 - 2010-09-22, 10:50:39
PlugIn Contact Form Getsimple - by Zegnåt - 2010-09-22, 16:25:33
PlugIn Contact Form Getsimple - by xd1936 - 2010-09-23, 14:38:04
PlugIn Contact Form Getsimple - by Zegnåt - 2010-09-23, 17:54:04
PlugIn Contact Form Getsimple - by cumbe - 2010-09-23, 19:32:20
PlugIn Contact Form Getsimple - by xd1936 - 2010-09-24, 15:23:17
PlugIn Contact Form Getsimple - by cumbe - 2010-09-25, 19:57:03
PlugIn Contact Form Getsimple - by xd1936 - 2010-09-27, 14:44:00
PlugIn Contact Form Getsimple - by cumbe - 2010-09-27, 16:38:04
PlugIn Contact Form Getsimple - by xd1936 - 2010-09-28, 15:04:24
PlugIn Contact Form Getsimple - by James - 2010-09-30, 00:23:53
PlugIn Contact Form Getsimple - by cumbe - 2010-09-30, 01:03:43
PlugIn Contact Form Getsimple - by James - 2010-09-30, 01:46:06
PlugIn Contact Form Getsimple - by ibizo - 2010-10-05, 00:29:00
PlugIn Contact Form Getsimple - by cumbe - 2010-10-05, 06:32:26
PlugIn Contact Form Getsimple - by ibizo - 2010-10-05, 22:35:01
PlugIn Contact Form Getsimple - by rozmiar - 2010-10-08, 23:48:17
PlugIn Contact Form Getsimple - by jkob - 2010-10-25, 21:50:09
PlugIn Contact Form Getsimple - by fauzievolute - 2011-01-26, 09:59:38
PlugIn Contact Form Getsimple - by Oleg06 - 2011-01-26, 16:46:47
PlugIn Contact Form Getsimple - by cumbe - 2011-01-31, 04:56:07
PlugIn Contact Form Getsimple - by wakh - 2011-03-08, 01:23:50
PlugIn Contact Form Getsimple - by wakh - 2011-03-08, 01:32:42
PlugIn Contact Form Getsimple - by rfuller - 2011-03-08, 10:58:44
PlugIn Contact Form Getsimple - by cumbe - 2011-03-08, 22:14:19
PlugIn Contact Form Getsimple - by rfuller - 2011-03-09, 05:58:38
PlugIn Contact Form Getsimple - by ogee - 2011-03-17, 18:15:46
PlugIn Contact Form Getsimple - by ancalimesh - 2011-04-14, 14:13:21
PlugIn Contact Form Getsimple - by Connie - 2011-04-14, 16:11:57
PlugIn Contact Form Getsimple - by PRAG - 2011-04-14, 18:24:26
PlugIn Contact Form Getsimple - by Connie - 2011-04-14, 19:17:28
PlugIn Contact Form Getsimple - by ancalimesh - 2011-04-15, 04:40:06
PlugIn Contact Form Getsimple - by Connie - 2011-04-15, 15:46:10
PlugIn Contact Form Getsimple - by cumbe - 2011-04-17, 04:13:28
PlugIn Contact Form Getsimple - by cumbe - 2011-04-17, 04:44:20
PlugIn Contact Form Getsimple - by mvlcek - 2011-04-17, 05:22:09
PlugIn Contact Form Getsimple - by pabloch - 2011-04-19, 05:31:41
PlugIn Contact Form Getsimple - by cumbe - 2011-04-20, 04:36:47
PlugIn Contact Form Getsimple - by cumbe - 2011-04-26, 05:25:48
PlugIn Contact Form Getsimple - by Oleg06 - 2011-04-26, 05:53:06
PlugIn Contact Form Getsimple - by cumbe - 2011-04-26, 07:22:03
PlugIn Contact Form Getsimple - by Oleg06 - 2011-04-26, 18:19:00
PlugIn Contact Form Getsimple - by cumbe - 2011-04-27, 03:31:29
PlugIn Contact Form Getsimple - by Oleg06 - 2011-04-27, 04:08:25
PlugIn Contact Form Getsimple - by cumbe - 2011-04-27, 06:52:56
PlugIn Contact Form Getsimple - by xd1936 - 2011-05-27, 03:44:29
PlugIn Contact Form Getsimple - by cumbe - 2011-05-28, 05:20:14
PlugIn Contact Form Getsimple - by xd1936 - 2011-05-29, 01:25:23
PlugIn Contact Form Getsimple - by pipila - 2011-11-20, 12:35:12
PlugIn Contact Form Getsimple - by cumbe - 2011-11-21, 04:24:43
PlugIn Contact Form Getsimple - by pipila - 2011-11-22, 04:20:15
PlugIn Contact Form Getsimple - by rfuller - 2011-11-22, 04:53:13
PlugIn Contact Form Getsimple - by cumbe - 2011-11-22, 05:03:21
PlugIn Contact Form Getsimple - by pipila - 2011-11-22, 12:29:35
PlugIn Contact Form Getsimple - by pipila - 2011-11-22, 13:11:32
PlugIn Contact Form Getsimple - by cumbe - 2011-11-22, 20:03:30
PlugIn Contact Form Getsimple - by pipila - 2011-11-23, 07:25:23
PlugIn Contact Form Getsimple - by mintika - 2011-11-23, 12:24:28
PlugIn Contact Form Getsimple - by cumbe - 2011-12-12, 04:59:59
PlugIn Contact Form Getsimple - by mintika - 2011-12-26, 15:15:29
PlugIn Contact Form Getsimple - by Dominic - 2012-02-09, 04:46:01
PlugIn Contact Form Getsimple - by cumbe - 2012-02-10, 17:18:22
PlugIn Contact Form Getsimple - by Dominic - 2012-02-11, 01:11:02
PlugIn Contact Form Getsimple - by cumbe - 2012-02-12, 09:46:30
PlugIn Contact Form Getsimple - by devaintfire - 2012-03-13, 22:33:55
PlugIn Contact Form Getsimple - by cumbe - 2012-03-17, 08:04:07
PlugIn Contact Form Getsimple - by AceLine - 2012-03-31, 15:52:58
PlugIn Contact Form Getsimple - by cumbe - 2012-04-01, 00:32:02
PlugIn Contact Form Getsimple - by AceLine - 2012-04-01, 08:10:36
PlugIn Contact Form Getsimple - by AceLine - 2012-04-01, 08:41:37
PlugIn Contact Form Getsimple - by cumbe - 2012-04-01, 10:00:42
PlugIn Contact Form Getsimple - by eisendrath - 2012-04-11, 21:04:50
PlugIn Contact Form Getsimple - by cumbe - 2012-04-12, 04:38:58
PlugIn Contact Form Getsimple - by eisendrath - 2012-04-12, 06:03:44
PlugIn Contact Form Getsimple - by cumbe - 2012-04-12, 06:59:37
PlugIn Contact Form Getsimple - by Carlos - 2012-04-12, 07:24:53
PlugIn Contact Form Getsimple - by eisendrath - 2012-04-12, 15:20:34
PlugIn Contact Form Getsimple - by andyash - 2012-04-15, 01:03:40
PlugIn Contact Form Getsimple - by cumbe - 2012-04-15, 02:30:00
PlugIn Contact Form Getsimple - by andyash - 2012-04-15, 02:48:18
PlugIn Contact Form Getsimple - by cumbe - 2012-04-15, 03:16:04
PlugIn Contact Form Getsimple - by andyash - 2012-04-16, 01:14:50
PlugIn Contact Form Getsimple - by cumbe - 2012-04-16, 06:54:09
PlugIn Contact Form Getsimple - by melted349 - 2012-07-02, 05:53:06
PlugIn Contact Form Getsimple - by madvic - 2012-07-06, 02:41:30
PlugIn Contact Form Getsimple - by melted349 - 2012-07-06, 03:31:42
PlugIn Contact Form Getsimple - by cumbe - 2012-08-02, 03:54:09
PlugIn Contact Form Getsimple - by majki - 2012-08-07, 21:39:58



Users browsing this thread: 3 Guest(s)