• strict warning: Declaration of views_handler_filter_node_status::operator_form() should be compatible with views_handler_filter::operator_form(&$form, &$form_state) in /home/worshipediaact/public_html/sites/all/modules/views/includes/handlers.inc on line 76.
  • strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::options() in /home/worshipediaact/public_html/sites/all/modules/views/includes/handlers.inc on line 76.

Allen, Ronald J.

Christian Church (Disciples Of Christ)

Worship in the Disciples of Christ denomination was shaped by the conditions of the American frontier during the early nineteenth century. Only in the second half of the twentieth century has widespread use of the Christian year appeared. A worship calendar which became popular in the 1950s helped prepare the way, combining some historic Christian festivals with national and denominational observances.

<?php
global $user;
$url = $_GET['q'];
//If it's a node full view
if (preg_match("/^node\/([0-9]+)$/", $url, $matches) || preg_match("/^comment\/reply\/([0-9]+)$/", $url, $matches)) {
$node_id = $matches[1];
$content = node_load($node_id);
if ($content->type == "premium_content") {
//for registered users
//Set the reference to this premium content to take the user back to the same article after successful checkout
$_SESSION['pre_checkout_premium_page'] = request_uri();

$message = 'Full text is available to premium subscribers only. You may subscribe here and start accessing premium content right away!';

if ($user->uid > 0) {
drupal_set_message($message, 'error');
drupal_goto('premium_content_subscription');
} else { //for anonymous users
drupal_set_message($message . '
If you are already subscribed to Worshipedia, log in here.', 'error');
drupal_goto('user/register');
}
}
}
?>