Webmaster общности: Predpriemach.com | SearchEngines.bg

    Система за жълти и червени картони

    Автор: Fr33style

    Това което ще ви покажа е как към всеки потребител да доабвите картони . Те са жълти , червени , зелени и сини 🙂 . Първо си дръпнете нужните файлове от тук След това изтеглете yellow_card_db_update.php от тук:

    ##############################################################
    ## Заглавие: Жълт Картон
    ## Описание: Това е система с картони . Този мод ще сложи четири цветни бутона до всяко мнение на всеки потребител (червен,жълт , син и зелен)
    ## В админ панела можете да определите кои бутони да се виждат .
    ## Червен = баннат, Жълт = предупреден, Зелен = не е баннат, Син = преупреден от модератор
    ##
    ## Версия на мода: 1.4.12.
    ##
    ## Трудност: Средна
    ## Време за инсталация: 40 минути
    ## Файлове за поправяне: 22
    ## posting.php
    ## search.php
    ## viewforum.php
    ## viewtopic.php
    ## admin/admin_board.php
    ## admin/admin_forumauth.php
    ## admin/admin_forums.php
    ## admin/admin_ug_auth.php
    ## admin/admin_users.php
    ## admin/admin_user_ban.php
    ## includes/auth.php
    ## includes/constants.php
    ## includes/smtp.php
    ## includes/usercp_register.php
    ## language/lang_english/lang_admin.php
    ## language/lang_english/lang_main.php
    ## templates/subSilver/posting_body.tpl
    ## templates/subSilver/search_body.tpl
    ## templates/subSilver/subSilver.cfg
    ## templates/subSilver/viewtopic_body.tpl
    ## templates/subSilver/admin/board_config_body.tpl
    ## templates/subSilver/admin/user_edit_body.tpl
    ##
    ## Съдържащи файлове: 16
    ## card.php
    ## language/lang_english/email/ban_block.tpl
    ## language/lang_english/email/ban_reactivated.tpl
    ## language/lang_english/email/ban_warning.tpl
    ## language/lang_english/email/card_block.tpl
    ## language/lang_english/email/repport_post.tpl
    ## language/lang_french/email/ban_block.tpl
    ## language/lang_french/email/ban_reactivated.tpl
    ## language/lang_french/email/ban_warning.tpl
    ## language/lang_french/email/card_block.tpl
    ## language/lang_french/email/repport_post.tpl
    ## templates/subSilver/images/icon_bcard.gif
    ## templates/subSilver/images/icon_bhotcard.gif
    ## templates/subSilver/images/icon_gcard.gif
    ## templates/subSilver/images/icon_rcard.gif
    ## templates/subSilver/images/icon_ycard.gif
    ##
    ##
    ##############################################################
    ## Преди да започнете направете копие на файловете си !
    ##############################################################
    #
    #
    копирайте yellow_card_db_update.php в директорията на форума си
    отворете yellow_card_db_update.php с браузъра си за добавите таблиците в базата данни
    изтрийте yellow_card_db_update.php
    
    #
    #-----[ КОПИРАЙ ]------------------------------------------------
    #
    копирай root/card.php в директорията на вашия форум
    копирай root/language/lang_english/email/ban_block.tpl в language/lang_english/email/
    копирай root/language/lang_english/email/ban_reactivated.tpl в language/lang_english/email/
    копирай root/language/lang_english/email/ban_warning.tpl в language/lang_english/email/
    копирай root/language/lang_english/email/repport_post.tpl в language/lang_english/email/
    копирай root/templates/subSilver/images/icon_bcard.gif в templates/subSilver/images/
    копирай root/templates/subSilver/images/icon_bhotcard.gif в templates/subSilver/images/
    копирай root/templates/subSilver/images/icon_gcard.gif в templates/subSilver/images/
    копирай root/templates/subSilver/images/icon_rcard.gif в templates/subSilver/images/
    копирай root/templates/subSilver/images/icon_ycard.gif в templates/subSilver/images/
    
    #
    #-----[ ОТВОРИ ]------------------------------------------------
    #
    posting.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $params = array('forum_id'
    
    #
    #-----[ НА ТОЗИ РЕД НАМЕРИ ]----------------------------------------
    #
    );
    
    #
    #-----[ ПРЕДИ ТОЗИ РЕД ДОБАВИ ]---------------------------------
    #
    , 'lock_subject' => 'lock_subject'
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    if ( $post_id )
    {
    
    #
    #-----[ ПРЕДИ ТОВА ДОБАВИ ]-----------------------------------------
    #
    
    if ( $postreport )
    {
    $redirect = 'viewtopic.$phpEx?' . POST_POST_URL . '=$postreport';
    $post_append = '';
    } else
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    case 'editpost':
    $redirect =
    break;
    }
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    $redirect .= ($post_reportid) ? '&post_reportid=$post_reportid' : '';
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    submit_post(
    
    #
    #-----[ ПРЕДИ ТОВА ДОБАВИ ]-----------------------------------------
    #
    if ($lock_subject)
    {
    $url = "<a href='viewtopic.$phpEx?" . POST_POST_URL . "=" .$lock_subject."#".$lock_subject."'> ";
    $message = addslashes(sprintf($lang['Link_to_post'],$url,"</a>")).$message;
    }
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    user_notification(
    }
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    if ($lock_subject)
    {
    $url = "<a href='".append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" .$lock_subject."#".$lock_subject)."'> ";
    $return_message = $lang['Report_stored']."<br/><br/>".sprintf($lang['Send_report'],$url,"</a>");
    $return_meta = str_replace($post_id,$lock_subject,$return_meta);
    }
    
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $preview_message = str_replace("\n", '<br />', $preview_message);
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    $url = "<a href='viewtopic.$phpEx?" . POST_POST_URL . "=" .$lock_subject."#".$lock_subject."'> ";
    $extra_message_body= sprintf($lang['Link_to_post'],$url,"</a>");
    $preview_message = ($lock_subject) ? stripslashes($extra_message_body).$preview_message : $preview_message;
    
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    // User default entry point
    //
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    $postreport=(isset($HTTP_GET_VARS['postreport']))? intval( $HTTP_GET_VARS['postreport']) : 0;
    if ($postreport)
    {
    $sql = 'SELECT topic_id FROM '.POSTS_TABLE.' WHERE post_id="'.$postreport.'"';
    if( !($result = $db->sql_query($sql) ))
    message_die(GENERAL_ERROR, "Couldn't get post subject information");
    $post_details = $db->sql_fetchrow($result);
    $post_topic_id=$post_details['topic_id'];
    $sql = 'SELECT pt.post_subject FROM '.POSTS_TEXT_TABLE.' pt, '.POSTS_TABLE.' p WHERE p.topic_id="'.$post_topic_id.'" AND pt.post_id=p.post_id ORDER BY p.post_time ASC LIMIT 1';
    if( !($result = $db->sql_query($sql) ))
    message_die(GENERAL_ERROR, "Couldn't get topic subject information".$sql);
    $post_details = $db->sql_fetchrow($result);
    $subject='('.$postreport.')'.$post_details['post_subject'];
    $lock_subject=$postreport;
    } else
    {
    $subject = '';
    $lock_subject='';
    }
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $username = ($userdata['session_logged_in']) ? $userdata['username'] : '';
    $poll_title = '';
    $poll_length = '';
    $subject = '';
    
    #
    #-----[ ЗАМЕСТЕТЕ СЪС ]----------------------------------------
    #
    
    // Start replacement - Yellow card MOD
    $username = ($userdata['session_logged_in']) ? $userdata['username'] : '';
    $poll_title = '';
    $poll_length = '';
    // End replacement - Yellow card MOD
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $hidden_form_fields = '<input type="hidden" name="mode" value="' . $mode . '" />';
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    $hidden_form_fields .= ($lock_subject) ? '<input type="hidden" name="lock_subject" value="'.$lock_subject.'" />':'';
    
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    // Generate smilies listing for page output
    
    #
    #-----[ ПРЕДИ ТОВА ДОБАВИ ]-----------------------------------------
    #
    $page_title = ($postreport || $lock_subject) ? $lang['Post_a_report']: $page_title;
    
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    'S_NOTIFY_CHECKED' => ( $notify_user ) ? 'checked="checked"' : '',
    
    #
    #-----[ ЗАМЕНИ СЪС ]----------------------------------------
    #
    
    // Start replacement - Yellow card admin MOD
    'S_NOTIFY_CHECKED' => ($is_auth['auth_read'] ) ? (( $notify_user ) ? 'checked="checked"' : '') : 'DISABLED' ,
    'S_LOCK_SUBJECT' => ($lock_subject) ? ' READONLY ' : '',
    // End replacement - Yellow card admin MOD
    
    #
    #-----[ ОТОВОРИ ]------------------------------------------------
    #
    search.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    if ( isset($HTTP_POST_VARS['search_keywords'])
    
    #
    #-----[ ПРЕДИ ТОВА ДОБАВИ ]-----------------------------------------
    #
    $only_bluecards = ( isset($HTTP_POST_VARS['only_bluecards']) ) ? ( ($HTTP_POST_VARS['only_bluecards']) ? TRUE : 0 ) : 0;
    
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    WHERE poster_id IN ($matching_userids)";
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    $sql .= ($only_bluecards) ? " AND post_bluecard>0 " : "";
    
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $sql = "SELECT m.post_id
    FROM
    
    #
    #-----[ ПРЕДИ ТОВА ДОБАВИ ]-----------------------------------------
    #
    $search_msg_only .= ($only_bluecards) ? " AND p.post_bluecard>0 AND m.post_id=p.post_id " : "";
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    " . (($only_bluecards) ? ','.POSTS_TABLE . ' p ' : '') . "
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $search_msg_only = ( $search_fields ) ? "OR post_subject LIKE '$match_word'" : '';
    $sql = "SELECT post_id
    FROM " . POSTS_TEXT_TABLE . "
    WHERE post_text LIKE '$match_word'
    
    #
    #-----[ ЗАМЕНИ СЪС ]----------------------------------------
    #
    $search_msg_only = ( $search_fields ) ? "OR pt.post_subject LIKE '$match_word'" : '';
    $search_msg_only .= ($only_bluecards) ? " AND p.post_bluecard>0 AND pt.post_id=p.post_id " : "";
    $sql = "SELECT pt.post_id
    FROM " . POSTS_TEXT_TABLE . "
    pt " . (($only_bluecards) ? ','.POSTS_TABLE . ' p ' : '') . "
    WHERE pt.post_text LIKE '$match_word'
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    //
    // Output the basic page
    
    #
    #-----[ ПРЕДИ ТОВА ДОБАВИ ]-----------------------------------------
    #
    $l_only_bluecards = ($userdata['user_level']>=ADMIN) ? '</br><input type="checkbox" name="only_bluecards" > '.$lang['Search_only_bluecards'] :'';
    
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    'L_TOPICS' =>
    'L_POSTS' =>
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    'L_ONLY_BLUECARDS' => $l_only_bluecards,
    
    #
    #-----[ ОТВОРИ ]------------------------------------------------
    #
    viewforum.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $s_auth_can .= ( ( $is_auth['auth_vote']
    
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    $s_auth_can .= ( $is_auth['auth_ban'] ) ? $lang['Rules_ban_can'] . '<br />' : '';
    $s_auth_can .= ( $is_auth['auth_greencard'] ) ? $lang['Rules_greencard_can'] . '<br />' : '';
    $s_auth_can .= ( $is_auth['auth_bluecard'] ) ? $lang['Rules_bluecard_can'] . '<br />' : '';
    
    #
    #-----[ ОТОВРИ ]------------------------------------------------
    #
    viewtopic.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $order_sql = (
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    f.auth_attachments
    
    #
    #-----[ СЛЕД ТОЗИ РЕД ДОБАВИ ]----------------------------------
    #
    , f.auth_ban, f.auth_greencard, f.auth_bluecard
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $sql = "SELECT t.topic_id, t.topic_title
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    " . $count_sql
    
    #
    #-----[ НА РЕДА ПРЕДИ ДОБАВИ ]---------------------------------
    #
    , f.auth_ban, f.auth_greencard, f.auth_bluecard
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $sql = "SELECT u.username
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    u.user_allowsmile
    
    #
    #-----[ НА РЕДА СЛЕД ТОВА ДОБАВИ ]----------------------------------
    #
    , u.user_warnings, u.user_level
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $s_auth_can .= ( ( $is_auth['auth_vote']
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    $s_auth_can .= ( $is_auth['auth_ban'] ) ? $lang['Rules_ban_can'] . "<br />" : "";
    $s_auth_can .= ( $is_auth['auth_greencard'] ) ? $lang['Rules_greencard_can'] . "<br />" : "";
    $s_auth_can .= ( $is_auth['auth_bluecard'] ) ? $lang['Rules_bluecard_can'] . "<br />" : "";
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $delpost = '';
    }
    }
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    if($poster_id != ANONYMOUS && $postrow[$i]['user_level'] != ADMIN)
    {
    $current_user = str_replace("'","\'",$postrow[$i]['username']);
    if ($is_auth['auth_greencard'])
    {
    $g_card_img = ' <input type="image" name="unban" value="unban" onClick="return confirm(\''.sprintf($lang['Green_card_warning'],$current_user).'\')" src="'. $images['icon_g_card'] . '" alt="' . $lang['Give_G_card'] . '" >';
    }
    else
    {
    $g_card_img = '';
    }
    $user_warnings = $postrow[$i]['user_warnings'];
    $card_img = ($user_warnings) ? (( $user_warnings < $board_config['max_user_bancard']) ? sprintf($lang['Warnings'], $user_warnings) : $lang['Banned'] ) : '';
    // these lines will make a icon apear beside users post, if user have warnings or ar banned
    // used instead of the previous line of code, witch shows the status as a text
    // ------ From here --- do not include this line
    // $card_img = ($user_warnings) ? '<img src="'.(( $user_warnings < $board_config['max_user_bancard']) ?
    // $images['icon_y_card'] . '" alt="'. sprintf($lang['Warnings'], $user_warnings) .'">' :
    // $images['icon_r_card'] . '" alt="'. $lang['Banned'] .'">') : '';
    // ----- To this line --- Do not included this line
    //
    // You may also included several images, instead of only one yellow, these lines below will produce several yellow images, depending on mumber of yellow cards
    // ------ From here --- do not include this line
    //$card_img = ($user_warnings >= $board_config['max_user_bancard']) ? '<img src="'.$images['icon_r_card'] . '" alt="'. $lang['Banned'] .'">' : '';
    //for ($n=0 ; $n<$user_warnings && $user_warnings < $board_config['max_user_bancard'];$n++)
    //{
    //$card_img .= ($user_warnings) ? '<img src="'.(( $user_warnings < $board_config['max_user_bancard']) ?
    //$images['icon_y_card'] . '" alt="'. sprintf($lang['Warnings'], $user_warnings) .'">' :
    //$images['icon_r_card'] . '" alt="'. $lang['Banned'] .'">') : '';
    //}
    // ----- To this line --- Do not included this line
    
    if ($user_warnings<$board_config['max_user_bancard'] && $is_auth['auth_ban'] )
    {
    $y_card_img = ' <input type="image" name="warn" value="warn" onClick="return confirm(\''.sprintf($lang['Yellow_card_warning'],$current_user).'\')" src="'. $images['icon_y_card'] . '" alt="' . sprintf($lang['Give_Y_card'],$user_warnings+1) . '" >';
    $r_card_img = ' <input type="image" name="ban" value="ban" onClick="return confirm(\''.sprintf($lang['Red_card_warning'],$current_user).'\')" src="'. $images['icon_r_card'] . '" alt="' . $lang['Give_R_card'] . '" >';
    }
    else
    {
    $y_card_img = '';
    $r_card_img = '';
    }
    } else
    {
    $card_img = '';
    $g_card_img = '';
    $y_card_img = '';
    $r_card_img = '';
    }
    
    if ($is_auth['auth_bluecard'])
    {
    if ($is_auth['auth_mod'])
    {
    $b_card_img = (($postrow[$i]['post_bluecard'])) ? ' <input type="image" name="report_reset" value="report_reset" onClick="return confirm(\''.$lang['Clear_blue_card_warning'].'\')" src="'. $images['icon_bhot_card'] . '" alt="'. sprintf($lang['Clear_b_card'],$postrow[$i]['post_bluecard']) . '">':' <input type="image" name="report" value="report" onClick="return confirm(\''.$lang['Blue_card_warning'].'\')" src="'. $images['icon_b_card'] . '" alt="'. $lang['Give_b_card'] . '" >';
    }
    else
    {
    $b_card_img = ' <input type="image" name="report" value="report" onClick="return confirm(\''.$lang['Blue_card_warning'].'\')" src="'. $images['icon_b_card'] . '" alt="'. $lang['Give_b_card'] . '" >';
    
    }
    } else $b_card_img = '';
    
    // parse hidden filds if cards visible
    $card_hidden = ($g_card_img || $r_card_img || $y_card_img || $b_card_img) ? '<input type="hidden" name="post_id" value="'. $postrow[$i]['post_id'].'">' :'';
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    'DELETE' =>
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    
    'USER_WARNINGS' => $user_warnings,
    'CARD_IMG' => $card_img,
    'CARD_HIDDEN_FIELDS' => $card_hidden,
    'CARD_EXTRA_SPACE' => ($r_card_img || $y_card_img || $g_card_img || $b_card_img) ? ' ' : '',
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    'U_MINI_POST' =>
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    'U_G_CARD' => $g_card_img,
    'U_Y_CARD' => $y_card_img,
    'U_R_CARD' => $r_card_img,
    'U_B_CARD' => $b_card_img,
    'S_CARD' => append_sid("card.".$phpEx),
    
    #
    #-----[ ОТОВРИ ]------------------------------------------------
    #
    admin/admin_board.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    //
    // Escape any quotes
    
    #
    #-----[ ПРЕДИ ТОВА ДОБАВИ ]------------------------------------------------
    #
    //report forum selection
    $sql = "SELECT f.forum_name, f.forum_id
    FROM " . FORUMS_TABLE . " f, " . CATEGORIES_TABLE . " c
    WHERE c.cat_id = f.cat_id ORDER BY c.cat_order ASC, f.forum_order ASC";
    if ( !($result = $db->sql_query($sql)) )
    {
    message_die(GENERAL_ERROR, "Couldn't obtain forum list", "", __LINE__, __FILE__, $sql);
    }
    $report_forum_rows = $db->sql_fetchrowset($result);
    $db->sql_freeresult($result);
    $report_forum_select_list = '<select name="report_forum">';
    $report_forum_select_list .= '<option value="0">' . $lang['None'] . '</option>';
    for($i = 0; $i < count($report_forum_rows); $i++)
    {
    $report_forum_select_list .= '<option value="' . $report_forum_rows[$i]['forum_id'] . '">' . $report_forum_rows[$i]['forum_name'] . '</option>';
    }
    $report_forum_select_list .= '</select>';
    $report_forum_select_list = str_replace("value=\"".$new['report_forum']."\">", "value=\"".$new['report_forum']."\" SELECTED>*" ,$report_forum_select_list);
    
    #
    #-----[ FIND ]------------------------------------------------
    #
    "L_ENABLE_PRUNE" =>
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    'L_BLUECARD_LIMIT' => $lang['Bluecard_limit'],
    'L_BLUECARD_LIMIT_EXPLAIN' => $lang['Bluecard_limit_explain'],
    'L_BLUECARD_LIMIT_2' => $lang['Bluecard_limit_2'],
    'L_BLUECARD_LIMIT_2_EXPLAIN' => $lang['Bluecard_limit_2_explain'],
    'L_MAX_USER_BANCARD' => $lang['Max_user_bancard'],
    'L_MAX_USER_BANCARD_EXPLAIN' => $lang['Max_user_bancard_explain'],
    'L_REPORT_FORUM' => $lang['Report_forum'],
    'L_REPORT_FORUM_EXPLAIN' => $lang['Report_forum_explain'],
    
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    "PRUNE_NO" =>
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    'BLUECARD_LIMIT' => $new['bluecard_limit'],
    'BLUECARD_LIMIT_2' => $new['bluecard_limit_2'],
    'MAX_USER_BANCARD' => $new['max_user_bancard'],
    'S_REPORT_FORUM' => $report_forum_select_list,
    
    #
    #-----[ ОТВОРИ ]------------------------------------------------
    #
    admin/admin_forumauth.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    // View
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    Poll
    
    #
    #-----[ СЛЕД ТОЗИ РЕД ДОБАВИ ]----------------------------------
    #
    Warn/ban Unban Repport
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $simple_auth_ary = array(
    0 => array(
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    ),
    
    #
    #-----[ ПРЕДИ ТОЗИ РЕД ДОБАВИ ]---------------------------------
    #
    , AUTH_MOD, AUTH_ADMIN, AUTH_REG
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    1 => array(
    
    #
    #-----[ НА ТОЗИ РЕД НАМЕРИ ]----------------------------------------
    #
    ),
    
    #
    #-----[ ПРЕДИ ТОЗИ РЕД ДОБАВИ ]---------------------------------
    #
    , AUTH_MOD, AUTH_ADMIN, AUTH_REG
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    2 => array(
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    ),
    
    #
    #-----[ ПРЕДИ ТОЗИ РЕД ДОБАВИ ]---------------------------------
    #
    , AUTH_MOD, AUTH_ADMIN, AUTH_REG
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    3 => array(
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    ),
    
    #
    #-----[ ПРЕДИ ТОЗИ РЕД ДОБАВИ ]---------------------------------
    #
    , AUTH_MOD, AUTH_ADMIN, AUTH_REG
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    4 => array(
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    ),
    
    #
    #-----[ ПРЕДИ ТОЗИ РЕД ДОБАВИ ]---------------------------------
    #
    , AUTH_MOD, AUTH_ADMIN, AUTH_REG
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    5 => array(
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    ),
    
    #
    #-----[ ПРЕДИ ТОЗИ РЕД ДОБАВИ ]---------------------------------
    #
    , AUTH_MOD, AUTH_ADMIN, AUTH_REG
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    6 => array(
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    ),
    
    #
    #-----[ ПРЕДИ ТОЗИ РЕД ДОБАВИ ]---------------------------------
    #
    , AUTH_MOD, AUTH_ADMIN, AUTH_REG
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $forum_auth_fields = array(
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    );
    
    #
    #-----[ ПРЕДИ ТОЗИ РЕД ДОБАВИ ]---------------------------------
    #
    , 'auth_ban', 'auth_greencard', 'auth_bluecard'
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    ']);
    
    #
    #-----[ НА ТОЗИ РЕД НАМЕРИ ]----------------------------------------
    #
    );
    
    #
    #-----[ ЗАМЕСТИ СЪС ]--------------------------------
    #
    ,
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    'auth_ban' => $lang['Ban'],
    'auth_greencard' => $lang['Greencard'],
    'auth_bluecard' => $lang['Bluecard']);
    
    #
    #-----[ ОТВОРИ ]------------------------------------------------
    #
    admin/admin_forums.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    "auth_pollcreate" =>
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    AUTH_REG
    
    #
    #-----[ СЛЕД ТОЗИ РЕД ДОБАВИ ]----------------------------------
    #
    ,
    
    #
    #-----[ А СЛЕД НЕГО ДОБАВИ ]------------------------------------------
    #
    
    "auth_ban" => AUTH_MOD,
    "auth_greencard" => AUTH_ADMIN,
    "auth_bluecard" => AUTH_REG
    
    #
    #-----[ ОТОВРИ ]------------------------------------------------
    #
    admin/admin_ug_auth.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $forum_auth_fields = array(
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    );
    
    #
    #-----[ ПРЕДИ ТОЗИ РЕД ДОБАВИ ]---------------------------------
    #
    , 'auth_ban', 'auth_greencard', 'auth_bluecard'
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    );
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    );
    
    #
    #-----[ ЗАМЕСТИ СЪС ]--------------------------------
    #
    ,
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    'auth_ban' => AUTH_BAN,
    'auth_greencard' => AUTH_GREENCARD,
    'auth_bluecard' => AUTH_BLUECARD);
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    ']);
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    );
    
    #
    #-----[ ЗАМЕСТИ СЪС ]--------------------------------
    #
    ,
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    'auth_ban' => $lang['ban_card'],
    'auth_greencard' => $lang['Greencard'] ,
    'auth_bluecard' => $lang['Bluecard']);
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    SET auth_view = 0,
    WHERE
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    WHERE
    
    #
    #-----[ ПРЕДИ ТОЗИ РЕД ДОБАВИ ]----------------------------------
    #
    , auth_ban = 0, auth_greencard = 0, auth_bluecard = 0
    
    #
    #-----[ ОТВОРИ ]------------------------------------------------
    #
    admin/admin_user_ban.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    message_die(GENERAL_ERROR, "Couldn't insert ban_userid
    }
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]-----------------------------------------
    #
    $sql = "UPDATE " . USERS_TABLE . "
    SET user_warnings=".$board_config['max_user_bancard']."
    WHERE user_id=".$user_list[$i];
    if ( !$db->sql_query($sql) )
    {
    message_die(GENERAL_ERROR, "Couldn't update users warnings info".$sql, "", __LINE__, __FILE__, $sql);
    }
    
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    }
    
    if ( isset($HTTP_POST_VARS['unban_ip']) )
    
    #
    #-----[ ПРЕДИ ТОВА ДОБАВИ ]-----------------------------------------
    #
    if (! empty($where_sql))
    {
    $sql = "SELECT ban_userid FROM ".BANLIST_TABLE."
    WHERE ban_id IN ($where_sql)";
    if ( !($result = $db->sql_query($sql) ))
    {
    message_die(GENERAL_ERROR, "Couldn't get user warnings info from database".$sql, "", __LINE__, __FILE__, $sql);
    }
    while ($user_id_list = $db->sql_fetchrow($result))
    {
    $where_user_sql .= ( ( $where_user_sql != '' ) ? ', ' : '' ) . $user_id_list['ban_userid'];
    }
    $sql = "UPDATE " . USERS_TABLE . "
    SET user_warnings='0'
    WHERE user_id IN ($where_user_sql)";
    if ( !$db->sql_query($sql) )
    {
    message_die(GENERAL_ERROR, "Couldn't update user warnings info from database".$sql, "", __LINE__, __FILE__, $sql);
    }
    }
    
    
    #
    #-----[ ОТВОРИ ]------------------------------------------------
    #
    admin/admin_users.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $user_status = ( !empty($HTTP_POST_VARS['user_status']) )
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    $user_ycard = ( !empty($HTTP_POST_VARS['user_ycard']) ) ? intval( $HTTP_POST_VARS['user_ycard'] ) : 0;
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $sql = "UPDATE " . USERS_TABLE . "
    
    #
    #-----[ ПРЕДИ ТОВА ДОБАВИ ]-----------------------------------------
    #
    if ($user_ycard>$board_config['max_user_bancard'])
    {
    $sql = "SELECT ban_userid FROM " . BANLIST_TABLE . " WHERE ban_userid=$user_id";
    if( $result = $db->sql_query($sql) )
    {
    if (!$db->sql_fetchrowset($result))
    {
    // insert the user in the ban list
    $sql = "INSERT INTO " . BANLIST_TABLE . " (ban_userid) VALUES ($user_id)";
    if (!$result = $db->sql_query($sql) )
    message_die(GENERAL_ERROR, "Couldn't insert ban_userid info into database", "", __LINE__, __FILE__, $sql);
    else $no_error_ban=true;
    } else $no_error_ban = true;
    } else message_die(GENERAL_ERROR, "Couldn't obtain banlist information", "", __LINE__, __FILE__, $sql);
    } else
    {
    // remove the ban, if there is any
    $sql = "DELETE FROM " . BANLIST_TABLE . " WHERE ban_userid=$user_id";
    if (!$result = $db->sql_query($sql) )
    message_die(GENERAL_ERROR, "Couldn't remove ban_userid info into database", "", __LINE__, __FILE__, $sql);
    else $no_error_ban=true;
    }
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    SET " . $username_sql
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    $user_status
    
    #
    #-----[ СЛЕД ТОЗИ РЕД ДОБАВИ ]----------------------------------
    #
    , user_warnings = $user_ycard
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $user_status = $this_userdata['user_active'];
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    $user_ycard = $this_userdata['user_warnings'];
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $s_hidden_fields .= '<input type="hidden" name="user_status"
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    $s_hidden_fields .= '<input type="hidden" name="user_ycard" value="' . $user_ycard . '" />';
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    'USER_ACTIVE_NO' =>
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    'BANCARD' => $user_ycard,
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    'L_INTERESTS' =>
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    'L_BANCARD' => $lang['ban_card'],
    'L_BANCARD_EXPLAIN' => sprintf($lang['ban_card_explain'], $board_config['max_user_bancard']),
    
    #
    #-----[ ОТВОРИ ]------------------------------------------------
    #
    includes/auth.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    , POLLCREATE
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]----------------------------------
    #
    BAN, GREENCARD, BLUECARD
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    case AUTH_ALL:
    $a_sql =
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    ';
    
    #
    #-----[ ПРЕДИ ТОЗИ РЕД ДОБАВИ ]---------------------------------
    #
    , a.auth_ban, a.auth_greencard, a.auth_bluecard
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $auth_fields =
    
    #
    #-----[ НА ТОЗИ РЕД НАМЕРИ ]----------------------------------------
    #
    );
    
    
    #
    #-----[ ПРЕДИ ТОЗИ РЕД ДОБАВИ ]---------------------------------
    #
    , 'auth_ban', 'auth_greencard', 'auth_bluecard'
    
    #
    #-----[ НАМЕРИ ]------------------------------------------
    #
    default:
    break;
    
    #
    #-----[ ПРЕДИ ТОВА ДОБАВИ ]------------------------------------------
    #
    case AUTH_BAN:
    $a_sql = 'a.auth_ban';
    $auth_fields = array('auth_ban');
    break;
    
    case AUTH_GREENCARD:
    $a_sql = 'a.auth_greencard';
    $auth_fields = array('auth_greencard');
    break;
    
    case AUTH_BLUECARD:
    $a_sql = 'a.auth_bluecard';
    $auth_fields = array('auth_bluecard');
    break;
    
    #
    #-----[ ОТВОРИ ]------------------------------------------------
    #
    includes/constants.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    define('PAGE_GROUPCP', -11);
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]--------------------------------------------
    #
    define('PAGE_CARD', -12);
    
    #
    #-----[ ОТОВРИ ]------------------------------------------------
    #
    includes/smtp.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    // Send the Subject Line...
    fputs($socket, "Subject: $subject\r\n");
    
    // Now the To Header.
    fputs($socket, "To: $mail_to\r\n");
    
    #
    #-----[ ЗАМЕСТИ СЪС ]----------------------------------------
    #
    
    // Send the Subject Line...
    if (!eregi ('Subject:',$subject)) fputs($socket, "Subject: $subject\r\n");
    
    // Now the To Header.
    if (!eregi ('To:',$headers)) fputs($socket, "To: $mail_to\r\n");
    
    #
    #-----[ ОТОВРИ ]------------------------------------------------
    #
    includes/usercp_register.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $user_active = 1;
    $user_actkey = '';
    
    #
    #-----[ ЗАМЕСТИ СЪС ]----------------------------------------
    #
    $user_active = 'user_active';
    $user_actkey = 'user_actkey';
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $sql = "UPDATE " . USERS_TABLE . "
    SET
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    user_actkey = '" . str_replace("\'", "''", $user_actkey) . "'
    
    #
    #-----[ НА РЕДА ЗАМЕСТИ СЪС ]--------------------------------
    #
    user_actkey = '$user_actkey'
    
    #
    #-----[ ОТВОРИ ]------------------------------------------------
    #
    language/lang_english/lang_admin.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    ?>
    
    #
    #-----[ ПРЕДИ ТОВА ДОБАВИ ]-----------------------------------------
    #
    
    // Start add - Yellow card admin MOD
    $lang['Ban'] = 'Ban';
    $lang['Max_user_bancard'] = 'Maximum number of warnings';
    $lang['Max_user_bancard_explain'] = 'If a user gets more yellow cards than this limit, the user will be banned';
    $lang['ban_card'] = 'Yellow card';
    $lang['ban_card_explain'] = 'The user will be banned when he/she is in excess of %d yellow cards';
    $lang['Greencard'] = 'Un-ban';
    $lang['Bluecard'] = 'Post report';
    $lang['Bluecard_limit'] = 'Interval of bluecard';
    $lang['Bluecard_limit_explain'] = 'Notify the moderators again for every x bluecards given to a post';
    $lang['Bluecard_limit_2'] = 'Limit of bluecard';
    $lang['Bluecard_limit_2_explain'] = 'First notification to moderators is sent, when a post get this amount of blue cards';
    $lang['Report_forum']= 'Report forum';
    $lang['Report_forum_explain'] = 'Select the forum where users reports are to be posted, users MUST atleast have post/reply access to this forum';
    
    #
    #-----[ ОТОВРИ ]------------------------------------------------
    #
    language/lang_english/lang_main.php
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    ?>
    
    #
    #-----[ ПРЕДИ ТОВА ДОБАВИ ]-----------------------------------------
    #
    // Start add - Yellow card admin MOD
    $lang['Give_G_card']='Re-activate user';
    $lang['Give_Y_card']='Give user warning #%d';
    $lang['Give_R_card']='Ban this user now';
    $lang['Ban_update_sucessful'] = 'The banlist has been updated successfully';
    $lang['Ban_update_green'] = 'The user is now re-activated';
    $lang['Ban_update_yellow'] = 'The user has recieved a warning, and has now a total of %d warnings of a maximum %d warnings';
    $lang['Ban_update_red'] = 'The user is now banned';
    $lang['Ban_reactivate'] = 'Your account has been re-activated';
    $lang['Ban_warning'] = 'You\'ve recieved a warning';
    $lang['Ban_blocked'] = 'Your account is now blocked';
    $lang['Click_return_viewtopic'] = 'Click %sHere%s to return to the topic';
    $lang['Rules_ban_can'] = 'You <b>can</b> ban other users in this forum';
    $lang['user_no_email'] = 'The user has no email, therefore no message about this action can be sent. You should submit him/her a private message';
    $lang['user_already_banned'] = 'The selected user is already banned';
    $lang['Ban_no_admin'] ='This user in an ADMIN and therefore cannot be warned or banned';
    $lang['Rules_greencard_can'] = 'You <b>can</b> un-ban users in this forum';
    $lang['Rules_bluecard_can'] = 'You <b>can</b> report post to moderators in this forum';
    $lang['Give_b_card'] = 'Report this post to the moderators of this forum';
    $lang['Clear_b_card'] = 'This post has %d blue cards now. If you press this button you will clear this';
    $lang['No_moderators'] = 'The forum has no moderators, No reports can be therfore sent!';
    $lang['Post_repported'] = 'This post has now been reported to %d moderators';
    $lang['Post_repported_1'] = 'This post has now been reported to the moderator';
    $lang['Post_repport'] = 'Post Report'; //Subject in email notification
    $lang['Post_reset'] = 'The blue cards for this post have now been reset';
    $lang['Search_only_bluecards'] = 'Search only among posts with blue cards';
    $lang['Send_message'] = 'Click %sHere%s to write a message to the moderators or <br />';
    $lang['Send_PM_user'] = 'Click %sHere%s to write a PM to the user or';
    $lang['Link_to_post'] = 'Click %sHere%s to go to the reported post <br/>--------------------------------<br/><br/>';
    $lang['Post_a_report'] = 'Post a report';
    $lang['Report_stored'] = 'Your report has been entered successfully';
    $lang['Send_report'] = 'Click %sHere%s to go back to the original message';
    $lang['Red_card_warning'] = 'You are about to give the user:%s a red card, this will ban the user, are you sure ?';
    $lang['Yellow_card_warning'] = 'You are about to give the user:%s a yellow card, this will isue a warning to the user, are you sure ?';
    $lang['Green_card_warning'] = 'You are about to give the user:%s a green card, this will unban the user, are you sure ?';
    $lang['Blue_card_warning'] = 'You are about to give the post a blue card, this will alert the moderators about this post, Are you sure you want to Alert the moderators about this post ?';
    $lang['Clear_blue_card_warning'] = 'You are about to reset the blue card counter for this post, Do you wan to continue ?';
    $lang['Warnings'] = 'Warnings : %d'; //shown beside users post, if any warnings given to the user
    $lang['Banned'] = 'Currently banned';//shown beside users post, if user are banned
    
    #
    #-----[ ОТВОРИ ]------------------------------------------------
    #
    templates/subSilver/posting_body.tpl
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    value="{SUBJECT}"
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    type="text"
    
    #
    #-----[ СЛЕД ТОЗИ РЕД ДОБАВИ ]----------------------------------
    #
    {S_LOCK_SUBJECT}
    
    #
    #-----[ ОТОВРИ ]------------------------------------------------
    #
    templates/subSilver/search_body.tpl
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    {L_SEARCH_ALL_TERMS}
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    {L_SEARCH_ALL_TERMS}
    
    #
    #-----[ СЛЕД ТОЗИ РЕД ДОБАВИ ]-----------------------------------
    #
    {L_ONLY_BLUECARDS}
    
    #
    #-----[ ОТОВРИ ]------------------------------------------------
    #
    templates/subSilver/subSilver.cfg
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    $board_config['privmsg_graphic_length'] =
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    
    // Start add - Yellow card admin MOD
    $images['icon_g_card'] = "$current_template_images/icon_gcard.gif";
    $images['icon_y_card'] = "$current_template_images/icon_ycard.gif";
    $images['icon_r_card'] = "$current_template_images/icon_rcard.gif";
    $images['icon_b_card'] = "$current_template_images/icon_bcard.gif";
    $images['icon_bhot_card'] = "$current_template_images/icon_bhotcard.gif";
    
    #
    #-----[ ОТВОРИ ]------------------------------------------------
    #
    templates/subSilver/viewtopic_body.tpl
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    {postrow.POSTER_NAME}</b>
    
    #
    #-----[ НА РЕДА НАМЕРИ ]------------------------------------------------
    #
    {postrow.POSTER_NAME}</b>
    
    #
    #-----[ СЛЕД ТОЗИ РЕД ДОБАВИ ]-------------------------------------------
    #
    <br />{postrow.CARD_IMG}
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    {postrow.U_MINI_POST}
    
    #
    #-----[ ПРЕДИ ТОВА ДОБАВИ ]------------------------------------------
    #
    
    <!-- Start add - Yellow card admin MOD -->
    <form method="post" action="{postrow.S_CARD}">
    <!-- End add - Yellow card admin MOD -->
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    {postrow.IP_IMG}
    
    #
    #-----[ НА РЕДА НАМЕРИ ]----------------------------------------
    #
    {postrow.IP_IMG}
    
    #
    #-----[ СЛЕД ТОЗИ РЕД ДОБАВИ ]-----------------------------------
    #
    {postrow.U_R_CARD}{postrow.U_Y_CARD}{postrow.U_G_CARD}{postrow.U_B_CARD}{postrow.CARD_EXTRA_SPACE}{postrow.CARD_HIDDEN_FIELDS}
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]-------------------------------------------
    #
    
    <!-- Start add - Yellow card admin MOD -->
    </form>
    <!-- End add - Yellow card admin MOD -->
    
    #
    #-----[ ОТВОРИ ]------------------------------------------------
    #
    templates/subSilver/admin/board_config_body.tpl
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    {PRUNE_YES}
    </tr>
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    
    <tr>
    <td class="row1">{L_BLUECARD_LIMIT_2}<br /><span class="gensmall">{L_BLUECARD_LIMIT_2_EXPLAIN}</span></td>
    <td class="row2"><input class="post" type="text" size="4" maxlength="4" name="bluecard_limit_2" value="{BLUECARD_LIMIT_2}" /></td>
    </tr>
    <tr>
    <td class="row1">{L_BLUECARD_LIMIT}<br /><span class="gensmall">{L_BLUECARD_LIMIT_EXPLAIN}</span></td>
    <td class="row2"><input class="post" type="text" size="4" maxlength="4" name="bluecard_limit" value="{BLUECARD_LIMIT}" /></td>
    </tr>
    <tr>
    <td class="row1">{L_MAX_USER_BANCARD}<br /><span class="gensmall">{L_MAX_USER_BANCARD_EXPLAIN}</span></td>
    <td class="row2"><input class="post" type="text" size="4" maxlength="4" name="max_user_bancard" value="{MAX_USER_BANCARD}" /></td>
    </tr>
    <tr>
    <td class="row1">{L_REPORT_FORUM}<br /><span class="gensmall">{L_REPORT_FORUM_EXPLAIN}</span></td>
    <td class="row2">{S_REPORT_FORUM}</td>
    </tr>
    
    #
    #-----[ ОТВОРИ ]------------------------------------------------
    #
    templates/subSilver/admin/user_edit_body.tpl
    
    #
    #-----[ НАМЕРИ ]------------------------------------------------
    #
    {L_DELETE_USER_EXPLAIN}
    </tr>
    
    #
    #-----[ СЛЕД ТОВА ДОБАВИ ]------------------------------------------
    #
    
    <tr>
    <td class="row1"><span class="gen">{L_BANCARD}:</span><br /><span class="gensmall">{L_BANCARD_EXPLAIN}<br /></td>
    <td class="row2"><input type="text" class="post" style="width: 40px" name="user_ycard" size="4" maxlength="4" value="{BANCARD}" /></td>
    </tr>
    
    #
    #-----[ ЗАПАЗИ/ЗАТОВРИ ВСИЧКИ ФАЙЛОВЕ ]--------------------------------
    #

    Урокът е преведен специално за web tourist и преписването е строго забранено ! УСПЕХ 🙂

    Оставете коментар