• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP print_container函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中print_container函数的典型用法代码示例。如果您正苦于以下问题:PHP print_container函数的具体用法?PHP print_container怎么用?PHP print_container使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



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

示例1: graph_sla_slicebar

	$incident_sla .= "</td>";
	$incident_sla .= "</tr>";
	$incident_sla .= "<tr>";
	$incident_sla .= "<td id=slaSlicebarField colspan=2 style='text-align: center; padding: 1px 2px 1px 5px;'>";
	$incident_sla .= graph_sla_slicebar ($id, $period, 155, 15, $ttl);
	$incident_sla .= "</td>";
	$incident_sla .= "<td colspan=2 style='text-align: center;' >";
	$incident_sla .= "<div class='pie_frame'>";
	$incident_sla .= graph_incident_sla_compliance ($id, 155, 80, $ttl);
	$incident_sla .= "</div>";	
	$incident_sla .= "</td>";
	$incident_sla .= "<tr>";
	//$incident_sla .= "</table>";
}

$right_side .= print_container('incident_sla', __('SLA information'), $incident_sla, 'open', true, true, '', 'no_border', 4, 'less_widht');

$table->data[0][0] = $left_side;
$table->data[0][1] = $right_side;

echo "<div id='indicent-details-view'>";

echo '<h2>'.__('Tickets').' #'.$incident["id_incidencia"].'</h2><h4>'. $incident['titulo'];


if (!$pure) {
	echo integria_help ("incident_dashboard_detail", true);
	echo "<div id='button-bar-title'>";
	echo "<ul>";

	//Only incident manager and user with IR flag which are owners and admin can edit incidents
开发者ID:articaST,项目名称:integriaims,代码行数:31,代码来源:incident_dashboard_detail.php


示例2: stdClass

    // JSON STRING
    $html .= "</div>";
    $html .= "<ul></ul>";
    $html .= "</div>";
    $table_description = new stdClass();
    $table_description->width = '99%';
    $table_description->id = 'incident_file_description';
    $table_description->class = 'search-table-button';
    $table_description->data = array();
    $table_description->data[0][0] = print_textarea("file_description", 3, 40, '', '', true, __('Description'));
    $table_description->data[1][0] = print_submit_button(__('Add'), 'crt_btn', false, 'class="sub create"', true);
    $html .= "<div id='file_description_table_hook' style='display:none;'>";
    $html .= print_table($table_description, true);
    $html .= "</div>";
    $table->colspan[10][0] = 4;
    $table->data[10][0] = print_container('file_upload_container', __('File upload'), $html, 'closed', true, false);
}
if ($create_incident) {
    $button = print_input_hidden('action', 'insert', true);
    if (give_acl($config["id_user"], 0, "IW")) {
        $button .= print_submit_button(__('Create'), 'action2', false, 'class="sub create"', true);
    }
} else {
    $button = print_input_hidden('id', $id, true);
    $button .= print_input_hidden('action', 'update', true);
    $button .= print_submit_button(__('Update'), 'action2', false, 'class="sub upd"', true);
}
$table->colspan['button'][0] = 4;
$table->data['button'][0] = $button;
if ($has_permission) {
    if ($create_incident) {
开发者ID:dsyman2,项目名称:integriaims,代码行数:31,代码来源:incident_detail.php


示例3: print_container

				//$tracking_group .= "</table>";
				
				echo print_container('incident_tracking_group', __('Statistics by group'), $tracking_group, 'open', true, '20px', '', '', 1, 'less_widht');
			echo "</td>";	
			echo "<td style='vertical-align:top;width: 33%;'>";
				//$tracking_user = "<table class='details_table alternate'>";
				foreach ($stats[INCIDENT_METRIC_USER] as $key => $value) {
					$name = get_db_value ('nombre_real', 'tusuario', 'id_usuario', $key);
					$tracking_user = "<tr>";
					$tracking_user .= "<td><strong>".$name."</strong>:</td>";
					$tracking_user .= "<td style='text-align:right;'>".give_human_time($value,true,true,true)."</td>";
					$tracking_user .= "</tr>";
				}
				//$tracking_user .= "</table>";
				
				echo print_container('incident_tracking_user', __('Statistics by owner'), $tracking_user, 'open', true, '20px', '', '', 1, 'less_widht');
			echo "</td>";	
		echo "</tr>";
	echo "</table>";
}

$trackings = get_db_all_rows_field_filter ('tincident_track', 'id_incident', $id, 'timestamp DESC, id_it DESC');

if ($trackings !== false) {
	unset($table);
	$table = new StdClass;
	$table->width = "100%";
	$table->class = 'listing';
	$table->data = array ();
	$table->head = array ();
	$table->head[0] = __('Description');
开发者ID:articaST,项目名称:integriaims,代码行数:31,代码来源:incident_tracking.php


示例4: print_table

                $tasks_report .= '<div class="pie_frame">';
                $tasks_report .= print_table($table_task, true);
                $tasks_report .= '</div><br>';
                if ($pdf_output) {
                    $tasks_report .= '<hr>';
                }
            }
        }
    }
    //Print containers
    echo print_container('project_labour_report', __('Labour'), $labour, 'no', true, true, "container_simple_title", "container_simple_div");
    echo print_container('project_budget_report', __('Budget'), $budget, 'no', true, true, "container_simple_title", "container_simple_div");
    echo print_container('project_involved_people_report', __('People involved'), $people_involved, 'no', true, true, "container_simple_title", "container_simple_div");
    echo print_container('project_task_distribution_report', __('Task distribution'), $task_distribution, 'no', true, true, "container_simple_title", "container_simple_div");
    echo print_container('project_workload_distribution_report', __('Workload distribution'), $workload_distribution, 'no', true, true, "container_simple_title", "container_simple_div");
    echo print_container('project_tasks_report', __('Project tasks'), $tasks_report, 'no', true, true, "container_simple_title", "container_simple_div");
}
?>

<?php 
if (!$pdf_output) {
    ?>
<script type="text/javascript">
	$(function() {
		// Init the tooltip
		$('div.tooltip_title').tooltip({
			track: true,
			open: function (event, ui) {
				ui.tooltip.css('max-width', '800px');
			}
		});
开发者ID:dsyman2,项目名称:integriaims,代码行数:31,代码来源:project_report.php


示例5: graph_workunit_project_user_single

echo "</td>";
echo "</strong>";
echo "</tr>";
echo "</table>";
echo "</td>";
echo "<td>";
$content = '<div class="pie_frame">' . graph_workunit_project_user_single(180, 150, $id_project) . '</div>';
print_container('planning_hours_worked', __("Hours worked"), $content, 'no', false, '10px');
echo "</td>";
echo "<td>";
$content = '<div class="pie_frame">' . graph_workunit_project_task_status(180, 150, $id_project) . '</div>';
print_container('planning_hours_summary_task', __("Summary task status"), $content, 'no', false, '10px');
echo "</td>";
echo "<td>";
$content = '<div class="pie_frame">' . graph_project_task_per_user(180, 150, $id_project) . '</div>';
print_container('planning_hours_task_user', __("Task per user"), $content, 'no', false, '10px');
echo "</td>";
echo "</tr>";
echo "</table>";
echo "</center>";
//Create button bar
echo "<div style='width:100%; border-spacing:0px;' class='button'>";
// Oppen the task creation
print_button(__('Add tasks'), 'addmass', false, '', 'class="sub create"');
// Submit the update form
print_button(__('Update'), 'update', false, 'document.forms[\'form-tasks\'].submit()', 'class="sub upd"');
echo "</div>";
//Get project users
$sql = sprintf("SELECT DISTINCT(id_user) FROM trole_people_project WHERE id_project = %d", $id_project);
$users_db = get_db_all_rows_sql($sql);
foreach ($users_db as $u) {
开发者ID:dsyman2,项目名称:integriaims,代码行数:31,代码来源:task_planning.php


示例6: get_parameter

 	$filter['id_building'] = (int) get_parameter ('search_id_building');
 	$filter['sla_fired'] = (bool) get_parameter ('search_sla_fired');
 	$filter['id_incident_type'] = (int) get_parameter ('search_id_incident_type');
 	$filter['id_user'] = (string) get_parameter ('search_id_user', '');
 	$filter['id_incident_type'] = (int) get_parameter ('search_id_incident_type');
 	$filter['id_user'] = (string) get_parameter ('search_id_user', '');
 	$filter['first_date'] = (string) get_parameter ('search_first_date');
 	$filter['last_date'] = (string) get_parameter ('search_last_date');
}

if (!$output) {
	$output = __('All tickets');
}

$container_title = __("Ticket report parameters");
echo print_container('incident_report_parameters', $container_title, $output, 'no', true, true, "container_simple_title", "container_simple_incident_report_parameters ");  

if ($show_list) {

	$table->class = 'listing';
	$table->width = "95%";
	$table->style = array ();
	$table->style[0] = 'font-weight: bold';
	$table->head = array ();
	$table->head[0] = __('ID');
	$table->head[1] = __('SLA');
	$table->head[2] = __('% SLA');
	$table->head[3] = __('Ticket');
	$table->head[4] = __('Group')."<br><em>".__("Company")."</em>";
	$table->head[5] = __('Status')."<br /><em>".__('Resolution')."</em>";
	$table->head[6] = __('Priority');
开发者ID:articaST,项目名称:integriaims,代码行数:31,代码来源:incidents_html.php


示例7: pie3d_graph

    $managers_invoicing_volume = pie3d_graph($config['flash_charts'], $managers_invoicing, 300, 150, __('others'), "", "", $config['font'], $config['fontsize'] - 1, $ttl);
} else {
    $managers_invoicing_volume = __('No data to show');
}
$managers_invoicing_volume = '<br><div class="pie_frame">' . $managers_invoicing_volume . '</div>';
$table->data[2][1] = print_container('managers_invoicing_volume', __('Managers invoicing volume'), $managers_invoicing_volume, 'no', true, '10px');
//TOP 10 INVOICING
$companies_invoincing = crm_get_total_invoiced($where_clause);
if ($read && $enterprise) {
    $companies_invoincing = crm_get_user_companies($config['id_user'], $companies_invoincing);
}
if ($companies_invoincing != false) {
    $companies_invoincing_content = '<br>' . print_table(crm_print_most_invoicing_companies($companies_invoincing), true);
} else {
    $companies_invoincing_content = '<br><div>' . __('No data to show') . '</div>';
}
$table->data[3][0] = print_container('top_10_invoicing', __('Top 10 invoicing'), $companies_invoincing_content, 'no', true, '10px');
//TOP 10 MANAGERS INVOICING
if ($read && $enterprise) {
    $managers_invoicing = crm_get_invoicing_managers_acl($config['id_user'], $where_clause);
} else {
    $managers_invoicing = crm_get_managers_invoicing($where_clause);
}
if ($managers_invoicing != false) {
    $managers_invoicing_content = '<br>' . print_table(crm_print_most_invoicing_managers($managers_invoicing), true);
} else {
    $managers_invoicing_content = '<br><div>' . __('No data to show') . '</div>';
}
$table->data[3][1] = print_container('top_10_managers_invoicing', __('Top 10 managers invoicing'), $managers_invoicing_content, 'no', true, '10px');
echo '<br>';
print_table($table);
开发者ID:dsyman2,项目名称:integriaims,代码行数:31,代码来源:company_statistics.php


示例8: __

        }
        if (isset($row_2)) {
            $incidents_home .= "</table>";
        }
    } else {
        $incidents_home .= "<div class='landing_empty'>";
        $incidents_home .= __("There aren't active incidents");
        $incidents_home .= "</div>";
    }
    $much_more = "<a href='index.php?sec=incidents&sec2=operation/incidents/incident_dashboard'>";
    $much_more .= "<img class='much_more' src='images/add.png' title='" . __('Incidents') . "'>";
    $much_more .= "</a>";
    $subtitle = "<span class='landing_subtitle'>";
    $subtitle .= __('Total active incidents') . ": " . incidents_active_user($config["id_user"]);
    $subtitle .= "</span>";
    echo print_container('incidents_home', __('Incidents') . $subtitle . $much_more, $incidents_home, 'no');
    echo "</td>";
    echo "</tr>";
    echo "</table>";
} else {
    if (give_acl($config["id_user"], 0, "AR")) {
        include "operation/agenda/agenda.php";
    } else {
        echo "<h1>" . __("Welcome to Integria") . "</h1>";
    }
}
$check_browser = check_browser();
if ($check_browser) {
    $browser_message = '<h4>' . __('Recommended browsers are Firefox and Chrome. You are using another browser.') . '</h4>';
    echo "<div class= 'dialog ui-dialog-content' title='" . __("Info") . "' id='browser_dialog'>{$browser_message}</div>";
    echo "<script type='text/javascript'>";
开发者ID:dsyman2,项目名称:integriaims,代码行数:31,代码来源:home.php


示例9: print_container

        $tracking_group .= "</tr>";
    }
    $tracking_group .= "</table>";
    echo print_container('incident_tracking_group', __('Statistics by group'), $tracking_group, 'no', true, '20px');
    echo "</td>";
    echo "<td style='vertical-align:top;width: 33%;'>";
    $tracking_user = "<table class='details_table alternate'>";
    foreach ($stats[INCIDENT_METRIC_USER] as $key => $value) {
        $name = get_db_value('nombre_real', 'tusuario', 'id_usuario', $key);
        $tracking_user .= "<tr>";
        $tracking_user .= "<td><strong>" . $name . "</strong>:</td>";
        $tracking_user .= "<td style='text-align:right;'>" . give_human_time($value, true, true, true) . "</td>";
        $tracking_user .= "</tr>";
    }
    $tracking_user .= "</table>";
    echo print_container('incident_tracking_user', __('Statistics by owner'), $tracking_user, 'no', true, '20px');
    echo "</td>";
    echo "</tr>";
    echo "</table>";
}
$trackings = get_db_all_rows_field_filter('tincident_track', 'id_incident', $id, 'timestamp DESC, id_it DESC');
if ($trackings !== false) {
    unset($table);
    $table->width = "99%";
    $table->class = 'listing';
    $table->data = array();
    $table->head = array();
    $table->head[0] = __('Description');
    $table->head[1] = __('User');
    $table->head[2] = __('Date');
    $table->style[2] = "width: 150px";
开发者ID:dsyman2,项目名称:integriaims,代码行数:31,代码来源:incident_tracking.php


示例10: __

	echo "<th>".__("Completed").":<span style='background-color:#b8e0fd;'>&nbsp;".$completed."&nbsp;</span></th>";
	echo "<th>".__("In process").":<span style='background-color:#fceaa2;'>&nbsp;".$in_process."&nbsp;</span></th>";
	echo "<th>".__("Pending").":<span style='background-color:#FFF;'>&nbsp;".$pending."&nbsp;</span></th>";
echo "</tr></table>";

$content_general = "<tr><td valign='top' >";
		$content = '<tr><td colspan="2" valign=top style="height:250px;">'.graph_workunit_project_user_single(350, 150, $id_project).'</td></tr>';
	$content_general .=	print_container('planning_hours_worked', __("Hours worked"), $content, 'no', true, '10px');
$content_general .= "</td><td valign='top' >";
		$content = '<tr><td colspan="2" valign=top style="height:250px;">'. graph_workunit_project_task_status(350, 150, $id_project).'</td></tr>';
	$content_general .= print_container('planning_hours_summary_task', __("Summary task status"), $content, 'no', true, '10px');
$content_general .= "</td><td valign='top'  >";
		$content = '<tr><td colspan="2" valign=top style="height:250px;">'. graph_project_task_per_user(350, 150, $id_project).'</td></tr>';
	$content_general .= print_container('planning_hours_task_user', __("Task per user"), $content, 'no', true, '10px', '', '', 1, 'less_widht');
$content_general .= "</td></tr>";
print_container('task_information', __("Task Information"), $content_general, 'closed', false, '10px', '', '', 2);

//Starting main form for this view
echo "<form id='form-tasks' method='post' action='index.php?sec=projects&sec2=operation/projects/task_planning&id_project=".$id_project."'>";
print_input_hidden('update', 'update');
//Create table and table header.
echo "<table class='listing'>";
	echo "<thead>";
		echo "<tr>";
			echo "<th>".__('Task')."</th>";
			echo "<th>".__('Owner')."</th>";
			echo "<th>".__('Start date')."</th>";
			echo "<th>".__('End date')."</th>";
			echo "<th>".__('Hours worked')."</th>";
			echo "<th>".__('Delay (days)')."</th>";
			echo "<th>".__('Status')."</th>";
开发者ID:articaST,项目名称:integriaims,代码行数:31,代码来源:task_planning.php


示例11: switch

    $comp_invoiced_data[$comp_name] = $val;
}
switch ($search_invoice_type) {
    case 'Submitted':
        $container_title = __("Submitted billing per company");
        break;
    case 'Received':
        $container_title = __("Received billing per company");
        break;
    default:
        $container_title = "Submitted billing per company";
        break;
}
$companies_invoiced_graph = pie3d_graph($config["flash_charts"], $comp_invoiced_data, 400, 150, __('others'), $config["base_url"], "", $config['font'], $config['fontsize'], $graph_ttl);
$companies_invoiced_graph = '<div class="pie_frame">' . $companies_invoiced_graph . "</div>";
echo print_container('companies_invoiced', $container_title, $companies_invoiced_graph, 'no', true, true, "container_simple_title", "container_simple_div");
switch ($search_invoice_type) {
    case 'Submitted':
        $container_title = __("Submitted billing per currency");
        break;
    case 'Received':
        $container_title = __("Received billing per currency");
        break;
    default:
        $container_title = __("Submitted billing per currency");
        break;
}
echo print_container('currency_invoiced', $container_title, $currency_table, 'no', true, true, "container_simple_title", "container_simple_div");
?>

开发者ID:dsyman2,项目名称:integriaims,代码行数:29,代码来源:invoice_stats.php


示例12: sprintf

$lead_stats .= "</td>";
$lead_stats .= "<td style='text-align:right'>";
$lead_stats .= sprintf("%d", $total_leads);
$lead_stats .= "</td>";
$lead_stats .= "</tr>";
$lead_stats .= "<tr>";
$lead_stats .= "<td>";
$lead_stats .= "<strong>" . __("Total success") . "</strong>";
$lead_stats .= "</td>";
$lead_stats .= "<td style='text-align:right'>";
$leads_success = $data[200]["total_leads"];
$lead_stats .= sprintf("%d", $leads_success);
$lead_stats .= "</td>";
$lead_stats .= "</tr>";
$lead_stats .= "<tr>";
$lead_stats .= "<td>";
$lead_stats .= "<strong>" . __("Conversion rate") . "</strong>";
$lead_stats .= "</td>";
$lead_stats .= "<td style='text-align:right'>";
if ($total_leads) {
    $conversion_rate = $leads_success / $total_leads * 100;
} else {
    $conversion_rate = 0;
}
$lead_stats .= sprintf("%.2f %%", $conversion_rate);
$lead_stats .= "</td>";
$lead_stats .= "</tr>";
$lead_stats .= "</table>";
$lead_stats = '<br><div style="padding-left: 20px;">' . $lead_stats . '</div>';
echo print_container('lead_rate', __('Lead statistics'), $lead_stats, 'no', true, true, "container_simple_title", "container_simple_div");
print_table($table);
开发者ID:dsyman2,项目名称:integriaims,代码行数:31,代码来源:campaign_stats.php


示例13: ob_start

    echo "PHP 5.5.0 or later is required. Please upgrade your PHP installation.";
    die;
}
/* We’re live! */
require_once __DIR__ . DIRECTORY_SEPARATOR . 'bones.php';
require_once DIR_PHP . 'pagesetup.php';
if ($_SERVER['REQUEST_METHOD'] == 'GET') {
    if (isset($_GET['nav'])) {
        $_SESSION['nav'] = $_GET['nav'];
        include DIR_NAV . DIRECTORY_SEPARATOR . 'nav.php';
    }
}
ob_start();
echo "<!DOCTYPE html>";
echo "<html lang=\"en\">";
print_head();
echo "<body>";
print_noscript();
echo "<div class=\"oldie-display-none nojs-display-none\">";
print_navbar();
if (Config::read('var.showsession')) {
    print_session();
    unset($_SESSION['dev']);
}
print_container();
print_footer();
echo "</div>";
print_scripts();
echo "</body>";
echo "</html>";
ob_end_flush();
开发者ID:amoschou,项目名称:acet,代码行数:31,代码来源:index.php


示例14: __

$html .= "<table width=\"99%\">";
$html .= "<td width=\"45%\">";
$html .= __('Drop the file here');
$html .= "<td>";
$html .= __('or');
$html .= "<td width=\"45%\">";
$html .= "<a id=\"browse_button\">" . __('browse it') . "</a>";
$html .= "<tr>";
$html .= "</table>";
$html .= "<input name=\"upfile\" type=\"file\" id=\"file-upfile\" class=\"sub file\" />";
$html .= "<input type=\"hidden\" name=\"upfiles\" id=\"upfiles\" />";
// JSON STRING
$html .= "</div>";
$html .= "<ul></ul>";
$html .= "</div>";
$table->data[3][0] = print_container('attachment_upload_container', __('Attachments'), $html, 'closed', true, false);
$table->data[4][0] = print_textarea("last_mail", 10, 1, $last_email, 'style="height:350px;"', true, __('Last E-mail'));
$table->data[5][0] = print_submit_button(__('Send email'), 'apply_btn', false, 'class="sub upd"', true);
$table->data[5][0] .= print_input_hidden('id', $id, true);
$table->data[5][0] .= print_input_hidden('send', 1, true);
echo '<form method="post" id="lead_mail_go">';
print_table($table);
echo "</form>";
?>

<script type="text/javascript" src="include/js/jquery.validate.js"></script>
<script type="text/javascript" src="include/js/jquery.validation.functions.js"></script>
<script type="text/javascript" src="include/js/jquery.fileupload.js"></script>
<script type="text/javascript" src="include/js/jquery.iframe-transport.js"></script>
<script type="text/javascript" src="include/js/jquery.knob.js"></script>
开发者ID:dsyman2,项目名称:integriaims,代码行数:30,代码来源:lead_mail.php


示例15: format_numeric

    $budget .= "</td><td>";
    if ($total_hr > 0) {
        $budget .= format_numeric($total_project_costs / $total_hr) . " " . $config["currency"];
    } else {
        $budget .= __("N/A");
    }
    $budget .= "</td></tr>";
    $budget .= "</table>";
    // Workload distribution
    $workload_distribution = '<div class="pie_frame">' . graph_workunit_project_user_single(350, 150, $id_project, $graph_ttl) . '</div>';
    //Print containers
    echo print_container('project_labour', __('Labour'), $labour);
    echo print_container('project_budget', __('Budget'), $budget);
    echo print_container('project_involved_people', __('People involved'), $people_involved);
    echo print_container('project_task_distribution', __('Task distribution'), $task_distribution);
    echo print_container('project_workload_distribution', __('Workload distribution'), $workload_distribution);
}
echo "</form>";
//div to show user info
echo "<div class= 'dialog ui-dialog-content' title='" . __("User info") . "' id='user_info_window'></div>";
?>
<script type="text/javascript" src="include/js/jquery.ui.slider.js"></script>
<script type="text/javascript" src="include/languages/date_<?php 
echo $config['language_code'];
?>
.js"></script>
<script type="text/javascript" src="include/js/integria_date.js"></script>
<script type="text/javascript" src="include/js/jquery.ui.autocomplete.js"></script>
<script type="text/javascript" src="include/js/integria_incident_search.js"></script>

<script type="text/javascript">
开发者ID:dsyman2,项目名称:integriaims,代码行数:31,代码来源:project_detail.php


示例16: print_input_text

if ($has_im) {
	//Parent ticket
	$table->data[1][1] = print_input_text ('search_parent', $parent_name, '', 10, 100, true, __('Parent ticket'));
	$table->data[1][1] .= print_input_hidden ('id_parent', $id_parent, true);
	$table->data[1][1] .= print_image("images/cross.png", true, array("onclick" => "clean_parent_field()", "style" => "cursor: pointer"));
	//Delete tickets
	$table->data[1][3] = print_image("images/cross.png", true, array("onclick" => "delete_massive_tickets()", "style" => "cursor: pointer"));
}

$table->data[2][0] = print_submit_button (__('Update'), 'massive_update', false, 'class="sub next"', true);
$table->colspan[2][0] = 4;

$massive_oper_incidents = print_table ($table, true);

echo print_container('massive_oper_incidents', __('Massive operations over selected items'), $massive_oper_incidents, 'closed', true, '20px');

echo "<div class= 'dialog ui-dialog-content' title='".__("Tickets")."' id='parent_search_window'></div>";
?>

<script type="text/javascript" src="include/js/jquery.metadata.js"></script>
<script type="text/javascript" src="include/languages/date_<?php echo $config['language_code']; ?>.js"></script>
<script type="text/javascript" src="include/js/integria_incident_search.js"></script>
<script type="text/javascript" src="include/js/jquery.ui.autocomplete.js"></script>
<script type="text/javascript" src="include/js/integria_date.js"></script>

<script type="text/javascript">

// Datepicker
add_ranged_datepicker ("#text-search_first_date", "#text-search_last_date", null);
开发者ID:keunes,项目名称:integriaims,代码行数:29,代码来源:incident_search_logic.php


示例17: print_label

if (!$external_cost) {
    $external_cost = 0;
}
$table_advanced->data[0][0] .= print_label(__("External costs"), '', '', true);
$table_advanced->data[0][0] .= $external_cost . " " . $config["currency"];
// Abbreviation for "Estimated"
$labela = __('Est.');
$labelb = __('Real');
$a = round($hours);
$b = round(get_task_workunit_hours($id_task));
$image = histogram_2values($a, $b, $labela, $labelb);
$table_advanced->data[0][1] = print_label(__('Estimated hours'), '', '', true, $image);
$labela = __('Total');
$labelb = __('Imp');
$a = round(task_workunit_cost($id_task, 0));
$b = round(task_workunit_cost($id_task, 1));
$image = histogram_2values($a, $b, $labela, $labelb);
$table_advanced->data[0][1] .= print_label(__('Imputable estimation'), '', '', true, $image);
$labela = __('Est.');
$labelb = __('Real');
$a = $estimated_cost;
$b = round(task_workunit_cost($id_task, 1));
$image = histogram_2values($a, $b, $labela, $labelb);
$table_advanced->data[0][1] .= print_label(__('Cost estimation'), '', '', true, $image);
//Workload distribution chart
$image = graph_workunit_task(200, 170, $id_task, true);
$image = '<div class="graph_frame">' . $image . '</div>';
$table_advanced->data[0][2] = print_label(__('Workunit distribution'), '', '', true, $image);
$table->colspan['row_task_stats'][0] = 3;
$table->data['row_task_stats'][0] = print_container('task_stats', __('Task statitics'), print_table($table_advanced, true), 'open', true, false);
print_table($table);
开发者ID:dsyman2,项目名称:integriaims,代码行数:31,代码来源:task_report.php


示例18: print_company_autocomplete_input

	$table_advanced .= '<td>';
	$table_advanced .= print_company_autocomplete_input($params);
	$table_advanced .= '</td><td>';
	$table_advanced .= combo_kb_products ($id_category, true, 'Product type', true);
	$table_advanced .= '</td>';
	$table_advanced .= "<td rowspan=2 valign=top>".get_last_date_control ($last_date, 'last_date_search', __('Date'), $start_date, 'start_date_search', __('Start date'), $end_date, 'end_date_search', __('End date'));
	$table_advanced .= '</td>';
	$table_advanced .= '<tr><td>';
	$progress_values = lead_progress_array ();
	$table_advanced .= print_select ($progress_values, 'progress_search', $progress, '', __('Any'), 0, true, 0, false, __('Lead progress') );
	$table_advanced .= '</td><td>';
	$table_advanced .= print_select_from_sql ('SELECT id_language, name FROM tlanguage ORDER BY name',
		'id_language', $id_language, '', __('Any'), '', true, false, false, __('Language'));
	$table_advanced .= '<tr>';
	
	$table->data['advanced'][2] = print_container('lead_search_advanced', __('Advanced search'), $table_advanced, 'closed', true, false,'','no_border',3);
	$table->colspan['advanced'][2] = 4;
	// Delete new lines from the string
	$where_clause = str_replace(array("\r", "\n"), '', $where_clause);
	
	$form .= "<div class='divresult_left'>";
		$form .= print_table ($table,true);
	$form .= '</div>';
	$table->data = array ();
	
	$form .= "<div class='divform_right'>";
		$form .= "<div class='button-form'><ul>";
			$form .= '<li>' . print_button(__('Export to CSV'), '', false, 
				'window.open(\'include/export_csv.php?export_csv_leads=1&where_clause=' . 
					str_replace('"', "\'", $where_clause) . '\')', 'class="sub csv"', true) . '</li>';
			$form .='<li>' . print_submit_button (__('Search'), "search_btn", false, 'class="sub search"', true). '</li>';
开发者ID:articaST,项目名称:integriaims,代码行数:31,代码来源:lead_detail.php


示例19: crm_get_total_sales_lead

$where_clause_top10 = $where_clause . " AND progress < 100";
$leads_sales = crm_get_total_sales_lead($where_clause_top10);
if ($read && $enterprise) {
    $leads_sales = crm_get_user_leads($config['id_user'], $leads_sales);
}
if ($leads_sales != false) {
    $leads_sales_content = print_table(crm_print_estimated_sales_leads($leads_sales), true);
} else {
    $leads_sales_content = '<br><div class="pie_frame">' . __('No data to show') . '</div>';
}
echo print_container('top_10_sales', __('Top 10 estimated sales'), $leads_sales_content, 'no', true, true, "container_simple_title", "container_simple_div");
//NEW LEADS
$leads_creation = crm_get_total_leads_creation($where_clause);
if ($read && $enterprise) {
    $leads_creation = crm_get_user_leads($config['id_user'], $leads_creation);
}
$leads_creation = crm_get_data_lead_creation_graph($leads_creation);
if ($leads_creation !== false) {
    $area_width = 400;
    $area_height = 250;
    if ($clean_output) {
        $area_width = 240;
        $area_height = 155;
    }
    $leads_creation_content = area_graph($config['flash_charts'], $leads_creation, $area_width, $area_height, "#2179B1", '', '', '', "", "", $config["base_url"], "", '', '', '', $ttl);
} else {
    $leads_creation_content = __('No data to show');
}
$leads_creation_content = '<br><div class="pie_frame"><br>' . $leads_creation_content . '</div>';
echo print_container('new_leads', __('New leads'), $leads_creation_content, 'no', true, true, "container_simple_title", "container_simple_div");
开发者ID:dsyman2,项目名称:integriaims,代码行数:30,代码来源:lead_statistics.php


示例20: print_help_tip

$hint = print_help_tip(__("The task cannot start before all tasks in this section start"), true);
$table_advanced->data[0][0] = print_select($links_1, 'link_1', NULL, '', '', '', true, false, false, __('Start to start') . $hint);
$table_advanced->data[0][0] .= "&nbsp;&nbsp;<a href='javascript: show_task_link_selector(1," . $id_project . "," . $id_task . ");'>" . print_image('images/add.png', true, array('title' => __('Add'))) . "</a>";
$table_advanced->data[0][0] .= "&nbsp;&nbsp;<a href='javascript: remove_link(1);'>" . print_image('images/cross.png', true, array('title' => __('Remove'))) . "</a>";
$links_0 = projects_get_task_links($id_project, $id_task, 0);
$hint = print_help_tip(__("The task cannot start before all tasks in this section end"), true);
$table_advanced->data[0][1] = print_select($links_0, 'link_0', NULL, '', '', '', true, false, false, __('Finish to start') . $hint);
$table_advanced->data[0][1] .= "&nbsp;&nbsp;<a href='javascript: show_task_link_selector(0," . $id_project . "," . $id_task . ");'>" . print_image('images/add.png', true, array('title' => __('Add'))) . "</a>";
$table_advanced->data[0][1] .= "&nbsp;&nbsp;<a href='javascript: remove_link(0);'>" . print_image('images/cross.png', true, array('title' => __('Remove'))) . "</a>";
$links_2 = projects_get_task_links($id_project, $id_task, 2);
$hint = print_help_tip(__("The task cannot end before all tasks in this section end, although it may end later"), true);
$table_advanced->data[0][2] = print_select($links_2, 'link_2', NULL, '', '', '', true, false, false, __('Finish to finish') . $hint);
$table_advanced->data[0][2] .= "&nbsp;&nbsp;<a href='javascript: show_task_link_selector(2," . $id_project . "," . $id_task . ");'>" . print_image('images/add.png', true, array('title' => __('Add'))) . "</a>";
$table_advanced->data[0][2] .= "&nbsp;&nbsp;<a href='javascript: remove_link(2);'>" . print_image('images/cross.png', true, array('title' => __('Remove'))) . "</a>";
$table->colspan['row_links'][0] = 3;
$table->data['row_links'][0] = print_container('task_links', __('Task links'), print_table($table_advanced, true), 'open', true, false);
$table->colspan[5][0] = 3;
$table->data[5][0] = print_textarea('description', 8, 30, $description, '', true, __('Description'));
$button = '';
if ($operation != "create" && $task_permission['manage'] || $operation == "create") {
    if ($operation != "create") {
        if ($gantt_editor) {
            $button .= print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"', true);
        }
        $button .= print_submit_button(__('Update'), 'update_btn', false, 'class="sub upd"', true);
        $button .= print_input_hidden('operation', 'update', true);
    } else {
        $button .= print_submit_button(__('Create'), 'create_btn', false, 'class="sub create"', true);
        $button .= print_input_hidden('operation', 'insert', true);
    }
    $button .= print_input_hidden('id_project', $id_project, true);
开发者ID:dsyman2,项目名称:integriaims,代码行数:31,代码来源:task_detail.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP print_container_end函数代码示例发布时间:2022-05-15
下一篇:
PHP print_column_style_code函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap