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


PHP print_image函数代码示例

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


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

示例1: user_print_autocomplete_input

function user_print_autocomplete_input($parameters)
{
    if (isset($parameters['input_name'])) {
        $input_name = $parameters['input_name'];
    }
    $input_value = '';
    if (isset($parameters['input_value'])) {
        $input_value = $parameters['input_value'];
    }
    if (isset($parameters['input_id'])) {
        $input_id = $parameters['input_id'];
    }
    $return = false;
    if (isset($parameters['return'])) {
        $return = $parameters['return'];
    }
    $input_size = 20;
    if (isset($parameters['size'])) {
        $input_size = $parameters['size'];
    }
    $input_maxlength = 30;
    if (isset($parameters['maxlength'])) {
        $input_maxlength = $parameters['maxlength'];
    }
    $src_code = print_image('images/group.png', true, false, true);
    if (isset($parameters['image'])) {
        $src_code = print_image($parameters['image'], true, false, true);
    }
    $title = '';
    if (isset($parameters['title'])) {
        $title = $parameters['title'];
    }
    $help_message = "Type at least two characters to search";
    if (isset($parameters['help_message'])) {
        $help_message = $parameters['help_message'];
    }
    $return_help = true;
    if (isset($parameters['return_help'])) {
        $return_help = $parameters['return_help'];
    }
    $disabled = false;
    if (isset($parameters['disabled'])) {
        $disabled = $parameters['disabled'];
    }
    $attributes = '';
    if (isset($parameters['attributes'])) {
        $attributes = $parameters['attributes'];
    }
    return print_input_text_extended($input_name, $input_value, $input_id, '', $input_size, $input_maxlength, $disabled, '', $attributes, $return, '', $title . print_help_tip($help_message, $return_help));
}
开发者ID:articaST,项目名称:integriaims,代码行数:50,代码来源:functions_user.php

示例2: update_manager_main

function update_manager_main()
{
    global $config;
    echo "<div class='note_simple'>";
    echo "<p><b>";
    $license = $config['license'];
    if ($license == 'INTEGRIA-FREE') {
        echo "<h3 class='update'>" . __('Your Integria IMS version number is') . ' ' . $config['db_scheme_build'] . "</h3>";
    } else {
        if ($config['current_package'] == 0) {
            echo "<h3 class='update'>" . __('You do not have installed any updates of Integria IMS') . "</h3>";
        } else {
            echo "<h3 class='update'>" . __('Your Integria IMS version number is') . ' ' . $config['current_package'] . "</h3>";
        }
    }
    echo "</b></p>";
    echo '<p class="info_update">' . __('This is a automatilly update Integria IMS. Be careful if you have changed any php file, please make a backup this modified files php. Because the update action ovewrite all php files in Integria IMS.') . '</p>' . '<p class="info_update">' . __('Update Manager sends anonymous information about Integria IMS usage (number of users). To disable it, just remove remote server address from Update Manager in main setup.') . '</p>';
    echo "<h3 class='update_online'>" . __('Online') . "</h3>";
    echo "<div id='box_online'>";
    echo "<div class='loading' style='width:100%; text-align: center;'>";
    print_image("images/wait.gif");
    echo "</div>";
    echo "<div class='checking_package' style='width:100%; text-align: center; display: none;'>";
    echo __('Checking for the newest package.');
    echo "</div>";
    echo "<div class='download_package' style='width:100%; text-align: center; display: none;'>";
    echo __('Downloading the package.');
    echo "</div>";
    echo "<div class='content'></div>";
    echo "<div class='progressbar' style='display: none;'><img class='progressbar_img' src='' /></div>";
    echo "</div>";
    echo "</div>";
    ?>
	<script type="text/javascript">
		var version_update = "";
		var stop_check_progress = 0;
		
		$(document).ready(function() {
			check_online_packages();
			
			
		});
		
		function check_online_packages() {
			$("#box_online .checking_package").show();
			
			var parameters = {};
			parameters['page'] = 'godmode/setup/update_manager';
			parameters['check_online_free_packages'] = 1;
			
			jQuery.post(
				"ajax.php",
				parameters,
				function (data) {
					$("#box_online .checking_package").hide();
					
					$("#box_online .loading").hide();
					$("#box_online .content").html(data);
				},
				"html"
			);
		}
		
		function update_last_package(package, version) {
			version_update = version;
			
			$("#box_online .content").html("");
			$("#box_online .loading").show();
			$("#box_online .download_package").show();
			
			
			var parameters = {};
			parameters['page'] = 'godmode/setup/update_manager';
			parameters['update_last_free_package'] = 1;
			parameters['package'] = package;
			parameters['version'] = version;
			
			jQuery.post(
				"ajax.php",
				parameters,
				function (data) {
					if (data['in_progress']) {
						$("#box_online .loading").hide();
						$("#box_online .download_package").hide();
						
						$("#box_online .content").html(data['message']);
						
						install_package(package,version);
						setTimeout(check_progress_update, 1000);
					}
					else {
						$("#box_online .content").html(data['message']);
					}
				},
				"json"
			);
		}
		
		function install_package(package, version) {
			var parameters = {};
//.........这里部分代码省略.........
开发者ID:articaST,项目名称:integriaims,代码行数:101,代码来源:functions_update_manager.php

示例3: print_image

<h1>Asignación de tareas globales</h1>
<p>
	La sección Asignación de tareas globales permite ver las tareas que tiene asignadas un usuario concreto, su rol en la tarea, las unidades de trabajo que ha imputado en ella y las unidades de trabajo totales de la tarea.
	</br>
	</br>
	Además, desde aquí podemos asignar de forma rápida (“en bloque”) tareas específicas a ese usuario.
	</br>
	</br>
	Esta sección es especialmente útil para administradores, en ella pueden ver si un usuario tiene asignadas tareas que no debería, bien de forma global o viendo que el usuario no ha imputado ninguna hora en la tarea. O bien confirmar si el rol del usuario en la tarea es el correcto. Aquí podemos “sacar” de una tarea a un usuario con pulsar un solo click.
</p>
<p>
<?php 
print_image("images/help/project26.png", false, false);
?>
</p>
开发者ID:articaST,项目名称:integriaims,代码行数:15,代码来源:help_role_user_global.php

示例4: print_image

<p>
	Los campos personalizados pueden ser de tipo numérico, texto, combo o bien externo.
</p>
<p>
	<?php 
print_image("images/help/inventory3.png", false, false);
?>
</p>
<p>
	Los campos de tipo externo hacen referencia a una tabla externa en la base de datos y pueden relacionarse con otras tablas. Cuando se crean, se debe detallar el nombre de la tabla y el campo identificador de la misma. En el caso de estar relacionada con otra tabla, también habrá que especificar el nombre de la tabla padre y el nombre del campo donde se va a almacenar el valor del identificador de dicho padre.
</p>
<p>
	<?php 
print_image("images/help/inventory4.png", false, false);
?>
</p>
<p>
	A la hora de seleccionar el valor de estos campos aparecerá una ventana modal mostrando toda la información de la tabla externa.
</p>
<p>
	<?php 
print_image("images/help/inventory5.png", false, false);
?>
</p>
<p><i>
	Para añadir una tabla externa y usarla posteriormente en los objetos de inventario 
	sólo tiene que añadir la tabla que desee con los datos correspondientes dentro 
	de la base de datos de Integria. El mantenimiento de esta tabla se realiza de 
	forma manual operando con ella por medio de sentencias SQL, o bien, utilizando 
	el editor de tablas externas que proporciona Integria IMS.
</i></p>
开发者ID:articaST,项目名称:integriaims,代码行数:31,代码来源:help_manage_objects.php

示例5: define

define('PATH_site', ereg_replace('[^/]*.[^/]*$', '', dirname(dirname(PATH_thisScript))));
define('PATH_typo3', PATH_site . 'typo3/');
define('PATH_typo3conf', PATH_site . 'typo3conf/');
define('PATH_t3lib', PATH_site . 't3lib/');
require_once PATH_t3lib . 'class.t3lib_div.php';
$image = $_GET['image'];
// remove domain if it is prepended
$image = str_replace(t3lib_div::getIndpEnv('TYPO3_SITE_URL'), '', $image);
$allowedExtensions = t3lib_div::trimExplode(',', strlen($TYPO3_CONF_VARS['GFX']['imagefile_ext']) > 0 ? $TYPO3_CONF_VARS['GFX']['imagefile_ext'] : 'gif,jpg,jpeg,tif,bmp,pcx,tga,png,pdf,ai', 1);
$imageInfo = pathinfo($image);
if (!is_file(t3lib_div::getFileAbsFileName($image)) || !in_array(strtolower($imageInfo['extension']), $allowedExtensions)) {
    die('You try to download a file, you are not allowed to download');
}
switch ($_GET['mode']) {
    case 'print':
        print_image($image);
        break;
    case 'save':
        force_download($image);
        break;
    default:
        break;
}
exit;
function print_image($filename)
{
    echo '<html>
	<head>
		<title>Print</title>
		<script type="text/javascript">
		function printit(){
开发者ID:neufeind,项目名称:rgsmoothgallery,代码行数:31,代码来源:savefile.php

示例6: print_image

<p>
	El siguiente campo que vamos a crear es MODELO. Se selecciona el padre MARCA y se ponen los valores.
</p>
<p>
	<?php 
print_image("images/help/ticket11.png", false, false);
?>
</p>
<p>
	Por último, creamos el campo MOTOR.
</p>
<p>
	<?php 
print_image("images/help/ticket12.png", false, false);
?>
</p>
<p>
	Los campos marcados con el check <b>“Mostrar en la vista general”</b> son campos que se pueden usar en búsquedas y que se muestran en la visualización de lista. En los campos de tipo textarea no se puede usar esta casilla.
	</br>
	</br>
	Los campos marcados como <b>“Campo Global”</b> aparecerán en todos los tipos de tickets. Serán campos comunes usados por todos los tipos de tickets existentes.
</p>
<h1>Vista general:</h1>
<p>
	Aquí se pueden ver todos los campos personalizados que tiene un tipo. Desde esta vista se pueden añadir campos, editar, borrar y ordenar su visualización en el ticket.
</p>
<p>
	<?php 
print_image("images/help/tipoticket5.png", false, false);
?>
</p>
开发者ID:articaST,项目名称:integriaims,代码行数:31,代码来源:help_type_detail.php

示例7: print_image

<p>
 The new group is important for a few reasons: Firstly, the old alt.* php
 groups suffered from poor propagation - i.e. not all servers carried them,
 and the community was split between multiple groups. This new group offers a
 chance to unite the PHP-Usenet community. Secondly, most servers have longer
 post-retention times for comp.* than alt.*. Finally, the creation of
 comp.lang.php represents PHP's coming to acceptance and maturity. Virtually
 all languages have a spot under the comp.lang.* hierarchy. Stop on by and
 become a part of the community - comp.lang.php is a great place to get help
 and to help others.
</p>

<hr />

<?php 
print_image("news/engine.gif", "Zend Engine 2", "right");
?>

<h1>Alpha 2 of PHP w/ the Zend Engine 2 Now Available</h1>
<p>
 <span class="newsdate">[30-Jun-2002]</span>
 The second alpha release of PHP w/ Zend Engine 2 is <a href="/downloads.php">now
 available</a>. It is based on the current PHP 4 CVS (4.3.0-dev) and includes the new 
 scripting engine which greatly improves the object model, adds exception
 handling and provides a much better infrastructure for the integration
 of external technologies like Java or .NET. For more details and
 examples you can check out the <a href="/zend-engine-2.php">file describing
 the changes</a>.
</p>

<p>
开发者ID:romainneutron,项目名称:web-php,代码行数:31,代码来源:2002.php

示例8: graphic_error

function graphic_error($flow = true)
{
    global $config;
    if ($flow) {
        Header('Content-type: image/png');
        $imgPng = imageCreateFromPng($config["homedir"] . '/images/error.png');
        imageAlphaBlending($imgPng, true);
        imageSaveAlpha($imgPng, true);
        imagePng($imgPng);
    } else {
        return print_image('images/error.png', true);
    }
}
开发者ID:dsyman2,项目名称:integriaims,代码行数:13,代码来源:functions_graph.php

示例9: print_image

new or recently created, if its assigned, if it's been reopened, if it's been verified or if it's been unconfirmed. 
This cycle is open to the user and can pass on from one user to another without default restrictions. 
</p>
<p>
In case we want to define the flow, we have an option to Map statuses, 
on which we'll be able to the define which status and solutions will be available to the user: 
</p>
<p>
<?php 
print_image("images/help/workflow_map_status.png", false);
?>
</p>

<p>
<strong >An example of different ticket statuses</strong>
</p>
<p>
<?php 
print_image("images/help/workflow_map_status_2.png", false);
?>
</p>

<p>
There are particular circumstances which act automatically when whe change status. 
When changing status to “closed”, automatically a text box will be activated, an which previously wasn't accessible, 
named “epilogue”. The epilogue carries the purpose of explaining the result of the intervention or change, or which was 
-in summary- the cause of the problem and its solution. As we'll see further along, a solved ticket is the basics to generating 
an article in the knowledge base that can be revisited on other occasions, in order to solve a problem in a quick and documented manner.
</p>

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

示例10: __

         $table_wu->head['content'] = __('Content');
     }
     $table_wu->style = array();
     $table_wu->style['content'] = 'text-align: center';
     $table_wu->data = array();
     foreach ($all_wu as $wu) {
         // Add the values to the row
         $row = array();
         $row['id_user'] = $wu['id_user'];
         $row['date'] = $wu['date'];
         $row['duration'] = (double) $wu['duration'];
         $row['ticket_id'] = $wu['ticket_id'] ? '#' . $wu['ticket_id'] : '';
         $row['ticket_title'] = $wu['ticket_title'];
         $row['ticket_status'] = $wu['ticket_status'];
         if (!$pdf_output) {
             $row['content'] = sprintf('<div class="tooltip_title" title="%s">%s</div>', $wu['content'], print_image("images/note.png", true));
         }
         $table_wu->data[] = $row;
     }
     $tasks_report .= '<div class="pie_frame">';
     $tasks_report .= print_table($table_task, true) . print_table($table_wu, true);
     $tasks_report .= '</div><br>';
     if ($pdf_output) {
         $tasks_report .= '<hr>';
     }
 } else {
     $tasks_report .= '<div class="pie_frame">';
     $tasks_report .= print_table($table_task, true);
     $tasks_report .= '</div><br>';
     if ($pdf_output) {
         $tasks_report .= '<hr>';
开发者ID:dsyman2,项目名称:integriaims,代码行数:31,代码来源:project_report.php

示例11: print_image

Necesita enviar un email de aviso a un coordinador, cuando una incidencia de prioridad muy alta y de un grupo determinado lleva más de 5 días sin actualizaciones. 
<br>
<br>
Simplemente tiene que rellenar en la condición “Match all fields”, el grupo específico y la prioriad muy alta, solo para incidencias asignadas. En “Time Update” escogeremos un mes.
</p>

<p>
<?php 
print_image("images/help/workflow_conditions.png", false);
?>
</p>

<p>
Al añadir la acción de enviar un mail, se creará automáticamente la accion de actualizar el ticket, que dejaremos tal cual, para actualizar el ticket y evitar que siga saltando la regla. 
</p>

<p>
<?php 
print_image("images/help/workflow_actions.png", false, false);
?>
</p>
<p>
<?php 
print_image("images/help/workflow_actions2.png", false, false);
?>
</p>
<p>
Al pasar una semana, si no se ha actualizado la incidencia, volverá a saltar la regla y asi de forma indefinida.
</p>

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

示例12: get_db_all_rows_sql

										tis.name AS estado
									FROM tworkunit_incident twi
									INNER JOIN tincidencia ti
										ON twi.id_incident = ti.id_incidencia
											AND ti.id_task = %d
									INNER JOIN tincident_status tis
										ON ti.estado = tis.id
								) twin
									ON tw2.id = twin.id_workunit
							) final
							ORDER BY final.id_user, final.timestamp',
							$task['id'], $task['id']);
			$all_wu = get_db_all_rows_sql($sql);
			
			if (!empty($all_wu)) {
				$img_link_tabla_wu = "<span class='img_h2_toggle'><a href='javascript: workunits_task(".$task['id'].")'>" . print_image('images/note.png', true, array('title' => __("Workunit of this task"), 'class' => "wu_image")) . "</a></span>";
				$tabla_taks = print_table($table_task, true);
				
				$tasks_report .= '<tr><td>' . print_container_div("taks_".$task['id'], __('Task').": ".$task['name']. $img_link_tabla_wu, $tabla_taks, 'closed', true, false, '', '', 1, '', 'margin-bottom:0px;') . '</td></tr>';
			}
			else {
				$tasks_report .= '<tr><td>' .print_container_div("task_".$task['id'], __('Task').": ".$task['name'], print_table($table_task, true), 'closed', true, false, '', '', 1, '', '') .'</td></tr>';
			}
		}
	}
	echo '<div class="divresult">';
	//Print containers
		echo "<div class='divhalf divhalf-left'>";
			echo print_container('project_labour_report', __('Labour'), $labour, 'no', true, true, "container_simple_title", "container_simple_div");
		echo "</div>";
		echo "<div class='divhalf divhalf-right'>";	
开发者ID:articaST,项目名称:integriaims,代码行数:31,代码来源:project_report.php

示例13: get_parameter

$search_role = (int) get_parameter("search_role");
$search_country = (string) get_parameter("search_country");
$search_manager = (string) get_parameter("search_manager");
$search_parent = get_parameter("search_parent");
$search_date_begin = get_parameter('search_date_begin');
$search_date_end = get_parameter('search_date_end');
$search_min_billing = (double) get_parameter("search_min_billing");
$order_by_activity = (string) get_parameter("order_by_activity");
$order_by_company = (string) get_parameter("order_by_company");
$order_by_billing = (string) get_parameter("order_by_billing");
echo "<div id='incident-search-content'>";
echo "<h1>" . __('Search statistics');
echo "<div id='button-bar-title'>";
echo "<ul>";
echo "<li>";
echo "<a id='search_form_submit' href='index.php?sec=customers&sec2=operation/companies/company_detail&search_text={$search_text}&search_role={$search_role}&search_country={$search_country}&search_manager={$search_manager}&search_parent={$search_parent}&search_date_begin={$search_date_begin}&search_date_end={$search_date_end}&search_min_billing={$search_min_billing}&order_by_activity={$order_by_activity}&order_by_company={$order_by_company}&order_by_billing={$order_by_billing}'>" . print_image("images/go-previous.png", true, array("title" => __("Back to search"))) . "</a>";
echo "</li>";
echo "</ul>";
echo "</div>";
echo "</h1>";
$where_clause = '';
if ($search_text != "") {
    $where_clause .= sprintf(' AND ( name LIKE "%%%s%%" OR country LIKE "%%%s%%")  ', $search_text, $search_text);
}
if ($search_role != 0) {
    $where_clause .= sprintf(' AND id_company_role = %d', $search_role);
}
if ($search_country != "") {
    $where_clause .= sprintf(' AND country LIKE "%%s%%" ', $search_country);
}
if ($search_manager != "") {
开发者ID:dsyman2,项目名称:integriaims,代码行数:31,代码来源:company_statistics.php

示例14: foreach

     $end = 1;
     foreach ($cont as $row) {
         if ($row != end($cont)) {
             $end = 0;
         }
         $aux_ref_tree = $ref_tree . "" . $count;
         $new = false;
         $count++;
         echo "<li style='margin: 0; padding: 0;'>";
         $less = $lessBranchs;
         if ($count != $countRows) {
             $img = print_image("images/tree/closed.png", true, array("style" => 'vertical-align: middle;', "id" => "tree_image" . $aux_ref_tree . "_object_types_" . $row["id"], "pos_tree" => "2"));
         } else {
             $less = $less + 2;
             // $less = $less or 0b10
             $img = print_image("images/tree/last_closed.png", true, array("style" => 'vertical-align: middle;', "id" => "tree_image" . $aux_ref_tree . "_object_types_" . $row["id"], "pos_tree" => "3"));
         }
         echo "<a onfocus='JavaScript: this.blur()'\n\t\t\t\t\t\thref='javascript: loadTable(\"object_types\",\"" . $row["id"] . "\", " . $less . ", \"" . $id_item . "\",  \"" . $sql_search . "\", \"" . $aux_ref_tree . "\", \"" . $end . "\")'>";
         echo $img;
         echo "<img src='images/objects/" . $row["icon"] . "' style='vertical-align: middle'>";
         echo '&nbsp;' . $row["name"];
         echo "</a>";
         if ($end) {
             echo "<div hiddenDiv='1' loadDiv='0' class='tree_view' id='tree_div" . $aux_ref_tree . "_object_types_" . $row["id"] . "'></div>";
         } else {
             echo "<div hiddenDiv='1' loadDiv='0' class='tree_view tree_view_branch' id='tree_div" . $aux_ref_tree . "_object_types_" . $row["id"] . "'></div>";
         }
         echo "</li>";
     }
     echo "</ul>\n";
 }
开发者ID:dsyman2,项目名称:integriaims,代码行数:31,代码来源:inventory_search.php

示例15: list_property

function list_property($list)
{
    global $es_settings;
    $es_dimension = get_dimension();
    ?>

    <li class="prop_id-<?php 
    echo $list->prop_id;
    ?>
">
        <div class="es_my_list_in clearfix">
            <div class="es_my_list_pic">
                <div class="prop_labels">
                    <?php 
    if ($list->prop_foreclosure == 1) {
        ?>

                        <label class="es_foreclosure">
                            <?php 
        _e("Foreclosure", 'es-plugin');
        ?>

                        </label><br/>
                    <?php 
    }
    ?>

                    <?php 
    if ($list->prop_open_house == 1) {
        ?>

                        <label class="es_openhouse">
                            <?php 
        _e("Openhouse", 'es-plugin');
        ?>

                        </label><br/>
                    <?php 
    }
    ?>

                    <?php 
    if ($list->prop_featured == 1) {
        ?>

                        <label class="es_featured">
                            <?php 
        _e("Featured", 'es-plugin');
        ?>

                        </label><br/>
                    <?php 
    }
    ?>

                    <?php 
    if ($list->prop_hot == 1) {
        ?>

                        <label class="es_hot">
                            <?php 
        _e("Hot", 'es-plugin');
        ?>

                        </label>
                    <?php 
    }
    ?>

                </div>

                <a href="<?php 
    echo get_permalink($list->prop_id);
    ?>
">
                    <?php 
    print_image($list->prop_id);
    ?>

                </a>

            </div>
            <div class="es_my_list_title">
                <?php 
    $title = $es_settings->title == 1 ? $list->prop_title : $list->prop_address;
    ?>

                <h3>
                    <a href="<?php 
    echo get_permalink($list->prop_id);
    ?>
">
                        <?php 
    echo es_excerpt($title, 30);
    ?>

                    </a>
                </h3>

                <?php 
//.........这里部分代码省略.........
开发者ID:ksan5835,项目名称:rankproperties,代码行数:101,代码来源:es_listing_functions.php


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