Ejemplo n.º 1
0
<?php

global $CI;
ui_tabs();
?>

<div class="wrap">
	<?php 
admin_head('WP-CI Settings');
?>

	<?php 
echo form_open('saveSettings');
?>
		
		<?php 
success_and_failure();
?>
		
		<?php 
echo form_hidden('nonce', get_nonce());
?>
		
		<div class="ui-tabs">
			<ul class="ui-tabs-nav">
				<li><a href="#general">General</a></li>
				<li><a href="#debugging">Debugging</a></li>
			</ul>
			<div id="general">
				<table class="form-table">
					<tr>
Ejemplo n.º 2
0
?>
static/assets/plugins/jstree/jstree.min.js"></script>

        <?php 
if (isset($cssArray)) {
    foreach ($cssArray as $css) {
        echo '<link href="' . get_base_url() . 'static/assets/' . $css . '" rel="stylesheet">' . "\n";
    }
}
?>
        <link rel="stylesheet" href="<?php 
echo get_base_url();
?>
static/assets/plugins/jstree/themes/proton/style.css" />
    	<?php 
admin_head();
?>
    </head>
    <body class="">

        <!-- Main Container Fluid -->
        <div class="container-fluid fluid">


            <!-- Content -->
            <div id="content">
            
				<?php 
core_admin_bar();
?>
				
Ejemplo n.º 3
0
function admin_module($module_name, $table_name, $order_by, $asc_desc, $exclude = array(NULL), $edit_exclude = array(NULL), $view_number, $tags)
{
    global $type, $go, $page, $message, $s, $m, $x, $edit, $submit_new, $submit_edit, $delete, $messageok, $new, $search_submit, $field, $search_words;
    if (isset($GLOBALS['pixie_user_privs']) && $GLOBALS['pixie_user_privs'] >= 1) {
        $type = 'module';
        if (isset($go) && $go == 'new' && isset($table_name)) {
            admin_head();
            admin_new($table_name, $edit_exclude);
        } else {
            if (isset($edit) && $edit && isset($table_name)) {
                admin_head();
                admin_edit($table_name, $module_name . '_id', $edit, $edit_exclude);
            } else {
                if (isset($table_name)) {
                    admin_carousel($x);
                    echo "\n\t\t\t\t<div id=\"blocks\">\n";
                    admin_block_search($type);
                    if (isset($tags) && $tags == 'yes') {
                        admin_block_tag_cloud($table_name, $module_name . "_id >= 0");
                    }
                    echo "\t\t\t\t</div>\n";
                    admin_head();
                    echo "\t\t\t\t<div id=\"pixie_content\">";
                    admin_overview($table_name, '', $order_by, $asc_desc, $exclude, $view_number, $type);
                    echo "\t\t\t\t</div>\n";
                }
            }
        }
    }
}