Latest Stories
'; echo '- ';
} elseif ($count == 2) {
echo '
-
class="card-image" src="//www.mtu.edu/mtu_resources/php/ou/images/crop.php?width=800&height=360&path=https://www.mtu.edu" alt="" /> class="card-image" src="//www.mtu.edu/mtu_resources/php/ou/news/michigan-tech-placeholder.png" alt="Michigan Technological University Logo" />
";
}
$count++;
}
echo "
- ';
}
array_push($usedstories, $row['id']);
$id = $row['id'];
$image = $row['image'];
$image_desc = trim($row['img_title']);
$title = $row['title'];
$link = $row['url'];
$intro = $row["intro"];
$date = strtotime($row['date']);
$url = $row['url'];
$site = explode("/", $url);
$site = ucwords($site[1]);
$body = $row['body'];
$category = $row['category'];
if (stripos($category, "interdisciplinary") !== false) {
$has_interdisc = " » Interdisciplinary";
} else {
$has_interdisc = '';
}
if (stripos($body, "ytimg.com") || $row['video_url'] != '') {
$has_video = '';
} else {
$has_video = false;
}
// We only show preview_text for the first story
if ($count == 1) {
$preview_text = trim(
strip_tags(
HtmlTruncator::make()
->ellipsis(" . . .")
->mode(TruncateMode::WORD)
->truncate($intro . " " . $body, 40)
)
);
}
?>
Latest Stories
'; echo '- ';
} elseif ($count == 2) {
echo '
-
class="card-image" src="//www.mtu.edu/mtu_resources/php/ou/images/crop.php?width=800&height=360&path=https://www.mtu.edu" alt="" /> class="card-image" src="//www.mtu.edu/mtu_resources/php/ou/news/michigan-tech-placeholder.png" alt="Michigan Technological University Logo" />
";
}
$count++;
}
echo "
- ';
}
array_push($usedstories, $row['id']);
$id = $row['id'];
$image = $row['image'];
$image_desc = trim($row['img_title']);
$img_height = $row['img_height'];
$img_width = $row['img_width'];
$title = $row['title'];
$link = $row['url'];
$intro = $row["intro"];
$date = strtotime($row['date']);
$url = $row['url'];
$site = explode("/", $url);
$site = ucwords($site[1]);
$body = $row['body'];
$category = $row['category'];
if (stripos($category, "interdisciplinary") !== false) {
$has_interdisc = " » Interdisciplinary";
} else {
$has_interdisc = '';
}
if (stripos($body, "ytimg.com") || $row['video_url'] != '') {
$has_video = '';
} else {
$has_video = false;
}
$preview_text = trim(
strip_tags(
HtmlTruncator::make()
->ellipsis(" . . .")
->mode(TruncateMode::WORD)
->truncate($intro . " " . $body, 40)
)
);
$vertical_img = $img_height / $img_width;
if ($vertical_img > 1) {
$vertical_img = true;
} else {
$vertical_img = false;
}
?>
--> */ ?>
".$htitle."
"; echo '- ';
$count = 1;
while ($row = $result->fetch_assoc()) {
array_push($usedstories, $row['id']);
$id = $row['id'];
$image = $row['image'];
$image_desc = trim($row['img_title']);
$title = $row['title'];
$link = $row['url'];
$date = strtotime($row['date']);
$body = $row['body'];
$category = $row['category'];
if (stripos($category, "interdisciplinary") !== false) {
$has_interdisc = " » Interdisciplinary";
} else {
$has_interdisc = '';
}
if (stripos($body, "ytimg.com") || $row['video_url'] != '') {
$has_video = '';
} else {
$has_video = false;
}
?>
-
";
//echo '';
echo "
Latest Stories
'; echo '- ';
} elseif ($count == 2) {
echo '
-
class="card-image" src="//www.mtu.edu/mtu_resources/php/ou/images/crop.php?width=800&height=360&path=https://www.mtu.edu" alt="" /> class="card-image" src="//www.mtu.edu/mtu_resources/php/ou/news/michigan-tech-placeholder.png" alt="Michigan Technological University Logo" />
";
}
$count++;
}
echo "
- ';
}
array_push($usedstories, $row['id']);
$id = $row['id'];
$image = $row['image'];
$image_desc = trim($row['img_title']);
$title = $row['title'];
$link = $row['url'];
$intro = $row["intro"];
$date = strtotime($row['date']);
$url = $row['url'];
$site = explode("/", $url);
$site = ucwords($site[1]);
$body = $row['body'];
$category = $row['category'];
if (stripos($category, "interdisciplinary") !== false) {
$has_interdisc = " » Interdisciplinary";
} else {
$has_interdisc = '';
}
if (stripos($body, "ytimg.com") || $row['video_url'] != '') {
$has_video = '';
} else {
$has_video = false;
}
// We only show preview_text for the first story
if ($count == 1) {
$preview_text = trim(
strip_tags(
HtmlTruncator::make()
->ellipsis(" . . .")
->mode(TruncateMode::WORD)
->truncate($intro . " " . $body, 40)
)
);
}
?>
Latest Stories
'; echo '- ';
} elseif ($count == 2) {
echo '
-
class="card-image" src="//www.mtu.edu/mtu_resources/php/ou/images/crop.php?width=800&height=360&path=https://www.mtu.edu" alt="" /> class="card-image" src="//www.mtu.edu/mtu_resources/php/ou/news/michigan-tech-placeholder.png" alt="Michigan Technological University Logo" />
";
}
$count++;
}
echo "
- ';
}
array_push($usedstories, $row['id']);
$id = $row['id'];
$image = $row['image'];
$image_desc = trim($row['img_title']);
$img_height = $row['img_height'];
$img_width = $row['img_width'];
$title = $row['title'];
$link = $row['url'];
$intro = $row["intro"];
$date = strtotime($row['date']);
$url = $row['url'];
$site = explode("/", $url);
$site = ucwords($site[1]);
$body = $row['body'];
$category = $row['category'];
if (stripos($category, "interdisciplinary") !== false) {
$has_interdisc = " » Interdisciplinary";
} else {
$has_interdisc = '';
}
if (stripos($body, "ytimg.com") || $row['video_url'] != '') {
$has_video = '';
} else {
$has_video = false;
}
$preview_text = trim(
strip_tags(
HtmlTruncator::make()
->ellipsis(" . . .")
->mode(TruncateMode::WORD)
->truncate($intro . " " . $body, 40)
)
);
$vertical_img = $img_height / $img_width;
if ($vertical_img > 1) {
$vertical_img = true;
} else {
$vertical_img = false;
}
?>
--> */ ?>
".$htitle."
"; echo '- ';
$count = 1;
while ($row = $result->fetch_assoc()) {
array_push($usedstories, $row['id']);
$id = $row['id'];
$image = $row['image'];
$image_desc = trim($row['img_title']);
$title = $row['title'];
$link = $row['url'];
$date = strtotime($row['date']);
$body = $row['body'];
$category = $row['category'];
if (stripos($category, "interdisciplinary") !== false) {
$has_interdisc = " » Interdisciplinary";
} else {
$has_interdisc = '';
}
if (stripos($body, "ytimg.com") || $row['video_url'] != '') {
$has_video = '';
} else {
$has_video = false;
}
?>
-
";
//echo '';
echo "
On the cover: Welcome Richard J. Koubek, our tenth president.
Published by University Marketing and Communications
Ian Repp—Director of University Marketing and Communications
Stefanie Sidortsova—Managing Editor
Vassilissa Semouchkina—Senior Designer
Jonathan Halquist—Graphic Designer
Sarah Bird—Photographer
Shannon Rinkinen—Articles Editor
Sarah Williams—Advancement and Alumni Engagement Editor
Crystal Verran—Director of Operations
Katie jo Wright—Freelance Artist
Ben Jaszczak—Multimedia Specialist
Megan Ross—Digital Services Coordinator
Comments to the editor
magazine@mtu.edu
Class Notes submissions and mailing address changes
alumni@mtu.edu
-
} else { ?>
