cformssubmissions = $wpdb->prefix . 'cformssubmissions'; $wpdb->cformsdata = $wpdb->prefix . 'cformsdata'; // SMPT sever configured? $smtpsettings=explode('$#$',get_option('cforms_smtp')); ### Check Whether User Can Manage Database if(!current_user_can('manage_cforms')) { die(__('Access Denied','cforms')); } // if all data has been erased quit if ( get_option('cforms_formcount') == '' ){ ?>

Plugins tab and either disable the plugin, or toggle its status (disable/enable) to revive cforms!', 'cforms') ?>

query("DELETE FROM `$wpdb->options` WHERE option_name LIKE 'cforms%'"); $wpdb->query("DROP TABLE IF EXISTS $wpdb->cformssubmissions"); $wpdb->query("DROP TABLE IF EXISTS $wpdb->cformsdata"); ?>

Plugins tab and disable the plugin now!', 'cforms') ?>

query("DROP TABLE IF EXISTS $wpdb->cformssubmissions"); $wpdb->query("DROP TABLE IF EXISTS $wpdb->cformsdata"); update_option('cforms_database', '0'); ?>

cformssubmissions & cformsdata)') ?>
overwritten!') ?>

get_var("show tables like '$wpdb->cformssubmissions'") <> $wpdb->cformssubmissions ){ $sql = "CREATE TABLE " . $wpdb->cformssubmissions . " ( id int(11) unsigned auto_increment, form_id varchar(3) default '', sub_date timestamp, email varchar(40) default '', ip varchar(15) default '', PRIMARY KEY (id) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;"; require_once(ABSPATH . 'wp-admin/upgrade-functions.php'); dbDelta($sql); $sql = "CREATE TABLE " . $wpdb->cformsdata . " ( f_id int(11) unsigned auto_increment primary key, sub_id int(11) unsigned NOT NULL, field_name varchar(100) NOT NULL default '', field_val text) ENGINE=MyISAM DEFAULT CHARSET=utf8;"; require_once(ABSPATH . 'wp-admin/upgrade-functions.php'); dbDelta($sql); ?>

cformssubmissions & cformsdata)') ?>

get_var("SELECT count(id) FROM $wpdb->cformssubmissions"); ?>

"/>

element ID of the parent element containing
all comments, for example:', 'cforms'); ?>
</h2>
<ol id="commentlist">
  <li id="comment-126">


{moderation}
{id}
{usercomment}
{author}
{url}
{date}
{time}

pages or posts separated by comma on which you\'d like to show cforms. The cforms header will only be included specifically on those pages, helping to maintain all other pages neat.', 'cforms') ?>


new input field for you to add to your form. See Help! for more info and date formats.', 'cforms'),'?page='.$plugindir.'/cforms-help.php#datepicker','onclick="setshow(19)"') ?>

/> **

phpmailerV2native PHP mail() command feel free to configure cforms to utilize an external SMTP mail server to deliver the emails.', 'cforms') ?>

'' && ($userconfirm&32)==0 ){ if ( isset($_POST['confirm32']) ) update_option('cforms_confirmerr',($userconfirm|32)); else { $text = ''.__('Important:','cforms').' '.__('If you require SSL / TLS make sure your webserver/PHP environment permits it! If in doubt, check with your web hosting company regarding openssl support.', 'cforms'); echo '

'.$text.'

'; } } ?>
/> **

supporting both SSL and TLS for authentication.','cforms')); ?>

/>
/>
/>

File Upload Box" to your form (also see the Help! for further information).', 'cforms'),'?page='.$plugindir.'/cforms-help.php#upload','onclick="setshow(19)"'); ?> here.', 'cforms'),'?page='.$plugindir.'/cforms-options.php#fileupload','onclick="setshow(0)"'); ?>

File Upload Box to your form, the Ajax (if enabled) submission method will (automatically) gracefully degrade to the standard method, due to general HTML limitations.', 'cforms') ?>

/>

cforms/captchabg/ & cforms/captchafonts/).', 'cforms') ?>

'' ) ? stripslashes(htmlspecialchars( $captcha['h'] )) : 25; $w = ( $captcha['w']<>'' ) ? stripslashes(htmlspecialchars( $captcha['w'] )) : 115; $c = ( $captcha['c']<>'' ) ? stripslashes(htmlspecialchars( $captcha['c'] )) : '000066'; $l = ( $captcha['l']<>'' ) ? stripslashes(htmlspecialchars( $captcha['l'] )) : '000066'; $f = ( $captcha['f']<>'' ) ? stripslashes(htmlspecialchars( $captcha['f'] )) : 'font4.ttf'; $a1 = ( $captcha['a1']<>'' ) ? stripslashes(htmlspecialchars( $captcha['a1'] )) : -12; $a2 = ( $captcha['a2']<>'' ) ? stripslashes(htmlspecialchars( $captcha['a2'] )) : 12; $f1 = ( $captcha['f1']<>'' ) ? stripslashes(htmlspecialchars( $captcha['f1'] )) : 17; $f2 = ( $captcha['f2']<>'' ) ? stripslashes(htmlspecialchars( $captcha['f2'] )) : 19; $bg = ( $captcha['bg']<>'' ) ? stripslashes(htmlspecialchars( $captcha['bg'] )) : '1.gif'; $c1 = ( $captcha['c1']<>'' ) ? stripslashes(htmlspecialchars( $captcha['c1'] )) : 4; $c2 = ( $captcha['c2']<>'' ) ? stripslashes(htmlspecialchars( $captcha['c2'] )) : 5; $ac = ( $captcha['ac']<>'' ) ? stripslashes(htmlspecialchars( $captcha['ac'] )) : 'abcdefghijkmnpqrstuvwxyz23456789'; $_SESSION['turing_string_test'] = rc(); $img = "ts=test&w={$w}&h={$h}&c={$c}&l={$l}&f={$f}&a1={$a1}&a2={$a2}&f1={$f1}&f2={$f2}&b={$bg}"; $fonts = ''; $backgrounds = ''; ?>
<?php _e('Captcha Preview', 'cforms') ?>

/>

SPAM? Use these Q&A\'s to counteract spam and ensure it\'s a human submitting the form. To use in your form, add the corresponding input field "Visitor verification" preferably in its own FIELDSET!', 'cforms') ?>

captcha verification!', 'cforms') ?>
cforms\' CAPTCHA feature!', 'cforms'),'?page='.$plugindir.'/cforms-help.php#captcha','onclick="setshow(19)"'); ?>

Tracking" under the cforms menu.', 'cforms') ?>

auto confirmation message feature or have included a CC: me input field, you can optionally configure the subject line/message of the email to include the form tracking ID by using the variable {ID}.', 'cforms'),'?page=' . $plugindir . '/cforms-options.php#autoconf','onclick="setshow(5)"'); ?>

/>
/>
get_var("show tables like '$wpdb->cformssubmissions'") == $wpdb->cformssubmissions ) :?>

not erase any of its data, if you like to quit using cforms for good, please erase all data before deactivating the plugin.', 'cforms') ?>

all cforms data (form & plugin settings). This is irrevocable! Be careful.', 'cforms') ?>   

  *** ' .__('custom files','cforms'). ' ***  '; if ($handle = opendir($presetsdir)) { while (false !== ($file = readdir($handle))) { if (eregi('\.'.$ext.'$',$file) && $file != "." && $file != ".." && filesize($presetsdir.'/'.$file) > 0) $list .= ''; } closedir($handle); } $list .= ''; } $presetsdir = $fullplugindir.'/'.$dir.'/'; if ($handle = opendir($presetsdir)) { while (false !== ($file = readdir($handle))) { if (eregi('\.'.$ext.'$',$file) && $file != "." && $file != ".." && filesize($presetsdir.$file) > 0) $list .= ''; } closedir($handle); } return ($list=='')?'
  • '.__('Not available','cforms').'
  • ':$list; } ?>