{% if offset %}
	{% if p %}
		{% set pid = p.id %}
	{% endif %}
	<div id="viewmore-{{offset}}">
		<br>
		<button id="viewbtn" class="btn btn-primary" onclick="viewmore({{pid}},'{{sort}}',{{offset}},{{ids}})">VIEW MORE COMMENTS</button>
	</div>
{% endif %}
