</div><!-- /.box --> </div> <?php if ($result["MemberType"] == "U") { ?> <div class="col-md-12"> <div class="box box-info"> <div class="box-header with-border"> <h3 class="box-title">ลูกทีม</h3> <div class="box-tools pull-right"> <button type="button" class="btn btn-success" onclick="return addChild('<?php echo $MemberID; ?> ','<?php echo getActivate($MemberID); ?> ','<?php echo getOver($MemberID); ?> ')"><i class="fa fa-plus-circle"></i></button> </div> </div><!-- /.box-header --> <div class="box-body"> <?php $sql4 = "SELECT * FROM {$TMember} WHERE MemberType='S' AND Status='A' AND Activated='Y' AND ParentID='{$MemberID}'"; $q4 = mysql_db_query($dbname, $sql4) or die($sql4); $rowC = mysql_num_rows($q4); ?> <?php
</h1> <!-- Menu main --> <?php if ($module == "") { ?> <div class="row" style="margin-top:20px;"> <?php if (@$_SESSION["Member"]["MemberType"] == "U") { ?> <div class="col-md-3 col-sm-6 col-xs-12"> <a href="javascript:addChild('<?php echo $_SESSION["Member"]["MemberID"]; ?> ','<?php echo getActivate($_SESSION["Member"]["MemberID"]); ?> ','<?php echo getOver($_SESSION["Member"]["MemberID"]); ?> ')"> <div class="info-box bg-aqua"> <span class="info-box-icon"><i class="fa fa-users"></i></span> <div class="info-box-content"> <span class="info-box-text"><?php echo $menuName["registerChild"]["th"]; ?> (<?php echo getAllChild(@$_SESSION["Member"]["MemberID"]); ?> )</span>