Changeset 1436
- Timestamp:
- 2006/08/23 21:25:28 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/design/index.php
r1435 r1436 27 27 $page_id = $_POST['page_id']; 28 28 }else{ 29 $page_id = 0;29 $page_id = 1; 30 30 } 31 31 … … 37 37 $from = ", dtb_blocposition AS pos"; 38 38 $where = " where "; 39 if ($page_id != "") { 40 $where .= " lay.page_id = ? AND "; 41 $arrData = array($page_id); 42 } 43 $where .= "lay.page_id != 0 AND lay.page_id = pos.page_id AND exists (select bloc_id from dtb_bloc as blc where pos.bloc_id = blc.bloc_id) ORDER BY lay.page_id,pos.target_id, pos.bloc_row, pos.bloc_id "; 39 $where .= " lay.page_id = ? AND "; 40 $where .= "lay.page_id = pos.page_id AND exists (select bloc_id from dtb_bloc as blc where pos.bloc_id = blc.bloc_id) ORDER BY lay.page_id,pos.target_id, pos.bloc_row, pos.bloc_id "; 41 $arrData = array($page_id); 44 42 $arrBlocPos = lfgetLayoutData($sel, $from, $where, $arrData ); 45 43
Note: See TracChangeset
for help on using the changeset viewer.