Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kaip uzdeti bg
Parašė zabello· 2008 Lie. 29 14:07:12
#1
Turiu triguba panele noriu kiekvienoi uzdeti skirtinga bg kaip tai padaryti ? Iskarto dekoju
echo "<table width='100%'>
<tr>
<td width='33%'>";
openside("Pramogos");
?>
link<br>
link<br>
link<br>
<?
closeside();
echo "</td>
<td width='33%'>";
openside("Top 5 Siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<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'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
echo "</td>
<td width='33%'>";
openside("Paskutiniai straipsniai ");
$result = dbquery(
"SELECT ta.*,tac.* FROM ".$db_prefix."articles ta
INNER JOIN ".$db_prefix."article_cats tac ON ta.article_cat=tac.article_cat_id
WHERE ".groupaccess('article_cat_access')." ORDER BY article_datestamp DESC LIMIT 0,5"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['article_subject'], 23);
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."readarticle.php?article_id=".$data['article_id']."' title='".$data['article_subject']."' class='side'>$itemsubject</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
echo "</tr>
</table>";
Redagavo zabello· 2008 Lie. 29 18:07:20
Parašė zabello· 2008 Lie. 30 23:07:58
#2
UP :s
Parašė Zidezzon· 2008 Lie. 30 23:07:25
#3
Dekok toliau :o
Parašė MAnjack· 2008 Lie. 31 09:07:47
#4
sukurk norimą bg suPS, o tada jį panaudok visai lentelei.
Parašė zabello· 2008 Lie. 31 16:07:47
#5
tame ir beda kad nezinau kaip panaudoti ta bg visai lentelei :?
Parašė Žmogus· 2008 Lie. 31 17:07:01
#6
Nu tai bandyk visus variantus:
<table border="0" cellpadding="0" cellspacing="0" width="100%" height='80'><tr><td width="80%" valign="top" style="border: 0px solid #111111; background-image: url('http://www.mzone.lt/images/Permatomi%20logai/clanbase.png'); ">
<tr><td background='tavo backgroundo paveiksliukas'>
includini userinfo panel
</td></tr>
Parašė zabello· 2008 Rugp. 3 10:08:11
#7
nieko nesigauna :s