منو اصلی


petitrond.gif تبلیغات در سایت
petitrond.gif نقشه سایت
petitrond.gif انجمن جدید سایت
petitrond.gif انجمن قدیم سایت
petitrond.gif دریافت فایل (بخش قدیم)
petitrond.gif دریافت فایل (انجمن قدیم)
petitrond.gif دریافت فایل (انجمن جدید)

icon_community.gif صفحات ویژه کاربران
petitrond.gif پیغام خصوصی
petitrond.gif انجمن جدید سایت
petitrond.gif آخرین ارسالهای انجمنها
petitrond.gif ارسالهای بدون پاسخ
petitrond.gif ارسالهای شما
petitrond.gif صفحه شخصی
petitrond.gif قوانین سایت
petitrond.gif راهنمای سایت
petitrond.gif ورود به انجمن
petitrond.gif عضویت در انجمن

petitrond.gif جزوات فارسی
petitrond.gif کتابهای انگلیسی
petitrond.gif نرم افزار
petitrond.gif نمونه سوالات
petitrond.gif نقشه های اتوکد
petitrond.gif پروژه های دانشجویی
petitrond.gif پایان نامه ها و سمینارها
petitrond.gif نشریات و بخشنامه ها
petitrond.gif مولتی مدیا
petitrond.gif مقالات فارسی
petitrond.gif مقالات انگلیسی

petitrond.gif نرم افزارهای تخصصی
petitrond.gif نرم افزارهای غیرتخصصی
petitrond.gif جزوات فارسی
petitrond.gif کتابهای انگلیسی
petitrond.gif کتابهای غیرتخصصی
petitrond.gif مقالات فارسی
petitrond.gif مقالات انگلیسی
petitrond.gif مولتی مدیا
petitrond.gif نقشه های اتوکد
petitrond.gif پروژه ها
petitrond.gif نمونه سوالات
petitrond.gif نشریات و بخشنامه ها

petitrond.gif طراحی سازه ها
petitrond.gif مباحث اجرایی
petitrond.gif مباحث بنیادی
petitrond.gif مباحث تخصصی
petitrond.gif آیین نامه ها
petitrond.gif نرم افزارها
petitrond.gif گفتگوهای صنفی
petitrond.gif دانلود ها
petitrond.gif متفرقه
آگهی


کانال ایران سازه در تلگرام
آگهی


معرفی کتاب : مرجع کاربردی طراحی سازه های بتنی با نرم افزار ETABS 2013 و SAFE 12
دوره آنلاین طراحی سازه های بتن آرمه در ETABS2016
ارسال شده در مورخه : پنجشنبه، 6 مهر، 1396 توسط admin طرح ، محاسبه و جزییات بندی سازه های با سیستم سقف دال مجوف

برای دانلود فایل پی دی اف مربوط به ارایه سمینار طرح ، محاسبه و جزییات بندی سازه های با سیستم سقف دال مجوف ، برگزار شده توسط گروه تخصصی سازه سازمان نظام مهندسی استان همدان به این تاپیک مراجعه فرمایید. سخنران این سمینار دکتر سالار منیعی بوده اند.

منبع: کانال تلگرام گروه تخصصی سازه سازمان نظام مهندسی استان همدان


",$pos); $tag = substr($comment,$pos,$endpos-$pos); $tag = trim($tag); if (isset($location)) { if (!strcasecmp(strtok($tag," "),"/A")) { $link = substr($comment,$linkpos,$pos-1-$linkpos); $links[] = $link; $hrefs[] = $location; unset($location); } $pos = $endpos+1; } else { if (!strcasecmp(strtok($tag," "),"A")) { if (eregi("HREF[ \t\n\r\v]*=[ \t\n\r\v]*\"([^\"]*)\"",$tag,$regs)); else if (eregi("HREF[ \t\n\r\v]*=[ \t\n\r\v]*([^ \t\n\r\v]*)",$tag,$regs)); else $regs[1] = ""; if ($regs[1]) { $location = $regs[1]; } $pos = $endpos+1; $linkpos = $pos; } else { $pos = $endpos+1; } } } for ($i=0; $i$links[$i]", "title='$hrefs[$i]'> $links[$i]$href", $comment); } } return($comment); } function modone() { global $admin, $moderate, $module_name, $sid, $prefix, $db; $artsid = intval($sid); $comnum = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_stories WHERE sid='$artsid' AND comments!='0'")); if ($comnum != 0) { if(((isset($admin)) AND ($moderate == 1)) || ($moderate==2)) echo "
"; } } function modtwo($tid, $score, $reason) { global $admin, $user, $moderate, $reasons, $prefix, $db, $sid, $cookie, $userinfo; $artsid = intval($sid); $tid = intval($tid); $comnum = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_stories WHERE sid='$artsid' AND comments!='0'")); if ($comnum != 0) { $whoisath = $db->sql_fetchrow($db->sql_query("SELECT name FROM ".$prefix."_comments WHERE tid='$tid'")); cookiedecode($user); if((((isset($admin)) AND ($moderate == 1)) || ($moderate == 2)) AND ($user)) { if (strtolower($cookie[1]) == strtolower($whoisath['name'])) { echo " | "; } else { echo " | "; } } } } function modthree($sid, $mode, $order, $thold=0) { global $admin, $user, $moderate, $db, $prefix, $userinfo, $cookie; $artsid = intval($sid); $comnum = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_stories WHERE sid='$artsid' AND comments!='0'")); if ($comnum != 0) { if((((is_admin($admin)) AND ($moderate == 1)) || ($moderate==2)) AND ($user)) { getusrinfo($user); if (!isset($mode) OR empty($mode)) { if(isset($userinfo['umode'])) { $mode = $userinfo['umode']; } else { $mode = "thread"; } } if (!isset($order) OR empty($order)) { if(isset($userinfo['uorder'])) { $order = $userinfo['uorder']; } else { $order = 0; } } if (!isset($thold) OR empty($thold)) { if(isset($userinfo['thold'])) { $thold = $userinfo['thold']; } else { $thold = 0; } } $form = ""; $form .= ""; $form .= ""; $form .= ""; $form .= "
"; echo $form; OpenTable(); echo "
"._COMMENTSMODERATION."

"._CLICKTOMODERATE."

"; echo "
"; CloseTable(); } } } function nocomm() { OpenTable(); echo "
"._NOCOMMENTSACT."
"; CloseTable(); } function navbar($sid, $title, $thold, $mode, $order) { global $user, $bgcolor1, $bgcolor2, $textcolor1, $textcolor2, $anonpost, $prefix, $db, $module_name, $admin, $pid, $userinfo, $cookie; $sid = intval($sid); $title = filter($title, "nohtml"); cookiedecode($user); getusrinfo($user); if (!isset($mode) OR empty($mode)) { if(isset($userinfo['umode'])) { $mode = $userinfo['umode']; } else { $mode = "thread"; } } if (!isset($order) OR empty($order)) { if(isset($userinfo['uorder'])) { $order = $userinfo['uorder']; } else { $order = 0; } } if (!isset($thold) OR empty($thold)) { if(isset($userinfo['thold'])) { $thold = $userinfo['thold']; } else { $thold = 0; } } $query = $db->sql_query("SELECT * FROM ".$prefix."_comments WHERE sid='$sid'"); if(!$query) { $count = 0; } else { $count = $db->sql_numrows($query); } $sid = intval($sid); $query = $db->sql_query("SELECT title FROM ".$prefix."_stories WHERE sid='$sid'"); list($un_title) = $db->sql_fetchrow($query); if(!isset($thold)) { $thold=0; } if ($anonpost == 0 AND !is_user($user)) { echo "
"; OpenTable(); echo "
"._NOANONCOMMENTS."
"; CloseTable(); }else { echo "\n\n\n\n"; echo "\n"; OpenTable(); echo "
"; if (is_user($user)) { cookiedecode($user); echo "$cookie[1] [ "._LOGOUT." ]

"; echo ""; echo ""._UCOMMENT.":
" ."

" .""._HTMLNOTALLOWED."
"; "

"; if ($nuke_editor == 0) { //echo ""._ALLOWEDHTML."
"; //while (list($key,) = each($AllowableHTML)) echo " <".$key.">"; //echo "


"; } else { // echo ""._HTMLNOTALLOWED."


"; } if (is_user($user) AND ($anonpost == 1)) { echo " "._POSTANON."
"; } if (!isset($mode) OR empty($mode)) { if(isset($userinfo['umode'])) { $mode = $userinfo['umode']; } else { $mode = "thread"; } } if (!isset($order) OR empty($order)) { if(isset($userinfo['uorder'])) { $order = $userinfo['uorder']; } else { $order = 0; } } if (!isset($thold) OR empty($thold)) { if(isset($userinfo['thold'])) { $thold = $userinfo['thold']; } else { $thold = 0; } } echo "\n" ."\n" ."\n" ."\n" ."\n" ."\n" ." "._GOBACK."\n" ."
\n"; } elseif ($anonpost == 1 AND !is_user($user)) { echo " [ "._GUEST.""._LOGINCREATE." ]

"; echo "
"; echo ""._NAME.":
"; echo "

"; echo ""._URL.":
"; echo " //:http

"; echo ""._EMAIL.":
"; echo "

"; /* echo ""._WEBSITE.":
"; echo "

"; */ echo ""._UCOMMENT.":
" ."

" .""._HTMLNOTALLOWED."
"; if ($nuke_editor == 0) { //echo ""._ALLOWEDHTML."
"; //while (list($key,) = each($AllowableHTML)) echo " <".$key.">"; //echo "


"; } else { // echo ""._HTMLNOTALLOWED."


"; } if (!isset($order) OR empty($order)) { if(isset($userinfo['uorder'])) { $order = $userinfo['uorder']; } else { $order = 0; } } if (!isset($thold) OR empty($thold)) { if(isset($userinfo['thold'])) { $thold = $userinfo['thold']; } else { $thold = 0; } } echo "\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ." "._GOBACK."\n" ."
\n"; } CloseTable(); /*if($_POST['perform']) { if ($g_name == "") { echo '' ;exit(); }*/ } } function DisplayKids ($tid, $mode, $order=0, $thold=0, $level=0, $dummy=0, $tblwidth=99) { global $datetime, $user, $cookie, $bgcolor1, $reasons, $anonymous, $anonpost, $commentlimit, $prefix, $textcolor2, $db, $module_name, $user_prefix, $userinfo, $cookie; $tid = intval($tid); $comments = 0; cookiedecode($user); getusrinfo($user); if (!isset($mode) OR empty($mode)) { if(isset($userinfo['umode'])) { $mode = $userinfo['umode']; } else { $mode = "thread"; } } if (!isset($order) OR empty($order)) { if(isset($userinfo['uorder'])) { $order = $userinfo['uorder']; } else { $order = 0; } } if (!isset($thold) OR empty($thold)) { if(isset($userinfo['thold'])) { $thold = $userinfo['thold']; } else { $thold = 0; } } $result = $db->sql_query("SELECT tid, pid, sid, date, name, email, host_name, subject, comment, score, reason FROM ".$prefix."_comments WHERE pid='$tid' ORDER BY date, tid"); if ($mode == 'nested') { /* without the tblwidth variable, the tables run of the screen with netscape */ /* in nested mode in long threads so the text can't be read. */ while ($row = $db->sql_fetchrow($result)) { $r_tid = intval($row['tid']); $r_pid = intval($row['pid']); $r_sid = intval($row['sid']); $r_date = $row['date']; $g_name== check_words(check_html($row['name'], "nohtml")); $$wurl== check_words(check_html($row['url'], "nohtml")); //$r_name = check_words(check_html($row['name'], "nohtml")); $r_email = check_words(check_html($row['email'], "nohtml")); $r_host_name = check_words(check_html($row['host_name'], "nohtml")); $r_subject = stripslashes(check_words(check_html($row['subject'], "nohtml"))); $r_comment = stripslashes(check_words(check_html($row['comment'], ""))); $r_score = intval($row['score']); $r_reason = intval($row['reason']); if($r_score >= $thold) { if (!isset($level)) { } else { if (!$comments) { echo ""; if($hr) echo "
"; $count_times += 1; } modthree($sid, $mode, $order, $thold); if (!isset($subject)) { $subject = ""; } if ($pid==0) { return array($sid, $pid, $subject); } else { include("footer.php"); } } function singlecomment($tid, $sid, $mode, $order, $thold) { global $module_name, $user, $cookie, $datetime, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $admin, $anonpost, $prefix, $textcolor2, $db; include("header.php"); cookiedecode($user); getusrinfo($user); $sid = intval($sid); $tid = intval($tid); $row = $db->sql_fetchrow($db->sql_query("SELECT date, name, email, subject, comment, score, reason FROM ".$prefix."_comments WHERE tid='$tid' AND sid='$sid'")); $date = $row['date']; $g_name = check_words(check_html($row['name'], "nohtml")); $$wurl== check_words(check_html($row['url'], "nohtml")); $name = check_words(check_html($row['name'], "nohtml")); $email = check_words(check_html($row['email'], "nohtml")); $subject = stripslashes(check_words(check_html($row['subject'], "nohtml"))); $comment = stripslashes(check_words(check_html($row['comment'], ""))); $score = intval($row['score']); $reason = intval($row['reason']); $titlebar = "$subject"; if(empty($name)) $name = $anonymous; //if(empty($subject)) $subject = "["._NOSUBJECT."]"; modone(); OpenTable(); echo "
"; formatTimestamp($date); if($email) echo "$subject ("._SCORE." $score)
"._BY." $name ($email) "._ON." $datetime"; else echo "$subject ("._SCORE." $score)
"._BY." $name "._ON." $datetime"; echo "
$comment


"; if ($anonpost==1 OR is_admin($admin) OR is_user($user)) { $options = ""; $options .= "&mode=".$mode; $options .= "&order=".$order; $options .= "&thold=".$thold; echo " [ "._REPLY." | "._ROOT.""; } modtwo($tid, $score, $reason); echo " ]"; modthree($sid, $mode, $order, $thold); CloseTable(); include("footer.php"); } function reply($pid, $sid, $mode, $order, $thold) { //include("config.php"); // globalized - Quake include("header.php"); global $prefix, $module_name, $user, $cookie, $datetime, $bgcolor1, $bgcolor2, $bgcolor3, $db, $anonpost, $anonymous, $admin; cookiedecode($user); getusrinfo($user); $sid = intval($sid); $pid = intval($pid); if ($anonpost == 0 AND !is_user($user)) { OpenTable(); echo "
"._COMMENTREPLY."
"; CloseTable(); echo "
"; OpenTable(); echo "
"._NOANONCOMMENTS."

"._GOBACK."
"; CloseTable(); } else { if ($pid != 0) { $row = $db->sql_fetchrow($db->sql_query("SELECT date, name, email, subject, comment, score FROM ".$prefix."_comments WHERE tid='$pid'")); $date = $row['date']; $name = check_words(check_html($row['name'], "nohtml")); $email = check_words(check_html($row['email'], "nohtml")); $comment = check_words(check_html($row['comment'], "")); $subject = check_words(check_html($row['subject'], "nohtml")); $score = intval($row['score']); } else { $row2 = $db->sql_fetchrow($db->sql_query("SELECT time, title, hometext, bodytext, informant, notes FROM ".$prefix."_stories WHERE sid='$sid'")); $date = $row2['time']; $subject = check_words(check_html($row2['title'], "nohtml")); $name = check_words(check_html($row2['name'], "nohtml")); $temp_comment = check_words(check_html($row2['hometext'], "")); $comment2 = check_words(check_html($row2['bodytext'], "")); $name = check_words(check_html($row2['informant'], "nohtml")); $notes = check_words(check_html($row2['notes'], "")); } if(empty($comment)) { $comment = $temp_comment."

$comment2"; } OpenTable(); echo "
"._COMMENTREPLY."
"; CloseTable(); echo "
"; OpenTable(); if (empty($name)) $name = $anonymous; //if (empty($subject)) $subject = "["._NOSUBJECT."]"; formatTimestamp($date); echo "$subject "; //if (!empty($temp_comment)) echo"("._SCORE." $score)"; if (!empty($email)) { echo "
"._BY." $name ($email) "._ON." $datetime"; } else { echo "
"._BY." $name "._ON." $datetime"; } echo "

$comment

"; if ($pid == 0) { if (!empty($notes)) { echo ""._NOTE." $notes

"; } else { echo ""; } } if (!isset($pid) || !isset($sid)) { echo "Something is not right. This message is just to keep things from messing up down the road"; exit(); } if ($pid == 0) { $row3 = $db->sql_fetchrow($db->sql_query("SELECT title FROM ".$prefix."_stories WHERE sid='$sid'")); $subject = check_words(check_html($row3['title'], "nohtml")); $name = check_words(check_html($row3['name'], "nohtml")); } else { $row4 = $db->sql_fetchrow($db->sql_query("SELECT subject,name FROM ".$prefix."_comments WHERE tid='$pid'")); $subject = check_words(check_html($row4['subject'], "nohtml")); $name = check_words(check_html($row4['name'], "nohtml")); } CloseTable(); echo "
"; OpenTable(); echo "
"; echo ""._YOURNAME.": "; if (is_user($user)) { cookiedecode($user); echo "$cookie[1] [ "._LOGOUT." ]

"; } else { echo "$anonymous"; echo " [ "._NEWUSER." ]

"; } echo ""._SUBJECT.":
"; if (!stripos_clone($subject,"Re:")) $subject = "Re: ".substr($subject,0,81).""; echo "

"; echo ""._UCOMMENT.":
" ."

" .""._HTMLNOTALLOWED."
"; echo "
"; if (is_user($user) AND ($anonpost == 1)) { echo " "._POSTANON."
"; } if (!isset($mode) OR empty($mode)) { if(isset($userinfo['umode'])) { $mode = $userinfo['umode']; } else { $mode = "thread"; } } if (!isset($order) OR empty($order)) { if(isset($userinfo['uorder'])) { $order = $userinfo['uorder']; } else { $order = 0; } } if (!isset($thold) OR empty($thold)) { if(isset($userinfo['thold'])) { $thold = $userinfo['thold']; } else { $thold = 0; } } echo "\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."
\n"; CloseTable(); } include("footer.php"); } function replyPreview ($pid, $sid, $g_name, $name, $email, $wurl, $subject, $comment, $xanonpost, $mode, $order, $thold) { global $module_name, $user, $cookie, $AllowableHTML, $anonymous, $anonpost, $userinfo; include("header.php"); cookiedecode($user); getusrinfo($user); $sid = intval($sid); $pid = intval($pid); OpenTable(); echo "
"._COMREPLYPRE."
"; CloseTable(); echo "
"; OpenTable(); cookiedecode($user); $subject = check_words(check_html($subject, "nohtml")); $name = check_words(check_html($name, "nohtml")); $comment = check_words(check_html($comment, "")); if (!isset($pid) OR !isset($sid)) { die(_NOTRIGHT); } echo "$subject"; echo "
"._BY." "; if (is_user($user)) { echo $cookie[1]; } else { echo $anonymous; } echo " "._ONN."

"; echo $comment; CloseTable(); echo "
"; OpenTable(); echo "
"._YOURNAME.": "; if (is_user($user)) { echo "$cookie[1] [ "._LOGOUT." ]

"; } else { echo "$anonymous

"; } $makepass = makePass(); $code = $makepass; echo""._UCOMMENT.":
" ."

" .""._HTMLNOTALLOWED."
"; $codepass = "$makepass"; echo "

کد امنيتي : $codepass"; echo "
تايپ کد امنيتي :

"; if ($xanonpost AND $anonpost == 1){ echo " "._POSTANON."
"; } elseif (is_user($user) AND $anonpost == 1) { echo " "._POSTANON."
"; } if (!isset($mode) OR empty($mode)) { if(isset($userinfo['umode'])) { $mode = $userinfo['umode']; } else { $mode = "thread"; } } if (!isset($order) OR empty($order)) { if(isset($userinfo['uorder'])) { $order = $userinfo['uorder']; } else { $order = 0; } } if (!isset($thold) OR empty($thold)) { if(isset($userinfo['thold'])) { $thold = $userinfo['thold']; } else { $thold = 0; } } echo "" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."\n" ."
"; CloseTable(); include("footer.php"); } function CreateTopic ($xanonpost,$g_name,$name,$email,$wurl ,$subject, $comment, $pid, $sid, $host_name, $mode, $order, $thold) { global $module_name, $user, $userinfo, $EditedMessage, $cookie, $AllowableHTML, $ultramode, $user_prefix, $prefix, $anonpost, $articlecomm, $db; cookiedecode($user); getusrinfo($user); $sid = intval($sid); $pid = intval($pid); $author = addslashes(check_html($author, "nohtml")); $g_name = addslashes(filter_text($g_name, "nohtml")); $wurl = addslashes(filter_text($wurl, "nohtml")); $email = addslashes(filter_text($email, "nohtml")); $comment = format_url($comment); $comment = addslashes(filter_text($comment)); $username = $userinfo['username']; $u_email = $userinfo['user_email']; $u_url = $userinfo['user_website']; if (is_user($user)) {$g_name = $username ; $email = $u_email ; $wurl = $u_url; } /*------ patch3 www.nukelearn.com -Aneeshtan-----*/ /*-------Validation------------START-------------*/ if (is_user($user)) { if ($comment == "" ) { include('header.php'); OpenTable(); echo "تمام ورودی ها را پر کنید"; CloseTable(); echo '' ; echo ' '; include('footer.php'); exit(); } }else { if ($g_name == "" /* OR $wurl == "" */ OR $email == "" OR $comment == "" ) { include('header.php'); OpenTable(); echo "تمام ورودی ها را پر کنید"; CloseTable(); echo '' ; echo ' '; include('footer.php'); exit(); } if ($g_name == $wurl OR $email == $comment ) { include('header.php'); OpenTable(); echo "ورودی های شما معتبر نیستند"; CloseTable(); echo '' ; echo ' '; include('footer.php'); exit(); } if(strlen($email) < 7 || !eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$",$email)) { include('header.php'); OpenTable(); echo "ایمیل شما معتبر نیست "; CloseTable(); echo '' ; echo ' '; include('footer.php'); exit(); } } $c_expire_num= $db->sql_numrows($db->sql_query("SELECT name FROM ".$prefix."_comments WHERE name='$g_name'")); if ($c_expire_num > 2) { include('header.php'); OpenTable(); echo "شما نمی توانید بیش از 3 نظر منتظر تایید داشته باشید "; CloseTable(); echo '' ; echo ' '; include('footer.php'); } $mc_num= $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_comments WHERE comment='$comment' AND name ='$g_name' ")); if ($mc_num > 0) { include('header.php'); OpenTable(); echo "نظر شما در لیست منتظر تایید می باشد"; CloseTable(); echo '' ; echo ' '; include('footer.php'); } $c_num= $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_comments_moderated WHERE comment='$comment' AND name ='$g_name'")); if ($c_num > 0) { include('header.php'); OpenTable(); echo "نظر شما قبلا تایید شده است "; CloseTable(); echo '' ; echo ' '; include('footer.php'); } /*-------Validation------------End-------------*/ if(!isset($ip)) { $ip = $_SERVER['REMOTE_ADDR']; } $fake = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_stories WHERE sid='$sid'")); $comment = trim($comment); $comment = stripslashes(check_html($comment)); if ($fake == 1 AND $articlecomm == 1) { if (($anonpost == 0 AND is_user($user)) OR $anonpost == 1) { if (is_user($user)) { $krow = $db->sql_fetchrow($db->sql_query("SELECT karma FROM ".$user_prefix."_users WHERE username='$name'")); $koptions = ""; $koptions .= "&mode=".$mode; $koptions .= "&order=".$order; $koptions .= "&thold=".$thold; if ($krow['karma'] == 2) { $db->sql_query("INSERT INTO ".$prefix."_comments_moderated VALUES (NULL, '$pid', '$sid', now(), '$g_name', '$email', '$wurl', '$ip', '$subject', '$comment', '$score', '0', '0')"); include("header.php"); title(_MODERATEDTITLE); OpenTable(); echo "
"._COMMENTMODERATED.""; echo "

"._MODERATEDRETURN.""; CloseTable(); include("footer.php"); die(); } elseif ($krow['karma'] == 3) { Header("Location: modules.php?name=$module_name&file=article&sid=$sid$koptions"); die(); } } $db->sql_query("INSERT INTO ".$prefix."_comments VALUES (NULL, '$pid', '$sid', now(), '$g_name', '$email', '$wurl', '$ip', '$subject', '$comment', '$score', '0', '0')"); update_points(5); if ($ultramode) { ultramode(); } } } else { include("header.php"); echo "According to my records, the topic you are trying " ."to reply to does not exist. If you're just trying to be " ."annoying, well then too bad."; include("footer.php"); die(); } $options = ""; $options .= "&mode=".$mode; $options .= "&order=".$order; $options .= "&thold=".$thold; Header("Location: modules.php?name=$module_name&op=thanks"); } if (isset($sid)) { $sid = intval($sid); } else { $sid = ""; } if (isset($tid)) { $tid = intval($tid); } else { $tid = ""; } if (isset($pid)) { $pid = intval($pid); } else { $pid = ""; } if (isset($order)) { $order = intval($order); } if (isset($thold)) { $thold = intval($thold); } if (!isset($posttype)) { $posttype = ""; } if (!isset($op) OR empty($op)) { $op = "DisplayTopic"; } if (!isset($mode) OR empty($mode)) { if(isset($userinfo['umode'])) { $mode = $userinfo['umode']; } else { $mode = "thread"; } } if (!isset($order) OR empty($order)) { if(isset($userinfo['uorder'])) { $order = $userinfo['uorder']; } else { $order = 0; } } if (!isset($thold) OR empty($thold)) { if(isset($userinfo['thold'])) { $thold = $userinfo['thold']; } else { $thold = 0; } } if (!isset($op)) { $op = ""; } if (!isset($xanonpost)) { $xanonpost = ""; } switch($op) { case "Reply": reply($pid, $sid, $mode, $order, $thold); break; case ""._PREVIEW."": replyPreview ($pid, $sid,$g_name,$name,$email,$wurl, $subject, $comment, $xanonpost, $mode, $order, $thold); break; case ""._OK."": CreateTopic($xanonpost,$g_name,$name,$email, $wurl,$subject, $comment, $pid, $sid, $host_name, $mode, $order, $thold); break; case "moderate": if(!isset($admin)) { require_once("mainfile.php"); } global $userinfo; if(($admintest==1) || ($moderate==2)) { while(list($tdw, $emp) = each($_POST)) { if (stripos_clone($tdw,"dkn")) { $emp = explode(":", $emp); if($emp[1] != 0) { $tdw = str_replace("dkn", "", $tdw); $emp[0] = intval($emp[0]); $emp[1] = intval($emp[1]); $tdw = intval($tdw); $q = "UPDATE ".$prefix."_comments SET"; if(($emp[1] == 9) AND ($emp[0]>=0)) { # Overrated $q .= " score=score-1 where tid='$tdw'"; } elseif (($emp[1] == 10) AND ($emp[0]<=4)) { # Underrated $q .= " score=score+1 where tid='$tdw'"; } elseif (($emp[1] > 4) AND ($emp[0]<=4)) { $q .= " score=score+1, reason='$emp[1]' where tid='$tdw'"; } elseif (($emp[1] < 5) AND ($emp[0] > -1)) { $q .= " score=score-1, reason='$emp[1]' where tid='$tdw'"; } elseif (($emp[0] == -1) || ($emp[0] == 5)) { $q .= " reason='$emp[1]' where tid='$tdw'"; } $row = $db->sql_fetchrow($db->sql_query("SELECT last_moderation_ip FROM ".$prefix."_comments WHERE tid='$tdw'")); $ip = $_SERVER['REMOTE_ADDR']; if(strlen($q) > 20 AND $row['last_moderation_ip'] != $ip) { $db->sql_query($q); $db->sql_query("UPDATE ".$prefix."_comments SET last_moderation_ip='$ip' WHERE tid='$tdw'"); } } } } } $options = ""; $options .= "&mode=".$mode; $options .= "&order=".$order; $options .= "&thold=".$thold; Header("Location: modules.php?name=$module_name&file=article&sid=$sid$options"); break; case "showreply": DisplayTopic($sid, $pid, $tid, $mode, $order, $thold); break; default: if (!empty($tid) AND empty($pid)) { singlecomment($tid, $sid, $mode, $order, $thold); } elseif (!defined('NUKE_FILE') xor ($pid==0 AND !isset($pid))) { $options = ""; $options .= "&mode=".$mode; $options .= "&order=".$order; $options .= "&thold=".$thold; Header("Location: modules.php?name=$module_name&file=article&sid=$sid$options"); } else { if(!isset($pid)) $pid=0; DisplayTopic($sid, $pid, $tid, $mode, $order, $thold); } break; } ?>
امتیاز دهی به مطلب

امتیاز متوسط : 4
تعداد آراء: 1


لطفا رای مورد نظرتان را در مورد این مطلب ارائه نمائید :

عالی
خیلی خوب
خوب
متوسط
بد

انتخاب ها
دوره طراحی پیشرفته دال و پی در safe 2016