function stdforum_params($catselect,$levelselect,$fdata,$fcontainer,$langselect) { ?>
} function std_welcome($forum=0) { ?>
if ($GLOBALS['inuserid']>3) {
if ($GLOBALS['userlast2']) { ?>
=MSG_lastvisit;?> "=$GLOBALS['inforum']['f_title'];?>" =long_date_out($GLOBALS['userlast2']);?>
}
else { ?>=MSG_welcome;?> "=$GLOBALS['inforum']['f_title'];?>". }
} ?>
if ($GLOBALS['inforum']['f_rules']) { ?>=MSG_f_rules;?>} ?> if ($GLOBALS['inuserid']>3) { ?>=MSG_f_marktopics;?> if (!$forum) { ?>&f==$GLOBALS['forum'];?>'>=MSG_t_mark_unread;?> } } ?> | if ($GLOBALS['opt_exttopic'] && $forum) { ?> } ?> |
if ($GLOBALS['modlist']) { ?>=$GLOBALS['modlist'];?> } ?> | =$pages;?> |
if ($GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_ltopic']) { ?> =MSG_newtopic;?> } if ($GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_ltopic'] && $GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_lpoll']) { ?> =MSG_newpoll;?> } ?> | ||||||
=MSG_t_title;?> | =MSG_t_rating;?> | =MSG_t_count;?> | =MSG_t_views;?> | =MSG_t_start;?> | =MSG_t_last;?> } function std_topic_entry(&$tdata,$pages) { ?> | |
$dir="styles/".$GLOBALS['inuser']['st_file']; if (is_new($tdata['visited'],$tdata['lp__time'])) { if ($tdata['t__status'] && $tdata['tl_count']>=$GLOBALS['opt_hot']) { $pic="$dir/closedhot.png"; $alt="CLOSED!"; } elseif ($tdata['t__status'] && $tdata['tl_count']<$GLOBALS['opt_hot']) { $pic="$dir/closednew.png"; $alt="NEW!"; } elseif ($tdata['tl_count']>=$GLOBALS['opt_hot']) { $pic="$dir/hot.png"; $alt="HOT!"; } else { $pic="$dir/new.png"; $alt="NEW!"; } } else { if ($tdata['t__status']) $pic="$dir/closed.png"; else $pic="$dir/nonew.png"; };?> if ($tdata['t__sticky']) { ?>" height=20 width=20 alt=""> } if ($tdata['pl_tid']) { ?>" height=20 width=20 alt="=$alt;?>"> } ?> | title="=clipword(textout($tdata['hint'],$tdata['p__html'],$tdata['p__bcode'],$tdata['p__smile']),$GLOBALS['opt_hinttext']);?>" } ?>> =$tdata['t_title'];?> if ($pages) { ?>=$pages;?> if (is_new($tdata['visited'],$tdata['lp__time']) && $pages) { ?>NEW! } ?> } ?>=$tdata['t_descr'];?> if ($GLOBALS['inforum']['f_lmoderate']<=$GLOBALS['inuserlevel'] || ($GLOBALS['inforum']['f_selfmod'] && $tdata['p_uid']==$GLOBALS['inuserid'])) { ?>=MSG_t_moderate;?> } ?> | if ($tdata['t__rate'] && $GLOBALS['inforum']['f_rate']) { ?>=intval($tdata['trating']);?> } else { ?>=MSG_none;?> } ?> | =intval($tdata['tl_count']);?> | =intval($tdata['t__views']);?> | =user_out($tdata['p_uname'],$tdata['p_uid']);?> if ($GLOBALS['inuser']['u_sortposts']==0 || $tdata['t__pcount']<=$GLOBALS['inuser']['u_mperpage']) {?> » } else { ?>» } ?> =long_date_out($tdata['fp__time']); ?> | =user_out($tdata['lp_uname'],$tdata['lp_uid']);?> if ($GLOBALS['inuser']['u_sortposts']==0) { ?> » } else { ?>» } ?>=long_date_out($tdata['lp__time']); ?> } function std_forum_noentries() { ?> |
=MSG_f_notopics;?> } function std_topic_separator() { ?> | ||||||
} function std_forum_end($pages,$inforum,$autosub) { ?> | ||||||
if ($GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_ltopic']) { ?> =MSG_newtopic;?> } if ($GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_ltopic'] && $GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_lpoll']) { ?> =MSG_newpoll;?> } ?> |
=MSG_t_nonew;?> | =MSG_t_closed;?> | ||
=MSG_t_new;?> | =MSG_t_closednew;?> | ||
=MSG_t_hot;?> | =MSG_t_closedhot;?> | ||
=MSG_t_vote;?> | =MSG_t_sticky;?> |
=$tdata['pl_title'];?> } function std_vote_resentry($text,$count,$total) { ?> | ||
=$text;?> | =$count;?> if ($total==0) $width=1; else $width=floor(300*$count/$total)+1; ?> | } function std_vote_resend($total) { ?> |
=MSG_vote_total;?>: =$total;?> |
if ($topic['t_id']!=$min_tid) { ?>"><<=MSG_prev;?> } ?> if ($topic['t_id']!=$max_tid) { ?>">=MSG_next;?>>> } ?> | if ($pages) { ?>=$pages;?> } ?> if ($GLOBALS['modlist']) { ?>=$GLOBALS['modlist'];?> } ?> |
if ($GLOBALS['inuserid']>3) {
if (!$topic['bmk']) { ?>=MSG_t_tobookmark;?>
}
if (!$topic['subscr'] ) { ?>=MSG_t_subscribe;?> }
else { ?>=MSG_t_unsubscribe;?> } ?> =MSG_t_mailtofriend;?> } ?>=MSG_t_forprint;?> |
/* */ ?> if ($GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_lpost'] && !$GLOBALS['inforum']['f_status'] && !$topic['t__status']) { ?> =MSG_p_answer;?> } if ($GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_ltopic']) { ?> =MSG_newtopic;?> } if ($GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_ltopic'] && $GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_lpoll']) { ?> =MSG_newpoll;?> } ?> } function std_post_entry(&$pdata,$first=0) { static $counter; if ($counter % 2 == 1) $class="postentry2"; else $class="postentry"; $counter++; if ($first) $class.=" first"; ?> | |
if ($GLOBALS['intopic']['t__lastpostid']==$pdata['p_id']) { ?>
}
if ($GLOBALS['inforum']['f_status']==0 && $GLOBALS['intopic']['t__status']==0 && $GLOBALS['inforum']['f_lpost']<=$GLOBALS['inuserlevel']) { ?>
=$pdata['p_uname'];?> }
else { ?>=$pdata['p_uname'];?> } ?>
=$pdata['l_title'];?>
if ($pdata['l_pic']) { ?> } ?> =$pdata['u__title'];?> if ($pdata['p_uid']>3) { if ($GLOBALS['inuser']['u_showavatars']) { echo show_avatar($pdata);} ?> if ($pdata['u_location']) { ?>=MSG_user_location;?>: =$pdata['u_location'];?> } ?> =MSG_user_total;?>: =intval($pdata['ud_count']);?> if ($GLOBALS['opt_rating']==0 && $GLOBALS['inuserlevel']>=$GLOBALS['opt_ratinglevel']) { ?> =MSG_user_rating;?>: =intval($pdata['ud_rating']);?> if (!$pdata['rated'] && $GLOBALS['inuserid']>3 && $GLOBALS['inuserid']!=$pdata['p_uid']) { ?> [+] [-] } ?> if ($pdata['uw_count']!=0 && ($GLOBALS['opt_reputation']==0 || $GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_lmoderate'])) { ?>=MSG_user_reputation;?>: =intval($pdata['uw_count']);?> } ?> } } ?> if ($GLOBALS['opt_hurl']==1) { ?> =MSG_p_link;?> } elseif ($GLOBALS['opt_hurl']==2) { ?> =MSG_p_link;?> } else { ?> =MSG_p_link;?> } if ($pdata['p_uid']>3) { echo ' '.MSG_user_regdate.': '.short_date_out($pdata['u__regdate']).' '; if ($pdata['pu_lasttime']>=$GLOBALS['curtime']-$GLOBALS['opt_heretime']*60) { ?> =MSG_user_online;?> } } if ($GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_lip']) { ?>IP: =numtoip($pdata['p__ip']);?> } ?> |
$links = array(); $links2 = array();
if ($GLOBALS['inforum']['f_status']==0 && $GLOBALS['intopic']['t__status']==0 && $GLOBALS['inforum']['f_lpost']<=$GLOBALS['inuserlevel']) {
array_push($links2,''.MSG_p_answer.'');
array_push($links2,"".MSG_p_quote."");
}
if (($pdata['p_uid']==$GLOBALS['inuserid'] && $pdata['p_uid']>3 && $GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_ledit']) || $GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_lmoderate']) {
array_push($links2,"".MSG_p_edit."");
}
if ($GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_lmoderate'] || check_selfmod()) {
array_push($links2,"".MSG_p_delete."");
}
array_push($links2,"".MSG_go_top."");
if ($pdata['p_uid']>3) {
if ($GLOBALS['opt_hurl']) array_push($links,"".MSG_p_profile."");
else array_push($links,"".MSG_p_profile."");
if ($pdata['p_uid']!=$GLOBALS['inuserid'] && $GLOBALS['inuserid']>3) {
array_push($links,"".MSG_p_pm."");
}
if ($pdata['u_showmail']>0) {
array_push($links,show_email_q($pdata['u__email'],$pdata['u_showmail'],$pdata['p_uid']));
}
if ($pdata['u_homepage']!="") {
array_push($links,"WWW");
}
if ($GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_lmoderate'] && $GLOBALS['inuserid']!=$pdata['u_id']) {
array_push($links,"".MSG_p_reputation."");
}
}
if (!check_moderate($pdata,$GLOBALS['inforum']['f_lmoderate']) && $pdata['p_uid']!=$GLOBALS['inuserid'] && $GLOBALS['inuserlevel']<$GLOBALS['inforum']['f_lmoderate'] && ($GLOBALS['opt_complain']==0 || ($GLOBALS['opt_complain']==1 && $GLOBALS['iuserid']>3))) {
array_push($links,"".MSG_p_tomoder."");
} ?>
if (!getvar("preview")) { ?>=join(" | ",$links);?> } ?>
if ($pdata['p__time']>max($GLOBALS['inuser']['lv_time2'],$_SESSION['t'.$pdata['p_tid']]) && $GLOBALS['inuserid']!=$pdata['u_id']) { static $newcount; if ($newcount==0) { ?> } ?>NEW! $newcount++; } ?> =MSG_p_post;?>: =long_date_out($pdata['p__time']);?> if ($pdata['p__edittime']) { ?> =MSG_p_lastedited;?>: =long_date_out($pdata['p__edittime']);?> } if ($pdata['p_title']) { ?> =MSG_p_title;?>: =$pdata['p_title'];?> } ?> =textout($pdata['p_text'],$pdata['p__html'],$pdata['p__bcode'],$pdata['p__smiles'],$pdata['p_tid'],$pdata['p_id']);?>
if ($pdata['p__modcomment']) { ?>} if ($pdata['p_attach']) { if (strpos($pdata['file_type'],"image")===false) { ?> =MSG_p_attachfile;?> (=urldecode($pdata['file_name']);?>, =$pdata['file_size'];?> =MSG_bytes;?>) } else { ?> } } if ($pdata['u_signature']!="" && $pdata['p_signature'] && $GLOBALS['inuser']['u_nosigns']==0) { ?> ---
} ?>=sign_code($pdata['u_signature']);?> |
if (!getvar("preview")) { ?> =join(' | ',$links2);?> } ?>
}
function std_system_post($text,$date=0) { ?>
| |
=textout($text,1,1,0);?> (=long_date_out($date);?>) } function std_post_separator() { ?> | |
} function std_topic_end($pages,$tdata,$prev_tid,$next_tid,$vote,$rate) { ?> | |
if ($GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_lpost'] && !$GLOBALS['inforum']['f_status'] && !$topic['t__status']) { ?> =MSG_p_answer;?> } if ($GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_ltopic']) { ?> =MSG_newtopic;?> } if ($GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_ltopic'] && $GLOBALS['inuserlevel']>=$GLOBALS['inforum']['f_lpoll']) { ?> =MSG_newpoll;?> } ?> |
=MSG_forum_powered;?>
© =MSG_forum_copyright;?>
=$GLOBALS['opt_copyright'];?>
=textout($pdata['p__modcomment'],1,$pdata['p__bcode'],$pdata['p__smiles']);?>