care este modul?
mersi pentru recomandare, din cate stiu are 30 zile trial. apropo: la un alt mod, inca ceva:
asa imi apare acolo la instalare. Dar asta cum vine? E un before add si un after add, dar after add unde il pun? dupa before add sau dupa $template->assign_block_vars('postrow', array( ?
ca am facut in ambele feluri si imi da o eroare: si eroarea asta
Cod: Selectaţi tot
#
#-----[ FIND ]------------------------------------------
#
$template->assign_block_vars('postrow', array(
#
#-----[ BEFORE, ADD ]------------------------------------------
#
if ( $userdata['session_logged_in'] )
{
$report_img = '<a href="' . append_sid($phpbb_root_path . 'viewtopic.'.$phpEx.'?report=true&' . POST_POST_URL . '=' . $postrow[$i]['post_id']) . '"><img></a>';
}
else
{
$report_img = '';
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
'REPORT_IMG' => $report_img,
#
ca am facut in ambele feluri si imi da o eroare:
Cod: Selectaţi tot
Parse error: syntax error, unexpected T_ELSE in /home/site/public_html/forum/viewtopic.php on line 355
Cod: Selectaţi tot
message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?
- Aliniuz
- Fost coleg
- Mesaje: 3629
- Membru din: 19-Mai-2006, 08:06:42
- Ext: Nu
- Server: Windows
- Nivel phpBB: Mediu
- Nivel php: Mediu
- Localitate: Galati
- Contact:
Codul ar trebui sa arate cam asa
Cod: Selectaţi tot
if ( $userdata['session_logged_in'] )
{
$report_img = '<a href="' . append_sid($phpbb_root_path . 'viewtopic.'.$phpEx.'?report=true&' . POST_POST_URL . '=' . $postrow[$i]['post_id']) . '"><img></a>';
}
else
{
$report_img = '';
}
$template->assign_block_vars('postrow', array(
'REPORT_IMG' => $report_img,
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 6 vizitatori