本文整理汇总了PHP中block::contentTitle方法的典型用法代码示例。如果您正苦于以下问题:PHP block::contentTitle方法的具体用法?PHP block::contentTitle怎么用?PHP block::contentTitle使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类block
的用法示例。
在下文中一共展示了block::contentTitle方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: createDate
$block1->form = "cuserD";
$block1->openForm("../users/viewclientuser.php#" . $block1->form . "Anchor");
if ($error != "") {
$block1->headingError($strings["errors"]);
$block1->contentError($error);
}
$block1->heading($strings["client_user"]);
$block1->openPaletteIcon();
if ($_SESSION['profilSession'] == "0" || $_SESSION['profilSession'] == "1") {
$block1->paletteIcon(0, "remove", $strings["delete"]);
$block1->paletteIcon(1, "edit", $strings["edit"]);
}
$block1->paletteIcon(2, "export", $strings["export"]);
$block1->closePaletteIcon();
$block1->openContent();
$block1->contentTitle($strings["user_details"]);
$block1->contentRow($strings["user_name"], $userDetail->mem_login[0]);
$block1->contentRow($strings["full_name"], $userDetail->mem_name[0]);
$block1->contentRow($strings["organization"], $userDetail->mem_org_name[0]);
$block1->contentRow($strings["email"], $userDetail->mem_email_work[0]);
$block1->contentRow($strings["work_phone"], $userDetail->mem_phone_work[0]);
$block1->contentRow($strings["home_phone"], $userDetail->mem_phone_home[0]);
$block1->contentRow($strings["mobile_phone"], $userDetail->mem_mobile[0]);
$block1->contentRow($strings["fax"], $userDetail->mem_fax[0]);
$block1->contentRow($strings["comments"], nl2br($userDetail->mem_comments[0]));
$block1->contentRow($strings["account_created"], createDate($userDetail->mem_created[0], $_SESSION['timezoneSession']));
$block1->contentTitle($strings["information"]);
$tmpquery = "SELECT tas.id FROM " . $tableCollab["tasks"] . " tas LEFT OUTER JOIN " . $tableCollab["projects"] . " pro ON pro.id = tas.project WHERE tas.assigned_to = '" . $userDetail->mem_id[0] . "' AND tas.status IN(0,2,3) AND pro.status IN(0,2,3)";
compt($tmpquery);
$valueTasks = $countEnregTotal;
$block1->contentRow($strings["tasks"], $valueTasks);
示例2: request
}
$bodyCommand = "onLoad=\"document.assignment_commentForm.acomm.focus();\"";
include '../themes/' . THEME . '/header.php';
$tmpquery = "WHERE tas.id = '{$task}'";
$taskDetail = new request();
$taskDetail->openTasks($tmpquery);
$tmpquery = "WHERE pro.id = '" . $taskDetail->tas_project[0] . "'";
$projectDetail = new request();
$projectDetail->openProjects($tmpquery);
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../projects/listprojects.php?", $strings["projects"], in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../projects/viewproject.php?id=" . $projectDetail->pro_id[0], $projectDetail->pro_name[0], in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../tasks/listtasks.php?project=" . $projectDetail->pro_id[0], $strings["tasks"], in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../tasks/viewtask.php?id=" . $taskDetail->tas_id[0], $taskDetail->tas_name[0], in));
$blockPage->itemBreadcrumbs($strings["assignment_comment"]);
$blockPage->closeBreadcrumbs();
$block1 = new block();
$block1->form = "assignment_comment";
$block1->openForm("../tasks/assignmentcomment.php?action=update&id={$id}&task={$task}&" . session_name() . "=" . session_id());
if ($error != "") {
$block1->headingError($strings["errors"]);
$block1->contentError($error);
}
$block1->heading($strings["assignment_comment"]);
$block1->openContent();
$block1->contentTitle($strings["assignment_comment_info"]);
echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\">" . $strings["task"] . " :</td><td>" . $taskDetail->tas_name[0] . "</td></tr>\n<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\">" . $strings["comments"] . " :</td><td><input style=\"width: 400px;\" maxlength=\"128\" size=\"44\" name=\"acomm\"></input></td></tr>\n<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td><input type=\"submit\" name=\"Save\" value=\"" . $strings["save"] . "\"></td></tr>";
$block1->closeContent();
$block1->closeForm();
include '../themes/' . THEME . '/footer.php';
示例3: sum
$breadcrumbs[] = $strings["add_task_time"];
require_once "../themes/" . THEME . "/header.php";
//--- content ---
$tmpquery1 = "SELECT sum(hours) FROM " . $tableCollab['tasks_time'];
$blockPage = new block();
$blockPage->bornesNumber = "1";
// get actual time for task
$taskActualTime = new request();
$actualTime = $taskActualTime->getTaskTime($id);
$block1 = new block();
$block1->form = "saT";
$block1->openForm("../tasks/addtasktime.php?id={$id}&project=" . $projectDetail->pro_name[0] . "&action=add#" . $block1->form . "Anchor");
$block1->heading($strings["add_task_time"] . " : " . $taskDetail->tas_name[0]);
$block1->heading_close();
$block1->openContent();
$block1->contentTitle($strings["info"]);
$block1->contentRow($strings["project"], $projectDetail->pro_name[0]);
$block1->contentRow($strings["tasks"], $taskDetail->tas_name[0]);
$block1->contentRow($strings["description"], nl2br($taskDetail->tas_description[0]));
$block1->contentRow($strings["estimated_time"], $taskDetail->tas_estimated_time[0] . " " . $strings["hours"]);
$block1->contentRow($strings["actual_time"], $actualTime . " " . $strings["hours"]);
$block1->contentTitle($strings["add_task_time"]);
$tmpquery = "WHERE tea.project = '" . $projectDetail->pro_id[0] . "' ORDER BY mem.name";
$projmem = new request();
$projmem->openTeams($tmpquery);
$comptProjmem = count($projmem->tea_mem_id);
echo "\r\n\t<tr class='odd'>\r\n\t <td valign='top' class='leftvalue'>" . $strings['owner'] . " :</td>\r\n\t <td><select name='owner'>";
// get project team listing for owner select lists, default to logged user
for ($i = 0; $i < $comptProjmem; $i++) {
$clientUser = '';
if ($projmem->tea_mem_profil[$i] == '3') {
示例4: sum
// successful insert
$msgLabel = '<b>' . $strings['success'] . '</b> : ' . $strings['hours_updated'];
}
}
$tmpquery1 = "SELECT sum(hours) FROM " . $tableCollab['meetings_time'];
$blockPage = new block();
$blockPage->bornesNumber = "1";
// get actual time for meeting
$meetingActualTime = new request();
$actualTime = $meetingActualTime->getMeetingTime($id);
$block1 = new block();
$block1->form = "saM";
$block1->openForm("../meetings/addmeetingtime.php?id={$id}&project=" . $projectDetail->pro_name[0] . "&action=add#" . $block1->form . "Anchor");
$block1->headingForm($strings["add_meeting_time"] . " : " . $meetingDetail->mee_name[0]);
$block1->openContent();
$block1->contentTitle($strings["info"]);
$block1->contentRow($strings["project"], $projectDetail->pro_name[0]);
$block1->contentRow($strings["meetings"], $meetingDetail->mee_name[0]);
$block1->contentRow($strings["me_agenda"], nl2br($meetingDetail->mee_agenda[0]));
$block1->contentRow($strings["actual_time"], $actualTime . " " . $strings["hours"]);
$block1->contentTitle($strings["add_meeting_time"]);
$tmpquery = "WHERE tea.project = '" . $projectDetail->pro_id[0] . "' ORDER BY mem.name";
$projmem = new request();
$projmem->openTeams($tmpquery);
$comptProjmem = count($projmem->tea_mem_id);
echo "\r\n<tr class='odd'>\r\n <td valign='top' class='leftvalue'>" . $strings['owner'] . " :</td>\r\n <td><select name='owner'>";
// get project team listing for owner select lists, default to logged user
for ($i = 0; $i < $comptProjmem; $i++) {
$clientUser = '';
if ($projmem->tea_mem_profil[$i] == '3') {
$clientUser = ' (' . $strings['client_user'] . ')';
示例5: text
} 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>";
$block1->closeContent();
$block1->closeForm();
// Label Add Form
$block1->form = "langadd";
$block1->openForm("../administration/edit_language.php?action=add&offset=" . $offset);
示例6:
if ($teamMember == "true" && $idSession == $noteDetail->note_owner[0]) {
$block1->openPaletteIcon();
$block1->paletteIcon(0, "remove", $strings["delete"]);
//$block1->paletteIcon(1,"export",$strings["export"]);
if ($sitePublish == "true") {
$block1->paletteIcon(2, "add_projectsite", $strings["add_project_site"]);
$block1->paletteIcon(3, "remove_projectsite", $strings["remove_project_site"]);
}
$block1->paletteIcon(4, "edit", $strings["edit"]);
$block1->closePaletteIcon();
}
if ($projectDetail->pro_org_id[0] == "1") {
$projectDetail->pro_org_name[0] = $strings["none"];
}
$block1->openContent();
$block1->contentTitle($strings["info"]);
$block1->contentRow($strings["project"], $blockPage->buildLink("../projects/viewproject.php?id=" . $projectDetail->pro_id[0], $projectDetail->pro_name[0], in));
if ($noteDetail->note_topic[0] != "") {
$block1->contentRow($strings["topic"], $topicNote[$noteDetail->note_topic[0]]);
}
$block1->contentRow($strings["subject"], $noteDetail->note_subject[0]);
$block1->contentRow($strings["date"], $noteDetail->note_date[0]);
$block1->contentRow($strings["owner"], $blockPage->buildLink($noteDetail->note_mem_email_work[0], $noteDetail->note_mem_login[0], mail));
$block1->contentRow($strings["description"], nl2br($noteDetail->note_description[0]));
$idPublish = $noteDetail->note_published[0];
if ($sitePublish == "true") {
$block1->contentRow($strings["published"], $statusPublish[$idPublish]);
}
$block1->closeContent();
$block1->closeForm();
if ($teamMember == "true" && $idSession == $noteDetail->note_owner[0]) {
示例7: request
include '../includes/messages.php';
$blockPage->messagebox($msgLabel);
}
if ($enableHelpSupport == "true") {
$tmpquery = "WHERE sr.status = '0'";
$listNewRequests = new request();
$listNewRequests->openSupportRequests($tmpquery);
$comptListNewRequests = count($listNewRequests->sr_id);
$tmpquery = "WHERE sr.status = '1'";
$listOpenRequests = new request();
$listOpenRequests->openSupportRequests($tmpquery);
$comptListOpenRequests = count($listOpenRequests->sr_id);
$tmpquery = "WHERE sr.status = '2'";
$listCompleteRequests = new request();
$listCompleteRequests->openSupportRequests($tmpquery);
$comptListCompleteRequests = count($listCompleteRequests->sr_id);
$block1 = new block();
$block1->form = "help";
if ($error != "") {
$block1->headingError($strings["errors"]);
$block1->contentError($error);
}
$block1->heading($strings["support_requests"]);
$block1->openContent();
$block1->contentTitle($strings["information"]);
$block1->contentRow($strings["new_requests"], "{$comptListNewRequests} - " . $blockPage->buildLink("../support/support.php?action=new", $strings["manage_new_requests"], in) . "<br/><br/>");
$block1->contentRow($strings["open_requests"], "{$comptListOpenRequests} - " . $blockPage->buildLink("../support/support.php?action=open", $strings["manage_open_requests"], in) . "<br/><br/>");
$block1->contentRow($strings["closed_requests"], "{$comptListCompleteRequests} - " . $blockPage->buildLink("../support/support.php?action=complete", $strings["manage_closed_requests"], in) . "<br/><br/>");
$block1->closeContent();
}
include '../themes/' . THEME . '/footer.php';
示例8: count
$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];
}
}
$comptPri = count($priority);
for ($i = 0; $i < $comptPri; $i++) {
if ($requestDetail->sr_priority[0] == $i) {
$requestPriority = $priority[$i];
}
}
$block1->contentRow($strings["project"], buildLink("../projects/viewproject.php?id=" . $requestDetail->sr_project[0], $requestDetail->sr_pro_name[0], LINK_INSIDE));
$block1->contentRow($strings["subject"], $requestDetail->sr_subject[0]);
$block1->contentRow($strings["priority"], $requestPriority);
示例9: block
require_once "../themes/" . THEME . "/header.php";
// start the first block
$block1 = new block();
$block1->form = "xwbT";
$block1->openForm("../reports/projectbreakdown.php#" . $block1->form . "Anchor");
$block1->openContent();
$block1->sorting("projects", $sortingUser->sor_projects[0], "mem.name ASC", $sortingFields = array(0 => "mem.name", 1 => "pro.name", 2 => "org.name", 3 => "pro.status"));
// $query = " WHERE pro.status = 1 ";
$tmpquery = "{$query} ORDER BY {$block1->sortingValue}";
// $tmpquery = $query;
$listProjects = new request();
$listProjects->openProjects($tmpquery);
$comptListProjects = count($listProjects->pro_id);
$block0 = new block();
$block0->openContent();
$block0->contentTitle($strings["report_results"]);
if ($comptListProjects == "0") {
$block1->contentRow("", "0 " . $strings["matches"] . "<br>" . $strings["no_results_report"]);
}
if ($comptListProjects == "1") {
$block1->contentRow("", "1 " . $strings["match"]);
}
if ($comptListProjects > "1") {
$block1->contentRow("", $comptListProjects . " " . $strings["matches"]);
}
$block0->closeContent();
/*
$block1->openPaletteIcon();
$block1->paletteIcon(0,"export",$strings["export"]);
$block1->closePaletteIcon();
示例10: block
**
** -----------------------------------------------------------------------------
** Please refer to license, copyright, and credits in README.TXT
**
** -----------------------------------------------------------------------------
** FILE: license.php
**
** DESC: Screen: print GNU/GPL license
**
** HISTORY:
** 2003-10-23 - added new document info
** -----------------------------------------------------------------------------
** TO-DO:
**
** =============================================================================
*/
$checkSession = "false";
include_once '../includes/library.php';
$notLogged = "true";
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs(" ");
$blockPage->closeBreadcrumbs();
$block1 = new block();
$block1->heading($setTitle . " : License");
$block1->openContent();
$block1->contentTitle("License");
$block1->contentRow("", "<pre>" . recupFile("../docs/copying.txt") . "</pre>");
$block1->closeContent();
include '../themes/' . THEME . '/footer.php';
示例11: block
}
$blockPage = new block();
$blockPage->bornesNumber = "1";
$block1 = new block();
//Form
$block1->form = "TaskTime_{$form_type}";
$popup_addon = "";
if ($window == "popup") {
$popup_addon = "?window=popup";
}
$block1->openForm("{$form_type}.php{$popup_addon}");
//--- title ------
$block1->heading($title_type);
$block1->heading_close();
$block1->openContent();
$block1->contentTitle("Données");
//$block1->contentRow("Test", "tmp");
//*** Client ***
//$tmpquery = "WHERE tea.project = '" . $projectDetail->pro_id[0] . "' ORDER BY org.name";
$tmpquery = " ORDER BY org.name";
$clients = new request();
$clients->openOrganizations($tmpquery);
$comptClients = count($clients->org_id);
echo "\n\t<tr class='odd'>\n\t <td valign='top' class='leftvalue'>" . $strings['clients'] . " :</td>\n\t <td><select name='client_id' onChange='this.form.submit()'>";
// get Clients listing
for ($i = 0; $i < $comptClients; $i++) {
$selected = "";
if ($client_id == $clients->org_id[$i]) {
$selected = " selected";
}
echo "<option value='" . $clients->org_id[$i] . "'" . $selected . ">" . $clients->org_name[$i] . "{$clientUser}</option>";
示例12: block
$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');
$block1->contentRow('', $strings['error_phpversion']);
}
$block1->closeContent();
$block1->headingForm_close();
示例13: block
}
}
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../administration/admin.php?", $strings["administration"], in));
$blockPage->itemBreadcrumbs($strings["edit_settings"]);
$blockPage->closeBreadcrumbs();
if ($msg != "") {
include '../includes/messages.php';
$blockPage->messagebox($msgLabel);
}
$block1 = new block();
$block1->heading($strings["edit_settings"]);
$block1->openContent();
$block1->contentTitle("General");
$block1->form = "settings";
$block1->openForm("../administration/updatesettings.php?action=generate&" . session_name() . "=" . session_id());
if (substr($ftpRoot, -1) == "/") {
$ftpRoot = substr($ftpRoot, 0, -1);
}
$tablePrefix = substr($tableCollab["projects"], 0, -8);
echo "\t<input value='{$tablePrefix}' name='tablePrefixNew' type='hidden' />\n\t\t<input value='{$databaseType}' name='databaseTypeNew' type='hidden' />\n\t\t<input value='" . MYSERVER . "' name='myserverNew' type='hidden' />\n\t\t<input value='" . MYLOGIN . "' name='myloginNew' type='hidden' />\n\t\t<input value='" . MYPASSWORD . "' name='mypasswordNew' type='hidden' />\n\t\t<input value='" . MYDATABASE . "' name='mydatabaseNew' type='hidden' />\n\t\t<input value='" . $tablePrefix . "assignments' name='table_assignments' type='hidden' />\n\t\t<input value='" . $tablePrefix . "calendar' name='table_calendar' type='hidden' />\n\t\t<input value='" . $tablePrefix . "files' name='table_files' type='hidden' />\n\t\t<input value='" . $tablePrefix . "logs' name='table_logs' type='hidden' />\n\t\t<input value='" . $tablePrefix . "members' name='table_members' type='hidden' />\n\t\t<input value='" . $tablePrefix . "notes' name='table_notes' type='hidden' />\n\t\t<input value='" . $tablePrefix . "notifications' name='table_notifications' type='hidden' />\n\t\t<input value='" . $tablePrefix . "organizations' name='table_organizations' type='hidden' />\n\t\t<input value='" . $tablePrefix . "posts' name='table_posts' type='hidden' />\n\t\t<input value='" . $tablePrefix . "projects' name='table_projects' type='hidden' />\n\t\t<input value='" . $tablePrefix . "reports' name='table_reports' type='hidden' />\n\t\t<input value='" . $tablePrefix . "sorting' name='table_sorting' type='hidden' />\n\t\t<input value='" . $tablePrefix . "tasks' name='table_tasks' type='hidden' />\n\t\t<input value='" . $tablePrefix . "teams' name='table_teams' type='hidden' />\n\t\t<input value='" . $tablePrefix . "topics' name='table_topics' type='hidden' />\n\t\t<input value='" . $tablePrefix . "phases' name='table_phases' type='hidden' />\n\t\t<input value='" . $tablePrefix . "support_requests' name='table_support_requests' type='hidden' />\n\t\t<input value='" . $tablePrefix . "support_posts' name='table_support_posts' type='hidden' />\n\t\t<input value='" . $tablePrefix . "subtasks' name='table_subtasks' type='hidden' />\n\t\t<input value='" . $tablePrefix . "updates' name='table_updates' type='hidden' />\n\t\t<input value='" . $tablePrefix . "bookmarks' name='table_bookmarks' type='hidden' />\n\t\t<input value='" . $tablePrefix . "bookmarks_categories' name='table_bookmarks_categories' type='hidden' />\n\t\t<input value='" . $tablePrefix . "invoices' name='table_invoices' type='hidden' />\n\t\t<input value='" . $tablePrefix . "invoices_items' name='table_invoices_items' type='hidden' />\n\t\t<input value='" . $tablePrefix . "services' name='table_services' type='hidden' />\n\t\t<input value='" . $tablePrefix . "newsdeskcomments' name='table_newsdeskcomments' type='hidden' />\n\t\t<input value='" . $tablePrefix . "newsdeskposts' name='table_newsdeskposts' type='hidden' />\n\n<input value=\"{$loginMethod}\" name=\"loginMethodNew\" type=\"hidden\">";
if ($version == $versionNew) {
if ($versionOld == "") {
$versionOld = $version;
}
echo "<input value=\"{$versionOld}\" name=\"versionOldNew\" type=\"hidden\">";
} else {
echo "<input value=\"{$version}\" name=\"versionOldNew\" type=\"hidden\">";
}
示例14: headerFunction
**
** HISTORY:
** 2003-10-23 - added new document info
** -----------------------------------------------------------------------------
** TO-DO:
** move to the render engine
**
** =============================================================================
*/
$checkSession = "true";
include_once '../includes/library.php';
if ($profilSession != "0") {
headerFunction('../general/permissiondenied.php?' . session_name() . '=' . session_id());
exit;
}
$setTitle .= " : DB Administraton";
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../administration/admin.php?", $strings["administration"], in));
$blockPage->itemBreadcrumbs($strings["database"] . " " . MYDATABASE);
$blockPage->closeBreadcrumbs();
$block1 = new block();
$block1->heading($strings["database"] . " " . MYDATABASE);
$block1->openContent();
$block1->contentTitle("Backup database");
echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td>\n<form method=\"post\" action=\"../includes/phppgadmin/db_dump.php\">View dump (schema) of database<br/>\n<table>\n <tr>\n <td>\n <input type=\"radio\" name=\"what\" value=\"structure\">Structure only </td>\n <td>\n <input type=\"checkbox\" name=\"drop\" value=\"1\">Add 'drop table' </td>\n <td colspan=\"2\">\n <input type=\"submit\" value=\"Go\">\n </td>\n </tr>\n <tr>\n <td>\n <input type=\"radio\" name=\"what\" value=\"data\" checked>Structure and data </td>\n <td>\n <input type=\"checkbox\" name=\"asfile\" value=\"sendit\">send </td>\n </tr>\n</table>\n<input type=\"hidden\" name=\"server\" value=\"1\">\n<input type=\"hidden\" name=\"db\" value=\"" . MYDATABASE . "\">\n<input type=\"hidden\" name=\"table\" value=\"y_updates\">\n</form>\n" . $blockPage->buildLink("http://phppgadmin.sourceforge.net", "phpPgAdmin", powered) . "</a></td></tr>";
$block1->contentTitle("Restore database from sql file");
echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td>\n <form method=\"post\" action=\"../includes/phpmyadmin/read_dump.php\" enctype=\"multipart/form-data\">\n <input type=\"hidden\" name=\"is_js_confirmed\" value=\"0\" />\n <input type=\"hidden\" name=\"lang\" value=\"en\" />\n <input type=\"hidden\" name=\"server\" value=\"1\" />\n <input type=\"hidden\" name=\"db\" value=\"" . MYDATABASE . "\" />\n <input type=\"hidden\" name=\"pos\" value=\"0\" />\n <input type=\"hidden\" name=\"goto\" value=\"db_details.php\" />\n <input type=\"hidden\" name=\"zero_rows\" value=\"Your SQL-query has been executed successfully\" />\n <input type=\"hidden\" name=\"prev_sql_query\" value=\"\" /><br />\n Location of sql file :<br />\n <div style=\"margin-bottom: 5px\">\n <input type=\"file\" name=\"sql_file\" /><br />\n </div>\n \n <input type=\"submit\" name=\"SQL\" value=\"Go\" />\n </form>\n" . $blockPage->buildLink("http://phpwizard.net/projects/phpMyAdmin", "phpMyAdmin", powered) . "</a>\n</td></tr>\n</table>\n</td></tr>";
$block1->closeContent();
include '../themes/' . THEME . '/footer.php';
示例15: header
}
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);
$totalTasks = $countEnregTotal;
$block1->contentTitle($strings["reassignment_user"]);