<section class="" style="background: #8e2a1d;padding-top: 50px;padding-bottom: 50px;">
<div class="container" style="background: #fff;padding: 20px;">
<div class="section-title mb-10">
<div class="row" style="border-bottom: 4px solid #FF9800;">
<div class="col-xs-10 col-sm-10 col-md-10">
<h2 style="font-weight: 600;color: #0b1592;">Videos</h2>
<div class="col-xs-2 col-sm-2 col-md-2" style="margin-top: 20px;">
<a href="https://www.youtube.com/channel/UC1NvLnfzNiajygvVrDdd_Qg">
<h2 style="font-size: 18px;color: #0b1592;font-weight: 600;">อ่านทั้งหมด</h2>
<div class="section-content">
SELECT home.Home_ID, home.Member_ID, member.Member_NameEN, member.Position_ID,
position.Position_Name, home.Home_Date, home.Home_Time, home.Home_Visitors, home.Home_Sub,
home.Home_Short,home.Home_Short2,home.Home_Short3, home.Home_Detail, home.Home_Category, home.StatusHome_ID,
status_home.StatusHome_Name, home.StatusShowPage_ID, status_showpage.StatusShowPage_Name
FROM status_showpage INNER JOIN (status_home
INNER JOIN (position INNER JOIN (member
INNER JOIN home ON member.Member_ID = home.Member_ID)
ON position.Position_ID = member.Position_ID)
ON status_home.StatusHome_ID = home.StatusHome_ID)
ON status_showpage.StatusShowPage_ID = home.StatusShowPage_ID
WHERE home.StatusHome_ID = 1 AND home.StatusShowPage_ID = '$HomeID'
ORDER BY home.Home_ID asc LIMIT 9
$objQuery_Home = $objConnect->query($SQL_Home);
while ($objResult_Home = mysqli_fetch_array($objQuery_Home)) {
$HomeID = $objResult_Home["Home_ID"];
$HomeSub = $objResult_Home["Home_Sub"];
$HomeShort = $objResult_Home["Home_Short"];
$HomeDetail = $objResult_Home["Home_Detail"];
$HomeShort2 = $objResult_Home["Home_Short2"];