{% if nb_pages %}
	{% comment %}alors ? : {{begin}} - {{middle}} - {{end}} - nb_pages = {{nb_pages}}<br/>
	alors ? : nb_pages = {{nb_pages}} - range = {{nb_pages}} - cur_page_nb = {{cur_page_nb}}<br/>{% endcomment %}
	{% if 1 < cur_page_nb %}<a class="{{a_class}}" alt="prev" href="{% url url_to %}?page={{cur_page_nb|add:'-1'}}">&lt;&lt;</a>&nbsp;{% endif %}
	{% for i in begin %}
	  {% if i == cur_page_nb %}{{i}}{% else %}<a class="{{a_class}}" alt="{{i}}" href="{% url url_to %}?page={{i}}">{{i}}</a>{% endif %}&nbsp;
	{% endfor %}
	{% if middle %}
	...
	{% for i in middle %}
	  {% if i == cur_page_nb %}{{i}}{% else %}<a class="{{a_class}}" alt="{{i}}" href="{% url url_to %}?page={{i}}">{{i}}</a>{% endif %}&nbsp;
	{% endfor %}
	{% endif %}
	{% if end %}
    ...
    {% for i in end %}
      {% if i == cur_page_nb %}{{i}}{% else %}<a class="{{a_class}}" alt="{{i}}" href="{% url url_to %}?page={{i}}">{{i}}</a>{% endif %}&nbsp;
    {% endfor %}
    {% endif %}
	{% if cur_page_nb < nb_pages %}<a class="{{a_class}}" alt="next" href="{% url url_to %}?page={{cur_page_nb|add:'1'}}">&gt;&gt;</a>{% endif %}
{% endif %}