Commit 6e145d7d by Administrator

'课程管理修改'

parent ccdf60d2
<div>dsdsds</div>
<!--<include file="admin_header" />-->
<!--<div id="container" class="so_main">-->
<!-- &lt;!&ndash; START TAB框 &ndash;&gt;-->
<!-- <php>if(!empty($pageTab)):</php>-->
<!-- <div class="tit_tab row-flex justify-between">-->
<!-- <div class="tit_tab_nav row-flex">-->
<!-- <php> !$_REQUEST['tabHash'] && $_REQUEST['tabHash'] = $pageTab[0]['tabHash'];</php>-->
<!-- <volist name='pageTab' id='t'>-->
<!-- <a href="{$t.url}&tabHash={$t.tabHash}" <php> if($t['tabHash'] == $_REQUEST['tabHash']){ echo 'class="tit_tab_nav_item on"';}else{ echo 'class="tit_tab_nav_item"';}</php>>{$t.title}</a>-->
<!-- </volist>-->
<!-- </div>-->
<!-- <div class="tit_tab_config">-->
<!-- <php>if(C('DEVELOP_MODE')==true && $is_admin){</php>-->
<!-- <a onclick="admin.fold('page_config')">[页面配置]</a>-->
<!-- <php>if(!empty($searchKeyList)):</php>-->
<!-- <a onclick="admin.fold('search_config')">[搜索配置]</a>-->
<!-- <php>endif;</php>-->
<!-- <php>}</php>-->
<!-- </div>-->
<!-- </div>-->
<!-- <php>endif;</php>-->
<!-- &lt;!&ndash; END TAB框 &ndash;&gt;-->
<!-- &lt;!&ndash; START 页面配置 &ndash;&gt;--> <include file="admin_header" />
<!-- <div id='page_config' class = "form2 list" >--> <div id="container" class="so_main">
<!-- <div class="hd">提示:checkbox如果默认有多个值,请以“,”隔开。</div>--> <!-- START TAB框 -->
<!-- <form action="{:U('admin/Index/savePageConfig')}" method="POST">--> <php>if(!empty($pageTab)):</php>
<!-- <input type="hidden" name='pageKey' value="{$pageKey}" class="s-txt"/>--> <div class="tit_tab row-flex justify-between">
<!-- <input type="hidden" name='pageTitle' value="{$pageTitle}" />--> <div class="tit_tab_nav row-flex">
<!-- <table width="100%" cellspacing="0" cellpadding="0" border="0">--> <php> !$_REQUEST['tabHash'] && $_REQUEST['tabHash'] = $pageTab[0]['tabHash'];</php>
<!-- <tr>--> <volist name='pageTab' id='t'>
<!-- <th>字段</th>--> <a href="{$t.url}&tabHash={$t.tabHash}" <php> if($t['tabHash'] == $_REQUEST['tabHash']){ echo 'class="tit_tab_nav_item on"';}else{ echo 'class="tit_tab_nav_item"';}</php>>{$t.title}</a>
<!-- <th class="line_l">名称</th>--> </volist>
<!-- <th class="line_l">是否隐藏</th>--> </div>
<!-- <th class="line_l">点击事件</th>--> <div class="tit_tab_config">
<!-- </tr>--> <php>if(C('DEVELOP_MODE')==true && $is_admin){</php>
<!-- <volist name='pageKeyList' id='pk'>--> <a onclick="admin.fold('page_config')">[页面配置]</a>
<!-- <php> $key = $pk;$keyType = $pageKeyData['key_type'][$key];</php>--> <php>if(!empty($searchKeyList)):</php>
<!-- <tr overstyle="on">--> <a onclick="admin.fold('search_config')">[搜索配置]</a>
<!-- <td width="20%"> <input type="hidden" name='key[]' value='{$pk}'> {$pk}</td>--> <php>endif;</php>
<!-- <td width="30%"><input type="text" name='key_name[]' value='{$pageKeyData['key_name'][$key]}' class="s-txt" style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" /></td>--> <php>}</php>
<!-- <td width="20%">--> </div>
<!-- <select name="key_hidden[]">--> </div>
<!-- <option value="0" <php>if($pageKeyData['key_hidden'][$key]=='0'){ echo 'selected="selected"';}</php>>显示</option>--> <php>endif;</php>
<!-- <option value="1" <php>if($pageKeyData['key_hidden'][$key]=='1'){ echo 'selected="selected"';}</php>>隐藏</option>--> <!-- END TAB框 -->
<!-- </select>-->
<!-- </td>-->
<!-- <td width="30%"><input type='text' name='key_javascript[]' value='{$pageKeyData['key_javascript'][$key]}' class="s-txt" style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" ></td>-->
<!-- &lt;!&ndash; <td style="background-color:#1E325C">-->
<!-- <a onclick="admin.moveUp($(this))" class="ico_top" title="上移"><img src="{:THEME_PUBLIC_URL}/admin/image/zw_img.gif"></a> &nbsp;&nbsp;-->
<!-- <a onclick="admin.moveDown($(this))" class="ico_btm" title="下移"><img src="{:THEME_PUBLIC_URL}/admin/image/zw_img.gif"></a>-->
<!-- </td> &ndash;&gt;-->
<!-- </tr>-->
<!-- </volist>-->
<!-- </table>-->
<!-- <div class="page_btm">-->
<!-- <input type="submit" class="btn_b" value="确定" />-->
<!-- </div>-->
<!-- </form>-->
<!-- </div>-->
<!-- &lt;!&ndash; END 页面配置 &ndash;&gt;-->
<!-- &lt;!&ndash; START 搜索配置 &ndash;&gt;--> <!-- START 页面配置 -->
<!-- <div id='search_config' class = "form2 list" >--> <div id='page_config' class = "form2 list" >
<!-- <div class="hd">提示:checkbox如果默认有多个值,请以","隔开。</div>--> <div class="hd">提示:checkbox如果默认有多个值,请以“,”隔开。</div>
<!-- <form action="{:U('admin/Index/saveSearchConfig')}" method="POST">--> <form action="{:U('admin/Index/savePageConfig')}" method="POST">
<!-- <input type="hidden" name='searchPageKey' value="{$searchPageKey}" />--> <input type="hidden" name='pageKey' value="{$pageKey}" class="s-txt"/>
<!-- <input type="hidden" name='pageTitle' value="{$pageTitle}" />--> <input type="hidden" name='pageTitle' value="{$pageTitle}" />
<!-- <table width="100%" cellspacing="0" cellpadding="0" border="0">--> <table width="100%" cellspacing="0" cellpadding="0" border="0">
<!-- <tr>--> <tr>
<!-- <th>字段</th>--> <th>字段</th>
<!-- <th class="line_l">名称</th>--> <th class="line_l">名称</th>
<!-- <th class="line_l">输入类型</th>--> <th class="line_l">是否隐藏</th>
<!-- <th class="line_l">提示信息</th>--> <th class="line_l">点击事件</th>
<!-- <th class="line_l">验证事件</th>--> </tr>
<!-- </tr>--> <volist name='pageKeyList' id='pk'>
<!-- <volist name='searchKeyList' id='pk'>--> <php> $key = $pk;$keyType = $pageKeyData['key_type'][$key];</php>
<!-- <php>--> <tr overstyle="on">
<!-- $key = is_array($pk) ? $pk[0] : $pk;--> <td width="20%"> <input type="hidden" name='key[]' value='{$pk}'> {$pk}</td>
<!-- $keyType = $searchKeyData['key_type'][$key];--> <td width="30%"><input type="text" name='key_name[]' value='{$pageKeyData['key_name'][$key]}' class="s-txt" style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" /></td>
<!-- if(is_array($pk)){ $pk = $pk[0];}--> <td width="20%">
<!-- </php>--> <select name="key_hidden[]">
<!-- <tr overstyle="on" >--> <option value="0" <php>if($pageKeyData['key_hidden'][$key]=='0'){ echo 'selected="selected"';}</php>>显示</option>
<!-- <td width="15%"><input type="hidden" name='key[]' value='{$pk}'> {$pk}</td>--> <option value="1" <php>if($pageKeyData['key_hidden'][$key]=='1'){ echo 'selected="selected"';}</php>>隐藏</option>
<!-- <td width="20%"><input type="text" name='key_name[]' value='{$searchKeyData['key_name'][$key]}' class="s-txt" style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" /></td>--> </select>
<!-- <td width="20%"><select name='key_type[]'>--> </td>
<!-- <option value='text' <eq name='keyType' value='text'> selected="selected"</eq>>文本框:input_text</option>--> <td width="30%"><input type='text' name='key_javascript[]' value='{$pageKeyData['key_javascript'][$key]}' class="s-txt" style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" ></td>
<!-- <option value='select' <eq name='keyType' value='select'> selected="selected"</eq>>下拉框:select</option>--> <!-- <td style="background-color:#1E325C">
<!-- <option value='radio' <eq name='keyType' value='radio'> selected="selected"</eq>>单选框:radio</option>--> <a onclick="admin.moveUp($(this))" class="ico_top" title="上移"><img src="{:THEME_PUBLIC_URL}/admin/image/zw_img.gif"></a> &nbsp;&nbsp;
<!-- <option value='checkbox' <eq name='keyType' value='checkbox'> selected="selected"</eq>>多选框:checkbox</option>--> <a onclick="admin.moveDown($(this))" class="ico_btm" title="下移"><img src="{:THEME_PUBLIC_URL}/admin/image/zw_img.gif"></a>
<!-- <option value='date' <eq name='keyType' value='date'> selected="selected"</eq>>日期插件:date</option>--> </td> -->
<!-- <option value='hidden' <eq name='keyType' value='hidden'> selected="selected"</eq>>隐藏值:input_hidden</option>--> </tr>
<!-- <option value='user' <eq name='keyType' value='user'> selected="selected"</eq>>用户选择:selectUser</option>--> </volist>
<!-- <option value='define' <eq name='keyType' value='define'> selected="selected"</eq>>自定义</option>--> </table>
<!-- </select></td>--> <div class="page_btm">
<!-- <td width="20%"><input type='text' name='key_tishi[]' value='{$searchKeyData['key_tishi'][$key]}' class="s-txt" style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" ></td>--> <input type="submit" class="btn_b" value="确定" />
<!-- <td width="20%"><input type='text' name='key_javascript[]' value='{$searchKeyData['key_javascript'][$key]}' class="s-txt" style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" ></td>--> </div>
<!-- </tr>--> </form>
<!-- </volist>--> </div>
<!-- </table>--> <!-- END 页面配置 -->
<!-- <div class="page_btm">-->
<!-- <input type="submit" class="btn_b" value="确定" />-->
<!-- </div>-->
<!-- </form>-->
<!-- </div>-->
<!-- &lt;!&ndash; END 搜索配置 &ndash;&gt;-->
<!-- &lt;!&ndash; START 搜索框 &ndash;&gt;--> <!-- START 搜索配置 -->
<!-- <div class="form2" id='search_form' <php> echo $_REQUEST['dosearch'] =='1'? "style='display:block;'":'';</php>>--> <div id='search_config' class = "form2 list" >
<!-- <form action="{$searchPostUrl}&dosearch=1" method="post">--> <div class="hd">提示:checkbox如果默认有多个值,请以","隔开。</div>
<!-- <volist name='searchKeyList' id='pk'>--> <form action="{:U('admin/Index/saveSearchConfig')}" method="POST">
<!-- <php>--> <input type="hidden" name='searchPageKey' value="{$searchPageKey}" />
<!-- $_pk = $pk;--> <input type="hidden" name='pageTitle' value="{$pageTitle}" />
<!-- is_array($pk) && $pk = $pk[0];--> <table width="100%" cellspacing="0" cellpadding="0" border="0">
<!-- $key = is_array($pk) ? $pk[0] : $pk;--> <tr>
<!-- $keyName = $searchKeyData['key_name'][$key] ? $searchKeyData['key_name'][$key] :$pk;--> <th>字段</th>
<!-- $defaultS = isset($searchData[$pk]) ? $searchData[$pk] : '';--> <th class="line_l">名称</th>
<!-- $keyType = $searchKeyData['key_type'][$key] ? $searchKeyData['key_type'][$key] :'text';--> <th class="line_l">输入类型</th>
<!-- $event = $searchKeyData['key_javascript'][$key];--> <th class="line_l">提示信息</th>
<!-- if($keyType != 'hidden'):/*非隐藏域*/--> <th class="line_l">验证事件</th>
<!-- </php>--> </tr>
<!-- <dl class="lineD" id='dl_{$pk}'>--> <volist name='searchKeyList' id='pk'>
<!-- <dt>{$keyName}:</dt>--> <php>
<!-- <dd>--> $key = is_array($pk) ? $pk[0] : $pk;
<!-- <php>endif; /*非隐藏域*/ </php>--> $keyType = $searchKeyData['key_type'][$key];
if(is_array($pk)){ $pk = $pk[0];}
</php>
<tr overstyle="on" >
<td width="15%"><input type="hidden" name='key[]' value='{$pk}'> {$pk}</td>
<td width="20%"><input type="text" name='key_name[]' value='{$searchKeyData['key_name'][$key]}' class="s-txt" style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" /></td>
<td width="20%"><select name='key_type[]'>
<option value='text' <eq name='keyType' value='text'> selected="selected"</eq>>文本框:input_text</option>
<option value='select' <eq name='keyType' value='select'> selected="selected"</eq>>下拉框:select</option>
<option value='radio' <eq name='keyType' value='radio'> selected="selected"</eq>>单选框:radio</option>
<option value='checkbox' <eq name='keyType' value='checkbox'> selected="selected"</eq>>多选框:checkbox</option>
<option value='date' <eq name='keyType' value='date'> selected="selected"</eq>>日期插件:date</option>
<option value='hidden' <eq name='keyType' value='hidden'> selected="selected"</eq>>隐藏值:input_hidden</option>
<option value='user' <eq name='keyType' value='user'> selected="selected"</eq>>用户选择:selectUser</option>
<option value='define' <eq name='keyType' value='define'> selected="selected"</eq>>自定义</option>
</select></td>
<td width="20%"><input type='text' name='key_tishi[]' value='{$searchKeyData['key_tishi'][$key]}' class="s-txt" style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" ></td>
<td width="20%"><input type='text' name='key_javascript[]' value='{$searchKeyData['key_javascript'][$key]}' class="s-txt" style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" ></td>
</tr>
</volist>
</table>
<div class="page_btm">
<input type="submit" class="btn_b" value="确定" />
</div>
</form>
</div>
<!-- END 搜索配置 -->
<!-- <php>--> <!-- START 搜索框 -->
<!-- /* text 支持一行多个 */--> <div class="form2" id='search_form' <php> echo $_REQUEST['dosearch'] =='1'? "style='display:block;'":'';</php>>
<!-- if($keyType == 'text'):--> <form action="{$searchPostUrl}&dosearch=1" method="post">
<!-- if(is_array($_pk)){--> <volist name='searchKeyList' id='pk'>
<!-- foreach($_pk as $v=>$vv){--> <php>
<!-- </php>--> $_pk = $pk;
<!-- <input name="{$pk}[]" id="form_{$pk}_{$v}" type="text2" value="{$defaultS[$v]}" <neq name='event' value=''> onfocus = "{$event}"</neq> class='s-txt' style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" >--> is_array($pk) && $pk = $pk[0];
<!-- <php> echo $v == (count($_pk)-1) ? '':' — ';</php>--> $key = is_array($pk) ? $pk[0] : $pk;
<!-- <php>--> $keyName = $searchKeyData['key_name'][$key] ? $searchKeyData['key_name'][$key] :$pk;
<!-- }--> $defaultS = isset($searchData[$pk]) ? $searchData[$pk] : '';
<!-- }else{--> $keyType = $searchKeyData['key_type'][$key] ? $searchKeyData['key_type'][$key] :'text';
<!-- </php>--> $event = $searchKeyData['key_javascript'][$key];
<!-- <input name="{$pk}" id="form_{$pk}" type="text" value="{$defaultS|t}" <neq name='event' value=''> onfocus = "{$event}"</neq> class='s-txt' style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" >--> if($keyType != 'hidden'):/*非隐藏域*/
<!-- <php>}endif;</php>--> </php>
<dl class="lineD" id='dl_{$pk}'>
<dt>{$keyName}:</dt>
<dd>
<php>endif; /*非隐藏域*/ </php>
<!-- <php>--> <php>
<!-- if($keyType == 'select'):--> /* text 支持一行多个 */
<!-- </php>--> if($keyType == 'text'):
<!-- <select name="{$pk}" id="form_{$pk}" <neq name='event' value=''> onchange = "{$event}"</neq> class='s-select' style="width:200px">--> if(is_array($_pk)){
<!-- <php>foreach($opt[$pk] as $sk=>$sv):</php>--> foreach($_pk as $v=>$vv){
<!-- <option value="{$sk}" <php>if($sk == $defaultS):</php> selected="selected" <php>endif;</php>>{$sv}</option>--> </php>
<!-- <php> endforeach;</php>--> <input name="{$pk}[]" id="form_{$pk}_{$v}" type="text2" value="{$defaultS[$v]}" <neq name='event' value=''> onfocus = "{$event}"</neq> class='s-txt' style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" >
<!-- </select>--> <php> echo $v == (count($_pk)-1) ? '':' — ';</php>
<!-- <php>endif;</php>--> <php>
}
}else{
</php>
<input name="{$pk}" id="form_{$pk}" type="text" value="{$defaultS|t}" <neq name='event' value=''> onfocus = "{$event}"</neq> class='s-txt' style="width:200px" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" >
<php>}endif;</php>
<!-- <php>if($keyType == 'user'):</php>--> <php>
<!-- {:W('SearchUser', array('uids'=>$defaultS, 'name'=>$pk,'follow'=>0, 'noself'=>0, 'max'=>0))}--> if($keyType == 'select'):
<!-- <php>endif;</php>--> </php>
<select name="{$pk}" id="form_{$pk}" <neq name='event' value=''> onchange = "{$event}"</neq> class='s-select' style="width:200px">
<php>foreach($opt[$pk] as $sk=>$sv):</php>
<option value="{$sk}" <php>if($sk == $defaultS):</php> selected="selected" <php>endif;</php>>{$sv}</option>
<php> endforeach;</php>
</select>
<php>endif;</php>
<!-- <php>if($keyType == 'define'):</php>--> <php>if($keyType == 'user'):</php>
<!-- {$searchData[$pk]}--> {:W('SearchUser', array('uids'=>$defaultS, 'name'=>$pk,'follow'=>0, 'noself'=>0, 'max'=>0))}
<!-- <php>endif;</php>--> <php>endif;</php>
<!-- <php>-->
<!-- if($keyType == 'radio'):-->
<!-- $nums = count($opt[$pk]);-->
<!-- $tempi = 1;-->
<!-- foreach($opt[$pk] as $sk=>$sv):-->
<!-- $br = $nums >=6 && $tempi%3==0 ? '<br/>':'';-->
<!-- $tempi++;-->
<!-- </php>-->
<!-- <label><input type="radio" name="{$pk}" value='{$sk}' <php>if($sk == $defaultS):</php> checked="checked"<php>endif;</php> <neq name='event' value=''> onfocus = "{$event}"</neq> >{$sv} </label> {$br}-->
<!-- <php>endforeach; endif;</php>-->
<!-- <php>--> <php>if($keyType == 'define'):</php>
<!-- /* checkBox 默认值是以","隔开的字符串,表示可以选多个 */--> {$searchData[$pk]}
<!-- if($keyType == 'checkbox'):--> <php>endif;</php>
<!-- empty($defaultS) && $defaultS = array();--> <php>
<!-- $defaultS = !is_array($defaultS) ? explode(',',trim($defaultS,',')) : $defaultS;--> if($keyType == 'radio'):
<!-- foreach($opt[$pk] as $sk=>$sv):--> $nums = count($opt[$pk]);
<!-- </php>--> $tempi = 1;
<!-- <label><input type="checkbox" name="{$pk}[]" value='{$sk}' <php>if(in_array($sk,$defaultS)):</php> checked="checked"<php>endif;</php> <neq name='event' value=''> onfocus = "{$event}"</neq> >{$sv} </label>--> foreach($opt[$pk] as $sk=>$sv):
<!-- <php>endforeach; endif;</php>--> $br = $nums >=6 && $tempi%3==0 ? '<br/>':'';
$tempi++;
</php>
<label><input type="radio" name="{$pk}" value='{$sk}' <php>if($sk == $defaultS):</php> checked="checked"<php>endif;</php> <neq name='event' value=''> onfocus = "{$event}"</neq> >{$sv} </label> {$br}
<php>endforeach; endif;</php>
<php>
/* checkBox 默认值是以","隔开的字符串,表示可以选多个 */
if($keyType == 'checkbox'):
empty($defaultS) && $defaultS = array();
$defaultS = !is_array($defaultS) ? explode(',',trim($defaultS,',')) : $defaultS;
foreach($opt[$pk] as $sk=>$sv):
</php>
<label><input type="checkbox" name="{$pk}[]" value='{$sk}' <php>if(in_array($sk,$defaultS)):</php> checked="checked"<php>endif;</php> <neq name='event' value=''> onfocus = "{$event}"</neq> >{$sv} </label>
<php>endforeach; endif;</php>
<!-- <php>-->
<!-- /* 日期插件 支持一行多个*/-->
<!-- if($keyType == 'date'):-->
<!-- if(is_array($_pk)){-->
<!-- foreach($_pk as $v=>$vv){-->
<!-- </php>-->
<!-- {:W('DateSelect',array('name'=>$pk."[]",'class'=>'s-txt','id'=>'from_'.$pk.'_'.$v,'value'=>$defaultS[$v],'dtype'=>'full'))}-->
<!-- <php> echo $v == (count($_pk)-1) ? '':' — ';</php>-->
<!-- <php>-->
<!-- }-->
<!-- }else{-->
<!-- </php>-->
<!-- <input name="{$pk}" type="text" class="s-txt" id="form_{$pk}" value='{$defaultS}' onfocus="core.rcalendar(this,'full');" readonly="readonly" style="width:200px;" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" />-->
<!-- <php>}endif;</php>-->
<!-- <php>if($keyType == 'hidden'):</php>--> <php>
<!-- <input name="{$pk}" id="form_{$pk}" type="hidden" value="{$defaultS}" class='s-txt'>--> /* 日期插件 支持一行多个*/
<!-- <php>endif;</php>--> if($keyType == 'date'):
if(is_array($_pk)){
foreach($_pk as $v=>$vv){
</php>
{:W('DateSelect',array('name'=>$pk."[]",'class'=>'s-txt','id'=>'from_'.$pk.'_'.$v,'value'=>$defaultS[$v],'dtype'=>'full'))}
<php> echo $v == (count($_pk)-1) ? '':' — ';</php>
<php>
}
}else{
</php>
<input name="{$pk}" type="text" class="s-txt" id="form_{$pk}" value='{$defaultS}' onfocus="core.rcalendar(this,'full');" readonly="readonly" style="width:200px;" onblur="this.className='s-txt'" onfocus="this.className='s-txt-focus'" />
<php>}endif;</php>
<!-- <php> if(!empty($searchKeyData['key_tishi'][$key])){</php>--> <php>if($keyType == 'hidden'):</php>
<!-- <p>{$searchKeyData['key_tishi'][$key]}</p>--> <input name="{$pk}" id="form_{$pk}" type="hidden" value="{$defaultS}" class='s-txt'>
<!-- <php> }</php>--> <php>endif;</php>
<!-- <php>if($keyType != 'hidden'): /*非隐藏域*/</php>--> <php> if(!empty($searchKeyData['key_tishi'][$key])){</php>
<!-- </dd>--> <p>{$searchKeyData['key_tishi'][$key]}</p>
<!-- </dl>--> <php> }</php>
<!-- <php>endif; /*隐藏域*/ </php>-->
<!-- </volist>-->
<!-- <div class="page_btm">-->
<!-- <input type="reset" value="清空" class="btn_b" onclick="reset_search()">&nbsp;&nbsp;-->
<!-- <input type="submit" value="确定" class="btn_b"> &nbsp;&nbsp;<input type="button" value="关闭" class="btn_w" onclick="admin.fold('search_form')">-->
<!-- </div>-->
<!-- </form>-->
<!-- </div>-->
<!-- &lt;!&ndash; END 搜索框 &ndash;&gt;-->
<!-- &lt;!&ndash; START TOOLBAR &ndash;&gt;--> <php>if($keyType != 'hidden'): /*非隐藏域*/</php>
<!-- <div class="Toolbar_inbox">--> </dd>
<!-- &lt;!&ndash; <div class="page right"><span>共{$listData.count}条</span>{$listData.html}</div> &ndash;&gt;--> </dl>
<!-- <volist name='pageButton' id='b'>--> <php>endif; /*隐藏域*/ </php>
<!-- <a onclick="{$b.onclick}" class="btn_a"><span>{$b.title}</span></a>--> </volist>
<!-- </volist>--> <div class="page_btm">
<input type="reset" value="清空" class="btn_b" onclick="reset_search()">&nbsp;&nbsp;
<input type="submit" value="确定" class="btn_b"> &nbsp;&nbsp;<input type="button" value="关闭" class="btn_w" onclick="admin.fold('search_form')">
</div>
</form>
</div>
<!-- END 搜索框 -->
<!-- </div>--> <!-- START TOOLBAR -->
<!-- &lt;!&ndash; END TOOLBAR &ndash;&gt;--> <div class="Toolbar_inbox">
<!-- <div class="page right"><span>共{$listData.count}条</span>{$listData.html}</div> -->
<volist name='pageButton' id='b'>
<a onclick="{$b.onclick}" class="btn_a"><span>{$b.title}</span></a>
</volist>
<!-- &lt;!&ndash; 排序 START &ndash;&gt;--> </div>
<!-- &lt;!&ndash; <div class="multiple-sort">--> <!-- END TOOLBAR -->
<!-- <div class="multiple-sort-text">排序:</div>-->
<!-- <div class="multiple-sort-item">-->
<!-- <a href="javascript:void(0)" class="multiple-sort-screen active">综合排序</a>-->
<!-- <a href="javascript:void(0)" class="multiple-sort-screen">销量</a>-->
<!-- </div>-->
<!-- </div> &ndash;&gt;-->
<!-- &lt;!&ndash; 排序 END &ndash;&gt;-->
<!-- &lt;!&ndash; START LIST &ndash;&gt;--> <!-- 排序 START -->
<!-- <div class="list" id='list'>--> <!-- <div class="multiple-sort">
<!-- <table width="100%" border="0" cellspacing="0" cellpadding="0">--> <div class="multiple-sort-text">排序:</div>
<!-- <tr>--> <div class="multiple-sort-item">
<!-- <php> if($allSelected):</php>--> <a href="javascript:void(0)" class="multiple-sort-screen active">综合排序</a>
<!-- <th style="width:30px;">--> <a href="javascript:void(0)" class="multiple-sort-screen">销量</a>
<!-- <input type="checkbox" id="checkbox_handle" onclick="admin.checkAll(this)" value="0">--> </div>
<!-- </th>--> </div> -->
<!-- <php>endif;</php>--> <!-- 排序 END -->
<!-- <volist name='pageKeyList' id='pk'>--> <!-- START LIST -->
<!-- <php>--> <div class="list" id='list'>
<!-- $key = $pk;--> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<!-- if($pageKeyData['key_hidden'][$key]=='1'){ continue;}--> <tr>
<!-- $name = $pageKeyData['key_name'][$key] ? $pageKeyData['key_name'][$key] : $pk; </php>--> <php> if($allSelected):</php>
<!-- <th class="line_l" <php>if($name=="id" || $name=="分类" || $name=="热"): </php> style="width:30px;"<php> endif;</php> <php>if($name=="操作"): </php> style="width:auto;"<php> endif;</php> >{$name}</th>--> <th style="width:30px;">
<!-- </volist>--> <input type="checkbox" id="checkbox_handle" onclick="admin.checkAll(this)" value="0">
<!-- </tr>--> </th>
<!-- <php>if(empty($listData['data'])){</php>--> <php>endif;</php>
<!-- <tr><td colspan='100' align="center">没有需要显示的数据!</td></tr>-->
<!-- <php>}else{</php>-->
<!-- <volist name='listData.data' id='vo'>--> <volist name='pageKeyList' id='pk'>
<!-- <tr overstyle="on" id="tr<php>echo $vo[$_listpk];</php>">--> <php>
$key = $pk;
if($pageKeyData['key_hidden'][$key]=='1'){ continue;}
$name = $pageKeyData['key_name'][$key] ? $pageKeyData['key_name'][$key] : $pk; </php>
<th class="line_l" <php>if($name=="id" || $name=="分类" || $name=="热"): </php> style="width:30px;"<php> endif;</php> <php>if($name=="操作"): </php> style="width:auto;"<php> endif;</php> >{$name}</th>
</volist>
</tr>
<php>if(empty($listData['data'])){</php>
<tr><td colspan='100' align="center">没有需要显示的数据!</td></tr>
<php>}else{</php>
<!-- <php> if($allSelected):</php>--> <volist name='listData.data' id='vo'>
<!-- <td><input type="checkbox" value="<php>echo $vo[$_listpk];</php>" onclick="admin.checkon(this)" name="checkbox"></td>--> <tr overstyle="on" id="tr<php>echo $vo[$_listpk];</php>">
<!-- <php> endif;</php>-->
<!-- <volist name='pageKeyList' id='pk'>-->
<!-- <php>-->
<!-- $key = $pk;-->
<!-- if($pageKeyData['key_hidden'][$key]=='1'){ continue;}-->
<!-- $event = $pageKeyData['key_javascript'][$key];-->
<!-- </php>-->
<!-- <td <neq name='event' value=''> onclick = "{$event}"</neq>>-->
<!-- <php> echo $vo[$pk];</php>-->
<!-- </td>-->
<!-- </volist>-->
<!-- </tr>-->
<!-- </volist>-->
<!-- <php>}</php>-->
<!-- </table>--> <php> if($allSelected):</php>
<!-- </div>--> <td><input type="checkbox" value="<php>echo $vo[$_listpk];</php>" onclick="admin.checkon(this)" name="checkbox"></td>
<!-- &lt;!&ndash; END LIST &ndash;&gt;--> <php> endif;</php>
<volist name='pageKeyList' id='pk'>
<php>
$key = $pk;
if($pageKeyData['key_hidden'][$key]=='1'){ continue;}
$event = $pageKeyData['key_javascript'][$key];
</php>
<td <neq name='event' value=''> onclick = "{$event}"</neq>>
<php> echo $vo[$pk];</php>
</td>
</volist>
</tr>
</volist>
<php>}</php>
<!-- &lt;!&ndash; START BOTTOMBAR &ndash;&gt;--> </table>
<!-- <div class="Toolbar_inbox">--> </div>
<!-- <div class="page right"><span>共{$listData.count}条</span>{$listData.html}</div>--> <p>dsfffffdfdd</p>
<!-- &lt;!&ndash; <volist name='pageButton' id='b'>--> <!-- END LIST -->
<!-- <a onclick="{$b.onclick}" class="btn_a"><span>{$b.title}</span></a>-->
<!-- </volist> &ndash;&gt;--> <!-- START BOTTOMBAR -->
<!-- </div>--> <div class="Toolbar_inbox">
<!-- &lt;!&ndash; END BOTTOMBAR &ndash;&gt;--> <div class="page right"><span>共{$listData.count}条</span>{$listData.html}</div>
<!-- --> <!-- <volist name='pageButton' id='b'>
<!--</div>--> <a onclick="{$b.onclick}" class="btn_a"><span>{$b.title}</span></a>
<!--<script>--> </volist> -->
<!-- function reset_search() {--> </div>
<!-- var url = $('#search_form form ').attr('action');--> <!-- END BOTTOMBAR -->
<!-- window.location.href = url;-->
<!-- }--> </div>
<!--</script>--> <script>
<!--<include file="admin_footer" />--> function reset_search() {
var url = $('#search_form form ').attr('action');
window.location.href = url;
}
</script>
<include file="admin_footer" />
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment