Breaking News

Upcoming Events in Nagpur

“ds_field_common_event_date asc” ,’filters’ => array( “(sm_sites:$own_site_url OR hash:$hash) ds_field_common_event_date:[NOW-1DAY TO *]”)));
$total = $data[‘total’];

$site_hash = apachesolr_site_hash();
global $base_url;
if($total > 0){
foreach($data as $k => $result){
$k = (string) $k;
if($k == ‘total’) continue;

$target = “_self”;
if($result->hash != $site_hash){ $target = “_blank”; }

echo “

“;
echo “

“;
if($result->ss_node_image){
echo “

“.l(“ss_image_thumbnail}\” rel=\””.html_entity_decode($result->title, ENT_QUOTES, ‘UTF-8’).” image\””, $result->url, array(‘html’ => true, array(‘attributes’ => array(‘title’ => html_entity_decode($result->title, ENT_QUOTES, ‘UTF-8’))))).”

\n”;
}else{
echo “

“.l(“title, ENT_QUOTES, ‘UTF-8’).” image\””, $result->url, array(‘html’ => true, array(‘attributes’ => array(‘title’ => html_entity_decode($result->title, ENT_QUOTES, ‘UTF-8’))))).”

\n”;
}
echo “

“; // search-block-left
echo “

“;
echo “

“.l(html_entity_decode($result->title, ENT_QUOTES, ‘UTF-8’), $result->url, array(‘attributes’ => array(‘target’ => $target, ‘title’ => html_entity_decode($result->title, ENT_QUOTES, ‘UTF-8’)))).”

“;
$user_name = $result->name;
if($result->ss_author_name){
$user_name = $result->ss_author_name;
}
echo “

Event Date: “.date(“M d, Y”,strtotime($result->ds_field_common_event_date)).”

“;
echo “

“.html_entity_decode($result->teaser, ENT_QUOTES, ‘UTF-8’).”

“;
echo “

“;
if($result->site != $base_url.”/”){

$provider = ucwords(preg_replace(‘/(http:\/\/)|www.|\s|\//’, ”, $result->site));
echo “

Provided by $provider

“;
}
echo l(“read more”, $result->url, array(‘external’ => true, ‘attributes’ => array(‘target’ => $target))).”

\n”;
echo “

“; //// search-block-right
echo “

 

“;
echo “

“;
}
}else{ // no data
echo “

Sorry your search didn’t yield any results. Please modify your search terms

“;

}
print theme(‘pager’);
?>

“ds_field_common_event_date asc” ,’filters’ => array( “(sm_sites:$own_site_url OR hash:$hash) ds_field_common_event_date:[NOW-1DAY TO *]”)));
$total = $data[‘total’];

$site_hash = apachesolr_site_hash();
global $base_url;
if($total > 0){
foreach($data as $k => $result){
$k = (string) $k;
if($k == ‘total’) continue;

$target = “_self”;
if($result->hash != $site_hash){ $target = “_blank”; }

echo “

“;
echo “

“;
if($result->ss_node_image){
echo “

“.l(“ss_image_thumbnail}\” rel=\””.html_entity_decode($result->title, ENT_QUOTES, ‘UTF-8’).” image\””, $result->url, array(‘html’ => true, array(‘attributes’ => array(‘title’ => html_entity_decode($result->title, ENT_QUOTES, ‘UTF-8’))))).”

\n”;
}else{
echo “

“.l(“title, ENT_QUOTES, ‘UTF-8’).” image\””, $result->url, array(‘html’ => true, array(‘attributes’ => array(‘title’ => html_entity_decode($result->title, ENT_QUOTES, ‘UTF-8’))))).”

\n”;
}
echo “

“; // search-block-left
echo “

“;
echo “

“.l(html_entity_decode($result->title, ENT_QUOTES, ‘UTF-8’), $result->url, array(‘attributes’ => array(‘target’ => $target, ‘title’ => html_entity_decode($result->title, ENT_QUOTES, ‘UTF-8’)))).”

“;
$user_name = $result->name;
if($result->ss_author_name){
$user_name = $result->ss_author_name;
}
echo “

Event Date: “.date(“M d, Y”,strtotime($result->ds_field_common_event_date)).”

“;
echo “

“.html_entity_decode($result->teaser, ENT_QUOTES, ‘UTF-8’).”

“;
echo “

“;
if($result->site != $base_url.”/”){

$provider = ucwords(preg_replace(‘/(http:\/\/)|www.|\s|\//’, ”, $result->site));
echo “

Provided by $provider

“;
}
echo l(“read more”, $result->url, array(‘external’ => true, ‘attributes’ => array(‘target’ => $target))).”

\n”;
echo “

“; //// search-block-right
echo “

 

“;
echo “

“;
}
}else{ // no data
echo “

Sorry your search didn’t yield any results. Please modify your search terms

“;

}
print theme(‘pager’);
?>