function std_title_form(&$fdata) { ?>
if ($new=is_forum_new($fdata)) {
if ($fdata['f_newpic']) $pic="images/".$fdata['f_newpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forumnew.png";
$alt="NEW!";
}
else {
if ($fdata['f_nonewpic']) $pic="images/".$fdata['f_nonewpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forum.png";
$alt="";
} ?>
|
if ($fdata['f_descr']) { ?>=textout($fdata['f_descr'],1,1,0);?> } ?>
=$GLOBALS['modlist'];?>
| =intval($fdata['tf_tcount']);?>
| =intval($fdata['tf_pcount']);?>
| if ($fdata['tf_lasttime']) { ?>
=user_out($fdata['p_uname'],$fdata['p_uid']);?> =long_date_out($fdata['tf_lasttime']);?>
=$fdata['lp_title'];?>
}?>
} else { ?>=MSG_none;?> }
if ($new && !$GLOBALS['opt_last_post'] && $GLOBALS['inuserid']>3 && $fdata['tf_pcount']) { ?> =MSG_shownewposts;?> }
if ($fdata['f_premoderate'] && $fdata['f__premodcount']) { ?> =MSG_f_premoderate;?> }
?>
}
function contnr_title_form(&$fdata,&$resdata) {
$f=($resdata['tf_pcount'] || $resdata['tf_tcount']);
if (!$f) $colspan="colspan=4";
?>
|
if ($new=is_subforum_new($fdata,$resdata)) {
if ($fdata['f_newpic']) $pic="images/".$fdata['f_newpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forumnew.png";
$alt="NEW!";
}
else {
if ($fdata['f_nonewpic']) $pic="images/".$fdata['f_nonewpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forum.png";
$alt="";
} ?>
| >
if ($fdata['f_descr']) { ?>=textout($fdata['f_descr'],1,1,0);?> } ?>
=$resdata['sublinks'];?>
if ($f) { ?>
| =intval($resdata['tf_tcount']);?>
| =intval($resdata['tf_pcount']);?>
| if ($resdata['tf_lasttime']) { ?>
=user_out($resdata['p_uname'],$resdata['p_uid']);?> =long_date_out($resdata['tf_lasttime']);?>
=$resdata['lp_title'];?>
}?>
} else { ?>=MSG_none;?> }
if ($new && !$GLOBALS['opt_last_post'] && $GLOBALS['inuserid']>3 && $resdata['tf_pcount']) { ?> =MSG_shownewposts;?> }
if ($fdata['f_premoderate'] && $fdata['f__premodcount']) { ?> =MSG_f_premoderate;?> }
}?>
}
function irc_title_form(&$fdata,$userlist,$guestcount) { ?>
|
if ($userlist || $guestcount) {
if ($fdata['f_newpic']) $pic="images/".$fdata['f_newpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forumnew.png";
}
else {
if ($fdata['f_nonewpic']) $pic="images/".$fdata['f_nonewpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forum.png";
} ?>
|
if ($fdata['f_descr']) { ?>=textout($fdata['f_descr'],1,1,0);?> } ?>
|
if (!$guestcount && !$userlist) { ?>=MSG_f_nochatpresent;?> }
else { ?>
=MSG_f_chatpresent;?>: =$userlist;?>
if ($guestcount) {
if ($userlist) { ?> =MSG_and;?> } ?> =format_word($guestcount,MSG_ug1,MSG_ug2,MSG_ug3);?>
} ?>
}
}
function link_title(&$fdata) { ?>
|
if ($fdata['f_nonewpic']) $pic="images/".$fdata['f_nonewpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forum.png";
?>
|
if ($fdata['f_descr']) { ?>=textout($fdata['f_descr'],1,1,0);?> } ?>
}
function article_title_form(&$fdata) { ?>
|
if ($new=is_forum_new($fdata)) {
if ($fdata['f_newpic']) $pic="images/".$fdata['f_newpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forumnew.png";
$alt="NEW!";
}
else {
if ($fdata['f_nonewpic']) $pic="images/".$fdata['f_nonewpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forum.png";
$alt="";
} ?>
|
if ($fdata['f_descr']) { ?>=textout($fdata['f_descr'],1,1,0);?> } ?>
=$GLOBALS['modlist'];?>
| =format_word($fdata['tf_tcount'],MSG_a1,MSG_a2,MSG_a3);?>
|
=user_out($fdata['p_uname'],$fdata['p_uid']);?> =long_date_out($fdata['tf_lasttime']);?>
=$fdata['lp_title'];?>
} elseif(!$GLOBALS['opt_last_post'] && $fdata['tf_laststart']) {?>
=MSG_a_lastpublish;?>
=long_date_out($fdata['tf_laststart']);?>
} else { ?>=MSG_none;?> }
if ($fdata['f_premoderate'] && ($fdata['f__premodcount'])) { ?> =MSG_f_premoderate;?> }
?>
}
function download_title_form(&$fdata) { ?>
|
if ($new=is_forum_new($fdata)) {
if ($fdata['f_newpic']) $pic="images/".$fdata['f_newpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forumnew.png";
$alt="NEW!";
}
else {
if ($fdata['f_nonewpic']) $pic="images/".$fdata['f_nonewpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forum.png";
$alt="";
} ?>
|
if ($fdata['f_descr']) { ?>=textout($fdata['f_descr'],1,1,0);?> } ?>
=$GLOBALS['modlist'];?>
| =format_word($fdata['tf_tcount'],MSG_dl1,MSG_dl2,MSG_dl3);?>
|
=user_out($fdata['p_uname'],$fdata['p_uid']);?> =long_date_out($fdata['tf_lasttime']);?>
=$fdata['lp_title'];?>
} elseif(!$GLOBALS['opt_last_post'] && $fdata['tf_laststart']) {?>
=MSG_dl_lastadded;?>
=long_date_out($fdata['tf_laststart']);?>
} else { ?>=MSG_none;?> }
if ($fdata['f_premoderate'] && ($fdata['f__premodcount'])) { ?> =MSG_f_premoderate;?> }
?>
}
function news_start(&$fdata) { ?>
|
if ($new=is_forum_new($fdata)) {
if ($fdata['f_newpic']) $pic="images/".$fdata['f_newpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forumnew.png";
$alt="NEW!";
}
else {
if ($fdata['f_nonewpic']) $pic="images/".$fdata['f_nonewpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forum.png";
$alt="";
} ?>
|
if ($fdata['f_premoderate'] && ($fdata['f__premodcount'])) { ?>=MSG_f_premoderate;?> }
if ($fdata['f_ltopic']<=$GLOBALS['inuserbasic']) { ?>=MSG_n_add;?> } ?>
}
function epedia_title_form(&$fdata) { ?>
|
if ($new=is_forum_new($fdata)) {
if ($fdata['f_newpic']) $pic="images/".$fdata['f_newpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forumnew.png";
$alt="NEW!";
}
else {
if ($fdata['f_nonewpic']) $pic="images/".$fdata['f_nonewpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forum.png";
$alt="";
} ?>
|
if ($fdata['f_descr']) { ?>=textout($fdata['f_descr'],1,1,0);?> } ?>
=$GLOBALS['modlist'];?>
| =format_word($fdata['tf_tcount'],MSG_en1,MSG_en2,MSG_en3);?>
| if ($fdata['tf_laststart']) { ?>
=MSG_en_lastpublish;?>
=long_date_out($fdata['tf_laststart']);?>
} else { ?>=MSG_none;?> }
?>
}
function photos_title_form(&$fdata) { ?>
|
if ($new=is_forum_new($fdata)) {
if ($fdata['f_newpic']) $pic="images/".$fdata['f_newpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forumnew.png";
$alt="NEW!";
}
else {
if ($fdata['f_nonewpic']) $pic="images/".$fdata['f_nonewpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forum.png";
$alt="";
} ?>
|
if ($fdata['f_descr']) { ?>=textout($fdata['f_descr'],1,1,0);?> } ?>
=$GLOBALS['modlist'];?>
| =format_word($fdata['tf_tcount'],MSG_ph1,MSG_ph2,MSG_ph3);?>
| if ($fdata['tf_laststart']) { ?>
=MSG_ph_lastpublish;?>
=long_date_out($fdata['tf_laststart']);?>
if ($new && $GLOBALS['inuserid']>3 && $fdata['tf_pcount']) { ?> =MSG_shownewposts;?> } ?>
} else { ?>=MSG_none;?> }
if ($fdata['f_premoderate'] && ($fdata['f__premodcount'])) { ?> =MSG_f_premoderate;?> }
?>
}
function blog_title_form(&$fdata) { ?>
|
if ($new=is_forum_new($fdata)) {
if ($fdata['f_newpic']) $pic="images/".$fdata['f_newpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forumnew.png";
$alt="NEW!";
}
else {
if ($fdata['f_nonewpic']) $pic="images/".$fdata['f_nonewpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forum.png";
$alt="";
} ?>
|
if ($fdata['f_descr']) { ?>=textout($fdata['f_descr'],1,1,0);?> } ?>
=$GLOBALS['modlist'];?>
| =intval($fdata['tf_tcount']);?>
| =intval($fdata['tf_pcount']);?>
| if ($fdata['tf_laststart']) { ?>
=long_date_out($fdata['tf_lasttime']);?>
} else { ?>=MSG_none;?> }
if ($new && $GLOBALS['inuserid']>3 && $fdata['tf_pcount']) { ?> =MSG_shownewposts;?> }
}
function gallery_title_form(&$fdata) { ?>
|
if ($new=is_forum_new($fdata)) {
if ($fdata['f_newpic']) $pic="images/".$fdata['f_newpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forumnew.png";
$alt="NEW!";
}
else {
if ($fdata['f_nonewpic']) $pic="images/".$fdata['f_nonewpic'];
else $pic="styles/".$GLOBALS['inuser']['st_file']."/forum.png";
$alt="";
} ?>
|
if ($fdata['f_descr']) { ?>=textout($fdata['f_descr'],1,1,0);?> } ?>
=$GLOBALS['modlist'];?>
| =format_word($fdata['tf_tcount'],MSG_ph1,MSG_ph2,MSG_ph3);?>
| if ($fdata['tf_laststart']) { ?>
=MSG_ph_lastpublish;?>
=long_date_out($fdata['tf_laststart']);?>
if ($new && $GLOBALS['inuserid']>3 && $fdata['tf_pcount']) { ?> =MSG_shownewposts;?> } ?>
} else { ?>=MSG_none;?> }
if ($fdata['f_premoderate'] && ($fdata['f__premodcount'])) { ?> =MSG_f_premoderate;?> }
}
|