コード例 #1
0
ファイル: view_user.php プロジェクト: singgihsap/elearning
<div class="panel panel-default">
	<div class="panel-body">
		<?php 
echo button_create('user/create', 'Tambah Pengguna');
?>
		<hr>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th>No</th>
					<th>Name</th>
					<th>Gender</th>
					<th>Email</th>
					<th>Address</th>
					<th>&nbsp;</th>
				</tr>
			</thead>
			<tbody>
				<?php 
$no = 1;
foreach ($list_user as $prof) {
    ?>
					<tr>
						<td><?php 
    echo $no;
    ?>
</td>
						<td><?php 
    echo $prof->first_name . " " . $prof->last_name;
    ?>
</td>
コード例 #2
0
ファイル: index.php プロジェクト: ruly1992/elearning
<div class="panel panel-default">
	<div class="panel-heading">
		<h3 class="panel-title">Elibrary</h3>
	</div>
	<div class="panel-body">
	 <?php 
echo button_create('elibrary/upload/', 'Upload Media');
?>
	 	<hr>
	  	<table class="table table-hover table-bordered" id="elibtable">
	  		<thead>
	  			<tr>
	  				<th>Nama Kategori</th>
	  				<th>Jumlah Media Publish</th>
	  				<th>Menunggu Konfirmasi</th>
	  			</tr>
	  		</thead>
	  		<tbody>
	  			<?php 
if (sentinel()->inRole(array('pus'))) {
    ?>
		  			<?php 
    if ($categoryByUser->count()) {
        ?>
		  				<?php 
        foreach ($categoryByUser as $row) {
            ?>
	  					
				  			<tr>
				  				<td><?php 
            echo anchor('elibrary/show/' . $row->category_id . '?status=all', $row->name);
コード例 #3
0
ファイル: index.php プロジェクト: singgihsap/elearning
<div class="panel panel-default">
    <div class="panel-body">
        <?php 
echo button_create('article/add', 'Artikel Baru');
?>

        <div class="btn-group">
            <a href="<?php 
echo site_url('article?status=all');
?>
" class="btn btn-default btn-sm <?php 
echo $status == 'all' ? 'active' : '';
?>
">Semua</a>
            <a href="<?php 
echo site_url('article?status=publish');
?>
" class="btn btn-default btn-sm <?php 
echo $status == 'publish' ? 'active' : '';
?>
">Terbit</a>
            <a href="<?php 
echo site_url('article?status=schedule');
?>
" class="btn btn-default btn-sm <?php 
echo $status == 'schedule' ? 'active' : '';
?>
">Terjadwal</a>
            <a href="<?php 
echo site_url('article?status=draft');
?>
コード例 #4
0
ファイル: _nav4list.php プロジェクト: snouhaud/camptocamp.org
<?php

use_helper('Button');
$module = $sf_context->getModuleName();
$lang = $sf_user->getCulture();
?>

<nav id="nav_tools" class="nav_box">
    <div id="nav_tools_top"></div>
    <div id="nav_tools_content">
        <ul>
            <li><?php 
echo button_create($module);
?>
</li>
            <li><?php 
echo button_search($module);
?>
</li>
            <li><?php 
echo button_changes($module);
?>
</li>
            <li><?php 
echo button_rsslist($module);
?>
</li>
            <li><?php 
echo button_rss($module, $lang);
?>
</li>
コード例 #5
0
ファイル: index.php プロジェクト: fajarekos/elearning
<div class="panel panel-default">
    <div class="panel-body">
        <?php 
echo button_create('pages/add', 'Halaman Baru');
?>

        <hr>
        <div class="table-responsive">
            <table class="table table-hover table-bordered" id="article">
                <thead>
                    <tr>
                        <th>#</th>
                        <th>Judul</th>
                        <th>Waktu</th>
                        <th>&nbsp;</th>
                    </tr>
                </thead>
                <tbody>
                    <?php 
foreach ($pages as $row) {
    ?>
                    <tr>
                        <td><?php 
    echo $row->id;
    ?>
</td>
                        <td><?php 
    echo $row->title;
    ?>
</td>
                        <td><?php 
コード例 #6
0
ファイル: index.php プロジェクト: fajarekos/elearning
<div class="panel panel-default">
    <div class="panel-body">
        <?php 
echo button_create('faq/create', 'Tambah FAQ');
?>
        <hr>
        <div class="table-responsive">
            <table class="table table-hover table-bordered" id="faq">
                <thead>
                    <tr>
                        <th>Title</th>
                        <th>Pertanyaan</th>
                        <th>Jawaban</th>
                        <th>&nbsp;</th>
                    </tr>
                </thead>
                <tbody>
                    <?php 
foreach ($list_faq as $row) {
    ?>
                    <tr>
                        <td><?php 
    echo $row->title;
    ?>
</td>
                        <td><?php 
    echo $row->question;
    ?>
</td>
                        <td><?php 
    echo $row->answer;
コード例 #7
0
ファイル: index.php プロジェクト: fajarekos/elearning
<div class="panel panel-default">
    <div class="panel-body">
        <?php 
echo button_create('link/create', 'Tambah Link');
?>
        <hr>
        <div class="table-responsive">
            <table class="table table-hover table-striped" id="article">
                <thead>
                    <tr>
                        <th>#</th>
                        <th>Nama</th>
                        <th>Deskripsi</th>
                        <th>&nbsp;</th>
                    </tr>
                </thead>
                <tbody>
                    <?php 
foreach ($link as $row) {
    ?>
                    <tr>
                        <td><?php 
    echo $row->id;
    ?>
</td>
                        <td><a href="<?php 
    echo $row->url;
    ?>
"><?php 
    echo $row->name;
    ?>
コード例 #8
0
ファイル: show.php プロジェクト: singgihsap/elearning
<div class="panel panel-default">
	<div class="panel-heading">
		<h3 class="panel-title"><?php 
echo $category->name;
?>
</h3>
	</div>
	<div class="panel-body">
        <?php 
echo button_create('elibrary/upload/' . $category->id, 'Upload Media');
?>

        <div class="btn-group">
            <a href="<?php 
echo site_url('elibrary/show/' . $category->id . '?status=all');
?>
" class="btn btn-default btn-sm <?php 
echo $status == 'all' ? 'active' : '';
?>
">Semua</a>
            <a href="<?php 
echo site_url('elibrary/show/' . $category->id . '?status=publish');
?>
" class="btn btn-default btn-sm <?php 
echo $status == 'publish' ? 'active' : '';
?>
">Publish</a>
            <a href="<?php 
echo site_url('elibrary/show/' . $category->id . '?status=draft');
?>
" class="btn btn-default btn-sm <?php