Come And Feel the Difference

Full Version: nyoba lagi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hidden Content
You must register or login to view this content.
Hidden Content
You must register or login to view this content.
[attachment=29]
unjuk-gigi ok bro, aye coba buat sekarang Applause_big
jangan lupa, pake tag
Hidden Content
You must register or login to view this content.

unjuk-gigi
[hidengo]
, $n, $mybb, $tid;
$result = $db->query("SELECT message FROM ".TABLE_PREFIX."posts WHERE tid='$tid' AND uid='{$mybb->user['uid']}'");
$selfposted = $db->num_rows($result);

// if user a guest, answered to Posting, or moderators are not the text indicated
if ( ($mybb->user[uid] != "0" && $selfposted > "0") || $mybb->usergroup[cancp] == "1") {
$pattern = "/\(.*)\[\/hide]/siU";
$replace = "<div class='hidetags_header'><b>Hidden:</b></div><div class='hidetags_body' style='display: block;'>\\1</div>";
$message = preg_replace($pattern, $replace, $message);
$message = str_replace("\'", "'", $message);
$message = $message;

$pattern = "/\(.*)\[\/hide]/siU";
$replace = "<div class='hidetags_header'><b>Hidden: \\1</b></div><div class='hidetags_body' style='display: block;'>\\2</div>";
$message = preg_replace($pattern, $replace, $message);
$message = str_replace("\'", "'", $message);
$message = $message;
} else {
// hide content
$pattern = "/\(.*)\[\/hide]/siU";
$replace = "<div class='hidetags_header'><b>Hidden:</b></div><div class='hidetags_body' style='display: block;'>Post reply to view.</div>";
$message = preg_replace($pattern, $replace, $message);
$message = str_replace("\'", "'", $message);

$pattern = "/\(.*)\[\/hide]/siU";
$replace = "<div class='hidetags_header'><b>Hidden: \\1</b></div><div class='hidetags_body' style='display: block;'>Post reply to view.</div>";
$message = preg_replace($pattern, $replace, $message);
$message = str_replace("\'", "'", $message);
}

return $message;
}
?>
[/hidengo]
Monkey_big test