Hỗ trợ Forumotion
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.

You are not connected. Please login or register

Chuyển đến trang : Previous  1, 2, 3, 4, 5, 6, 7, 8  Next

Xem chủ đề cũ hơn Xem chủ đề mới hơn Go down  Thông điệp [Trang 2 trong tổng số 8 trang]

Get Over
  • Moderators FM

Get Over

Moderators FM

http://www.tuoitrevn.net/

Get Over
[Skin]Fmvi ver 3  - Page 2 Empty

[Skin]Fmvi ver 3

on 06/01/2013


Get Over
loading...

Xem đầy đủ: http://www.hotrofm.com/t2641-topic


[Skin]Fmvi ver 3  - Page 2 930921-182013112738am

[Skin]Fmvi ver 3  - Page 2 848728-182013112553am


Các plugin ứng dụng trong skin:
Color Picker version 5 - Stefan Petre (23-5-2009) http://www.eyecon.ro
Avatar anime http://www.go.vn
jQuery UI Sortable version 1.9.2 - jQuery UI Team http://jqueryui.com
Mousewheel version 3.0.6 - Brandon Aaron (2011) http://brandonaaron.net
FancyBox version 2.1.3 - Fancyapps http://fancyapps.com/fancybox/
Buttons helper for fancyBox - version 1.0.5 (15-10-2012)
Youtube api version 3 - Youtube (19-7-2012) https://developers.google.com/youtube/

Skin fmvi version 3 - baivong (20-12-2012) http://www.fmvi.vn

Demo:
Khách: https://2img.net/r/ihimizer/img28/1175/16201355433pm.jpg
Thành viên: https://2img.net/r/ihimizer/img526/1968/16201355711pm.jpg

Ứng dụng:
Feedback ver.1 https://i.servimg.com/u/f15/16/58/89/73/1-4-2010.jpg
flash anime ver.2 https://i.servimg.com/u/f12/17/70/81/78/1-3-2022.jpg
Thống kê bài viết mới ver.5 https://i.servimg.com/u/f12/17/70/81/78/1-3-2026.jpg
Thay ảnh nền ver.2 https://i.servimg.com/u/f12/17/70/81/78/1-3-2023.jpg
Thay avatar nhanh ver.2 https://i.servimg.com/u/f12/17/70/81/78/1-3-2028.jpg
Thay status tại mọi nơi ver.1 https://i.servimg.com/u/f12/17/70/81/78/1-3-2027.jpg
Chú thích động ver.1 https://i.servimg.com/u/f12/17/70/81/78/1-3-2029.jpg
Avatar cá nhân ver.1 https://i.servimg.com/u/f12/17/70/81/78/1-3-2025.jpg
Danh sách thành viên ver.2 https://i.servimg.com/u/f12/17/70/81/78/1-3-2019.jpg
Danh sách nhóm ver.1 https://i.servimg.com/u/f12/17/70/81/78/1-3-2018.jpg
Giao diện trang cá nhân ver.2 https://i.servimg.com/u/f12/17/70/81/78/1-3-2015.jpg
Bảng điều khiển cá nhân ver.1 https://i.servimg.com/u/f12/17/70/81/78/1-3-2017.jpg
Xắp xếp chuyên mục ver.1 https://i.servimg.com/u/f12/17/70/81/78/1-3-2021.jpg
Hiển thị avatar tại mọi nơi ver.1 https://i.servimg.com/u/f12/17/70/81/78/1-3-2011.jpg
Avatar Drop Menu ver.1 https://i.servimg.com/u/f12/17/70/81/78/1-3-2033.jpg
Khung soạn thảo ver.2 https://i.servimg.com/u/f12/17/70/81/78/1-3-2016.jpg
Màu nổi bật khung code ver.2 https://i.servimg.com/u/f12/17/70/81/78/1-3-2034.jpg
Sắp xếp bài viết trong chuyên mục ver.2 https://i.servimg.com/u/f12/17/70/81/78/1-3-2035.jpg
Đóng mở chuyên mục ver.2 https://i.servimg.com/u/f12/17/70/81/78/1-3-2020.jpg
Thay đổi chiều rông bài viết ver.2 https://i.servimg.com/u/f12/17/70/81/78/1-3-2030.jpg
Nút cảm ơn ver.2 https://i.servimg.com/u/f12/17/70/81/78/1-3-2032.jpg
Bài viết liên quan ver.3 https://i.servimg.com/u/f12/17/70/81/78/1-3-2010.jpg
Hiển thị riêng bài viết ver.2 https://i.servimg.com/u/f12/17/70/81/78/1-3-2014.jpg
Kiểm tra đăng nhập ver.1 https://i.servimg.com/u/f12/17/70/81/78/1-3-2013.jpg
Đăng ký nhanh ver.1 https://i.servimg.com/u/f12/17/70/81/78/1-3-2012.jpg
Trả lời nhanh ver.3 https://i.servimg.com/u/f12/17/70/81/78/1-3-2031.jpg
Thanh tiến trình tải trang ver.1 https://i.servimg.com/u/f12/17/70/81/78/12-28-10.png
Fancybox2 https://i.servimg.com/u/f12/17/70/81/78/12-31-10.jpg
Bảng chỉ dẫn kết hợp bài mới ver.1 https://i.servimg.com/u/f12/17/70/81/78/1-3-2024.jpg


Kiểm tra tốc độ:
Portal: http://baivong.forumclan.com/
http://gtmetrix.com/reports/baivong.forumclan.com/gTcAfusL
http://tools.pingdom.com/fpt/#!/6Ms8gQgv/http://baivong.forumclan.com/
Forum: http://baivong.forumclan.com/forum
http://gtmetrix.com/reports/baivong.forumclan.com/rfIOjaSA
http://tools.pingdom.com/fpt/#!/lJKIShC45/http://baivong.forumclan.com/forum
Topic: http://baivong.forumclan.com/t1710-topic
http://gtmetrix.com/reports/baivong.forumclan.com/MYDf7SZu
http://tools.pingdom.com/fpt/#!/pPsXoHsir/http://baivong.forumclan.com/t1710-topic

Hướng dẫn: : Trả lời để thấy nội dung


Nguồn : baivong- www.fmvi.com

Trả lời nhanh

Message reputation : 67% (9 votes)

  • Get Over
    Get Over

    Bài gửi 6/1/2013, 8:28 pm Get Over

    mod_chatbox
    Code:
    <div class="module main">
      <div class="main-content">
          <div id="chatbox_portal" style="overflow:none;height:300px;"></div>
          <script type="text/javascript">
            $.post("/chatbox/chatbox_actions.forum?achives=1&mode=connect&tid=" + urlParam('tid', $('#logout').attr("href")));
            insertChatBoxNew('chatbox_portal', '/chatbox/index.forum?archives=1');
          </script>
      </div>
    </div>


    mod_login

    Code:
    <!-- BEGIN switch_profile -->
    <div style="display:nones" id="myAvatar" class="module main">
      <div class="main-content clearfix details" style="border:1px solid #666">
          <div class="avatarUn fmvichange">
                        <span id="chSta">
                                <img src="http://i48.servimg.com/u/f48/16/58/89/73/edit_410.png" alt="status" style="width: 16px; height: 16px; top: 0px; right: 0px; background-color: rgb(221, 221, 221); border: 1px solid rgb(119, 119, 119) ! important; padding: 3px 6px 4px; z-index: 99; cursor: help;" />
                        </span>
                        <span class="changeatvar" onclick="quickava()">Thay avatar</span>
            <a href="{U_PROFILE}" alt="avatar">{USERNAME_AVATAR}</a>
            <div class="titleUn">
                <p>
                  <a id="linkbai"><strong>Bài viết: </strong></a>
                  <span id="myPost" style="color: #00729F;">{NB_MESSAGES}</span>
                </p>
                <p>
                  <a id="lpmv" href="/privmsg?folder=inbox">
                                                <strong>Tin nhắn: </strong>
                                        </a>
                  <span id="numpm" style="color: red">{NB_PM_UNREAD}</span> / <span style="color: green">{NB_PM_READ}</span>
                </p>
            </div>
          </div>
      </div>
    </div>
    <script type="text/javascript">
    function quickava() {
      var a = prompt("Nh\u1eadp URL h\u00ecnh \u1ea3nh v\u00e0o \u0111\u00e2y!\nCh\u1ea5p nh\u1eadn c\u00e1c \u0111\u1ecbnh d\u1ea1ng jpg, jpeg, gif, png, bmp", "");
      ("" != a && null != a) && avatarfmvi(a, $("#numID").text(), $("#userID").text())
    }
    </script>
    <!-- END switch_profile -->
    <!-- BEGIN switch_login_small -->
    <div style="display:none; top: 23px" id="myAvatar" class="module main">
      <div class="main-content clearfix details" style="border:1px solid #666">
              <div class="avatarUn">
                  <a alt="profile" href="/register">
                            <img src="http://i48.servimg.com/u/f48/16/58/89/73/noavat10.jpg" />
                      </a>
            <div class="titleUn">
                <p>
                  <span style="color: #00729F;"><a class="mainmenu" href="/login" rel="nofollow">Đăng nhập</a></span>
                </p>
                <p>
                                      <span style="color: red"><a class="mainmenu" href="/register" rel="nofollow">Đăng ký ngay</a></span>
                </p>
            </div>
          </div>
      </div>
    </div>
    <!-- END switch_login_small -->
    <!-- BEGIN switch_login -->
    <div style="display:none; top: 23px" id="myAvatar" class="module main">
      <div class="main-content clearfix details" style="border:1px solid #666">
              <div class="avatarUn">
                  <a alt="profile" href="/register">
                            <img src="http://i48.servimg.com/u/f48/16/58/89/73/noavat10.jpg" />
                      </a>
            <div class="titleUn">
                <p>
                  <span style="color: #00729F;"><a class="mainmenu" href="/login" rel="nofollow">Đăng nhập</a></span>
                </p>
                <p>
                                      <span style="color: red"><a class="mainmenu" href="/register" rel="nofollow">Đăng ký ngay</a></span>
                </p>
            </div>
          </div>
      </div>
    </div>
    <!-- END switch_login -->

    mod_most_active_starters
    Code:
    <!-- BEGIN switch_profile -->
    <div style="display:nones" id="myAvatar" class="module main">
      <div class="main-content clearfix details" style="border:1px solid #666">
          <div class="avatarUn fmvichange">
                        <span id="chSta">
                                <img src="http://i48.servimg.com/u/f48/16/58/89/73/edit_410.png" alt="status" style="width: 16px; height: 16px; top: 0px; right: 0px; background-color: rgb(221, 221, 221); border: 1px solid rgb(119, 119, 119) ! important; padding: 3px 6px 4px; z-index: 99; cursor: help;" />
                        </span>
                        <span class="changeatvar" onclick="quickava()">Thay avatar</span>
            <a href="{U_PROFILE}" alt="avatar">{USERNAME_AVATAR}</a>
            <div class="titleUn">
                <p>
                  <a id="linkbai"><strong>Bài viết: </strong></a>
                  <span id="myPost" style="color: #00729F;">{NB_MESSAGES}</span>
                </p>
                <p>
                  <a id="lpmv" href="/privmsg?folder=inbox">
                                                <strong>Tin nhắn: </strong>
                                        </a>
                  <span id="numpm" style="color: red">{NB_PM_UNREAD}</span> / <span style="color: green">{NB_PM_READ}</span>
                </p>
            </div>
          </div>
      </div>
    </div>
    <script type="text/javascript">
    function quickava() {
      var a = prompt("Nh\u1eadp URL h\u00ecnh \u1ea3nh v\u00e0o \u0111\u00e2y!\nCh\u1ea5p nh\u1eadn c\u00e1c \u0111\u1ecbnh d\u1ea1ng jpg, jpeg, gif, png, bmp", "");
      ("" != a && null != a) && avatarfmvi(a, $("#numID").text(), $("#userID").text())
    }
    </script>
    <!-- END switch_profile -->
    <!-- BEGIN switch_login_small -->
    <div style="display:none; top: 23px" id="myAvatar" class="module main">
      <div class="main-content clearfix details" style="border:1px solid #666">
              <div class="avatarUn">
                  <a alt="profile" href="/register">
                            <img src="http://i48.servimg.com/u/f48/16/58/89/73/noavat10.jpg" />
                      </a>
            <div class="titleUn">
                <p>
                  <span style="color: #00729F;"><a class="mainmenu" href="/login" rel="nofollow">Đăng nhập</a></span>
                </p>
                <p>
                                      <span style="color: red"><a class="mainmenu" href="/register" rel="nofollow">Đăng ký ngay</a></span>
                </p>
            </div>
          </div>
      </div>
    </div>
    <!-- END switch_login_small -->
    <!-- BEGIN switch_login -->
    <div style="display:none; top: 23px" id="myAvatar" class="module main">
      <div class="main-content clearfix details" style="border:1px solid #666">
              <div class="avatarUn">
                  <a alt="profile" href="/register">
                            <img src="http://i48.servimg.com/u/f48/16/58/89/73/noavat10.jpg" />
                      </a>
            <div class="titleUn">
                <p>
                  <span style="color: #00729F;"><a class="mainmenu" href="/login" rel="nofollow">Đăng nhập</a></span>
                </p>
                <p>
                                      <span style="color: red"><a class="mainmenu" href="/register" rel="nofollow">Đăng ký ngay</a></span>
                </p>
            </div>
          </div>
      </div>
    </div>
    <!-- END switch_login -->

    mod_most_active_starters
    Code:
    <div class="module main">
      <div id="active_starters" class="main-content top-vi" style="display:none">
          <ul class="latest_topics">
            <!-- BEGIN POSTER -->
            <li>
                <span onmouseover="show_tooltip(this, $(this).next().html(), 'FMvi.vn')">
                  {POSTER.NAME}
                </span> 
                                <div style="display:none">{POSTER.NB_TOPICS}</div>
            </li>
            <!-- END POSTER -->
          </ul>
      </div>
    </div>

    Trả lời nhanh
  • Get Over
    Get Over

    Bài gửi 6/1/2013, 8:29 pm Get Over

    mod_most_active_topics
    Code:
    <div class="module main">
      <div class="starsTitle">
          <span style="float: right; padding-right: 10px;">
            <select id="changeviewrep">
                <option value="most_viewed">Xem nhiều nhất</option>
                <option value="most_active">Trả lời nhiều nhất</option>
            </select>
          </span> 
      </div> 
      <div id="most_active" class="main-content viewrep">
          <ul class="latest_topics">
            <!-- BEGIN TOPIC -->
            <li>
                <span class="leftrecent" style="width:175px!important">
                  <a href="{TOPIC.LINK}" onmouseover="show_tooltip(this, $(this).parent().next().html(), 'FMvi.vn')" title="{TOPIC.NAME}">{TOPIC.NAME}</a>
                </span> 
                              <div style="display:none"><div class="rightnumber">{TOPIC.TITLE}</div></div>                                                       
            </li>
            <!-- END TOPIC -->
          </ul>
      </div>
    </div>

    mod_most_viewed_topics

    Code:
    <div class="module main">
      <div id="most_viewed" class="main-content viewrep" style="border-bottom-width: 0pt;">
          <ul class="latest_topics">
            <!-- BEGIN TOPIC -->
            <li>
                <span class="leftrecent" style="width:175px!important">
                  <a onmouseover="show_tooltip(this, $(this).parent().next().html(), 'FMvi.vn')" href="{TOPIC.LINK}" title="{TOPIC.NAME}">{TOPIC.NAME}</a>
                </span>
                              <div style="display:none"><div class="rightnumber">{TOPIC.TITLE}</div></div>                                                       
            </li>
            <!-- END TOPIC -->
          </ul>
      </div>
    </div>

    mod_recent_topics
    Code:
    <div id="fancyrecent" style="display:none">
    <!-- BEGIN classical_row -->
    <div id="recent_topics" class="module main">
      <div class="main-head"><h3>{L_RECENT_TOPICS}</h3></div>
      <div class="main-content">
                <ul>
            <!-- BEGIN recent_topic_row -->
            <li>
                          <span class="nTopics">
                                    <a onmouseover="show_tooltip(this, $(this).next().html(), 'FMvi.vn')" href="{classical_row.recent_topic_row.U_TITLE}">{classical_row.recent_topic_row.L_TITLE}</a>
                                        <span style="display:none"><font color="red">Tiêu đề</font>: {classical_row.recent_topic_row.L_TITLE}<br /><font color="blue">Gửi lúc</font>: {classical_row.recent_topic_row.S_POSTTIME}</span>
                                </span>
                          <span class="nTright">
                                    <!-- BEGIN switch_poster -->
                  <a href="{classical_row.recent_topic_row.switch_poster.U_POSTER}">{classical_row.recent_topic_row.switch_poster.S_POSTER}</a>
                  <!-- END switch_poster -->
                  <!-- BEGIN switch_poster_guest -->
                  {classical_row.recent_topic_row.switch_poster_guest.S_POSTER}
                  <!-- END switch_poster_guest -->
                                </span>
                      </li>
          <!-- END recent_topic_row -->
                </ul>
      </div>
    </div>
    <!-- END classical_row -->
    </div>

    mod_top_post_users_month
    Code:
    <div class="module main">
      <div id="users_month" class="main-content top-vi" style="display:none">
          <ul class="latest_topics">
            <!-- BEGIN POSTER -->
            <li>
                <span onmouseover="show_tooltip(this, $(this).next().html(), 'FMvi.vn')">
                  {POSTER.NAME}
                </span> 
                                <div style="display:none">{POSTER.NB_POSTS}</div>                                                         
            </li>
            <!-- END POSTER -->
          </ul>
      </div>
    </div>

    Trả lời nhanh
  • Get Over
    Get Over

    Bài gửi 6/1/2013, 8:30 pm Get Over

    mod_top_post_users_week
    Code:
    <div class="module main">
      <div id="users_week" class="main-content top-vi" style="display:none">
          <ul class="latest_topics">
            <!-- BEGIN POSTER -->
            <li>
                <span onmouseover="show_tooltip(this, $(this).next().html(), 'FMvi.vn')">
                  {POSTER.NAME}
                </span> 
                                <div style="display:none">{POSTER.NB_POSTS}</div>                                                           
            </li>
            <!-- END POSTER -->
          </ul>
      </div>
    </div>

    mod_top_posters

    Code:
    <div class="module main">
      <div class="starsTitle">
          <span style="float: right; padding-right: 10px;">
            <select id="changeposter">
                <option value="top_posters">Thành viên tích cực nhất</option>
                <option value="active_starters">Tạo chủ đề nhiều nhất</option>
                <option value="users_week">Gửi bài nhiều trong tuần</option>
                <option value="users_month">Gửi bài nhiều trong tháng</option>
            </select>
          </span> 
      </div> 
      <div id="top_posters" class="main-content top-vi">
          <ul class="latest_topics">
            <!-- BEGIN POSTER -->
            <li>
                <span onmouseover="show_tooltip(this, $(this).next().html(), 'FMvi.vn')">
                  {POSTER.NAME}
                </span> 
                                <div style="display:none">{POSTER.NB_POSTS}</div>                                                         
            </li>
            <!-- END POSTER -->
          </ul>
      </div>
    </div>

    portal_body
    Code:
    <!-- BEGIN out_giefmod0 -->
    <table width="100%" cellspacing="0" cellpadding="0" border="0" align="center"><tr><td colspan="3" width="100%">
    <!-- BEGIN saut -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td height="{SPACE_ROW}"></td></tr></table>
    <!-- END saut -->
    {out_giefmod0.MODVAR}</td></tr></table>
    <!-- END out_giefmod0 -->
    <!-- BEGIN simple_header -->
    <table width="100%" class="bodyline"><tr><td>
    <!-- END simple_header -->
    <table width="100%" cellspacing="1" cellpadding="{SPACE_COL}" border="0" align="center"><tr><td height="1" width="{C1SIZE}" class="column"></td><td width="{C2SIZE}"></td><td width="{C3SIZE}" class="column"></td></tr><tr><td colspan="3" width="100%">
    <div id="lastFMvi" class="boxfmvi main">
      <div class="main-head">
          <div class="page-title" style="position: relative;">
                        <h4>
                              <a style="position: absolute; left: -5px; top: 0px;" href="javascript:void(0)" onclick="javascript:searchtopic('/search?search_keywords=&search_author=*_*', '13', '#recentnew ul')"><img src="http://i15.servimg.com/u/f15/16/58/89/73/reload10.png" /></a>
                              <span style="font-family: Trebuchet MS; font-size: 17px ! important; font-variant: small-caps; margin-left: 20px;">Tình hình diễn đàn</span>
                <select style="position: absolute; right: 0px; top: 0px;" id="changeFMvi" onchange="searchtopic('/search?search_keywords=&search_author=*_*&search_where='+this.options[this.selectedIndex].value, '13', '#recentnew ul')"></select>
                                   
                            </h4>
                        <div id="proLastLoad" class="loaddingLike"></div>
          </div>
      </div>
      <div class="main-content" style="margin: 2px; width: 926px;">
      <div class="module main recentWidth" style="border-right: 1px solid #DDDDDD">
                <div class="starsTitle" style="position: relative;">
                        <h3>
                                <p style="position: relative; margin-left: 26px; margin-right: 10px;">
                                        <span class="leftrecent">Bài viết mới</span>
                                        <span style="margin-right: 3px;" class="rightrecent">Người gửi</span>
                                        <span style="margin-right: 3px;" class="viewfmvi">Xem</span>
                                        <span style="margin-right: 3px;" class="repfmvi">Trả lời</span>
                                        <span style="margin-right: 3px;" class="lastcate">Chuyên mục</span>
                                </p>
                        </h3>
                        <div id="proLastLoad" class="loaddingLike" style="display: none; "></div>
                </div>
                <div id="recentnew" class="main-content" style="border-bottom:0 none;border-left:0 none;border-right:1px solid #DDD!important;border-top:0 none;min-height:200px">
                    <ul class="latest_topics" style="padding-left: 20px ! important;">
                    </ul>
                </div>
          </div>
          <!-- BEGIN giefmod0 -->
                {giefmod0.MODVAR}
          <!-- END giefmod0 -->
      </div>
    </div>
    <script type="text/javascript">
    searchtopic('/search?search_keywords=&search_author=*_*', 13, '#recentnew ul');
    $('#changeviewrep').change(function () {
      $('.viewrep').hide();
      $('#' + $(this).val()).show()
    });
    $('#changeposter').change(function () {
      $('.top-vi').hide();
      $('#' + $(this).val()).show()
    });
    $('#most_viewed li:gt(4),#most_active li:gt(4),#top_posters li:gt(4),#active_starters li:gt(4),#users_week li:gt(4),#users_month li:gt(4)').hide();
    var u;
    for (u = 0; u < 20; u++) {
      var numelat = $('.rightnumber:eq(' + u + ')');
      numelat.text(numelat.text().slice(numelat.text().lastIndexOf('-') + 1))
    }
    $(function () {
      $('#changeFMvi').html($('#pun-about select[name=selected_id]').html());
    });
    </script>
    </td></tr></table><table width="100%" cellspacing="{SPACE_COL}" border="0" align="center" class="portal"><tr><td valign="top" width="{C1SIZE}" class="column">
    <!-- BEGIN giefmod1 -->
    {giefmod1.MODVAR}
    <!-- BEGIN saut -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td height="{SPACE_ROW}"></td></tr></table> 
    <!-- END saut -->
    <!-- END giefmod1 --> 
    </td><td valign="top" width="{C2SIZE}">
    <!-- BEGIN giefmod2 -->
    {giefmod2.MODVAR}
    <!-- BEGIN saut -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td height="{SPACE_ROW}"></td></tr></table> 
    <!-- END saut -->
    <!-- END giefmod2 --> 
    </td><td valign="top" width="{C3SIZE}" class="column">
    <!-- BEGIN giefmod3 -->
    {giefmod3.MODVAR}
    <!-- BEGIN saut --> 
    <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td height="{SPACE_ROW}"></td></tr></table> 
    <!-- END saut -->
    <!-- END giefmod3 --> 
    </td></tr></table><table width="100%" cellspacing="1" cellpadding="{SPACE_COL}" border="0" align="center"><tr><td height="1" width="{C1SIZE}" class="column"></td><td width="{C2SIZE}"></td><td width="{C3SIZE}" class="column"></td></tr><tr><td colspan="3" width="100%">
    <!-- BEGIN giefmod4 --> 
    <!-- BEGIN saut -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td height="{SPACE_ROW}"></td></tr></table>
    <!-- END saut -->
    {giefmod4.MODVAR}
    <!-- END giefmod4 --> 
    </td></tr></table>
    <!-- BEGIN simple_header -->
    </td></tr></table>
    <!-- END simple_header -->
    <!-- BEGIN out_giefmod4 -->
    <table width="100%" cellspacing="0" cellpadding="0" border="0" align="center"><tr><td colspan="3" width="100%">
    <!-- BEGIN saut -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td height="{SPACE_ROW}"></td></tr></table>
    <!-- END saut -->
    {out_giefmod4.MODVAR}</td></tr></table>
    <!-- END out_giefmod4 -->
    <!-- BEGIN simple_footer -->
    <br />{ADMIN_LINK}<br />
    <!-- END simple_footer -->

    Trả lời nhanh
  • Get Over
    Get Over

    Bài gửi 6/1/2013, 8:31 pm Get Over

    calendar_body
    Code:
    <div class="pun-crumbs">
      <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a> <strong>» {L_CALENDAR}</strong></p>
    </div>

    <div class="main">
    <form name="_calendar" method="post" action="{S_ACTION}" class="frm-form">
      {CALENDAR_MONTH}
    </form>
    </div>

    calendar_box

    Code:
    <!-- BEGIN _calendar_box -->
      <div class="main-head clearfix">
            <!-- BEGIN switch_not_anonymous -->
          <p class="left-box" style="width: 10px ! important; line-height: 22px"><a href="{_calendar_box.U_PREC}" rel="nofollow"><strong>«</strong></a></p>
          <p class="right-box" style="width: 10px ! important; line-height: 22px"><a href="{_calendar_box.U_NEXT}" rel="nofollow"><strong>»</strong></a></p>
            <!-- END switch_not_anonymous -->
          <fieldset class="frm-set center calendar">
            {_calendar_box.S_MONTH} {_calendar_box.S_YEAR} {_calendar_box.S_FORUM_LIST} <input type="submit" value="{_calendar_box.L_GO}" class="button2" style="margin-top: -5px;" />
          </fieldset>
      </div>


    <div class="main-content">
      <table class="table calendar" cellspacing="0" cellpadding="0">
          <thead>
            <tr>
                <!-- BEGIN _cell -->
                <th style="width: {_calendar_box._cell.WIDTH}%;">{_calendar_box._cell.L_DAY}</th>
                <!-- END _cell -->
            </tr>
          </thead>

          <!-- BEGIN _row -->
          <tbody>
            <tr>
                <!-- BEGIN _cell -->

                <!-- BEGIN switch_filled_no -->
                <td colspan="{_calendar_box._row._cell.SPAN}" style="width: {_calendar_box._row._cell.WIDTH}%;">
                   
                </td>
                <!-- END switch_filled_no -->

                <!-- BEGIN switch_filled -->
                <td class="row2" colspan="{_calendar_box._row._cell.SPAN}" style="width: {_calendar_box._row._cell.WIDTH}%;" valign="top">
                  <p class="row3 center">
                      {_calendar_box._row._cell.U_DATE} 
                  </p>
                  <ul>
                      <!-- BEGIN _event -->
                      <!-- BEGIN switch_event -->
                      <li>{_calendar_box._row._cell.switch_filled._event.switch_event.EVENT_TYPE}<a rel="nofollow" href="{_calendar_box._row._cell.switch_filled._event.switch_event.U_EVENT}" {_calendar_box._row._cell.switch_filled._event.switch_event.OVERVIEW_MESSAGE} class="{_calendar_box._row._cell.switch_filled._event.switch_event.EVENT_CLASS}">{_calendar_box._row._cell.switch_filled._event.switch_event.EVENT_TITLE}</a></li>
                      <!-- END switch_event -->

                      <!-- BEGIN switch_event_no -->
                      <li> </li>
                      <!-- END switch_event_no -->
                      <!-- END _event -->
                  </ul>
                  <p class="right-event">
                      <!-- BEGIN switch_add_event_day -->
                      <a href="{_calendar_box._row._cell.switch_filled.switch_add_event_day.U_CREATE_EVENT}"><img src="{FOLDER_CALENDAR_IMG}" alt="{L_ADD_EVENT}" title="{L_ADD_EVENT}" /></a>
                      <!-- END switch_add_event_day -->
                  </p>
                </td>
                <!-- END switch_filled -->

                <!-- END _cell -->
            </tr>
          </tbody>
          <!-- END _row -->
      </table>
      </div>
    </form>
    <form action="{S_CREATE_EVENT}" method="post">
    <div class="main-foot">
      <fieldset class="center">
          <!-- BEGIN switch_add_event -->
          <input type="submit" value="{L_ADD_EVENT}" class="button2" />
          <!-- END switch_add_event -->
      </fieldset>
    </div>

    <!-- END _calendar_box -->

    Trả lời nhanh
  • Get Over
    Get Over

    Bài gửi 6/1/2013, 8:32 pm Get Over

    groupcp_info_body
    Code:
    <div class="main paged" style="width: 745px; float: left; margin-right: 3px;">
      <form action="{S_GROUPCP_ACTION}" method="post" class="frm-form">

      <div class="main-head">
          <h1 class="page-title">{L_GROUP_INFORMATION}</h1>
      </div>

      <div class="main-content">
          <fieldset class="frm-set">
            <dl>
                <dt><label>{L_GROUP_NAME}:</label></dt>
                <dd><strong>{GROUP_NAME}</strong></dd>
            </dl>
            <dl>
                <dt><label>{L_GROUP_DESC}:</label></dt>
                <dd>{GROUP_DESC}</dd>
            </dl>
            <dl>
                <dt><label>{L_GROUP_MEMBERSHIP}:</label></dt>
                <dd>{GROUP_DETAILS} 
                  <!-- BEGIN switch_subscribe_group_input -->
                  <input type="submit" name="joingroup" value="{L_JOIN_GROUP}" />
                  <!-- END switch_subscribe_group_input -->
                  <!-- BEGIN switch_unsubscribe_group_input -->
                  <input type="submit" name="unsub" value="{L_UNSUBSCRIBE_GROUP}" />
                  <!-- END switch_unsubscribe_group_input -->
                </dd>
            </dl>
            <!-- BEGIN switch_mod_option -->
            <dl>
                <dt><label>{L_GROUP_TYPE}:</label></dt>
                <dd><label><input type="radio" name="group_type" value="{S_GROUP_OPEN_TYPE}" {S_GROUP_OPEN_CHECKED} {S_GROUP_OPEN_DISABLED} />{L_GROUP_OPEN}</label>
                  <label><input type="radio" name="group_type" value="{S_GROUP_CLOSED_TYPE}" {S_GROUP_CLOSED_CHECKED} /> {L_GROUP_CLOSED}</label>
                  <label><input type="radio" name="group_type" value="{S_GROUP_HIDDEN_TYPE}" {S_GROUP_HIDDEN_CHECKED} /> {L_GROUP_HIDDEN}</label>
                  <label><input type="submit" name="groupstatus" value="{L_UPDATE}" /></label>
                </dd>
            </dl>
            {S_HIDDEN_FIELDS}
            <!-- END switch_mod_option -->
          </fieldset>
      </div>
      </form>

      <form action="{S_GROUPCP_ACTION}" method="post" name="post" class="frm-form">
            <a name="fmvimem"></a>
                <div class="main-head">
            <h2>{GROUP_NAME}</h2>
          </div>

          <div class="main-content frm">
            <div class="frm-form">
            <fieldset class="frm-set" style="margin: -3px;">
            <div class="memberM" style="width: 328px;">
                <p class="nameM" style="background-color: #000">
                  <a class="gen" href="{U_MOD_VIEWPROFILE}">{MOD_USERNAME}</a>
                </p> 
                                <span class="linkM">{MOD_PM_IMG}{MOD_WWW_IMG}{MOD_EMAIL_IMG}</span>
            </div>
            <!-- BEGIN member_row -->
            <div class="memberM">
                <p class="nameM">
                  <a class="gen" href="{member_row.U_VIEWPROFILE}">{member_row.USERNAME}</a>
                </p> 
                                <span class="linkM">{member_row.PM_IMG}{member_row.WWW_IMG}{member_row.EMAIL_IMG}<!-- BEGIN switch_mod_option --><input type="checkbox" name="members[]" value="{member_row.USER_ID}" style="margin: 0px 5px; float: right;" /><!-- END switch_mod_option --></span>
                <p class="avatarM">{member_row.U_VIEWPROFILE}</p>
            </div>
            <!-- END member_row -->
                            </fieldset>
            <div class="frm-buttons full clearfix">
                <!-- BEGIN switch_mod_option -->
                  <!-- BEGIN switch_grp_admin -->
                      <p style="padding:5px 0"><strong>{L_ADMIN_GRP_EXPLAIN}</strong></p>
                  <!-- END switch_grp_admin -->
                  <p class="left"><input class="inputbox" type="text" id="username" name="username" /> 
                   <input type="submit" name="add" value="{L_ADD_MEMBER}" /> 
                   <input type="button" id="find_user" value="{L_FIND_USERNAME}" />
                  </p>
                  <p class="right"><input type="submit" name="remove" value="{L_REMOVE_SELECTED}" />{S_HIDDEN_FIELDS}</p>
                <!-- END switch_mod_option -->
            </div>
            </div>
          </div>

          {PENDING_USER_BOX}
      </form>

      <div class="main-head greenBgT">
                <p class="paging memlist" style="margin: 0px;">{PAGINATION}</p>
                <h1 style="float: right">
                </h1>
      </div>

    </div>
    <div style="width: 180px; float: left; margin-top: 1em;">
        <div class="module main">
            <div class="main-head">
                <div class="h3">Hòm thư cá nhân</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_inbox.png" />
                    <a href="/privmsg?folder=inbox"> Hộp thư đến</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_sentbox.png" />
                    <a href="/privmsg?folder=sentbox"> Hộp thư đi</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_outbox.png" />
                    <a href="/privmsg?folder=outbox"> Thư đã gửi</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_savebox.png" />
                    <a href="/privmsg?folder=savebox"> Hộp lưu trữ</a>
                </p>
            </div>
        </div>
        <div class="module main" style="margin-top: 1em! important;">
            <div class="main-head">
                <div class="h3">Tùy chỉnh</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/user10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=informations"> Thông tin cá nhân</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/cog10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=preferences"> Quyền riêng tư</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/image10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=avatars"> Ảnh đại diện</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/text_s10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=signature"> Tạo chữ ký</a>
                </p>
            </div>
        </div>
        <div class="module main" style="margin-top: 1em! important;">
            <div class="main-head">
                <div class="h3">Khác</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://i48.servimg.com/u/f48/16/58/89/73/user-g10.png" />
                    <a href="/groups"> Hội nhóm diễn đàn</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/group10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=friendsfoes"> Danh sách bạn bè</a>
                </p>
                <p>
                    <img src="http://i48.servimg.com/u/f48/16/58/89/73/facebo10.jpg" />
                    <a href="/profile?mode=editprofile&page_profil=facebook"> Kết nối facebook</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/eye10.png" />
                    <a href="/search?search_id=watchsearch"> Theo dõi bài viết</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/heart10.png" />
                    <a href="/search?search_id=favouritesearch"> Bài viết ưa thích</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/page_e10.png" />
                    <a href="/search?search_id=draftsearch"> Dự thảo</a>
                </p>
            </div>
        </div>
    </div>
    </div>

    <!-- BEGIN switch_mod_option -->
    <div id="find_username" class="jqmWindow"></div>
    <script src="{JS_DIR}jquery/jqmodal/jqmodal.js" type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[
      $(document).ready(function(){
          function find_username(fieldname) {
            $.get('{U_SEARCH_USER}&fieldname=' + fieldname + '&time=' + timestamp(), '',
                function(data){
                  $('#find_username').html(data).jqmShow();
                  $('.jqmOverlay').bgiframe();
                  $('#find_username').bgiframe();
                });
            return false;
          }
          $('#find_user').click(function(){
            return find_username('username');
          });
          $('#find_username').jqm({toTop: true});
      });
    //]]>
    </script>
    <!-- END switch_mod_option -->

    groupcp_user_body

    Code:
    <div class="main paged" style="width: 745px; position: relative; min-height: 472px;">
    <!-- BEGIN switch_groups_joined -->
      <!-- BEGIN switch_groups_member -->
      <div class="main-head">
          <h1 class="page-title">{L_GROUP_MEMBERSHIP_DETAILS}</h1>
      </div>

      <div class="main-content">
          <fieldset class="frm-set">
            <dl>
                <dt><label>{L_YOU_BELONG_GROUPS}</label></dt>
                <dd>{GROUP_MEMBER_SELECT_NEW}</dd>
            </dl>
          </fieldset>
      </div>
      <!-- END switch_groups_member -->

      <!-- BEGIN switch_groups_pending -->
      <div class="main-head">
          <h2>{L_USERGROUPS}</h2>
      </div>

      <div class="main-content">
          <fieldset class="frm-set">
            <dl>
                <dt><label>{L_PENDING_GROUPS}</label></dt>
                <dd>{GROUP_PENDING_SELECT_NEW}</dd>
            </dl>
          </fieldset>
      </div>
      <!-- END switch_groups_pending -->
    <!-- END switch_groups_joined -->

    <!-- BEGIN switch_groups_remaining -->
      <form action="{S_USERGROUP_ACTION}" method="get" class="frm-form">
      <div class="main-head">
          <h2>{L_JOIN_A_GROUP}</h2>
      </div>

      <div class="main-content">
          <fieldset class="frm-set">
            <dl>
                <dt><label>{L_SELECT_A_GROUP}</label></dt>
                <dd>{GROUP_LIST_SELECT} <input type="submit" value="{L_VIEW_INFORMATION}" />{S_HIDDEN_FIELDS}</dd>
            </dl>
          </fieldset>
      </div>
      </form>
    <!-- END switch_groups_remaining -->
    <div style="position: absolute; width: 180px; top: -1px; right: -184px">
        <div class="module main">
            <div class="main-head">
                <div class="h3">Hòm thư cá nhân</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_inbox.png" />
                    <a href="/privmsg?folder=inbox"> Hộp thư đến</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_sentbox.png" />
                    <a href="/privmsg?folder=sentbox"> Hộp thư đi</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_outbox.png" />
                    <a href="/privmsg?folder=outbox"> Thư đã gửi</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_savebox.png" />
                    <a href="/privmsg?folder=savebox"> Hộp lưu trữ</a>
                </p>
            </div>
        </div>
        <div class="module main" style="margin-top: 1em! important;">
            <div class="main-head">
                <div class="h3">Tùy chỉnh</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/user10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=informations"> Thông tin cá nhân</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/cog10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=preferences"> Quyền riêng tư</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/image10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=avatars"> Ảnh đại diện</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/text_s10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=signature"> Tạo chữ ký</a>
                </p>
            </div>
        </div>
        <div class="module main" style="margin-top: 1em! important;">
            <div class="main-head">
                <div class="h3">Khác</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://i48.servimg.com/u/f48/16/58/89/73/user-g10.png" />
                    <a href="/groups"> Hội nhóm diễn đàn</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/group10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=friendsfoes"> Danh sách bạn bè</a>
                </p>
                <p>
                    <img src="http://i48.servimg.com/u/f48/16/58/89/73/facebo10.jpg" />
                    <a href="/profile?mode=editprofile&page_profil=facebook"> Kết nối facebook</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/eye10.png" />
                    <a href="/search?search_id=watchsearch"> Theo dõi bài viết</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/heart10.png" />
                    <a href="/search?search_id=favouritesearch"> Bài viết ưa thích</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/page_e10.png" />
                    <a href="/search?search_id=draftsearch"> Dự thảo</a>
                </p>
            </div>
        </div>
    </div>
    </div>

    Trả lời nhanh
  • Get Over
    Get Over

    Bài gửi 6/1/2013, 8:33 pm Get Over

    posting_body - phần 1
    Code:
    <script src="{JS_DIR}extendedview.js" type="text/javascript"></script>
    <script type="text/javascript">
    var hltab = "Tabs: [table class=fmvitab][tr][td][list][*][b]text[/b]text[*][b]text[/b]text[/list][/td][/tr][/table]";
    var hlcolumn = "Column: [table class=fmvicolumn][tr][td]text[/td][td]text[/td][/tr][/table]";
    var hln = "Random number: [rand]number,number[/rand] or [rand]number[/rand]";
    var hlh = "BBCode Guide";
    var hls = "Search user link";
    </script>
    {ERROR_BOX}

    <div class="main">
    <form action="{S_POST_ACTION}" class="frm-form" method="post" name="post" onsubmit="return vB_Editor['text_editor'].prepare_submit(0,0)" enctype="multipart/form-data">

    {POST_PREVIEW_BOX}

    <!-- BEGIN switch_forum_rules -->
    <div id="forum_rules">
      <div class="main-head clearfix">
          <p class="h2">{L_FORUM_RULES}</p>
      </div>
      <table class="main-content frm">
          <tr>
            <!-- BEGIN switch_forum_rule_image -->
            <td class="logo">
                <img src="{RULE_IMG_URL}" />
            </td>
            <!-- END switch_forum_rule_image -->
            <td class="rules entry-content">
                {RULE_MSG}
            </td>
          </tr>
      </table>
    </div>
    <!-- END switch_forum_rules -->

    <!-- BEGIN switch_quote_limit -->
    <div class="main">
      <div class="main-head"></div>
      <div class="main-content warning">
          <p class="center">{switch_quote_limit.L_QUOTE_LIMIT_WARNING}</p>
          <br />
      </div>
    </div>
    <!-- END switch_quote_limit -->

    <div class="main-head clearfix">
      <p class="h2"><!-- BEGIN switch_post_a -->{L_POST_A}<!-- END switch_post_a --></p>
      <p class="options">
          <a class="exthelp" title="{L_HELP}" href="http://{URL_FORUM}{U_FAQ}" target="_blank">{L_BBCODE_GUIDE}</a>
      </p>
    </div>

    <div class="main-content frm">
      <fieldset class="frm-set multi">
          <!-- BEGIN switch_username_select -->
          <dl>
            <dt><label>{L_USERNAME}</label></dt>
            <dd><input type="text" name="username"  maxlength="8" value="{USERNAME}" /></dd>
          </dl>
          <!-- END switch_username_select -->

          <!-- BEGIN switch_reasons -->
          <dl>
            <dt><label>{L_REASON}</label></dt>
            <dd>{REASON_NEW}</dd>
          </dl>
          <!-- END switch_reasons -->

          <!-- BEGIN switch_privmsg -->
          <dl>
            <dt><label>{L_USERNAME}</label></dt>
            <dd>
                <!-- BEGIN switch_username -->
                <input style="margin-top:2px" type="text" name="username[]" value="{switch_privmsg.switch_username.USERNAME}" /><br />
                <!-- END switch_username -->
                <input style="margin-top:2px" type="text" id="username" name="username[]" value="{USERNAME}" tabindex="1" /> 
                <img id="add_username" src="{ADD_USERNAME_IMG}" class="selectHover" alt="" /> 
                <input type="button" id="find_user" value="{L_FIND_USERNAME}" />
            </dd>
          </dl>
          <!-- BEGIN switch_privmsg_friend -->
          <dl>
            <dt><label>{switch_privmsg.switch_privmsg_friend.L_OR_FRIEND}</label></dt>
            <dd>{switch_privmsg.switch_privmsg_friend.FRIEND_PM}</dd>
          </dl>
          <!-- END switch_privmsg_friend -->
          <!-- BEGIN switch_privmsg_group -->
          <dl>
            <dt><label>{switch_privmsg.switch_privmsg_group.L_OR_GROUP}</label></dt>
            <dd>{switch_privmsg.switch_privmsg_group.MASS_PM}</dd>
          </dl>
          <!-- END switch_privmsg_group -->
          <!-- END switch_privmsg -->

          <!-- BEGIN switch_icon_checkbox -->
          <dl>
            <dt style="padding-top:14px"><label>{L_ICON_TITLE}</label></dt>
            <dd>
                <!-- BEGIN row -->
                <!-- BEGIN cell -->
                <label style="vertical-align:bottom">

                  <input type="radio" name="post_icon" tabindex="2" value="{switch_icon_checkbox.row.cell.ICON_ID}" {switch_icon_checkbox.row.cell.ICON_CHECKED} id="post_icon_{switch_icon_checkbox.row.cell.ICON_ID}" /> 
                  <span onclick="document.forms['post'].post_icon_{switch_icon_checkbox.row.cell.ICON_ID}.checked=true">{switch_icon_checkbox.row.cell.ICON_IMG}</span>
                </label>  
                <!-- END cell -->
                <!-- END row -->
            </dd>
          </dl>
          <!-- END switch_icon_checkbox -->

          <!-- BEGIN switch_subject -->
          <dl>
            <dt><label>{L_SUBJECT}</label></dt>
            <dd class="frm-input">
                <input type="text" name="subject" value="{SUBJECT}" maxlength="{TOPIC_TITLE_MAXLENGTH}" title="{TOPIC_TITLE_LENGTH_EXPLAIN}" onkeypress="if (event.keyCode==13){return false}" />

                <!-- BEGIN switch_subject_color -->
                <script type="text/javascript">
                //<![CDATA[
                input = document.getElementsByName('subject');
                //]]>
                </script>
                <select name="topic_color" onchange="input[0].style.color = topic_color.value" style="margin-left:10px">

                {switch_subject.switch_subject_color.TOPIC_TITLE_COLOR_OPTIONS}

                </select>
                <script type="text/javascript">
                //<![CDATA[
                input[0].style.color = '{switch_subject.switch_subject_color.TOPIC_TITLE_COLOR_DEFAULT}';
                //]]>
                </script>
                <!-- END switch_subject_color -->
            </dd>
          </dl>
          <!-- END switch_subject -->

          <!-- BEGIN switch_description -->
          <dl>
            <dt><label>{L_DESCRIPTION}</label></dt>
            <dd class="frm-input">
                <input type="text" name="description" value="{DESCRIPTION}" maxlength="{TOPIC_DESCRIPTION_MAXLENGTH}" onkeypress="if (event.keyCode==13){return false}" />
            </dd>
          </dl>
          <!-- END switch_description -->

          <div id="text_editor_select_controls">
            <div style="visibility:hidden" class="select" id="fmvidegree">
                <p><img src="{PATH_IMG_FA}wysiwyg/width.png" alt="{L_WIDTH}" title="{L_WIDTH}" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox medium" id="degree_w" maxlength="3" style="width:20px" title="Width" onkeypress="if (event.keyCode==13){ fmvidegree();selectWysiwyg(this,'fmvidegree');return false}" />  
                                  <img src="{PATH_IMG_FA}wysiwyg/height.png" alt="{L_HEIGHT}" title="{L_HEIGHT}" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox medium" id="degree_h" maxlength="3" style="width:20px" title="Height" onkeypress="if (event.keyCode==13){ fmvidegree();selectWysiwyg(this,'fmvidegree');return false}" />  
                                <img src="http://i12.servimg.com/u/f12/17/70/81/78/rotate10.png" alt="Degree" title="Degree" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox medium" id="degree_d" maxlength="4" style="width:27px" title="Degree" onkeypress="if (event.keyCode==13){ fmvidegree();selectWysiwyg(this,'fmvidegree');return false}" />  </p>
                <p style="text-align:center"><input type="button" class="button2" onclick="fmvidegree();selectWysiwyg(this,'fmvidegree')" value="{L_OK}" /></p>
            </div>
            <div style="display:inline!important" id="text_editor_select_controls">
                <div style="visibility:hidden" class="select" id="notes">
                  <button onclick="bbfontstyle('[table class=noteclassic][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false">
                      <img src="/users/2611/10/63/87/album/note10.png" />Classic note</button>
                  <button onclick="bbfontstyle('[table class=notetip][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false">
                      <img src="/users/2611/10/63/87/album/tip10.png" />Tip note</button>
                  <button onclick="bbfontstyle('[table class=notewarning][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false">
                      <img src="/users/2611/10/63/87/album/warn10.png" />Warning note</button>
                  <button onclick="bbfontstyle('[table class=noteimportant][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false">
                      <img src="/users/2611/10/63/87/album/imp10.png" />Important note</button>
                  <button onclick="bbfontstyle('[table class=notehelp][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false">
                      <img src="/users/2611/10/63/87/album/help10.png" />Help note</button>
                        <hr />
                  <button onclick="bbfontstyle('[table class=noteinfo][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false">
                      <img src="http://i48.servimg.com/u/f48/16/28/30/49/rsz_2k11.png" />Info note</button>
                  <button onclick="bbfontstyle('[table class=notesuccess][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false">
                      <img src="http://i48.servimg.com/u/f48/16/28/30/49/rsz_2k13.png" />Success note</button>
                  <button onclick="bbfontstyle('[table class=noteerror][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false">
                      <img src="http://i48.servimg.com/u/f48/16/28/30/49/rsz_2k12.png" />Error note</button>
                  <button onclick="bbfontstyle('[table class=notevalidation][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false">
                      <img src="http://i48.servimg.com/u/f48/16/28/30/49/rsz_kn10.png" />Validation note</button>
                  <button onclick="bbfontstyle('[table class=notesuggest][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false">
                                  <img src="http://i48.servimg.com/u/f48/16/28/30/49/rsz_2k10.png" />Suggest note</button>
                </div>
            </div>
            <div style="visibility:hidden" class="select" id="tiplink">
                <p><img src="http://2img.net/i/fa/wysiwyg/font.png" alt="tooltip" title="tooltip" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox" style="width:150px" id="stooltiplink" title="tooltip" onkeypress="if (event.keyCode==13){fmvitiplink();selectWysiwyg(this,'tiplink');return false}" /></p>
                <p style="text-align:center"><input type="button" class="button2" onclick="fmvitiplink();selectWysiwyg(this,'tiplink')" value="{L_OK}" /></p>
            </div>
            <div style="visibility:hidden" class="select" id="ulink">
                <p><img src="http://2img.net/i/fa/wysiwyg/font.png" alt="Search user" title="Search user" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox" style="width:150px" id="sUser" title="Search user" onkeypress="if (event.keyCode==13){fmvisuer();selectWysiwyg(this,'ulink');return false}" /></p>
                <p style="text-align:center"><input type="button" class="button2" onclick="fmvisuer();selectWysiwyg(this,'ulink')" value="{L_OK}" /></p>
            </div>
            <div style="visibility:hidden" class="select" id="table_gui" style="display:''">
                <p><img src="{PATH_IMG_FA}wysiwyg/height.png" alt="{L_HEIGHT}" title="{L_HEIGHT}" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox medium" id="table_gui_lines" maxlength="3" style="width:20px" title="{L_ROWS}" onkeypress="if (event.keyCode==13){ bbstyle_table();selectWysiwyg(this,'table_gui');return false}" /> x <img src="{PATH_IMG_FA}wysiwyg/width.png" alt="{L_WIDTH}" title="{L_WIDTH}" style="vertical-align:middle" /> 
                <input type="text" autocomplete="off" class="inputbox medium" id="table_gui_cols" maxlength="3" style="width:20px" title="{L_COLS}" onkeypress="if (event.keyCode==13){ bbstyle_table();selectWysiwyg(this,'table_gui');return false}" />  <input type="button" class="button2" onclick="bbstyle_table();selectWysiwyg(this,'table_gui')" value="{L_OK}" /></p>
                <p style="text-align:center;display:''">
                  <button class="button2" onclick="bbstyle(54)" id="addbbcode54" onmouseover="helpline('tab')" type="button" id="addbbcode54" accesskey="" title="{L_BBCODE_TAB}"><img src="{PATH_IMG_FA}wysiwyg/table_add.png" alt="{L_BBCODE_TAB}" style="display:''" /></button> 
                  <button class="button2" onclick="bbstyle(58)" id="addbbcode58" onmouseover="helpline('tab')" type="button" id="addbbcode54" accesskey="" title="{L_BBCODE_TAB_ROW}"><img src="{PATH_IMG_FA}wysiwyg/table_row_insert.png" alt="{L_BBCODE_TAB_ROW}" style="display:''" /></button> 
                  <button class="button2" onclick="bbstyle(60)" id="addbbcode60" onmouseover="helpline('tab')" type="button" id="addbbcode54" accesskey="" title="{L_BBCODE_TAB_CELL}"><img src="{PATH_IMG_FA}wysiwyg/table_add_cell.png" alt="{L_BBCODE_TAB_CELL}" style="display:''" /></button> 
                </p>
            </div>
            <div style="visibility:hidden" class="select" id="img">
                <p><img src="{PATH_IMG_FA}wysiwyg/link.png" alt="{L_URL}" title="{L_URL}" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox" style="width:150px" id="img_url" title="{L_URL}" onkeypress="if (event.keyCode==13){constructBBcode('img','','img_url');selectWysiwyg(this,'img');return false}" /></p>
                <p style="text-align:center"><input type="button" class="button2" onclick="constructBBcode('img','','img_url');selectWysiwyg(this,'img')" value="{L_OK}" /></p>
            </div>
            <div style="visibility:hidden" class="select" id="url">
                <p><img src="{PATH_IMG_FA}wysiwyg/link.png" alt="{L_URL}" title="{L_URL}" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox" style="width:150px" id="link_url" title="{L_URL}" onkeypress="if (event.keyCode==13){constructBBcode('url',new Array('link_url'),'name_url');selectWysiwyg(this,'url');return false}" /></p>
                <p><img src="{PATH_IMG_FA}wysiwyg/link_text.png" alt="{L_LABEL}" title="{L_LABEL}" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox" style="width:150px" id="name_url" title="{L_LABEL}" onkeypress="if (event.keyCode==13){constructBBcode('url',new Array('link_url'),'name_url');selectWysiwyg(this,'url');return false}" /></p>
                <p style="text-align:center"><input type="button" class="button2" onclick="constructBBcode('url',new Array('link_url'),'name_url');selectWysiwyg(this,'url')" value="{L_OK}" /></p>
            </div>
            <div style="visibility:hidden" class="select" id="video">
                <p style="text-align:center"><a href="http://youtube.com/" target="_blank"><img src="{PATH_IMG_FA}wysiwyg/logo_youtube.gif" alt="YouTube" title="YouTube" style="vertical-align:middle" />YouTube</a>  <a href="http://www.dailymotion.com/" target="_blank"><img src="{PATH_IMG_FA}wysiwyg/dailymotion.gif" alt="Dailymotion" title="Dailymotion" style="vertical-align:middle" />Dailymotion</a>  <a href="http://www.video.google.com/" target="_blank"><img src="{PATH_IMG_FA}wysiwyg/googlevideo.gif" alt="Google Video" title="Google Video" style="vertical-align:middle" />Google Video</a></p>
                <p id="inv_url" class="gensmall" style="text-align:center"></p>
                <p><img src="{PATH_IMG_FA}wysiwyg/link.png" alt="{L_URL}" title="{L_URL}" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox" style="width:300px" id="video_url" title="{L_URL}" onkeypress="if (event.keyCode==13){BBcodeVideo('video_url');return false}" /></p>
                <p style="text-align:center"><input type="button" class="button2" onclick="BBcodeVideo('video_url')" value="{L_OK}" /></p>
            </div>
            <div style="visibility:hidden" class="select" id="flash">
                <p><img src="{PATH_IMG_FA}wysiwyg/width.png" alt="{L_WIDTH}" title="{L_WIDTH}" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox" style="width:25px" id="flash_width" title="{L_WIDTH}" onkeypress="if (event.keyCode==13){constructBBcode('flash',new Array('flash_width','flash_height'),'flash_url');selectWysiwyg(this,'flash');return false}" />
                 x <img src="{PATH_IMG_FA}wysiwyg/height.png" alt="{L_HEIGHT}" title="{L_HEIGHT}" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox" style="width:25px" id="flash_height" title="{L_HEIGHT}" onkeypress="if (event.keyCode==13){constructBBcode('flash',new Array('flash_width','flash_height'),'flash_url');selectWysiwyg(this,'flash');return false}" />  px</p>
                <p><img src="{PATH_IMG_FA}wysiwyg/link.png" alt="{L_URL}" title="{L_URL}" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox" style="width:150px" id="flash_url" title="{L_URL}" onkeypress="if (event.keyCode==13){constructBBcode('flash',new Array('flash_width','flash_height'),'flash_url');selectWysiwyg(this,'flash');return false}" /></p>
                <p style="text-align:center"><input type="button" class="button2" onclick="constructBBcode('flash',new Array('flash_width','flash_height'),'flash_url');selectWysiwyg(this,'flash')" value="{L_OK}" /></p>
            </div>
            <div style="visibility:hidden" class="select" id="px">
                <button style="font-size:7px" onclick="bbfontstyle('[size=7]','[/size]');selectWysiwyg(this,'px');return false">{L_FONT_TINY}</button><br />
                <button style="font-size:9px" onclick="bbfontstyle('[size=9]','[/size]');selectWysiwyg(this,'px');return false">{L_FONT_SMALL}</button><br />
                <button style="font-size:12px" onclick="bbfontstyle('[size=12]','[/size]');selectWysiwyg(this,'px');return false">{L_FONT_NORMAL}</button><br />
                <button style="font-size:18px" onclick="bbfontstyle('[size=18]','[/size]');selectWysiwyg(this,'px');return false">{L_FONT_LARGE}</button><br />
                <button style="font-size:24px" onclick="bbfontstyle('[size=24]','[/size]');selectWysiwyg(this,'px');return false">{L_FONT_HUGE}</button><br />
            </div>
            <div style="visibility:hidden" class="select" id="servimg_upload_gui"></div>
            <div style="visibility:hidden" class="select" id="color">
                <button style="color:darkred" onclick="bbfontstyle('[color=darkred]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_DARK_RED}</button><br />
                <button style="color:red" onclick="bbfontstyle('[color=red]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_RED}</button><br />
                <button style="color:orange" onclick="bbfontstyle('[color=orange]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_ORANGE}</button><br />
                <button style="color:brown" onclick="bbfontstyle('[color=brown]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_BROWN}</button><br />
                <button style="color:yellow" onclick="bbfontstyle('[color=yellow]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_YELLOW}</button><br />
                <button style="color:green" onclick="bbfontstyle('[color=green]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_GREEN}</button><br />
                <button style="color:olive" onclick="bbfontstyle('[color=olive]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_OLIVE}</button><br />
                <button style="color:cyan" onclick="bbfontstyle('[color=cyan]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_CYAN}</button><br />
                <button style="color:blue" onclick="bbfontstyle('[color=blue]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_BLUE}</button><br />
                <button style="color:darkblue" onclick="bbfontstyle('[color=darkblue]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_DARK_BLUE}</button><br />
                <button style="color:indigo" onclick="bbfontstyle('[color=indigo]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_INDIGO}</button><br />
                <button style="color:violet" onclick="bbfontstyle('[color=violet]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_VIOLET}</button><br />
                <button style="color:white" onclick="bbfontstyle('[color=white]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_WHITE}</button><br />
                <button style="color:black" onclick="bbfontstyle('[color=black]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_BLACK}</button><br />
            </div>
            <div style="visibility:hidden" class="select" id="font">
                <button style="font-family:Arial" onclick="bbfontstyle('[font=Arial]','[/font]');selectWysiwyg(this,'font');return false">Arial</button><br />
                <button style="font-family:'Arial Black'" onclick="bbfontstyle('[font=Arial Black]','[/font]');selectWysiwyg(this,'font');return false">Arial Black</button><br />
                <button style="font-family:'Comic Sans Ms'" onclick="bbfontstyle('[font=Comic Sans Ms]','[/font]');selectWysiwyg(this,'font');return false">Comic Sans Ms</button><br />
                <button style="font-family:'Courier New'" onclick="bbfontstyle('[font=Courier New]','[/font]');selectWysiwyg(this,'font');return false">Courier New</button><br />
                <button style="font-family:Georgia" onclick="bbfontstyle('[font=Georgia]','[/font]');selectWysiwyg(this,'font');return false">Georgia</button><br />
                <button style="font-family:'Impact'" onclick="bbfontstyle('[font=Impact]','[/font]');selectWysiwyg(this,'font');return false">Impact</button><br />
                <button style="font-family:'Times New Roman'" onclick="bbfontstyle('[font=Times New Roman]','[/font]');selectWysiwyg(this,'font');return false">Times New Roman</button><br />
                <button style="font-family:'Trebuchet MS'" onclick="bbfontstyle('[font=Trebuchet MS]','[/font]');selectWysiwyg(this,'font');return false">Trebuchet MS</button><br />
                <button style="font-family:Verdana" onclick="bbfontstyle('[font=Verdana]','[/font]');selectWysiwyg(this,'font');return false">Verdana</button><br />
                <!-- BEGIN switch_specials_fonts -->
                {switch_specials_fonts.OTHERS_SPECIFICS_FONTS}
                <!-- END switch_specials_fonts -->
            </div>
            <!-- BEGIN switch_roll_dice_old -->
            <div style="visibility:hidden" class="select" id="dices">
                <!-- BEGIN row_replace -->
                <button onclick="bbfontstyle('[roll=&quot;{switch_roll_dice_old.row_replace.DICE_NAME}&quot;]','[/roll]');selectWysiwyg(this,'dices');return false">{switch_roll_dice_old.row_replace.DICE_NAME}</button><br />
                <!-- END row_replace -->
            </div>
            <!-- END switch_roll_dice_old -->       
          </div>

    Trả lời nhanh
  • Get Over
    Get Over

    Bài gửi 6/1/2013, 8:33 pm Get Over

    posting_body - phần 2
    Code:
          <div id="text_editor_controls">
            <div id="format-buttons" style="margin:0">
                <span id="text_edit" style="display:none">
                  <button class="button2" onclick="bbstyle(0)" onmouseover="helpline('b')" type="button" id="addbbcode0" accesskey="b" title="{L_BBCODE_B}"><img src="{PATH_IMG_FA}wysiwyg/text_bold.png" alt="{L_BBCODE_B}" /></button> 
                  <button class="button2" onclick="bbstyle(2)" onmouseover="helpline('i')" type="button" id="addbbcode2" accesskey="i" title="{L_BBCODE_I}"><img src="{PATH_IMG_FA}wysiwyg/text_italic.png" alt="{L_BBCODE_I}" /></button> 
                  <button class="button2" onclick="bbstyle(4)" onmouseover="helpline('u')" type="button" id="addbbcode4" accesskey="u" title="{L_BBCODE_U}"><img src="{PATH_IMG_FA}wysiwyg/text_underline.png" alt="{L_BBCODE_U}" /></button> 
                  <button class="button2" onclick="bbstyle(34)" onmouseover="helpline('x')" type="button" id="addbbcode34" accesskey="x" title="{L_BBCODE_X}"><img src="{PATH_IMG_FA}wysiwyg/text_strikethrough.png" alt="{L_BBCODE_X}" /></button> 
                  <img src="{PATH_IMG_FA}wysiwyg/separator.png" style="vertical-align:middle" /> 
                  <button class="button2" onclick="bbstyle(52)" onmouseover="helpline('m')" type="button" id="addbbcode52" accesskey="m" title="{L_BBCODE_LEFT}"><img src="{PATH_IMG_FA}wysiwyg/text_align_left.png" alt="{L_BBCODE_LEFT}" /></button> 
                  <button class="button2" onclick="bbstyle(30)" onmouseover="helpline('t')" type="button" id="addbbcode30" accesskey="t" title="{L_BBCODE_T}"><img src="{PATH_IMG_FA}wysiwyg/text_align_center.png" alt="{L_BBCODE_T}" /></button> 
                  <button class="button2" onclick="bbstyle(32)" onmouseover="helpline('g')" type="button" id="addbbcode32" accesskey="g" title="{L_BBCODE_G}"><img src="{PATH_IMG_FA}wysiwyg/text_align_right.png" alt="{L_BBCODE_G}" /></button> 
                  <button class="button2" onclick="bbstyle(46)" onmouseover="helpline('jt')" type="button" id="addbbcode46" accesskey="jt" title="{L_BBCODE_J}"><img src="{PATH_IMG_FA}wysiwyg/text_align_justify.png" alt="{L_BBCODE_J}" /></button> 
                  <img src="{PATH_IMG_FA}wysiwyg/separator.png" style="vertical-align:middle" /> 
                  <button class="button2" onclick="bbstyle(10)" onmouseover="helpline('l')" type="button" id="addbbcode10" accesskey="l" title="{L_BBCODE_L}"><img src="{PATH_IMG_FA}wysiwyg/text_list_bullets.png" alt="{L_BBCODE_L}" /></button> 
                  <button class="button2" onclick="bbstyle(12)" onmouseover="helpline('o')" type="button" id="addbbcode12" accesskey="o" title="{L_BBCODE_O}"><img src="{PATH_IMG_FA}wysiwyg/text_list_numbers.png" alt="{L_BBCODE_O}" /></button> 
                  <button class="button2" onclick="bbfontstyle('[hr]','')" onmouseover="helpline('hr')" type="button" title="{L_BBCODE_HR}"><img src="{PATH_IMG_FA}wysiwyg/text_horizontalrule.png" alt="{L_BBCODE_HR}" /></button> 
                  <img src="{PATH_IMG_FA}wysiwyg/separator.png" style="vertical-align:middle" /> 
                  <button class="button2" onclick="bbstyle(6)" onmouseover="helpline('q')" type="button" id="addbbcode6" accesskey="q" title="{L_BBCODE_Q}"><img src="{PATH_IMG_FA}wysiwyg/comments.png" alt="{L_BBCODE_Q}" /></button> 
                  <button class="button2" onclick="bbstyle(8)" onmouseover="helpline('c')" type="button" id="addbbcode8" accesskey="c" title="{L_BBCODE_C}"><img src="{PATH_IMG_FA}wysiwyg/page_white_code.png" alt="{L_BBCODE_C}" /></button> 
                  <button class="button2" onclick="selectWysiwyg(this,'table_gui')" onmouseover="helpline('tab')" type="button" id="addbbcodetable" accesskey="" title="{L_BBCODE_TAB}"><img src="{PATH_IMG_FA}wysiwyg/table.png" alt="{L_BBCODE_TAB}" /></button> 
                  <img src="{PATH_IMG_FA}wysiwyg/separator.png" style="vertical-align:middle" /> 
                  <!-- BEGIN switch_upload_servimg -->
                  <button class="button2" onclick="display_upload_servimg(this,'{SERVIMG_USER_EMAIL}','{SERVIMG_ID}','{SERVIMG_FID}')" onmouseover="helpline('y')" type="button" id="servimg" accesskey="y" title="{L_BBCODE_H}"><img src="{PATH_IMG_FA}wysiwyg/picture_save.png" alt="{L_BBCODE_H}" /></button> 
                  <!-- END switch_upload_servimg -->
                  <!-- BEGIN switch_upload_imageshack -->
                  <button class="button2" onclick="display_upload_imageshack(this)" onmouseover="helpline('y')" type="button" id="imageshack" accesskey="y" title="{L_BBCODE_H}"><img src="{PATH_IMG_FA}wysiwyg/picture_save.png" alt="{L_BBCODE_H}" /></button> 
                  <!-- END switch_upload_imageshack -->
                  <button class="button2" onclick="selectWysiwyg(this,'img')" onmouseover="helpline('p')" type="button" id="addbbcode14" accesskey="p" title="{L_BBCODE_P}"><img src="{PATH_IMG_FA}wysiwyg/picture.png" alt="{L_BBCODE_P}" /></button> 
                  <button class="button2" onclick="selectWysiwyg(this,'url')" onmouseover="helpline('w')" type="button" id="addbbcode16" accesskey="w" title="{L_BBCODE_W}"><img src="{PATH_IMG_FA}wysiwyg/link.png" alt="{L_BBCODE_W}" /></button> 
                  <button class="button2" onclick="selectWysiwyg(this,'flash')" onmouseover="helpline('fl')" type="button" title="{L_BBCODE_FLASH}"><img src="{PATH_IMG_FA}wysiwyg/page_white_flash.png" alt="{L_BBCODE_FLASH}" /></button> 
                  <button class="button2" onclick="selectWysiwyg(this,'video')" onmouseover="helpline('vd')" type="button" title="{L_BBCODE_VIDEO}"><img src="{PATH_IMG_FA}wysiwyg/film.png" alt="{L_BBCODE_VIDEO}" /></button> 
                  <img src="{PATH_IMG_FA}wysiwyg/separator.png" style="vertical-align:middle" /> 
                  <button class="button2" onclick="selectWysiwyg(this,'px')" onmouseover="helpline('f')" type="button"    title="{L_BBCODE_TFONT}"><img src="{PATH_IMG_FA}wysiwyg/style.png" alt="{L_BBCODE_TFONT}" /></button> 
                  <button class="button2" onclick="selectWysiwyg(this,'color')" onmouseover="helpline('s')" type="button" title="{L_BBCODE_COLOR}"><img src="{PATH_IMG_FA}wysiwyg/color_swatch.png" alt="{L_BBCODE_COLOR}" /></button> 
                  <button class="button2" onclick="selectWysiwyg(this,'font')" onmouseover="helpline('ft')" type="button" title="{L_BBCODE_FONT}"><img src="{PATH_IMG_FA}wysiwyg/font.png" alt="{L_BBCODE_FONT}" /></button> 
                  <img src="{PATH_IMG_FA}wysiwyg/separator.png" style="vertical-align:middle" />                                  
                  <button onmouseover="helpline(sub_help)" class="button2" type="button" onclick="bbfontstyle('[sub]','[/sub]');return false">
                      <img alt="sub" src="http://i12.servimg.com/u/f12/17/70/81/78/sub10.png" title="sub" />
                  </button> 
                  <button onmouseover="helpline(sup_help)" class="button2" type="button" onclick="bbfontstyle('[sup]','[/sup]');return false">
                      <img alt="sup" src="http://i12.servimg.com/u/f12/17/70/81/78/sup10.png" title="sup" />
                  </button> 
                  <button onmouseover="helpline(sp_help)" class="button2" type="button" onclick="bbfontstyle('[spoiler]','[/spoiler]');return false">
                      <img alt="spoiler" src="http://i12.servimg.com/u/f12/17/70/81/78/spoile10.gif" title="spoiler" />
                  </button> 
                  <button onmouseover="helpline(h_help)" class="button2" type="button" onclick="bbfontstyle('[hide]','[/hide]');return false">
                      <img alt="hide" src="http://i12.servimg.com/u/f12/17/70/81/78/brown_10.png" title="hide" />
                  </button> 
                  <button onmouseover="helpline(k_help)" class="button2" type="button" onclick="bbfontstyle('[scroll]','[/scroll]');return false">
                      <img alt="scroll" src="http://i12.servimg.com/u/f12/17/70/81/78/scroll10.gif" title="scroll" />
                  </button> 
                  <button onmouseover="helpline(d_help)" class="button2" type="button" onclick="bbfontstyle('[updown]','[/updown]');return false">
                      <img alt="updown" src="http://i12.servimg.com/u/f12/17/70/81/78/scroll10.png" title="updown" />
                  </button>                                  
                  <button onmouseover="helpline(hln)" class="button2" type="button" onclick="bbfontstyle('[rand]','[/rand]');return false">
                      <img alt="rand" src="http://i12.servimg.com/u/f12/17/70/81/78/portal10.png" title="rand" />
                  </button> 
                  <button onmouseover="helpline(wo_help)" class="button2" type="button" onclick="bbfontstyle('[wow]','[/wow]');return false">
                      <img alt="wow" src="http://i12.servimg.com/u/f12/17/70/81/78/warcra10.png" title="wow" />
                  </button> 
                  <img src="{PATH_IMG_FA}wysiwyg/separator.png" style="vertical-align:middle" /> 
                  <button onmouseover="helpline(v_help)" class="button2" type="button" onclick="bbfontstyle('[flipv]','[/flipv]');return false">
                      <img alt="flipv" src="http://i12.servimg.com/u/f12/17/70/81/78/flipv10.png" title="flipv" />
                  </button> 
                  <button onmouseover="helpline(j_help)" class="button2" type="button" onclick="bbfontstyle('[fliph]','[/fliph]');return false">
                      <img alt="fliph" src="http://i12.servimg.com/u/f12/17/70/81/78/fliph10.png" title="fliph" />
                  </button> 
                  <button onmouseover="helpline(e_help)" class="button2" type="button" onclick="bbfontstyle('[fade]','[/fade]');return false">
                      <img alt="fade" src="http://i12.servimg.com/u/f12/17/70/81/78/fade10.png" title="fade" />
                  </button> 
                  <button onmouseover="helpline(r_help)" class="button2" type="button" onclick="bbfontstyle('[blur]','[/blur]');return false">
                      <img alt="blur" src="http://i12.servimg.com/u/f12/17/70/81/78/bur10.png" title="blur" />
                  </button> 
                  <img src="{PATH_IMG_FA}wysiwyg/separator.png" style="vertical-align:middle" /> 
                  <button class="button2" onclick="openWin('/h343-bbcode-tab-column?bbcode=column', 900, 500)" onmouseover="helpline(hlcolumn)" type="button" title="Column">
                      <img title="Column" src="http://i12.servimg.com/u/f12/17/70/81/78/text-c10.png" alt="Column" />
                  </button> 
                  <button class="button2" onclick="openWin('/h343-bbcode-tab-column?bbcode=tab', 900, 500)" onmouseover="helpline(hltab)" type="button" title="Tab">
                      <img title="Tab" src="http://i12.servimg.com/u/f12/17/70/81/78/13553110.png" alt="Tab" />
                  </button> 
                  <img src="{PATH_IMG_FA}wysiwyg/separator.png" style="vertical-align:middle" /> 
                  <button class="button2" onclick="selectWysiwyg(this,'ulink')" onmouseover="helpline(hls)" type="button" id="adduser" accesskey="p" title="Search user">
                                                <img src="http://r19.imgfast.net/users/1911/13/87/62/album/th/andanh10.png" alt="Search user" />
                                        </button> 
                                        <button class="button2" onclick="selectWysiwyg(this,'notes')" onmouseover="helpline('BBcode notes')" type="button">
                                            <img src="/users/2611/10/63/87/album/inote10.gif" />
                                        </button> 
                                        <button class="button2" onclick="selectWysiwyg(this,'tiplink')" onmouseover="helpline('BBcode tooltip')" type="button">
                                            <img src="http://i12.servimg.com/u/f12/17/70/81/78/commen10.png" />
                                        </button> 
                                        <button class="button2" onclick="selectWysiwyg(this,'fmvidegree')" onmouseover="helpline('BBcode rotate')" type="button">
                                            <img src="http://i12.servimg.com/u/f12/17/70/81/78/rotate10.png" />
                                        </button> 
                  <img src="{PATH_IMG_FA}wysiwyg/separator.png" style="vertical-align:middle" /> 
                                    <!-- BEGIN switch_roll_dice_old -->
                  <button class="button2" onclick="selectWysiwyg(this,'dices')" type="button"><img src="{PATH_IMG_FA}wysiwyg/dice.gif" /></button> 
                  <img src="{PATH_IMG_FA}wysiwyg/separator.png" style="vertical-align:middle" /> <wbr/>
                  <!-- END switch_roll_dice_old -->
                  <button onmouseover="helpline(hlh)" class="button2" onclick="window.open('http://{URL_FORUM}/faq.htm?mode=bbcode')" type="button" title="{L_BBCODE_HELP}"><img src="{PATH_IMG_FA}wysiwyg/help.png" alt="{L_BBCODE_HELP}" /></button> 
                  <img src="{PATH_IMG_FA}wysiwyg/separator.png" style="vertical-align:middle" /> 
                  <button onmouseover="helpline('a')" class="button2" type="button" onclick="bbstyle(-1);return false">
                      <img alt="close" src="http://i12.servimg.com/u/f12/17/70/81/78/close10.png" title="close" />
                  </button>  
                </span>
                <span id="html_edit" style="display:none">             
                </span>
                <span style="display:none">             
                  <button class="{BUTTON_WYSI_STYLE}" id="text_editor_cmd_switchmode" type="button" title="{SWITCH_EDITOR_MODE}"><img src="{PATH_IMG_FA}i/switch_wysiwyg.gif" alt="{SWITCH_EDITOR_MODE}" /></button>
                </span>
            </div>
          </div>

          <div class="left"><span id="helpbox" class="helpline"></span></div> <!-- must enclose helpbox in a floating div for ie bug -->
          <div class="clear"></div>

          <div id="textarea_content" class="posting-block">
            <dl>
                <dt><label for="text_editor_textarea">{L_MESSAGE}</label></dt>
                <dd class="frm-textarea">
                  <textarea id="text_editor_textarea" onclick="storeCaret(this)" rows="15" cols="9" onkeyup="storeCaret(this)" name="message" tabindex="3" onselect="storeCaret(this)" wrap="virtual" style="width:98%">{MESSAGE}</textarea><br />
                </dd>
            </dl>

            <!-- BEGIN edit_reason -->
            <br />
            <dl>
                <dt><label><span style="font-size:11px">{edit_reason.L_EDIT_REASON}</span></label></dt>
                                <dd><input class="inputbox medium" style="width:63%" type="text" name="edit_reason" value="{edit_reason.EDIT_REASON}" maxlength="255" /></dd>
            </dl>
            <!-- END edit_reason -->

          </div>

          <div id="smiley-box">
            {L_SMILIES_PREVIEW_NEW}
          </div>
          </fieldset>

          <fieldset class="frm-set">
            <dl>
                <dt>{L_INFORMATION}</dt>
                <dd>{HTML_STATUS}<br />
                  {BBCODE_STATUS}<br />
                  {SMILIES_STATUS}
                </dd>
            </dl>

    <script src="/wysiwyg/wysiwyg_global.js" type="text/javascript"></script>
    <script src="/wysiwyg/wysiwyg_menu.js" type="text/javascript"></script>
    <script src="/wysiwyg/wysiwyg_textedit_new{JS_WYZ_VER}.js" type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[
    $(function() {
    vB_Editor['text_editor'] = new vB_Text_Editor('text_editor',{IS_WYSIWYG},2,1);
    vBulletin_init();
    smilieoptions = {{SMILEY_SELECT}};
    });
    //]]>
    </script>

            <div class="frm-buttons">
                {S_HIDDEN_FORM_FIELDS}
                <input type="hidden" name="lt" value="{LAST_TOPIC_ID}" />
                <!-- BEGIN switch_preview -->
                <input type="submit" name="preview" value="{L_PREVIEW}" tabindex="5" /> 
                <!-- END switch_preview -->
                <!-- BEGIN switch_draft -->
                 <input type="submit" name="draft" value="{L_DRAFT}" tabindex="7" accesskey="d" /> 
                <!-- END switch_draft -->
                <!-- BEGIN switch_publish -->
                 <input type="submit" name="publish" value="{L_PUBLISH}" tabindex="8" accesskey="p" /> 
                <!-- END switch_publish -->
                 <input type="submit" name="post" value="{L_SUBMIT}" tabindex="6" accesskey="s" />
            </div>
          </fieldset>
    </div>

    <div class="main">
      <!-- BEGIN switch_roll_dice -->
      <div class="main-head clearfix">{ROLL_DICE_TITLE}</div>
      <div class="main-content frm">
          <script type="text/javascript">
            function add_dice(dice_number,dice,number)
            {
                var content = document.getElementById('post_dice').innerHTML;
                document.getElementById('dice_to_del').innerHTML = '';
                document.getElementById('dice_to_del').id = '';

                var new_tr = document.createElement('tr');
                new_tr.appendChild(document.createElement('td'));
                new_tr.firstChild.innerHTML = '{ROLL_DICE_TITLE_LOW} #' + (dice_number + 1) + ' : <select name="post_dice_' + dice_number + '" id="post_dice_' + dice_number + '" value="' + dice + '">' + content + '</select> <label for="nb_rolls">{switch_roll_dice.L_DICE_ROLLS} : </label><input type="text" size="2" maxlength="3" name="nb_rolls_' + dice_number + '" id="nb_rolls" value="' + number + '" /> <span id="dice_to_del"><a href="javascript:add_dice(' + (dice_number + 1) + ',\'\',1)"><img src="{PATH_IMG_FA}tabs_more.gif" alt="plus" /></a></span>';
                document.getElementById('list_dice').lastChild.appendChild(new_tr);

                var select_dice = document.getElementById('post_dice_' + dice_number);
                if ( dice == '' )
                {
                  select_dice.selectedIndex=0;
                }
                for ( var i = 1; select_dice.options[i]; i++ )
                {
                  select_dice.options[i].selected = ( select_dice.options[i].value == dice );
                }
            }
          </script>
          <table style="width:100%" id="list_dice"><tr><td>
            {ROLL_DICE_TITLE_LOW} #1 : 
            <select name="post_dice_0" id="post_dice">
                <option value="">-</option>
            <!-- BEGIN row_replace -->
                <option value="{switch_roll_dice.row_replace.DICE_ID}"{switch_roll_dice.row_replace.DICE_SELECTED}>{switch_roll_dice.row_replace.DICE_NAME}</option>
            <!-- END row_replace -->
            </select>
             <label for="nb_rolls">{switch_roll_dice.L_DICE_ROLLS} : </label><input type="text" size="2" maxlength="3" name="nb_rolls_0" id="nb_rolls" value="{switch_roll_dice.S_DICE_ROLLS_VALUE}" />
             <span id="dice_to_del"><a href="javascript:add_dice(1,'',1)"><img src="{PATH_IMG_FA}tabs_more.gif" alt="plus" /></a></span>
            </td></tr>
          </table>
          {switch_roll_dice.DICE_SCRIPT}
      </div>
      <!-- END switch_roll_dice -->

      <!-- BEGIN switch_attachment_list -->
      <div class="main-head clearfix">
          <p class="h2">{L_ATTACHMENTS}</p>
      </div>
      <div class="main-content frm">
          <fieldset class="frm-set multi">
          <!-- BEGIN attachments -->
            <dl>
                    <dt><label>{L_ATTACHMENT_FILENAME}</label></dt>
                    <dd>
                        <!-- BEGIN switch_is_orphan -->
                    <span class="gen">{switch_attachment_list.attachments.switch_is_orphan.FILENAME}</span>  
                        <!-- END switch_is_orphan -->
                        <!-- BEGIN switch_is_not_orphan -->
                    <a href="{switch_attachment_list.attachments.switch_is_not_orphan.U_ATTACH_URL}" class="gen">{switch_attachment_list.attachments.switch_is_not_orphan.FILENAME}</a>  
                        <!-- END switch_is_not_orphan -->
                    <input class="liteoption" type="submit" value="{L_ATTACHMENT_DELETE}" name="delete_file[{switch_attachment_list.attachments.ATTACH_POS}]" />
                    </dd>
                <dt><label for="filecomment{switch_attachment_list.attachments.ATTACH_POS}">{L_ATTACH_COMMENT}</label></dt>
                <dd class="frm-input">
                    <!--textarea name="comment_list[{switch_attachment_list.attachments.ATTACH_POS}]" cols="35" rows="3" style="color:#000000;width:100%">{switch_attachment_list.attachments.ATTACH_COMMENT}</textarea><br /-->
                    <input type="text" id="filecomment{switch_attachment_list.attachments.ATTACH_POS}" name="comment_list[{switch_attachment_list.attachments.ATTACH_POS}]" value="{switch_attachment_list.attachments.ATTACH_COMMENT}" maxlength="255" />
                    <input type="hidden" value="{switch_attachment_list.attachments.ATTACH_ID}" name="attachment_data[{switch_attachment_list.attachments.ATTACH_POS}][attach_id]" />
                    <input type="hidden" value="{switch_attachment_list.attachments.IS_ORPHAN}" name="attachment_data[{switch_attachment_list.attachments.ATTACH_POS}][is_orphan]" />
                    <input type="hidden" value="{switch_attachment_list.attachments.REAL_FILENAME}" name="attachment_data[{switch_attachment_list.attachments.ATTACH_POS}][real_filename]" />
                    <input type="hidden" value="{switch_attachment_list.attachments.ATTACH_COMMENT}" name="attachment_data[{switch_attachment_list.attachments.ATTACH_POS}][attach_comment]" /><br /><br />
                </dd>
            </dl>
          <!-- END attachments -->
          </fieldset>
      </div>
      <!-- END switch_attachment_list -->

      <!-- BEGIN switch_attachment -->
      <div class="main-head clearfix">
          <p class="h2">{L_ATTACHMENT_ADD}</p>
      </div>
      <div class="main-content frm">
          <fieldset class="frm-set multi">
            {L_ATTACHMENT_ADD_HELP}<br /><span class="info">{EXT_LIST}</span><br /><br />

            <dl>
                <dt><label for="fileupload">{L_ATTACHMENT_FILENAME}</label></dt>
                <dd><input type="file" id="fileupload" name="fileupload" /><input type="submit" name="add_file" /> ({L_MAX_ATT_SIZE})</dd>
            </dl>

            <dl>
                <dt><label for="filecomment">{L_ATTACH_COMMENT}</label></dt>
                <dd class="frm-input"><input type="text" id="filecomment" name="filecomment" value="" maxlength="255" /></dd>
            </dl>
          </fieldset>
      </div>
      <!-- END switch_attachment -->

      <div class="main-head clearfix">
          <p class="h2">{L_OPTIONS}</p>
      </div>

      <div class="main-content frm">
          <fieldset class="frm-set multi">
            <!-- BEGIN switch_html_checkbox -->
            <label><input type="checkbox" name="disable_html"{S_HTML_CHECKED} /> {L_DISABLE_HTML}</label><br />
            <!-- END switch_html_checkbox -->

            <!-- BEGIN switch_bbcode_checkbox -->
            <label><input type="checkbox" name="disable_bbcode"{S_BBCODE_CHECKED} /> {L_DISABLE_BBCODE}</label><br />
            <!-- END switch_bbcode_checkbox -->

            <!-- BEGIN switch_smilies_checkbox -->
            <label><input type="checkbox" name="disable_smilies"{S_SMILIES_CHECKED} /> {L_DISABLE_SMILIES}</label><br />
            <!-- END switch_smilies_checkbox -->

            <!-- BEGIN switch_signature_checkbox -->
            <label><input type="checkbox" name="attach_sig"{S_SIGNATURE_CHECKED} /> {L_ATTACH_SIGNATURE}</label><br />
            <!-- END switch_signature_checkbox -->

            <!-- BEGIN switch_notify_checkbox -->
            <label><input type="checkbox" name="notify"{S_NOTIFY_CHECKED} /> {L_NOTIFY_ON_REPLY}</label><br />
            <!-- END switch_notify_checkbox -->

            <!-- BEGIN switch_delete_checkbox -->
            <label><input type="checkbox" name="delete" /> {L_DELETE_POST}</label><br />
            <!-- END switch_delete_checkbox -->

            <!-- BEGIN switch_type_toggle -->
            <br />{S_TYPE_TOGGLE}
            <!-- END switch_type_toggle -->
          </fieldset>

          <!-- BEGIN switch_topic_modif -->
          <fieldset class="frm-set">
            <!-- BEGIN switch_icon_checkbox -->
            <dl>
                <dt><label>{POST_ICON_TITLE}</label></dt>
                <dd>
                  <!-- BEGIN row -->
                  <!-- BEGIN cell -->
                  <label style="vertical-align:top">
                      <input type="radio" name="post_icon" value="{switch_topic_modif.switch_icon_checkbox.row.cell.ICON_ID}" id="post_icon_{switch_topic_modif.switch_icon_checkbox.row.cell.ICON_ID}" {switch_topic_modif.switch_icon_checkbox.row.cell.ICON_CHECKED} /> <span onclick="document.forms['post'].post_icon_{switch_topic_modif.switch_icon_checkbox.row.cell.ICON_ID}.checked=true">{switch_topic_modif.switch_icon_checkbox.row.cell.ICON_IMG}</span>
                  </label>
                  <!-- END cell -->
                  <!-- END row -->
                </dd>
            </dl>
            <!-- END switch_icon_checkbox -->
            <dl>
                <dt><label for="modif_topic_title">{L_TOPIC_TITLE_MODIFY}</label></dt>
                <dd>
                  <input type="text" name="modif_topic_title" id="modif_topic_title" value="{MODIF_TOPIC_TITLE}" maxlength="{TOPIC_TITLE_MAXLENGTH}" onkeypress="if (event.keyCode==13){return false}" />
                  <!-- BEGIN switch_topic_button -->
                   <input type="button" value="{L_SOLVED_WITHOUT_BRAKETS}" onclick="set_solved(this.form.elements['modif_topic_title'],'{L_SOLVED}')" style="display:none" id="button_solved" />
                  <script type="text/javascript">
                  //<![CDATA[
                  document.getElementById('button_solved').style.display = 'inline';
                  //]]>
                  </script>
                  <!-- END switch_topic_button -->
                </dd>
            </dl>
          </fieldset>
          <!-- END switch_topic_modif -->
      </div>

      <!-- BEGIN switch_type_cal -->
      <div class="main-head clearfix">
          <p class="h2">{L_CALENDAR}</p>
      </div>

      <div class="main-content frm">
          <fieldset class="frm-set">
          <dl>
            <dt><label>{L_CALENDAR_TITLE} :</label></dt>
            <dd>
                {S_CALENDAR_DAY} {S_CALENDAR_MONTH} {S_CALENDAR_YEAR} 
                <a href="javascript:void(0)" style="font-style:normal;font-weight:normal" onclick="document.post.topic_calendar_day.value={TODAY_DAY};document.post.topic_calendar_month.value={TODAY_MONTH};document.post.topic_calendar_year.value={TODAY_YEAR}">{L_TODAY}</a>
            </dd>
          </dl>
          <dl>
            <dt><label>{L_TIME} :</label></dt>
            <dd>
                <input name="topic_calendar_hour" type="text" maxlength="2" value="{CALENDAR_HOUR}" /> {L_HOURS}  
                <input name="topic_calendar_min" type="text" maxlength="2" value="{CALENDAR_MIN}" /> {L_MINUTES}
            </dd>
          </dl>
          <dl>
            <dt><label>{L_CALENDAR_DURATION} :</label></dt>
            <dd>
                <input name="topic_calendar_duration_day" type="text" maxlength="5" value="{CALENDAR_DURATION_DAY}" /> {L_DAYS}   
                <input name="topic_calendar_duration_hour" type="text" maxlength="5" value="{CALENDAR_DURATION_HOUR}" /> {L_HOURS}  
                <input name="topic_calendar_duration_min" type="text" maxlength="5" value="{CALENDAR_DURATION_MIN}" /> {L_MINUTES}
                <input name="create_event" type="hidden" value="{CREATE_EVENT}" />
                <input name="calendar_d" type="hidden" value="{CALENDAR_D}" />
            </dd>
          </dl>
          </fieldset>
      </div>
      <!-- END switch_type_cal -->
    {POLLBOX}
    </form>
    {TOPIC_REVIEW_BOX}
    </div>

    <!-- BEGIN switch_privmsg -->
    <div id="find_username" class="jqmWindow"></div>

    <script src="{JS_DIR}jquery/jqmodal/jqmodal.js" type="text/javascript"></script>
    <!-- END switch_privmsg -->
     
    <script type="text/javascript">
    //<![CDATA[
    /* BBcode column & tab Copyright 2012 baivong - www.fmvi.vn */
    $(".frm-buttons input[type='submit']").click(function () {
      var a = $("#text_editor_textarea").val();
      (/\[item\=(.*?)\]((\n|.)*?)\[\/item\]/gi.test(a) && /\[tab(\swidth\=((\d{0,3}(px|em|%|pt)?)|auto)?)?\]((\n|.)*?)\[\/tab\]/gi.test(a) || /\[td(\d{0,2}?)((line)?)\]((\n|.)*?)\[\/td\]/gi.test(a) && /\[column\]((\n|.)*?)\[\/column\]/gi.test(a)) && $("#text_editor_textarea").val(a.replace(/\[item\=(.*?)\]((\n|.)*?)\[\/item\]/gi, "[*][b]$1[/b]$2").replace(/\[tab(\swidth\=((\d{0,3}(px|em|%|pt)?)|auto)?)?\]((\n|.)*?)\[\/tab\]/gi, "[table class=fmvitab$1][tr][td][list]$5[/list][/td][/tr][/table]").replace(/\[td(\d{0,2}?)((line)?)\]((\n|.)*?)\[\/td\]/gi, "[td width=$1% class=$3]$4[/td]").replace(/\[column\]((\n|.)*?)\[\/column\]/gi, "[table class=fmvicolumn][tr]$1[/tr][/table]").replace(/\s(width=%)/gi, "").replace(/\s(class=\])/gi, "]"))
    });
    $(".fmvitab").each(function () {
      var a = $(this);
      a.find("td:first > ul:first > li > strong:first-child").prependTo(a.find("td:first"));
      a.show().find("td:first > ul:first > li:first, td:first > strong:first").addClass("active");
      a.find("td:first > strong").click(function () {
          var b = a.find("td:first > strong").index(this);
          a.find("td:first > ul:first > li, td:first > strong").removeClass("active");
          a.find("td:first > ul:first > li:eq(" + b + "), td:first > strong:eq(" + b + ")").addClass("active")
      })
    });
    function fmvitiplink() {
      if ($("#stooltiplink").val() != "") {
          bbfontstyle("[url=http://" + location.host + "/fmvi-tooltip_name#tooltip]" + $("#stooltiplink").val() + "[/url][table class='tooltip_data'][tr][td]", "[/td][/tr][/table]");
            $("#stooltiplink").val("")
      }
    }
    function fmvidegree() {
      var w = $("#degree_w").val();
      var h = $("#degree_h").val();
      var d = $("#degree_d").val();
      if (/\d+/.test(w) && /\d+/.test(h) && /-?\d+/.test(d)) {
          bbfontstyle("[table width='" + w + "' height='" + h + "' style='-ms-transform: rotate(" + d + "deg); -webkit-transform: rotate(" + d + "deg); -moz-transform: rotate(" + d + "deg); -o-transform: rotate(" + d + "deg)'][tr][td]", "[/td][/tr][/table]");
          $("#degree_w, #degree_h, #degree_d").val("")
      }
    }
    $(".entry-content a[href^='http://www.fmvi.vn/u']").attr("onmouseover", "show_tooltip(this, " + "'<img width=\\'100\\' src=\\'' \+ Ufmvi[this.href.slice(20)] \+ '\\' />'" + ", 'FMvi.vn')");
    $(".entry-content a[href$='tooltip_name#tooltip']").attr({"onmouseover": "show_tooltip(this, $(this).next('.tooltip_data').find('td:first').html(), 'FMvi.vn')", "onclick": "return false"});
    function fmvisuer() {
      $("#adduser img").attr("src", "http://i12.servimg.com/u/f12/17/70/81/78/loadin11.gif");
      $.get("/memberlist?username=" + $("#sUser").val(), function (e) {
          if ($(e).find(".nameM").length) {
            var $zn = $(e).find(".nameM:first");
            $("#text_editor_textarea").val($("#text_editor_textarea").val() + "[url=http://" + location.host + $zn.find("a").attr("href") + "][b][color=" + $zn.find("span").attr("style").slice(6) + "]" + $zn.text() + "[/color][/b][/url]");

          } else {
            $.fancybox("<p style='font-weight: 700; line-height: 30px; padding: 20px 0px;'>Không tìm thấy thành viên <font color='red'>" + $("#sUser").val() + "</font><br />Vui lòng kiểm tra lại.</p>")
          }
          $("#sUser").val("");
          $("#adduser img").attr("src", "http://r19.imgfast.net/users/1911/13/87/62/album/th/andanh10.png");
      })
    }
    $(function(){
    <!-- BEGIN switch_privmsg -->
      privmsg_add_username('{U_SEARCH_USER}', '<br /><input style="margin-top:2px" type="text" name="username[]" />');
    <!-- END switch_privmsg -->
    <!-- BEGIN switch_image_resize -->
        resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} });
    <!-- END switch_image_resize -->
    });
    //]]>
    </script>

    Trả lời nhanh
  • Get Over
    Get Over

    Bài gửi 6/1/2013, 8:33 pm Get Over

    privmsgs_body
    Code:
    <div class="main paged" style="width: 745px; position: relative; min-height: 472px;">
    <form action="{S_PRIVMSGS_ACTION}" method="post" name="privmsg_list" class="frm-form">
          <div class="paged-head clearfix">
            <p class="paging">{PAGINATION}</p>
            <p class="posting">{POST_PM_IMG}</p>
          </div>

          <div class="main-head clearfix">
            <p style="width:50%" class="h2"><!-- BEGIN switch_box_size_notice -->{BOX_SIZE_STATUS}<!-- END switch_box_size_notice --></p>
            <p style="width:50%" class="options">
                {L_DISPLAY_MESSAGES}:
                <select name="msgdays">{S_SELECT_MSG_DAYS}</select> 
                <input type="submit" name="submit_msgdays" value="{L_GO}" />
            </p>
          </div>

          <div class="main-content">
            <table class="table" cellspacing="0">
                <thead>
                  <tr>
                      <th class="tcl">{L_SUBJECT}</th>
                      <th class="tc2">{L_MARK}</th>
                  </tr>
                </thead>

                <tbody class="statused">
                  <!-- BEGIN listrow -->
                  <tr>
                      <td class="tcl tdtopics">
                        <span class="status">

                            <div style="position:absolute; width:24px; height:20px; padding-top:12px; padding-left:12px;">{listrow.PRIVMSG_ICON}</div>

                            <img src="{listrow.PRIVMSG_FOLDER_IMG}" alt="" />
                        </span>
                        <a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a> {listrow.L_BY} {listrow.FROM} - {listrow.DATE}
                      </td>
                      <td class="tc2"><input type="checkbox" name="mark[]2" value="{listrow.S_MARK_ID}" /></td>
                  </tr>
                  <!-- END listrow -->

                  <!-- BEGIN switch_no_messages -->
                  <tr>
                      <td class="tcl tdtopics"><strong>{L_NO_MESSAGES}</strong></td>
                      <td class="tc2"> </td>
                  </tr>
                  <!-- END switch_no_messages -->
                </tbody>
            </table>
          </div>

          <div class="main-foot clearfix">
            <p class="h2">{PAGE_NUMBER}</p>
            <p class="options"><a href="javascript:select_switch_privmsg(true);">{L_MARK_ALL}</a> ::<a href="javascript:select_switch_privmsg(false);">{L_UNMARK_ALL}</a></p>
          </div>

          <div class="paged-foot clearfix">
            <p class="paging">
                {S_HIDDEN_FIELDS}
                <!-- BEGIN switch_save -->
                <input type="submit" name="save" value="{L_SAVE_MARKED}" />  
                <!-- END switch_save -->
                <!-- BEGIN switch_move_profile -->
                <input type="submit" name="moveprofile" value="{L_MOVE_PROFILE_MARKED}" />  
                <!-- END switch_move_profile -->
                <input type="submit" name="delete" value="{L_DELETE_MARKED}" />  
                <input type="submit" name="deleteall" value="{L_DELETE_ALL}" />
            </p>
            <p class="posting">{POST_PM_IMG}</p>
          </div>
    </form>
    <div style="position: absolute; width: 180px; top: -1px; right: -184px">
        <div class="module main">
            <div class="main-head">
                <div class="h3">Hòm thư cá nhân</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_inbox.png" />
                    <a href="/privmsg?folder=inbox"> Hộp thư đến</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_sentbox.png" />
                    <a href="/privmsg?folder=sentbox"> Hộp thư đi</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_outbox.png" />
                    <a href="/privmsg?folder=outbox"> Thư đã gửi</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_savebox.png" />
                    <a href="/privmsg?folder=savebox"> Hộp lưu trữ</a>
                </p>
            </div>
        </div>
        <div class="module main" style="margin-top: 1em! important;">
            <div class="main-head">
                <div class="h3">Tùy chỉnh</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/user10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=informations"> Thông tin cá nhân</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/cog10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=preferences"> Quyền riêng tư</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/image10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=avatars"> Ảnh đại diện</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/text_s10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=signature"> Tạo chữ ký</a>
                </p>
            </div>
        </div>
        <div class="module main" style="margin-top: 1em! important;">
            <div class="main-head">
                <div class="h3">Khác</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://i48.servimg.com/u/f48/16/58/89/73/user-g10.png" />
                    <a href="/groups"> Hội nhóm diễn đàn</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/group10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=friendsfoes"> Danh sách bạn bè</a>
                </p>
                <p>
                    <img src="http://i48.servimg.com/u/f48/16/58/89/73/facebo10.jpg" />
                    <a href="/profile?mode=editprofile&page_profil=facebook"> Kết nối facebook</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/eye10.png" />
                    <a href="/search?search_id=watchsearch"> Theo dõi bài viết</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/heart10.png" />
                    <a href="/search?search_id=favouritesearch"> Bài viết ưa thích</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/page_e10.png" />
                    <a href="/search?search_id=draftsearch"> Dự thảo</a>
                </p>
            </div>
        </div>
    </div>
    </div>

    Trả lời nhanh
  • Get Over
    Get Over

    Bài gửi 6/1/2013, 8:34 pm Get Over

    privmsgs_read_body
    Code:
    <style type="text/css">
      .posthead span{float:left;margin-left:-13em}
      .user-basic-info > img{margin-top:10px}
      .user-basic-info:first-child > img{margin-top:0}
      .user-basic-info > span{display:none}
    </style>
    <div class="main paged" style="width: 745px; position: relative; min-height: 472px;">
    <form action="{S_PRIVMSGS_ACTION}" method="post" class="frm-form">
      <div class="main paged">
          <div class="paged-head clearfix">
            <p style="color:#FFF" class="paging">{BOX_NAME} :: {L_MESSAGE}</p>
            <!-- BEGIN switch_post_reply -->
            <p class="posting repPM">{REPLY_PM_IMG}</p>
            <!-- END switch_post_reply -->
          </div>

          <div class="main-head">
          </div>

          <div class="main-content topic">
            <div class="post">
                <div class="postmain">
                  <div class="posthead">
                      <h2>{MESSAGE_FROM} {POST_SUBJECT} - {POST_DATE}</h2>
                  </div>

                  <div class="postbody">
                      <div class="user online">
                        <h4 class="user-ident">
                            <div class="user-basic-info">
                              {AVATAR_FROM}
                            </div>
                        </h4>
                      </div>

                      <div class="post-entry">
                        <div class="entry-content">
                            <p>{MESSAGE}</p>
                        </div>
                      </div>
                  </div>

                  <div class="postfoot clearfix">
                      <div class="user-contact">
                      <!-- BEGIN switch_user_contact -->
                        {PROFILE_IMG} {PM_IMG} {EMAIL_IMG} {WWW_IMG} {AIM_IMG} {YIM_IMG} {MSN_IMG} {SKYPE_IMG}
                      <!-- END switch_user_contact -->
                      </div>
                      <div class="post-options options-button">
                        <!-- BEGIN switch_quote -->
                        {QUOTE_PM_IMG}
                        <!-- END switch_quote -->
                        {EDIT_PM_IMG}
                      </div>
                  </div>
                </div>
            </div>
          </div>

          <div class="main-foot">
          </div>

          <div class="paged-foot clearfix">
            <p class="paging">
                {S_HIDDEN_FIELDS}
                <!-- BEGIN switch_save -->
                <input type="submit" name="save" value="{L_SAVE_MSG}" />  
                <!-- END switch_save -->
                <!-- BEGIN switch_move_profile -->
                <input type="submit" name="moveprofile" value="{L_MOVE_PROFILE}" />  
                <!-- END switch_move_profile -->
                <input type="submit" name="delete" value="{L_DELETE_MSG}" />
            </p>
            <!-- BEGIN switch_post_reply -->
            <p class="posting repPM">{REPLY_PM_IMG}</p>
            <!-- END switch_post_reply -->
          </div>
      </div>
    </form>
    <!-- BEGIN switch_review_box -->
    {TOPIC_REVIEW_BOX}
    <!-- END switch_review_box -->
    <div style="position: absolute; width: 180px; top: -1px; right: -184px">
        <div class="module main">
            <div class="main-head">
                <div class="h3">Hòm thư cá nhân</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_inbox.png" />
                    <a href="/privmsg?folder=inbox"> Hộp thư đến</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_sentbox.png" />
                    <a href="/privmsg?folder=sentbox"> Hộp thư đi</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_outbox.png" />
                    <a href="/privmsg?folder=outbox"> Thư đã gửi</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_savebox.png" />
                    <a href="/privmsg?folder=savebox"> Hộp lưu trữ</a>
                </p>
            </div>
        </div>
        <div class="module main" style="margin-top: 1em! important;">
            <div class="main-head">
                <div class="h3">Tùy chỉnh</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/user10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=informations"> Thông tin cá nhân</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/cog10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=preferences"> Quyền riêng tư</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/image10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=avatars"> Ảnh đại diện</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/text_s10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=signature"> Tạo chữ ký</a>
                </p>
            </div>
        </div>
        <div class="module main" style="margin-top: 1em! important;">
            <div class="main-head">
                <div class="h3">Khác</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://i48.servimg.com/u/f48/16/58/89/73/user-g10.png" />
                    <a href="/groups"> Hội nhóm diễn đàn</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/group10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=friendsfoes"> Danh sách bạn bè</a>
                </p>
                <p>
                    <img src="http://i48.servimg.com/u/f48/16/58/89/73/facebo10.jpg" />
                    <a href="/profile?mode=editprofile&page_profil=facebook"> Kết nối facebook</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/eye10.png" />
                    <a href="/search?search_id=watchsearch"> Theo dõi bài viết</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/heart10.png" />
                    <a href="/search?search_id=favouritesearch"> Bài viết ưa thích</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/page_e10.png" />
                    <a href="/search?search_id=draftsearch"> Dự thảo</a>
                </p>
            </div>
        </div>
    </div>
    </div>
    <!-- BEGIN switch_image_resize -->
    <script type="text/javascript">
    //<![CDATA[

    $(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
    //]]>
    </script>
    <!-- END switch_image_resize -->

    Trả lời nhanh
  • Get Over
    Get Over

    Bài gửi 6/1/2013, 8:34 pm Get Over

    profile_add_body
    Code:
    <script src="{JSPWD}"></script>

    {ERROR_BOX}

    <div class="main paged" style="width: 745px; position: relative; min-height: 472px;">
      <form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post" name="post" id="ucp" class="frm-form">
          <p><input type="hidden" name="email" value="{EMAIL}" /></p>
          <!-- BEGIN switch_informations_menu -->
          <div class="main-head"><div class="subtitle">{L_REGISTRATION_INFO}{L_MY_PROFILE}</div></div>
          <div class="main-content frm">
            <p class="frm-info">{L_ITEMS_REQUIRED}</p>
            <fieldset class="frm-set multi">
                <!-- BEGIN switch_namechange_disallowed -->
                <dl>
                  <dt><label>{L_USERNAME} : *</label></dt>
                  <dd><input type="hidden" name="username" value="{USERNAME}" class="inputbox" /><strong>{USERNAME}</strong></dd>
                </dl>
                <!-- END switch_namechange_disallowed -->
                <!-- BEGIN switch_namechange_allowed -->
                <dl>
                  <dt><label>{L_USERNAME} : *</label></dt>
                  <dd><input type="text" name="username" value="{USERNAME}" class="inputbox" /></dd>
                </dl>
                <!-- END switch_namechange_allowed -->
                <!-- BEGIN switch_emailchange_disallowed -->
                <dl>
                  <dt><label>{L_EMAIL_ADDRESS} : *</label></dt>
                  <dd><input type="hidden" name="email" value="{EMAIL}" />{EMAIL}</dd>
                </dl>
                <!-- END switch_emailchange_disallowed -->
                <!-- BEGIN switch_emailchange_allowed -->
                <dl>
                  <dt><label>{L_EMAIL_ADDRESS} : *</label></dt>
                  <dd><input type="text" name="email" value="{EMAIL}" class="inputbox" /></dd>
                </dl>
                <!-- END switch_emailchange_allowed -->

                <!-- BEGIN switch_change_password -->
                                    <dl>
                                            <dt><label>{L_CHANGE_PASSWORD} : *</label></dt>
                                            <dd><input class="mainoption" type="submit" name="change_password" value="{L_MODIFY}" /></dd>
                                    </dl>
                                    <!-- END switch_change_password -->
            </fieldset>


            <!-- BEGIN switch_span_div -->
            <!-- END switch_span_div -->


                <!-- BEGIN switch_website -->
                <dl>
                  <dt><label>{L_WEBSITE} : {MUST_LABEL_2}</label></dt>
                  <dd><input type="text" name="website" value="{WEBSITE}" class="inputbox" />
                      <br /><span class="italic">{L_WEB_EXPLAIN}</span>
                  </dd>
                </dl>
                <!-- END switch_website -->
                <!-- BEGIN switch_location -->
                <dl>
                  <dt><label>{L_LOCATION} : {MUST_LABEL_1}</label></dt>
                  <dd><input type="text" name="location" value="{LOCATION}" class="inputbox" /></dd>
                </dl>
                <!-- END switch_location -->
                <!-- BEGIN switch_occupation -->
                <dl>
                  <dt><label>{L_HUMOR} : {MUST_LABEL_3}</label></dt>
                  <dd><input type="text" name="occupation" value="{OCCUPATION}" class="inputbox" /></dd>
                </dl>
                <!-- END switch_occupation -->
                <!-- BEGIN switch_interests -->
                <dl>
                  <dt><label>{L_INTERESTS} : {MUST_LABEL_4}</label></dt>
                  <dd><input type="text" name="interests" value="{INTERESTS}" class="inputbox" /></dd>
                </dl>
                <!-- END switch_interests -->
                <!-- BEGIN switch_gender -->
                <dl>
                  <dt><label>{L_GENDER} : {MUST_GENDER}</label></dt>
                  <dd>
                      <label><input type="radio" name="gender" value="1" {GENDER_MALE_CHECKED} /><span class="cont">{L_GENDER_MALE}</span></label>
                      <label><input type="radio" name="gender" value="2" {GENDER_FEMALE_CHECKED} /><span class="cont">{L_GENDER_FEMALE}</span></label>
                      </dd>
                </dl>
                <!-- END switch_gender -->
                <!-- BEGIN switch_birthday -->
                <dl>
                      <dt><label>{L_BIRTHDAY} :{BIRTHDAY_REQUIRED}</label></dt>
                      <dd>{S_BIRTHDAY_NEW}</dd>
                </dl>
                <!-- END switch_birthday -->



            </fieldset>

            <!-- BEGIN switch_profile_fields -->
            <div class="sub-head"><span>{L_PROFILE_FIELDS}</span></div>
            <fieldset class="frm-set">
                <!-- BEGIN field -->
                <dl>
                  <dt><label>{switch_informations_menu.switch_profile_fields.field.NAME}</label></dt>
                  <dd>
                      {switch_informations_menu.switch_profile_fields.field.OBJECT}<br />
                      <em>{switch_informations_menu.switch_profile_fields.field.DESCRIPTION}</em><br />
                  </dd>
                </dl>
                <!-- END field -->
            </fieldset>
            <!-- END switch_profile_fields -->

            <!-- BEGIN switch_profile_fields_register -->
            <fieldset class="frm-set">

                <!-- BEGIN field -->
                <dl>
                  <dt><label>{switch_informations_menu.switch_profile_fields_register.field.NAME} :</label></dt>
                  <dd>{switch_informations_menu.switch_profile_fields_register.field.OBJECT}<br /><br /></dd>
                </dl>
                <!-- END field -->
            </fieldset>

            <!-- END switch_profile_fields_register -->
          <!-- END switch_informations_menu -->

    <!-- BEGIN switch_confirm_password -->
    <div class="main-head"><h1 class="page-title">{L_REGISTRATION_INFO}</h1></div>
    <div class="main-content frm">
    <fieldset class="frm-set">
    <dl>
            <dt><label>{L_CURRENT_PASSWORD} : *</label></dt>
            <dd><input type="password" name="cur_password" value="{CUR_PASSWORD}" class="inputbox" /></dd>
    </dl>
    </fieldset>
    </div>
    <!-- END switch_confirm_password -->
    <!-- BEGIN switch_confirm_password_new -->
    <div class="main-content frm">
    <fieldset class="frm-set">
    <dl>
            <dt><label>{L_NEW_PASSWORD} : *</label></dt>
            <dd><input type="password" name="new_password" value="{NEW_PASSWORD}" class="inputbox" /></dd>
    </dl>
    <dl>
            <dt><label>{L_CONFIRM_PASSWORD} : *</label></dt>
            <dd><input type="password" name="password_confirm" value="{PASSWORD_CONFIRM}" class="inputbox" /></dd>
    </dl>
    </fieldset>
    </div>
    <!-- END switch_confirm_password_new -->

          <!-- BEGIN switch_preferences_menu -->
          <div class="main-head"><h1 class="page-title">{L_PREFERENCES}</h1></div>
          <div class="main-content frm">
          <fieldset class="frm-set">
            <dl>
                <dt><label>{L_PUBLIC_VIEW_EMAIL} :</label></dt>
                <dd>
                  <label><input type="radio" name="viewemail" value="2" {VIEW_EMAIL_FORM} /><span class="cont">{L_YES}</span></label>
                  <!-- BEGIN switch_enable_mail_view --><label><input type="radio" name="viewemail" value="2" {VIEW_EMAIL_FORM} /><span class="cont">{L_FORM}</span></label>
                  <label><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_MAILTO} /><span class="cont">{L_MAILTO}</span></label>
                  <!-- END switch_enable_mail_view --><label><input type="radio" name="viewemail" value="0" {VIEW_EMAIL_NO} /><span class="cont">{L_NO}</span></label>
                </dd>
            </dl>
            <!-- BEGIN switch_view_pm -->
            <dl>
                <dt><label>{L_PUBLIC_VIEW_MP} :</label></dt>
                <dd>
                  <label><input type="radio" name="view_pm" value="1" {VIEW_MP_YES} /><span class="cont">{L_YES}</span></label>
                  <label><input type="radio" name="view_pm" value="0" {VIEW_MP_NO} /><span class="cont">{L_NO}</span></label>
                </dd>
            </dl>
            <!-- END switch_view_pm -->
            <!-- BEGIN switch_profile_advanced -->
            <dl>
                <dt><label>{switch_preferences_menu.switch_profile_advanced.L_ALLOW_PROFILE_MSGS} :</label></dt>
                <dd>
                  <label><input type="radio" name="profilemsgs" value="2" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_ALL} />{L_ALL_USERS}</label>  
                  <label><input type="radio" name="profilemsgs" value="1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_FRIENDS} />{L_MY_FRIENDS}</label>  
                  <label><input type="radio" name="profilemsgs" value="0" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_NONE} />{L_NO_ONE}</label>  
                  <label><input type="radio" name="profilemsgs" value="-1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_HIDE} />{L_HIDE_TAB}</label>
                </dd>
            </dl>
            <!-- END switch_profile_advanced -->
            <!-- BEGIN switch_fb_connect -->
            <dl>
                <dt><label>{switch_preferences_menu.switch_fb_connect.L_FB_LINK_ACCOUNT} :</label></dt>
                <dd>
                  <!-- BEGIN switch_fb_account_linked -->
                  <span class="italic">{switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_FB_ACCOUNT_LINKED}</span>
                  <!-- END switch_fb_account_linked -->

                  <!-- BEGIN switch_fb_account_not_linked -->
                  <fb:login-button size="medium" onlogin="facebook_link()" v="2">{switch_preferences_menu.switch_fb_connect.switch_fb_account_not_linked.L_FB_LOGIN_BUTTON}</fb:login-button>
                  <!-- END switch_fb_account_not_linked -->
                </dd>
            </dl>
            <!-- BEGIN switch_fb_account_linked -->
            <dl>
                <dt><label>{switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_UNLINK_FB_ACCOUNT_EXPLAIN} :</label></dt>
                <dd>
                  <label><input type="radio" name="unlink_fb_account" value="1" /><span class="cont">{L_YES}</span></label>
                  <label><input type="radio" name="unlink_fb_account" value="0" checked="checked" /><span class="cont">{L_NO}</span></label>
                </dd>
            </dl>
            <!-- END switch_fb_account_linked -->
            <!-- END switch_fb_connect -->
            <dl>
                <dt><label>{L_NEWSLETTER_ACCEPT} :</label></dt>
                <dd><label><input type="radio" name="newsletter" value="1" {NEWSLETTER_YES} /><span class="cont">{L_YES}</span></label>
                  <label><input type="radio" name="newsletter" value="0" {NEWSLETTER_NO} /><span class="cont">{L_NO}</span></label>
                  <br /><span class="italic">{L_NEWSLETTER_ACCEPT_EXPLAIN}</span>
                </dd>
            </dl>
            <dl>
                <dt><label>{L_HIDE_USER} :</label></dt>
                <dd><label><input type="radio" name="hideonline" value="1" {HIDE_USER_YES} /><span class="cont">{L_YES}</span></label>
                  <label><input type="radio" name="hideonline" value="0" {HIDE_USER_NO} /><span class="cont">{L_NO}</span></label>
                </dd>
            </dl>
            <dl>
                <dt><label>{L_NOTIFY_ON_REPLY} :</label></dt>
                <dd><label><input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} /><span class="cont">{L_YES}</span></label>
                  <label><input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} /><span class="cont">{L_NO}</span></label>
                  <br /><span class="italic">{L_NOTIFY_ON_REPLY_EXPLAIN}</span>
                </dd>
            </dl>
            <dl>
                <dt><label>{L_NOTIFY_ON_PRIVMSG} :</label></dt>
                <dd><label><input type="radio" name="notifypm" value="1" {NOTIFY_PM_YES} /><span class="cont">{L_YES}</span></label>
                  <label><input type="radio" name="notifypm" value="0" {NOTIFY_PM_NO} /><span class="cont">{L_NO}</span></label>
                </dd>
            </dl>
            <!-- BEGIN switch_can_disable_mass_pm -->
            <dl>
                <dt><label>{L_ENABLE_MASS_PM} : </label></dt>
                <dd><label><input type="radio" name="allow_mass_pm" value="4" {ALLOW_MASS_PM_NOTIFY_CHECKED} /><span class="cont">{L_YES}</span></label>
                  <label><input type="radio" name="allow_mass_pm" value="2" {ALLOW_MASS_PM_CHECKED} /><span class="cont">{L_NO}</span></label>
                  <label><input type="radio" name="allow_mass_pm" value="0" {DISABLE_MASS_PM_CHECKED} /><span class="cont">{L_NO_MASS_PM}</span></label>
                  <br /><span class="italic">{L_ENABLE_MASS_PM_EXPLAIN}</span>
                </dd>
            </dl>
            <!-- END switch_can_disable_mass_pm -->
            <dl>
                <dt><label>{L_POPUP_ON_PRIVMSG} :</label></dt>
                <dd><label><input type="radio" name="popup_pm" value="1" {POPUP_PM_YES} /><span class="cont">{L_YES}</span></label>
                  <label><input type="radio" name="popup_pm" value="0" {POPUP_PM_NO} /><span class="cont">{L_NO}</span></label>
                  <br /><span class="italic">{L_POPUP_ON_PRIVMSG_EXPLAIN}</span>
                </dd>
            </dl>
            <dl>
                <dt><label>{L_NOTIFY_POST_PREVENT} :</label></dt>
                <dd><label><input type="radio" name="post_prevent" value="1" {POST_PREVENT_YES} /><span class="cont">{L_YES}</span></label>
                  <label><input type="radio" name="post_prevent" value="0" {POST_PREVENT_NO} /><span class="cont">{L_NO}</span></label>
                  <br /><span class="italic">{L_NOTIFY_POST_PREVENT_EXPLAIN}</span>
                </dd>
            </dl>
            <!-- BEGIN switch_report -->
            <dl>
                  <dt><label>{switch_preferences_menu.switch_report.L_NO_REPORT_POPUP} :</label></dt>
                <dd><label><input type="radio" name="no_report_popup" value="0" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_YES} /><span class="cont">{L_YES}</span></label>
                  <label><input type="radio" name="no_report_popup" value="1" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_NO} /><span class="cont">{L_NO}</span></label>
                </dd>
            </dl>
            <dl>
                <dt><label>{switch_preferences_menu.switch_report.L_NO_REPORT_MAIL} :</label></dt>
                <dd><label><input type="radio" name="no_report_mail" value="0" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_YES} /><span class="cont">{L_YES}</span></label>
                  <label><input type="radio" name="no_report_mail" value="1" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_NO} /><span class="cont">{L_NO}</span></label>
                </dd>
            </dl>
            <!-- END switch_report -->
                            <!-- BEGIN switch_cke_editor -->
            <dl>
                <dt><label>{L_DISPLAY_WYSIWYG} :</label></dt>
                <dd>
                  <label><input type="radio" name="user_wysiwyg" value="1" {USER_WYSIWYG_YES} />{L_YES}</label>
                  <label><input type="radio" name="user_wysiwyg" value="0" {USER_WYSIWYG_NO} />{L_NO}</label>
                  <br /><span class="italic">{L_DISPLAY_WYSIWYG_EXPLAIN}</span>
                </dd>
            </dl>
                            <!-- END switch_cke_editor -->
            <dl>
                <dt><label>{L_ALWAYS_ADD_SIGNATURE} :</label></dt>
                <dd><label><input type="radio" name="attachsig" value="1" {ALWAYS_ADD_SIGNATURE_YES} /><span class="cont">{L_YES}</span></label>
                  <label><input type="radio" name="attachsig" value="0" {ALWAYS_ADD_SIGNATURE_NO} /><span class="cont">{L_NO}</span></label>
                </dd>
            </dl>
            <dl>
                <dt><label>{L_ALWAYS_ALLOW_BBCODE} :</label></dt>
                <dd><label><input type="radio" name="allowbbcode" value="1" {ALWAYS_ALLOW_BBCODE_YES} /><span class="cont">{L_YES}</span></label>
                  <label><input type="radio" name="allowbbcode" value="0" {ALWAYS_ALLOW_BBCODE_NO} /><span class="cont">{L_NO}</span></label>
                </dd>
            </dl>
            <dl>
                <dt><label>{L_ALWAYS_ALLOW_HTML} :</label></dt>
                <dd><label><input type="radio" name="allowhtml" value="1" {ALWAYS_ALLOW_HTML_YES} /><span class="cont">{L_YES}</span></label>
                  <label><input type="radio" name="allowhtml" value="0" {ALWAYS_ALLOW_HTML_NO} /><span class="cont">{L_NO}</span></label>
                </dd>
            </dl>
            <dl>
                <dt><label>{L_ALWAYS_ALLOW_SMILIES} :</label></dt>
                <dd><label><input type="radio" name="allowsmilies" value="1" {ALWAYS_ALLOW_SMILIES_YES} /><span class="cont">{L_YES}</span></label>
                  <label><input type="radio" name="allowsmilies" value="0" {ALWAYS_ALLOW_SMILIES_NO} /><span class="cont">{L_NO}</span></label>
                </dd>
            </dl>
            <dl>
                <dt><label>{L_BOARD_LANGUAGE} :</label></dt>
                <dd>{LANGUAGE_SELECT}</dd>
            </dl>
            <dl>
                <dt><label>{L_TIMEZONE} :</label></dt>
                <dd>{TIMEZONE_SELECT}</dd>
            </dl>
            <dl>
                <dt><label>{L_DATE_FORMAT} :</label></dt>
                <dd>{DATE_FORMAT}
                  <br /><span class="italic">{CURRENT_TIME}</span>
                </dd>
            </dl>
          </fieldset>

          <!-- END switch_preferences_menu -->

          <!-- BEGIN switch_avatar_block -->
          <div class="main-head"><h1 class="page-title">{L_AVATAR_PANEL}</h1></div>
          <div class="main-content frm">
          <p class="frm-info">{L_AVATAR_EXPLAIN}</p>
          <fieldset class="frm-set">
            <dl>
                <dt><label>{L_CURRENT_IMAGE} :</label></dt>
                <dd>
                  {AVATAR}
                  <br /><input type="checkbox" name="avatardel" />{L_DELETE_AVATAR}
                </dd>
            </dl>
            <!-- BEGIN switch_avatar_local_upload -->
            <dl>
                <dt><label>{L_UPLOAD_AVATAR_FILE} :</label></dt>
                <dd><input type="file" name="avatar" class="inputbox" /></dd>
            </dl>
            <!-- END switch_avatar_local_upload -->
            <!-- BEGIN switch_avatar_remote_upload -->
            <dl>
                <dt><label>{L_UPLOAD_AVATAR_URL} :</label></dt>
                <dd><input type="text" name="avatarurl" class="inputbox" />
                  <br /><span class="italic">{L_UPLOAD_AVATAR_URL_EXPLAIN}</span>
                </dd>
            </dl>
            <!-- END switch_avatar_remote_upload -->
            <!-- BEGIN switch_avatar_remote_link -->
            <dl>
                <dt><label>{L_LINK_REMOTE_AVATAR} :</label></dt>
                <dd><input type="text" name="avatarremoteurl" class="inputbox" />
                  <br /><span class="italic">{L_LINK_REMOTE_AVATAR_EXPLAIN}</span>
                </dd>
            </dl>
            <!-- END switch_avatar_remote_link -->
            <!-- BEGIN switch_avatar_local_gallery -->
            <dl>
                <dt><label>{L_AVATAR_GALLERY} :</label></dt>
                <dd><input type="submit" name="avatargallery" value="{L_SHOW_GALLERY}" class="button" /></dd>
            </dl>
            <!-- END switch_avatar_local_gallery -->
          </fieldset>
          <!-- END switch_avatar_block -->

          <fieldset class="frm-set">
            <!-- BEGIN switch_informations_menu -->
                <!-- BEGIN switch_register_not_display -->
                  <!-- BEGIN switch_unsubscribe_allowed -->
                  <dl class="frm-buttons">
                      <dt><label>{L_DELETE}</label></dt>
                      <dd><input type="checkbox" name="delete_user" /><span class="italic">{L_DELETE_EXPLAIN}</span>
                      </dd>
                  </dl>
                  <!-- END switch_unsubscribe_allowed -->
                <!-- END switch_register_not_display -->
            <!-- END switch_informations_menu -->

            <dl class="frm-buttons">
                <dt> </dt>
                <dd>
                  {S_HIDDEN_FIELDS}
                  <input class="button2" type="submit" name="submit" value="{L_SUBMIT}" />
                  <input class="button2" type="reset" name="reset" value="{L_RESET}" />
                </dd>
            </dl>
          </fieldset>
      </form>
    </div>
    <div style="position: absolute; width: 180px; top: -1px; right: -184px">
        <div class="module main">
            <div class="main-head">
                <div class="h3">Hòm thư cá nhân</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_inbox.png" />
                    <a href="/privmsg?folder=inbox"> Hộp thư đến</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_sentbox.png" />
                    <a href="/privmsg?folder=sentbox"> Hộp thư đi</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_outbox.png" />
                    <a href="/privmsg?folder=outbox"> Thư đã gửi</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_savebox.png" />
                    <a href="/privmsg?folder=savebox"> Hộp lưu trữ</a>
                </p>
            </div>
        </div>
        <div class="module main" style="margin-top: 1em! important;">
            <div class="main-head">
                <div class="h3">Tùy chỉnh</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/user10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=informations"> Thông tin cá nhân</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/cog10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=preferences"> Quyền riêng tư</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/image10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=avatars"> Ảnh đại diện</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/text_s10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=signature"> Tạo chữ ký</a>
                </p>
            </div>
        </div>
        <div class="module main" style="margin-top: 1em! important;">
            <div class="main-head">
                <div class="h3">Khác</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://i48.servimg.com/u/f48/16/58/89/73/user-g10.png" />
                    <a href="/groups"> Hội nhóm diễn đàn</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/group10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=friendsfoes"> Danh sách bạn bè</a>
                </p>
                <p>
                    <img src="http://i48.servimg.com/u/f48/16/58/89/73/facebo10.jpg" />
                    <a href="/profile?mode=editprofile&page_profil=facebook"> Kết nối facebook</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/eye10.png" />
                    <a href="/search?search_id=watchsearch"> Theo dõi bài viết</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/heart10.png" />
                    <a href="/search?search_id=favouritesearch"> Bài viết ưa thích</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/page_e10.png" />
                    <a href="/search?search_id=draftsearch"> Dự thảo</a>
                </p>
            </div>
        </div>
    </div>
    </div>
    <script type="text/javascript">
    $(function(){
        $('input[name=reset]').click(function(){
            $("#pwd_good,#pwd_middle,#pwd_bad").hide();
        });
        $('input[name=new_password],input[name=username]').keyup(function() {
            if ( $('input[name=new_password]').val() != "" )
            {
                var level = passwordStrength($('input[name=new_password]').val(),$('input[name=username]').val());
            switch(level)
            {
                case 'bad' :
                    $("#pwd_middle,#pwd_good").hide();
                    $("#pwd_bad").show();
                    break;
                case 'good' :
                    $("#pwd_good,#pwd_bad").hide();
                    $("#pwd_middle").show();
                    break;
                case 'strong' :
                    $("#pwd_middle,#pwd_bad").hide();
                    $("#pwd_good").show();
                    break;
                }
            }
            else
            {
                $("#pwd_middle,#pwd_good,#pwd_bad").hide();
            }
        });
    });
    </script>
    <!-- BEGIN switch_preferences_menu -->
    <!-- BEGIN switch_fb_connect -->
    <div id="fb-root"></div>
    <script type="text/javascript">
    //<![CDATA[
    FB.init({
      appId: '{switch_preferences_menu.switch_fb_connect.FACEBOOK_APP_ID}',
        status: true,
        cookie: true,
        xfbml: true,
      oauth: true
    });
    //]]>
    </script>
    <!-- END switch_fb_connect -->
    <!-- END switch_preferences_menu -->

    Trả lời nhanh
  • Get Over
    Get Over

    Bài gửi 6/1/2013, 8:35 pm Get Over

    profile_edit_signature
    Code:
    <div class="main">
      <div class="main-head"></div>
      <div class="main-content">
            <p class="center">{ERROR_MESSAGE}</p><br />
      </div>
    </div>


    <div class="main paged" style="width: 745px; min-height: 472px; float: left; clear: right;">
      <div class="main-head"><h1 class="page-title">{L_CURRENT_PREVIEW_SIGNATURE}</h1></div>
      <div class="main-content">
          <fieldset class="frm-set">
            <div class="sig-content">
                {SIGNATURE_PREVIEW}
            </div>
          </fieldset>
          {SIGNATURE_EDIT}
            <!--fieldset class="frm-set">
                <dl>
                  <dt><label>{L_SIGNATURE} :</label>
                      <br />
                      <span>
                        {HTML_STATUS}
                        <br />
                        {BBCODE_STATUS}
                        <br />
                        {SMILIES_STATUS}
                      </span>
                  </dt>
                  <dd><input style='font-weight:bold; width: 50px' onclick='bbstyle(0)' type='button' id='addbbcode0' value='{L_BOLD}' accesskey='b' />
                      <input style='font-style:italic; width: 50px' onclick='bbstyle(2)' type='button' id='addbbcode2' value='{L_ITAL}' accesskey='i' />
                      <input style='text-decoration:underline; width: 50px' onclick='bbstyle(4)' type='button' id='addbbcode4' value='{L_UNDER}' accesskey='u' />
                      <input style='width: 50px' onclick='bbstyle(14)' type='button' id='addbbcode14' value='{L_IMG}' accesskey='p' />
                      <input style='text-decoration: underline; width: 50px' onclick='bbstyle(16)' type='button' id='addbbcode16' value='{L_LINK}' accesskey='w' />
                      <input style='font-weight:bold; width: 50px' onclick='bbstyle(36)' type='button' id='addbbcode36' value='{L_FLASH}' />
                      <br /><br />
                      {SIGNATURE}
                  </dd>
                </dl>
            </fieldset>

            <fieldset class="frm-set">
                <dl class="frm-buttons">
                  <dt> </dt>
                  <dd>
                <input type="hidden" name="page_profil" value="signature" />
                <input type="hidden" name="mode" value="editprofile" />
                <input type="submit" name="current" value="{L_CURRENT_SIGNATURE}" />
                <input type="submit" name="preview" value="{L_PREVIEW}" />
                <input type="submit" name="submit" value="{L_SUBMIT}" />
                <input type="button" value="{L_RETURN_PROFILE}" onclick="location='{U_RETURN_PROFILE}'" />
                </dd>
                </dl>
            </fieldset-->
      </div>
    </div>
    <div style="width: 180px; float: right; clear: right; margin-top: 1em;">
        <div class="module main">
            <div class="main-head">
                <div class="h3">Hòm thư cá nhân</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_inbox.png" />
                    <a href="/privmsg?folder=inbox"> Hộp thư đến</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_sentbox.png" />
                    <a href="/privmsg?folder=sentbox"> Hộp thư đi</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_outbox.png" />
                    <a href="/privmsg?folder=outbox"> Thư đã gửi</a>
                </p>
                <p>
                    <img src="http://hitskin.com/themes/16/32/01/i_msg_savebox.png" />
                    <a href="/privmsg?folder=savebox"> Hộp lưu trữ</a>
                </p>
            </div>
        </div>
        <div class="module main" style="margin-top: 1em! important;">
            <div class="main-head">
                <div class="h3">Tùy chỉnh</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/user10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=informations"> Thông tin cá nhân</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/cog10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=preferences"> Quyền riêng tư</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/image10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=avatars"> Ảnh đại diện</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/text_s10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=signature"> Tạo chữ ký</a>
                </p>
            </div>
        </div>
        <div class="module main" style="margin-top: 1em! important;">
            <div class="main-head">
                <div class="h3">Khác</div>
            </div>
            <div class="main-content">
                <p>
                    <img src="http://i48.servimg.com/u/f48/16/58/89/73/user-g10.png" />
                    <a href="/groups"> Hội nhóm diễn đàn</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/group10.png" />
                    <a href="/profile?mode=editprofile&amp;page_profil=friendsfoes"> Danh sách bạn bè</a>
                </p>
                <p>
                    <img src="http://i48.servimg.com/u/f48/16/58/89/73/facebo10.jpg" />
                    <a href="/profile?mode=editprofile&page_profil=facebook"> Kết nối facebook</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/eye10.png" />
                    <a href="/search?search_id=watchsearch"> Theo dõi bài viết</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/heart10.png" />
                    <a href="/search?search_id=favouritesearch"> Bài viết ưa thích</a>
                </p>
                <p>
                    <img src="http://i40.servimg.com/u/f40/16/80/27/29/page_e10.png" />
                    <a href="/search?search_id=draftsearch"> Dự thảo</a>
                </p>
            </div>
        </div>
    </div>

    Trả lời nhanh
  • Get Over
    Get Over

    Bài gửi 6/1/2013, 8:37 pm Get Over

    javascript trong skin fmvi

    ACP - Modules - HTML & JAVASCRIPT - Javascript codes management - Create a new javascript



    1.
    Title * : fmvi - all pages
    Placement : In all the pages
    Javascript Code * : http://baivong.forumclan.com/10856.js

    2.
    Title * : fmvi - latest topics ver 5
    Placement : In the portal - In the topics
    Javascript Code * : http://baivong.forumclan.com/14252.js

    3.
    Title * : fmvi - viewtopic
    Placement : In the topics
    Javascript Code * : http://baivong.forumclan.com/11474.js

    4.
    Title * : fmvi - sort catalogue
    Placement : In the home page
    Javascript Code * : http://baivong.forumclan.com/13780.js

    5.
    Title * : fmvi - background javascript
    Placement : No check
    Javascript Code * : http://baivong.forumclan.com/15308.js

    Vì javascript trong forumotion tự động nén, nên khi mở các file javascript này, các bạn nên dùng trang jsbeautifier:
    Địa chỉ: http://jsbeautifier.org/
    Copy code vào và nhấn Ctrl + Enter

    Trả lời nhanh
  • Get Over
    Get Over

    Bài gửi 6/1/2013, 8:38 pm Get Over

    Các trang HTML trong skin fmvi
    ACP - Modules - HTML & JAVASCRIPT - HTML pages management - Create new HTML page

    Tất cả các mẫu HTML khi lưu đều phải lưu 2 lần:

    Lần 1:
    Title * : [ Theo hướng dẫn ]
    Do you wish to use your forum header and footer ? No
    Use this page as homepage ? No
    HTML source * : [ Nhập gì cũng được ]
    >> Lưu lần 1

    Lần 2:
    Nhập code HTML vào HTML source * theo hướng dẫn.
    >> Lưu lần 2

    Tạo các trang HTML sau:

    1
    Title * : fmvi - bbcode column & tab
    HTML source * : http://www.fmvi.vn/t839p20-skin-fmvi-version-3#7255

    2
    Title * : fmvi - change background
    HTML source * : http://www.fmvi.vn/t839p20-skin-fmvi-version-3#7256

    3
    Title * : fmvi - register
    HTML source * : http://www.fmvi.vn/t839p40-skin-fmvi-version-3#7257

    4
    Title * : fmvi - login
    HTML source * : http://www.fmvi.vn/t839p40-skin-fmvi-version-3#7258

    5
    Title * : fmvi - anime
    HTML source * : http://www.fmvi.vn/t839p40-skin-fmvi-version-3#7259

    6
    Title * : fmvi - feedback page
    HTML source * : http://www.fmvi.vn/t839p40-skin-fmvi-version-3#7261

    7
    Title * : fmvi - send feedback
    HTML source * : http://www.fmvi.vn/t839p40-skin-fmvi-version-3#7262

    Trả lời nhanh
  • Get Over
    Get Over

    Bài gửi 6/1/2013, 8:39 pm Get Over

    HTML - bbcode column & tab

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" id="min-width" lang="vi"
    xml:lang="vi">
      <head>
          <title>BBcode tab & column | www.fmvi.vn</title>
          <meta http-equiv="content-type" content="text/html; charset=utf-8" />
          <meta http-equiv="content-script-type" content="text/javascript" />
          <meta http-equiv="content-style-type" content="text/css" />
          <link rel="shortcut icon" type="image/x-icon" href="http://i48.servimg.com/u/f48/16/58/89/73/minilo10.png" />
          <meta name="title" content="BBcode tab" />
          <link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="Vietnamese Forumotion" />
          <link rel="search" type="application/opensearchdescription+xml" href="http://www.forum-viet.com/vi/search/improvedsearch.xml" title="Search forums" />
          <style type="text/css">
    #container{width:54.4em;margin:0 auto}
    .item{border:1px solid #DDD;margin:10px 0;padding:10px 20px}
    .item p{height:1.3em;line-height:1.3em;margin-top:2px}
    .item input{1px solid #DDDDDD;display:inline-block;height:1.4em}
    .control span{background-position:left center;background-repeat:no-repeat;cursor:pointer;display:inline-block;float:right;height:32px;margin-top:-3px;width:32px;padding:0 10px}
    .plus{background-image:url(http://i12.servimg.com/u/f12/17/70/81/78/plus10.png)}
    .del{background-image:url(http://i12.servimg.com/u/f12/17/70/81/78/delete10.png)}
    .up{background-image:url(http://i12.servimg.com/u/f12/17/70/81/78/arrow_11.png)}
    .down{background-image:url(http://i12.servimg.com/u/f12/17/70/81/78/arrow_10.png)}
    element.style{background-color:#3D883C;border-color:#1E7D1D}
    .button{background-color:#15A6FF;border:1px solid #0189DD;color:#FFF;cursor:pointer;margin:0 20px;padding:5px 20px}
    .button:hover{background-color:#4F4F4F;border-color:#393939}
    .fmvitab{display:none;margin:0 auto}
    .fmvitab td > strong{cursor:pointer;display:inline-block;padding:5px 10px}
    .fmvitab td > strong.active{background-color:#6F6E6E;color:#FFF;cursor:default}
    .fmvitab ul{border:1px solid #DDD;list-style:none outside none;width:100%;margin:0!important;padding:10px}
    .fmvitab li{display:none}
    .fmvitab li.active{display:block}
    fieldset{margin-bottom:20px;display:none}
    fieldset legend{color:red;font-size:20px;font-variant:small-caps;font-weight:700;margin-top:-10px;text-shadow:1px 1px 1px #000}
    #tiptip{background-color:#DFF0D8;background-image:url(http://r19.imgfast.net/users/1911/13/87/62/album/th/thongb10.png);background-position:10px center;background-repeat:no-repeat;border:1px solid #9CBBA9;color:#468847;text-shadow:0 1px 0 rgba(255,255,255,0.5);top:-40px;padding:7px 40px}
    #tiptip a{text-decoration:none}
    .fmvicolumn{width:100%}
    label{float:left;padding-right:30px}
    label span{padding-right:5px}
    .fmvicolumn td{padding:0 10px}
    .fmvicolumn td.line{border-left:1px solid #131313}
          </style>
          <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
          <script type="text/javascript">
            //<![CDATA[
            var _gaq = _gaq || [];
            _gaq.push(["_setAccount", "UA-26966514-1"]);
            _gaq.push(["_trackPageview"]);
            (function () {
                var ga = document.createElement("script");
                ga.type = "text/javascript";
                ga.async = true;
                ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
                var s = document.getElementsByTagName("script")[0];
                s.parentNode.insertBefore(ga, s);
            })(); //]]>
           
          </script>
      </head>
      <body>
          <div id="container">
            <p id="tiptip">BBcode © 2012 FMvi (<a rel="nofollow" target="_blank" href="http://www.fmvi.vn">www.fmvi.vn</a>)</p>
            <div>
            </div>
            <p style="text-align: center;">
                <span onclick="view()" id="view" class="button preview">
                    <span>Hoàn thành</span>
                  <span style="display: none;">Đặt lại độ rộng</span>
                </span>
                <span onclick="tryit()" id="try" class="button bbcode" style="background-color: rgb(61, 136, 60); border-color: rgb(30, 125, 29); display: none">Làm lại</span>
                <span onclick="inserbbtab()" id="insert" class="button insert" style="background-color: rgb(249, 82, 82); border-color: rgb(248, 45, 45); display: none">Lấy BBcode</span>
            </p>
            <fieldset>
                <legend>BBcode</legend>
                <textarea rows="10" cols="100" id="BBcode" style="width: 99%"></textarea>
            </fieldset>
            <fieldset>
                <legend>Xem trước</legend>
                <div id="preview"  style="width: 51.1em;"></div>
            </fieldset>
          </div>
    <script type="text/javascript">
      function i2() {
          if (GetParam("bbcode") == "column") {
            return true
          } else if (GetParam("bbcode") == "tab") {
            return false
          } else {
            window.location.replace("http://www.fmvi.vn")
          }
      }
      if (i2()) {
          tip = "column";
          kk = '<label><span style="float: left">Đặt đường phân cách</span> <input style="" name="line" class="line" type="checkbox" /></label><label><span style="padding-right: 5px;">Chiều rộng cột </span><input value="" name="tabname" size="2" class="width" maxlength="2" type="text" /> % </label>'
      } else {
          tip = "tab";
          kk = '<input class="width" type="text" size="30" name="tabname" value="Tên tab" />';
      }
      zz = '<div class="item" style="border-color: green"><p style="float: left;">' + kk + '</p><p class="control" style="border: 0px none;"><span onclick="plus(this)" class="plus"></span><span onclick="del(this)" class="del"></span><span onclick="up(this)" class="up"></span><span onclick="down(this)" class="down"></span></p><textarea rows="10" cols="100">Nội dung ' + tip + '</textarea></div>';
      jQuery("#container div:first").html(zz + zz);

      function i1() {
          if (jQuery(".item").length == 1) {
            return false
          } else {
            return true
          }
      }

      function color() {
          jQuery(".item").css("border-color", "#DDD");
      }

      function plus(a) {
          color();
          jQuery(a).parents(".item").after(zz);
          jQuery("#tiptip").text("Thêm " + tip + " thành công.")
      }

      function del(a) {
          if (i1()) {
            color();
            jQuery(a).parents(".item").remove();
            jQuery("#tiptip").text("Đã xóa một " + tip + ".")
          } else {
            jQuery("#tiptip").text("Bạn cần tạo thêm " + tip + ".")
          }
      }

      function up(a) {
          if (i1()) {
            color();
            jQuery(a).parents(".item").css("border-color", "red").insertBefore(jQuery(a).parents(".item").prev());
            jQuery("#tiptip").text("Đã chuyển " + tip + " lên.")
          } else {
            jQuery("#tiptip").text("Bạn cần tạo thêm " + tip + ".")
          }
      }

      function down(a) {
          if (i1()) {
            color();
            jQuery(a).parents(".item").css("border-color", "blue").insertAfter(jQuery(a).parents(".item").next());
            jQuery("#tiptip").text("Đã chuyển " + tip + " xuống.")
          } else {
            jQuery("#tiptip").text("Bạn cần tạo thêm " + tip + ".")
          }
      }

      function tryit() {
          color();
          jQuery("#preview").text("");
          jQuery("#BBcode").val("");
          if (i2()) {
            jQuery("#view, .item").show();
            jQuery("#try, fieldset, #insert").hide();
          } else {
            jQuery("#view span:first, .item").show();
            jQuery("#view span:last, #try, fieldset, #insert").hide();
          }
          jQuery("#tiptip").html('BBcode ' + tip + ' © 2012 FMvi (<a rel="nofollow" target="_blank" href="http://www.fmvi.vn">www.fmvi.vn</a>)')
      }

      function view() {
          if (i1()) {
            color();
            jQuery("#preview").text("");
            jQuery("#BBcode").val("");
            if (!i2()) {
                jQuery("#view span:first, .item").hide();
                jQuery("#view span:last, #try, #insert, fieldset").show();
                var si = prompt("Đặt chiều rộng cho " + tip + "\nĐơn vị px,em,pt,%", "auto");
                if (si == null || si == "") {
                  si = "auto"
                }
            } else {
                jQuery("#view, .item").hide();
                jQuery("#try, #insert, fieldset").show();
            }

            jQuery(".item").each(function () {
                if (jQuery(this).find(".line:checked").length && !jQuery(this).is(":first-child")) {
                  li = "line";
                  wli = ' class="line"';
                } else {
                  li = wli = ""
                }
                var te = jQuery(this).find(".width").val().replace(/"/g, '&quot;').replace(/>/g, '&gt;').replace(/</g, '&lt;');
                var nd = jQuery(this).find("textarea").val().replace(/"/g, '&quot;').replace(/>/g, '&gt;').replace(/</g, '&lt;');
                if (i2()) {
                  if (te == "" || isNaN(te)) {
                      ze = te = ""
                  } else {
                      ze = ' width="' + te + '%"';
                  }
                  jQuery("#preview").text(jQuery("#preview").text() + '<td' + ze + wli + '>' + nd + '</td>');
                  jQuery("#BBcode").val(jQuery("#BBcode").val() + '[td' + te + li + ']' + nd + '[/td]');
                } else {
                  jQuery("#preview").text(jQuery("#preview").text() + '<li><strong>' + te + '</strong>' + nd + '</li>');
                  jQuery("#BBcode").val(jQuery("#BBcode").val() + '[item=' + te + ']' + nd + '[/item]');
                }
            });
            if (i2()) {
                jQuery("#preview").html('<table class="fmvicolumn"><tbody><tr>' + jQuery("#preview").text() + '</tr></tbody></table>');
                jQuery("#BBcode").val('[column]' + jQuery("#BBcode").val().replace(/&quot;/g, '"').replace(/&gt;/g, '>').replace(/&lt;/g, '<') + '[/column]');
            } else {
                jQuery("#preview").html('<table class="fmvitab" width="' + si + '"><tbody><tr><td align="left"><ul>' + jQuery("#preview").text() + '</ul></td></tr></tbody></table>');
                jQuery("#BBcode").val('[tab width=' + si + ']' + jQuery("#BBcode").val().replace(/&quot;/g, '"').replace(/&gt;/g, '>').replace(/&lt;/g, '<') + '[/tab]');
                var jQueryfmvitab = jQuery(".fmvitab");
                jQueryfmvitab.find("li > strong").prependTo(jQueryfmvitab.find("td"));
                jQueryfmvitab.show().find("li:first, td>strong:first").addClass("active");
                jQueryfmvitab.find("td>strong").click(function () {
                  var n = jQueryfmvitab.find("td>strong").index(this);
                  jQueryfmvitab.find("li, td>strong").removeClass("active");
                  jQueryfmvitab.find("li:eq(" + n + "), td>strong:eq(" + n + ")").addClass("active");
                });
            }
            jQuery("#tiptip").text("Tạo BBcode " + tip + " thành công.")
          } else {
            jQuery("#tiptip").text("Bạn phải tạo từ 2 " + tip + " trở lên.")
          }
      }

      function inserbbtab() {
          opener.document.getElementById('text_editor_textarea').value = opener.document.getElementById('text_editor_textarea').value + document.getElementById('BBcode').value;
          opener.document.post.message.focus();
          window.close()
      }

      function GetParam(name) {
          var match = new RegExp(name + "=([^&]+)", "i").exec(location.search);
          if (match == null) {
            match = new RegExp(name + "=(.+)", "i").exec(location.search)
          }
          if (match == null) {
            return null
          }
          match = match + "";
          result = match.split(",");
          return result[1]
      }
    </script>
      </body>
    </html>

    Trả lời nhanh
  • Get Over
    Get Over

    Bài gửi 6/1/2013, 8:40 pm Get Over

    HTML - change background

    Code:
    <div id="background_box">
    <div id="defaultBg">
          <span alt="0" id="bg1"></span><span alt="1" id="bg2"></span><span alt="2" id="bg3"></span><span alt="3" id="bg4"></span><span alt="4" id="bg5"></span><span alt="5" id="bg6"></span>
          <p class="centerS">
            <button id="cusS" class="button">Tùy chỉnh</button>
          </p>
    </div>
    <div class="caS" id="bgSet" style="display:none">
      <div><strong>body <input type="checkbox" id="moreS1" value=",#pun-intro" />, #pun-intro <input type="checkbox" id="moreS2" value=",.main-head,.main-foot" />, .main-head, .main-foot {</strong>
          <ul>
            <li>background-image: <em>url('<input style="width: 12em;" type="text" placeholder="Nhập URL hình ảnh" id="custom_input" />')</em><strong>;</strong>
                <a href="javascript:void(0)" onclick="window.open('/h147-upload-image', null, 'toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=1,width=520,height=210')">
                  <img src="http://2img.net/i/fa/wysiwyg/picture_save.png" alt="upload" />
                </a>
            </li>
            <li>background-color: <em><input value="#000000" id="colorS" size="7" /></em><strong>;</strong>
            </li>
            <li>background-repeat: <em><select id="repeatS"><option value="no-repeat">no-repeat</option><option value="repeat">repeat</option><option value="repeat-x">repeat-x</option><option value="repeat-y">repeat-y</option></select></em><strong>;</strong>
            </li>
            <li>background-size: <em><select id="sizeS1"><option value="100%">100%</option><option value="auto">auto</option></select> <select id="sizeS2"><option value="auto">auto</option><option value="100%">100%</option></select></em><strong>;</strong>
            </li>
            <li>background-position: <em><select id="positionS1"><option value="left">left</option><option value="right">right</option><option value="center">center</option></select> <select id="positionS2"><option value="top">top</option><option value="center">center</option><option value="bottom">bottom</option></select></em><strong>;</strong>
            </li>
            <li>background-attachment: <em><select id="attachmentS"><option value="fixed">fixed</option><option value="scroll">scroll</option></select></em>
            </li>
          </ul><strong>}</strong>
      </div>
      <p class="centerS">
          <button id="setOk" class="button">Đồng ý</button>
          <button class="setCa button">Hủy bỏ</button>
          <button id="setGe" class="button">Nâng cao</button>
      </p>
    </div>
    <div class="caS" id="bgSave" style="display:none">
      <p class="butS"><a href="javascript:void(0)" id="downS"><img src="http://i40.servimg.com/u/f40/17/70/81/78/downlo10.png" /></a>
          <br />Tải giao diện của bạn</p>
      <p class="butS"><a href="javascript:void(0)" id="upS"><img src="http://i40.servimg.com/u/f40/17/70/81/78/upload10.png" /></a>
          <br />Áp dụng tùy chọn này</p>
      <p class="tipSs">Chức năng lưu trữ giao diện nền đang trong giai đoạn thử nghiệm</p>
      <textarea id="styleSs" rows="3" cols="9" style="width:100%"></textarea>
          <p class="centerS">
            <button id="preS" class="button">Quay lại</button>
            <button class="setCa button">Hủy bỏ</button>
            <button id="saveS" class="button">Lưu trữ</button>
          </p>
    </div>     
    </div> 
    <script type="text/javascript" src="http://baivong.forumclan.com/15308.js"></script>

    Trả lời nhanh
  • Sponsored content

    Bài gửi Sponsored content

    Trả lời nhanh

Xem chủ đề cũ hơn Xem chủ đề mới hơn Về Đầu Trang Thông điệp [Trang 2 trong tổng số 8 trang]

Chuyển đến trang : Previous  1, 2, 3, 4, 5, 6, 7, 8  Next

Permissions in this forum:
Bạn không có quyền trả lời bài viết