<?php include_once "header.php" ?>
<?php
//
// Page class
//

// $default = NULL; // Initialize page object first

// class cdefault {

	// function Page_Init() {
		// global $Security;

		// // Security
		// $Security = new cAdvancedSecurity();
	// }

// }

// // Create page object
// if (!isset($default)) $default = new cdefault();

// // Page init
// $default->Page_Init();

  $stmt = $DB_con->prepare("SELECT ltrim(rtrim(USERSECUREWORD)) as SECUREWORD FROM WEBUSER WHERE USERID=:uname");
  $stmt->execute(array(':uname'=>$user_id));
  $row=$stmt->fetch(PDO::FETCH_ASSOC);  
  if ($row["SECUREWORD"]==""){
    $user->redirect('profile-secureword.php?referer=notset');
  }

?>

  <!-- Full Width Column -->
  <div class="content-wrapper">
    <div class="container">
      <!-- Content Header (Page header) -->
      <section class="content-header">
        <h1>
          Utama
          <small>Laman Utama</small>
        </h1>
        <ol class="breadcrumb">
          <li><a href="#"><i class="fa fa-dashboard"></i class="active"> Utama</a></li>
          <!--
          <li><a href="#">Layout</a></li>
          <li class="active">Top Navigation</li>
          -->
        </ol>
      </section>

      <!-- Main content -->
      <section class="content">
          <!-- Default box -->
          <div class="box box-primary">
              <div class="box-body">
                  <?php if (($_SESSION[EW_SESSION_SYS_ADMIN] == 0 || $_SESSION[EW_SESSION_USER_LEVEL]==-1) && $_SESSION[EW_SESSION_USER_LEVEL]!=50) { ?>
                  <div class="row">
                  
                      <div class="col-md-4">
                        <!-- Widget: user widget style 1 -->
                        <div class="box box-widget widget-user">
                          <!-- Add the bg color to the header using any of the bg-* classes -->
                          <div class="widget-user-header bg-yellow-active">

                            <h5 class="widget-user-desc description-block">Penyata Caruman Terkini </h5>
                          </div>
                          <div class="widget-user-image">
                            <img class="img-circle" src="dist/img/penyata-no-text.png" alt="User Avatar">
                          </div>
                          <div class="box-footer">
                            <div class="row">
                              <div class="col-sm-12 border-right">
                                <div class="description-block">
                                  <a href="penyata.php" class="small-box-footer">
                                    Maklumat lanjut <i class="fa fa-arrow-circle-right"></i>
                                  </a>
                                </div>
                                <!-- /.description-block -->
                              </div>
                              <!-- /.col -->
                            </div>
                            <!-- /.row -->
                          </div>

                        </div>
                        <!-- /.widget-user -->
                      </div>
                      <!-- /.col -->                  
                  
                  
                  
                      <div class="col-md-4">
                        <!-- Widget: user widget style 1 -->
                        <div class="box box-widget widget-user">
                          <!-- Add the bg color to the header using any of the bg-* classes -->
                          <div class="widget-user-header bg-aqua-active">

                            <h5 class="widget-user-desc description-block">Unit Trust</h5>
                          </div>
                          <div class="widget-user-image">
                            <img class="img-circle" src="dist/img/waris-no-text.png" alt="User Avatar">
                          </div>
                          <div class="box-footer">
                            <div class="row">
                              <div class="col-sm-12 border-right">
                                <div class="description-block">
                                  <a href="unittrust.php" class="small-box-footer">
                                    Maklumat lanjut <i class="fa fa-arrow-circle-right"></i>
                                  </a>
                                </div>
                                <!-- /.description-block -->
                              </div>
                              <!-- /.col -->
                            </div>
                            <!-- /.row -->
                          </div>

                        </div>
                        <!-- /.widget-user -->
                      </div>
                      <!-- /.col -->

                      <div class="col-md-4">
                        <!-- Widget: user widget style 1 -->
                        <div class="box box-widget widget-user">
                          <!-- Add the bg color to the header using any of the bg-* classes -->
                          <div class="widget-user-header bg-green-active">

                            <h5 class="widget-user-desc description-block">Semakan Pengeluaran </h5>
                          </div>
                          <div class="widget-user-image">
                            <img class="img-circle" src="dist/img/profile-no-text.png" alt="User Avatar">
                          </div>
                          <div class="box-footer">
                            <div class="row">
                              <div class="col-sm-12 border-right">
                                <div class="description-block">
                                  <a href="withdrawal.php" class="small-box-footer">
                                    Maklumat lanjut <i class="fa fa-arrow-circle-right"></i>
                                  </a>
                                </div>
                                <!-- /.description-block -->
                              </div>
                              <!-- /.col -->
                            </div>
                            <!-- /.row -->
                          </div>

                        </div>
                        <!-- /.widget-user -->
                      </div>
                      <!-- /.col -->


                  </div>
                  <!-- /.row -->
                  <?php } ?>

                  <div class="row">
                      <div class="col-md-12">
                          <div id="my-carousel" class="carousel slide" data-ride="carousel">
                            <ol class="carousel-indicators">
                              <li data-target="#my-carousel" data-slide-to="0" class="active"></li>
                              <li data-target="#my-carousel" data-slide-to="1" class=""></li>
                              <li data-target="#my-carousel" data-slide-to="2" class=""></li>
                              <li data-target="#my-carousel" data-slide-to="3" class=""></li>
                              <li data-target="#my-carousel" data-slide-to="4" class=""></li>
                              <li data-target="#my-carousel" data-slide-to="5" class=""></li>
                            </ol>
                            <div class="carousel-inner">
                              <div class="item active">
                                <img src="dist\img\slideshow\slidepageslider2.jpg" alt="First slide">
                              </div>
                              <div class="item">
                                <img src="dist\img\slideshow\slidepageslider3.jpg" alt="Second slide">
                              </div>
                              <div class="item">
                                <img src="dist\img\slideshow\slidepageslider4.jpg" alt="Third slide">
                              </div>
                              <div class="item">
                                <img src="dist\img\slideshow\slidepageslider5.jpg" alt="Fourth slide">
                              </div>
                              <div class="item">
                                <img src="dist\img\slideshow\slidepageslider6.jpg" alt="Fifth slide">
                              </div>
                              <div class="item">
                                <img src="dist\img\slideshow\slidepageslider7.jpg" alt="Sixth slide">
                              </div>
                            </div>
                            <a class="left carousel-control" href="#my-carousel" data-slide="prev">
                              <span class="fa fa-angle-left"></span>
                            </a>
                            <a class="right carousel-control" href="#my-carousel" data-slide="next">
                              <span class="fa fa-angle-right"></span>
                            </a>
                          </div>
                      </div>
                      <!-- /.col -->
                  </div>
                  <!-- /.row -->

                  <br>
                  <a href="https://forms.office.com/Pages/ResponsePage.aspx?id=qivSfOWxa0G6QomEYPuNzCkn-yubflFFhZ8CvhrOT-9UQTFUNkpZQ0k3WEpBRzhCUE5GTE5JOVRQWi4u" target="_blank" class="small-box-footer"> Komen anda berkenaan Sistem i-Wira ini <i class="fa fa-arrow-circle-right"></i>
                       </a>
                  <br><br>

                  <div class="row">
                      <div class="col-md-12">
                          <div class="callout callout-danger">
                              <h4><i class="icon fa fa-warning"></i> Perhatian!</h4>
                              <ul>
                                  <li>Sila pastikan anda log masuk dari alamat URL yang betul ( <strong>https://iwira.ltat.org.my/</strong> )</li>
                                  <li>Jangan muat turun atau log masuk sistem melalui aplikasi yang tidak sah</li>
                                  <li>Jangan log masuk sistem melalui pautan emel yang meragukan</li>
                                  <li>Jangan dedahkan kod peangaktifan/ID/kata laluan anda kepada sesiapa</li>


                              </ul>
                          </div>
                      </div>
                  </div>
              </div>
              <!-- /.box-body -->
          </div>
          <!-- /.box -->
      </section>
      <!-- /.content -->
    </div>
    <!-- /.container -->
  </div>
<body>
<!-- Default Statcounter code for i-Wira https://iwira.ltat.org.my/ -->
<script type="text/javascript">
var sc_project=12000535; 
var sc_invisible=1; 
var sc_security="98f16c2c"; 
var sc_https=1; 
</script>
<script type="text/javascript"
src="https://www.statcounter.com/counter/counter.js" async></script>
<noscript><div class="statcounter"><a title="Web Analytics Made Easy -
StatCounter" href="https://statcounter.com/" target="_blank"><img
class="statcounter" src="https://c.statcounter.com/12000535/0/98f16c2c/1/"
alt="Web Analytics Made Easy - StatCounter"></a></div></noscript>
<!-- End of Statcounter Code -->
</body>
<?php include_once "footer.php" ?>