Commit 638016dc authored by liuyuzhen's avatar liuyuzhen

Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into lyz

parents 2b3afe2e d9d7ae7a
......@@ -8,6 +8,15 @@
</head>
<body>
<div>
<?php
$str = $commonInfo['goods_youku_url'];
if($str) {
preg_match('/<iframe((?!src).)*src[\s]*=[\s]*[\'"](?<src>[^\'"]*)[\'"]/i',$str,$match);
if($match) {
echo "<iframe height=auto width=100% src='{$match['src']}' frameborder=0 'allowfullscreen'></iframe>";
}
}
?>
<?php echo $commonInfo['goods_body']; ?>
</div>
</body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment