<?php ob_start(); 
error_reporting(0);
(@include ('./dt_page/common.php')) or die("<p style='font-family:Arial, Helvetica, sans-serif; margin-top:80px; font-size:16px; line-height:180%; letter-spacing:2px;' align='center'><img src='https://primadesain.com/images/block.png' width='90' height='90' /></br></br>Database failed, you can not access this script.<br>Please contact us to fix this error.<br><strong><a href='http://www.primadesain.com'>www.primadesain.com</a></strong></p><br><p style='font-family:Arial, Helvetica, sans-serif; margin-top:30px; font-size:12px; line-height:180%; letter-spacing:2px;' align='center'>&copy; 2009 - ".date("Y")." www.primadesain.com</p>");
(@include ('./dt_page/classMySQL.php')) or die("<p style='font-family:Arial, Helvetica, sans-serif; margin-top:80px; font-size:16px; line-height:180%; letter-spacing:2px;' align='center'><img src='https://primadesain.com/images/block.png' width='90' height='90' /></br></br>System failed, you can not access this script.<br>Please contact us to fix this error.<br><strong><a href='http://www.primadesain.com'>www.primadesain.com</a></strong></p><br><p style='font-family:Arial, Helvetica, sans-serif; margin-top:30px; font-size:12px; line-height:180%; letter-spacing:2px;' align='center'>&copy; 2009 - ".date("Y")." www.primadesain.com</p>");
$db = new db_mysql($server_name, $userdb, $passdb, $databasename,"");
(@include ('./dt_page/function.php')) or die("<p style='font-family:Arial, Helvetica, sans-serif; margin-top:80px; font-size:16px; line-height:180%; letter-spacing:2px;' align='center'><img src='https://primadesain.com/images/block.png' width='90' height='90' /></br></br>Function failed, you can not access this script.<br>Please contact us to fix this error.<br><strong><a href='http://www.primadesain.com'>www.primadesain.com</a></strong></p><br><p style='font-family:Arial, Helvetica, sans-serif; margin-top:30px; font-size:12px; line-height:180%; letter-spacing:2px;' align='center'>&copy; 2009 - ".date("Y")." www.primadesain.com</p>");
(@include ('./dt_page/affiliate.php')) or die("<p style='font-family:Arial, Helvetica, sans-serif; margin-top:80px; font-size:16px; line-height:180%; letter-spacing:2px;' align='center'><img src='https://primadesain.com/images/block.png' width='90' height='90' /></br></br>Refferal system failed, you can not access this script.<br>Please contact us to fix this error.<br><strong><a href='http://www.primadesain.com'>www.primadesain.com</a></strong></p><br><p style='font-family:Arial, Helvetica, sans-serif; margin-top:30px; font-size:12px; line-height:180%; letter-spacing:2px;' align='center'>&copy; 2009 - ".date("Y")." www.primadesain.com</p>");
if($db->config("maintenance") == 1){ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--
	/* 
	#######################
	http://primadesain.com
	primapc57@gmail.com
    +62 8122222044
	#######################
	*/
-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $db->config("title"); ?></title>
<link href="images/banner/<?php echo $db->config("fcon"); ?>" rel="SHORTCUT ICON" />
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
<style>
 html, body {
                background-color: #fff;
                color: #636b6f;
                font-family: 'Raleway', sans-serif;
                font-weight: 100;
                margin: 0;
            }

            .flex-center {
                align-items: center;
                display: flex;
                justify-content: center;
            }
            .content {
                text-align: center;
				margin-top:50px;
            }

			.linetext {
                font-size: 20px;
                padding: 20px;
				max-width:600px;
				font-weight:bold;
				line-height:160%;
            }
			</style>
</head>
<body>
<div class="flex-center">
<div class="content">
<img src="images/maintenance.png" style="max-width:600px; width:100%;">
<div class="linetext"><?php echo $db->config("maintenance_info"); ?></div>
</div>
</div>
</body>
</html>
<?php } else { 
if($lang == 1){
include("./dt_page/langid.php");
}else{
include("./dt_page/langen.php");
}
require_once('./dt_page/class.phpmailer.php');
include("./dt_page/class.smtp.php");

if ($blockie == 1 && preg_match("/MSIE/",getenv("HTTP_USER_AGENT")) ||
preg_match("/Internet Explorer/",getenv("HTTP_USER_AGENT"))) {
include ('./block_ie.php');
exit;
}   
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!--
	/* 
	#######################
	http://primadesain.com
	primapc57@gmail.com
    +62 8122222044
	#######################
	*/
-->
    <!-- Basic -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Mobile Metas -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    
 
    <!-- Site Metas --> <meta name="author" content="<?php echo WEB_DOMAIN; ?>"/>
    <meta name="description" content="<?php echo WEB_DESC; ?>" />
    <meta name="keywords" content="<?php echo WEB_KEYWORDS; ?>" />
	<title>About | <?php echo WEB_TITLE; ?></title>
    <link href="images/banner/<?php echo WEB_FAVCONS; ?>" rel="SHORTCUT ICON" /><!--favicon-->
    
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="newtheme/css/bootstrap.min.css" />
    <!-- Site CSS -->
    <link rel="stylesheet" href="newtheme/css/style.css" />
    <!-- Responsive CSS -->
    <link rel="stylesheet" href="newtheme/css/responsive.css" />
    <!-- Colors CSS -->
    <link rel="stylesheet" href="newtheme/css/colors.css" />
    <!-- Custom CSS -->
    <link rel="stylesheet" href="newtheme/css/custom.css" />
    <!-- Counter CSS -->
    <link rel="stylesheet" href="newtheme/css/jquery.countdown.css" />
    <!-- Wow Animation CSS -->
    <link rel="stylesheet" href="newtheme/css/animate.css" />
    <link rel="stylesheet" href="newtheme/home.css" />
    <!-- Market value slider CSS -->
    <link rel="stylesheet" type="text/css" href="newtheme/css/carouselTicker.css" media="screen" />
    <link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css" rel="stylesheet" media="all">
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
      <![endif]-->
      
</head>
<body id="default_theme" class="inner_page">
    <!-- loader -->
    <div class="bg_load">
        <img class="loader_animation" src="newtheme/images/ldx.png" width="200px" height="200px" alt="#" />
    </div>
    <!-- end loader -->
    <!-- header -->
    <header id="default_header" class="header_style_1">
    <!-- <div class="header_top">
        <div class="container">
            <div class="row">
                <div class="col-md-8 col-sm-8 col-xs-12">
                    <div class="full">
                        <ul class="pull-left header_top_menu cutomer_ser">
                            <li style="color: #000;"><a href="#"><i class="fa fa-life-ring" aria-hidden="true"></i> Customer Support: </a>support@btc-finance.org</li>
                        </ul>
                    </div>
                </div>
                <div class="col-md-4 col-sm-4 col-xs-12">
                    <div class="full">
                        <ul class="pull-right header_top_menu user_login">
                            <li><a href="login.php"><i class="fa fa-sign-in"></i> Login</a></li>
                            <li><a href="signup.php"><i class="fa fa-lock"></i> Sign Up</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div> -->
    <div class="container">
        <div class="row">
               <div class="full">
                <div class="col-sm-3 col-xs-12">
                    <!-- logo -->
                    <div class="logo" style="margin-bottom:10px;">
                        <a href="index.php"><img class="img-responsive" src="newtheme/bb/lxgo.png" alt="logo" style="margin-top:-10px; width:<?php echo $withlogone2; ?>px;"/></a>
                    </div>
                    <!-- end logo -->
                </div>
                <div class="col-sm-9 col-xs-12">
                    <!-- menu -->
                    <div class="main_menu">
                        <div id="cssmenu" class="dark_menu">
                            <ul>
                                <li><a href="./" style="margin: 0 5px;">Home </a></li>

                                <li>
                                    <a href="#" style="margin: 0 5px;">Company </a>
                                    <ul>
                                        <li><a href="about.php">About</a></li>
                                        <li><a href="./#plans">Investment Plans</a></li>
                                        <li><a href="./#why_choose_us">Why choose us</a></li>
                                    </ul>
                                </li>

                                <li><a href="contact_us.php" style="margin: 0 5px;">Support </a></li>
                                
                                <li><a href="terms.php" style="margin: 0 5px;">Terms </a></li>

                                <li><a href="login.php" style="margin: 0 5px;">Login </a></li>

                                <li><a href="signup.php">Sign Up</a></li>
                                

                            </ul>
                        </div>
                    </div>
                    <!-- end menu -->
                </div>
            </div>
        </div>
    </div>
</header>
    <!-- end header -->

    <section id="inner_page_infor" class="innerpage_banner">
        <div class="container">
            <div class="row">
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <div class="full">
                        <div class="inner_page_info">
                            <h3>About Us</h3>
                            <ul>
                                <li><a href="./">Home</a></li>
                                <li><i class="fa fa-angle-right"></i></li>
                                <li><a href="#">About Us</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    
    <section class="layout_padding_2" style="background: #fff;">
        <div class="container">
            <div class="row">
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <div class="full">
                        <div class="col-md-5 col-xs-12 pull-right">
                            <div class="full">
                                <div class="banner_icon">
                                    <img class="img-responsive" src="newtheme/images/ser_icon_2.png" alt="#" />
                                </div>
                            </div>
                        </div>
                        
                         <?php
$query = "SELECT * FROM content WHERE published=1 and catid=74"; 
$result = mysql_query($query) or die(mysql_error());
$row = mysql_fetch_array($result) or die(mysql_error());
$title = $row['title'];
$data = $row['maintext'];
$data = preg_replace("/{BISNISNAME}/", $bisnisname, $data);
$data = preg_replace("/{DOMAIN}/", $domain, $data);
$title = preg_replace("/{BISNISNAME}/", $bisnisname, $title);
?>   
                        
                        <div class="col-md-7 col-xs-12">
                            <div class="full" style="margin-top:30px;">
                            
                              <?php if($db->config("gt") == 1){ ?>
                                  <div id="google_translate_element"></div><script> function googleTranslateElementInit() {   new google.translate.TranslateElement({     pageLanguage: 'us',     layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL   }, 'google_translate_element'); } </script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
                                  <hr>
                                <?php } ?>
                             <?php if($tpmed == 1) { ?>
<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="https://ws.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "f9118fb2-b8f6-44fa-80fa-2f546864ab1e", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
	<!-- facebook share button -->
                <div>
                    <?php if($facebooksharewidget > 0){ echo "<span class='st_facebook_hcount' displayText='Facebook'></span>";} ?>
                    <?php if($facebooklikewidget > 0){ echo "<span class='st_fblike_hcount' displayText='Facebook Like'></span>";} ?>
                    <?php if($facebookrecomended > 0){ echo "<span class='st_fbrec_hcount' displayText='Facebook Recommend'></span>";} ?>
                    <?php if($facebooksendwidget > 0){ echo "<span class='st_fbsend_hcount' displayText='Facebook Send'></span>";} ?>
                    <?php if($twitersharewidget > 0){ echo "<span class='st_twitter_hcount' displayText='Tweet'></span>";} ?>
                    <?php if($googleplusharewidget > 0){ echo "<span class='st_googleplus_hcount' displayText='Google +'></span>";} ?>
                    <?php if($linkedinsharewidget > 0){ echo "<span class='st_linkedin_hcount' displayText='LinkedIn'></span>";} ?>
                    <?php if($instagramsharewidget > 0){ echo "<span class='st_instagram_hcount' displayText='Instagram'></span>";} ?>
                    <?php if($bloggersharewidget > 0){ echo "<span class='st_blogger_hcount' displayText='Blogger'></span>";} ?>
                    <?php if($pinterestsharewidget > 0){ echo "<span class='st_pinterest_hcount' displayText='Pinterest'></span>";} ?>
                    <?php if($tumblrsharewidget > 0){ echo "<span class='st_tumblr_hcount' displayText='Tumblr'></span>";} ?>
                    <?php if($stumbleuponsharewidget > 0){ echo "<span class='st_stumbleupon_hcount' displayText='StumbleUpon'></span>";} ?>
                    <?php if($baidusharewidget > 0){ echo "<span class='st_baidu_hcount' displayText='Baidu'></span>";} ?>
                    <?php if($diggsharewidget > 0){ echo "<span class='st_digg_hcount' displayText='Digg'></span>";} ?>
                    <?php if($sendmailwidget > 0){ echo "<span class='st_email_hcount' displayText='Email'></span>";} ?>
                    <?php if($printwidget > 0){ echo "<span class='st_print_hcount' displayText='Print'></span>";} ?>
                </div><!-- end facebook share button --> <hr>
<?php } ?>    
                            
                                <h2 class="heading_style2"><?php echo $title;?></h2>
                                <p class="left_text" style="font-size: 18px;"><?php echo $data;?></p>
                                
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <footer id="footer" class="footer_main">
    <div class="container">
        <div class="row">
           
            <div class="col-md-4">
                <div class="footer_logo">
                    <img src="newtheme/bb/lxgo.png" alt="#" />
                </div>
                <p class="footer_desc">Copyright &copy;  <?php echo $footer; ?></p>
            </div>
            
            <div class="col-md-4">
                <div class="main-heading left_text">
                    <h2>Quick links</h2>
                </div>
                <ul class="footer-menu" style="width:50%;">
                    <li><a href="./"><i class="fa fa-angle-right"></i> Home</a></li>
                    <li><a href="about.php"><i class="fa fa-angle-right"></i> About</a></li>
                    <li><a href="./#plans"><i class="fa fa-angle-right"></i> Plans</a></li>
                    <li><a href="#reviews"><i class="fa fa-angle-right"></i> Reviews</a></li>
                </ul>
                <ul class="footer-menu" style="width:50%;">
                    <li><a href="signup.php"><i class="fa fa-angle-right"></i> Sign Up</a></li>
                    <li><a href="login.php"><i class="fa fa-angle-right"></i> Sign In</a></li>
                    <li><a href="contact_us.php"><i class="fa fa-angle-right"></i> Contact Us</a></li>
                    
                </ul>
            </div>
            
            <div class="col-md-4">
                <div class="main-heading left_text">
                    <h2>Contact us</h2>
                </div>
              <p>
                    <?php echo $db->config("bisnisname");?>
                    <!-- <span style="font-size:18px;"><a href="tel:+13069927324">+1 (356) 182-2456</a></span> -->
                    <br>
                    <a href="emailto:<?php echo $db->config("email");?>"><?php echo $db->config("email");?></a>
                    <br>
                    <a href="emailto:<?php echo $db->config("email");?>"><?php echo $db->config("email");?></a>
                </p>
            </div>
            
        </div>
    </div>
</footer>
    <!-- end search form -->
    <!-- jQuery (necessary for Bootstrap's JavaScript) -->
    <script src="newtheme/js/jquery.min.js"></script>
    <script src="newtheme/js/custom.js"></script><?php if($stchat == 1) { include("tawkto.php"); 
} else if($stchat == 2) { include("whatshelp.php"); 
} else if($stchat == 3) { include("whatshelptawk.php"); 
} ?> 
</body>

</html>
<?php } ?>
