Esempio n. 1
0
                                    <tbody>
                                        <tr height="40">
                                            <th width="5%" align="left" style="background: #fff;">
                                             <input type="checkbox" value="Y" name="check_all" onclick="checkAll(this)"> 全选
                                            </th>
                                            <th width="5%" align="left" style="background: #fff;">排序</th>
                                            <th width="20%" align="left" style="background: #fff;">名称</th>
                                            <th width="20%" align="left" style="background: #fff;">视频</th>
                                            <th width="20%" align="left" style="background: #fff;">封面</th>
                                            <th width="10%" align="left" style="background: #fff;">分类</th>
                                            <th width="10%" align="left" style="background: #fff;">是否显示</th>
                                            <th width="10%" align="left" style="background: #fff;">操作</th>
                                        </tr>
                                        <!--//循环输出管理员列表-->
                                   <?php 
foreach (PtpVideoDB::pageRows($pstart, $pagesize, $video_table, $keywords) as $row) {
    $id = $row['id'];
    $category = PtpVideoDB::getCategoryRow($row['category_id']);
    ?>
                                    <tr height="40">
                                            <td class="center" style="background: #fff;">
                                                <input name="delete_id[]" type="checkbox" class="checkbox cm-item" value="<?php 
    echo $id;
    ?>
">
                                            </td>
                                            <td style="background: #fff;"><input type="text" class="input-text-short" size="3" value="<?php 
    echo $row['sort'];
    ?>
" name="sort[<?php 
    echo $id;