私はこれに横たわっているので、codeigniterを使用するのが難しいです。テーブルビューに含めたいのですが、テーブルに問題があります。
このソースコード自体
$set_tabelx = array ('table_open' => "<table cellspacing='0' cellpadding='0' id='area_admin' border='1'>");
$this->table->set_template($set_tabelx);
if(isset($halaman)){
$hal = $this->load->view('admin/'.$halaman);
}
$atas = "<div id='judul_utama'>".$judul_atas."<div class='kanan'><img src='".base_url()."images/icon_system/37.png' /> Hai, ".$this->session->userdata('username')."</div></div>";
$menu = $this->load->file("application/views/admin/menu.php", true);
$isi = "<div id='jp-container' class='jp-container'><div id='isi_admin'>".$hal."</div></div><br />";
$bawah = $this->load->file("application/views/admin/footer.php", true);
$this->table->add_row(array('data' => $atas, 'colspan' => 2));
$this->table->add_row(
array('data' => $menu, 'valign' => "top", 'id' => "jp-menu", 'class' => "jp-menu bg_menu"),
array( 'valign' => "top", 'class' => "bg_isi", 'data' => "<div id='jp-container' class='jp-container'><div id='isi_admin'>".$hal."</div></div><br />"));
$this->table->add_row(array('data' => $bawah, 'colspan' => 2));
echo $this->table->generate();
この問題
if(isset($halaman)){
$hal = $this->load->view('admin/'.$halaman);
}
$this->table->add_row(
array('data' => $menu, 'valign' => "top", 'id' => "jp-menu", 'class' => "jp-menu bg_menu"),
array( 'valign' => "top", 'class' => "bg_isi", 'data' => "<div id='jp-container' class='jp-container'><div id='isi_admin'>".$hal."</div></div><br />"));
誰かが私を助けることができますか?