Changeset 1424769
- Timestamp:
- 05/26/2016 01:30:38 PM (10 years ago)
- File:
-
- 1 edited
-
leadfox/trunk/leadfox.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
leadfox/trunk/leadfox.php
r1418969 r1424769 2 2 /*** 3 3 * Plugin Name: leadfox 4 * Plugin Version: 1.0 .14 * Plugin Version: 1.0 5 5 * Author: Leadfox(Leadfox) 6 6 * Description: Leadfox converts visitors into ripe leads and paying customers : From creating convincing landing pages that capture more leads to running smarter email campaigns that better nurture new customers LeadFox makes deploying your online strategy easy and automatic. The plugin will integrate all the Leadfox tracking code on your website and will sync all your contacts with your Leadfox contact lists. … … 341 341 $contactlist; 342 342 343 $fname = isset($_POST['first_name']) ? $_POST['first_name'] : '';343 /*$fname = isset($_POST['first_name']) ? $_POST['first_name'] : ''; 344 344 $lname = isset($_POST['last_name']) ? $_POST['last_name'] : ''; 345 345 $email = isset($_POST['email']) ? $_POST['email'] : ''; 346 346 $user_id = $user_id; 347 $user_role = isset($_POST['role']) ? $_POST['role'] : ''; 348 347 $user_role = isset($_POST['role']) ? $_POST['role'] : '';*/ 348 349 350 $fname = ''; 351 $lname = ''; 352 $email = ''; 353 $user_role = ''; 354 355 $user_id = $user_id; 356 $user_info = get_userdata($user_id); 357 $user_role = implode(', ', $user_info->roles); 358 359 if((isset($_REQUEST['first_name']) && $_REQUEST['first_name']!='') && (isset($_REQUEST['last_name']) && $_REQUEST['last_name']!='') && (isset($_REQUEST['email']) && $_REQUEST['email']!='')) 360 { 361 $fname = $_REQUEST['first_name']; 362 $lname = $_REQUEST['last_name']; 363 $email = $_REQUEST['email']; 364 } 365 366 if((isset($_REQUEST['billing_first_name']) && $_REQUEST['billing_first_name']!='') && (isset($_REQUEST['billing_last_name']) && $_REQUEST['billing_last_name']!='') && (isset($_REQUEST['billing_email']) && $_REQUEST['billing_email']!='')) 367 { 368 $fname = $_REQUEST['billing_first_name']; 369 $lname = $_REQUEST['billing_last_name']; 370 $email = $_REQUEST['billing_email']; 371 } 372 349 373 $admins = array(array('id'=>$user_id, 'fname'=>$fname, 'lname'=>$lname, 'email'=>$email)); 350 374
Note: See TracChangeset
for help on using the changeset viewer.