Commit ccdf60d2 by Administrator

'课程管理修改'

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