source: trunk/template/default/category.tpl @ 525

Last change on this file since 525 was 510, checked in by z0rglub, 20 years ago
  • new special category : random pictures
  • reorganisation of special categories menu : template is used only for template. A special category is presented as the template tells to do so.
  • favorites becomes just another special category
  • bug correction for best rated category : wrong MySQL query if user has forbidden categories (see include/functions_category.inc.php diff)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.7 KB
Line 
1<div align="center" style="padding:10px;"><img src="template/default/images/logo.jpg" width="360" height="100"></div>
2<table style="width:100%;">
3  <tr>
4    <td valign="top" style="padding:10px;width:1%;">
5      <div class="table1">
6        <div class="titreMenu">
7          <a href="{U_HOME}">{L_CATEGORIES}</a>
8        </div>
9        <div class="menu">
10          <ul class="menu">
11            {MENU_CATEGORIES_CONTENT}
12          </ul>
13        <div class="totalImages">[&nbsp;{NB_PICTURE}&nbsp;{L_TOTAL}&nbsp;]</div>
14                  <br />
15                  <ul class="menu">
16                    <li><span style="font-weight:bold;">{L_SPECIAL_CATEGORIES}</span></li>
17                    <ul class="menu">
18                      <!-- BEGIN special_cat -->
19                      <li><a href="{special_cat.URL}" title="{special_cat.TITLE}">{special_cat.NAME}</a></li>
20                      <!-- END special_cat -->
21                    </ul>
22                  </ul>
23                </div>
24                <div class="titreMenu">{L_SUMMARY}</div>
25                <div class="menu">
26                <ul class="menu">
27                  <!-- BEGIN summary -->
28                  <li><a href="{summary.U_SUMMARY}" title="{summary.TITLE}">{summary.NAME}</a></li>
29                  <!-- END summary -->
30                  <!-- BEGIN upload -->
31                  <li><a href="{upload.U_UPLOAD}">{L_UPLOAD}</a></li>
32                  <!-- END upload -->
33                </ul>
34                </div>
35                <div class="titreMenu">{L_IDENTIFY}</div>
36                 <div class="menu">
37                 <!-- BEGIN login -->
38                <form method="post" action="{F_IDENTIFY}">
39                <input type="hidden" name="redirect" value="{U_REDIRECT}">
40                {L_USERNAME}<br />
41                <input type="text" name="username" size="15" value="" /><br />
42                {L_PASSWORD}<br />
43                <input type="password" name="password" size="15"><br />
44                <input type="submit" name="login" value="{L_SUBMIT}" class="bouton" />
45                </form>
46                <!-- END login -->
47                <!-- BEGIN logout -->
48                <p>{L_HELLO}&nbsp;{USERNAME}&nbsp;!</p>
49                &nbsp;<img src="{T_COLLAPSED}" alt="&gt;"/>&nbsp;<a href="{U_LOGOUT}">{L_LOGOUT}</a><br />
50                &nbsp;<img src="{T_COLLAPSED}" alt="&gt;"/>&nbsp;<a href="{U_PROFILE}" title="{L_PROFILE_HINT}">{L_PROFILE}</a><br />
51                <!-- BEGIN admin -->
52            &nbsp;<img src="{T_COLLAPSED}" alt="&gt;"/>&nbsp;<a href="{U_ADMIN}" title="{L_ADMIN_HINT}">{L_ADMIN}</a><br />
53                <!-- END admin -->
54                <!-- END logout -->
55                </div>
56      </div>
57        </td>
58        <td style="padding:10px;width:99%;" valign="top">
59          <div class="home">
60                        <div class="titrePage">{TITLE}</div>
61                        <!-- BEGIN calendar -->
62                          <div class="navigationBar">{calendar.YEARS_NAV_BAR}</div>
63                          <div class="navigationBar">{calendar.MONTHS_NAV_BAR}</div>
64                        <!-- END calendar -->
65                        <!-- BEGIN thumbnails -->
66                        <table valign="top" align="center" class="thumbnail">
67                          <!-- BEGIN line -->
68                          <tr>
69                                <!-- BEGIN thumbnail -->
70                                <td class="thumbnail">
71                                  <a href="{thumbnails.line.thumbnail.U_IMG_LINK}">
72                                  <img src="{thumbnails.line.thumbnail.IMAGE}"
73                                           alt="{thumbnails.line.thumbnail.IMAGE_ALT}"
74                                           title="{thumbnails.line.thumbnail.IMAGE_TITLE}"
75                                           class="thumbLink" />
76                                  <br />
77                                  <!-- BEGIN bullet -->
78                                  <img src="./template/default/theme/collapsed.gif" style="border:none;" alt="&gt;" />
79                                  <!-- END bullet -->
80                                  <span class="{thumbnails.line.thumbnail.IMAGE_STYLE}">{thumbnails.line.thumbnail.IMAGE_NAME}</span></a>
81                                  {thumbnails.line.thumbnail.IMAGE_TS}
82                                  <!-- BEGIN nb_comments -->
83                                  <br />{thumbnails.line.thumbnail.nb_comments.NB_COMMENTS} {L_COMMENT}
84                                  <!-- END nb_comments -->
85                                </td>
86                                <!-- END thumbnail -->
87                          </tr>
88                          <!-- END line -->
89                        </table>
90                        <!-- END thumbnails -->
91                <br />
92                        <!-- BEGIN cat_infos -->
93                          <!-- BEGIN navigation -->
94                          <div class="navigationBar">{cat_infos.navigation.NAV_BAR}</div>
95                          <!-- END navigation -->
96                          <!-- BEGIN comment -->
97                          <div class="info">{cat_infos.comment.COMMENTS}</div>
98                          <!-- END comment -->
99                        <!-- END cat_infos -->
100      </div>
101        </td>
102  </tr>
103</table>
Note: See TracBrowser for help on using the repository browser.