Re: Problem mit Classifieds - Mod

phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Wir reden hier von einem Mod wo die Kategorien im ACP eingetragen werden, ergo in der Db landen.Lehrling hat geschrieben:in der Datenbank? Ich mache das oft so und es gab noch nie irgendwelche Komplikationen.
Code: Alles auswählen
<h3>{L_CL_CATEGORIES}</h3>
<ul class="topiclist">
{CATEGORIES}
</ul>
Code: Alles auswählen
<ul class="topiclist">
{CATEGORIES}
</ul>
{CATEGORIES}
durch <span style="color:#FFFFFF;">{CATEGORIES}</span>
Code: Alles auswählen
<h3>{L_CL_CATEGORIES}</h3>
<ul class="topiclist">
<span style="color:#FFFFFF;">{CATEGORIES}</span>
</ul>
$category .= '<li class="header"><strong><a href="javascript:void(0)">'. $row['name'] .'</a></strong></li>';
und$category .= '<li class="header">» <a href="'. $category_link .'">'. $row['name'] .'</a> (' . $row['num_ads'] . ')</li>';
Code: Alles auswählen
ul.topiclist li {
color:#1F1F1F;
}
$category .= '<li class="header"><strong><a href="javascript:void(0)">'. $row['name'] .'</a></strong></li>';
$category .= '<li class="header"><strong style="color:#FFFFFF"><a href="javascript:void(0)">'. $row['name'] .'</a></strong></li>';
$category .= '<li class="header">» <a href="'. $category_link .'">'. $row['name'] .'</a> (' . $row['num_ads'] . ')</li>';
Code: Alles auswählen
$category .= '<li class="header"><strong style="color:#FFFFFF">» <a href="'. $category_link .'">'. $row['name'] .'</a> (' . $row['num_ads'] . ')</strong></li>';
Code: Alles auswählen
Webserver oder Datei auf dem Server nicht gefunden.
Die von Ihnen aufgerufene Adresse http://ddr-forum.com/buysell/index.php ist zurzeit nicht erreichbar. Bitte überprüfen Sie die korrekte Schreibweise der Webadresse (URL) und versuchen Sie dann die Seite neu zu laden.
Code: Alles auswählen
$category .= '<li class="header"><strong style="color:#FFFFFF">» <a href="'. $category_link .'">'. $row['name'] .'</a> (' . $row['num_ads'] . ')</strong></li>';
Code: Alles auswählen
#classifieds_sidebar {
width: 16%;
float: left;
font-size: 8px;
font-weight: bold;
color: #FFFFFF;
}
Code: Alles auswählen
#classifieds_sidebar a {color: #ffffff;}
#classifieds_sidebar a:hover {color: #cccccc;}
Code: Alles auswählen
<div id="classifieds_sidebar">
<div class="panel bg2">
<div class="inner"><span class="corners-top"><span></span></span>
<h3>{L_CL_CATEGORIES}</h3>
<ul class="topiclist">
{CATEGORIES}
</ul>
Code: Alles auswählen
#classifieds_sidebar {
width: 16%;
float: left;
font-size: 8px;
font-weight: bold;
color: #FFFFFF;
Code: Alles auswählen
ul.sidebar_list li {
color:#ffffff;
}
Code: Alles auswählen
$category .= '<li class="header"><strong><a href="javascript:void(0)">'. $row['name'] .'</a></strong></li>';
Code: Alles auswählen
$category .= '<li class="header"><strong style="color:#FFFFFF"><a href="javascript:void(0)">'. $row['name'] .'</a></strong></li>';
Code: Alles auswählen
$category .= '<li class="header">» <a href="'. $category_link .'">'. $row['name'] .'</a> (' . $row['num_ads'] . ')</li>';
Code: Alles auswählen
$category .= '<li class="header"><strong style="color:#FFFFFF">» <a style="color:#FFFFFF" href="'. $category_link .'">'. $row['name'] .'</a> (' . $row['num_ads'] . ')</strong></li>';
Code: Alles auswählen
$list .= '<li class="header">» <a href="'.$own_active_ads.'">' . $user->lang['CL_ACTIVE_ADS'] . '</a> (' . $total_active . ')</li><li class="header">» <a href="'.$own_expired_ads.'">' . $user->lang['CL_EXPIRED_ADS'] . '</a> (' . $total_expired . ')</li><li class="header">» <a href="'.$own_sold_ads.'">' . $user->lang['CL_SOLD_ADS'] . '</a> (' . $total_sold . ')</li><li class="header">» <a href="'.$own_closed_ads.'">' . $user->lang['CL_CLOSED_ADS'] . '</a> (' . $total_closed . ')</li>';
Code: Alles auswählen
$list .= '<li class="header"><strong style="color:#FFFFFF">» <a style="color:#FFFFFF" href="'.$own_active_ads.'">' . $user->lang['CL_ACTIVE_ADS'] . '</a> (' . $total_active . ')</strong></li><li class="header"><strong style="color:#FFFFFF">» <a style="color:#FFFFFF" href="'.$own_expired_ads.'">' . $user->lang['CL_EXPIRED_ADS'] . '</a> (' . $total_expired . ')</strong></li><li class="header"><strong style="color:#FFFFFF">» <a style="color:#FFFFFF" href="'.$own_sold_ads.'">' . $user->lang['CL_SOLD_ADS'] . '</a> (' . $total_sold . ')</strong></li><li class="header"><strong style="color:#FFFFFF">» <a style="color:#FFFFFF" href="'.$own_closed_ads.'">' . $user->lang['CL_CLOSED_ADS'] . '</a> (' . $total_closed . ')</strong></li>';
Code: Alles auswählen
<li class="header"><strong>{L_CL_MY_ADS}</strong></li>
Code: Alles auswählen
<li class="header"><strong style="color:#FFFFFF">{L_CL_MY_ADS}</strong></li>
Code: Alles auswählen
<!-- IF U_VIEW_REPORTED_LINK --><br /><li class="header">» <a href="{U_VIEW_REPORTED_LINK}">{L_CL_VIEW_REPORTED}</a></li><!-- ENDIF -->
Code: Alles auswählen
<!-- IF U_VIEW_REPORTED_LINK --><br /><li class="header"><strong style="color:#FFFFFF">» <a style="color:#FFFFFF" href="{U_VIEW_REPORTED_LINK}">{L_CL_VIEW_REPORTED}</a></strong></li><!-- ENDIF -->
Code: Alles auswählen
<!-- IF .rand_ad -->
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{L_RANDOM_ADS}</dt>
</dl>
</li>
</ul>
<ul class="topiclist forums">
<!-- BEGIN rand_ad -->
<li class="row">
<dl style="width:50%; float:left; background:url({T_THEME_PATH}/images/bg_row1.gif) repeat-x scroll left bottom #E7E7E7;">
<dd>
<div style="width: 50px; height: 50px; float: left; padding: 0 5px;">
<a href="{rand_ad.AD_LINK}" style="display: inline-block;">
<!-- IF rand_ad.THUMB -->
<span style="display: inline-block; background: url('{rand_ad.THUMB}') no-repeat 50% 50%; width: 50px; height: 50px;"></span>
<!-- ELSE -->
<span style="display: inline-block; background: url('{T_THEME_PATH}/images/noimage.gif') no-repeat 50% 50%; width: 50px; height: 50px;"></span>
<!-- ENDIF -->
</a>
</div>
<div class="cl_desc">
<a href="{rand_ad.AD_LINK}"><b>{rand_ad.AD_TITLE}</b></a><br />
{L_CL_IN_CAT} <b>{rand_ad.CATEGORY}</b><br />
<b>{L_CL_PRICE}</b>: {rand_ad.AD_PRICE} <i>{L_POST_BY_AUTHOR}</i> {rand_ad.AD_POSTER}
</div>
</dd>
</dl>
</li>
<!-- END rand_ad -->
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
Code: Alles auswählen
<!-- IF .ad -->
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{L_RECENT_ADS}</dt>
</dl>
</li>
</ul>
<ul class="topiclist forums">
<!-- BEGIN ad -->
<li class="row">
<dl style="width:50%; float:left; background:url({T_THEME_PATH}/images/bg_row1.gif) repeat-x scroll left bottom #E7E7E7;">
<dd>
<div style="width: 50px; height: 50px; float: left; padding: 0 5px;">
<a href="{ad.AD_LINK}" style="display: inline-block;">
<!-- IF ad.THUMB -->
<span style="display: inline-block; background: url('{ad.THUMB}') no-repeat 50% 50%; width: 50px; height: 50px;"></span>
<!-- ELSE -->
<span style="display: inline-block; background: url('{T_THEME_PATH}/images/noimage.gif') no-repeat 50% 50%; width: 50px; height: 50px;"></span>
<!-- ENDIF -->
</a>
</div>
<div class="cl_desc">
<a href="{ad.AD_LINK}"><b>{ad.AD_TITLE}</b></a><br />
{L_CL_IN_CAT} <b>{ad.CATEGORY}</b><br />
<b>{L_CL_PRICE}</b>: {ad.AD_PRICE} <i>{L_POST_BY_AUTHOR}</i> {ad.AD_POSTER}
</div>
</dd>
</dl>
</li>
<!-- END ad -->
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
Code: Alles auswählen
.cl_desc {
white-space: nowrap;
overflow: hidden;
}
Code: Alles auswählen
.cl_desc {
white-space: nowrap;
/*overflow: hidden;*/
font-size: 1.1em;
}