<commit_before>{% extends "MachigaiGameBundle::base.html.twig" %}

{% block title %}MachigaiGameBundle:Shop:download{% endblock %}

{% block body %}
<script>
var image_path = null;
var image_id = null;
function changeImage(imageId){
  var pre_src = $('#'+imageId).attr('src');
  var src = pre_src.replace(/_off/g,'');
  image_path = src;
  image_id = imageId;
  $('#'+imageId).attr("src",src);
  setTimeout("originalImage();", 200);
}
function originalImage(){
  var pre_src = $('#'+image_id).attr('src');
  var src = image_path.replace(/.png/g,'_off.png');
  $('#'+image_id).attr("src",src);
}
</script>
<div style=" font-size:1em;">
<br />
<img src="{{ asset('/bundles/machigaigame/images/parts/2-03-1_bg.png') }}" style="position:absolute;left:0;top:0;width:100%;height:auto;"/>
<img src="{{ asset('/bundles/machigaigame/images/parts/header_shop.png') }}" width="100%" style="position:absolute;left:0%;top:0%;"/>
<img src="{{ asset('/bundles/machigaigame/images/parts/header_shop_contentdetail.png') }}" width="100%" style="position:absolute;top:10%;left:0%;"/>
<div style="position:relative;margin-top:27%"></div>
<div class="shop_contentdetailarea" style="padding:2%;position:relative">
<img src="{{ asset(items.0.getItemThumPath)  }}"style="margin:0 auto;;width:30%;height:15%;padding-top:2%"/><br />
<div style="padding:2%">{{items.0.getName}}</div>
<div style="font-size:0.7em;padding-bottom:2%;">{{items.0.getDescription}}</div>
必要ポイント:{{items.0.getConsumePoint}}pt<br />
</div>
<div class="shop_contentdetailarea" style="position:relative">
<img src="{{ asset('/bundles/machigaigame/images/parts/header_shop_point.png') }}" width="100%" style="position:relative" />
<p style="position:relative">{{user.getCurrentPoint}} pt</p>
</div>
<div class="shop_contentdetailarea" style=";position:relative">
<img src="{{ asset('/bundles/machigaigame/images/parts/header_shop_point_after.png') }}" width="100%" style="position:relative"/>
{% set remainder = user.getCurrentPoint - items.0.getConsumePoint %}
{% if remainder < 0 %} 0 pt<br /> {% else %}<commit_msg>#410 【ショップ】iphone4で画像購入確認時に、画像が縦長表示になる。<commit_after>{% extends "MachigaiGameBundle::base.html.twig" %}

{% block title %}MachigaiGameBundle:Shop:download{% endblock %}

{% block body %}
<script>
var image_path = null;
var image_id = null;
function changeImage(imageId){
  var pre_src = $('#'+imageId).attr('src');
  var src = pre_src.replace(/_off/g,'');
  image_path = src;
  image_id = imageId;
  $('#'+imageId).attr("src",src);
  setTimeout("originalImage();", 200);
}
function originalImage(){
  var pre_src = $('#'+image_id).attr('src');
  var src = image_path.replace(/.png/g,'_off.png');
  $('#'+image_id).attr("src",src);
}
</script>
<div style=" font-size:1em;">
<br />
<img src="{{ asset('/bundles/machigaigame/images/parts/2-03-1_bg.png') }}" style="position:absolute;left:0;top:0;width:100%;height:auto;"/>
<img src="{{ asset('/bundles/machigaigame/images/parts/header_shop.png') }}" width="100%" style="position:absolute;left:0%;top:0%;"/>
<img src="{{ asset('/bundles/machigaigame/images/parts/header_shop_contentdetail.png') }}" width="100%" style="position:absolute;top:10%;left:0%;"/>
<div style="position:relative;margin-top:27%"></div>
<div class="shop_contentdetailarea" style="padding:2%;position:relative">
<img src="{{ asset(items.0.getItemThumPath)  }}"style="margin:0 auto;width:30%;padding-top:2%"/><br />
<div style="padding:2%">{{items.0.getName}}</div>
<div style="font-size:0.7em;padding-bottom:2%;">{{items.0.getDescription}}</div>
必要ポイント:{{items.0.getConsumePoint}}pt<br />
</div>
<div class="shop_contentdetailarea" style="position:relative">
<img src="{{ asset('/bundles/machigaigame/images/parts/header_shop_point.png') }}" width="100%" style="position:relative" />
<p style="position:relative">{{user.getCurrentPoint}} pt</p>
</div>
<div class="shop_contentdetailarea" style=";position:relative">
<img src="{{ asset('/bundles/machigaigame/images/parts/header_shop_point_after.png') }}" width="100%" style="position:relative"/>
{% set remainder = user.getCurrentPoint - items.0.getConsumePoint %}
{% if remainder < 0 %} 0 pt<br /> {% else %}
{'fraction_non_alphanumeric': 0.228743961352657, 'fraction_numerical': 0.02463768115942029, 'mean_word_length': 7.555785123966942, 'pattern_counts': {'":': 0, '<': 57, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '256888', 'n_tokens_mistral': 1554, 'n_tokens_neox': 1486, 'n_words': 211}