<?php include("include/system_connect.php");

//include("include/session.php");


?>
<!DOCTYPE html>
<html>
<head>
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width">
   <title><? echo $page_title;?></title>
   <link href='https://fonts.googleapis.com/css?family=Sofia' rel='stylesheet'>
   <style>
      #print_this_page {
         background: url(images/print_this_page.gif) #fff no-repeat 0px 0px; height: 23px; width: 130px;
         
      }
      #close_this_page {
         background: url(images/close_this_page.gif) #fff no-repeat 0px 0px; height: 23px; width: 130px;
         
      }
   </style>
   <style>
   	body{
   		margin:0px; 
         padding:0px; 
         background: rgb(255, 255, 255);
   		}
   	*{
   		margin:0px; padding:0px;
   		}
      .wrapper-top{
         width:800px;
         margin:0px auto;
         }
      /*.main{
         width:800px;
         float:left;
         background: rgb(250,220,233);
         background: radial-gradient(circle, rgba(250,220,233,1) 0%, rgba(179,208,241,1) 100%);
         box-shadow:0px 0px 5px #000;
         margin-bottom: 150px;
         }*/
      .top{
         width:800px;
         float:left;
         font:40px Arial, Helvetica, sans-serif;
         text-align:center;
         padding:10px 0px;
         color:rgb(8, 0, 121);
         }
      .top-one{
         width:800px;
         float:left;
         font:14px Arial, Helvetica, sans-serif;
         }
      .top-one img{
         margin:0px 0px 0px 10px;
         }
      .top-one-1{
         float:right;
         text-align:right;
         line-height:30px;
         margin-right:10px;
         margin-top:30px;
         }
      .dear{
         width:780px;
         height: 750px;
         float:left;
         font:12px Arial, Helvetica, sans-serif;
         text-align:left;
         line-height:22px;
         padding:10px;
         }
      .dear .red{
         color:#8ab611;
         }
      .dear h2{
         font:16px Arial, Helvetica, sans-serif;
         color:rgb(180, 36, 0);
         margin-bottom:10px;
         }
      .leftalling{
         padding-left: 40px;
         height: 12px;
      }
      h3{
         font:16px Arial, Helvetica, sans-serif;
         color: rgb(8, 0, 121);
      }
   </style>
</head>		
<body cellpadding="0" cellspacing="0" border="0" width="100%" height="100%" align="center" background="">
<?































$member_id=base64_decode($_REQUEST['member_id']);

$query=$mysqli->prepare("select title, name, joining_date, password, mob, address, login_otp  from member where member_id=?");
								 $query->bind_param("s", $member_id);
								 $query->execute();
								  $query->bind_result($title, $name, $joining_date, $password, $mob, $address, $t_password);
								  while($query->fetch())
									{
									$title=$title; $name=$name; $joining_date=$joining_date; $password=$password; $mob=$mob; $address=$address;$t_password=$t_password;
									}

									$query2=$mysqli->prepare("select joining_time, email  from user where member_id=?");
								 $query2->bind_param("s", $member_id);
								 $query2->execute();
								  $query2->bind_result($joining_time, $email);
								  while($query2->fetch())
									{

									$joining_time=$joining_time; $email=$email;

									}


?>	
      <table width="100%" border="0" cellspacing="0" cellpadding="0" >
         <tbody>
            <tr>
               <td height="10" align="center" valign="top">
               </td>
            </tr>
            <tr>
               <td align="center" valign="top">
                  <div style="margin-top:15px">
                     <div id="divall">
                        <div class="wrapper-top">
                           <div class="main">
                              <img src="images/logo.png" alt="Logo" width="150" height="150" style="margin-top: 35px;"><br><br>
                              <h3> <strong>Website:</strong> www.lixo.io | <strong>Email:</strong> support@lixo.io  </h3>
                              <br>
                              <hr color="rgb(8, 0, 121)" width="90%">
                              <br>
                              <h2 style="text-align: right; font:16px Arial, Helvetica, sans-serif; color:rgb(8, 0, 121);">Date:&nbsp;<? echo $joining_date;?> <? echo $joining_time;?>&nbsp;&nbsp;</h2>
                              <br>
                              <div class="top" style="font-family: 'Brush Script MT', cursive; font-size: 60px; text-align:Center; ">Welcome</div>
                              <div class="dear">
                                 <h2 style="color: rgb(8, 0, 121); font-family: 'Sofia';">To,</h2>
                                 <h2 class="leftalling" style="font-family: 'Sofia';"><? echo $name;?></h2>
                                 <h2 class="leftalling" style="font-family: 'Sofia';">Address: <? echo $address;?></h2>
                                 <h2 class="leftalling" style="font-family: 'Sofia';">Mobile:&nbsp;<? echo $mob;?></h2>
                                 <h2 class="leftalling" style="font-family: 'Sofia';">Email:&nbsp;<? echo $email;?></h2>
                                 <h2 class="leftalling" style="font-family: 'Sofia';">User ID:&nbsp;<? echo $member_id;?></h2>
                                 <h2 class="leftalling" style="font-family: 'Sofia';">Password:&nbsp;<? echo $password;?></h2>
                                 <h2 class="leftalling" style="font-family: 'Sofia';">TPIN:&nbsp;<? echo $t_password;?></h2>
                                 <br><br><br>
                                <span style="font:20px Monotype Corsiva, Helvetica, sans-serif; color: rgb(8, 0, 121)" >
                                    <b>Congratulations!!</b><br>
                                    Welcome to www.lixo.io. We are proud to have you with us.
                                    <br><br>
                                    <b>www.lixo.io</b> is the platform for all of us to build our career - the career that can give us the kind of life that we dream of. 
                                    The simple and unique business plan and our quality products are your tools with which you can make a positive difference in your life and in the lives of others.
                                    <br><br>
                                    Let us support our team members. Let us help our team members to achieve their goals.
                                    Let us promise to work with honesty, integrity, passion, and commitment. Let us create History in the field of direct selling industry.
                                    <br>
                                    You will find me always with you,
                                    <br>
                                    Sincerely yours,<br>
                                    <br>
                                   
                                    <br>
                                   www.lixo.io.                                </span>
                              </div>
                              <h4 style="text-align: center;"><i>This is a computer-generated document.</i></h4><br>
                           </div>
                           <table cellpadding="4" cellspacing="0" border="0" align="center" width="50%">
                              <tr>
                                 <td colspan="2" align="right"><a href="javascript:;" onClick="window.print();"><div id=print_this_page></div></a></td>
                                 <td colspan="1"  align="left"><a href="javascript:;" onClick="window.close();"><div id=close_this_page></div></a></td>
                              </tr>
                           </table>
                        </div>
                     </div>
                  </div>
               </td>
            </tr>
         </tbody>
      </table>
</body> 
</html>        