<!-- Title -->
<div class="primary-block">
    <div class="in-20">
        <p class="title-text-lg in-top-20">Điều Kiện Resets</p>
        <div class="out-top-20">    
<!-- End Title -->   

<div class="out-top-20">
        <table class="table table-blue table-text-center table-border-2">
		<thead>
	  <tr>
	    <th align="center" rowspan="2"><b>Reset</b></th>
	    <th align="center" colspan="10"><b>Level Reset theo TOP</b></th>
	  </tr>
      <tr>
	    <th align="center"><b>1</b></th>
	    <th align="center"><b>2</b></th>
	    <th align="center"><b>3</b></th>
	    <th align="center"><b>4</b></th>
	    <th align="center"><b>5-10</b></th>
	    <th align="center"><b>11-20</b></th>
	    <th align="center"><b>21-30</b></th>
	    <th align="center"><b>31-40</b></th>
        <th align="center"><b>41-50</b></th>
        <th align="center"><b>>50</b></th>
	  </tr>
	  </thead>
	  <tbody>
<? if ($cap_reset_max>0) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_0++; echo "$reset_cap_0 - $reset_cap_1"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_1; ?></div></td>
        <td><div align="center"><? echo $level_cap_1-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_1-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_1-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_1-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_1-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_1-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_1-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_1-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_1-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>1) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_1++; echo "$reset_cap_1 - $reset_cap_2"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_2; ?></div></td>
        <td><div align="center"><? echo $level_cap_2-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_2-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_2-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_2-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_2-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_2-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_2-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_2-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_2-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>2) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_2++; echo "$reset_cap_2 - $reset_cap_3"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_3; ?></div></td>
        <td><div align="center"><? echo $level_cap_3-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_3-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_3-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_3-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_3-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_3-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_3-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_3-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_3-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>3) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_3++; echo "$reset_cap_3 - $reset_cap_4"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_4; ?></div></td>
        <td><div align="center"><? echo $level_cap_4-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_4-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_4-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_4-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_4-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_4-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_4-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_4-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_4-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>4) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_4++; echo "$reset_cap_4 - $reset_cap_5"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_5; ?></div></td>
        <td><div align="center"><? echo $level_cap_5-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_5-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_5-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_5-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_5-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_5-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_5-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_5-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_5-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>5) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_5++; echo "$reset_cap_5 - $reset_cap_6"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_6; ?></div></td>
        <td><div align="center"><? echo $level_cap_6-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_6-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_6-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_6-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_6-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_6-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_6-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_6-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_6-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>6) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_6++; echo "$reset_cap_6 - $reset_cap_7"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_7; ?></div></td>
        <td><div align="center"><? echo $level_cap_7-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_7-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_7-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_7-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_7-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_7-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_7-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_7-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_7-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>7) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_7++; echo "$reset_cap_7 - $reset_cap_8"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_8; ?></div></td>
        <td><div align="center"><? echo $level_cap_8-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_8-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_8-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_8-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_8-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_8-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_8-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_8-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_8-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>8) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_8++; echo "$reset_cap_8 - $reset_cap_9"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_9; ?></div></td>
        <td><div align="center"><? echo $level_cap_9-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_9-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_9-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_9-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_9-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_9-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_9-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_9-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_9-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>9) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_9++; echo "$reset_cap_9 - $reset_cap_10"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_10; ?></div></td>
        <td><div align="center"><? echo $level_cap_10-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_10-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_10-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_10-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_10-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_10-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_10-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_10-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_10-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>10) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_10++; echo "$reset_cap_10 - $reset_cap_11"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_11; ?></div></td>
        <td><div align="center"><? echo $level_cap_11-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_11-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_11-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_11-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_11-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_11-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_11-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_11-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_11-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>11) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_11++; echo "$reset_cap_11 - $reset_cap_12"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_12; ?></div></td>
        <td><div align="center"><? echo $level_cap_12-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_12-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_12-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_12-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_12-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_12-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_12-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_12-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_12-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>12) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_12++; echo "$reset_cap_12 - $reset_cap_13"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_13; ?></div></td>
        <td><div align="center"><? echo $level_cap_13-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_13-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_13-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_13-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_13-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_13-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_13-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_13-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_13-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>13) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_13++; echo "$reset_cap_13 - $reset_cap_14"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_14; ?></div></td>
        <td><div align="center"><? echo $level_cap_14-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_14-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_14-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_14-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_14-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_14-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_14-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_14-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_14-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>14) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_14++; echo "$reset_cap_14 - $reset_cap_15"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_15; ?></div></td>
        <td><div align="center"><? echo $level_cap_15-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_15-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_15-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_15-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_15-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_15-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_15-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_15-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_15-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>15) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_15++; echo "$reset_cap_15 - $reset_cap_16"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_16; ?></div></td>
        <td><div align="center"><? echo $level_cap_16-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_16-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_16-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_16-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_16-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_16-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_16-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_16-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_16-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>16) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_16++; echo "$reset_cap_16 - $reset_cap_17"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_17; ?></div></td>
        <td><div align="center"><? echo $level_cap_17-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_17-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_17-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_17-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_17-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_17-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_17-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_17-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_17-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>17) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_17++; echo "$reset_cap_17 - $reset_cap_18"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_18; ?></div></td>
        <td><div align="center"><? echo $level_cap_18-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_18-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_18-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_18-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_18-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_18-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_18-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_18-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_18-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>18) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_18++; echo "$reset_cap_18 - $reset_cap_19"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_19; ?></div></td>
        <td><div align="center"><? echo $level_cap_19-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_19-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_19-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_19-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_19-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_19-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_19-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_19-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_19-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>19) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_19++; echo "$reset_cap_19 - $reset_cap_20"; ?></div></td>
	    <td><div align="center" class="col_odd"><? echo $level_cap_20; ?></div></td>
        <td><div align="center"><? echo $level_cap_20-$top2_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_20-$top3_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_20-$top4_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_20-$top10_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_20-$top20_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_20-$top30_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_20-$top40_rsredure; ?></div></td>
        <td><div align="center" class="col_odd"><? echo $level_cap_20-$top50_rsredure; ?></div></td>
        <td><div align="center"><? echo $level_cap_20-$top50_over_rsredure; ?></div></td>
	  </tr>
<? } ?>
	</tbody>
	</table>
    <div class="out-top-20">
    <table class="table table-blue table-text-center table-border-2">
<thead>
            <tr class="span">
                <th colspan="8" align="center">
                	<b>Bảng điều kiện và Phần thưởng Reset</b>
                </th>
            </tr>
        
	  <tr>
	    <th align="center" rowspan="2"><b>Reset</b></th>
	    <th align="center" colspan="4"><b>Yêu cầu cần</b></th>
	    <th align="center" colspan="2"><b>Phần thưởng</b></th>
	  </tr>
      <tr>
	    <th align="center"><b>Zen</b></th>
	    <th align="center"><b>Chao</b></th>
	    <th align="center"><b>Create</b></th>
	    <th align="center"><b>Blue</b></th>
	    <th align="center"><b>Point</b></th>
	    <th align="center"><b>Mệnh Lệnh</b><br />Chúa Tể</th>
	  </tr>
</thead>
<tbody>
<? if ($cap_reset_max>0) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_0++; echo "$reset_cap_0 - $reset_cap_1"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_1, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_1; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_1; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_1; ?></div></td>
	    <td><div align="center"><? echo $point_cap_1; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_1; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>1) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_1++; echo "$reset_cap_1 - $reset_cap_2"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_2, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_2; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_2; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_2; ?></div></td>
	    <td><div align="center"><? echo $point_cap_2; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_2; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>2) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_2++; echo "$reset_cap_2 - $reset_cap_3"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_3, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_3; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_3; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_3; ?></div></td>
	    <td><div align="center"><? echo $point_cap_3; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_3; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>3) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_3++; echo "$reset_cap_3 - $reset_cap_4"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_4, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_4; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_4; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_4; ?></div></td>
	    <td><div align="center"><? echo $point_cap_4; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_4; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>4) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_4++; echo "$reset_cap_4 - $reset_cap_5"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_5, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_5; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_5; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_5; ?></div></td>
	    <td><div align="center"><? echo $point_cap_5; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_5; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>5) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_5++; echo "$reset_cap_5 - $reset_cap_6"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_6, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_6; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_6; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_6; ?></div></td>
	    <td><div align="center"><? echo $point_cap_6; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_6; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>6) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_6++; echo "$reset_cap_6 - $reset_cap_7"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_7, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_7; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_7; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_7; ?></div></td>
	    <td><div align="center"><? echo $point_cap_7; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_7; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>7) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_7++; echo "$reset_cap_7 - $reset_cap_8"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_8, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_8; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_8; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_8; ?></div></td>
	    <td><div align="center"><? echo $point_cap_8; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_8; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>8) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_8++; echo "$reset_cap_8 - $reset_cap_9"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_9, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_9; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_9; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_9; ?></div></td>
	    <td><div align="center"><? echo $point_cap_9; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_9; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>9) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_9++; echo "$reset_cap_9 - $reset_cap_10"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_10, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_10; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_10; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_10; ?></div></td>
	    <td><div align="center"><? echo $point_cap_10; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_10; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>10) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_10++; echo "$reset_cap_10 - $reset_cap_11"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_11, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_11; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_11; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_11; ?></div></td>
	    <td><div align="center"><? echo $point_cap_11; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_11; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>11) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_11++; echo "$reset_cap_11 - $reset_cap_12"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_12, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_12; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_12; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_12; ?></div></td>
	    <td><div align="center"><? echo $point_cap_12; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_12; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>12) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_12++; echo "$reset_cap_12 - $reset_cap_13"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_13, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_13; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_13; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_13; ?></div></td>
	    <td><div align="center"><? echo $point_cap_13; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_13; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>13) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_13++; echo "$reset_cap_13 - $reset_cap_14"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_14, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_14; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_14; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_14; ?></div></td>
	    <td><div align="center"><? echo $point_cap_14; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_14; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>14) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_14++; echo "$reset_cap_14 - $reset_cap_15"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_15, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_15; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_15; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_15; ?></div></td>
	    <td><div align="center"><? echo $point_cap_15; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_15; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>15) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_15++; echo "$reset_cap_15 - $reset_cap_16"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_16, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_16; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_16; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_16; ?></div></td>
	    <td><div align="center"><? echo $point_cap_16; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_16; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>16) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_16++; echo "$reset_cap_16 - $reset_cap_17"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_17, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_17; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_17; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_17; ?></div></td>
	    <td><div align="center"><? echo $point_cap_17; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_17; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>17) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_17++; echo "$reset_cap_17 - $reset_cap_18"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_18, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_18; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_18; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_18; ?></div></td>
	    <td><div align="center"><? echo $point_cap_18; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_18; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>18) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_18++; echo "$reset_cap_18 - $reset_cap_19"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_19, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_19; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_19; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_19; ?></div></td>
	    <td><div align="center"><? echo $point_cap_19; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_19; ?></div></td>
	  </tr>
<? } ?>
<? if ($cap_reset_max>19) { ?>
	  <tr>
	    <td><div align="center"><? $reset_cap_19++; echo "$reset_cap_19 - $reset_cap_20"; ?></div></td>
	    <td><div align="center"><? echo number_format($zen_cap_20, 0, ',', '.'); ?></div></td>
	    <td><div align="center"><? echo $chao_cap_20; ?></div></td>
	    <td><div align="center"><? echo $cre_cap_20; ?></div></td>
	    <td><div align="center"><? echo $blue_cap_20; ?></div></td>
	    <td><div align="center"><? echo $point_cap_20; ?></div></td>
	    <td><div align="center"><? echo $ml_cap_20; ?></div></td>
	  </tr>
<? } ?>
</tbody>
	</table>
    </div>
</div>
</div>
<!-- End Content -->