if(C('DEVELOP_MODE')==true){ {:L('PUBLIC_PAGE_CONFIGURATION')}if(!empty($searchKeyList)): {:L('PUBLIC_SEARCH_PAGE')}endif; } {$pageTitle}
{:L('PUBLIC_CHECH_IS')}

{:L('PUBLIC_SYSTEM_FIELD')} | {:L('PUBLIC_ADMIN_TITLE')} | {:L('PUBLIC_HEIDDEN_TIPS')} | {:L('PUBLIC_CLICK_TIPES')}
--- | --- | --- | ---
$key = $pk;$keyType = $pageKeyData['key_type'][$key];
{$pk} |  |  |

提示:checkbox如果默认有多个值,请以","隔开。

字段 | 名称 | 输入类型 | 提示信息 | 验证事件
--- | --- | --- | --- | ---
$key = is_array($pk) ? $pk[0] : $pk; $keyType = $searchKeyData['key_type'][$key]; if(is_array($pk)){ $pk = $pk[0];}
{$pk} |  |  |  |

echo $_REQUEST['dosearch'] =='1'? "style='display:block;'":'';> $_pk = $pk; is_array($pk) && $pk = $pk[0]; $key = is_array($pk) ? $pk[0] : $pk; $keyName = $searchKeyData['key_name'][$key] ? $searchKeyData['key_name'][$key] :$pk; $defaultS = isset($searchData[$pk]) ? $searchData[$pk] : ''; $keyType = $searchKeyData['key_type'][$key] ? $searchKeyData['key_type'][$key] :'text'; $event = $searchKeyData['key_javascript'][$key]; if($keyType != 'hidden'):/*非隐藏域*/

{$keyName}：
  endif; /*非隐藏域*/ /* text 支持一行多个 */ if($keyType == 'text'): if(is_array($_pk)){ foreach($_pk as $v=>$vv){ onfocus = "{$event}" class='s-txt' style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" > echo $v = (count($_pk)-1) ? '':' - '; } }else{ onfocus = "{$event}" class='s-txt' style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" > }endif; if($keyType == 'department'): {:W('Department',array('inputName'=>$pk,'canChange'=>1,'tpl'=>'input','notop'=>1,'defaultName'=>$searchData['department_show'],'defaultId'=>intval($defaultS)))} endif; if($keyType == 'select'):
  endif; if($keyType == 'user'): {:W('SearchUser', array('uids'=>$defaultS, 'name'=>$pk,'follow'=>0, 'noself'=>0, 'max'=>0))} endif; if($keyType == 'radio'): $nums = count($opt[$pk]); $tempi = 1; foreach($opt[$pk] as $sk=>$sv): $br = $nums >=6 && $tempi%3==0 ? '
  ':''; $tempi++; if($sk == $defaultS): checked="checked"endif; onfocus = "{$event}" >{$sv} {$br} endforeach; endif; /* checkBox 默认值是以","隔开的字符串,表示可以选多个 */ if($keyType == 'checkbox'): empty($defaultS) && $defaultS = array(); $defaultS = !is_array($defaultS) ? explode(',',trim($defaultS,',')) : $defaultS; foreach($opt[$pk] as $sk=>$sv): if(in_array($sk,$defaultS)): checked="checked"endif; onfocus = "{$event}" >{$sv} endforeach; endif; /* 日期插件 支持一行多个*/ if($keyType == 'date'): if(is_array($_pk)){ foreach($_pk as $v=>$vv){ {:W('DateSelect',array('name'=>$pk."[]",'class'=>'s-txt','id'=>'from_'.$pk.'_'.$v,'value'=>$defaultS[$v],'dtype'=>'full'))} echo $v == (count($_pk)-1) ? '':' — '; } }else{ }endif; if($keyType == 'hidden'): endif; if(!empty($searchKeyData['key_tishi'][$key])){

  {$searchKeyData['key_tishi'][$key]}

  } if($keyType != 'hidden'): /*非隐藏域*/

endif; /*隐藏域*/
if(!empty($pageTab)):

!$_REQUEST['tabHash'] && $_REQUEST['tabHash'] = $pageTab[0]['tabHash'];
- if($t['tabHash'] == $_REQUEST['tabHash']){ echo 'class="on"';}>{$t.title}

endif;
{$listData.html}
{$b.title}

if($allSelected): endif; $key = $pk; if($pageKeyData['key_hidden'][$key]=='1'){ continue;} $name = $pageKeyData['key_name'][$key] ? $pageKeyData['key_name'][$key] : $pk; | {$name}
--- | ---
if(empty($listData['data'])){
没有需要显示的数据!
}else{
if($allSelected): endif; $key = $pk; if($pageKeyData['key_hidden'][$key]=='1'){ continue;} $event = $pageKeyData['key_javascript'][$key]; | onclick = "{$event}"> echo $vo[$pk];
}

{$listData.html}
{$b.title}