Реклама на сайте Advertise with us

Пример index.html

Расширенный поиск по форуму
 
Новая тема Новая тема   
Автор
Поиск в теме:



С нами с 30.10.02
Сообщения: 136
Рейтинг: 36

Ссылка на сообщениеДобавлено: 26/04/05 в 20:09       Ответить с цитатойцитата 

кто нить может показать пример индексного файла для
AutoGallery SQL 3.0.0

Спасибо.

0
 



С нами с 04.03.05
Сообщения: 3744
Рейтинг: 856

Ссылка на сообщениеДобавлено: 27/04/05 в 11:38       Ответить с цитатойцитата 

Это для FHG.
Код:

These instructions are for AutoGallery SQL 3.0.x


This is the default template included with the software, except it has been
changed to display only permanent galleries.  Using this template there will
be no submitted galleries on your TGP page, only permanent galleries.  Each
time the TGP pages are rebuilt, the permanent galleries will be rotated.




TGP Page Template
=================
<%TEMPLATE
NAME Text
HTML ##Date## <a href="##Gallery_URL##" target="_blank">##Thumbnails## ##Category##</a><br />
%>

<%TEMPLATE
NAME Thumb
HTML <td><a href="##Gallery_URL##" target="_blank"><img src="##Thumbnail_URL##" border="0" class="thumb"></a></td>
%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<style type="text/css">
a
{
    font-size:       12px;
    color:           #FF9900;
    text-decoration: none;
}

a:hover
{
    color: #FFFFFF;
}

a:hover img
{
    border: 1px solid #FFFFFF;
}

.thumb_table
{
    background-color: #555588;
    border:           1px solid black;
}

.thumb
{
    border: 1px solid #FF9900;
}

body
{
    font-size:   12px;
    font-family: Verdana;
}

td
{
    font-size:   12px;
    font-family: Verdana;
}

.head
{
    font-weight: bold;
    font-size: 24px;
}
</style>
</head>
<body bgcolor="#333366" text="#FFFFFF" link="#FF9900" vlink="#000000" alink="#000000">

<div align="center">
<span class="head">TGP</span><br />
Links to ##Thumbnails## free pictures and movies!<br />
Updated ##Updated_Date##
</div>


<br />

<table class="thumb_table" align="center" cellpadding="5" border="0">
<tr>
<%PERMANENT
TYPE Thumb
CATEGORY Mixed
AMOUNT 5
HTML Thumb
%>
</tr>
<tr>
<%PERMANENT
TYPE Thumb
CATEGORY Mixed
AMOUNT 5
HTML Thumb
%>
</tr>
<tr>
<%PERMANENT
TYPE Thumb
CATEGORY Mixed
AMOUNT 5
HTML Thumb
%>
</tr>
<tr>
<%PERMANENT
TYPE Thumb
CATEGORY Mixed
AMOUNT 5
HTML Thumb
%>
</tr>
</table>

<br />

<table align="center">
<tr>
<td>
<%PERMANENT
TYPE Text
CATEGORY Mixed
AMOUNT 50
HTML Text
%>
</td>
<td width="100"></td>
<td>
<%PERMANENT
TYPE Text
CATEGORY Mixed
AMOUNT 50
HTML Text
%>
</td>
</tr>
</table>


<br />

<div align="center">
<b><a href="##Script_URL##/submit.cgi">Submit A Gallery</a></b>
</div>

<br />

</body>
</html>

А это для тех галлер, что постеры шлют
Код:

These instructions are for AutoGallery SQL 3.0.x


The template below will allow you to run a "Hall of Fame" for your thumbnails.
The most clicked thumbnails will be listed in the section labeled "Hall of Fame".
The second section of thumbnails will be the most recently approved thumbnails,
and below that there will be a text listing of galleries.

Note that the Thumb template is setup to use the go.php script to track the number
of clicks on the thumbnails.  Make sure you have configured the go.php script and it
is located in the same directory as your TGP page.

Also note that the Hall of Fame section is sorted only by Hits_Sent.  You may not want
to do this, as the top clicked thumbnails will always stay in this section.  If you want
to only show the top clicked galleries for each day, use a SORT option such as
Display_Date DESC, Hits_Sent DESC  This will allow the thumbnails to be rotated off
the main page into the archives.




TGP Page Template
=================
<%TEMPLATE
NAME Text
HTML ##Date## <a href="##Gallery_URL##" target="_blank">##Thumbnails## ##Category##</a><br />
%>

<%TEMPLATE
NAME Thumb
HTML <td><a href="go.php?ID=##Gallery_ID##&URL=##Encoded_URL##" target="_blank"><img src="##Thumbnail_URL##" border="0" class="thumb"></a></td>
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<style type="text/css">
a
{
    font-size:       12px;
    color:           #FF9900;
    text-decoration: none;
}

a:hover
{
    color: #FFFFFF;
}

a:hover img
{
    border: 1px solid #FFFFFF;
}

.thumb_table
{
    background-color: #555588;
    border:           1px solid black;
}

.thumb
{
    border: 1px solid #FF9900;
}

body
{
    font-size:   12px;
    font-family: Verdana;
}

td
{
    font-size:   12px;
    font-family: Verdana;
}

.head
{
    font-weight: bold;
    font-size: 24px;
}
</style>
</head>
<body bgcolor="#333366" text="#FFFFFF" link="#FF9900" vlink="#000000" alink="#000000">

<div align="center">
<span class="head">TGP</span><br />
Links to ##Thumbnails## free pictures and movies!<br />
Updated ##Updated_Date##
</div>


<br />

<table class="thumb_table" align="center" cellpadding="5" border="0">
<tr>
<td colspan="5">
<span style="font-size: 18px; font-weight: bold;">
Hall Of Fame
</span>
</td>
</tr>
<tr>
<%GALLERIES
TYPE Thumb
CATEGORY Mixed
AMOUNT 20
SORT Hits_Sent DESC
HTML Thumb

INSERT
{
    LOCATION +5
    HTML </tr><tr>
}
%>
</tr>
</table>

<br />
<br />

<table class="thumb_table" align="center" cellpadding="5" border="0">
<tr>
<td colspan="5">
<span style="font-size: 18px; font-weight: bold;">
Todays New Thumbnails
</span>
</td>
</tr>
<tr>
<%GALLERIES
TYPE Thumb
CATEGORY Mixed
AMOUNT 20
SORT Display_Date DESC, Display_Stamp DESC
HTML Thumb

INSERT
{
    LOCATION +5
    HTML </tr><tr>
}
%>
</tr>
</table>

<br />

<table align="center">
<tr>
<td>
<%GALLERIES
TYPE Text
CATEGORY Mixed
AMOUNT 100
SORT Display_Date DESC, Display_Stamp DESC
HTML Text

INSERT
{
    LOCATION 50
    HTML </td><td width="100"></td><td>
}
%>
</td>
</tr>
</table>


<br />

<div align="center">
<b><a href="##Script_URL##/submit.cgi">Submit A Gallery</a></b>
</div>

<br />

</body>
</html>

А это для FHG и для тех, что постеры шлют.
Код:

These instructions are for AutoGallery SQL 3.0.x


This is the default template that comes with the software, but it has been modified
to display permanent galleries mixed in with the normal submitted galleries.  In the
top section of thumbnails there are 12 submitted galleries and 8 permanent galleries.
In each row the 2nd and 4th thumbnail are permanent galleries and the other 3 are
regular submitted galleries.

In the section of text galleries, every 5th gallery is a permanent gallery.  All others
are regular submitted galleries.




TGP Page Template
=================
<%TEMPLATE
NAME Text
HTML ##Date## <a href="##Gallery_URL##" target="_blank">##Thumbnails## ##Category##</a><br />
%>

<%TEMPLATE
NAME Thumb
HTML <td><a href="##Gallery_URL##" target="_blank"><img src="##Thumbnail_URL##" border="0" class="thumb"></a></td>
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<style type="text/css">
a
{
    font-size:       12px;
    color:           #FF9900;
    text-decoration: none;
}

a:hover
{
    color: #FFFFFF;
}

a:hover img
{
    border: 1px solid #FFFFFF;
}

.thumb_table
{
    background-color: #555588;
    border:           1px solid black;
}

.thumb
{
    border: 1px solid #FF9900;
}

body
{
    font-size:   12px;
    font-family: Verdana;
}

td
{
    font-size:   12px;
    font-family: Verdana;
}

.head
{
    font-weight: bold;
    font-size: 24px;
}
</style>
</head>
<body bgcolor="#333366" text="#FFFFFF" link="#FF9900" vlink="#000000" alink="#000000">

<div align="center">
<span class="head">TGP</span><br />
Links to ##Thumbnails## free pictures and movies!<br />
Updated ##Updated_Date##
</div>


<br />

<table class="thumb_table" align="center" cellpadding="5" border="0">
<tr>
<%GALLERIES
TYPE Thumb
CATEGORY Mixed
AMOUNT 12
SORT Display_Date DESC, Display_Stamp DESC
HTML Thumb

INSERT
{
    LOCATION +3
    HTML </tr><tr>
}

PERMANENT
{
    TYPE Thumb
    CATEGORY Mixed
    LOCATION 1,2,4,5,7,8,10,11
    HTML Thumb
}
%>
</tr>
</table>

<br />

<table align="center">
<tr>
<td>
<%GALLERIES
TYPE Text
CATEGORY Mixed
AMOUNT 80
SORT Display_Date DESC, Display_Stamp DESC
HTML Text

INSERT
{
    LOCATION 40
    HTML </td><td width="100"></td><td>
}

PERMANENT
{
    TYPE Text
    CATEGORY Mixed
    LOCATION +5
    HTML Text
}
%>
</td>
</tr>
</table>


<br />

<div align="center">
<b><a href="##Script_URL##/submit.cgi">Submit A Gallery</a></b>
</div>

<br />

</body>
</html>

Файл go.php можно юзать во всех вариантах.
P.S. Инструкция рулит!

3
 
Новая тема Новая тема   

Текстовая реклама в форме ответа
Заголовок и до четырех строчек текста
Длина текста до 350 символов
Купить рекламу в этом месте!


Перейти:  



Спонсор сайта

Реклама на сайте Advertise with us

Опросы

Рецепт новогоднего блюда 2022



Обсудите на форуме обсудить (11)
все опросы »