Len prekladaj.Spade napísal:Inak ak by bolo treba, mozem prekladat snippety Trocha ma to aj bavi
V kategorii http://4um.etomite.sk/viewforum.php?f=5 vytvor temu s nazvom snipptu a tam mozes kludne hadzat prelozenu cast kodu.
Moderátor: Moderators
Len prekladaj.Spade napísal:Inak ak by bolo treba, mozem prekladat snippety Trocha ma to aj bavi
Kód: Vybrať všetko
// Loop through each of the messages and format for display
for ($y = 0; $y < $limit; $y++) {
if ($order == "DESC") { $number = $total - $from - $y; }
if ($order == "ASC") { $number = $from + $y + 1; }
$guestbookrec = $etomite->fetchRow($rs);
$poster = str_replace($type.$gap,"",$guestbookrec['subject']);
$message = nl2br($guestbookrec['message']);
$postdate = strftime($dateformat, $guestbookrec['postdate']+$server_offset_time);
$output .= "<table $message_box_style width='100%'>";
$output .= "<tr class='fancyRow'><td nowrap width='80%'><b>$poster</b></td>";
$output .= "<td class='fancyRow2' nowrap width='20%' align=right>$postdate</td>";
$output .= "<tr><td colspan=\"2\"> </td>";
$output .= "<tr><td colspan=\"2\">".hyperlink(smile($message))."</td>";
$output .= "<tr><td width='80%'> </td>";
$output .= "<td width='20%' nowrap align=right>".$_lang_guestbook["message"].": $number/$total</td>";
$output .= "</table><br />";
}
Kód: Vybrať všetko
$output .= "<tr class='fancyRow'><td nowrap width='80%'><b>$poster</b></td>";