<commit_before>{include file='common/header.tpl'}

<section filters>
  <h1>
    Filmes
  </h1>

  <section class="flexbox">
	{foreach $films as $film}
	<a href="{$BASE_URL}pages/films/film.php?id={$film.id}" class="filmbox">
    <div class="thumb">
      <img src="{$BASE_URL}img/films/movies-imgeffect.png" alt="">
    </div>
		<img src="{$BASE_URL}img/films/cover/thumbnails/{$film.id}.jpg" alt="{$film.nome}" height="150px">
		<p class="filmname">{$film.nome}</p>
		<div class="years">
			<span class="filmyear">{$film.ano}</span>
			<span class="filmetar">{$film.classificacao_etaria}</span>
      </div>
      <p class="filmpreco">{$film.preco|number_format:2:',':'.'}</p>
	</a>
	{/foreach}
  </section>
  
  <section class="page-links">
	{if $paginas_totais > 1}
		{for $foo=1 to $paginas_totais}
			<a href="{$BASE_URL}pages/films/films.php?page={$foo}">{$foo}</a>
		{/for}
	{/if}<commit_msg>Update films.tpl<commit_after>{include file='common/header.tpl'}

<section filters>
  <h1>
    Filmes
  </h1>

  <section class="flexbox">
	{foreach $films as $film}
	<a href="{$BASE_URL}pages/films/film.php?id={$film.id}" class="filmbox">
    <div class="thumb">
      <img src="{$BASE_URL}img/films/movies-imgeffect.png" alt="">
    </div>
		<img src="{$BASE_URL}img/films/cover/thumbnails/{$film.id}.jpg" alt="{$film.nome}" height="150px">
		<p class="filmname">{$film.nome}</p>
		<div class="years">
			<span class="filmyear">{$film.ano}</span>
			<span class="filmetar">{$film.classificacao_etaria}</span>
      </div>
      <p class="filmpreco">{$film.preco|number_format:2:',':'.'}</p>
	</a>
	{/foreach}
  </section>
  
  <section class="page-links">
	{if $paginas_totais > 1}
		{if isset($search)}
			{for $foo=1 to $paginas_totais}
				<a href="{$BASE_URL}pages/films/films.php?page={$foo}&search={$search}">{$foo}</a>
			{/for}
		{else}
			{for $foo=1 to $paginas_totais}
				<a href="{$BASE_URL}pages/films/films.php?page={$foo}">{$foo}</a>
			{/for}
		{/if}
	{/if}
{'fraction_non_alphanumeric': 0.24, 'fraction_numerical': 0.008607594936708861, 'mean_word_length': 4.443526170798898, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3364012', 'n_tokens_mistral': 877, 'n_tokens_neox': 821, 'n_words': 117}