PHP: [ Select all ]
$sql = "SELECT t.topic_id, t.topic_title, t.topic_status,
, t.topic_last_post_id
, t.topic_first_post_id
/*****[BEGIN]****************************************** [ Mod: XData v1.0.3 ] ******************************************************/ $template->assign_block_vars('postrow',array_merge( array(
if ($postrow[$i]['user_id'] == $topic_author && $forum_topic_data['topic_first_post_id'] != $postrow[$i]['post_id']) { $opdiv = '<div class="opdiv">'.$lang['Orignal_poster'].'</div>'.""; } else { $opdiv = ''; }
'DELETE' => $delpost,
'OPDIV' => $opdiv,
//// That's all, Folks!// -------------------------------------------------
$lang['Orignal_poster'] = 'Original Poster';
Code: [ Select all ]
{postrow.OPDIV}
.opdiv{ max-width: 150px; max-height: 30px; background:linear-gradient(to bottom, #454545 5%, #282828 100%); background-color:#383838; border-radius:6px; border:1px solid #0F0; display:inline-block; letter-spacing: 1px; color: #ddd; font-size: 8px; font-weight:300; padding:2px 4px; margin-left: 5px; text-decoration:none; text-transform: uppercase;}
output generated using printer-friendly topic mod. All times are GMT - 7 Hours