if(!empty($pageTab)):

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

endif;
if(C('DEVELOP_MODE')==true){ {:L('PUBLIC_PAGE_CONFIGURATION')} }
{:L('PUBLIC_CHECH_IS')}

{:L('PUBLIC_SYSTEM_FIELD')} | {:L('PUBLIC_ADMIN_TITLE')} | {:L('PUBLIC_ADMIN_TYPE')} | {:L('PUBLIC_ADMIN_MODIFY')} | {:L('PUBLIC_ADMIN_INFO')} | {:L('PUBLIC_ADMIN_NOTHING')}
--- | --- | --- | --- | --- | ---
$key = is_array($pk) ? $pk[0] : $pk; $keyType = $pageKeyData['key_type'][$key]; if(is_array($pk)){ $pk = $pk[0];}
{$pk} |  |  |  |  |

if($pageKeyData=='null'){ {:L('PUBLIC_PLEASE')}{:L('PUBLIC_PAGE_CONFIGURATION')} }else{ onsubmit = "return {$onsubmit};" id='detail_form' name='detail_form'>
$upkey = 1; $key = $pk; $_pk = $pk; is_array($pk) && $pk = $pk[0]; $key = is_array($pk) ? $pk[0] : $pk; $defaultS = isset($detailData[$pk]) ? $detailData[$pk] : $pageKeyData['key_default'][$key]; $event = $pageKeyData['key_javascript'][$key]; $keyName = $pageKeyData['key_name'][$key] ? $pageKeyData['key_name'][$key] :$pk; $keyType = $pageKeyData['key_type'][$key] ? $pageKeyData['key_type'][$key] :'text'; if($keyType != 'hidden'):/*非隐藏域*/

if(in_array($pk,$notEmpty)){ * }{$keyName}：
  endif; /*非隐藏域*/ if($keyType == 'text'): onfocus = "{$event}" class="s-txt" style='width:350px'> endif; if($keyType == 'password'): onfocus = "{$event}" class="s-txt" style='width:350px'> endif; if($keyType == 'select'):
  endif; if($keyType == 'department'): {:W('Department',array('inputName'=>$pk,'canChange'=>1,'tpl'=>'input','notop'=>1,'defaultName'=>$detailData['department_show'],'defaultId'=>intval($defaultS)))} 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; onclick = "{$event}" >{$sv} endforeach;
  {$br} endif; /* checkBox 默认值是以","隔开的字符串,表示可以选多个 */ if($keyType == 'checkbox'): $defaultS = !is_array($defaultS) ? explode(',',trim($defaultS,',')) : $defaultS; foreach($opt[$pk] as $sk=>$sv): if(in_array($sk,$defaultS)): checked="checked"endif; onclick = "{$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 == 'textarea'): onfocus = "{$event}"</neq>>{$defaultS} endif; if($keyType == 'stringText'): {:W('StringText',array('inputname'=>$pk,'value'=>$defaultS))} endif; if($keyType == 'user'): {:W('SearchUser', array('uids'=>$defaultS, 'name'=>$pk,'follow'=>0, 'max'=>0,'noself'=>0))} endif; if($keyType == 'oneUser'): {:W('SearchUser', array('uids'=>$defaultS, 'name'=>$pk,'follow'=>0, 'max'=>1,'noself'=>0,))} endif; if($keyType == 'editor'): {:W('Editor',array('width'=>'99%','height'=>'200','contentName'=>$pk,'value'=>$defaultS))} endif; if($keyType == 'word'): onclick= "{$event}"> {$defaultS} endif; if($keyType == 'hidden'): endif; if($keyType === 'color'): {:W('Color', array('value'=>$defaultS, 'id'=>$pk))} endif; if($keyType == 'define'): {$detailData[$pk]} endif; if($keyType == 'image'):
  if($defaultS && is_numeric($defaultS)){ }elseif (in_array($defaultS, array('level1.png', 'level2.png', 'level3.png', 'level4.png', 'level5.png', 'level6.png', 'level7.png', 'level8.png', 'level9.png', 'level10.png'))){ }
  onchange="{$event}"/>
  ++$upkey; endif; if($keyType == 'file'):
  {:W('Upload',array('uploadType'=>'file','inputname'=>$pk,'attachIds'=>$defaultS,'urlquery'=>'attach_type=admin_file&upload_type=file'))}
  endif; if(!empty($pageKeyData['key_tishi'][$key])){

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

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

endif; /*隐藏域*/
}