blob: da1f19c474533774d3515bf21cf577133b17fa17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{{extend 'default/_base.html'}}
{{if profile != None:}}
<h1>{{=profile+ "'s Submissions"}}</h1>
{{pass}}
{{if profile == None:}}
<h1>Submissions</h1>
{{pass}}
<p>Sort by:
{{if profile == None:}}
{{if sort == "newest":}}
{{=sort}}
<a href="index.html?sort=views"> views</a></p>
{{pass}}
{{if sort == "views":}}
<a href="index.html"> newest</a>
{{=sort}}</p>
{{pass}}
{{pass}}
{{if profile != None:}}
{{if sort == "newest":}}
{{=sort}}
<a href={{="index.html?sort=views;profile="+profile}}> views</a></p>
{{pass}}
{{if sort == "views":}}
<a href={{="index.html?profile="+profile}}> newest</a>
{{=sort}}</p>
{{pass}}
{{pass}}
{{for row in images:}}
<table><tr>
{{for image in row:}}
<td><a href = {{="image.html?image="+str(image.id)}}>
<img width="250px" src="{{=URL(r=request, f='download', args=image.newimage)}}"
onclick="ajax('ajaxwiki_onclick',['text'],'html')"/>
<br><center>{{=image.title}}</center></a></td>
{{pass}}
</tr></table>
{{pass}}
<center>
<ul id="navlist">
{{for count in range(pages):}}
{{if count+1 == page:}}
<li>{{=str(page)}}</li>
{{pass}}
{{if count+1 != page:}}
{{if profile == None:}}
<li><a href = {{="index.html?page="+str(count+1)+";sort="+sort}}>{{ = str(count+1)}}</a></li>
{{pass}}
{{if profile != None:}}
<li><a href = {{="index.html?page="+str(count+1)+";sort="+sort}}+";profile="+profile>{{ = str(count+1)}}</a></li>
{{pass}}
{{pass}}
{{pass}}
</ul>
</center>
|