Пример #1
0
 function add()
 {
     $meta['judul'] = langGet('menu', 'menu_users_add');
     $this->load->view('public/header', $meta);
     $this->load->view('useradd');
     $this->load->view('public/footer');
 }
Пример #2
0
 function __construct()
 {
     parent::__construct();
     if (roleUser() != 'mimin') {
         exit(langGet('global', 'noaccess'));
     }
 }
Пример #3
0
 function __construct()
 {
     parent::__construct();
     if (roleUser() != 'mimin') {
         exit(langGet('global', 'noaccess'));
     }
     $this->load->helper('posts_helper');
 }
Пример #4
0
 function __construct()
 {
     parent::__construct();
     if (roleUser() != 'mimin') {
         exit(langGet('global', 'noaccess'));
     }
     $this->load->library(array('m_security', 'm_auth'));
 }
Пример #5
0
 function __construct()
 {
     parent::__construct();
     if (roleUser() != 'mimin') {
         exit(langGet('global', 'noaccess'));
     }
     $this->load->library('m_file');
     $this->folderTemp = "temp";
     $path = locationUpload('path') . $this->folderTemp . '/';
     $this->m_file->makeDir($path);
 }
Пример #6
0
echo langGet("menu", "menu_configuration");
?>
</span> <i class="fa fa-angle-left pull-right"></i></a>
    <ul class="treeview-menu">
        <li><a href="<?php 
echo base_url(roleURIUser() . 'config/konfigurasi');
?>
"><i class="fa fa-circle-o"></i> <?php 
echo langGet("menu", "menu_configuration_general");
?>
</a></li>
        <li><a href="<?php 
echo base_url(roleURIUser() . 'config/dbtools');
?>
"><i class="fa fa-circle-o"></i> <?php 
echo langGet("menu", "menu_configuration_database");
?>
</a></li>
        <li><a href="<?php 
echo base_url(roleURIUser() . 'config/permalink');
?>
"><i class="fa fa-circle-o"></i> <?php 
echo langGet("menu", "menu_configuration_permalink");
?>
</a></li>
        <li><a href="<?php 
echo base_url(roleURIUser() . 'config/searchengine');
?>
"><i class="fa fa-circle-o"></i> Search Engine</a></li>
    </ul>
</li>
Пример #7
0
    ?>
                <option value="<?php 
    echo $rAkses->role_id;
    ?>
"><?php 
    echo ucwords($rAkses->role_name);
    ?>
</option>
                <?php 
}
?>
        </select>
    </div>
    </div>
 <hr>
    <div class="form-group">
    <label class="col-sm-2 control-label">&nbsp;</label>
    <div class="col-sm-4">
        <button class="btn btn-flat btn-primary" type="submit"><?php 
echo langGet('global', 'button_add');
?>
</button>
        <button class="btn btn-flat btn-default" type="reset" onclick="return confirm('Yakin ingin reset form?');"><?php 
echo langGet('global', 'button_reset');
?>
</button>
    </div>
    </div>

<?php 
echo form_close();
Пример #8
0
" class="img-circle" alt="User Image" />
            </div>
            <div class="pull-left info">
              <p><?php 
echo userInfo('nama');
?>
</p>              
            </div>
          </div>
          
          <ul class="sidebar-menu">            
            <li><a href="<?php 
echo base_url(roleURIUser() . 'dashboard');
?>
"><i class="fa fa-dashboard"></i> <span><?php 
echo langGet("menu", "menu_dashboard");
?>
</span></a></li>
            <?php 
include MODPATH . "manage/views/nav/navcontainer.php";
?>
          </ul>
        </section>
      </aside>

      <div class="content-wrapper">
        <section class="content-header">
          <h1>
            <?php 
echo $judul;
?>
Пример #9
0
echo base_url(roleURIUser() . 'content/events');
?>
"><i class="fa fa-circle-o"></i> Semua Event</a></li>
        <li><a href="<?php 
echo base_url(roleURIUser() . 'content/events/add');
?>
"><i class="fa fa-circle-o"></i> Tambah Event</a></li>
    </ul>
</li>
<li class="treeview <?php 
echo menuActive("content", "pages");
?>
">
    <a href="#"><i class="fa fa-files-o"></i> <span>Halaman</span> <i class="fa fa-angle-left pull-right"></i></a>
    <ul class="treeview-menu">
        <li><a href="<?php 
echo base_url(roleURIUser() . 'content/pages');
?>
"><i class="fa fa-circle-o"></i> <?php 
echo langGet("menu", "menu_pages_all");
?>
</a></li>
        <li><a href="<?php 
echo base_url(roleURIUser() . 'content/pages/add');
?>
"><i class="fa fa-circle-o"></i> <?php 
echo langGet("menu", "menu_pages_add");
?>
</a></li>
    </ul>
</li>
Пример #10
0
 function writeBody()
 {
     global $rbk_login, $rbk_lang, $rbk_curr, $rbk_encoding, $rbk_shp_item, $rbk_pass1;
     if (isset($_REQUEST['Status'])) {
         $status = $_REQUEST['Status'];
     } else {
         $status = '';
     }
     //echo $status . '<br />' . "\n";
     if ($status == 'success') {
         $out_summ = floatval($_REQUEST['OutSum']);
         $shp_item = intval($_REQUEST["Shp_item"]);
         $uniteller_crc = strtoupper($_REQUEST["SignatureValue"]);
         $my_crc = strtoupper(md5($_REQUEST['OutSum'] . ':' . $_REQUEST["InvId"] . ':' . $rbk_pass1 . ':Shp_item=' . $shp_item));
         if ($my_crc != $rbk_crc) {
             echo langGet('uniteller_fail');
         } else {
             echo langGet('uniteller_success');
         }
     } elseif ($status == 'fail') {
         echo langGet('uniteller_fail');
     } else {
         //echo 'Рисуем страницу оплаты<br />' . "\n";
         $form = new HtmlForm('uniteller_payment');
         $layout = new GridLayout(3, 2);
         $layout->setCaption('uniteller_payment1');
         // список лицевых счетов
         // если несколько, то предоставить выбор
         $layout->addWidget(new HtmlLabel(langGet('account')));
         $account = new HtmlComboBox('AccountId', $this->accounts);
         $layout->addWidget($account);
         // если один, то не показывать
         $layout->addWidget(new HtmlLabel(langGet('amount_text')));
         //$sum = array(100 => 100, 200 => 200, 300 => 300, 400 => 400,500 => 500,1000 => 1000,1500 => 1500,2000 => 2000);
         ////$sum = array(1 => 1, 100 => 100, 200 => 200, 300 => 300, 400 => 400,500 => 500,1000 => 1000,1500 => 1500,2000 => 2000);
         //$sum = new HtmlComboBox('OutSum', $sum);
         $sum = new HtmlTextField('OutSum');
         $layout->addWidget($sum);
         $layout->addWidget(new HtmlLabel(''));
         $submit = new HtmlSubmit(langGet('new_payment_next'));
         $layout->addWidget($submit);
         $form->addWidget($layout);
         $form->addData('Status', 'pay');
         $form->writeHtml();
         $form = new HtmlForm('payment');
         $layout = new GridLayout(2, 1);
         $layout->addWidget(new HtmlLabel(langGet('uniteller_note')));
         //$aid = $this->accounts[1];
         $layout->addWidget(new HtmlLabel('<A HREF="?module=promised_payment">' . langGet('promised_payment') . '</A>'));
         $form->addWidget($layout);
         $form->writeHtml();
     }
 }
Пример #11
0
?>
</th>
        <th><?php 
echo langGet('user', 'form_access');
?>
</th>
        <th><?php 
echo langGet('user', 'form_status_user');
?>
</th>
        <th><?php 
echo langGet('user', 'form_lastlogin');
?>
</th>
        <th width="15%"><?php 
echo langGet('user', 'form_action');
?>
</th>
    </tr>  
</thead>
<tbody></tbody>
<tfoot>
	<tr>
		<td colspan="7">
		<span class="btn btn-danger btn-xs"><li class="fa fa-trash"></li> Hapus</span>
		<span class="btn btn-warning btn-xs"><li class="fa fa-lock"></li> Banned</span>
		<span class="btn btn-info btn-xs"><li class="fa fa-refresh"></li> Reset</span>
		<span class="btn btn-primary btn-xs"><li class="fa fa-check"></li> Aktif</span>
		<span>Default Password reset <b>1234</b></span>
		</td>
	</tr>
Пример #12
0
?>
"><i class="fa fa-circle-o"></i> <?php 
echo langGet("menu", "menu_news_add");
?>
</a></li>
        <li><a href="<?php 
echo base_url(roleURIUser() . 'content/category');
?>
"><i class="fa fa-circle-o"></i> <?php 
echo langGet("menu", "menu_news_category");
?>
</a></li>
        <li><a href="<?php 
echo base_url(roleURIUser() . 'content/tags');
?>
"><i class="fa fa-circle-o"></i> <?php 
echo langGet("menu", "menu_news_tags");
?>
</a></li>
    </ul>
</li>


<?php 
if (roleUser() == "mimin") {
    include dirname(__FILE__) . '/' . 'navadmin.php';
} elseif (roleUser() == "editor") {
    include dirname(__FILE__) . '/' . 'naveditor.php';
} elseif (roleUser() == "op") {
    include dirname(__FILE__) . '/' . 'navop.php';
}