$max) { // // Truncate the stripped string // $trimstring = substr($strippedString, 0, $max). $readmore; // // Append the remaining HTML tags to the truncated string // $trimstring .= substr($string, strlen($strippedString)); // } else { // $trimstring = $string; // } // // Add Read More link if URL is provided // // if (!empty($url)) { // // $trimstring .= " Read More"; // // } // return $trimstring; // } function readmore($string, $max = 50, $url, $i = 0){ $readmore = "..."; if(!empty($url)){ $readmore = " ReadMore..."; } if (strlen($string) > $max) { $trimstring = substr($string, 0, $max). $readmore; } else { $trimstring = $string; } return $trimstring; } function research_readmore($string, $max = 50, $url, $i = 0){ $readmore = "..."; if(!empty($url)){ $readmore = " ReadMore..."; } if (strlen($string) > $max) { $trimstring = substr($string, 0, $max). $readmore; } else { $trimstring = $string; } return $trimstring; } /*$preconfid_result=mysqli_query($conn,"SELECT preconfid FROM `editConference` WHERE id='$id'"); $preconfid = mysqli_fetch_array($preconfid_result); //print_r($preconfid);exit; if($preconfid[0]!=0&&$preconfid[0]!=''){ @$q_cmt = mysqli_query($conn,"select * from committee where user IN ('$id','$preconfid[0]') AND status='active' AND ocmtype='ocm' and visibility='show' ORDER BY recordListingID ASC"); } else{*/ // echo "select * from committee where user='$id' AND status='active' AND ocmtype='ocm' and visibility='show' ORDER BY recordListingID ASC"; @$q_cmt = mysqli_query($conn,"select * from committee where user='$id' AND status='active' AND ocmtype='ocm' and visibility='show' ORDER BY recordListingID ASC"); //} //print_r($q_cmt);exit; // @$q_cmt = mysqli_query($conn,"select * from committee where user='$id' AND status='active' AND ocmtype='ocm' and visibility='show' ORDER BY recordListingID ASC"); while(@$cmt_row = mysqli_fetch_assoc($q_cmt)) { $ocmembers[]=@$cmt_row; } //echo "
";
//print_r($ocmembers);
$site_path_without_year = preg_replace('/\d/', '', $site_path );
?>
0) {
if(isset($samembers)&&!empty($samembers)) {
for($i=0;$i
';
if($row1['name1'] != '')
{
?>
0) {
if(isset($scommittee)&&!empty($scommittee)) {
for($i=0;$i
0) {
if(isset($lcommittee)&&!empty($lcommittee)) {
for($i=0;$i