<style>css</style>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="vi">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes" />
<meta name="HandheldFriendly" content="true" />
<meta name="MobileOptimized" content="width" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta name="keywords" content=". . ." />
<meta name="description" content=". . ." />
<!--parser:xtscript--> gray <!--/parser:xtscript-->
<title>SCF</title>

<link rel="stylesheet" href="css.php?id=148&amp;tpl=default&amp;v=1633181454" />
<link rel="shortcut icon" href="favicon.ico" />
</head><body class="computer" id="mainpage"><div id="container">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Pinyon+Script" />
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Questrial" />




<script src="/files/1020011/jquery.min.js"></script> 
<script type="text/javascript"> 
show_alert('error','<a href="messages.php?act{{act}}"><span style="font-size:17px;color:#6699ff;"> <i class="fa fa-info-circle"></i> Bạn có {{new_pm}} tin nhắn mới </span> </a>'); 
 
function show_alert(a,b){
  $('#alert').remove()
  $('body').append('<div id="alert" class="alert alert-'+a+'" style="position:fixed;top:60px;">'+b+'</div>');
  var aw=$('#alert').width();
  $('#alert').css('left', '-'+(aw+50)+'px').show().animate({'left':'6px'},200).delay(2000).fadeOut(2000)
}; 
</script> 
<style type="text/css">
.a  {color: #6699ff;}
.alert-error {
    color: #6699ff;
    background-color: #f2dede;
    border-color: #eed3d7;
}
.alert {
    padding: 8px 35px 8px 14px;
    margin-bottom: 20px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #ffffff;
    border: 1px solid #058bff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
</style> <script type="text/javascript"> (function () { var audio=new Audio('https://nhacchuong123.com/nhac-chuong/abc/nhac-chuong-thong-bao-messenger.mp3');audio.play();navigator.vibrate = navigator.vibrate || navigator.webkitVibrate || navigator.mozVibrate || navigator.msVibrate; navigator.vibrate([200, 200]); })(); </script><!--<script language="JavaScript">document.title = "17:34 - on (0)"</script>-->
</div></div><div class="left"></div><div class="left"></div><div class="left"></div><script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.min.js"></script>
<script type="text/javascript">window.onload = detectarCarga;
function detectarCarga() {
document.getElementById("Zenload").style.display="none";
}</script>





<style>
header { position: fixed; top: 0px; z-index: 600; max-width: 700px; width: 100%; background: #343a40; height: 55px; box-sizing: inherit; color: #fff; margin-left: -5px;background-image: linear-gradient(to bottom,#292c2f 0,#191c1f 100%);
    box-shadow: inset 0 0 0 1px rgba(31,31,31,.66), 0 0 10px rgba(0,0,0,.75), 0 0 10px rgba(0,0,0,.75); }
header .drm { float: right; height: 40px; line-height: 53px; }
header .Logo { position: relative; font-size: 20px; padding: 3px; font-weight: bold; display: inline-block; height: 40px; box-sizing: border-box; }
header .Logo a{ color: #fff; }
.dropdown-toggle { right: 0px; left: auto; margin-top: -1px; border-radius: 18px 0px 15px 5px; position: absolute; top: 100%; z-index: 1000; display: none; float: left; min-width: 160px; padding: 1.5px 0px; font-size: 14px; text-align: left; list-style: outside none none; background-color: #FFF; background-clip: padding-box; border: 1px solid rgba(0, 0, 0, 0.15); box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.176); }
.dropdown-toggle > li > a { display: block; clear: both; font-weight: 400; line-height: 1.42857; color: #333; white-space: nowrap; padding: 8px 20px;text-decoration: none; }
.dropdown-toggle > li > a:hover { background-color: #E8E8E8;border-radius: 18px 0px 18px 1px; background-image: linear-gradient(to bottom, #F5F5F5 0px, #E8E8E8 100%); background-repeat: repeat-x; }
.drms {line-height: 49px;}
</style>








<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.10/css/all.css" integrity="sha384-+d0P83n9kaQMCwj8F4RJB66tzIwOKmrdb46+porD/OvrJ+37WqIM7UoBtwHO6Nlg" crossorigin="anonymous">


   <div id="header">
<a id="top">&nbsp;</a>
    

        <div style="background: #3d424a;border: 0px solid #1a1a1b;color: #FFF;border-bottom: 0px solid #1e2227;margin-top: 4px;padding: 0px;border-radius: 5px 5px 0px 0px;margin-top: 50px;align="left;">












       <div class="profileCard">
        <div style="background-color: #6a7582;border-left: 0px solid #1a1a1b;border-right: 0px solid #1a1a1b; border-bottom: 0px solid #1a1a1b;border-radius: 0px 0px 0px 0px;border-top-width: 0;padding: 0px;"color: #f3f7fd;text-decoration: none;text-shadow: 0 0 1px #000000;align="left">
      <table cellpadding="0" cellspacing="0" width="100%" height="110px" style=" height: 140px; width: 100%;background-size: cover;background-repeat: no-repeat; background-position: 50% 50%;border-radius: 0px 0px 0px 0px;position: relative;background-image:url('https://i.imgur.com/JlewI7u.jpg');">
              <div class="profileInfo">
       <tr valign="top">
     <td width="38" style="background: #0000004f;padding: 13px;border-left: 115px solid #0000002e;">


   <div style="position: absolute;z-index: 1;bottom: 0px;left: 0;right: 0;padding-left: 5px;line-height: 50px;">

    <a href="profile.php?act=office"> <img src="//coffe.vsites.net/assets/images/empty.png" class="avtimgs avt" width="45" height="45" alt="soigia"></a></td></div>





      <td><div><b>


      <div style="color: #fff; text-decoration: none; text-shadow: 0 0 1px #000000; position: absolute; z-index: 1; bottom: 7px; left: 0; right: 0; padding-right: 7px; line-height: 40px; text-align: right;">  soigia</div>   </b></div>
              <div style="color: #bec7d6; text-decoration: none; text-shadow: 0 0 1px #000000; position: absolute; z-index: 1; bottom: 5px; left: 0; right: 0; padding-right: 7px; line-height: 10px; text-align: right; font-size: 12px;"> </div></div>            </td>
                    <td align="right"><div>

                     <div class="hovergallery"> <a href="/profile.php?act=edit"><img src="http://vietup.net/files/b572cb55df1968b775018ea43a893036/a5324ca6bb15d0f4964bfd06d9285327/photo-camera.png" class="drms" alt="Postimg" /></a></div>
    <div class="hovergallery"> <a href="profile.php?act=office"><img src="http://vietup.net/files/c0f3caff39436592501b69a3f3eff1a0/fcb338002b2026e25332708450331346/settings.png" class="drms2" alt="Profile" /></a></div>
                <div class="hovergallery">      <a href="users.php?act=online"><img src="http://vietup.net/files/c868b013fb631efb1adc647ab41c101f/927fea92bc5226db03b57ce44395408f/group.png" class="drms3" alt="Group" /></a></div>
                  </div>
                  <div class="k1"></div>
          </div></td>
                </tr>
            </table>

            </div>






        </div>
    

</div>


<style>




.avt { background-size: cover; background-color: #fff0; border: 3px solid #ffffff3b; margin-left: 22px; margin-bottom: 53px; border-radius: 50px; }
.gmenu {background-color: #dae3ec;}
.menux {background-color: #bbcbd8; border: 1px solid #bbcbd8;border-top-width: 0;padding: 4px;}
body {background-color: #9eabb5;color: #000000;font-family: Arial, Tahoma, sans-serif;font-size: small; max-width: 700px;margin: 0 auto;}
.user {background-color: #373d44;border-top: 1px solid #262829;border-left: 0px solid #e3e9f1;border-right: 0px solid #e3e9f1;border-bottom: 0px solid #c3d3de;color: #7f8d9a;
}


.greply a {font-size: 13px;}
.greply {
    background-color: #e0e3e6;
    padding: 5px 0 5px 4px;
    border-color: #758596;
    border-radius: 0px 0px 0px 0px;
    margin-top: 5px;
    margin-left: -9px;
    margin-right: -5px;
    color: #595f63;
}
.reply a {color: #123756;font-size: 13px;}
.reply {margin-top: 3px;background-color: #5c8fb7;border-left: 4px solid #0c6ace;color: #f3f8ff;padding: 5px 0 5px 4px;margin-left: -9px;margin-right: -5px;}
.red {
    color: #6a6c6f;
    text-shadow: 0 0 1px #202327;
    font-size: 12px;
    font-family: sans-serif;
    font-weight: bold;
    text-decoration: none;
}
.green {
    font-family: sans-serif;
    font-weight: bold;
    text-decoration: none;
    padding: 3px;
    color: #88ccff;
    margin-top: 5px;
    margin-left: 0px;
    font-size: 11px;
}


.gray {color: #a0acb9;font-size: 11.5px;}


.quote {
    color: #FFFFFF;
    background-color: #1b2025;
    border-color: #000000;
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #000000;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
}
.quote a {color: #364658;font-size: 12px;}
input + input {margin-left: 0px;}
input, select { padding: 6px 7px; margin: 3px; border-radius: 3px; box-sizing: border-box; background-color: #565961; box-shadow: inset 0 2px 6px 0 rgba(0,0,0,.26); color: #a5aebb; text-align: left; outline: 0; margin-top: 10px; }
input, select {
    border: 0px solid #ADB7BF;}

.sa22 {background: #5e666b;color: #FFF;margin-top: 4px;padding: 5px;border-radius: 5px 5px 0px 0px;}
.sub { text-align: left; background-color: #303438; margin-top: 10px; margin-left: -11px; margin-right: -5px; margin-bottom: -6px; padding: 1px 5px; font-size: 12px; border-top: 1px solid #1c2125; color: #9098a5; border-left: 1px solid #1d1f21; border-right: 1px solid #1d1f21; }
.sub a {color: #6a7f8a;
    text-decoration: none;
    text-shadow: 0 0 1px #000000;}


img {max-width: 100%;height: auto;}
.status {color: #5e6a7d;font-size: 12px;padding-left: 0;font-weight: normal;font-style: normal;margin-left: 0px;}


.menu a {color: #b4b9c2;
    text-decoration: none;
    text-shadow: none;}


.quote_body {font-style: normal;background-color: #646c71;padding: 6px 10px;margin-left: 1px;margin-right: -2px;color: #e8f7ff;font-family: sans-serif;}
.quote_container {margin-bottom: -10px;margin-top: 3px;background-color: #435869;border-left: 4px solid #161b1d;color: #f3f8ff;padding: 0px 0 0px 4px;margin-left: -9px;margin-right: -3px;}
.quote_header {font-weight: 700;color: #2c3133;background-color: #c5d1da;padding: 6px 5px;border-bottom: 1px solid #494b4c;margin-left: 1px;margin-right: -2px;}
.quote_container {border: 0px solid #ccc;}
.subb { text-align: left; background-color: #1f2229; margin-top: 0px; margin-left: -7px; margin-right: -7px; margin-bottom: -7px; padding: 5px; border-top: 1px solid #1a1c1f; border-left: 1px solid #1f2229; border-right: 1px solid #1f2229; border-bottom: 1px solid #1b1c1e; color: #5a5e65; padding-top: 10px; padding-left: 10px;}
.subb a {font-weight: bold;text-shadow: 0 0 1px #000000;}
.k1 {padding: 5px 5px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 5px;
}


body {color: #5f6366;}
body {
    background: #141518 no-repeat fixed;

    background-position: left 20px bottom, right 230px bottom;
    background-size: 350px;
    color: #303841;
    background-attachment: fixed;
    -webkit-border-radius: 4px;
    box-shadow: 0px 0px 9px #000;
    word-wrap: break-word;
    margin: 3px auto;
}


element.style {
    background: #5e666b;
    color: #FFF;
    margin-top: 63px;
    padding: 5px;
    border-radius: 5px 5px 0px 0px;
}

.phdr2 {
    background: #191c21;
    border: 0px solid #1c1f25;
    color: #FFF;
    margin-top: 9px;
    padding: 10px;
    border-radius: 5px 5px 0px 0px;
}

.gmenu {
    background-color: #2e333c;
    border: 0px solid #ffffff;
    border-top-width: 0;
    padding: 4px;
    margin-left: 0px;
    margin-right: 0px;
    color: #8ba0b3;
    margin-top: 5px;
    font-weight: bold;
    line-height: 1.5em;

}
p {
    margin: 8px 0 5px;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: #e7e7e7;

}

.embed-wrapper {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}



.phdr5 {
    background: #1f2223;
    border-top: 1px solid #131315;
    color: #FFF;
    margin-top: 0px;
    padding: 0px;
    border-radius: 0px 0px 5px 5px;
    border: 0px solid #0c0c0c;
}


.navbar-default .navbar-brand {
    color: #d2d2d2;
}

.navbar-default {
    background-color: #262a2d;
    border-color: #1c1d1f;
}
.navbar-default .navbar-nav>li>a { color: #d3d7d9; text-shadow: 0 0 1px #000000; }

body {
    color: #4f5051;
}
.menu5 {
    background-color: #2c313a;
    border-bottom: 1px solid #2c2d31;
    border-left: 1px solid #343840;
    border-right: 1px solid #343840;
    border-top-width: 0;
    padding: 6px;
    color: #b7c0ca;
    text-shadow: 0 0 1px #1f2123;
    margin-bottom: 7px;
}

.menu5 a {
    color: #3fa577;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
}
.menu6 {
    background-color: #2c2e2f;
    border: 1px solid #1a1c1f;
    border-left: 0px solid #ffffff;
    border-right: 0px solid #ffffff;
    border-top-width: 0;
    padding: 6px;
    margin-top: 5px;
}
.menu7 { background-color: #282c31; border: 1px solid #191c21; border-top-width: 0; padding: 8px; border-left: 0px solid #292e35;border-top: 1px solid #393a40; }
.menu7 a { color: #9aa5bb; text-decoration: none; text-shadow: 0 0 1px #000000; font-size: 12px; }
.list1, .list2 {
    border: 0px solid #111112;
    border-top-width: 0;
    padding: 5px;
    background-color: #25282d;
    color: #a0acb9;
    margin-top: 5px;
    border-top: 0px solid #111112;
    border-bottom: 0px solid #111112;
    line-height: 1.5em;
}


.menu8 a {
    color: #f2f2f2;
    text-decoration: none;
    font-size: 15px;
}
.menu9 {
    background-color: #33383e;
    border-bottom: 1px solid #1c1f25;
    border-top-width: 0;
    padding: 0px;
    color: #adb2ba;
    border-left: 0px solid #1c1f25;
    border-right: 0px solid #1c1f25;
}
.menu9 a {
    color: #b4b9c2;
    text-decoration: none;
    text-shadow: 0 0 1px #000000;
}


.menu8 { color: inherit !important; background: #121315; text-shadow: none; border: 1px solid currentColor; border-bottom-color: currentColor; box-shadow: none; font-weight: 400 !important; opacity: .75 !important; display: inline-block; width: auto; margin: 0.5px auto; padding: 7.5px .6em !important; text-decoration: none !important; width: 100%; border-radius: 3px; text-align: center; }

.menu10 {
    background-color: #272b2f;
    border: 1px solid #1c1f25;
    border-top-width: 0;
    padding:0px;
    color: #adb2ba;
    border-left: 0px solid #1c1f25;
    border-right: 0px solid #1c1f25;
}

.menu10 a {
    color: #b4b9c2;
    text-decoration: none;
    text-shadow: 0 0 1px #000000;
}
.user .gray {
    color: #f3f6ff;
}

.fa-2 {
    font-size: 20px;
}
.pdi {padding: 0 6px 4px;
    background-color: rgba(255, 255, 255, 0);}

   .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 0px;
}
.ani {
    background-image: url(https://i.imgur.com/7dGFCGk.png);
    background-position: left bottom;
    background-repeat: no-repeat;
}
.embed-container {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    padding-bottom: 33.25%;
    overflow: hidden;
}
.btspace {margin-bottom: 5px;}













.farm_body {margin-top: -112px;}

.construction a.to_warehouse {
    background-image: url(https://i.imgur.com/dZFs9RN.png);
    width: 147px;
    margin-right: -30px;
    top: 30px;
}

.construction a {
    display: inline-block;
    background-position: bottom left;
    background-repeat: no-repeat;
    height: 150px;
    position: relative;
}

.construction a.to_star_fruit_tree>.timer {
    display: inline-block;
    font-size: smaller;
    position: absolute;
    width: 100%;
    top: 69px;
    left: 50%;
    margin-left: -28px;
    background: #fff;
    border-radius: 5px;
    padding: 2px;
    color: #000;
}


.construction a.to_store { background-image: url(https://i.imgur.com/FAvfO0P.png); width: 99px; margin-right: 4px; height: 86px; top: 7px; }

.plant_area {
    max-width: 315px;
    padding: 5px;
    margin-top: 20px;
}
.bb_toolbar {display:none}






</style>
<style>



.farm { background-image: url(https://i.imgur.com/vzlQuDM.jpg); background-repeat: repeat; }
.farm_divide { height: 28px; background: url(https://i.imgur.com/o2Ts6Uf.png) repeat-x; }
.farm_cote { float: left; width: 159px; height: 102px; background-image: url(https://i.imgur.com/2CyZBds.png); margin-top: -11px; }
.farm_bg { height: 125px; background-repeat: repeat-x; border-bottom: 1px solid #c6cdd4; background-image: url(http://vietup.net/files/5e16f9e94f29af7fbd797a8c3253f1f6/956701d4c0d301b2714be84532437969/123.gif), url(https://i.imgur.com/2CdjQwL.jpg);}
.construction a.to_star_fruit_tree { background-image: url(http://vietup.net/files/de62e70d1b52a867863bcdc1e6a7de93/e9f71b04a43d2cb2c8184882eb3c62e2/tumblr_lvwkosm9eY1qip80b.gif); width: 66px; }
.construction a.to_star_fruit_tree.star_fruit_tree_1 { background-image: url(http://vietup.net/files/17c40383dfd0f9879d82fe2d0b7a9e58/6b500318777615931e92d6d90e500855/ezgif-2-a99cfded5784.gif); }
.farm_pond { float: right; width: 99px; height: 73px; background-image: url(https://i.imgur.com/pRb4L31.png); }
.construction a.to_warehouse { background-image: url(https://i.imgur.com/LkZ6AbM.png); width: 147px; margin-right: -30px; top: 30px; }
.construction a.to_store { background-image: url(https://i.imgur.com/WhaAEWs.png); width: 99px; margin-right: 4px; height: 86px; top: 7px; }






input[type=submit].btn-block {
    width: 97%;
}
a { color: #c4d2de; text-decoration: none; }
a:focus, a:hover { color: #768b9c; text-decoration: underline; }
.menufr { background-color: #2b2f35; border: 0px solid #1a1c1f; border-top-width: 0; padding: 6px; color: #c6c7ca; margin-top: 8px; border-radius: 5px 5px 5px 5px; }
.wells1 { margin-top: 7px; min-height: 20px; padding: 4px; margin-bottom: -1px; background-color: #b6c3ca; border: 1px solid #4a4c4e; border-radius: 4px; -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05); box-shadow: inset 0 1px 1px rgba(0,0,0,.05);padding-top: 10px; } .badges1 { display: inline-block; min-width: 10px; padding: 3px 7px; font-size: 12px; font-weight: 700; line-height: 1; color: #fff; text-align: center; white-space: nowrap; vertical-align: middle; background-color: #2d2d2d; border-radius: 10px; } .wells1 a {color: #4f5051;}
.menu6a { background-color: #2c2e2f; border: 1px solid #1a1c1f; border-left: 0px solid #ffffff; border-right: 0px solid #ffffff; border-top-width: 0; padding: 6px; margin-top: -13px; }

.user-7 { font-weight: bold; color: #b4d0e8; }
.user-0 { font-weight: bold; color: #6fdc82; }
.user-9 { font-weight: bold; color: #b4d0e8; }
body {font-size: 14px;}
.topmenu { background-color: #3b3f46; border: 1px solid #3b3f46; border-top-width: 3px; color: #567f9a; padding-top: 5px; padding-bottom: 2px; padding-left: 4px; padding-right: 4px; text-align: left; padding-bottom: 2px; }
.drms { color: #fff; text-shadow: 0 0 1px #000000; position: absolute; z-index: 1; bottom: 56px; left: 0; right: 0; margin-left: 11px; }
.drms2 { color: #fff; text-shadow: 0 0 1px #000000; position: absolute; z-index: 1; bottom: 44px; left: 0; right: 0; margin-left: 50px; }
.drms3 { color: #fff; text-shadow: 0 0 1px #000000; position: absolute; z-index: 1; bottom: 6px; left: 0; right: 0; margin-left: 65px; }
.k35 { display: inline-block; background: #E3E8EA; color: #72777b; padding: 4px 8px; margin-left: 3px; margin-right: 5px; border-radius: 2px; box-shadow: 0 2px 4px 0 rgba(0,0,0,.5); background-image: linear-gradient(to bottom,#e0e0e0,#b7b7b7); line-height: 1.42857143; font-size: 14px; margin-left: 10px; }
.hovergallery img{ -webkit-transition-duration: 0.5s; /*Webkit: Animation duration*/ -moz-transition-duration: 0.5s; /*Mozilla duration version*/ -o-transition-duration: 0.5s; /*Opera duration version*/ opacity: 0.7; /*initial opacity of images*/ /*margin between images*/ }
.hovergallery img:hover{ -webkit-transform:scale(1.1); /*Webkit: Scale up image to 1.2x original size*/ -moz-transform:scale(1.1); /*Mozilla scale version*/ -o-transform:scale(1.1); /*Opera scale version*/  /*CSS3 shadow: 30px blurred shadow all around image*/  /*Safari shadow version*/ /*Mozilla shadow version*/ opacity: 1; }
.avtimgs { width: 60px; height: 60px; border-style: solid; border-width: 9px; -webkit-border-image: url(https://i.imgur.com/xCW07Vn.png) 10 round; }
.user-6 { font-size: 11px; font-family: 'Roboto Condensed', sans-serif; color: #bec5d8; padding: 2px 10px; border-radius: 0px 4px 4px 0px; font-weight: bold; display: inline-block; padding-top: 5px; text-shadow: none; margin: 5px; margin-left: -8px; text-transform: uppercase; border-left: 0px solid #595959; margin-top: 5.5px; background-color: #1d232b; border: 1px solid rgb(89, 89, 89); }
.alert5 {color: #dcdaea; background-color: #afa3cc; padding: 10px; margin-right: -6px; padding-bottom: 7px; padding-left: 25px; text-align: left; background-image: url(https://i.imgur.com/OA5QCEv.jpg); height: 140px; width: 100%; background-size: cover; background-repeat: no-repeat; background-position: 50% 0%; border-radius: 0px 0px 0px 0px; position: relative;}
h3 {font-family: "Pinyon Script";}
h7 { font-size: 18px; padding-top: 0px; margin-left: 20px; margin-right: 25px; color: #848684; line-height: 35px; font-family: Questrial; }
.labels { background: #1b1c1d; padding: 10px; padding-left: 45px; color: #599664; border-top: 1px solid #6b6b6b; line-height: 20px; font-weight: 500; border-bottom: 1px solid #4e4e4e; font-family: Questrial; }
</style>

<div id="body">







<script type="text/javascript">
if ('undefined' === typeof jQuery) {
    document.write('<script'+' type="text/javascript" src="//w.vsites.net/assets/js/jquery.min.js"></'+'script>');
}
</script>
<script type="text/javascript">
var chat_imgs = '';
$(document).ready(function() {
    $('.chat-form').each(function() {
        var $this = $(this),
            $chat_input = $this.find('.chat-input'),
            $chat_to = $this.find('.chat-to'),
            $chat_token = $this.find('input[name="token"]'),
            $actions = $this.find('.chat-actions'),
            $img_btn = $('<a/>').attr({'class':'k35', 'href':'#', }).text('▲'),
            $img_status = $('<span/>').attr({'class': 'img-status'}),
            $img_select = $('<input/>').attr({'class':'img-select', 'accept':'image/*', 'type':'file', 'style':'display:none!important'}),
            $img_result = $('<div/>').attr({'class':'img-result'});
        $img_btn.on('click', function() {$img_select.trigger('click'); return false});
        $img_select.on('change', function(){img_upload(this.files[0], $img_status, $img_result)});
        $actions.append($img_btn);
        $actions.append($img_status);
        $this.append($img_result);
        $this.after($img_select);
        $this.on('submit', function(e) {
            var _this = $(this),
                _to = '',
                _token = '';
            if (chat_imgs.length > 0) {
                e.preventDefault();
                if ($chat_to.length) {
                    _to = $chat_to.val();
                }
                if ($chat_token.length) {
                    _token = $chat_token.val();
                }
                $.post(_this.attr('action'), {nick: _to, text: ($chat_input.val() + chat_imgs), token: _token, submit: true}, function(){
                    window.location.reload();
                })
            }

        })
    })
})
function img_upload(file, status_el, result_el) {
    if (file && file.type.match(/image.*/)) {
        var fd = new FormData();
        fd.append("image", file);
        var xhr = new XMLHttpRequest();
        xhr.open("POST", "https://api.imgur.com/3/image.json");
        xhr.upload.onprogress = function(e) {
            if (e.lengthComputable) {
                var percent = Math.floor((e.loaded / e.total) * 100) + '%';
                status_el.html("  Đang tải (" + percent + ")");
            }
        };
        xhr.onload = function() {
            try{
                var res = JSON.parse(xhr.responseText);
                if (res.status === 200 && res.success === true) {
                    var data = res.data;
                    status_el.html("Đang xử lí...");

                    result_el.show();
                    chat_imgs += '\r\n[url=' + data.link + '][img]' + data.link + '[/img][/url]';
                    result_el.append('<img src="' + data.link.replace(/\.([a-z]+)$/, 'b.$1') + '" class="img-thumb">');
                    status_el.html('');
                } else {
                    window.alert('Lỗi: tải lên thất bại');
                    status_el.html('');
                }
            } catch (e) {
                window.alert('Lỗi: tải lên thất bại');
                status_el.html('')
            }
        }
        xhr.setRequestHeader('Authorization', 'Client-ID 21ca8b31c6adc09');
        xhr.send(fd)
    } else {
        window.alert('Chỉ cho phép chọn ảnh')
    }
}
</script><div style="display:none">
<style>

.anime_name {
    padding: 11px 0 11px 66px;
    background-repeat: repeat-x;
    background-position: left bottom;
    background-color: #dddddd;
    position: relative;
    color: #fff;
    text-shadow: 2px 0px 1px #000000;
}

.anime_name.adsverting {
    background-image: url(https://i.imgur.com/lpRrLm4.jpg);
    background-repeat: no-repeat;
    background-position: right top;
}
.anime_name_img_adsverting {
    background-image: url();
    background-repeat: no-repeat;
    background-position: center top;
    height: 56px;
    width: 60px;
    position: absolute;
    left: 0px;
    bottom: 0;
}


filelist_paging {display:none!important}

</style>