Press Releases
Press Releases
For press related queries, please email press@slic.org.in
If you wish to receive regular case updates and news regarding our work, send an email with the subject line ‘News updates’ to press@slic.org.in
get_results($msql); $pagecount = count($pages1); $pages = $wpdb->get_results($sql); $count = count($pages); if($eyear!="select"){ if($pagecount > 0){ for($i = 0; $i < $count; $i++){ $sqlimage = "SELECT meta_value FROM wp_postmeta WHERE meta_key = '_wp_attached_file' AND post_id = (SELECT meta_value FROM wp_postmeta WHERE meta_key = 'main_image' AND post_id = ".$pages[$i]->ID." )"; $image_data = $wpdb->get_results($sqlimage); $sqldate = "(SELECT meta_value FROM wp_postmeta WHERE meta_key = 'date' AND post_id = ".$pages[$i]->ID." )"; $date_data = $wpdb->get_results($sqldate); $sqlvenue = "(SELECT meta_value FROM wp_postmeta WHERE meta_key = 'place' AND post_id = ".$pages[$i]->ID." )"; $venue =$wpdb->get_results($sqlvenue); $sqldoc = "SELECT meta_value FROM wp_postmeta WHERE meta_key = '_wp_attached_file' AND post_id = (SELECT meta_value FROM wp_postmeta WHERE meta_key = 'file_upload' AND post_id = ".$pages[$i]->ID." )"; $doc_data = $wpdb->get_results($sqldoc); $sqlword="(SELECT post_content FROM wp_posts WHERE ID = ".$pages[$i]->ID.")"; $words = $wpdb->get_results($sqlword); ?>post_title; ?>
meta_value; ?>meta_value ?>
Document File: meta_value; ?>
post_content; if (strlen($string) > 200): $stringCut = substr($string, 0, 200); ?>... Read More
";
echo "
";
}
}
?>
- ";
if((isset($_POST['esubmit']) && $eyear!="select" && $emonth!="select") || (isset($_GET['eyear']) && isset($_GET['emonth']))){
if($pg > 1 )
echo "
- Previous "; for($i=1; $i <= $totalPages; $i++) { if($i == ($pg-2)) echo "
- $i "; if($i == ($pg-1)) echo "
- $i "; if($i == $pg) echo "
- $i "; if($i == ($pg+1)) echo "
- $i "; if($i == ($pg+2)) echo "
- $i "; } if($pg != $totalPages ) echo "
- Next "; } else if((isset($_POST['esubmit']) && $eyear!="select") || (isset($_GET['eyear']))){ if($pg > 1 ) echo "
- Previous "; for($i=1; $i <= $totalPages; $i++) { if($i == ($pg-2)) echo "
- $i "; if($i == ($pg-1)) echo "
- $i "; if($i == $pg) echo "
- $i "; if($i == ($pg+1)) echo "
- $i "; if($i == ($pg+2)) echo "
- $i "; } if($pg != $totalPages ) echo "
- Next "; } else { if($pg > 1 ) echo "
- Previous "; for($i=1; $i <= $totalPages; $i++) { if($i == ($pg-2)) echo "
- $i "; if($i == ($pg-1)) echo "
- $i "; if($i == $pg) echo "
- $i "; if($i == ($pg+1)) echo "
- $i "; if($i == ($pg+2)) echo "
- $i "; } if($pg != $totalPages ) echo "
- Next "; } echo "