echo $val["id"];
            ?>
" data-field="pass" data-value="<?php 
            echo $val["pass"];
            ?>
" src="__STATIC__/images/admin/toggle_<?php 
            if ($val["pass"] == 0) {
                ?>
disabled<?php 
            } else {
                ?>
enabled<?php 
            }
            ?>
.gif" /></td><td align="center"><?php 
            echo frienddate($val["add_time"]);
            ?>
</td><td align="center"><a href="<?php 
            echo u('items/edit', array('id' => $val['id'], 'menuid' => $menuid));
            ?>
"><?php 
            echo L('edit');
            ?>
</a> | <a href="javascript:void(0);" class="J_confirmurl" data-uri="<?php 
            echo u('items/delete', array('id' => $val['id']));
            ?>
" data-acttype="ajax" data-msg="<?php 
            echo sprintf(L('confirm_delete_one'), $val['title']);
            ?>
"><?php 
            echo L('delete');
            echo $val["id"];
            ?>
" data-field="status" data-value="<?php 
            echo $val["status"];
            ?>
" src="__STATIC__/images/admin/toggle_<?php 
            if ($val["status"] == 0) {
                ?>
disabled<?php 
            } else {
                ?>
enabled<?php 
            }
            ?>
.gif" /></td><td align="center"><?php 
            echo frienddate($val["last_time"]);
            ?>
</td><td align="center"><a href="javascript:collect(<?php 
            echo $val["id"];
            ?>
,<?php 
            echo $val["last_page"];
            ?>
);">继续上次采集</a> |<a href="javascript:collect(<?php 
            echo $val["id"];
            ?>
,1);">开始采集</a> |<a href="<?php 
            echo u('robots/edit', array('id' => $val['id'], 'menuid' => $menuid));
            ?>
"><?php 
            echo L('edit');
            echo $val["colors"];
            ?>
;"><?php 
            echo $val["title"];
            ?>
</span></td><td align="center"><?php 
            echo $val["nick"];
            ?>
</td><td align="center" class="red"><?php 
            echo $val["price"];
            ?>
</td><td align="center" class="red"><?php 
            echo $val["coupon_price"];
            ?>
</td><td align="center"><?php 
            echo frienddate($val["coupon_end_time"]);
            ?>
</td><td align="center"><a href="<?php 
            echo u('items/edit', array('id' => $val['id'], 'menuid' => $menuid));
            ?>
"><?php 
            echo L('edit');
            ?>
</a> | <a href="javascript:void(0);" class="J_confirmurl" data-uri="<?php 
            echo u('items/delete', array('id' => $val['id']));
            ?>
" data-acttype="ajax" data-msg="<?php 
            echo sprintf(L('confirm_delete_one'), $val['title']);
            ?>
"><?php 
            echo L('delete');