4images Forum & Community
4images Modifications / Modifikationen => Templates & Styles (Requests & Discussions) => Topic started by: micha_80 on March 16, 2007, 11:59:54 PM
-
für euch ne kleinigkeit, aber ich suche jetzt schon 2 Stunden nach ner lösung.
wie bekomme ich die Benutzer anmeldung auf die linke seite????
bin halt noch in den anfängen!!!
{header}
<tr>
<td>
<?php
$tu = "{template_url}";
$us = "{url_search}";
$ls = "{lang_search}";
$las = "{lang_advanced_search}";
require "{template_url}/incl/searchbox.php";
?>
</td>
</tr>
<tr>
<td class="bordercolor">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="tablebgcolor">
<?php
$cl = '{clickstream}';
if ($cl == "") { $cl = "{site_name}"; }
$uti = "{url_top_images}";
$lti = "{lang_top_images}";
$uni = "{url_new_images}";
$lni = "{lang_new_images}";
require "{template_url}/incl/click_incl.php";
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150" class="row2" valign="top">
{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}
{if categories}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head1">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="head1" valign="top">{lang_categories}</td>
</tr>
<tr>
<td class="row2" valign="top">{categories}</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
{endif categories}
{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}
<?php
$ub = '{user_box}';
$lru = "{lang_registered_user}";
require "{template_url}/incl/user_incl.php";
?>
{if random_image}
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" />{lang_random_image}</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<tr>
<td align="center" class="row1">
<br />
{random_image}
<br />
<br />
</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" /></td>
</tr>
</table>
{endif random_image}
{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}
<?php
@include"menu.php";
?>
<?php echo
date("d.m.Y, H:i");
?>
{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}
<img src="{template_url}/images/spacer.gif" alt="" width="150" height="1" />
<?php
$sn="{site_name}";
require "{template_url}/incl/name_incl.php";
?>
{lang_site_stats}<br />
{if msg}<b>{msg}</b><br /><br />{endif msg}
<br />
<?php
$ni='{new_images}';
require "{template_url}/incl/new_incl.php";
?>
<br />
{whos_online}
<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>
<?php
require "{template_url}/incl/t_close.php";
?>
</td>
</tr>
<tr>
<td>
<?php
require "{template_url}/incl/bott_incl.php";
?>
</td>
</tr>
</table>
{footer}
-
Kannst Du HTML?
Dann kannst Du das Menü auch verschieben... (o:
Da muss man weder PHP noch JavaScript oder sonst was können, einfach nur die "Platzhalter", welche wie folgt aussehen {tag_name}, an die gewünschte stelle verschieben.
Des weiteren bist Du im falschen Forum, das hat was mit den Templates zu tun...
-
ich bin eher der anwender, der nur paar zahlen verändern kann.
eigentlich nur was durchs ausprobieren herausfindet.
auf deutsch, keine ahnung...
-
das ist doch ein Template von KurtW, oder?? welches genau ist es?? wohin soll den die Anmeldung/Userbox?
-
das Template ist von www.vierstra.com und bisschen von mir verändert worden.
ich möchte die RegBox auf die Rechte seite oben (unter TOP BILDER / NEUE BILDER). da soll dann auch noch mehr hin.
nur schaffe ich es nicht, eine "neue Tabelle" auf der rechten seite einzufügen.
der link meiner seite: http://michaelpagel.mi.ohost.de/4images/
-
Hallo,
auf welchen template ordner wird zugegriffen?
auf 4default_wide :?:
http://michaelpagel.mi.ohost.de/4images/templates/4default_wide/home.html (http://michaelpagel.mi.ohost.de/4images/templates/4default_wide/home.html)
##################### EDIT #################
Teste mal für die home.html folgenden code:
(Sicherung der alten Datei nicht vergessen !)
{header}
<table width="640" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><table width="640" border="0" cellspacing="0" cellpadding="0" class="tablehead">
<tr>
<td colspan="4"><img src="{template_url}/images/header_top.gif" width="640" height="6" alt /></td>
</tr>
<tr>
<td width="6"><img src="{template_url}/images/header_left.gif" width="6" height="60" alt /></td>
<td width="405"><img src="{template_url}/images/header_logo.gif" width="405" height="60" alt /></td>
<td width="225" align="right"><form method="post" action="{url_search}">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td><input type="text" name="search_keywords" size="15" class="searchinput" /> </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"><img src="{template_url}/images/header_right.gif" width="6" height="60" alt /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="bordercolor"><table width="640" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="tablebgcolor"><table width="638" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="navbar" height="23"><table width="636" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="{template_url}/images/spacer.gif" width="4" height="4" alt />{clickstream}</td>
<td align="right"><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>
</td>
</tr>
</table>
<table width="638" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150" class="row2" valign="top"><table width="150" 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 class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt width="1" height="1" /></td>
</tr>
<tr>
<td align="center" class="row1">{user_box}</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt width="1" height="1" /></td>
</tr>
</table>
{if random_image}
<table width="150" 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 class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt width="1" height="1" /></td>
</tr>
<tr>
<td align="center" class="row1"><br />
{random_image} <br />
<br />
</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt width="1" height="1" /></td>
</tr>
</table>
{endif random_image} </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="450" valign="top"><br />
<span class="title">{site_name}</span> <br />
<hr size="1" />
{if categories}
<table width="450" border="0" cellspacing="0" cellpadding="1">
<tr>
<td class="head1"><table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="head1" valign="top">{lang_categories}</td>
</tr>
<tr>
<td class="row2" valign="top">{categories}</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
{endif categories}{lang_site_stats}<br />
<br />
{if msg}<b>{msg}</b><br />
<br />
{endif msg} </p>
<table width="450" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head1"><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 class="head1">{new_images}</td>
</tr>
</table>
<br />
{whos_online} <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>
</td>
<td width="19" valign="top"><img src="{template_url}/images/spacer.gif" alt width="19" height="19" /></td>
</tr>
</table>
</td>
<td class="tablebgcolor" valign="top" align="center">test</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><table width="640" border="0" cellspacing="0" cellpadding="0" class="tablebottom">
<tr>
<td width="6"><img src="{template_url}/images/footer_left.gif" width="6" height="19" alt /></td>
<td width="405"></td>
<td width="225"></td>
<td width="6"><img src="{template_url}/images/footer_right.gif" width="6" height="19" alt /></td>
</tr>
</table>
</td>
</tr>
</table>
{footer}
Kurt
-
ist zwar noch nicht an richtiger stelle,
aber jetzt verstehe ich wie es funktioniert.
VIELEN DANK Kurt
hat mir geholfen...
-
Hallo,
ja, habs schon gesehen:
Teste diesen mal für home.html
{header}
<div align="center"><center>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="tablehead">
<tr>
<td colspan="4"><img src="{template_url}/images/header_top.gif" width="640" height="6" alt /></td>
</tr>
<tr>
<td width="6"><img src="{template_url}/images/header_left.gif" width="6" height="60" alt /></td>
<td width="100%"><img src="{template_url}/images/header_logo.gif" width="405" height="60" alt /></td>
<td width="225" align="right"><form method="post" action="{url_search}">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td><input type="text" name="search_keywords" size="15" class="searchinput" /> </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"><img src="{template_url}/images/header_right.gif" width="6" height="60" alt /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="bordercolor"><table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="tablebgcolor"><table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="navbar" height="23"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="{template_url}/images/spacer.gif" width="4" height="4" alt />{clickstream}</td>
<td align="right"><p align="right"><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>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150" class="row2" valign="top"><table width="150" 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 class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt width="1" height="1" /></td>
</tr>
<tr>
<td align="center" class="row1">{user_box}</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt width="1" height="1" /></td>
</tr>
</table>
{if random_image}
<table width="150" 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 class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt width="1" height="1" /></td>
</tr>
<tr>
<td align="center" class="row1"><br />
{random_image} <br />
<br />
</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt width="1" height="1" /></td>
</tr>
</table>
{endif random_image} </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="450" valign="top"><br />
<span class="title">{site_name}</span> <br />
<hr size="1" />
{if categories}
<table width="450" border="0" cellspacing="0" cellpadding="1">
<tr>
<td class="head1"><table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="head1" valign="top">{lang_categories}</td>
</tr>
<tr>
<td class="row2" valign="top">{categories}</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
{endif categories}{lang_site_stats}<br />
<br />
{if msg}<b>{msg}</b><br />
<br />
{endif msg}
<table width="450" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head1"><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 class="head1">{new_images}</td>
</tr>
</table>
<br />
{whos_online} <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> </td>
<td width="19" valign="top"><img src="{template_url}/images/spacer.gif" alt width="19" height="19" /></td>
<td width="150" valign="top"><p align="center">test</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="tablebottom">
<tr>
<td width="6"><img src="{template_url}/images/footer_left.gif" width="6" height="19" alt /></td>
<td width="405"></td>
<td width="225"></td>
<td width="6"><img src="{template_url}/images/footer_right.gif" width="6" height="19" alt /></td>
</tr>
</table>
</td>
</tr>
</table>
</center></div>
{footer}
Zu den anderen haupttemplates, wie details.html:
Es sind überall Fehlermeldungen. Du musst was vergessen haben beim Upload des styles...
Kurt
-
Stimmt, paar files fehlen. durch das ganze rumgespiele passiert mir so was :)
aber geht eh erst mal um die home seite.
genau an der richtigen stellen :)
NOCHMAL VIELEN DANK