PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : PHP Auktion


Poul
13.06.2005, 16:52:15
Hallo ,
habe wider eine frage .
ich habe vor par Wochen einen Script gekauft ( PHP Auktion)
das layout ist ganz schlicht , und einfach .
und ich möchte da was hinzufügen .
Unter den Bereich „ Kategorien „ Möchte ich einen Kästchen haben,
mit Überschrift „ Treugand Service „ oder ähnliches.
Da will ich Bilder einfügen und verlinken mit ( z, b . https://www.iloxx.de )
Jetzt meine frage. Wie kann ich das machen ??? In welche Datei muss ich was ändern ???
In header php. Oder in Index. Php . html ???
Und hier die index. Php

<html>
<head>
<title> </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Title" content=" ">
<META NAME="Robots" CONTENT="INDEX,FOLLOW">
<meta name="Description"">
<meta name="Publisher" content="">
<meta name="Copyright" content="">
<meta name="Revisit" content="After 7 days">
<meta name="Keywords" content=" ">
<meta name="page-topic" content="">
<link rel="stylesheet" href="style_auction.css" type="text/css">
<meta http-equiv="content-type" content="text/html; iso-8859-1">
<meta http-equiv="pragma" content="cache">
<meta name="robots" content="INDEX,FOLLOW">

<meta http-equiv="content-language" content="de">
<meta name="author" content=" ">
<meta name="publisher" content=" ">
<meta name="audience" content="Alle">
<meta name="page-type" content="Produktinfo">
</head>


<link href="../style_auction.css" rel="stylesheet" type="text/css"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="230" valign="top" nowrap>
<table border="0" cellpadding="3" cellspacing="0" class="table_norm">
<tr>
<td class="text_title_bg">Kategorien</td>
</tr>
<tr>
<td class="bgcats"><span class="kategorien"> </span> <table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="text_normal"><? print $TPL_categories_value; ?></td>
</tr>
</table></td>
</tr>
</table></td>
<td valign="top"> <table BORDER="0" CELLPADDING="2" CELLSPACING="0" WIDTH="100%">
<? if ($TPL_headline != "") { ?>
<tr>
<td> <table width="95%" border="0" align="center" cellpadding="2" cellspacing="0" background=<? print $TPL_image; ?>>
<tr>
<td><? print $TPL_headline; ?></td>
</tr>
<? } ?>
<? if ($TPL_message != "") { ?>
<tr>
<td class="text_normal"><? print $TPL_message;?></td>
</tr>
</table></td>
</tr>
<? } ?>
<tr>
<td> <table width="95%" border="0" align="center" cellpadding="3" cellspacing="0" class="table_norm">
<tr>
<td colspan="4" class="text_title_bg"><a href="view_more_top.php">Top-Auktionen</a></td>
</tr>
<tr align="center" valign="top">
<td width="25%"><? print $tpl_bild1; ?> </td>
<td width="25%"><? print $tpl_bild2; ?></td>
<td width="25%"><? print $tpl_bild3; ?></td>
<td width="25%"><? print $tpl_bild4; ?></td>
<tr align="center" valign="top">
<td width="25%"><? print $tpl_bild5; ?> </td>
<td width="25%"><? print $tpl_bild6; ?></td>
<td width="25%"><? print $tpl_bild7; ?></td>
<td width="25%"><? print $tpl_bild8; ?></td>
</tr>
<tr>
<td colspan="4"><table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td><span class="info_text"><? print $TPL_top_auktion; ?></span>
</td>
</tr>
</table></td>
</tr>
</table>
<br> </td>
</tr>
<tr>
<td>
<?php if ($TPL_1euro_auktion != "") { ?>
<table width="95%" border="0" align="center" cellpadding="3" cellspacing="0" class="table_norm">
<tr>
<td class="text_title_bg"><a href="view_more_euro.php">Auktionen
ab 1,- Euro</a></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td><span class="info_text"><? print $TPL_1euro_auktion; ?></span>
</td>
</tr>
</table></td>
</tr>
</table>
<?php } ?>
<br> </td>
</tr>
<tr>
<td>
<?php if ($TPL_ending_soon_value != "") { ?>
<table width="95%" border="0" align="center" cellpadding="3" cellspacing="0" class="table_norm">
<tr>
<td class="text_title_bg"><a href="view_more_ending.php">Last-Minute
Auktionen</a></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td><span class="info_text"><? print $TPL_ending_soon_value; ?></span>
</td>
</tr>
</table></td>
</tr>
</table>
<?php } ?>
<br> </td>
</tr>
<tr>
<td>
<?php if ($TPL_last_auctions_value != "") { ?>
<table width="95%" border="0" align="center" cellpadding="3" cellspacing="0" class="table_norm">
<tr>
<td class="text_title_bg"><a href="view_more_news.php">Gerade
eingestellt</a></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td><span class="info_text"><? print $TPL_last_auctions_value; ?></span>
</td>
</tr>
</table></td>
</tr>
</table>
<?php } ?>
<br> </td>
</tr>
</table></td>
<td width="230" valign="top" nowrap>
<? if (!$HTTP_COOKIE_VARS["$LOGGED_IN_COOKIE"]) {
include "userlogin.php";
print "<br>";
}
include ("newsbox.php");
print "<br>";
include ("stats.php");
print "<br>";
include ("gebuehr.php");
print "<br>";
include ("bestauktion.php");
?>
</td>
</tr>
</table>

Habe mehrmals probiert aber es klappt irgend wie nicht.
Kann mir dabei emand helfen ???
Mit freundlichen Grüßen
Poul

feuervogel
13.06.2005, 17:04:43
Auch du darfst die board-eigenen [php]-tags benutzen.

Habe mehrmals probiert aber es klappt irgend wie nicht.

was GENAU hast du probiert? wie lauten die fehlermeldungen? was EXAKT geht nicht?

dachris
13.06.2005, 17:12:48
Vor allem habe ich auch nicht wirklichden Punkt Kategorien gefunden...evtl. in einem anderen Skript?

Domi
13.06.2005, 17:20:32
auch an dich: versuch beim PRogrammieren w3c conform zu werden. Benutze z. B. mal nen Doctype am anfang deines Documentes, usw. Außerdem: einrücken schadet auch nicht.

c4
14.06.2005, 08:23:53
Außerdem: einrücken schadet auch nicht. Hat er doch.

dachris
14.06.2005, 10:13:09
Stimmmt alles nach links eingerückt :-)

c4
14.06.2005, 10:15:58
Nein, er hat - wie es sich gehört - untergeordnete Tags um eine Einheit eingerückt.

Wie Dir anscheinend nicht bekannt ist, stellen Browser bei n aufeinanderfolgenden Leerzeichen nur eins dar. Wenn Du also mal den Quältext dieser Seite anschaust, dann siehst Du, dass sein Code sehr wohl eingerückt ist.

So viel dazu.

dachris
14.06.2005, 10:25:06
Das ist mir durchaus bekannt, nur wieso sollte ich jeden Post erstmal im Quelltext ansehen...

dafür gibts den html tag....

Was meinst du denn mit Einheit :-)

c4
14.06.2005, 10:26:16
Man sollte aber nichts ungeprüft unterstellen. Meine ich.

Nun Schluss damit.

dachris
14.06.2005, 10:28:27
OK Schluss damit :-)

doppler4000
07.07.2005, 07:30:31
<table border="0" cellpadding="3" cellspacing="0" class="table_norm">
<tr>
<td class="text_title_bg">Kategorien</td>
</tr>
<tr>
<td class="bgcats"><span class="kategorien">
</span>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="text_normal"><? print $TPL_categories_value; ?></td>
</tr>
</table>
</td>
</tr>
<tr><td>//Bild mit Link, etc.</td></tr>
</table>


Versuchs doch damit mal, als ich deinen Quellcode gesehen habe musste ich erst einmal nach den Kategorien suchen. Ich weiß zwar nicht genau, was <? print $TPL_categories_value; ?> ausgibt, kann mir aber gut vorstellen, dass das die Kategoriedetails oder so sind. Daher unterhalb eine neue tablerow machen und dein Bild reingeben

PS.: Was meinst du genau mit Kästchen??? Ein Popup oder so wie ich es machen würde