                     </td>
                    </tr>
                    <tr>
                      <td>
                      <hr size="1" width="99%" />
                        <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td class="menu" align="left" width="70%">
                            <?php
                            $query_b1 = mysqli_query($dbcnx,"SELECT COUNT(book_id) AS c3_book_id FROM tbl_book WHERE (vidano!='2' AND vidano!='3')");
	                     $coun_b = mysqli_fetch_array($query_b1);
		              $query_b_out = mysqli_query($dbcnx,"SELECT COUNT(book_id) AS c2_book_id FROM tbl_book WHERE visible='1' AND vidano='1'");
		               $coun_b_out = mysqli_fetch_array($query_b_out);
                                $query_b_zak = mysqli_query($dbcnx,"SELECT COUNT(book_id) AS c1_book_id FROM tbl_book WHERE visible='1' AND zakazano='1'");
		                 $coun_b_zak = mysqli_fetch_array($query_b_zak);
                                  $query_b_viv = mysqli_query($dbcnx,"SELECT COUNT(book_id) AS c_book_id FROM tbl_book WHERE vidano='2'");
		                   $coun_b_viv = mysqli_fetch_array($query_b_viv);
	                            echo "".$TEXT['global-film-now']."<b> ".$coun_b['c3_book_id']."</b>";
                            ?>
                            </td>
                              <?php
                            if(is_file ("../lang/".$lang."/docs/index.html")) {echo "<td rowspan=2 align='right' width='30%'><a href='../lang/".$lang."/docs/index.html' class='img' target=_blank title='". $TEXT['global-documents']."' ><img alt='picture' src= '../skins/".$result2['skin']."/help.png' ></a></td>";}
                              else {echo "<td rowspan=2 align='right' width='30%'><a href='../lang/ru/docs/index.html' class='img' target=_blank title='". $TEXT['global-documents']."' ><img alt='picture' src= '../skins/".$result2['skin']."/help.png' ></a></td>";}
                          ?>
                          </tr>
                          <tr>
                          <td class="menu"><?php echo $TEXT['global-out-book']; ?><b><?php echo $coun_b_out['c2_book_id']; ?> / <?php echo $coun_b_zak['c1_book_id']; ?></b></td>
                          <td></td>
                          </tr>
                          <tr>
                          <td class="menu"><?php echo $TEXT['book-show3']; ?>&nbsp;-&nbsp;<b><?php echo $coun_b_viv['c_book_id']; ?></b></td>
                          <td class="menu" align="right"><?php echo $TEXT['global-title']; ?>, <?php echo $TEXT['maker8']; ?></td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                    </td>
                  <td class="osn_right">&nbsp;</td>
                </tr>
                <tr>
                  <td class="osn_bottom_r"></td>
                  <td class="osn_bottom"></td>
                  <td class="osn_bottom_l"></td>
                </tr>
              </table>
</body>
</html>