Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kaip sucentruot šia panelę?

Parašė kael· 2011 Vas. 3 12:02:07
#1

echo "<table width='100%'>
<tr>
<td width='33%'>";
openside("Naujausi siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 5");
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'], 40)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closeside();
echo "</td>
<td width='33%'>";
openside("Top 5 siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 40);
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 "</tr>
</table>";

Parašė kael· 2011 Vas. 3 18:02:49
#2

Nejaugi niekas nežinot ?

Parašė Gugiss· 2011 Vas. 3 18:02:58
#3

Virsuj:
echo "<table width='100%' align='center'>
.

Parašė kael· 2011 Vas. 3 18:02:55
#4

ne dėja nesucentravo :|

Parašė Gugiss· 2011 Vas. 3 18:02:07
#5

Tada nesuprantu ko tu nori... Gali dar sita koda yterpt tarp <center> </center> tagu

Redagavo Gugiss· 2011 Vas. 3 18:02:27

Parašė kael· 2011 Vas. 3 18:02:35
#6

dabar panele yra sone noriu kad į viduri nueitu kas neaišku? :)

Parašė Mantas_· 2011 Vas. 3 19:02:40
#7


echo "<table align="center" width='100%'>
<tr>
<td width='33%'>";
openside("Naujausi siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 5");
if (dbrows($result) != 0) {
echo "<table align="center" 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'], 40)."</a>
</td>
<td align='center'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closeside();
echo "</td>
<td width='33%'>";
openside("Top 5 siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 5");
if (dbrows($result) != 0) {
echo "<table align="center" width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 40);
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='center'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
echo "</tr>
</table>";


Prašom

Parašė kael· 2011 Vas. 3 19:02:52
#8

deja neveikia isvis .. :/

Parašė Mantas_· 2011 Vas. 3 19:02:32
#9

Gal siuntinių nėra? :D

Parašė kael· 2011 Vas. 3 21:02:09
#10

yra yra tie siuntiniai :)

Parašė kael· 2011 Vas. 3 22:02:17
#11

Tai gal dar kas nors žinote kaip sucentruot?

Parašė snaige12· 2011 Vas. 3 23:02:58
#12


echo "<center><table align='center' width='100%'>
 
<tr>
 
<td width='33%'>";
 
openside("Naujausi siuntiniai");
 
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 5");
 
if (dbrows($result) != 0) {
 
echo "<center><table align='center' 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'], 40)."</a>
 
</td>
 
<td align='center'>".$data['download_count']."</td>
 
</tr>";
 
}
 
echo "</table></center>";
 
} else {
 
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
 
}
 
echo "";
 
closeside();
 
echo "</td>
 
<td width='33%'>";
 
openside("Top 5 siuntiniai");
 
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 5");
 
if (dbrows($result) != 0) {
 
echo "<center><table align='center' width='100%' cellpadding='0' cellspacing='0'>";
 
while($data = dbarray($result)) {
 
$itemsubject = trimlink($data['download_title'], 40);
 
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='center'>".$data['download_count']."</td>\n</tr>\n";
 
}
 
echo "</table></center>";
 
} else {
 
echo "<center>".$locale['004']."</center>\n";
 
}
 
closeside();
 
echo "</tr>
 
</table></center>";


mazdaug, gal veiks

Redagavo snaige12· 2011 Vas. 3 23:02:28

Parašė marqs· 2011 Vas. 3 23:02:48
#13

Štai, pabandyk šitą:


 
echo "<table align='center' width='66%'>
<tr>
<td width='33%'>";
openside("Naujausi siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 5");
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'], 40)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closeside();
echo "</td>
<td width='33%'>";
openside("Top 5 siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 40);
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 "</tr>
</table>"; 
 

Redagavo marqs· 2011 Vas. 3 23:02:06

Parašė kael· 2011 Vas. 4 06:02:27
#14

marQs dequi veikia.. :) +11 gauni