<!-- Modal -->
<div class="modal" id="moblie_friendly_Modal" tabindex="-1" role="dialog" aria-labelledby="moblie_friendly_ModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close" onclick="$('#moblie_friendly_Modal').remove();"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">页面移动端友好度</h4>
      </div>
      <div class="modal-body">
        <?php if ($pass) { ?>
        <p class="alert alert-success"><strong>Awesome!</strong> This page is mobile-friendly.</p>
        <?php }else{ ?>
        <p class="alert alert-error"><strong>Not</strong> mobile-friendly</p>
        <?php } ?>
        <p>友好度：<?php echo $score;?>(总分100分)</p>
        <p>详细信息：</p>
        <p><a target="__blank" href="https://www.google.com/webmasters/tools/mobile-friendly/?url=<?php echo $pageurl;?>">https://www.google.com/webmasters/tools/mobile-friendly/?url=<?php echo $pageurl;?></a></p>
        <p><a target="__blank" href="https://developers.google.com/speed/pagespeed/insights/?utm_source=analytics&tab=desktop&url=<?php echo $pageurl;?>">https://developers.google.com/speed/pagespeed/insights/?utm_source=analytics&tab=desktop&url=<?php echo $pageurl;?></a></p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal" onclick="$('#moblie_friendly_Modal').remove();">关闭</button>
      </div>
    </div>
  </div>
</div>