بابهت: سلاو كى ئه توانيت ئه م كيشه يه م بو جاك بكات تكايه يارمه تي
سلاو كى ئه توانيت ئه م كيشه يه م بو جاك بكات تكايه يارمه تي كه سيك نيه شاره زابيت

مەکۆکانی وێبچن » PunBB ١،٢ » سلاو كى ئه توانيت ئه م كيشه يه م بو جاك بكات تكايه يارمه تي
پهڕه 1
دهبێت لە ژوورەوە بیت یان ببیت بە ئەندام بۆ ئهوهی بتوانیت وهڵام بنووسیت
سلاو كى ئه توانيت ئه م كيشه يه م بو جاك بكات تكايه يارمه تي كه سيك نيه شاره زابيت

براكه م ئه مه م كرد جاك نه بوو
به ريزم بزانه كيشه كه له به ركه ى postدايه ئه له شوينى ئه وه ي خؤت دابنئ بزانه جاك نابئ
<?php
/***********************************************************************
Copyright (C) 2002-2005 Rickard Andersson (rickard@punbb.org)
This file is part of PunBB.
PunBB is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2 of the License,
or (at your option) any later version.
PunBB is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA
************************************************************************/
define('PUN_ROOT', './');
require PUN_ROOT.'include/common.php';
if ($pun_user['g_read_board'] == '0')
message($lang_common['No view']);
$tid = isset($_GET['tid']) ? intval($_GET['tid']) : 0;
$fid = isset($_GET['fid']) ? intval($_GET['fid']) : 0;
if ($tid < 1 && $fid < 1 || $tid > 0 && $fid > 0)
message($lang_common['Bad request']);
// Fetch some info about the topic and/or the forum
if ($tid)
$result = $db->query('SELECT f.id, f.forum_name, f.moderators, f.redirect_url, fp.post_replies, fp.post_topics, t.subject, t.closed FROM '.$db->prefix.'topics AS t INNER JOIN '.$db->prefix.'forums AS f ON f.id=t.forum_id LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id='.$tid) or error('Unable to fetch forum info', __FILE__, __LINE__, $db->error());
else
$result = $db->query('SELECT f.id, f.forum_name, f.moderators, f.redirect_url, fp.post_replies, fp.post_topics FROM '.$db->prefix.'forums AS f LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND f.id='.$fid) or error('Unable to fetch forum info', __FILE__, __LINE__, $db->error());
if (!$db->num_rows($result))
message($lang_common['Bad request']);
$cur_posting = $db->fetch_assoc($result);
// Is someone trying to post into a redirect forum?
if ($cur_posting['redirect_url'] != '')
message($lang_common['Bad request']);
// Sort out who the moderators are and if we are currently a moderator (or an admin)
$mods_array = ($cur_posting['moderators'] != '') ? unserialize($cur_posting['moderators']) : array();
$is_admmod = ($pun_user['g_id'] == PUN_ADMIN || ($pun_user['g_id'] == PUN_MOD && array_key_exists($pun_user['username'], $mods_array))) ? true : false;
// Do we have permission to post?
if ((($tid && (($cur_posting['post_replies'] == '' && $pun_user['g_post_replies'] == '0') || $cur_posting['post_replies'] == '0')) ||
($fid && (($cur_posting['post_topics'] == '' && $pun_user['g_post_topics'] == '0') || $cur_posting['post_topics'] == '0')) ||
(isset($cur_posting['closed']) && $cur_posting['closed'] == '1')) &&
!$is_admmod)
message($lang_common['No permission']);
// Load the post.php language file
require PUN_ROOT.'lang/'.$pun_user['language'].'/post.php';
// Start with a clean slate
$errors = array();
// Did someone just hit "Submit" or "Preview"?
if (isset($_POST['form_sent']))
{
// Make sure form_user is correct
if (($pun_user['is_guest'] && $_POST['form_user'] != 'Guest') || (!$pun_user['is_guest'] && $_POST['form_user'] != $pun_user['username']))
message($lang_common['Bad request']);
// Flood protection
if (!$pun_user['is_guest'] && !isset($_POST['preview']) && $pun_user['last_post'] != '' && (time() - $pun_user['last_post']) < $pun_user['g_post_flood'])
$errors[] = $lang_post['Flood start'].' '.$pun_user['g_post_flood'].' '.$lang_post['flood end'];
// If it's a new topic
if ($fid)
{
$subject = pun_trim($_POST['req_subject']);
if ($subject == '')
$errors[] = $lang_post['No subject'];
else if (pun_strlen($subject) > 150)
$errors[] = $lang_post['Too long subject'];
else if ($pun_config['p_subject_all_caps'] == '0' && strtoupper($subject) == $subject && $pun_user['g_id'] > PUN_MOD)
$subject = ucwords(strtolower($subject));
}
// If the user is logged in we get the username and e-mail from $pun_user
if (!$pun_user['is_guest'])
{
$username = $pun_user['username'];
$email = $pun_user['email'];
}
// Otherwise it should be in $_POST
else
{
$username = trim($_POST['req_username']);
$email = strtolower(trim(($pun_config['p_force_guest_email'] == '1') ? $_POST['req_email'] : $_POST['email']));
// Load the register.php/profile.php language files
require PUN_ROOT.'lang/'.$pun_user['language'].'/prof_reg.php';
require PUN_ROOT.'lang/'.$pun_user['language'].'/register.php';
// It's a guest, so we have to validate the username
if (strlen($username) < 2)
$errors[] = $lang_prof_reg['Username too short'];
else if (!strcasecmp($username, 'Guest') || !strcasecmp($username, $lang_common['Guest']))
$errors[] = $lang_prof_reg['Username guest'];
else if (preg_match('/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/', $username))
$errors[] = $lang_prof_reg['Username IP'];
if ((strpos($username, '[') !== false || strpos($username, ']') !== false) && strpos($username, '\'') !== false && strpos($username, '"') !== false)
$errors[] = $lang_prof_reg['Username reserved chars'];
if (preg_match('#\[b\]|\[/b\]|\[u\]|\[/u\]|\[i\]|\[/i\]|\[color|\[/color\]|\[quote\]|\[quote=|\[/quote\]|\[code\]|\[/code\]|\[img\]|\[/img\]|\[url|\[/url\]|\[email|\[/email\]#i', $username))
$errors[] = $lang_prof_reg['Username BBCode'];
// Check username for any censored words
$temp = censor_words($username);
if ($temp != $username)
$errors[] = $lang_register['Username censor'];
// Check that the username (or a too similar username) is not already registered
$result = $db->query('SELECT username FROM '.$db->prefix.'users WHERE (username=\''.$db->escape($username).'\' OR username=\''.$db->escape(preg_replace('/[^\w]/', '', $username)).'\') AND id>1') or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());
if ($db->num_rows($result))
{
$busy = $db->result($result);
$errors[] = $lang_register['Username dupe 1'].' '.pun_htmlspecialchars($busy).'. '.$lang_register['Username dupe 2'];
}
if ($pun_config['p_force_guest_email'] == '1' || $email != '')
{
require PUN_ROOT.'include/email.php';
if (!is_valid_email($email))
$errors[] = $lang_common['Invalid e-mail'];
}
}
// Clean up message from POST
$message = pun_linebreaks(pun_trim($_POST['req_message']));
if ($message == '')
$errors[] = $lang_post['No message'];
else if (strlen($message) > 65535)
$errors[] = $lang_post['Too long message'];
else if ($pun_config['p_message_all_caps'] == '0' && strtoupper($message) == $message && $pun_user['g_id'] > PUN_MOD)
$message = ucwords(strtolower($message));
// Validate BBCode syntax
if ($pun_config['p_message_bbcode'] == '1' && strpos($message, '[') !== false && strpos($message, ']') !== false)
{
require PUN_ROOT.'include/parser.php';
$message = preparse_bbcode($message, $errors);
}
require PUN_ROOT.'include/search_idx.php';
$hide_smilies = isset($_POST['hide_smilies']) ? 1 : 0;
$subscribe = isset($_POST['subscribe']) ? 1 : 0;
$now = time();
// Did everything go according to plan?
if (empty($errors) && !isset($_POST['preview']))
{
// If it's a reply
if ($tid)
{
if (!$pun_user['is_guest'])
{
// Insert the new post
$db->query('INSERT INTO '.$db->prefix.'posts (poster, poster_id, poster_ip, message, hide_smilies, posted, topic_id) VALUES(\''.$db->escape($username).'\', '.$pun_user['id'].', \''.get_remote_address().'\', \''.$db->escape($message).'\', \''.$hide_smilies.'\', '.$now.', '.$tid.')') or error('Unable to create post', __FILE__, __L ~dulla^@204~ ~dulla^@204~ $new_pid = $db->insert_id();
/~dulla^@204~ e or not to subscribe, that ...
~dulla^@204~ ig['o_subscriptions'] == '1' && $subs~dulla^@204~
$result = $db->query('SELECT 1~dulla^@204~ prefix.'subscriptions WHERE user_id='~dulla^@204~ d'].' AND topic_id='.$tid) or error('~dulla^@204~ ch subscription info', __FILE__, __LI~dulla^@204~ ror());
if (!$db->num_rows($res~dulla^@204~ $db->query('INSERT INTO '.$db->prefix~dulla^@204~ ns (user_id, topic_id) VALUES('.$pun_~dulla^@204~ ,'.$tid.')') or error('Unable to add ~dulla^@204~ , __FILE__, __LINE__, $db->error());
~dulla^@204~
else
{
// It's a guest. ~dulla^@204~ w post
$email_sql = ($pun_config~dulla^@204~ st_email'] == '1' || $email != '') ? ~dulla^@204~ \'' : 'NULL';
$db->query('INSERT~dulla^@204~ prefix.'posts (poster, poster_ip, pos~dulla^@204~ ssage, hide_smilies, posted, topic_id~dulla^@204~ $db->escape($username).'\', \''.get_r~dulla^@204~ ().'\', '.$email_sql.', \''.$db->esca~dulla^@204~ '\', \''.$hide_smilies.'\', '.$now.',~dulla^@204~ or error('Unable to create post', __F~dulla^@204~ __, $db->error());
$new_pid = $d~dulla^@204~ );
}
// Count number of rep~dulla^@204~ opic
$result = $db->query('SELECT~dulla^@204~ OM '.$db->prefix.'posts WHERE topic_i~dulla^@204~ error('Unable to fetch post count for~dulla^@204~ LE__, __LINE__, $db->error());
$n~dulla^@204~ $db->result($result, 0) - 1;
//~dulla^@204~
$db->query('UPDATE '.$db->prefix~dulla^@204~ num_replies='.$num_replies.', last_po~dulla^@204~ last_post_id='.$new_pid.', last_poste~dulla^@204~ cape($username).'\' WHERE id='.$tid) ~dulla^@204~ ble to update topic', __FILE__, __LIN~dulla^@204~ or());
update_search_index('pos~dulla^@204~ $message);
update_forum($cur_p~dulla^@204~ ;
// Should we send out notific~dulla^@204~ f ($pun_config['o_subscriptions'] == ~dulla^@204~ // Get the post time for the previ~dulla^@204~ his topic
$result = $db->query('~dulla^@204~ FROM '.$db->prefix.'posts WHERE topi~dulla^@204~ ORDER BY id DESC LIMIT 1, 1') or err~dulla^@204~ fetch post info', __FILE__, __LINE__~dulla^@204~ ));
$previous_post_time = $db->r~dulla^@204~ );
// Get any subscribed users~dulla^@204~ be notified (banned users are exclude~dulla^@204~ lt = $db->query('SELECT u.id, u.email~dulla^@204~ th_post, u.language FROM '.$db->prefi~dulla^@204~ INNER JOIN '.$db->prefix.'subscripti~dulla^@204~ .id=s.user_id LEFT JOIN '.$db->prefix~dulla^@204~ AS fp ON (fp.forum_id='.$cur_posting~dulla^@204~ fp.group_id=u.group_id) LEFT JOIN '.$~dulla^@204~ nline AS o ON u.id=o.user_id LEFT JOI~dulla^@204~ ix.'bans AS b ON u.username=b.usernam~dulla^@204~ rname IS NULL AND COALESCE(o.logged, ~dulla^@204~ >'.$previous_post_time.' AND (fp.read~dulla^@204~ L OR fp.read_forum=1) AND s.topic_id=~dulla^@204~ u.id!='.intval($pun_user['id'])) or e~dulla^@204~ to fetch subscription info', __FILE__~dulla^@204~ db->error());
if ($db->num_rows(~dulla^@204~ {
require_once PUN_ROOT.'incl~dulla^@204~ ';
$notification_emails = arr~dulla^@204~ // Loop through subscribed users and~dulla^@204~
while ($cur_subscriber = $db->~dulla^@204~ result))
{
// Is the sub~dulla^@204~ ail for $cur_subscriber['language'] c~dulla^@204~
if (!isset($notification_emai~dulla^@204~ riber['language']]))
{
~dulla^@204~ sts(PUN_ROOT.'lang/'.$cur_subscriber[~dulla^@204~ /mail_templates/new_reply.tpl'))
~dulla^@204~ // Load the "new reply" template
~dulla^@204~ tpl = trim(file_get_contents(PUN_ROOT~dulla^@204~ _subscriber['language'].'/mail_templa~dulla^@204~ .tpl'));
// Load the "new ~dulla^@204~ emplate (with post included)
~dulla^@204~ ll = trim(file_get_contents(PUN_ROOT.~dulla^@204~ subscriber['language'].'/mail_templat~dulla^@204~ full.tpl'));
// The first ~dulla^@204~ the subject (it also starts with "Sub~dulla^@204~ $first_crlf = strpos($mail_tpl, "~dulla^@204~ $mail_subject = trim(substr($mail_t~dulla^@204~ _crlf-8));
$mail_message = t~dulla^@204~ ail_tpl, $first_crlf));
$f~dulla^@204~ trpos($mail_tpl_full, "\n");
~dulla^@204~ t_full = trim(substr($mail_tpl_full, ~dulla^@204~ f-8));
$mail_message_full = ~dulla^@204~ mail_tpl_full, $first_crlf));
~dulla^@204~ ject = str_replace('<topic_subject>',~dulla^@204~ sting['subject'].'\'', $mail_subject)~dulla^@204~ ail_message = str_replace('<topic_sub~dulla^@204~ $cur_posting['subject'].'\'', $mail_m~dulla^@204~ $mail_message = str_replace('<re~dulla^@204~ rname, $mail_message);
$mail~dulla^@204~ r_replace('<post_url>', $pun_config['~dulla^@204~ '/viewtopic.php?pid='.$new_pid.'#p'.$~dulla^@204~ l_message);
$mail_message = ~dulla^@204~ <unsubscribe_url>', $pun_config['o_ba~dulla^@204~ sc.php?unsubscribe='.$tid, $mail_mess~dulla^@204~ $mail_message = str_replace('<board~dulla^@204~ un_config['o_board_title'].' '.$lang_~dulla^@204~ r'], $mail_message);
$mail~dulla^@204~ = str_replace('<topic_subject>', '\'~dulla^@204~ g['subject'].'\'', $mail_subject_full~dulla^@204~ mail_message_full = str_replace('<top~dulla^@204~ '\''.$cur_posting['subject'].'\'', $~dulla^@204~ full);
$mail_message_full = ~dulla^@204~ <replier>', $username, $mail_message_~dulla^@204~ $mail_message_full = str_replace('~dulla^@204~ message, $mail_message_full);
~dulla^@204~ ge_full = str_replace('<post_url>', $~dulla^@204~ _base_url'].'/viewtopic.php?pid='.$ne~dulla^@204~ ew_pid, $mail_message_full);
~dulla^@204~ e_full = str_replace('<unsubscribe_ur~dulla^@204~ fig['o_base_url'].'/misc.php?unsubscr~dulla^@204~ mail_message_full);
$mail_me~dulla^@204~ str_replace('<board_mailer>', $pun_co~dulla^@204~ _title'].' '.$lang_common['Mailer'], ~dulla^@204~ _full);
$notification_emai~dulla^@204~ riber['language']][0] = $mail_subject~dulla^@204~ otification_emails[$cur_subscriber['l~dulla^@204~ = $mail_message;
$notificat~dulla^@204~ ur_subscriber['language']][2] = $mail~dulla^@204~ ;
$notification_emails[$cur_~dulla^@204~ anguage']][3] = $mail_message_full;
~dulla^@204~ il_subject = $mail_message = $mail_su~dulla^@204~ $mail_message_full = null;
}
~dulla^@204~ // We have to double check here ~dulla^@204~ emplates could be missing
if (~dulla^@204~ cation_emails[$cur_subscriber['langua~dulla^@204~ {
if ($cur_subscriber['noti~dulla^@204~ ] == '0')
pun_mail($cur_subs~dulla^@204~ '], $notification_emails[$cur_subscri~dulla^@204~ ']][0], $notification_emails[$cur_sub~dulla^@204~ uage']][1]);
else
pu~dulla^@204~ ubscriber['email'], $notification_ema~dulla^@204~ criber['language']][2], $notification~dulla^@204~ subscriber['language']][3]);
}~dulla^@204~ }
}
}
// If it's a new top~dulla^@204~ ($fid)
{
// Create the topic
~dulla^@204~ y('INSERT INTO '.$db->prefix.'topics ~dulla^@204~ ect, posted, last_post, last_poster, ~dulla^@204~ UES(\''.$db->escape($username).'\', \~dulla^@204~ e($subject).'\', '.$now.', '.$now.', ~dulla^@204~ pe($username).'\', '.$fid.')') or err~dulla^@204~ create topic', __FILE__, __LINE__, $~dulla^@204~
$new_tid = $db->insert_id();
~dulla^@204~ user['is_guest'])
{
// To su~dulla^@204~ t to subscribe, that ...
if ($pu~dulla^@204~ ubscriptions'] == '1' && (isset($_POS~dulla^@204~ ]) && $_POST['subscribe'] == '1'))
~dulla^@204~ y('INSERT INTO '.$db->prefix.'subscri~dulla^@204~ id, topic_id) VALUES('.$pun_user['id'~dulla^@204~ id.')') or error('Unable to add subsc~dulla^@204~ ILE__, __LINE__, $db->error());
~dulla^@204~ he post ("topic post")
$db->quer~dulla^@204~ O '.$db->prefix.'posts (poster, poste~dulla^@204~ ip, message, hide_smilies, posted, to~dulla^@204~ S(\''.$db->escape($username).'\', '.$~dulla^@204~ ].', \''.get_remote_address().'\', \'~dulla^@204~ ($message).'\', \''.$hide_smilies.'\'~dulla^@204~ .$new_tid.')') or error('Unable to cr~dulla^@204~ _FILE__, __LINE__, $db->error());
~dulla^@204~ {
// Create the post ("topic post")
$email_sql = ($pun_config['p_f~dulla^@204~ ail'] == '1' || $email != '') ? '\''.~dulla^@204~ 'NULL';
$db->query('INSERT INTO~dulla^@204~ x.'posts (poster, poster_ip, poster_e~dulla^@204~ , hide_smilies, posted, topic_id) VAL~dulla^@204~ escape($username).'\', \''.get_remote~dulla^@204~ ', '.$email_sql.', \''.$db->escape($m~dulla^@204~ \''.$hide_smilies.'\', '.$now.', '.$n~dulla^@204~ r error('Unable to create post', __FI~dulla^@204~ _, $db->error());
}
$new_pid ~dulla^@204~ _id();
// Update the topic with~dulla^@204~
$db->query('UPDATE '.$db->prefix~dulla^@204~ last_post_id='.$new_pid.' WHERE id='.~dulla^@204~ error('Unable to update topic', __FIL~dulla^@204~ , $db->error());
update_search_~dulla^@204~ $new_pid, $message, $subject);
~dulla^@204~ ($fid);
}
// If the posting u~dulla^@204~ in, increment his/her post count
~dulla^@204~ r['is_guest'])
{
$low_prio = (~dulla^@204~ mysql') ? 'LOW_PRIORITY ' : '';
$~dulla^@204~ DATE '.$low_prio.$db->prefix.'users S~dulla^@204~ num_posts+1, last_post='.$now.' WHERE~dulla^@204~ er['id']) or error('Unable to update ~dulla^@204~ __, __LINE__, $db->error());
}
~dulla^@204~ iewtopic.php?pid='.$new_pid.'#p'.$new~dulla^@204~ ost['Post redirect']);
}
}
//~dulla^@204~ d was specified in the url (it's a re~dulla^@204~ id)
{
$action = $lang_post['Post a~dulla^@204~ form = '<form id="post" method="post"~dulla^@204~ .php?action=post&tid='.$tid.'" on~dulla^@204~ submit.disabled=true;if(process_form(~dulla^@204~ true;}else{this.submit.disabled=fals~dulla^@204~ e;}">';
// If a quote-id was spec~dulla^@204~ url.
if (isset($_GET['qid']))
{
~dulla^@204~ al($_GET['qid']);
if ($qid < 1)
~dulla^@204~ ng_common['Bad request']);
$resu~dulla^@204~ ry('SELECT poster, message FROM '.$db~dulla^@204~ ts WHERE id='.$qid.' AND topic_id='.$~dulla^@204~ ('Unable to fetch quote info', __FILE~dulla^@204~ $db->error());
if (!$db->num_rows~dulla^@204~ message($lang_common['Bad request']~dulla^@204~ $q_poster, $q_message) = $db->fetch_r~dulla^@204~
$q_message = str_replace('[img]'~dulla^@204~ _message);
$q_message = str_replac~dulla^@204~ [/url]', $q_message);
$q_message =~dulla^@204~ ialchars($q_message);
if ($pun_c~dulla^@204~ age_bbcode'] == '1')
{
// If u~dulla^@204~ ins a square bracket, we add "" or ''~dulla^@204~ o we know when it starts and ends)
~dulla^@204~ $q_poster, '[') !== false || strpos($~dulla^@204~ ) !== false)
{
if (strpos($q~dulla^@204~ ) !== false)
$q_poster = '"'.$q~dulla^@204~
else
$q_poster = '\''.$q_p~dulla^@204~ }
else
{
// Get the c~dulla^@204~ the start and end of $q_poster
$~dulla^@204~ ($q_poster, 0, 1).substr($q_poster, -~dulla^@204~ // Deal with quoting "Username" or '~dulla^@204~ comes '"Username"' or "'Username'")
~dulla^@204~ == '\'\'')
$q_poster = '"'.$q_~dulla^@204~ else if ($ends == '""')
$q_~dulla^@204~ .$q_poster.'\'';
}
$quote =~dulla^@204~ _poster.']'.$q_message.'[/quote]'."\n~dulla^@204~ se
$quote = '> '.$q_poster.' '.$l~dulla^@204~ rote'].':'."\n\n".'> '.$q_message."\n~dulla^@204~ orum_name = '<a href="viewforum.php?i~dulla^@204~ ing['id'].'">'.pun_htmlspecialchars($~dulla^@204~ forum_name']).'</a>';
}
// If a for~dulla^@204~ cified in the url (new topic).
else ~dulla^@204~
$action = $lang_post['Post new topi~dulla^@204~ = '<form id="post" method="post" acti~dulla^@204~ action=post&fid='.$fid.'" onsubmi~dulla^@204~ cess_form(this)">';
$forum_name =~dulla^@204~ ialchars($cur_posting['forum_name']);~dulla^@204~ essage($lang_common['Bad request']);
~dulla^@204~ tle = pun_htmlspecialchars($pun_confi~dulla^@204~ tle']).' / '.$action;
$required_fiel~dulla^@204~ eq_email' => $lang_common['E-mail'], ~dulla^@204~ => $lang_common['Subject'], 'req_mes~dulla^@204~ g_common['Message']);
$focus_element~dulla^@204~ t');
if (!$pun_user['is_guest'])
~dulla^@204~ nt[] = ($fid) ? 'req_subject' : 'req_~dulla^@204~ se
{
$required_fields['req_usernam~dulla^@204~ ost['Guest name'];
$focus_element[]~dulla^@204~ ame';
}
require PUN_ROOT.'header.~dulla^@204~ <div class="linkst">
<div class="in~dulla^@204~ <li><a href="index.php"><?php echo $l~dulla^@204~ ndex'] ?></a></li><li> »&n~dulla^@204~ o $forum_name ?><?php if (isset($cur_~dulla^@204~ ect'])) echo '</li><li> »&~dulla^@204~ mlspecialchars($cur_posting['subject'~dulla^@204~ l>
</div>
</div>
<?php
// If~dulla^@204~ rors, we display them
if (!empty($er~dulla^@204~ ?>
<div id="posterror" class="block"~dulla^@204~ ><?php echo $lang_post['Post errors']~dulla^@204~ 2>
<div class="box">
<div class=~dulla^@204~ <p><?php echo $lang_post['Post errors~dulla^@204~ >
<ul>
<?php
while (list(, $~dulla^@204~ each($errors))
echo "\t\t\t\t".'<l~dulla^@204~ cur_error.'</strong></li>'."\n";
?>
~dulla^@204~ </div>
</div>
</div>
<?php
}~dulla^@204~ set($_POST['preview']))
{
require_~dulla^@204~ .'include/parser.php';
$preview_mes~dulla^@204~ message($message, $hide_smilies);
~dulla^@204~ postpreview" class="blockpost">
<h2~dulla^@204~ echo $lang_post['Post preview'] ?></s~dulla^@204~ div class="box">
<div class="inbox~dulla^@204~ lass="postright">
<div class="po~dulla^@204~ <?php echo $preview_message."\n" ?>
~dulla^@204~ </div>
</div>
</div>
</div>
~dulla^@204~
$cur_index = 1;
?>
<div cla~dulla^@204~ ">
<h2><span><?php echo $action ?><~dulla^@204~ <div class="box">
<?php echo $for~dulla^@204~ <div class="inform">
<fieldset>~dulla^@204~ d><?php echo $lang_common['Write mess~dulla^@204~ ?></legend>
<div class="infldse~dulla^@204~ <input type="hidden" name="form~dulla^@204~ "1" />
<input type="hidden" na~dulla^@204~ " value="<?php echo (!$pun_user['is_g~dulla^@204~ _htmlspecialchars($pun_user['username~dulla^@204~ ; ?>" />
<?php
if ($pun_user['is_~dulla^@204~ $email_label = ($pun_config['p_force~dulla^@204~ ] == '1') ? '<strong>'.$lang_common['~dulla^@204~ trong>' : $lang_common['E-mail'];
$~dulla^@204~ me = ($pun_config['p_force_guest_emai~dulla^@204~ 'req_email' : 'email';
?> <l~dulla^@204~ onl"><strong><?php echo $lang_post['G~dulla^@204~ ></strong><br /><input type="text" na~dulla^@204~ ame" value="<?php if (isset($_POST['r~dulla^@204~ )) echo pun_htmlspecialchars($usernam~dulla^@204~ "25" maxlength="25" tabindex="<?php e~dulla^@204~ x++ ?>" /><br /></label>
<labe~dulla^@204~ "><?php echo $email_label ?><br /><in~dulla^@204~ t" name="<?php echo $email_form_name ~dulla^@204~ php if (isset($_POST[$email_form_name~dulla^@204~ htmlspecialchars($email); ?>" size="5~dulla^@204~ "50" tabindex="<?php echo $cur_index+~dulla^@204~ ></label>
<div class="clearer"~dulla^@204~ p
}
if ($fid): ?>
<label~dulla^@204~ p echo $lang_common['Subject'] ?></st~dulla^@204~ nput class="longinput" type="text" na~dulla^@204~ ct" value="<?php if (isset($_POST['re~dulla^@204~ echo pun_htmlspecialchars($subject);~dulla^@204~ " maxlength="150" tabindex="<?php ech~dulla^@204~ + ?>" /><br /></label>
<~dulla^@204~ equire PUN_ROOT.'mod_modern_bbcode.ph~dulla^@204~ <label>
<textarea name=~dulla^@204~ rows="20" cols="95" tabindex="<?php ~dulla^@204~ ex++ ?>"><?php echo isset($_POST['req~dulla^@204~ pun_htmlspecialchars($message) : (is~dulla^@204~ $quote : ''); ?></textarea><br /></l~dulla^@204~ <ul class="bblinks">
<li><a h~dulla^@204~ #bbcode" onclick="window.open(this.hr~dulla^@204~ alse;"><?php echo $lang_common['BBCod~dulla^@204~ ?php echo ($pun_config['p_message_bbc~dulla^@204~ ? $lang_common['on'] : $lang_common[~dulla^@204~ i>
<li><a href="help.php#img"~dulla^@204~ dow.open(this.href); return false;"><~dulla^@204~ ng_common['img tag'] ?></a>: <?php ec~dulla^@204~ ig['p_message_img_tag'] == '1') ? $la~dulla^@204~ '] : $lang_common['off']; ?></li>
~dulla^@204~ ref="help.php#smilies" onclick="windo~dulla^@204~ ref); return false;"><?php echo $lang~dulla^@204~ ies'] ?></a>: <?php echo ($pun_config~dulla^@204~ == '1') ? $lang_common['on'] : $lang_common['off']; ?></li>
</ul>
~dulla^@204~ </fieldset>
<?php
$checkboxes = a~dulla^@204~ !$pun_user['is_guest'])
{
if ($pun~dulla^@204~ ilies'] == '1')
$checkboxes[] = '<~dulla^@204~ type="checkbox" name="hide_smilies" v~dulla^@204~ ndex="'.($cur_index++).'"'.(isset($_P~dulla^@204~ lies']) ? ' checked="checked"' : '').~dulla^@204~ ost['Hide smilies'];
if ($pun_con~dulla^@204~ iptions'] == '1')
$checkboxes[] = ~dulla^@204~ t type="checkbox" name="subscribe" va~dulla^@204~ dex="'.($cur_index++).'"'.(isset($_PO~dulla^@204~ ']) ? ' checked="checked"' : '').' />~dulla^@204~ 'Subscribe'];
}
else if ($pun_confi~dulla^@204~ ] == '1')
$checkboxes[] = '<label><~dulla^@204~ heckbox" name="hide_smilies" value="1~dulla^@204~ .($cur_index++).'"'.(isset($_POST['hi~dulla^@204~ ? ' checked="checked"' : '').' />'.$~dulla^@204~ de smilies'];
if (!empty($checkbox~dulla^@204~
</div>
<div class="inform">
~dulla^@204~ t>
<legend><?php echo $lang_com~dulla^@204~ ] ?></legend>
<div class="infld~dulla^@204~ <div class="rbox">
<?php echo~dulla^@204~ /></label>'."\n\t\t\t\t", $checkboxe~dulla^@204~ abel>'."\n" ?>
</div>
</~dulla^@204~ ieldset>
<?php
}
?>
</div>~dulla^@204~ t type="submit" name="submit" value="~dulla^@204~ ang_common['Submit'] ?>" tabindex="<?~dulla^@204~ _index++ ?>" accesskey="s" /><input t~dulla^@204~ name="preview" value="<?php echo $lan~dulla^@204~ ew'] ?>" tabindex="<?php echo $cur_in~dulla^@204~ esskey="p" /><a href="javascript:hist~dulla^@204~ ?php echo $lang_common['Go back'] ?><~dulla^@204~ form>
</div>
</div>
<?php
//~dulla^@204~ if the topic review is to be display~dulla^@204~ && $pun_config['o_topic_review'] != ~dulla^@204~ uire_once PUN_ROOT.'include/parser.ph~dulla^@204~ lt = $db->query('SELECT poster, messa~dulla^@204~ ies, posted FROM '.$db->prefix.'posts~dulla^@204~ id='.$tid.' ORDER BY id DESC LIMIT '.~dulla^@204~ o_topic_review']) or error('Unable to~dulla^@204~ review', __FILE__, __LINE__, $db->err~dulla^@204~
<div id="postreview" class="blockp~dulla^@204~ span><?php echo $lang_post['Topic rev~dulla^@204~ n></h2>
<?php
//Set background s~dulla^@204~ $bg_switch = true;
$post_count = 0~dulla^@204~ $cur_post = $db->fetch_assoc($result)~dulla^@204~ witch the background color for every ~dulla^@204~ bg_switch = ($bg_switch) ? $bg_switch~dulla^@204~ g_switch = true;
$vtbg = ($bg_swit~dulla^@204~ en' : ' rowodd';
$post_count++;
~dulla^@204~ 'message'] = parse_message($cur_post[~dulla^@204~ cur_post['hide_smilies']);
?>
<d~dulla^@204~ <?php echo $vtbg ?>">
<div class="~dulla^@204~ div class="postleft">
<dl>
~dulla^@204~ <?php echo pun_htmlspecialchars($cur_~dulla^@204~ ]) ?></strong></dt>
<dd><?php e~dulla^@204~ me($cur_post['posted']) ?></dd>
~dulla^@204~ iv>
<div class="postright">
~dulla^@204~ ostmsg">
<?php echo $cur_post['~dulla^@204~
</div>
</div>
<div class~dulla^@204~ div>
</div>
</div>
<?php
}
~dulla^@204~
<?php
}
require PUN_ROOT.'footer.php';كاك ديارى بيم وابيت ئه وه باسى نه مانى خشته ى ئه ندامان ده كات له بنكه ى دراو دا
راسته ئيشره تى به بؤست داوه به لام له كاتى بابه ت نوسيندا ئه و ئرؤره نادات له كاتى جوونه زوره وه ده ئه وه ده دات
ئه رى يه كيك شاره زا نه بوو بو خاترخوا هههههههههههههه
ئه رى يه كيك شاره زا نه بوو بو خاترخوا هههههههههههههه
ئه ى هاوار جواااااااااااااااااااااااااااااب
ئەرێ برادەر پێتم نەوت کە کێشەکەى چیە,ئەى نەمووت تازە دەستى لێ بشۆ لەبەر ئەوەى ئەو برادەرە کە گوتت وەشانى بۆ نوێکردیتەوە خشتەکانى داتابەیسى تێکداوە, هیچى ترش مەپرسە تازە دەستى ێ بشۆ.
![]()
پهڕه 1
دهبێت لە ژوورەوە بیت یان ببیت بە ئەندام بۆ ئهوهی بتوانیت وهڵام بنووسیت
مەکۆکانی وێبچن » PunBB ١،٢ » سلاو كى ئه توانيت ئه م كيشه يه م بو جاك بكات تكايه يارمه تي