Usunięcie fukcji szukania z plików html w szablonie 7dana.
Następujące pliki html muszą być zmienione:
ścieżka
/4images/templates/7dana/categories.htmldetails.htmlerror.htmlhome.htmllightbox.htmlmember.htmlpostcard_create.htmlregister.htmlsearch.htmltop.htmlkod ten znajduje się na samym początku w każdym, z wyżej wymienionych plików:
odnajdź ten kod (wiersz od 1 do 27)
{header}
<table class="okvir" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tablehead">
<tr>
<td><img src="{template_url}/images/header_logo.jpg" alt="" /></td>
<td align="right">
<form method="post" action="{url_search}">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td>
<input type="text" name="search_keywords" class="logininput"/>
</td>
<td>
<input type="submit" value="{lang_search}" class="button" name="submit" />
</td>
</tr>
<tr valign="top">
<td colspan="2"> <a href="{url_search}" class="smalltext">{lang_advanced_search}</a></td>
</tr>
</table>
</form>
</td>
<td align="right" width="6"> </td>
</tr>
</table>
i zmień go na
{header}
<table class="okvir" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tablehead">
<tr>
<td><img src="{template_url}/images/header_logo.jpg" alt="" />
Stwórz logo 760px x Xpx, o nazwie
header_logo.jpg i wrzuć do folderu
/images, ścieżka
/4images/templates/7dana/images/header_logo.jpgmożesz użyć również innych formatów graficznych
.gif lub
.pnggotowe.
Poniżej przygotowałem przykład który możesz użyć, abyś mógł sprawdzić Twoje oczekiwania.
Jest to plik
home.html - strona startowa galerii
Wymień całą zawartość pliku
home.html na kod poniżej
{header}
<table class="okvir" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tablehead">
<tr>
<td><img src="{template_url}/images/header_logo.jpg" alt="" />
</td>
</tr>
<tr>
<td class="bordercolor">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="tablebgcolor">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="navbar" ><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />{clickstream}</td>
<td class="navbar" align="right">
<a href="http://www.an-net24.com/serwis/forum/index.php/topic,29.0.html"><b>Powr?t do forum </b></a> |
<a href="{url_top_images}"><b>{lang_top_images}</b></a> |
<a href="{url_new_images}"><b>{lang_new_images}</b></a>
</td>
</tr>
</table>
<table class="main" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="180" class="left" valign="top">
<table width="180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
</tr>
<tr>
<td><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<tr>
<td align="center" class="box_back">{user_box}</td>
</tr>
<tr>
<td><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
</table>
{if random_image}
<table width="180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_random_image}</td>
</tr>
<tr>
<td><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<tr>
<td align="center" class="box_back">
<br />
{random_image}
<br />
</td>
</tr>
</table>
{endif random_image}<br>
{whos_online}<br><img src="{template_url}/images/spacer.gif" alt="" width="180" height="1" /></td>
<td width="1" class="bordercolor" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
<td width="18" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="18" height="18" /></td>
<td width="100%" valign="top">
<br />
<span class="title"> » {site_name}</span>
<br /> <br>
{if categories}
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td valign="top" class="head1">{lang_categories}</td>
</tr>
<tr>
<td valign="top">{categories}</td>
</tr>
</table>
<br />
{endif categories}{lang_site_stats}<br />
<br />
{if msg}<b>{msg}</b><br /><br />{endif msg}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td class="head1" valign="top">{lang_new_images}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>{new_images}</td>
</tr>
</table>
<br><br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{category_dropdown_form}</td>
<td align="right">{setperpage_dropdown_form}</td>
</tr>
</table>
<p> </p>
</td>
<td width="19" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="19" height="19" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td class="tablebottom" width="6"> </td>
<td class="tablebottom"><!--
Bitte beachten Sie, dass der folgende Copyrighthinweis
auf JEDER Seite die von 4images ausgegeben wird sichtbar
sein MUSS. Schriftart, Farbe etc. d?rfen an die eigene
Website angepasst werden, der Hinweis darf aber unter
KEINEN Umst?nden entfernt oder unsichtbar gemacht werden.
Auch muss der Hyperlink zu http://www.4homepages.de intakt
bleiben. Diese Bedingung ist Bestandteil der Lizenz dieser
Software. Lesen Sie die Lizenz.txt Datei f?r weitere
Informationen.
Please note that the following copyright notice
MUST be displayed on each and every page output
by 4images. You may alter the font, colour etc. but
you CANNOT remove it, nor change it so that it be,
to all intents and purposes, invisible. The hyperlink
http://www.4homepages.de must also remain intact.
These conditions are part of the licence this software
is released under. See the Licence.txt file for
more information.
// -->
Powered by <b>4images</b> {script_version} | Copyright © 2004 <a href="http://www.4homepages.de" target="_blank">4homepages.de</a> </td>
<td align="right" class="tablebottom">Design by <a href="http://www.7dana.com" target="_blank"><strong>7dana.com</strong></a> </td>
</tr>
</table></td>
</tr>
</table>
{footer}
pozdrawiam
