Parašė samsung123· 2008 Spa. 24 21:10:48
#1
Kaip padaryti kad jei butu daugiau nei 7 raides pavadinime toliau rodytu [...] pvz
Kelly Clarkson - beh, o noriu kad butu taip nes istampo web kelly clar...
Full header :
function render_header($header_content) {
global $theme_width;
//Puslapio viršus//
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class=border='0'>
<tr><td>";
//Banerio kodas//
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class=border='0'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='header' height='200' background='".THEME."images/header.png'>";
//Naujausi siuntiniai
$result = dbquery("SELECT * FROM ".DB_PREFIX."downloads ORDER BY download_datestamp DESC LIMIT 0,10");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 30)."</a>
</td>
<td align='center'>[".$data['download_count']."]</td>
</tr>";
}
echo "</table>";
} else {
echo "Šiai panelei nėra turinio";
}
//Naujausių siuntinių kodo pabaiga
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
Parašė edis2· 2008 Spa. 24 22:10:20
#2
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 30)."</a>
ta skaiciu 30 keisk i mažesni
Parašė edis2· 2008 Spa. 24 22:10:33
#4
iGnass parašė:
hmm aciu... koks as durnas :DD
Prasom... nu nesimato kad durnas :D