My Membership Options Page


Children List

ID);
if ($user->has_cap ("access_s2member_level0")) {
//echo "Access Level: " . get_user_field ("s2member_access_level", $user->ID). "\n";
$ccaparray = get_user_field ("s2member_access_ccaps", $user->ID);

foreach ($ccaparray as &$value) {
//echo "Array value: " . $value . "\n";

array_push($regarray, $value );

}

$user_info = get_userdata($user->ID);
//echo "Username: " . $user_info->user_login . "\n";
//echo "User roles: " . implode(', ', $user_info->roles) . "\n";
//$registered = implode(', ', $user_info->roles);
//echo "User ID: " . $user_info->ID . "\n";

} else {
//echo ("test2b");
}
}

global $wpdb;

$result = $wpdb->get_results( "SELECT * FROM `wp_posts` WHERE `post_parent` = 73 AND `post_type`='page' ORDER BY ID ASC" );
if ( $result )
{

foreach ( $result as $kids )
{
//echo "\n". $kids->ID;
$termmatch = "none";

$termresult = $wpdb->get_results( "SELECT * FROM `wp_term_relationships`, `wp_terms` WHERE `wp_term_relationships`.`object_id` = " .$kids->ID . " AND `wp_terms`.`term_id` = `wp_term_relationships`.`term_taxonomy_id`" );

if ( $termresult )
{
$taglist = "";
$taglist.= "Tags: ";

foreach ( $termresult as $tids )
{

$taglist.= $tids->slug . " ";

if (in_array($tids->slug, $regarray)) {
$termmatch = "yes";
}
}
}
setup_postdata( $kids );
?>

post_title; ?>

first_name);
?>


Not Found

Checkout Options
$40.00 monthly sponsorship - Children List
Create Profile
password strength indicator
Billing Method
Billing Address
Checkout Now