+964 750-251-9141
+964 750-261-9141 
Contact Numbers
     

 

News & Events

 
 
 

    extend('PagerDefault'); $nids = $query ->fields('n', array('nid', 'sticky', 'created')) ->condition('type', 'news') ->condition('status', 1) ->orderBy('sticky', 'DESC') ->orderBy('created', 'DESC') ->limit(5) ->addTag('node_access') ->execute() ->fetchCol(); if (!empty($nids)) { $nodes = node_load_multiple($nids); $build += node_view_multiple($nodes,'full'); $build['pager'] = array( '#theme' => 'pager', '#weight' => 5, ); } else { drupal_set_message(t('No blog entries have been created.')); } print render($build); ?>

 

Back to Top