示例#1
0
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
     <!-- jQuery -->
    <script src="<?php 
echo base_url();
?>
assets/js/jquery.js"></script>
   
    <!-- Bootstrap Core JavaScript -->
    <script src="<?php 
echo base_url();
?>
assets/js/bootstrap.min.js"></script>
    <?php 
echo Tb::modal(array('id' => 'modal_confirm', 'header' => 'Delete', 'body' => '<strong>Apakah Anda yakin ingin menghapus user ini?</strong>', 'footer' => array(Tb::button('Ya', array('onclick' => "deleted('user')", 'color' => Tb::BUTTON_COLOR_WARNING)), TB::button('Tidak', array('data-dismiss' => 'modal')))));
?>
    <script type="text/javascript" src="<?php 
echo base_url() . 'ajax/general.js';
?>
"></script>
</head>

<body>
    <div id="wrapper">

        <!-- Navigation -->
        <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
            <!-- Brand and toggle get grouped for better mobile display -->
            <?php 
$this->load->view("admin/templates/header");
示例#2
0
    <link href="<?php 
echo base_url();
?>
assets/css/font-awesome.css" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
   <?php 
echo Tb::modal(array('id' => 'modal_confirm', 'header' => 'Delete', 'body' => '<strong>Apakah Anda yakin ingin menghapus video ini?</strong>', 'footer' => array(Tb::button('Ya', array('onclick' => "deleted('video')", 'color' => Tb::BUTTON_COLOR_WARNING)), TB::button('Tidak', array('data-dismiss' => 'modal')))));
?>
    <?php 
echo Tb::modal(array('id' => 'modal_approve', 'header' => 'Approve', 'body' => '<strong>Apakah Anda yakin ingin meng-approve video ini?</strong>', 'footer' => array(Tb::button('Ya', array('onclick' => "approve('video')", 'color' => Tb::BUTTON_COLOR_WARNING)), TB::button('Tidak', array('data-dismiss' => 'modal')))));
?>
    <script type="text/javascript" src="<?php 
echo base_url() . 'ajax/general.js';
?>
"></script>

</head>

<body>

    <div id="wrapper">

        <!-- Navigation -->
        <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
            <!-- Brand and toggle get grouped for better mobile display -->