| Server IP : 141.193.213.10 / Your IP : 216.73.216.101 Web Server : nginx System : Linux pod-400555 6.8.0-1055-gke #61-Ubuntu SMP Tue May 26 22:57:42 UTC 2026 x86_64 User : fpm200079 ( 200079) PHP Version : 8.2.36 Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /nas/content/live/bartislaw/wp-content/plugins/speak-api/cform/ |
Upload File : |
<?php
include_once SPEAKAPI_PLUGIN_DIR . 'inc/config.php';
$Data_Cform = GetData_CForm();
$Data_Cform_Array = explode(',', $Data_Cform);
?>
<div class="wrap">
<h2>Contact Form Settings</h2>
<br />
<div class="postbox-container" style="width:100%;">
<div id="breadcrumbssupport" class="postbox">
<div class="inside">
<h2>How to Setup?</h2>
<ol>
<li>cForm is very easy to integration, just choose label names and check checkboxes for required fields.</li>
<li>Assign any class name to submit button.</li>
<li>Just Use shortcode <code>[cForm]</code> to insert form anywhere in your theme templates files.</li>
<li>You done it. Enjoy</li>
</ol>
<form method="post" id="cform-settings">
<div id="check-api-form-msg"></div>
<table class="form-table" >
<tr>
<th scope="row">
<label for="namelabel">Name Field Label</label>
</th>
<td>
<input name="namelabel" type="text" class="admin-text-field" value="<?php echo $Data_Cform_Array[0]; ?>"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="emaillabel">Email Field Label</label>
</th>
<td>
<input name="emaillabel" type="text" class="admin-text-field" value="<?php echo $Data_Cform_Array[1]; ?>"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="phonelabel">Phone Field Label</label>
</th>
<td>
<input name="phonelabel" type="text" class="admin-text-field" value="<?php echo $Data_Cform_Array[2]; ?>"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="textarealabel">Textarea Label</label>
</th>
<td>
<input name="textarealabel" type="text" class="admin-text-field" value="<?php echo $Data_Cform_Array[3]; ?>"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="practiceareaslabel">Practice Areas Label</label>
</th>
<td>
<input name="practiceareaslabel" type="text" class="admin-text-field" value="<?php echo $Data_Cform_Array[4]; ?>"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="textarealabel">Practice Areas List</label>
</th>
<td>
<textarea cols="50" rows="10" name="practice_area_list" class="admin-text-field"><?php echo $Data_Cform_Array[5]; ?></textarea>
</td>
</tr>
<tr>
<th scope="row">
<label for="btnclass">Button Text</label>
</th>
<td>
<input name="btnlabel" type="text" class="admin-text-field" value="<?php echo $Data_Cform_Array[6]; ?>"/>
</td>
</tr>
</table>
<p class="submit">
<input type="submit" class="button-primary" id="cform-options-btn" value="Save Settings" />
</p>
</form>
</div>
</div>
</div>
</div>