예제 #1
0
    var $bwlk_fdname = array("0" => array("fd_author_id"));
    var $bwlk_prgname = "checkauthorbank.php?type=check&listid=";
    var $bwlk_title = "<span style='color:#0000ff'>查看信用卡</span>";
}
if (empty($order)) {
    $order = "fd_author_regtime";
    $upordown = "desc";
}
if (isset($pagerows)) {
    // 显示列数
    $pagerows = min($pagerows, 100);
    // 最大显示列数不超过100
} else {
    $pagerows = $loginbrowline;
}
$tb_author_b_bu = new tb_author_b();
$tb_author_b_bu->browse_skin = $loginskin;
$tb_author_b_bu->browse_delqx = 1;
// 删除权限
$tb_author_b_bu->browse_addqx = 1;
// 新增权限
$tb_author_b_bu->browse_editqx = 1;
// 编辑权限
$tb_author_b_bu->browse_querywhere = "fd_author_isstop = 0 and fd_author_state = '9'";
$tb_author_b_bu->browse_link = array("lk_view0", "lk_view1", "lk_view2");
$tb_author_b_bu->main($now, $action, $pagerow, $order, $upordown, $checknote, $prgnoware, $prgnowareurl, $pagerows, $whatdofind, $howdofind, $findwhat, $allcondition);
function getauthorset($tabname, $filename, $id)
{
    $db = new DB_test();
    $query = "select fd_" . $filename . "_name as name from  {$tabname}\n\twhere fd_" . $filename . "_id='{$id}'";
    $db->query($query);
예제 #2
0
class fd_author_username extends findbrowsefield
{
    var $bwfd_fdname = "fd_author_username";
    // 数据库中字段名称
    var $bwfd_title = "会员账户";
}
class fd_author_truename extends findbrowsefield
{
    var $bwfd_fdname = "fd_author_truename";
    // 数据库中字段名称
    var $bwfd_title = "会员真实姓名";
}
class fd_author_mobile extends findbrowsefield
{
    var $bwfd_fdname = "fd_author_mobile";
    // 数据库中字段名称
    var $bwfd_title = "会员手机";
}
if (empty($order)) {
    $order = "fd_author_id";
}
if (isset($pagerows)) {
    // 显示列数
    $pagerows = min($pagerows, 100);
    // 最大显示列数不超过100
} else {
    $pagerows = ceil($loginbrowline * 0.75);
}
$tb_author_bu = new tb_author_b();
$tb_author_bu->brow_skin = $loginskin;
$tb_author_bu->main($now, $act, $pagerow, $order, $upordown, $check, $prgnoware, $prgnowareurl, $pagerows, $whatdofind, $howdofind, $findwhat);