posts . ".* FROM " . $wpdb->posts . " WHERE " . $wpdb->posts . ".post_author = $current_user->ID AND " . $wpdb->posts . ".post_type = '$post_type' AND (" . $wpdb->posts . ".post_status = 'publish' OR " . $wpdb->posts . ".post_status = 'pending') ORDER BY " . $wpdb->posts . ".`ID` DESC"; $query = $wpdb->query( $sql ); // Get total of Num rows from the database query if ( isset( $_GET['pn'] ) ) { // Get pn from URL vars if it is present $pn = preg_replace( '#[^0-9]#i', '', $_GET['pn'] ); // filter everything but numbers for security(new) } else { // If the pn URL variable is not present force it to be value of page number 1 $pn = 1; } $itemsPerPage = 20; $lastPage = ceil( $query / $itemsPerPage ); if ( $pn < 1 ) { // If it is less than 1 $pn = 1; // force if to be 1 } else if ( $pn > $lastPage ) { // if it is greater than $lastpage $pn = $lastPage; // force it to be $lastpage's value } $centerPages = ""; $sub1 = $pn - 1; $sub2 = $pn - 2; $add1 = $pn + 1; $add2 = $pn + 2; if ( $pn == 1 ) { $centerPages .= '  ' . $pn . '  '; $centerPages .= '  ' . $add1 . '  '; } else if ( $pn == $lastPage ) { $centerPages .= '  ' . $sub1 . '  '; $centerPages .= '  ' . $pn . '  '; } else if ( $pn > 2 && $pn < ($lastPage - 1) ) { $centerPages .= '  ' . $sub2 . '  '; $centerPages .= '  ' . $sub1 . '  '; $centerPages .= '  ' . $pn . '  '; $centerPages .= '  ' . $add1 . '  '; $centerPages .= '  ' . $add2 . '  '; } else if ( $pn > 1 && $pn < $lastPage ) { $centerPages .= '  ' . $sub1 . '  '; $centerPages .= '  ' . $pn . '  '; $centerPages .= '  ' . $add1 . '  '; } $limit = 'LIMIT ' . ($pn - 1) * $itemsPerPage . ',' . $itemsPerPage; $listings = $wpdb->get_results( "SELECT " . $wpdb->posts . ".* FROM " . $wpdb->posts . " WHERE " . $wpdb->posts . ".post_author = $current_user->ID AND " . $wpdb->posts . ".post_type = '$post_type' AND (" . $wpdb->posts . ".post_status = 'publish' OR " . $wpdb->posts . ".post_status = 'pending') ORDER BY " . $wpdb->posts . ".`ID` DESC $limit" ); $paginationDisplay = ""; // Initialize the pagination output variable if ( $lastPage != "1" ) { $paginationDisplay .= 'Page ' . $pn . ' of ' . $lastPage . '      '; if ( $pn != 1 ) { $previous = $pn - 1; $paginationDisplay .= '  Back '; } $paginationDisplay .= '' . $centerPages . ''; if ( $pn != $lastPage ) { $nextPage = $pn + 1; $paginationDisplay .= '  Next '; } } ?>

user_login . " - Your Listings"; ?>

ID, 'geocraft_meta_address', true ); $categories = get_the_term_list( $listing->ID, CUSTOM_CAT_TYPE, '', ' ', '' ); $tags = get_the_term_list( $listing->ID, CUSTOM_TAG_TYPE, '', ' ', '' ); $listing_type = get_post_meta( $listing->ID, 'geocraft_listing_type', true ); ?>
Listings Type Date Expires
post_title; ?>
ID ); ?>"> |  ID ); ?>"> | 
ID, 'geocraft_listing_type', true ); if ( $listing_type == 'pro' ): echo "Featured"; else: echo "Free"; endif; ?> post_date ) ); ?>
post_status ); ?>
ID, 'gc_listing_duration', true ); if ( $listing_expiry ) { printf( "%s \n", date( get_option( 'date_format' ), strtotime( $listing_expiry ) ) ); echo "
"; printf( "\n%s", gc_timeleft( strtotime( $listing_expiry ) ) ); } ?>
:  
'; $success .= 'jQuery(document).ready(function(){'; $success .= 'alert("Your listing has been renewed");'; $success .= '});'; $success .= ''; echo $success; } } } ?>

posts . ".* FROM " . $wpdb->posts . " WHERE " . $wpdb->posts . ".post_author = $current_user->ID AND " . $wpdb->posts . ".post_type = '$post_type' AND (" . $wpdb->posts . ".post_status = 'draft') ORDER BY " . $wpdb->posts . ".`ID` DESC"; $query = $wpdb->query( $sql ); // Get total of Num rows from the database query if ( isset( $_GET['pn'] ) ) { // Get pn from URL vars if it is present $pn = preg_replace( '#[^0-9]#i', '', $_GET['pn'] ); // filter everything but numbers for security(new) } else { // If the pn URL variable is not present force it to be value of page number 1 $pn = 1; } $itemsPerPage = 20; $lastPage = ceil( $query / $itemsPerPage ); if ( $pn < 1 ) { // If it is less than 1 $pn = 1; // force if to be 1 } else if ( $pn > $lastPage ) { // if it is greater than $lastpage $pn = $lastPage; // force it to be $lastpage's value } $centerPages = ""; $sub1 = $pn - 1; $sub2 = $pn - 2; $add1 = $pn + 1; $add2 = $pn + 2; if ( $pn == 1 ) { $centerPages .= '  ' . $pn . '  '; $centerPages .= '  ' . $add1 . '  '; } else if ( $pn == $lastPage ) { $centerPages .= '  ' . $sub1 . '  '; $centerPages .= '  ' . $pn . '  '; } else if ( $pn > 2 && $pn < ($lastPage - 1) ) { $centerPages .= '  ' . $sub2 . '  '; $centerPages .= '  ' . $sub1 . '  '; $centerPages .= '  ' . $pn . '  '; $centerPages .= '  ' . $add1 . '  '; $centerPages .= '  ' . $add2 . '  '; } else if ( $pn > 1 && $pn < $lastPage ) { $centerPages .= '  ' . $sub1 . '  '; $centerPages .= '  ' . $pn . '  '; $centerPages .= '  ' . $add1 . '  '; } $limit = 'LIMIT ' . ($pn - 1) * $itemsPerPage . ',' . $itemsPerPage; $listings = $wpdb->get_results( "SELECT " . $wpdb->posts . ".* FROM " . $wpdb->posts . " WHERE " . $wpdb->posts . ".post_author = $current_user->ID AND " . $wpdb->posts . ".post_type = '$post_type' AND (" . $wpdb->posts . ".post_status = 'draft') ORDER BY " . $wpdb->posts . ".`ID` DESC $limit" ); if ( $pn > 0 ) { $paginationDisplay = ""; // Initialize the pagination output variable if ( $lastPage != "1" ) { $paginationDisplay .= 'Page ' . $pn . ' of ' . $lastPage . '      '; if ( $pn != 1 ) { $previous = $pn - 1; $paginationDisplay .= '  Back '; } $paginationDisplay .= '' . $centerPages . ''; if ( $pn != $lastPage ) { $nextPage = $pn + 1; $paginationDisplay .= '  Next '; } } } if ( $listings ) { foreach ( $listings as $listing ): $address = get_post_meta( $listing->ID, 'geocraft_meta_address', true ); $categories = get_the_term_list( $listing->ID, CUSTOM_CAT_TYPE, '', ',', '' ); $tags = get_the_term_list( $listing->ID, CUSTOM_TAG_TYPE, '', ' ', '' ); $listing_type = get_post_meta( $listing->ID, 'geocraft_listing_type', true ); ?>
post_title; ?>
ID ); ?>"> |  ID); ?>">
post_title&action=free_renew&pid=" . $listing->ID ); ?>"> post_title&action=renew&pid=" . $listing->ID ); ?>">
:  

query( $query ); } ?>


ID; global $wpdb; $sql = "SELECT * FROM $inquiry_tbl_name WHERE listing_author = $user_ID"; $query = $wpdb->query( $sql ); // Get total of Num rows from the database query if ( isset( $_GET['pn'] ) ) { // Get pn from URL vars if it is present $pn = preg_replace( '#[^0-9]#i', '', $_GET['pn'] ); // filter everything but numbers for security(new) } else { // If the pn URL variable is not present force it to be value of page number 1 $pn = 1; } $itemsPerPage = 20; $lastPage = ceil( $query / $itemsPerPage ); if ( $pn < 1 ) { // If it is less than 1 $pn = 1; // force if to be 1 } else if ( $pn > $lastPage ) { // if it is greater than $lastpage $pn = $lastPage; // force it to be $lastpage's value } $centerPages = ""; $sub1 = $pn - 1; $sub2 = $pn - 2; $add1 = $pn + 1; $add2 = $pn + 2; if ( $pn == 1 ) { $centerPages .= '  ' . $pn . '  '; $centerPages .= '  ' . $add1 . '  '; } else if ( $pn == $lastPage ) { $centerPages .= '  ' . $sub1 . '  '; $centerPages .= '  ' . $pn . '  '; } else if ( $pn > 2 && $pn < ($lastPage - 1) ) { $centerPages .= '  ' . $sub2 . '  '; $centerPages .= '  ' . $sub1 . '  '; $centerPages .= '  ' . $pn . '  '; $centerPages .= '  ' . $add1 . '  '; $centerPages .= '  ' . $add2 . '  '; } else if ( $pn > 1 && $pn < $lastPage ) { $centerPages .= '  ' . $sub1 . '  '; $centerPages .= '  ' . $pn . '  '; $centerPages .= '  ' . $add1 . '  '; } $limit = 'LIMIT ' . ($pn - 1) * $itemsPerPage . ',' . $itemsPerPage; $results = $wpdb->get_results( "SELECT * FROM $inquiry_tbl_name $limit" ); $paginationDisplay = ""; // Initialize the pagination output variable if ( $pn > 1 ) { if ( $lastPage != "1" ) { $paginationDisplay .= 'Page ' . $pn . ' of ' . $lastPage . '      '; if ( $pn != 1 ) { $previous = $pn - 1; $paginationDisplay .= '  Back '; } $paginationDisplay .= '' . $centerPages . ''; if ( $pn != $lastPage ) { $nextPage = $pn + 1; $paginationDisplay .= '  Next '; } } } if ( $results ): ?> listing_author ) { $listing_type = get_post_meta( $result->listing_id, 'geocraft_listing_type', true ); if ( $listing_type == 'pro' ) { ?>
listing_title; ?>
ID ); ?>">
user_name; ?> email; ?> phone_no; ?> message; ?>
$meta_value ): if ( $meta_value != '' ): update_user_meta( $user_id, $meta_key, $meta_value ); endif; if ( $meta_key == 'user_url' ) { update_option( 'gc_user_website', $user_meta['user_url'] ); } endforeach; /* Update user password. */ if ( !empty( $_POST['npass'] ) && !empty( $_POST['passagain'] ) ) { if ( $_POST['npass'] == $_POST['passagain'] ) { wp_update_user( array( 'ID' => $current_user->ID, 'user_pass' => esc_attr( $_POST['npass'] ) ) ); } else { echo "

Password doesn't match!

"; } } endif; ?>

ID ); ?>">












 
comments` WHERE `$wpdb->comments`.`comment_ID` = $cmtid"; wp_delete_comment( $cmtid, true ); endif; if ( isset( $_REQUEST['cmtaction'] ) && $_REQUEST['cmtaction'] == 'edit' && isset( $_REQUEST['cmtid'] ) && $_REQUEST['cmtid'] != '' ): $commentarr = get_comment( $_REQUEST['cmtid'], ARRAY_A ); $commentarr = array( "comment_ID" => $_REQUEST['cmtid'], "comment_approved" => $_REQUEST['cmtstd'] ); //wp_update_comment($commentarr); endif; ?>

ID; $post_type = POST_TYPE; $sql = "SELECT $wpdb->comments.* , $wpdb->posts.* FROM $wpdb->comments JOIN $wpdb->posts ON $wpdb->posts.ID = $wpdb->comments.comment_post_ID WHERE comment_approved = '1' AND post_status = 'publish' AND post_author = $author AND post_type='$post_type' ORDER BY comment_date_gmt DESC"; $query = $wpdb->query( $sql ); // Get total of Num rows from the database query if ( isset( $_GET['pn'] ) ) { // Get pn from URL vars if it is present $pn = preg_replace( '#[^0-9]#i', '', $_GET['pn'] ); // filter everything but numbers for security(new) } else { // If the pn URL variable is not present force it to be value of page number 1 $pn = 1; } $itemsPerPage = 20; $lastPage = ceil( $query / $itemsPerPage ); if ( $pn < 1 ) { // If it is less than 1 $pn = 1; // force if to be 1 } else if ( $pn > $lastPage ) { // if it is greater than $lastpage $pn = $lastPage; // force it to be $lastpage's value } $centerPages = ""; $sub1 = $pn - 1; $sub2 = $pn - 2; $add1 = $pn + 1; $add2 = $pn + 2; if ( $pn == 1 ) { $centerPages .= '  ' . $pn . '  '; $centerPages .= '  ' . $add1 . '  '; } else if ( $pn == $lastPage ) { $centerPages .= '  ' . $sub1 . '  '; $centerPages .= '  ' . $pn . '  '; } else if ( $pn > 2 && $pn < ($lastPage - 1) ) { $centerPages .= '  ' . $sub2 . '  '; $centerPages .= '  ' . $sub1 . '  '; $centerPages .= '  ' . $pn . '  '; $centerPages .= '  ' . $add1 . '  '; $centerPages .= '  ' . $add2 . '  '; } else if ( $pn > 1 && $pn < $lastPage ) { $centerPages .= '  ' . $sub1 . '  '; $centerPages .= '  ' . $pn . '  '; $centerPages .= '  ' . $add1 . '  '; } $limit = 'LIMIT ' . ($pn - 1) * $itemsPerPage . ',' . $itemsPerPage; $comments = $wpdb->get_results( "SELECT $wpdb->comments.* , $wpdb->posts.* FROM $wpdb->comments JOIN $wpdb->posts ON $wpdb->posts.ID = $wpdb->comments.comment_post_ID WHERE comment_approved = '1' AND post_status = 'publish' AND post_author = $author AND post_type='$post_type' ORDER BY comment_date_gmt DESC $limit" ); $paginationDisplay = ""; // Initialize the pagination output variable if ( $lastPage != "1" ) { $paginationDisplay .= 'Page ' . $pn . ' of ' . $lastPage . '      '; if ( $pn != 1 ) { $previous = $pn - 1; $paginationDisplay .= '  Back '; } $paginationDisplay .= '' . $centerPages . ''; if ( $pn != $lastPage ) { $nextPage = $pn + 1; $paginationDisplay .= '  Next '; } } foreach ( $comments as $comment ): ?>
comment_author; ?> comment_author_email; ?> Submitted on comment_date; ?> comment_content; ?> comment_count; ?>post_title; ?>
 
$post_id, "post_type" => POST_TYPE, "post_title" => $posted['place_title'], "post_name" => $posted['place_title'], "post_status" => $post_status, "post_content" => $posted['geocraft_description'], "post_category" => $posted['category'], "tags_input" => $posted['tag'], ); $last_postid = wp_update_post( $listing_data ); $custom_meta = get_custom_field(); if ( $custom_meta ) { foreach ( $custom_meta as $meta ): if ( $meta['type'] == 'multicheckbox' ) { $field = $meta['name']; update_post_meta( $last_postid, $field, $_POST[$field] ); } else { $field = $meta['name']; $posted[$field] = stripcslashes( trim( $_POST[$field] ) ); update_post_meta( $last_postid, $field, $posted[$field] ); } endforeach; } wp_set_object_terms( $last_postid, $posted['category'], $taxonomy = CUSTOM_CAT_TYPE ); wp_set_object_terms( $last_postid, $posted['tag'], $taxonomy = CUSTOM_TAG_TYPE ); endif; ?> posts . ".* FROM " . $wpdb->posts . " WHERE " . $wpdb->posts . ".post_type = '$post_type' AND " . $wpdb->posts . ".ID = $post_id"; $listing = $wpdb->get_row( $sql ); ?>



post_content; $editor_id = 'geocraft_description'; wp_editor( $content, $editor_id ); ?>
term_id ); if ( $allc[0] != "" ) { $locat .= $allc[0] . ","; } } $cates = explode( ',', $locat ); global $wpdb; $taxonomy = CUSTOM_CAT_TYPE; $table_prefix = $wpdb->prefix; $wpcat_id = NULL; //Fetch category $wpcategories = (array) $wpdb->get_results( " SELECT * FROM {$table_prefix}terms, {$table_prefix}term_taxonomy WHERE {$table_prefix}terms.term_id = {$table_prefix}term_taxonomy.term_id AND {$table_prefix}term_taxonomy.taxonomy ='" . $taxonomy . "' and {$table_prefix}term_taxonomy.parent=0 ORDER BY {$table_prefix}terms.name" ); $wpcategories = array_values( $wpcategories ); $counter = null; if ( $wpcategories ) { echo "
    "; if ( $taxonomy == CUSTOM_CAT_TYPE ) { ?>
  • term_id; $name = $wpcat->name; $tparent = $wpcat->parent; ?>
  • "; foreach ( $child as $child_of ) { $term = get_term_by( 'id', $child_of, CUSTOM_CAT_TYPE ); $termid = $term->term_taxonomy_id; $term_tax_id = $term->term_id; $name = $term->name; $catprice = $wpdb->get_row( "select * from $wpdb->term_taxonomy tt ,$wpdb->terms t where tt.term_taxonomy_id='" . $term->term_taxonomy_id . "' and t.term_id = tt.term_id" ); $cp = $catprice->term_price; ?>
  • "; foreach ( $child as $child_of ) { $term = get_term_by( 'id', $child_of, CUSTOM_CAT_TYPE ); $termid = $term->term_taxonomy_id; $term_tax_id = $term->term_id; $name = $term->name; $cate = get_term_children( $term_tax_id, CUSTOM_CAT_TYPE ); $catprice = $wpdb->get_row( "select * from $wpdb->term_taxonomy tt ,$wpdb->terms t where tt.term_taxonomy_id='" . $term->term_taxonomy_id . "' and t.term_id = tt.term_id" ); $cp = $catprice->term_price; ?>
  • "; } } echo "
"; } } echo ""; } ?>
ID, 'geocraft_listing_type', true ) == 'pro' ) { ?>
post_status; ?> value=""/>
value=""/>
$meta ) { $meta_value = get_post_meta( $post_id, $meta['name'], true ); $name = $meta['name']; $title = $meta['title']; $htmlnm = $meta['htmlvar_name']; $default = $meta['default']; $type = $meta['type']; $description = stripcslashes( $meta['description'] ); $option_values = $meta['options']; $is_required = ''; $field = $meta['name']; $title = $meta['title']; $field_type = ""; if ( $meta['is_require'] == 1 ) { $validation_field[] = array( 'name' => $key, 'span' => $key . '_error', 'type' => $meta['type'], ); } //if ($meta['show_on_listing'] == 1) { if ( $field != 'list_title' ) { if ( $type == 'text' || $type == 'geo_map_input' ) { if ( $name == 'geo_latitude' || $name == 'geo_longitude' ) { $script = 'onblur="changeMap();"'; $field_type = "hidden"; } else { $script = ''; $field_type = 'text'; } if ( $meta['is_require'] == 1 ) { $is_required = '*'; } ?>
" name="" PLACEHOLDER="" value=""/>

'; echo ''; } ?>
'; echo ''; } ?>
' . $options[$i] . ' '; } } ?>
'; echo ''; } ?>
'; $array = $meta['options']; if ( $array ) { foreach ( $array as $id => $option ) { $checked = ''; if ( $meta_value != "" ) { $fval_arr = $meta_value; if ( in_array( $option, $fval_arr ) ) { $checked = 'checked="checked"'; } } else { $fval_arr = $meta['default']; if ( $fval_arr != "" ) { if ( in_array( $option, $fval_arr ) ) { $checked = 'checked="checked"'; } } } echo '
' . $option . '
' . "
"; } } echo '
'; ?>

'; echo ''; } ?>

'; echo ''; } ?>
'; echo ''; } ?>
'; echo ''; } ?>
 
ID, 'geocraft_listing_type', true ); $is_featured = gc_is_featured( $listing->ID ); if ( ($listing_type == 'free') || (empty( $is_featured['feature_home'] ) || empty( $is_featured['feature_cat'] )) ) { ?>

options where option_name like 'pay_method_$method'"; $paymentinfo = $wpdb->get_results( $paymentsql ); if ( $paymentinfo ) { foreach ( $paymentinfo as $paymentinfoObj ) { $option_value = unserialize( $paymentinfoObj->option_value ); $paymentOpts = $option_value['payOpts']; $optReturnarr = array(); for ( $i = 0; $i < count( $paymentOpts ); $i++ ) { $optReturnarr[$paymentOpts[$i]['fieldname']] = $paymentOpts[$i]['value']; } return $optReturnarr; } } } function renew_listing() { ?>

get_results( "SELECT * FROM $price_table_name WHERE status=1" ); $count = 1; if ( $packages ): foreach ( $packages as $package ): $valid_to = $package->validity_per; if ( $valid_to == 'D' ): $valid_to = 'Days'; endif; if ( $valid_to == 'M' ): $valid_to = "Months"; endif; if ( $valid_to == 'Y' ): $valid_to = 'Years'; endif; $rebill_time = $package->rebill_time; if ( $package->package_type != 'pkg_free' ) { ?>
 
0 + 0 = 0



$_REQUEST['listing_title'], 'total_cost' => $_REQUEST['total_price'], 'post_id' => $post_id, 'p_method' => "paypal", 'f_period' => $posted['f_period'], 'f_cycle' => $posted['f_cycle'], 'installment' => $posted['installment'], 's_price' => $posted['s_price'], 's_period' => $posted['s_period'], 's_cycle' => $posted['s_cycle'], 'billing' => $posted['billing'] ); //Updating expiry table if ( $_POST['package_validity'] != '' && $_POST['package_validity_per'] != '' ) { global $wpdb; $expiry_tbl_name = GC_EXPIRY_TBL; $validity = $_POST['package_validity']; $validity_per = $_POST['package_validity_per']; $pkg_type = $_POST['package_type']; if ( $pkg_type == '' ) { $pkg_type = 'pkg_free'; } $current_date = date( "Y-m-d H:i:s" ); $update_array = array( 'listing_title' => $posted_value['listing_title'], 'validity' => $validity, 'validity_per' => $validity_per, 'package_type' => $pkg_type ); $wpdb->update( $expiry_tbl_name, $update_array, array( 'pid' => $post_id ) ); } //For featuring category or homepage $featured_home = ''; $featured_cate = ''; if ( $_POST['feature_h'] ) { $featured_home = 'on'; } if ( $_POST['feature_c'] ) { $featured_cate = 'on'; } $listing_meta = array( 'geocraft_f_checkbox1' => esc_attr( $featured_home ), 'geocraft_f_checkbox2' => esc_attr( $featured_cate ) ); if ( $listing_meta ) { foreach ( $listing_meta as $key => $meta ): if ( !empty( $meta ) ) { update_post_meta( $post_id, $key, $meta ); } endforeach; } $package_type = $_POST['package_type']; //Apling payment api if ( isset( $_POST['renew'] ) ) { if ( isset( $_REQUEST['paypal_mode'] ) && $_REQUEST['paypal_mode'] == 'paypal' ): if ( file_exists( LIBRARYPATH . "getway/paypal/paypal_response.php" ) ): global $user_ID, $post, $posted, $wpdb, $posted_value; $paypalamount = $posted_value['total_cost']; $post_title = $_REQUEST['listing_title']; $paymentOpts = get_payment_optins1( 'paypal' ); $merchantid = $paymentOpts['merchantid']; $returnUrl = $paymentOpts['returnUrl']; $cancel_return = $paymentOpts['cancel_return']; $notify_url = $paymentOpts['notify_url']; $currency_code = get_option( 'currency_code' ); $return_page_id = get_option( 'geo_notify_page' ); $post_id = $posted_value['post_id']; $pay_method = $_REQUEST['pay_method']; //Current user details $current_user = wp_get_current_user(); $returnUrl = site_url( "?page_id=$return_page_id&ptype=pstatus&pkg_type=$package_type&post_id=$post_id&user_id=$current_user->ID&user_name=$current_user->user_login&post_title=$post_title&pay_method=$pay_method" ); $notify_url = site_url( "?ptype=pstatus&pkg_type=$package_type&post_id=$post_id&user_id=$current_user->ID&user_name=$current_user->user_login&post_title=$post_title&pay_method=$pay_method" ); $cancel_return = site_url( "?ptype=pstatus&pkg_type=$package_type&post_id=$post_id&user_id=$current_user->ID&user_name=$current_user->user_login&post_title=$post_title&pay_method=$pay_method" ); $is_recurring = $paymentOpts['is_recurring']; $f_period = $posted_value['f_period']; $f_cycle = $posted_value['f_cycle']; $installment = $posted_value['installment']; $s_price = $posted_value['s_price']; $s_period = $posted_value['s_period']; $s_cycle = $posted_value['s_cycle']; $billing = $posted_value['billing']; $recurring = $posted_value['billing']; $billing_time = get_billingtime(); ?>
rebill_time == 1 ) { ?>
ID&user_name=$current_user->user_login&post_title=$post_title&pay_method=$pay_method" ); $notify_url = site_url( "?ptype=pstatus&pkg_type=$package_type&post_id=$post_id&user_id=$current_user->ID&user_name=$current_user->user_login&post_title=$post_title&pay_method=$pay_method" ); $cancel_return = site_url( "?ptype=pstatus&pkg_type=$package_type&post_id=$post_id&user_id=$current_user->ID&user_name=$current_user->user_login&post_title=$post_title&pay_method=$pay_method" ); $is_recurring = $paymentOpts['is_recurring']; $f_period = $posted_value['f_period']; $f_cycle = $posted_value['f_cycle']; $installment = $posted_value['installment']; $s_price = $posted_value['s_price']; $s_period = $posted_value['s_period']; $s_cycle = $posted_value['s_cycle']; $billing = $posted_value['billing']; $recurring = $posted_value['billing']; ?>