- {% if not profile.telno %}{% else %}{% trans %} Tel {% endtrans %}{% if type == 'FL' %}{% set count = 1 %} {% set loop = 1 %}{% else %} {% set loop = profile._format.telno|length %}{% endif %}{% for i in 1..loop %}{% set count=count+1 %}{% if count == 5 %} {{ '<br>' }}{% set count = 1 %} {% endif %} {% endfor %}{{ '<br>' }}{% endif %}
- {% if not profile.fax %}{% else %}{% trans %} Fax {% endtrans %}{% if type == 'FL' %}{% set count = 1 %} {% set loop = 1 %}{% else %} {% set loop = profile._format.fax|length %}{% endif %}{% for i in 1..loop %}{% set count=count+1 %}{% if count == 5 %} {{ '<br>' }}{% set count = 1 %} {% endif %} {% endfor %}{{ '<br>' }}{% endif %}
- {% if not profile.email %}{% else %}{% trans %} Email {% endtrans %} {% set loop = profile.email|split(',') %}{% for i in 1..loop|length %} {{ '<br>' }} {% endfor %} {% endif %}
- {% if not profile.website %}{% else %}{% trans %} Website {% endtrans %} {% set loop = profile.website|split(',') %}{% for i in 1..loop|length %} {{ '<br>' }} {% endfor %} {% endif %}
- {% if not profile.workinghours %}{% else %}{% trans %} Work-Time {% endtrans %}{% endif %}
- </div>
- <div class="col-xs-8 col-sm-9 col-lg-9">
- {% if not profile.telno %}
- {% else %}
- {% if type == 'FL' %}
- <span>{{ profile._format.telno.0 }}</span><br>
- {% else %}
- {% for key, tel in profile._format.telno %}
- {% if loop.last != key+1 %}<a href="tel:{{ tel }}">{{ tel }}</a>{{ " ," }}
- {% else %}<a href="tel:{{ tel }}">{{ tel }}</a>{% endif %}
- <div {% if promotion.promoimg and not promotion.promoimg2 and not promotion.promoimg3 %} class="col-xs-4 col-md-4 col-lg-4 col-xs-offset-4 col-md-offset-4 col-lg-offset-4"
- {% elseif promotion.promoimg and promotion.promoimg2 and not promotion.promoimg3 %} class="col-xs-4 col-md-4 col-lg-4 col-xs-offset-4 col-md-offset-4 col-lg-offset-4"
+ <div {% if promotion.promoimg and not promotion.promoimg2 and not promotion.promoimg3 %} class="col-xs-4 col-md-4 col-lg-4 col-xs-offset-4 col-md-offset-4 col-lg-offset-4"
+ {% elseif promotion.promoimg and promotion.promoimg2 and not promotion.promoimg3 %} class="col-xs-4 col-md-4 col-lg-4 col-xs-offset-4 col-md-offset-4 col-lg-offset-4"
- <ul class="nav nav-tabs" {% if not promotion.promotionid and not profile.location.lat and not profile.printadst %} style="display: none;" {% endif %}>
- {#{% if profile.picturet1 %}<li class="active"><a data-toggle="tab" href="#home">{% trans %} Picture {% endtrans %}</a></li>{% endif %}#}
- {% if promotion.promotionid %}<li class="active" ><a data-toggle="tab" href="#menu1">{% trans %} Promotion {% endtrans %}</a></li>{% endif %}
- {% if profile.location.lat %}<li {% if not promotion.promotionid %} {{ 'class="active"' }} {% endif %}><a data-toggle="tab" href="#menu2">{% trans %} Digital Map {% endtrans %}</a></li>{% endif %}
- {% if profile.printadst %}<li {% if not promotion.promotionid and not profile.location.lat %}{{ 'class="active"' }}{% endif %}><a data-toggle="tab" href="#menu3">{% trans %} Advertisement {% endtrans %}</a></li>{% endif %}
- {#{% if profile.map %}<li {% if not profile.location.lat and not profile.printadst and not profile.promotion and not profile.onlinepromotion %}{{ 'class="active"' }}{% endif %}><a data-toggle="tab" href="#menu4">{% trans %} Map Picture {% endtrans %}</a></li>{% endif %}#}
- </ul>
+ <div class="mobile">
+ <ul class="nav nav-tabs" {% if not promotion.promotionid and not profile.location.lat and not profile.printadst %} style="display: none;" {% endif %}>
+ {#{% if profile.picturet1 %}<li class="active"><a data-toggle="tab" href="#home">{% trans %} Picture {% endtrans %}</a></li>{% endif %}#}
+ {% if promotion.promotionid %}<li class="active" ><a data-toggle="tab" href="#menu1">{% trans %} Promotion {% endtrans %}</a></li>{% endif %}
+ {% if profile.location.lat %}<li {% if not promotion.promotionid %} {{ 'class="active"' }} {% endif %}><a data-toggle="tab" href="#menu2">{% trans %} Digital Map {% endtrans %}</a></li>{% endif %}
+ {% if profile.printadst %}<li {% if not promotion.promotionid and not profile.location.lat %}{{ 'class="active"' }}{% endif %}><a data-toggle="tab" href="#menu3">{% trans %} Advertisement {% endtrans %}</a></li>{% endif %}
+ {#{% if profile.map %}<li {% if not profile.location.lat and not profile.printadst and not profile.promotion and not profile.onlinepromotion %}{{ 'class="active"' }}{% endif %}><a data-toggle="tab" href="#menu4">{% trans %} Map Picture {% endtrans %}</a></li>{% endif %}#}
+ </ul>
- <div class="tab-content" {% if not promotion.promotionid and not profile.location.lat and not profile.printadst %} style="display: none;" {% endif %}>
- {#{% if profile.picturet1 %}#}
- {#<div id="home" class="tab-pane fade in active">#}
- {#<br>#}
- {#<div class="row">#}
+ <div class="tab-content" {% if not promotion.promotionid and not profile.location.lat and not profile.printadst %} style="display: none;" {% endif %}>
+ {#{% if profile.picturet1 %}#}
+ {#<div id="home" class="tab-pane fade in active">#}
- <div {% if promotion.promoimg and not promotion.promoimg2 and not promotion.promoimg3 %} class="col-xs-4 col-md-4 col-lg-4 col-xs-offset-4 col-md-offset-4 col-lg-offset-4"
- {% elseif promotion.promoimg and promotion.promoimg2 and not promotion.promoimg3 %} class="col-xs-4 col-md-4 col-lg-4 col-xs-offset-4 col-md-offset-4 col-lg-offset-4"
+ <div {% if promotion.promoimg and not promotion.promoimg2 and not promotion.promoimg3 %} class="col-xs-4 col-md-4 col-lg-4 col-xs-offset-4 col-md-offset-4 col-lg-offset-4"
+ {% elseif promotion.promoimg and promotion.promoimg2 and not promotion.promoimg3 %} class="col-xs-4 col-md-4 col-lg-4 col-xs-offset-4 col-md-offset-4 col-lg-offset-4"
+ <a style="color:#ffffff" href="http://www.yellowpages.co.th/profile/get-promotion">{% trans %}How to get promotion from{% endtrans %} TYPLive Plus</a>
- {#{#<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.</p>#}#}
- {#{#</div>#}#}
- {#</div>#}
+ {#<div class="tab-content">#}
+ {#<div id="menu4" class="tab-pane fade in active">#}
+ {#<h3>HOME</h3>#}
+ {#<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>#}
+ {#</div>#}
+ {#<div id="menu5" class="tab-pane fade">#}
+ {#<h3>Menu 1</h3>#}
+ {#<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>#}
+ {#{#<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.</p>#}#}