Exemplo n.º 1
0
  <title><?php 
    echo $empresa['nom'];
    ?>
</title>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="css/bootstrap.min.css">
  <link rel="stylesheet" href="css/style.css">
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
  <script src="js/scripts.js" type="text/javascript"></script>
  <script>
    $(document).ready(function() {
      $('input[name="url"]').val("<?php 
    echo utf8_encode($v->getUrl());
    ?>
");
      $('input[name="titol"]').val("<?php 
    echo htmlspecialchars(utf8_encode($v->getTitol()));
    ?>
");
      $('textarea#descripcio').html("<?php 
    echo htmlspecialchars(utf8_encode($v->getDescripcio()));
    ?>
");
      $('input[name="data"]').val("<?php 
    echo utf8_encode($v->getData());
    ?>
");
      $('input[name="tags"]').val("<?php 
Exemplo n.º 2
0
        document.title = "<?php 
echo $empresa['nom'];
?>
";
    }
</script>
<div class="containervideo">
  <div class="col-sm-12">
    <div class="row pull-right">
      <span class="glyphicon glyphicon-remove" onclick="tancar();"></span>
    </div><br/>
  </div>
  <div class="col-sm-12 informacio">
    <div class="framevideo col-sm-12">
      <iframe id="video" class="ivideo" src="//player.vimeo.com/video/<?php 
echo $v->getUrl();
?>
?color=fff&amp;autoplay=1" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
    </div>
    <div class="col-sm-6 pull-left">
      <h2><a href="#"><strong><?php 
echo utf8_encode($v->getCategoria());
?>
</strong></a></h2>
      <h1 class="ultralight" id="nom"><?php 
echo utf8_encode($v->getTitol());
?>
</h1>
      <small><?php 
echo $lang['TEXT'];
?>