Senin, 08 Desember 2014

Kode PHP di code Igniter di menu Utama

Kode PHP di code Igniter di menu Utama 



</table>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login SMK Informatika Pesat</title>
<meta name="keywords" content="Book Store Template, Free CSS Template, CSS Website Layout, CSS, HTML" />
<meta name="description" content="Book Store Template, Free CSS Template, Download CSS Website" />
<link href="<?php echo base_url();?>css/a.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!--  Free CSS Templates from www.templatemo.com -->
<div id="templatemo_container">
<div id="templatemo_menu">
    <ul>
<li><a href="<?php echo base_url();?>" id="current">Home</a></li>
<li><a href="<?php echo base_url();?>siswa_umum">Siswa</a></li>
<li><a href="<?php echo base_url();?>guru_umum">Guru</a></li>
<li><a href="<?php echo base_url();?>SK_umum">Standart Kompetensi</a></li>
<!--<li><a href="<?php echo base_url();?>auth/logout">Logout</a></li>-->
</ul>
    </div> <!-- end of menu -->
   
    <div id="templatemo_header">
    <div id="templatemo_special_offers">
        <p>&nbsp;</p>
    </div>
</div> <!-- end of header -->
   
    <div id="templatemo_content">
   
        <div id="templatemo_content_left">
        <div class="templatemo_content_left_section">
            <h1>Categories</h1>
                <h1>Login</h1>

<p><form action="<?php echo base_url();?>index.php/auth/login" method="post">
<input type="text" name="username" class="username" placeholder="username" />
<input type="password" name="password" class="password" placeholder="*****" />
<table border="0">
<div class="checkbox">
<tr>
<td><input id="check" name="checkbox" type="checkbox" value="1" /></td>
<td><label for="check">Remember?</label></td>
</div>
<td><input type="submit" name="submit" class="submit" value="Sign In" /></td>
</tr>
</table>
</form></p>
            </div>
<div class="templatemo_content_left_section">
            <h1>Bestsellers</h1>
                <ul>
                    <li></li>
            </ul>
            </div>
           
            <div class="templatemo_content_left_section"></div>
        </div> <!-- end of content left -->
        <?php
if(!empty($halaman)){
$this->load->view($halaman);
}else{
echo "maaf karna anda sudah logout jadi tidak bisa buka halaman ini";
}
?><!-- end of content right -->
   
     <div class="cleaner_with_height">&nbsp;</div>
    </div> <!-- end of content -->
   
    <div id="templatemo_footer"></div>
    <!-- end of footer -->
<!--  Free CSS Template www.templatemo.com -->
</div> <!-- end of container -->
<div align=center></div></body>
</html>

Tidak ada komentar:

Posting Komentar