当前位置: 首页>>代码示例>>PHP>>正文


PHP block::cellRow方法代码示例

本文整理汇总了PHP中block::cellRow方法的典型用法代码示例。如果您正苦于以下问题:PHP block::cellRow方法的具体用法?PHP block::cellRow怎么用?PHP block::cellRow使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在block的用法示例。


在下文中一共展示了block::cellRow方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

        } else {
            if ($listInvoicesItems->invitem_rate_type[$i] == "b") {
                $rate_type_value = "1";
            } else {
                if ($listInvoicesItems->invitem_rate_type[$i] == "c") {
                    $rate_type_value = "2";
                } else {
                    if (is_numeric($listInvoicesItems->invitem_rate_type[$i])) {
                        $rate_type_value = "3";
                    }
                }
            }
        }
        $block2->openRow();
        $block2->checkboxRow($listInvoicesItems->invitem_id[$i]);
        $block2->cellRow($listInvoicesItems->invitem_position[$i]);
        $block2->cellRow($blockPage->buildLink("../invoicing/editinvoiceitem.php?invoiceitem=" . $listInvoicesItems->invitem_id[$i], $listInvoicesItems->invitem_title[$i], in));
        $block2->cellRow($rateType[$rate_type_value]);
        $block2->cellRow($listInvoicesItems->invitem_rate_value[$i]);
        $block2->cellRow($listInvoicesItems->invitem_amount_ex_tax[$i]);
        if ($listInvoicesItems->invitem_completed[$i] == "1") {
            $block2->cellRow($strings["yes"]);
        } else {
            $block2->cellRow($strings["no"]);
        }
        $block2->closeRow();
    }
    $block2->closeResults();
} else {
    $block2->noresults();
}
开发者ID:ColBT,项目名称:php_tut,代码行数:31,代码来源:viewinvoice.php

示例2: array

 if ($comptListFiles != "0") {
     $block2->openResults();
     $block2->labels($labels = array(0 => $strings["type"], 1 => $strings["name"], 2 => $strings["date"], 3 => $strings["approval_tracking"], 4 => $strings["published"]), "true");
     require_once "../includes/files_types.php";
     for ($i = 0; $i < $comptListFiles; $i++) {
         $existFile = "false";
         $idStatus = $listAttachments->mat_status[$i];
         $idPublish = $listAttachments->mat_published[$i];
         $type = file_info_type($listAttachments->mat_extension[$i]);
         if (file_exists("../files/" . $listAttachments->mat_project[$i] . "/meetings/" . $listAttachments->mat_meeting[$i] . "/" . $listAttachments->mat_name[$i])) {
             $existFile = "true";
         }
         $block2->openRow($listAttachments->mat_id[$i]);
         $block2->checkboxRow($listAttachments->mat_id[$i]);
         if ($existFile == "true") {
             $block2->cellRow(buildLink("../meetings/viewfile.php?id=" . $listAttachments->mat_id[$i], $type, icone));
         } else {
             $block2->cellRow("&nbsp;");
         }
         if ($existFile == "true") {
             $block2->cellRow(buildLink("../meetings/viewfile.php?id=" . $listAttachments->mat_id[$i], $listAttachments->mat_name[$i], LINK_INSIDE));
         } else {
             $block2->cellRow($strings["missing_file"] . " (" . $listAttachments->mat_name[$i] . ")");
         }
         $block2->cellRow($listAttachments->mat_date[$i]);
         $block2->cellRow(buildLink("../meetings/viewfile.php?id=" . $listAttachments->mat_id[$i], $statusFile[$idStatus], LINK_INSIDE));
         if ($sitePublish == "true") {
             $block2->cellRow($statusPublish[$idPublish]);
         }
         $block2->closeRow();
     }
开发者ID:jgatica,项目名称:Netoffice,代码行数:31,代码来源:viewmeeting.php

示例3: array

 $block10->openResults();
 $block10->labels($labels = array('P', $strings['name'], $strings['status'], $strings['completion'], $strings['due_date'], $strings['phase'], $strings['assigned_to'], $strings['published']), 'true');
 for ($i = 0; $i < $comptListTasks; $i++) {
     if ($listTasks->tas_due_date[$i] == '') {
         $listTasks->tas_due_date[$i] = $strings['none'];
     }
     $idStatus = $listTasks->tas_status[$i];
     $idPriority = $listTasks->tas_priority[$i];
     $idPublish = $listTasks->tas_published[$i];
     $complValue = $listTasks->tas_completion[$i] > 0 ? $listTasks->tas_completion[$i] . '0 %' : $listTasks->tas_completion[$i] . ' %';
     $block10->openRow($listTasks->tas_id[$i]);
     $block10->checkboxRow($listTasks->tas_id[$i]);
     //--- id ----
     #$block10->cellRow(buildLink("../tasks/viewtask.php?id=" . $listTasks->tas_id[$i], $listTasks->tas_id[$i], LINK_INSIDE));
     //--- prio ---
     $block10->cellRow('<img src="../themes/' . THEME . '/gfx_priority/' . $idPriority . '.gif" alt="' . $priority[$idPriority] . '">', '1%', true);
     //--- name ----
     if ($idStatus == 1) {
         $block10->cellRow(buildLink('../tasks/viewtask.php?id=' . $listTasks->tas_id[$i], $listTasks->tas_name[$i], LINK_STRIKE), "99%");
     } else {
         $block10->cellRow(buildLink('../tasks/viewtask.php?id=' . $listTasks->tas_id[$i], $listTasks->tas_name[$i], LINK_INSIDE), "99%");
     }
     //--- status ----
     $block10->cellRow('<img src="../themes/' . THEME . '/gfx_status/' . $idStatus . '.gif" alt="' . $status[$idStatus] . '">&nbsp;' . $status[$idStatus], '', true);
     //--- complete ----
     $block10->cellRow($complValue);
     //---- due date ------
     if ($listTasks->tas_due_date[$i] <= $date && $listTasks->tas_completion[$i] != '10') {
         $block10->cellRow('<b>' . $listTasks->tas_due_date[$i] . '</b>');
     } else {
         $block10->cellRow($listTasks->tas_due_date[$i]);
开发者ID:jgatica,项目名称:Netoffice,代码行数:31,代码来源:listphases.php

示例4: array

$block1->openForm("../reports/listreports.php#" . $block1->form . "Anchor");
$block1->heading($strings["my_reports"]);
$block1->openPaletteIcon();
$block1->paletteIcon(0, "add", $strings["add"]);
$block1->paletteIcon(1, "remove", $strings["delete"]);
$block1->closePaletteIcon();
$block1->sorting("reports", $sortingUser->sor_reports[0], "rep.name ASC", $sortingFields = array(0 => "rep.name", 1 => "rep.created"));
$tmpquery = "WHERE rep.owner = '" . $_SESSION['idSession'] . "' ORDER BY {$block1->sortingValue}";
$listReports = new request();
$listReports->openReports($tmpquery);
$comptListReports = count($listReports->rep_id);
if ($comptListReports != "0") {
    $block1->openResults();
    $block1->labels($labels = array(0 => $strings["name"], 1 => $strings["created"]), "false");
    for ($i = 0; $i < $comptListReports; $i++) {
        $block1->openRow($listReports->rep_id[$i]);
        $block1->checkboxRow($listReports->rep_id[$i]);
        $block1->cellRow(buildLink("../reports/resultsreport.php?id=" . $listReports->rep_id[$i], $listReports->rep_name[$i], LINK_INSIDE));
        $block1->cellRow(createDate($listReports->rep_created[$i], $_SESSION['timezoneSession']));
    }
    $block1->closeResults();
} else {
    $block1->noresults();
}
$block1->closeFormResults();
$block1->block_close();
$block1->openPaletteScript();
$block1->paletteScript(0, "add", "../reports/createreport.php?", "true,true,true", $strings["add"]);
$block1->paletteScript(1, "remove", "../reports/deletereports.php?", "false,true,true", $strings["delete"]);
$block1->closePaletteScript($comptListReports, $listReports->rep_id);
require_once "../themes/" . THEME . "/footer.php";
开发者ID:jgatica,项目名称:Netoffice,代码行数:31,代码来源:listreports.php

示例5: count

    for ($i = 0; $i < $comptListRequests; $i++) {
        $comptSta = count($requestStatus);
        for ($sr = 0; $sr < $comptSta; $sr++) {
            if ($listRequests->sr_status[$i] == $sr) {
                $currentStatus = $requestStatus[$sr];
            }
        }
        $comptPri = count($priority);
        for ($rp = 0; $rp < $comptPri; $rp++) {
            if ($listRequests->sr_priority[$i] == $rp) {
                $requestPriority = $priority[$rp];
            }
        }
        $block1->openRow();
        $block1->checkboxRow($listRequests->sr_id[$i]);
        $block1->cellRow($listRequests->sr_id[$i]);
        $block1->cellRow($blockPage->buildLink("../support/viewrequest.php?id=" . $listRequests->sr_id[$i], $listRequests->sr_subject[$i], in));
        $block1->cellRow($requestPriority);
        $block1->cellRow($currentStatus);
        $block1->cellRow($listRequests->sr_date_open[$i]);
        $block1->cellRow($listRequests->sr_date_close[$i]);
        $block1->closeRow();
    }
    $block1->closeResults();
} else {
    $block1->noresults();
}
$block1->closeFormResults();
if ($teamMember == "true" || $profilSession == "0") {
    $block1->openPaletteScript();
    //$block1->paletteScript(0,"add","addsupport.php?","true,true,true",$strings["add"]);
开发者ID:ColBT,项目名称:php_tut,代码行数:31,代码来源:listrequests.php

示例6: request

echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\">&nbsp;</td><td><input type=\"SUBMIT\" value=\"" . $strings["save"] . "\"></td></tr>";
$block1->closeContent();
$block1->heading($strings["holidays"]);
$block1->openPaletteIcon();
$block1->paletteIcon(1, "remove", $strings["delete"]);
$block1->closePaletteIcon();
$tmpquery = " ORDER BY hol.date DESC";
$holidayList = new request();
$holidayList->openHoliday($tmpquery);
$comptHolidayList = count($holidayList->hol_id);
$block1->recordsTotal = $comptHolidayList;
if ($comptHolidayList > 0) {
    $block1->openResults();
    $block1->labels($labels = array(0 => $strings['date'], 1 => $strings['comments']), 'true', $sorting = false, $sortingOff = array(0 => '0', 1 => 'DESC'));
    for ($i = 0; $i < $comptHolidayList; $i++) {
        $block1->openRow($holidayList->hol_id[$i]);
        $block1->checkboxRow($holidayList->hol_id[$i]);
        $block1->cellRow($holidayList->hol_date[$i]);
        $block1->cellRow($holidayList->hol_comments[$i]);
        $block1->closeRow();
    }
    $block1->closeResults();
} else {
    $block1->noresults();
}
$block1->closeFormResults();
$block1->openPaletteScript();
$block1->paletteScript(1, "remove", "../administration/deleteholidays.php?", "false,true,true", $strings["delete"]);
$block1->closePaletteScript($comptHolidayList, $holidayList->hol_id);
$block1->headingForm_close();
require_once "../themes/" . THEME . "/footer.php";
开发者ID:TICanalyste,项目名称:netOffice--remix-,代码行数:31,代码来源:listholidays.php

示例7: request

$block1->openForm("../clients/listclients.php#" . $block1->form . "Anchor");
$block1->heading($strings["organizations"]);
$block1->openPaletteIcon();
$block1->paletteIcon(0, "add", $strings["add"]);
$block1->paletteIcon(1, "remove", $strings["delete"]);
$block1->closePaletteIcon();
$tmpquery = "WHERE org.id != '1' ORDER BY org.url DESC";
$listOrganizations = new request();
$listOrganizations->openOrganizations($tmpquery);
$comptListOrganizations = count($listOrganizations->org_id);
if ($comptListOrganizations != "0") {
    $block1->openResults($checkbox = "false");
    $block1->labels($labels = array(0 => $strings["name"], 1 => $strings["phone"], 2 => $strings["url"]), "false", $sorting = "false", $sortingOff = array(0 => "2", 1 => "DESC"));
    for ($i = 0; $i < $comptListOrganizations; $i++) {
        $block1->openRow();
        $block1->checkboxRow($listOrganizations->org_id[$i], $checkbox = "false");
        $block1->cellRow(buildLink("../clients/viewclient.php?id=" . $listOrganizations->org_id[$i], $listOrganizations->org_name[$i], LINK_INSIDE));
        $block1->cellRow($listOrganizations->org_phone[$i]);
        $block1->cellRow(buildLink($listOrganizations->org_url[$i], $listOrganizations->org_url[$i], LINK_OUT));
        $block1->closeRow();
    }
    $block1->closeResults();
} else {
    $block1->noresults();
}
$block1->closeFormResults();
$block1->openPaletteScript();
$block1->paletteScript(0, "add", "../clients/editclient.php?", "true,false,false", $strings["add"]);
$block1->paletteScript(1, "remove", "../clients/deleteclients.php?", "false,true,true", $strings["delete"]);
$block1->closePaletteScript($comptListOrganizations, $listOrganizations->org_id);
require_once "../themes/" . THEME . "/footer.php";
开发者ID:TICanalyste,项目名称:netOffice--remix-,代码行数:31,代码来源:list_notoggle_icons_nocheckbox_nosorting.php

示例8: compt

$block1->recordsTotal = compt($initrequest["projects"] . " " . $tmpquery);
$listProjects = new request();
$listProjects->openProjects($tmpquery, $block1->borne, $block1->rowsLimit);
$comptListProjects = count($listProjects->pro_id);
if ($comptListProjects != "0") {
    $block1->openResults();
    $block1->labels($labels = array(0 => $strings["id"], 1 => $strings["project"], 2 => $strings["priority"], 3 => $strings["organization"], 4 => $strings["status"], 5 => $strings["owner"], 6 => $strings["project_site"]), "true");
    for ($i = 0; $i < $comptListProjects; $i++) {
        if ($listProjects->pro_org_id[$i] == "1") {
            $listProjects->pro_org_name[$i] = $strings["none"];
        }
        $idStatus = $listProjects->pro_status[$i];
        $idPriority = $listProjects->pro_priority[$i];
        $block1->openRow();
        $block1->checkboxRow($listProjects->pro_id[$i]);
        $block1->cellRow($blockPage->buildLink("../projects/viewproject.php?id=" . $listProjects->pro_id[$i], $listProjects->pro_id[$i], in));
        $block1->cellRow($blockPage->buildLink("../projects/viewproject.php?id=" . $listProjects->pro_id[$i], $listProjects->pro_name[$i], in));
        $block1->cellRow("<img src=\"../themes/" . THEME . "/gfx_priority/" . $idPriority . ".gif\" alt=\"\"> " . $priority[$idPriority]);
        $block1->cellRow($listProjects->pro_org_name[$i]);
        $block1->cellRow($status[$idStatus]);
        $block1->cellRow($blockPage->buildLink($listProjects->pro_mem_email_work[$i], $listProjects->pro_mem_login[$i], mail));
        if ($sitePublish == "true") {
            if ($listProjects->pro_published[$i] == "1") {
                $block1->cellRow("&lt;" . $blockPage->buildLink("../projects/addprojectsite.php?id=" . $listProjects->pro_id[$i], $strings["create"] . "...", in) . "&gt;");
            } else {
                $block1->cellRow("&lt;" . $blockPage->buildLink("../projects/viewprojectsite.php?id=" . $listProjects->pro_id[$i], $strings["details"], in) . "&gt;");
            }
        }
        $block1->closeRow();
    }
    $block1->closeResults();
开发者ID:ColBT,项目名称:php_tut,代码行数:31,代码来源:listprojects.php

示例9: array

$grand_total_member_hours = array();
if ($comptListHours != "0") {
    $block1->openResults($checkbox = "false");
    $block1->labels($labels = array(0 => $strings["organization"], 1 => $strings["project"], 2 => $strings["name"], 3 => $strings["hours"]), "true");
    for ($i = 0; $i < $comptListHours; $i++) {
        // NEW ORGANIZATION
        if ($org_name != $listHours->tim_org_name[$i]) {
            // this is a new organization
            // print the totalled hours
            if ($org_name != "") {
                // display the individual member
                if ($displayMemTotals) {
                    $nice_print = sprintf("%01.2f", $total_mem_hours);
                    $block1->openRow();
                    $block1->checkboxRow($listHours->tim_id[$i], $checkbox = "false");
                    $block1->cellRow("");
                    $block1->cellRow("");
                    $block1->cellRow("{$mem_name}");
                    $block1->cellRow("{$nice_print}");
                    $block1->closeRow();
                }
                // print the project totals
                if ($displayProjTotals) {
                    $block1->openRow();
                    $block1->checkboxRow($listHours->tim_id[$i], $checkbox = "false");
                    $block1->cellRow("");
                    $block1->cellRow("");
                    $block1->cellRow("<b>Total project hours:</b>");
                    $nice_print = sprintf("%01.2f", $total_project_hours);
                    $block1->cellRow($nice_print);
                    $block1->closeRow();
开发者ID:TICanalyste,项目名称:netOffice--remix-,代码行数:31,代码来源:resource_usage.php

示例10: request

    }
}
$listBookmarks = new request();
$listBookmarks->openBookmarks($tmpquery);
$comptListBookmarks = count($listBookmarks->boo_id);
if ($comptListBookmarks != "0") {
    $block1->openResults();
    if ($view == "my") {
        $block1->labels($labels = array(0 => $strings["name"], 1 => $strings["bookmark_category"], 2 => $strings["shared"]), "false");
    } else {
        $block1->labels($labels = array(0 => $strings["name"], 1 => $strings["bookmark_category"], 2 => $strings["owner"]), "false");
    }
    for ($i = 0; $i < $comptListBookmarks; $i++) {
        $block1->openRow();
        $block1->checkboxRow($listBookmarks->boo_id[$i]);
        $block1->cellRow($blockPage->buildLink("../bookmarks/viewbookmark.php?view={$view}&id=" . $listBookmarks->boo_id[$i], $listBookmarks->boo_name[$i], in) . " " . $blockPage->buildLink($listBookmarks->boo_url[$i], "(" . $strings["url"] . ")", out));
        $block1->cellRow($listBookmarks->boo_boocat_name[$i]);
        if ($view == "my") {
            if ($listBookmarks->boo_shared[$i] == "1") {
                $printShared = $strings["yes"];
            } else {
                $printShared = $strings["no"];
            }
            $block1->cellRow($printShared);
        } else {
            $block1->cellRow($blockPage->buildLink($listBookmarks->boo_mem_email_work[$i], $listBookmarks->boo_mem_login[$i], mail));
        }
        $block1->closeRow();
    }
    $block1->closeResults();
} else {
开发者ID:ColBT,项目名称:php_tut,代码行数:31,代码来源:listbookmarks.php

示例11: array

if ($_SESSION['profilSession'] == '0' || $_SESSION['profilSession'] == '1' || $_SESSION['profilSession'] == '5') {
    $block3->paletteIcon(3, 'edit', $strings['edit']);
}
$block3->closePaletteIcon();
$block3->sorting('users', $sortingUser->sor_users[0], 'mem.name ASC', $sortingFields = array(0 => 'mem.name', 1 => 'mem.login', 2 => 'mem.email_work', 3 => 'mem.profil', 4 => 'connected'));
$tmpquery = "WHERE mem.organization = '{$id}' ORDER BY {$block3->sortingValue}";
$listMembers = new request();
$listMembers->openMembers($tmpquery);
$comptListMembers = count($listMembers->mem_id);
if ($comptListMembers != '0') {
    $block3->openResults();
    $block3->labels($labels = array(0 => $strings['full_name'], 1 => $strings['user_name'], 2 => $strings['email'], 3 => $strings['work_phone'], 4 => $strings['connected']), 'false');
    for ($i = 0; $i < $comptListMembers; $i++) {
        $block3->openRow($listMembers->mem_id[$i]);
        $block3->checkboxRow($listMembers->mem_id[$i]);
        $block3->cellRow(buildLink('../users/viewclientuser.php?id=' . $listMembers->mem_id[$i] . "&amp;organization={$id}", $listMembers->mem_name[$i], LINK_INSIDE));
        $block3->cellRow($listMembers->mem_login[$i]);
        $block3->cellRow(buildLink($listMembers->mem_email_work[$i], $listMembers->mem_email_work[$i], LINK_MAIL));
        $block3->cellRow($listMembers->mem_phone_work[$i]);
        $z = '(Client on project site)';
        if ($listMembers->mem_log_connected[$i] > $dateunix - 5 * 60) {
            $block3->cellRow($strings['yes'] . ' ' . $z);
        } else {
            $block3->cellRow($strings['no']);
        }
    }
    $block3->closeResults();
} else {
    $block3->noresults();
}
$block3->closeToggle();
开发者ID:jgatica,项目名称:Netoffice,代码行数:31,代码来源:viewclient.php

示例12: request

    $tmpquery = "WHERE topic.project = '{$project}' ORDER BY {$block1->sortingValue}";
} else {
    $tmpquery = "WHERE topic.owner = '" . $_SESSION['idSession'] . "' ORDER BY {$block1->sortingValue}";
}
$listTopics = new request();
$listTopics->openTopics($tmpquery);
$comptListTopics = count($listTopics->top_id);
if ($comptListTopics != "0") {
    $block1->openResults();
    $block1->labels($labels = array(0 => $strings["topic"], 1 => $strings["owner"], 2 => $strings["posts"], 3 => $strings["last_post"], 4 => $strings["status"], 5 => $strings["published"]), "true");
    for ($i = 0; $i < $comptListTopics; $i++) {
        $idStatus = $listTopics->top_status[$i];
        $idPublish = $listTopics->top_published[$i];
        $block1->openRow($listTopics->top_id[$i]);
        $block1->checkboxRow($listTopics->top_id[$i]);
        $block1->cellRow(buildLink("../topics/viewtopic.php?id=" . $listTopics->top_id[$i], $listTopics->top_subject[$i], LINK_INSIDE));
        $block1->cellRow(buildLink($listTopics->top_mem_email_work[$i], $listTopics->top_mem_login[$i], LINK_MAIL));
        $block1->cellRow($listTopics->top_posts[$i]);
        if ($listTopics->top_last_post[$i] > $_SESSION['lastvisiteSession']) {
            $block1->cellRow("<b>" . createDate($listTopics->top_last_post[$i], $_SESSION['timezoneSession']) . "</b>");
        } else {
            $block1->cellRow(createDate($listTopics->top_last_post[$i], $_SESSION['timezoneSession']));
        }
        $block1->cellRow($statusTopic[$idStatus]);
        if ($sitePublish == "true") {
            $block1->cellRow($statusPublish[$idPublish]);
        }
        $block1->closeRow();
    }
    $block1->closeResults();
} else {
开发者ID:jgatica,项目名称:Netoffice,代码行数:31,代码来源:listtopics.php

示例13: array

if ($profilSession == "0" || $profilSession == "1") {
    $block3->paletteIcon(3, "edit", $strings["edit"]);
}
$block3->closePaletteIcon();
$block3->sorting("users", $sortingUser->sor_users[0], "mem.name ASC", $sortingFields = array(0 => "mem.name", 1 => "mem.login", 2 => "mem.email_work", 3 => "mem.profil", 4 => "connected"));
$tmpquery = "WHERE mem.organization = '{$id}' ORDER BY {$block3->sortingValue}";
$listMembers = new request();
$listMembers->openMembers($tmpquery);
$comptListMembers = count($listMembers->mem_id);
if ($comptListMembers != "0") {
    $block3->openResults();
    $block3->labels($labels = array(0 => $strings["full_name"], 1 => $strings["user_name"], 2 => $strings["email"], 3 => $strings["work_phone"], 4 => $strings["connected"]), "false");
    for ($i = 0; $i < $comptListMembers; $i++) {
        $block3->openRow();
        $block3->checkboxRow($listMembers->mem_id[$i]);
        $block3->cellRow($blockPage->buildLink("../users/viewclientuser.php?id=" . $listMembers->mem_id[$i] . "&organization={$id}", $listMembers->mem_name[$i], in));
        $block3->cellRow($listMembers->mem_login[$i]);
        $block3->cellRow($blockPage->buildLink($listMembers->mem_email_work[$i], $listMembers->mem_email_work[$i], mail));
        $block3->cellRow($listMembers->mem_phone_work[$i]);
        $z = "(Client on project site)";
        if ($listMembers->mem_log_connected[$i] > $dateunix - 5 * 60) {
            $block3->cellRow($strings["yes"] . " " . $z);
        } else {
            $block3->cellRow($strings["no"]);
        }
    }
    $block3->closeResults();
} else {
    $block3->noresults();
}
$block3->closeToggle();
开发者ID:ColBT,项目名称:php_tut,代码行数:31,代码来源:viewclient.php

示例14: IN

    $queryBonus = "AND mem.id NOT IN({$membersTeam})";
}
$tmpquery = "WHERE mem.organization = '" . $projectDetail->pro_organization[0] . "' {$queryBonus} AND mem.profil = '3' ORDER BY {$block1->sortingValue}";
$listMembers = new request();
$listMembers->openMembers($tmpquery);
$comptListMembers = count($listMembers->mem_id);
if ($comptListMembers != "0") {
    $block1->openResults();
    $block1->labels($labels = array(0 => $strings["full_name"], 1 => $strings["title"], 2 => $strings["user_name"], 3 => $strings["work_phone"], 4 => $strings["connected"]), "false");
    for ($i = 0; $i < $comptListMembers; $i++) {
        if ($listMembers->mem_phone_work[$i] == "") {
            $listMembers->mem_phone_work[$i] = $strings["none"];
        }
        $block1->openRow($listMembers->mem_id[$i]);
        $block1->checkboxRow($listMembers->mem_id[$i]);
        $block1->cellRow(buildLink("../users/viewuser.php?id=" . $listMembers->mem_id[$i], $listMembers->mem_name[$i], LINK_INSIDE));
        $block1->cellRow($listMembers->mem_title[$i]);
        $block1->cellRow(buildLink($listMembers->mem_email_work[$i], $listMembers->mem_login[$i], LINK_MAIL));
        $block1->cellRow($listMembers->mem_phone_work[$i]);
        if ($listMembers->mem_profil[$i] == "3") {
            $z = "(Client on project site)";
        } else {
            $z = "";
        }
        if ($listMembers->mem_log_connected[$i] > $dateunix - 5 * 60) {
            $block1->cellRow($strings["yes"] . " " . $z);
        } else {
            $block1->cellRow($strings["no"]);
        }
        $block1->closeRow();
    }
开发者ID:jgatica,项目名称:Netoffice,代码行数:31,代码来源:addclientuser.php

示例15: array

 $block6->openForm("../search/resultssearch.php?searchfor={$searchfor}&amp;heading={$heading}#" . $block6->form . "Anchor");
 $block6->headingForm($strings["search_results"] . " : " . $strings["notes"] . " ({$block6->recordsTotal})");
 /*$block6->openPaletteIcon();
 $block6->paletteIcon(0,"export",$strings["export"]);
 $block6->closePaletteIcon();*/
 $block6->openResults();
 if ($comptTopic != "0") {
     $block6->labels($labels = array(0 => $strings["subject"], 1 => $strings["topic"], 2 => $strings["date"], 3 => $strings["owner"], 4 => $strings["published"]), "true");
 } else {
     $block6->labels($labels = array(0 => $strings["subject"], 1 => $strings["date"], 2 => $strings["owner"], 3 => $strings["published"]), "true");
 }
 for ($i = 0; $i < $comptListNotes; $i++) {
     $idPublish = $listNotes->note_published[$i];
     $block6->openRow($listNotes->note_id[$i]);
     $block6->checkboxRow($listNotes->note_id[$i]);
     $block6->cellRow(buildLink("../notes/viewnote.php?id=" . $listNotes->note_id[$i], $listNotes->note_subject[$i], LINK_INSIDE));
     if ($comptTopic != "0") {
         $block6->cellRow($topicNote[$listNotes->note_topic[$i]]);
     }
     $block6->cellRow($listNotes->note_date[$i]);
     $block6->cellRow(buildLink($listNotes->note_mem_email_work[$i], $listNotes->note_mem_login[$i], LINK_MAIL));
     if ($sitePublish == "true") {
         $block6->cellRow($statusPublish[$idPublish]);
     }
     $block6->closeRow();
 }
 $block6->closeResults();
 $block6->bornesFooter("6", $blockPage->bornesNumber, "", "searchfor={$searchfor}&amp;heading={$heading}");
 $block6->closeToggle();
 $block3->headingForm_close();
 $block6->closeFormResults();
开发者ID:TICanalyste,项目名称:netOffice--remix-,代码行数:31,代码来源:resultssearch.php


注:本文中的block::cellRow方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。