Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Naujienų patempimas.
Parašė RuP3r· 2008 Geg. 13 15:05:11
#1
Noriu patemt naujienas per vidury kad butu visa ta panele ar kas nu žodžiu naujiena visa butu per vidury nes pas mane tik vieno šono panėlės tai pas mane labiau i kaire tos naujienos ir man reike labiau i dešne arba per vidury gal gali paaiškint ar padaryt?
function render_news($subject, $news, $info) {
echo "
<table cellpadding='0' cellspacing='0' width='545'>
<tr>
<td class='capmain'><span style='font-size : 10px;font-weight : normal;color:#B2B2B2;'>".showdate("longdate", $info['news_date'])."</span><br><a name='news_1' id='news_1'></a>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<form name='editnews1' method='post' action='administration/news.php&news_id=".$info['news_id']."'>
<td align='center' class='news-footer'><a href='news.php?readmore=".$info['news_id']."'>Naujiena plaèiau</a> | Skaityta: ".$info['news_reads']." | Komentarø: ".$info['news_comments']."</td>
</form>
</tr>
</table>\n";
}
Parašė Toonis· 2008 Geg. 13 15:05:32
#2
width='545'>
Parašė RuP3r· 2008 Geg. 13 18:05:49
#3
ne man reikia nepraplėst o nutemp i vidury kad naujienos nebutu storos,tiesog nutemp.
Parašė Žmogus· 2008 Geg. 13 18:05:16
#4
Nesupratau, paro img :)
Parašė Samp_Tevas· 2008 Geg. 13 21:05:47
#5
pabandyk, turetu per viduri rodyti c|
function render_news($subject, $news, $info) {
echo "
<center><table cellpadding='0' cellspacing='0' width='545'>
<tr>
<td class='capmain'><span style='font-size : 10px;font-weight : normal;color:#B2B2B2;'>".showdate("longdate", $info['news_date'])."</span><br><a name='news_1' id='news_1'></a>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<form name='editnews1' method='post' action='administration/news.php&news_id=".$info['news_id']."'>
<td align='center' class='news-footer'><a href='news.php?readmore=".$info['news_id']."'>Naujiena plaèiau</a> | Skaityta: ".$info['news_reads']." | Komentarø: ".$info['news_comments']."</td>
</form>
</tr>
</table></center>\n";
}
Parašė bad_user· 2008 Geg. 13 21:05:45
#6
Bandyk :)
function render_news($subject, $news, $info) {
echo "
<table cellpadding='0' cellspacing='0' width='545'>
<tr>
<td class='capmain'><span style='font-size : 10px;font-weight : normal;color:#B2B2B2;'>".showdate("longdate", $info['news_date'])."</span><br><a name='news_1' id='news_1'></a>$subject</td>
</tr>
<tr>
<td align='center' topalign='center' class='main-body'>$news</td>
</tr>
<tr>
<form name='editnews1' method='post' action='administration/news.php&news_id=".$info['news_id']."'>
<td align='center' class='news-footer'><a href='news.php?readmore=".$info['news_id']."'>Naujiena plaèiau</a> | Skaityta: ".$info['news_reads']." | Komentarø: ".$info['news_comments']."</td>
</form>
</tr>
</table>\n";
}