Example #1
0
            }
            ?>
>
			<?php 
            include 'time_zone_option_list.php';
            ?>
            </select>
            <div class="reg_frontErr custom_error crf_error_text" style="display:none;"></div>
          </div>
        </div>
        <?php 
        }
        /*file addon start */
        if (is_plugin_active('file-upload-addon/file-upload.php') && $row1->Type == 'file') {
            global $fileuploadfunctionality;
            $fileuploadfunctionality = new fileuploadfuncitonality();
            $fileuploadfunctionality->fileuploadhtml($row1, $key);
        }
        /*file addon end */
    }
    ?>
      
      <!-- Custom fields in Registration form ends -->
      <?php 
    if ($enable_captcha == 'yes') {
        ?>
      <div class="formtablee" align="center"> <div class="lable-text">
            <label>&nbsp;</label>
          </div>
       <div class="input-box input-box_captcha"> <?php 
        echo recaptcha_get_html($publickey, $error);
Example #2
0
?>
 </span><span class="entry_Value">
        <?php 
if ($entry->form_type == 'reg_form') {
    echo 'Registration Form';
} else {
    echo 'Contact Form';
}
?>
        </span></p>
      <?php 
if (!empty($value)) {
    /*file addon start */
    if (is_plugin_active('file-upload-addon/file-upload.php')) {
        global $fileuploadfunctionality;
        $fileuploadfunctionality = new fileuploadfuncitonality();
        $attachment_html = $fileuploadfunctionality->view_entry($entry);
    }
    /*file addon end */
    foreach ($value as $key => $val) {
        if (is_array($val)) {
            $val = implode(',', $val);
        }
        $Customfield = str_replace("_", " ", $key);
        $fields = explode("_", $key);
        $fieldid = $fields[count($fields) - 1];
        if (is_numeric($fieldid)) {
            $qry = "select Name from {$crf_fields} where id=" . $fieldid;
            $Customfield = $wpdb->get_var($qry);
        }
        /*file addon start */