'; $array[3] .= '
'; $array[8] .='
'; }else { $array[0] .= '
'; $array[3] .= '
'; } echo implode("
",$array);; ?> if ( $article["attr"]["source"] > 0){?> }?> include(FRAMEWORK . "/article/tags.php");?>require_once ('../../classes/Lullabot/vendor/autoload.php'); use Lullabot\AMP\AMP; use Lullabot\AMP\Validate\Scope; // Create an AMP object $amp = new AMP(); $amp->loadHtml($article["text"]); $article["text"] = $amp->convertToAmpHtml(); $video_component_js = false; $pos_am_video = strpos($article["text"], "amp-video-iframe"); if ($pos_am_video === false) { }else { $video_component_js = true; } $js_array = $amp->getComponentJs(); ?>
if(isset($_GET["new_amp"])){?> }?> if(isset($_GET["consent"])){?> } ?> if($video_component_js==true){?> }?> foreach($js_array as $key_js => $js_item){ if($key_js!="amp-iframe") { ?> }}?>