Changeset 1436


Ignore:
Timestamp:
2006/08/23 21:25:28 (18 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/design/index.php

    r1435 r1436  
    2727    $page_id = $_POST['page_id']; 
    2828}else{ 
    29     $page_id = 0; 
     29    $page_id = 1; 
    3030} 
    3131 
     
    3737$from  = ", dtb_blocposition AS pos"; 
    3838$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); 
    4442$arrBlocPos = lfgetLayoutData($sel, $from, $where, $arrData ); 
    4543 
Note: See TracChangeset for help on using the changeset viewer.