本文整理汇总了PHP中block::headingForm方法的典型用法代码示例。如果您正苦于以下问题:PHP block::headingForm方法的具体用法?PHP block::headingForm怎么用?PHP block::headingForm使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类block
的用法示例。
在下文中一共展示了block::headingForm方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: count
$comptListTasks = count($listTasks->tas_id);
$block0 = new block();
$block0->openContent();
$block0->contentTitle($strings["report_results"]);
if ($comptListTasks == "0") {
$block0->contentRow("", "0 " . $strings["matches"] . "<br>" . $strings["no_results_report"]);
}
if ($comptListTasks == "1") {
$block0->contentRow("", "1 " . $strings["match"]);
}
if ($comptListTasks > "1") {
$block0->contentRow("", $comptListTasks . " " . $strings["matches"]);
}
$block0->closeContent();
// set up the header string
$block1->headingForm($strings['reportsoverdue'] . ': ' . ($comptListTasks == 1 ? "{$comptListTasks} {$strings['match']}" : "{$comptListTasks} {$strings['matches']}"));
if ($comptListTasks != "0") {
$block1->openResults($checkbox = "false");
$block1->labels($labels = array(0 => $strings["task"], 1 => $strings["project"], 2 => $strings["status"], 3 => $strings["completion"], 4 => $strings["due_date"], 5 => $strings["assigned_to"], 6 => $strings["priority"]), "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];
$complValue = $listTasks->tas_completion[$i] > 0 ? $listTasks->tas_completion[$i] . "0 %" : $listTasks->tas_completion[$i] . " %";
$block1->openRow();
$block1->checkboxRow($listTasks->tas_id[$i], $checkbox = "false");
$block1->cellRow(buildLink("../tasks/viewtask.php?id=" . $listTasks->tas_id[$i], $listTasks->tas_name[$i], LINK_INSIDE));
$block1->cellRow(buildLink("../projects/viewproject.php?id=" . $listTasks->tas_project[$i], $listTasks->tas_pro_name[$i], LINK_INSIDE));
$block1->cellRow($status[$idStatus]);
示例2: request
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
$projectSite = "true";
$checkSession = true;
require_once "../includes/library.php";
$bouton[2] = "over";
$titlePage = $strings["team_tasks"];
require_once "include_header.php";
$tmpquery = "WHERE tas.project = '" . $_SESSION['projectSession'] . "' AND tas.assigned_to != '0' AND tas.published = '0' AND tas.milestone <> '0' AND mem.organization = '1' ORDER BY tas.name";
$listTasks = new request();
$listTasks->openTasks($tmpquery);
$comptListTasks = count($listTasks->tas_id);
$block1 = new block();
$block1->headingForm($strings["team_tasks"]);
if ($comptListTasks != "0") {
if ($activeJpgraph == "true") {
// show the expanded or compact Gantt Chart
if ($_GET['base'] == 1) {
echo "<a href='showallteamtasks.php'>expand</a><br>";
} else {
echo "<a href='showallteamtasks.php?base=1'>compact</a><br>";
}
echo "<img src=\"graphtasks.php?project=" . $projectDetail->pro_id[0] . '&base=' . $_GET['base'] . "\" alt=\"\"><br>\r\n<span class=\"listEvenBold\">Powered by <a href=\"http://www.aditus.nu/jpgraph/\" target=\"_blank\">JpGraph</a></span><br><br>";
}
echo "<table cellspacing=\"0\" width=\"90%\" border=\"0\" cellpadding=\"3\" cols=\"4\" class=\"listing\">\r\n<tr><th class=\"active\">" . $strings["name"] . "</th><th>" . $strings["description"] . "</th><th>" . $strings["status"] . "</th><th>" . $strings["due"] . "</th></tr>";
for ($i = 0; $i < $comptListTasks; $i++) {
if (!($i % 2)) {
$class = "odd";
$highlightOff = $block1->oddColor;
示例3: text
break;
case 'delete':
if (isset($_GET['id'])) {
$idlist = explode('**', $_GET['id']);
save_translation($_GET['language'], '', $idlist);
} else {
echo text('Internal_Error');
}
break;
}
$topblock->headingForm_close();
$topblock->block_close();
echo "<BR>";
}
$block1 = new block();
$block1->headingForm(text('administration'));
// Language Selection Form
$block1->form = "langsel";
$block1->openForm("../administration/edit_language.php?offset=" . $offset);
$block1->openContent();
$block1->contentTitle(text('language_intro'));
echo "<TR><TD ALIGN='center'>";
// build up language select list
asort($langValue);
reset($langValue);
$select = "";
foreach ($langValue as $key => $language) {
$select .= "<option value='" . $key . "'" . ($sellang == $key ? " SELECTED" : "") . ">" . $language . "</option>";
}
echo text("Choose_Language") . ": <SELECT name='sellang' onChange='submit();'>" . $select . "</SELECT>";
echo "</TD></TR>";
示例4: request
$projectDetail->openProjects($tmpquery);
$tmpquery = "WHERE mee.id = '{$meeting}'";
$meetingDetail = new request();
$meetingDetail->openMeetings($tmpquery);
//--- header ----
$breadcrumbs[] = buildLink("../projects/listprojects.php?", $strings["projects"], LINK_INSIDE);
$breadcrumbs[] = buildLink("../projects/viewproject.php?id=" . $projectDetail->pro_id[0], $projectDetail->pro_name[0], LINK_INSIDE);
$breadcrumbs[] = buildLink("../meetings/listmeetings.php?project=" . $projectDetail->pro_id[0], $strings["meetings"], LINK_INSIDE);
$breadcrumbs[] = buildLink("../meetings/viewmeeting.php?id=" . $meetingDetail->mee_id[0], $meetingDetail->mee_name[0], LINK_INSIDE);
$breadcrumbs[] = $strings["unlink_files"];
require_once "../themes/" . THEME . "/header.php";
//--- content ----
$block1 = new block();
$block1->form = "saC";
$block1->openForm("../meetings/deletefiles.php?project={$project}&meeting={$meeting}&action=delete&id={$id}&sendto={$sendto}");
$block1->headingForm($strings["unlink_files"]);
$block1->openContent();
$block1->contentTitle($strings["delete_following"]);
$id = str_replace("**", ",", $id);
$tmpquery = "WHERE mat.id IN({$id}) ORDER BY mat.name";
$listFiles = new request();
$listFiles->openMeetingsAttachment($tmpquery);
$comptListFiles = count($listFiles->mat_id);
for ($i = 0; $i < $comptListFiles; $i++) {
echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td>" . $listFiles->mat_name[$i] . "</td></tr>";
}
echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td><input type=\"SUBMIT\" value=\"" . $strings["delete"] . "\"> <input type=\"BUTTON\" value=\"" . $strings["cancel"] . "\" onClick=\"history.back();\"></td></tr>";
$block1->closeContent();
$block1->headingForm_close();
$block1->closeForm();
require_once "../themes/" . THEME . "/footer.php";
示例5: buildLink
}
//--- header ---
$breadcrumbs[] = buildLink("../clients/listclients.php?", $strings["clients"], LINK_INSIDE);
$breadcrumbs[] = buildLink("../clients/viewclient.php?id=" . $clientDetail->org_id[0], $clientDetail->org_name[0], LINK_INSIDE);
$breadcrumbs[] = $strings["add_client_user"];
$bodyCommand = "onLoad=\"document.client_user_addForm.un.focus();\"";
require_once "../themes/" . THEME . "/header.php";
//--- content ---
$block1 = new block();
$block1->form = "client_user_add";
$block1->openForm("../users/addclientuser.php?organization={$organization}&action=add");
if ($error != "") {
$block1->headingError($strings["errors"]);
$block1->contentError($error);
}
$block1->headingForm($strings["add_client_user"]);
$block1->openContent();
$block1->contentTitle($strings["enter_user_details"]);
$block1->contentRow($strings["user_name"], "<input size=\"24\" style=\"width: 250px;\" maxlength=\"16\" type=\"text\" name=\"un\" value=\"{$un}\">");
$block1->contentRow($strings["full_name"], "<input size=\"24\" style=\"width: 250px;\" maxlength=\"64\" type=\"text\" name=\"fn\" value=\"{$fn}\">");
$block1->contentRow($strings["title"], "<input size=\"24\" style=\"width: 250px;\" maxlength=\"64\" type=\"text\" name=\"tit\" value=\"{$tit}\">");
$selectOrganization = "<select name=\"clod\">";
$tmpquery = "WHERE org.id != '1' ORDER BY org.name";
$listOrganizations = new request();
$listOrganizations->openOrganizations($tmpquery);
$comptListOrganizations = count($listOrganizations->org_id);
for ($i = 0; $i < $comptListOrganizations; $i++) {
if ($organization == $listOrganizations->org_id[$i]) {
$selectOrganization .= "<option value=\"" . $listOrganizations->org_id[$i] . "\" selected>" . $listOrganizations->org_name[$i] . "</option>";
} else {
$selectOrganization .= "<option value=\"" . $listOrganizations->org_id[$i] . "\">" . $listOrganizations->org_name[$i] . "</option>";
示例6: header
// Call mantis function to remove user
require_once "../mantis/user_delete.php";
}
header("Location: ../users/listusers.php?msg=delete");
exit;
}
//--- header -----
$breadcrumbs[] = buildLink("../administration/admin.php?", $strings["administration"], LINK_INSIDE);
$breadcrumbs[] = buildLink("../users/listusers.php?", $strings["user_management"], LINK_INSIDE);
$breadcrumbs[] = $strings["delete_users"];
require_once "../themes/" . THEME . "/header.php";
//--- content -----
$block1 = new block();
$block1->form = "user_delete";
$block1->openForm("../users/deleteusers.php?action=delete");
$block1->headingForm($strings["delete_users"]);
$block1->openContent();
$block1->contentTitle($strings["delete_following"]);
$id = str_replace("**", ",", $id);
$tmpquery = "WHERE mem.id IN({$id}) ORDER BY mem.name";
$listMembers = new request();
$listMembers->openMembers($tmpquery);
$comptListMembers = count($listMembers->mem_id);
for ($i = 0; $i < $comptListMembers; $i++) {
echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td>" . $listMembers->mem_login[$i] . " (" . $listMembers->mem_name[$i] . ")</td></tr>";
}
$tmpquery = "SELECT pro.id FROM " . $tableCollab["projects"] . " pro WHERE pro.owner IN({$id})";
compt($tmpquery);
$totalProjects = $countEnregTotal;
$tmpquery = "SELECT tas.id FROM " . $tableCollab["tasks"] . " tas WHERE tas.assigned_to IN({$id})";
compt($tmpquery);
示例7: request
* (at your option) any later version.
*/
$checkSession = true;
require_once "../includes/library.php";
$bouton[6] = "over";
$titlePage = $strings["support"];
require_once "include_header.php";
$tmpquery = "WHERE mem.id = '" . $_SESSION['idSession'] . "'";
$userDetail = new request();
$userDetail->openMembers($tmpquery);
$tmpquery = "WHERE sr.member = '" . $_SESSION['idSession'] . "' AND sr.project = '{$project}'";
$listRequests = new request();
$listRequests->openSupportRequests($tmpquery);
$comptListRequests = count($listRequests->sr_id);
$block1 = new block();
$block1->headingForm($strings["my_support_request"]);
if ($comptListRequests != "0") {
echo "<table cols=\"4\" class=\"listing\">\r\n<tr><th width=1% class=\"active\">" . $strings["id"] . "</th><th>" . $strings["subject"] . "</th><th>" . $strings["priority"] . "</th><th>" . $strings["status"] . "</th><th>" . $strings["project"] . "</th><th>" . $strings["date_open"] . "</th><th>" . $strings["date_close"] . "</th></tr>";
for ($i = 0; $i < $comptListRequests; $i++) {
if (!($i % 2)) {
$class = "odd";
$highlightOff = $block1->oddColor;
} else {
$class = "even";
$highlightOff = $block1->evenColor;
}
$comptSta = count($requestStatus);
for ($sr = 0; $sr < $comptSta; $sr++) {
if ($listRequests->sr_status[$i] == $sr) {
$currentStatus = $requestStatus[$sr];
}
示例8: connectSql
connectSql($tmpquery11);
$tmpquery12 = 'DELETE FROM ' . $tableCollab['tasks_time'] . ' WHERE project IN(' . $id . ')';
connectSql($tmpquery12);
// if mantis bug tracker enabled
if ($enableMantis == 'true') {
// call mantis function to delete project
require_once '../mantis/proj_delete.php';
}
header('Location: ../projects/listprojects.php?msg=delete');
exit;
}
//--- header ----
$breadcrumbs[] = buildLink('../projects/listprojects.php?', $strings['projects'], LINK_INSIDE);
$breadcrumbs[] = $strings['delete_projects'];
$pageSection = 'projects';
require_once '../themes/' . THEME . '/header.php';
//--- content ---
$block1 = new block();
$block1->form = 'saP';
$block1->openForm('../projects/deleteproject.php?action=delete&id=' . $id);
$block1->headingForm($strings['delete_projects']);
$block1->openContent();
$block1->contentTitle($strings['delete_following']);
for ($i = 0; $i < $comptListProjects; $i++) {
$block1->contentRow('#' . $listProjects->pro_id[$i], $listProjects->pro_name[$i]);
}
$block1->contentRow('', '<input type="submit" name="delete" value="' . $strings['delete'] . '"> <input type="button" name="cancel" value="' . $strings['cancel'] . '" onClick="history.back();">');
$block1->closeContent();
$block1->headingForm_close();
$block1->closeForm();
require_once '../themes/' . THEME . '/footer.php';
示例9: header
if ($teamMember == "false" && $projectsFilter == "true") {
header("Location:../general/permissiondenied.php");
exit;
}
// ---- header ------------------------------
$breadcrumbs[] = buildLink("../projects/listprojects.php?", $strings["projects"], LINK_INSIDE);
$breadcrumbs[] = buildLink("../projects/viewproject.php?id=" . $projectDetail->pro_id[0], $projectDetail->pro_name[0], LINK_INSIDE);
$breadcrumbs[] = buildLink("../meetings/listmeetings.php?project=" . $projectDetail->pro_id[0], $strings["meetings"], LINK_INSIDE);
$breadcrumbs[] = buildLink("../meetings/viewmeeting.php?id=" . $meetingDetail->mee_id[0], $meetingDetail->mee_name[0], LINK_INSIDE);
$breadcrumbs[] = $strings["delete_meeting_time"];
require_once "../themes/" . THEME . "/header.php";
// ---- content ------------------------------
$block1 = new block();
$block1->form = 'saP';
$block1->openForm("../meetings/deletemeetingtime.php?meeting={$meeting}&action=delete&id={$id}");
$block1->headingForm($strings["delete_meeting_time"]);
$block1->openContent();
$block1->contentTitle($strings["delete_following"]);
$id = str_replace("**", ",", $id);
$tmpquery = "WHERE mti.id IN({$id}) ORDER BY mti.id";
$listMeetingTime = new request();
$listMeetingTime->openMeetingTime($tmpquery);
$comptListMeetingTime = count($listMeetingTime->mti_id);
for ($i = 0; $i < $comptListMeetingTime; $i++) {
echo "<tr class='odd'><td valign='top' class='leftvalue'>#" . $listMeetingTime->mti_id[$i] . "</td><td> : " . $strings['worked_hours'] . " = " . $listMeetingTime->mti_hours[$i] . ", " . $listMeetingTime->mti_comments[$i] . "</td></tr>";
}
echo "\r\n<tr class='odd'>\r\n <td valign='top' class='leftvalue'> </td>\r\n <td><input type='submit' name='delete' value='" . $strings['delete'] . "'> \r\n <input type='button' name='cancel' value='" . $strings['cancel'] . "' onClick='history.back();'></td></tr>";
$block1->closeContent();
$block1->headingForm_close();
$block1->closeForm();
require_once "../themes/" . THEME . "/footer.php";
示例10: IN
$id = str_replace("**", ",", $id);
$tmpquery1 = "DELETE FROM " . $tableCollab["reports"] . " WHERE id IN({$id})";
connectSql($tmpquery1);
header("Location: ../general/home.php?msg=deleteReport");
exit;
}
//--- header ---
$breadcrumbs[] = buildLink("../reports/listreports.php?", $strings["my_reports"], LINK_INSIDE);
$breadcrumbs[] = $strings["delete_reports"];
$pageSection = 'reports';
require_once "../themes/" . THEME . "/header.php";
//--- content ---
$block1 = new block();
$block1->form = "saS";
$block1->openForm("../reports/deletereports.php?action=delete&id={$id}");
$block1->headingForm($strings["delete_reports"]);
$block1->openContent();
$block1->contentTitle($strings["delete_following"]);
$id = str_replace("**", ",", $id);
$tmpquery = "WHERE rep.id IN({$id}) ORDER BY rep.name";
$listReports = new request();
$listReports->openReports($tmpquery);
$comptListReports = count($listReports->rep_id);
for ($i = 0; $i < $comptListReports; $i++) {
$block1->contentRow("#" . $listReports->rep_id[$i], $listReports->rep_name[$i]);
}
$block1->contentRow("", "<input type=\"submit\" name=\"delete\" value=\"" . $strings["delete"] . "\"> <input type=\"button\" name=\"cancel\" value=\"" . $strings["cancel"] . "\" onClick=\"history.back();\">");
$block1->closeContent();
$block1->headingForm_close();
$block1->closeForm();
require_once "../themes/" . THEME . "/footer.php";
示例11: buildLink
$breadcrumbs[] = buildLink("../administration/admin.php?", $strings["administration"], LINK_INSIDE);
$breadcrumbs[] = buildLink("../administration/support.php?", $strings["support_management"], LINK_INSIDE);
}
}
$breadcrumbs[] = buildLink("../support/listrequests.php?id=" . $requestDetail->sr_project[0], $strings["support_requests"], LINK_INSIDE);
$breadcrumbs[] = $requestDetail->sr_subject[0];
require_once "../themes/" . THEME . "/header.php";
//--- content ---
$block1 = new block();
$block1->form = "sdt";
$block1->openForm("");
if ($error != "") {
$block1->headingError($strings["errors"]);
$block1->contentError($error);
}
$block1->headingForm($strings["support_request"] . " : " . $requestDetail->sr_subject[0]);
if ($teamMember == "true" || $_SESSION['profilSession'] == "0") {
$block1->openPaletteIcon();
$block1->paletteIcon(0, "edit", $strings["edit_status"]);
$block1->paletteIcon(1, "remove", $strings["delete"]);
$block1->closePaletteIcon();
} else {
$block1->headingForm_close();
}
$block1->openContent();
$block1->contentTitle($strings["info"]);
$comptSupStatus = count($requestStatus);
for ($i = 0; $i < $comptSupStatus; $i++) {
if ($requestDetail->sr_status[0] == $i) {
$status = $requestStatus[$i];
}
示例12: block
if (@file_exists('../languages/lang_' . $k[0] . '.php')) {
$langDefault = $k[0];
break;
}
$langDefault = 'en';
}
} else {
$langDefault = 'en';
}
} else {
$langDefault = 'en';
}
}
require_once '../languages/lang_' . $langDefault . '.php';
$block1 = new block();
$block1->headingForm('NetOffice : Error');
$block1->openContent();
if ($_GET['type'] == 'myserver') {
if ($databaseType == 'mysql') {
$block1->contentTitle('MySQL Error');
}
$block1->contentRow('', $strings['error_server']);
}
if ($_GET['type'] == 'mydatabase') {
if ($databaseType == 'mysql') {
$block1->contentTitle('MySQL Error');
}
$block1->contentRow('', $strings['error_database']);
}
if ($_GET['type'] == 'phpversion') {
$block1->contentTitle('PHP Version Error');
示例13: header
$organization = "1";
require_once "../teams/noti_removeprojectteam.php";
}
header("Location: ../projects/viewproject.php?id={$project}&msg={$msg}");
exit;
}
//--- header ---
$breadcrumbs[] = buildLink("../projects/listprojects.php?", $strings["projects"], LINK_INSIDE);
$breadcrumbs[] = buildLink("../projects/viewproject.php?id=" . $projectDetail->pro_id[0], $projectDetail->pro_name[0], LINK_INSIDE);
$breadcrumbs[] = $strings["remove_team"];
require_once "../themes/" . THEME . "/header.php";
//--- content ---
$block1 = new block();
$block1->form = "crM";
$block1->openForm("../teams/deleteusers.php?project={$project}&action=delete&id={$id}");
$block1->headingForm($strings["remove_team"]);
$block1->openContent();
$block1->contentTitle($strings["remove_team_info"]);
$id = str_replace("**", ",", $id);
$tmpquery = "WHERE mem.id IN({$id}) ORDER BY mem.name";
$listMembers = new request();
$listMembers->openMembers($tmpquery);
$comptListMembers = count($listMembers->mem_id);
for ($i = 0; $i < $comptListMembers; $i++) {
$block1->contentRow("#" . $listMembers->mem_id[$i], $listMembers->mem_login[$i] . " (" . $listMembers->mem_name[$i] . ")");
}
$block1->contentRow("", "<input type=\"SUBMIT\" value=\"" . $strings["remove"] . "\"> <input type=\"BUTTON\" value=\"" . $strings["cancel"] . "\" onClick=\"history.back();\">");
$block1->closeContent();
$block1->headingForm_close();
$block1->closeForm();
require_once "../themes/" . THEME . "/footer.php";
示例14: IN
if ($action == "delete") {
$id = str_replace("**", ",", $id);
$tmpquery1 = "DELETE FROM " . $tableCollab["notes"] . " WHERE id IN({$id})";
connectSql("{$tmpquery1}");
header("Location: ../projects/viewproject.php?id={$project}&msg=delete");
exit;
}
//--- header ---
$breadcrumbs[] = buildLink("../projects/listprojects.php?", $strings["projects"], LINK_INSIDE);
$breadcrumbs[] = $strings["delete_note"];
require_once "../themes/" . THEME . "/header.php";
//--- content ---
$block1 = new block();
$block1->form = "saP";
$block1->openForm("../notes/deletenotes.php?project={$project}&action=delete&id={$id}");
$block1->headingForm($strings["delete_note"]);
$block1->openContent();
$block1->contentTitle($strings["delete_following"]);
$id = str_replace("**", ",", $id);
$tmpquery = "WHERE note.id IN({$id}) ORDER BY note.subject";
$listNotes = new request();
$listNotes->openNotes($tmpquery);
$comptListNotes = count($listNotes->note_id);
for ($i = 0; $i < $comptListNotes; $i++) {
$block1->contentRow("#" . $listNotes->note_id[$i], $listNotes->note_subject[$i]);
}
$block1->contentRow("", "<input type=\"submit\" name=\"delete\" value=\"" . $strings["delete"] . "\"> <input type=\"button\" name=\"cancel\" value=\"" . $strings["cancel"] . "\" onClick=\"history.back();\">");
$block1->closeContent();
$block1->headingForm_close();
$block1->closeForm();
require_once "../themes/" . THEME . "/footer.php";
示例15: buildLink
$breadcrumbs[] = buildLink('../administration/admin.php?', $strings['administration'], LINK_INSIDE);
$breadcrumbs[] = $strings['company_details'];
$bodyCommand = 'onLoad="document.adminDForm.cn.focus();"';
$pageSection = 'admin';
require_once '../themes/' . THEME . '/header.php';
//---- content -------
$blockPage = new block();
$block1 = new block();
echo '<a name="' . $block1->form . 'Anchor"></a>';
echo '<form accept-charset="UNKNOWN" method="POST" action="../administration/mycompany.php?action=update" name="adminDForm" enctype="multipart/form-data">';
echo '<input type="hidden" name="MAX_FILE_SIZE" value="100000000">';
if ($error != '') {
$block1->headingError($strings['errors']);
$block1->contentError($error);
}
$block1->headingForm($strings['company_details']);
$block1->openContent();
$block1->contentTitle($strings['company_info']);
$block1->contentRow($strings['name'], '<input size="44" value="' . $cn . '" style="width: 400px" name="cn" maxlength="100" type="TEXT">');
$block1->contentRow($strings['address'], '<textarea rows="3" style="width: 400px; height: 50px;" name="add" cols="43">' . $add . '</textarea>');
$block1->contentRow($strings['phone'], '<input size="32" value="' . $wp . '" style="width: 250px" name="wp" maxlength="32" type="TEXT">');
$block1->contentRow($strings['url'], '<input size="44" value="' . $url . '" style="width: 400px" name="url" maxlength="2000" type="TEXT">');
$block1->contentRow($strings['email'], '<input size="44" value="' . $email . '" style="width: 400px" name="email" maxlength="2000" type="TEXT">');
$block1->contentRow($strings['comments'], '<textarea rows="3" style="width: 400px; height: 50px;" name="c" cols="43">' . $c . '</textarea>');
$block1->contentRow($strings['logo'] . $blockPage->printHelp('mycompany_logo'), '<input size="44" style="width: 400px" name="upload" type="file">');
if (file_exists('../logos_clients/1.' . $clientDetail->org_extension_logo[0])) {
$block1->contentRow('', '<img src="../logos_clients/1.' . $clientDetail->org_extension_logo[0] . '" border="0" alt="' . $clientDetail->org_name[0] . '"><input name="extensionOld" type="hidden" value="' . $clientDetail->org_extension_logo[0] . '"> <input name="logoDel" type="checkbox" value="on"> ' . $strings['delete']);
}
$block1->contentRow('', '<input type="SUBMIT" value="' . $strings['save'] . '">');
$block1->closeContent();
$block1->headingForm_close();