?????? ???? ??????? ?? ?????????? ???????? http://www.mypunbb.com/
???????? ???????? ?????????...
???? ???????? - ???? ????????? ? ?????, ? ???? ??? ?? ???????? ????? ????????.
???-?????? ? ????? ?????? ????? ?????? ? ????? ?? ?????-?? ????????? ? ???? ??????????

e@mail.ru

? ????? ????? ???:
? phpmyadmin ??????? ?? ????????? ??? ????, ? ???????.
?? ???????? ????????? ???????: subscriptions ??? search_words
? ??????? ?? ???? ??? ??????.
?????? ????? ?? ???? ?????? ??????? ? ??? ????????? ???? ????. ???? ??????? ???????? ?? ?????? ???? ???? ??????.
?? ???? ??? ???? ?????? (?????? ? ?? ???? ?? ? ???? ?? ????):
???? ??????? ??????? - ?? ?????? ? ???????, ?????????? ???????? ???? ?? ?????????? ????, ?????????????? ????????? ?????????? ???? ????-???? ?? ?????? ? ???????? ?? ??? ????? - ??????? ???? ??? ???????.
??? ???? ??? ?????? ????. ???? ???? ? ?????? sweb.ru

beotiger

??? ?? ?????? ???????????. ? ???? ??? ???? ???? ??? ? oktune.
?????? ?? ????????? ???? ??????.
???????????? ?????? ??????? ? ???? ?????? - ??? ?????? ??????? ? ??? ??????.

oktune

????????? ???? ??? ??????. ??? ????, ??? ? ?.?. ?????? ????? ????.
? ??? ?????? ?? ????????? ???????? ??????????.

??, ?????.
?????????.

?? ????? smile

?????? ??????? ???????? ? ???? PM. ??? ????????? ?? ????? ???????? ?????????? ????? ???????? ? ?????????.

?????? ? message_list.php
???

<form method="post" action="message_list.php">
<div class="blocktable" style="margin-left: 152px;">

?? ???

<script language="JavaScript" type="text/JavaScript">
 function ChekUncheck()
 {
          var i;
          for (i = 0; i < document.delet.elements.length; i++) {
               if(document.delet.chek.checked==true){
                  document.delet.elements[i].checked = true;
               } else{
                      document.delet.elements[i].checked = false;
                 }
          }
 }
</script>
<form method="post" action="message_list.php" name="delet">
<div class="blocktable" style="margin-left: 152px;">

????? ?????? ???

                    <th >Delete</th>
                    <?php } else { ?>
                    <th class="tcr"><?php echo $lang_pms['Date'] ?></th>
                    <?php } ?>

?? ???

                    <th ><input name="chek" type="checkbox" value="" onClick="ChekUncheck()"></th>
                    <?php } else { ?>
                    <th class="tcr"><?php echo $lang_pms['Date'] ?></th>
                    <?php } ?>

????????? ? ???????? ????????, ???????, ?????. ????? ????????.

Quick removing the messages.

Open message_list.php
FIND

<form method="post" action="message_list.php">

REPLACE WITH

<script language="JavaScript" type="text/JavaScript">
 function ChekUncheck()
 {
          var i;
          for (i = 0; i < document.delet.elements.length; i++) {
               if(document.delet.chek.checked==true){
                  document.delet.elements[i].checked = true;
               } else{
                      document.delet.elements[i].checked = false;
                 }
          }
 }
</script>
<form method="post" action="message_list.php" name="delet">

FIND

                    <th ></th>
                    <?php } else { ?>
                    <th class="tcr"><?php echo $lang_pms['Date'] ?></th>
                    <?php } ?>

REPLACE WITH

                    <th ><input name="chek" type="checkbox" value="" onClick="ChekUncheck()"></th>
                    <?php } else { ?>
                    <th class="tcr"><?php echo $lang_pms['Date'] ?></th>
                    <?php } ?>

34

(15 replies, posted in Archive)

PunOnline

35

(15 replies, posted in Archive)

? ? ???? ?? ?????...
? ???? ?????... smile
?? ????? ???? ?? ????????.

36

(15 replies, posted in Archive)

?? ?????? ??????? ???? ? ????? ??? ?????? ???????. ? ?? ??? ?????, ? ??????? ???? (??????? ??? BB-???) ? ???????? ??? ????????, ????? ??????...

37

(15 replies, posted in Archive)

?? ?????? ??? ? ????.
? ???? ????? ?? ????? ????????? ??? ??????? ?? ??? ??? ??????.

38

(20 replies, posted in Archive)

?????? ????? ??????? ? ??????? ?????? ???????? ? ??????????? ?????:
???????? ? ????? viewpoll.php

<form method="post" action="post.php?tid=<?php echo $id ?>

?? ???:

<form method="post" action="poll.php?tid=<?php echo $id ?>

??? ???????? ????????...

39

(15 replies, posted in Archive)

?????? ???????? ? ??????? 378

40

(20 replies, posted in Archive)

?????:

????? ???????? ???:


<a href="viewtopic.php?pid=<?php echo $cur_post['id'].'#p'.$cur_post['id'] ?>"><?php echo format_time($cur_post['posted']) ?></a>

?? ???:


<a href="viewpoll.php?pid=<?php echo $cur_post['id'] . '#p' . $cur_post['id'] ?>"><?php echo format_time($cur_post['posted']) ?></a>

?? ??? ?? ????????...

41

(20 replies, posted in Archive)

uT)Dev1L

? ???????????? ???? ????????? ?????? ? ?????? (? ??????). ?? ??????? ???-?? ?????? ? ???????? ???? ?? ?? ????? ???? ??????????. ???? ?? ?? ??????? ????? ??? ???????

42

(20 replies, posted in Archive)

à òû êàêèå áàãè è ãëþêè íàáëþäàë?

43

(20 replies, posted in Archive)

? ????? ?? ????? ??? ??????? ????? ????? ???? ??????? ?? ???? ??????????? ??????

44

(20 replies, posted in Archive)

?????? ? ???? ?? ??????? ???????? ????????? ????????? ???.

???????? ?  index.php ??????? ?? ???:

$result = $db->query('SELECT c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.forum_desc, f.redirect_url, f.moderators, f.num_topics, f.num_posts, f.last_post, f.last_post_id, f.last_poster, t.question FROM '.$db->prefix.'categories AS c INNER JOIN '.$db->prefix.'forums AS f ON c.id=f.cat_id LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') LEFT JOIN '.$db->prefix.'topics AS t ON f.last_post=t.last_post AND f.last_post_id=t.last_post_id WHERE fp.read_forum IS NULL OR fp.read_forum=1 ORDER BY c.disp_position, c.id, f.disp_position') or error('Unable to fetch category/forum list', __FILE__, __LINE__, $db->error());

????? ???? ???:

if ($cur_forum['last_post'] != '')
        $last_post = '<a href="viewtopic.php?pid='.$cur_forum['last_post_id'].'#p'.$cur_forum['last_post_id'].'">'.format_time($cur_forum['last_post']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_forum['last_poster']).'</span>';
    else
        $last_post = ' ';

?? ????:

if ($cur_forum['last_post'] != '')
    { //Easy Poll
        $idmT = (isset($idmComp)) ? ' title="'.$idmComp.'"' : '';
        if ($cur_forum['question'] != '')     //Easy Poll
            $last_post = format_time($cur_forum['last_post']).'<br/><a href="viewpoll.php?pid='.$cur_forum['last_post_id'].'#p'.$cur_forum['last_post_id'].'"'.$idmT.'><em>'.$idm.'</em></a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_forum['last_poster']).'</span>';    //Easy Poll
        else        //Easy Poll
            $last_post = format_time($cur_forum['last_post']).'<br/><a href="viewtopic.php?pid='.$cur_forum['last_post_id'].'#p'.$cur_forum['last_post_id'].'"'.$idmT.'><em>'.$idm.'</em></a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_forum['last_poster']).'</span>';
    } //Easy Poll
    else
        $last_post = ' ';

???????????? ?????? ??????? ??????? ?????????? ??? ??????? ???????? ?? ???????? ??????, ????? ???????? ?????????? ? ???????????.

45

(20 replies, posted in Archive)

?????? ??? ?? ?????????.
? ? ???? ?? ??? ??????????? ???? ?????? ??? ?? ???????????????.

? ??? ??????? ? ??? ??? ? ?????? ??? ?????????? ???? ???????
??? ?????????? ???? ? ????? ????????.
?????? ????? ???? ???? ????????? ? ?? ????????.

46

(20 replies, posted in Archive)

?????? ??? ??????? ???????? ? ?????????? ???????????:

??? ???? ????? ???????? ?????????? ? ??????????? ??? ???????? ????? ?? edit.php:
?????? ? ????? edit.php ???:

redirect('viewtopic.php?pid='.$id.'#p'.$id, $lang_post['Edit redirect']);

?? ???:

$resultpost = $db->query('SELECT p.topic_id, t.question FROM '.$db->prefix.'posts AS p INNER JOIN '.$db->prefix.'topics AS t WHERE p.id='.$id.' AND t.id=p.topic_id') or error('Unable to fetch category/forum list', __FILE__, __LINE__, $db->error());
$cur_question = $db->fetch_assoc($resultpost);
        
if ($cur_question['question'] != '') 
    redirect('viewpoll.php?pid='.$id.'#p'.$id, $lang_post['Edit redirect']);
else
    redirect('viewtopic.php?pid='.$id.'#p'.$id, $lang_post['Edit redirect']);

??? ???? ????? ? viewforum.php ??? ??????? ?? ????????? ???? ??????? ?????????? ? ??????????? ? ?? ? ????? viewtopic.php ?????? ???? viewforum.php:

?????? ? ????? viewforum.php ???:

if ($cur_topic['moved_to'] == null)
            $last_post = '<a href="viewtopic.php?pid='.$cur_topic['last_post_id'].'#p'.$cur_topic['last_post_id'].'">'.format_time($cur_topic['last_post']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['last_poster']).'</span>';
        else
            $last_post = ' ';

?? ???:

       if ($cur_topic['moved_to'] == null)
        { //Easy Poll
            if ($cur_topic['question'] != '')     //Easy Poll
                $last_post = '<a href="viewpoll.php?pid='.$cur_topic['last_post_id'].'#p'.$cur_topic['last_post_id'].'">'.format_time($cur_topic['last_post']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['last_poster']).'</span>';  //Easy Poll
            else        //Easy Poll
                $last_post = '<a href="viewtopic.php?pid='.$cur_topic['last_post_id'].'#p'.$cur_topic['last_post_id'].'">'.format_time($cur_topic['last_post']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['last_poster']).'</span>';
        }             //Easy Poll
        else
            $last_post = ' ';

??? ????????? ??? ??????? ???????:
1. ??????? ???????? ? ????? viewpoll.php ? ??????? ??????.
2. ??????? ?? ??????? ???????? ????? ????????? ???? ????? viewpoll.php ? ?? ????? viewtopic.php

47

(20 replies, posted in Archive)

uT)Dev1L

? ??????????? ? viewforum.php ??????????. ??? ???????? ??. ?.?. ??????? ?? ????????? ???? ? ???????? ? ???????????.

????????? ? ????? index.php ?????? ?? ????. ?.?. ?????? ?? ????????? ???? ? ???????? ??? ????? ? viewtopic.php
? ???? ??? ????? ??????? ?? ??????, ?.?. ?? ??????? ?????? ???????????? ?? ???? ????????? ????? ? ???????? ????...

? ??? ?? ?????? ??? ??????? ????? ????? ???? ?????? ? ??????????? (? viewpoll.php) ?? ???????? ?????????? ?????? - ? viewpoll.php ? ?? ? viewtopic.php?
? ?? ???-?? ?? ??????? - ??????? ? ??????????? ? ????????? ? viewtopic.php ??? ???????????...

48

(20 replies, posted in Archive)

? ?? ????? ????? ? ???? ???? ???????? ??? ????????? ????? ????????

49

(2 replies, posted in Archive)

??? ? ???...
?? ????? ?????? ?? ????? ?????? sad

???????? ? ???? ?? ??? ?????????? ?? ???????. ? ???? ????? ?? ?????? ??? ?? ?????? ????? ??? ?????? ????? ???? ?? ?? ??????????. ??? ????????? ?? ??????? ????? ?? ??????? ?????.
?? ????? ?? ??????, ? ??? ???? ???. ?????? ?? ?????? ?????. ????? ??? ??? ????? ????.
??????? ????????? ?????????? ?? ??????? ? ???? ?????.Php ????. ????? ?????: http://punbb.org/downloads.php