Mam pytanie co do wstawienia grafiki nad kategoriami jak wstawiam to wyskakuje dane zdjecie kilka razy z rzedu nie wiem dlaczego
<?php
/*--------------------------------------------+
| PHP-Fusion 5 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
@require_once "fusion_config.php";
require_once "fusion_core.php";
require_once "subheader.php";
require_once "side_left.php";
include FUSION_LANGUAGES.FUSION_LAN."downloads.php";
if (isset($download_id)) {
$result = dbquery("UPDATE ".$fusion_prefix."downloads SET download_count=download_count+1 WHERE download_id='$download_id'");
$result = dbquery("SELECT download_url FROM ".$fusion_prefix."downloads WHERE download_id='$download_id'");
$data = dbarray($result);
header("Location: ".$data['download_url']);
}
if (!isset($cat_id)) {
opentable(LAN_400);
$result = dbquery("SELECT * FROM ".$fusion_prefix."download_cats ORDER BY download_cat_name");
$rows = dbrows($result);
if ($rows != 0) {
$columns = 2; $counter = 0;
echo "<table width='100%' cellspacing='0' cellpadding='0' class='tbl'>\n<tr>\n";
while ($data = dbarray($result)) {
if ($counter != 0) if($counter % $columns == 0) echo "</tr>\n<tr>\n";
$num = dbcount("(download_cat)", "downloads", "download_cat='".$data['download_cat_id']."'");
[color=red]echo "<br><center><img src='".FUSION_INFUSIONS."user_info_panel/images/brak.gif'></center><br>\n";[/color]
echo "<td align='left' valign='top'><a href='".FUSION_SELF."?cat_id=".$data['download_cat_id']."'>".$data['download_cat_name']."</a> plików <span class='small2'>($num)</span>";
if ($data['download_cat_description'] != "") echo "<br>\n<span class='small'>".$data['download_cat_description']."<hr></span>";
echo "</td>\n";
$counter++;
}
echo "</tr>\n</table>\n";
[...]
to czerwone to przykładowe zdjęcie które chcę wstawić i wyskakuje jak wcześniej mówiłem tak jak ma być ale jakies 7 razy ten obrazek dlaczego ?
Wylaczylem emotki. Pamietaj o tym wstawiajac kod!/Pieka
Edytowane przez Pieka dnia 07.09.2005 17:20:54
|