} unlink($pathfile); } $ymdh=Date('YmdH', time()); $prefile=array(); if($handle = opendir('/usr/www/newbepet/count/logs')) { while (false !== ($file = readdir($handle))) { if($file!="."&&$file!=".."&& $file!=$ymdh) { $prefile[]=$file; } } closedir($handle); } $ldb=mysql_connect("localhost", "root", "password"); mysql_select_db("newbepet"); foreach($prefile as $b) { #echo $b; analytics($b); } mysql_close($ldb); ?>
</div><!--//content--> </div><!--//section-inner--> </aside><!--//section--> </div><!--//secondary--> </div><!--//row--> </div><!--//masonry--> <!-- ******FOOTER****** --> <footer class="footer"> <div class="container text-center"> <?php echo copyright(); ?> </div><!--//container--> </footer><!--//footer--> <!-- Javascript --> <script type="text/javascript" src="<?php echo site_url(); ?> themes/blog/js/jquery-latest.min.js"></script> <script type="text/javascript" src="<?php echo site_url(); ?> themes/blog/js/bootstrap.min.js"></script> <?php if (analytics()) { echo analytics(); } ?> </body> </html>
<input ID="form-input-search-box" class="search-icon" type="search" name="sitesearch" value="<?php if (isset($_GET["sitesearch"])) { echo $_GET["sitesearch"]; } ?> "> <input type="hidden" name="do" value="sitesearch"> </FORM> </DIV> </DIV> <DIV ID="main-content"> <IFRAME name='myframe' width='100%' height='100%' frameborder=0 src='frontpage.php?lg=<?php echo $lang; ?> '> </IFRAME> </DIV> <?php footer(); ?> </DIV> <DIV ID="rrs-messages" style="display:none;"></DIV> <?php if ($config->servername != "localhost") { analytics(); } ?> </body> </html>