芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/thefirstcookout.com/support/application/views/admin/notice/index.php
url =$grid_url; $grid->width = "auto"; $grid->height = "auto"; $grid->rowNum = 20; $grid->pager = "#pagerb"; $grid->container = ".grid-body"; $grid->ShowReloadButtonInTitle=true; $grid->ShowDownloadButtonInTitle=true; if(ACL::HasPermission("admin/notice/add")){ $grid->AddTitleRightHtml('
'.__('Add New').'
'); } $grid->AddModelNonSearchable("Title", "title", 100 ,"center"); $grid->SetXSCombindeField("title"); $grid->AddModelCustomSearchable("Start Date", "start_date", 80 ,"center","daterange"); $grid->AddModelCustomSearchable("End Date", "end_date",80 ,"center","daterange"); $grid->AddModelNonSearchable("Notice For", "msg_for", 80 ,"center"); $grid->AddModelNonSearchable("Added By", "added_by", 80 ,"center"); $grid->AddModelNonSearchable("Entry Time", "added_on", 110 ,"center"); $grid->AddModelNonSearchable("Status", "status", 100 ,"center"); if(ACL::HasPermission("admin/notice/edit")){ $grid->AddModelNonSearchable("Action", "action", 100 ,"center"); } ?>
show();?>