*/ ?> <section id="PostBox"> <div class="DateTag"> <div class="Day"><?php echo compDate("d"); ?> </div> <div class="Hr"></div> <div class="Month"><?php echo compDate("M"); ?> </div> <div class="Year"><?php echo compDate("Y"); ?> </div> </div> <article> <div class="wrapper"> <div class="info"> <h1><?php echo $Title; ?> </h1> <div class="Authors"> <div class="IconCol"><img src="img/ShotInfo_iconUser.png" alt="Authors" /></div> <div class="Names"> <?php
$Authors = addslashes(compAuthors($Authors, $Authors_Aliases)); $Location = addslashes(compLocationYear($Location, $Year)); $Brand = addslashes(compBrand($Authors, $Brand)); $Tv_Channel = addslashes(compTvChannel($Tv_Channel)); $Motion_Type_Str = addslashes(compMotionType($Motion_Type)); $Broadcast_Type = addslashes(compBroadcastType($Broadcast_Type)); // Round rating $RatingIndex = round($Rating / 10000, 1); $RatingWidth = round($Rating / 10000, 1) * 10; // Proportion 22:5 ratio where 22 is A and 5 is B): B / (A / 100) = C%. So 22:5 is 5 / .22 = 22.72%. // 1,777777777777778 x W = 56.25%; $RatioPercent = $Height / ($Width / 100); // Get Dates $PubDay = compDate($Date_Create, "d"); $PubMonth = compDate($Date_Create, "M"); $PubYear = compDate($Date_Create, "Y"); //----------------- //--- Pack to json $Collect_JSON_Attr .= ' { "Title": "' . $Title . '", "Img": "' . $Img . '", "Authors": "' . $Authors . '", "Location": "' . $Location . '", "Brand": "' . $Brand . '", "Tv_Channel": "' . $Tv_Channel . '", "Likes": "' . $Likes . '", "Rating": "' . $RatingIndex . '", "RatingWidth": "' . $RatingWidth . '", "Motion_Type": "' . $Motion_Type_Str . '", "Broadcast_Type": "' . $Broadcast_Type . '",