<?PHP
$_OPTIMIZATION["title"] = $lang['news']['title'];
?>


<section class="main races">
    <div class="wrapper-constrained">
        <div class="content-wrapper flex">
            <div class="perfpage">

                    <div class="pinfo">
                        <div class="picon"></div>
                        <div class="pcont">
                            Here you can track the latest news of Cash Empire project.                        </div>
                    </div>

                <div class="container elven">
                    <div class="decor big"></div>
                    <h3><span>News</span></h3>
                    <div class="container-inner">
                                                    <div class="news-container">
                                <div class="st-center">
                                    <h2>CashEmpire News</h2>
									
									<div class="yablock mt30 tac">
                                                                <p>Share with friends</p>                                <script type="text/javascript" src="//yastatic.net/es5-shims/0.0.2/es5-shims.min.js" charset="windows-1251"></script>
                                <script type="text/javascript" src="//yastatic.net/share2/share.js" charset="windows-1251"></script>
                                <div class="ya-share2" data-services="vkontakte,facebook,odnoklassniki,moimir,gplus,twitter,blogger,evernote,linkedin,lj,tumblr,whatsapp,viber,skype,telegram,collections" data-counter="" data-url="https://cashempire.cc" data-title="Cash Empire - Play and Make Real Money in the Best project ever! 0.001 BCH bonus for registration!" data-description="Cash Empire is The Best innovative investment project, Quick and Easy Money all around the World!" data-image="http://cashempire.cc/images/slider/slide3_en.jpg" ></div>
                            <br>
							<div class="fb-share-button" data-href="https://developers.facebook.com/docs/plugins/" data-layout="button" data-size="small"><a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=<?php $func->url('?i='.$user_id);?>" class="fb-xfbml-parse-ignore">Share</a></div>

							</div>
                                    
                                </div>
								
								 <?PHP
    $db->Query("SELECT * FROM db_news ORDER BY id DESC LIMIT 10");
    if($db->NumRows() > 0){
        while($news = $db->FetchArray()){
    ?>
        <div class="news-box" id="ni49">
            <div class="heading">
                <h3><i class="fa fa-newspaper-o"></i><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><?php echo $news["title"]; ?></font></font></h3>
                    <div class="time"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">
					</font><font style="vertical-align: inherit;"><?php echo date("d.m.Y",$news["date_add"]); ?></font></font></div>
                </div>
				
				<div class="clearfix"></div>
                    <div class="news-box" id="ni49">
					
                        <?php echo html_entity_decode($news["news"]); ?>
                    </div>
                    
                </div>
				
				
            
    <?PHP
        }
    }else echo "<div class='text-center'>{$lang['news']['noNews']}</div>";
    ?>
                                                                

                                                                                    
																					
																					
																					
																					</div>
                                    </div>
                                    <div class="clearfix"></div>
                                                            </div>
                                            </div>
                    <div class="decor middle"></div>
                    <div class="decor left"></div>
                    <div class="decor right"></div>
                </div>
            </div>
        </div>
    </div>


</section>
