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

PHP html_icon函数代码示例

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

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



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

示例1: Output

 function Output($params)
 {
     global $db;
     $contents = '';
     $control = '';
     // Build control box form data
     $control = '<div class="row">';
     $control .= '<div style="white-space:nowrap">';
     $control .= TEXT_TITLE . '&nbsp;' . html_input_field('personal_links_field_0', '', 'size="40"') . '<br />';
     $control .= TEXT_URL . '&nbsp;' . html_input_field('personal_links_field_1', '', 'size="64"');
     $control .= '&nbsp;&nbsp;&nbsp;&nbsp;';
     $control .= html_submit_field('sub_personal_links', TEXT_ADD);
     $control .= html_hidden_field('personal_links_rId', '');
     $control .= '</div></div>';
     // Build content box
     $contents = '';
     if (is_array($params)) {
         $index = 1;
         foreach ($params as $title => $hyperlink) {
             $contents .= '<div style="float:right; height:16px;">';
             $contents .= html_icon('phreebooks/dashboard-remove.png', TEXT_REMOVE, 'small', 'onclick="return del_index(\'' . $this->dashboard_id . '\', ' . $index . ')"');
             $contents .= '</div>';
             $contents .= '<div style="min-height:16px;">';
             $contents .= '<a href="' . $hyperlink . '" target="_blank">' . $title . '</a>' . chr(10);
             $contents .= '</div>';
             $index++;
         }
     } else {
         $contents = ACT_NO_RESULTS;
     }
     return $this->build_div('', $contents, $control);
 }
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:32,代码来源:personal_links.php


示例2: Output

 function Output($params)
 {
     global $db;
     $contents = '';
     $control = '';
     // Build control box form data
     $control = '  <div class="row">' . chr(10);
     $control .= '    <div style="white-space:nowrap">';
     $control .= TEXT_NOTE . '&nbsp;' . html_input_field('my_notes_field_0', '', 'size="64"') . '<br />';
     $control .= '&nbsp;&nbsp;&nbsp;&nbsp;';
     $control .= html_submit_field('sub_my_notes', TEXT_ADD);
     $control .= html_hidden_field('my_notes_rId', '');
     $control .= '    </div>' . chr(10);
     $control .= '  </div>' . chr(10);
     // Build content box
     $contents = '';
     if (is_array($params)) {
         $index = 1;
         foreach ($params as $my_note) {
             $contents .= '  <div>';
             $contents .= '    <div style="float:right; height:16px;">';
             $contents .= html_icon('phreebooks/dashboard-remove.png', TEXT_REMOVE, 'small', 'onclick="return del_index(\'' . $this->dashboard_id . '\', ' . $index . ')"');
             $contents .= '    </div>' . chr(10);
             $contents .= '    <div style="min-height:16px;">&#9679; ' . $my_note . '</div>' . chr(10);
             $contents .= '  </div>' . chr(10);
             $index++;
         }
     } else {
         $contents = ACT_NO_RESULTS;
     }
     return $this->build_div('', $contents, $control);
 }
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:32,代码来源:my_notes.php


示例3: create_menu

function create_menu(array $array)
{
    if ($array['security_id'] != 1 && $_SESSION['admin_id'] != 1) {
        if (isset($array['security_id']) && $array['security_id'] != '') {
            if (array_key_exists($array['security_id'], $_SESSION['admin_security']) == false || $_SESSION['admin_security'][$array['security_id']] < 1) {
                return '';
            }
        }
    }
    if (isset($array['submenu'])) {
        usort($array['submenu'], 'sortByOrder');
        if (check_permission($array['submenu'])) {
            echo '  <li><a href="' . $array['link'] . '" ' . $array['params'] . '>' . (isset($array['icon']) ? $array['icon'] . ' ' . $array['text'] : $array['text']) . '</a>' . chr(10);
            echo '    <ul>' . chr(10);
            foreach ($array['submenu'] as $menu_item) {
                create_menu($menu_item);
            }
            echo '    </ul>' . chr(10);
            echo '  </li>' . chr(10);
        }
    } else {
        echo '  <li><a href="' . $array['link'] . '" ' . $array['params'] . '>' . chr(10);
        if ($array['text'] == TEXT_HOME && ENABLE_ENCRYPTION && strlen($_SESSION['admin_encrypt']) > 0) {
            echo html_icon('emblems/emblem-readonly.png', TEXT_ENCRYPTION_ENABLED, 'small');
        }
        echo (isset($array['icon']) ? $array['icon'] . ' ' . $array['text'] : $array['text']) . '</a>  </li>' . chr(10);
    }
    return true;
}
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:29,代码来源:menu.php


示例4: Output

 function Output($params)
 {
     global $db;
     // Build control box form data
     $control = '<div class="row">';
     $control .= '<div style="white-space:nowrap">';
     $control .= TEXT_NOTE . '&nbsp;' . html_input_field('my_note', '', 'size="50"') . '<br />';
     $control .= '&nbsp;&nbsp;&nbsp;&nbsp;';
     $control .= html_submit_field('my_note_submit', TEXT_ADD);
     $control .= html_hidden_field($this->module_id . '_rId', '');
     $control .= '</div></div>';
     // Build content box
     $contents = '';
     if (is_array($params)) {
         $index = 1;
         foreach ($params as $my_note) {
             if ($_SESSION['admin_security'][SECURITY_ID_USERS] > 3) {
                 // only let delete if user permission is full
                 $contents .= '<div style="float:right; height:16px;">';
                 $contents .= html_icon('phreebooks/dashboard-remove.png', TEXT_REMOVE, 'small', 'onclick="return del_index(\'' . $this->module_id . '\', ' . $index . ')"');
                 $contents .= '</div>';
             }
             $contents .= '<div style="height:16px;">- ' . $my_note . '</div>' . chr(10);
             $index++;
         }
     } else {
         $contents = CP_MY_NOTES_NO_RESULTS;
     }
     return $this->build_div($this->title, $contents, $control);
 }
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:30,代码来源:my_notes.php


示例5: add_extra_action_bar_buttons

function add_extra_action_bar_buttons($query_fields)
{
    $output = '';
    if (defined('ZENCART_URL') && $_SESSION['admin_security'][SECURITY_ID_MAINTAIN_INVENTORY] > 1 && $query_fields['catalog'] == '1') {
        $output .= html_icon('../../../../my_files/custom/zencart/images/zencart.gif', ZENCART_IVENTORY_UPLOAD, 'small', 'onclick="submitSeq(' . $query_fields['id'] . ', \'upload\')"', '16', '16') . chr(10);
    }
    return $output;
}
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:8,代码来源:zencart_extra_defines.php


示例6: add

 function add($message, $type = 'error')
 {
     if ($type == 'error') {
         $this->errors[] = array('params' => 'class="messageStackError"', 'text' => html_icon('emblems/emblem-unreadable.png', TEXT_ERROR) . '&nbsp;' . $message);
     } elseif ($type == 'warning') {
         $this->errors[] = array('params' => 'class="messageStackWarning"', 'text' => html_icon('emblems/emblem-important.png', TEXT_CAUTION) . '&nbsp;' . $message);
     } elseif ($type == 'success') {
         if (!HIDE_SUCCESS_MESSAGES) {
             $this->errors[] = array('params' => 'class="messageStackSuccess"', 'text' => html_icon('emotes/face-smile.png', TEXT_SUCCESS) . '&nbsp;' . $message);
         }
     } elseif ($type == 'caution') {
         $this->errors[] = array('params' => 'class="messageStackCaution"', 'text' => html_icon('emblems/emblem-important.png', TEXT_CAUTION) . '&nbsp;' . $message);
     } else {
         $this->errors[] = array('params' => 'class="messageStackError"', 'text' => $message);
     }
     $this->size++;
     return true;
 }
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:18,代码来源:message_stack.php


示例7: Output

 function Output($params)
 {
     global $db;
     $contents = '';
     $control = '';
     // load the report list
     $result = $db->Execute("select id, security, doc_title from " . TABLE_PHREEFORM . " \n\t\t  where doc_ext in ('rpt','frm') order by doc_title");
     $data_array = array(array('id' => '', 'text' => GEN_HEADING_PLEASE_SELECT));
     $type_array = array();
     while (!$result->EOF) {
         if (security_check($result->fields['security'])) {
             $data_array[] = array('id' => $result->fields['id'], 'text' => $result->fields['doc_title']);
         }
         $result->MoveNext();
     }
     // Build control box form data
     $control = '<div class="row">';
     $control .= '<div style="white-space:nowrap">';
     $control .= TEXT_REPORT . '&nbsp;' . html_pull_down_menu('report_id', $data_array);
     $control .= '&nbsp;&nbsp;&nbsp;&nbsp;';
     $control .= html_submit_field('sub_favorite_reports', TEXT_ADD);
     $control .= html_hidden_field('favorite_reports_rId', '');
     $control .= '</div></div>';
     // Build content box
     $contents = '';
     if (is_array($params)) {
         $index = 1;
         foreach ($params as $id => $description) {
             $contents .= '<div style="float:right; height:16px;">';
             $contents .= html_icon('phreebooks/dashboard-remove.png', TEXT_REMOVE, 'small', 'onclick="return del_index(\'' . $this->dashboard_id . '\', ' . $index . ')"');
             $contents .= '</div>';
             $contents .= '<div style="height:16px;">';
             $contents .= '  <a href="index.php?module=phreeform&amp;page=popup_gen&amp;rID=' . $id . '" target="_blank">' . $description . '</a>' . chr(10);
             $contents .= '</div>';
             $index++;
         }
     } else {
         $contents = ACT_NO_RESULTS;
     }
     return $this->build_div('', $contents, $control);
 }
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:41,代码来源:favorite_reports.php


示例8: build_main_html

 function build_main_html()
 {
     global $db, $messageStack;
     $content = array();
     $content['thead'] = array('value' => array(TEXT_TITLE, TEXT_DESCRIPTION, TEXT_SORT_ORDER, TEXT_ACTION), 'params' => 'width="100%" cellspacing="0" cellpadding="1"');
     $result = $db->Execute("select id, tab_name, description, sort_order from " . TABLE_EXTRA_TABS . " where module_id='assets'");
     $rowCnt = 0;
     while (!$result->EOF) {
         $actions = '';
         if ($_SESSION['admin_security'][SECURITY_ID_CONFIGURATION] > 1) {
             $actions .= html_icon('actions/edit-find-replace.png', TEXT_EDIT, 'small', 'onclick="loadPopUp(\'tabs_edit\', \'' . $result->fields['id'] . '\')"') . chr(10);
         }
         if ($_SESSION['admin_security'][SECURITY_ID_CONFIGURATION] > 3) {
             $actions .= html_icon('emblems/emblem-unreadable.png', TEXT_DELETE, 'small', 'onclick="if (confirm(\'' . EXTRA_TABS_DELETE_INTRO . '\')) subjectDelete(\'tabs\', ' . $result->fields['id'] . ')"') . chr(10);
         }
         $content['tbody'][$rowCnt] = array(array('value' => htmlspecialchars($result->fields['tab_name']), 'params' => 'style="cursor:pointer" onclick="loadPopUp(\'tabs_edit\',\'' . $result->fields['id'] . '\')"'), array('value' => htmlspecialchars($result->fields['description']), 'params' => 'style="cursor:pointer" onclick="loadPopUp(\'tabs_edit\',\'' . $result->fields['id'] . '\')"'), array('value' => $result->fields['sort_order'], 'params' => 'style="cursor:pointer" onclick="loadPopUp(\'tabs_edit\',\'' . $result->fields['id'] . '\')"'), array('value' => $actions, 'params' => 'align="right"'));
         $result->MoveNext();
         $rowCnt++;
     }
     return html_datatable('tab_table', $content);
 }
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:21,代码来源:tabs.php


示例9: build_main_html

 function build_main_html()
 {
     global $db, $messageStack, $currencies;
     $content = array();
     $content['thead'] = array('value' => array(TEXT_DESCRIPTION, TEXT_GL_ACCOUNT, TEXT_BANK_ACCOUNT, TEXT_ACTION), 'params' => 'width="100%" cellspacing="0" cellpadding="1"');
     $result = $db->Execute("select * from " . $this->db_table);
     $rowCnt = 0;
     while (!$result->EOF) {
         $actions = '';
         if ($this->security_id > 1) {
             $actions .= html_icon('actions/edit-find-replace.png', TEXT_EDIT, 'small', 'onclick="loadPopUp(\'' . $this->code . '_edit\', ' . $result->fields['kt_id'] . ')"') . chr(10);
         }
         if ($this->security_id > 3) {
             $actions .= html_icon('emblems/emblem-unreadable.png', TEXT_DELETE, 'small', 'onclick="if (confirm(\'' . SETUP_TILL_DELETE_INTRO . '\')) subjectDelete(\'' . $this->code . '\', ' . $result->fields['kt_id'] . ')"') . chr(10);
         }
         $content['tbody'][$rowCnt] = array(array('value' => htmlspecialchars($result->fields['description']), 'params' => 'style="cursor:pointer" onclick="loadPopUp(\'' . $this->code . '_edit\',\'' . $result->fields['kt_id'] . '\')"'), array('value' => gen_get_type_description(TABLE_CHART_OF_ACCOUNTS, $result->fields['gl_acct_id']), 'params' => 'style="cursor:pointer" onclick="loadPopUp(\'' . $this->code . '_edit\',\'' . $result->fields['kt_id'] . '\')"'), array('value' => $result->fields['bank_account'], 'params' => 'style="cursor:pointer" onclick="loadPopUp(\'' . $this->code . '_edit\',\'' . $result->fields['kt_id'] . '\')"'), array('value' => $actions, 'params' => 'align="right"'));
         $result->MoveNext();
         $rowCnt++;
     }
     return html_datatable('' . $this->code . '_table', $content);
 }
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:21,代码来源:known_transactions.php


示例10: build_main_html

 function build_main_html()
 {
     global $db, $messageStack;
     $tax_authorities_array = gen_build_tax_auth_array();
     $content = array();
     $content['thead'] = array('value' => array(SETUP_TAX_DESC_SHORT, TEXT_DESCRIPTION, SETUP_HEADING_TOTAL_TAX, SETUP_HEADING_TAX_FREIGHT, TEXT_ACTION), 'params' => 'width="100%" cellspacing="0" cellpadding="1"');
     $result = $db->Execute("select tax_rate_id, description_short, description_long, rate_accounts, freight_taxable \n\t\tfrom " . $this->db_table . " where type = '" . $this->type . "'");
     $rowCnt = 0;
     while (!$result->EOF) {
         $actions = '';
         if ($this->security_id > 1) {
             $actions .= html_icon('actions/edit-find-replace.png', TEXT_EDIT, 'small', 'onclick="loadPopUp(\'' . $this->code . '_edit\', ' . $result->fields['tax_rate_id'] . ')"') . chr(10);
         }
         if ($this->security_id > 3) {
             $actions .= html_icon('emblems/emblem-unreadable.png', TEXT_DELETE, 'small', 'onclick="if (confirm(\'' . SETUP_TAX_DELETE_INTRO . '\')) subjectDelete(\'' . $this->code . '\', ' . $result->fields['tax_rate_id'] . ')"') . chr(10);
         }
         $content['tbody'][$rowCnt] = array(array('value' => htmlspecialchars($result->fields['description_short']), 'params' => 'style="cursor:pointer" onclick="loadPopUp(\'' . $this->code . '_edit\',\'' . $result->fields['tax_rate_id'] . '\')"'), array('value' => htmlspecialchars($result->fields['description_long']), 'params' => 'style="cursor:pointer" onclick="loadPopUp(\'' . $this->code . '_edit\',\'' . $result->fields['tax_rate_id'] . '\')"'), array('value' => gen_calculate_tax_rate($result->fields['rate_accounts'], $tax_authorities_array), 'params' => 'style="cursor:pointer" onclick="loadPopUp(\'' . $this->code . '_edit\',\'' . $result->fields['tax_rate_id'] . '\')"'), array('value' => $result->fields['freight_taxable'] ? TEXT_YES : TEXT_NO, 'params' => 'style="cursor:pointer" onclick="loadPopUp(\'' . $this->code . '_edit\',\'' . $result->fields['tax_rate_id'] . '\')"'), array('value' => $actions, 'params' => 'style="cursor:pointer" align="right"'));
         $result->MoveNext();
         $rowCnt++;
     }
     return html_datatable('' . $this->code . '_' . $this->type . '_table', $content);
 }
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:22,代码来源:tax_rates.php


示例11: Output

 function Output($params)
 {
     global $db;
     $contents = '';
     $control = '';
     // Build control box form data
     $control = '<div class="row">';
     $control .= '<div style="white-space:nowrap">';
     if ($_SESSION['admin_security'][SECURITY_ID_USERS] > 1) {
         // only show add new if user permission is set to add
         $control .= TEXT_TITLE . '&nbsp;' . html_input_field('company_links_field_0', '', 'size="40"') . '<br />';
         $control .= TEXT_URL . '&nbsp;' . html_input_field('company_links_field_1', '', 'size="64"');
         $control .= '&nbsp;&nbsp;&nbsp;&nbsp;';
         $control .= html_submit_field('sub_company_links', TEXT_ADD);
     }
     $control .= html_hidden_field('company_links_rId', '');
     $control .= '</div></div>';
     // Build content box
     $contents = '';
     if (is_array($params)) {
         $index = 1;
         foreach ($params as $title => $hyperlink) {
             if ($_SESSION['admin_security'][SECURITY_ID_USERS] > 3) {
                 // only let delete if user permission is full
                 $contents .= '<div style="float:right; height:16px;">';
                 $contents .= html_icon('phreebooks/dashboard-remove.png', TEXT_REMOVE, 'small', 'onclick="return del_index(\'' . $this->dashboard_id . '\', ' . $index . ')"');
                 $contents .= '</div>';
             }
             $contents .= '<div style="height:16px;">';
             $contents .= '  <a href="' . $hyperlink . '" target="_blank">' . $title . '</a>' . chr(10);
             $contents .= '</div>';
             $index++;
         }
     } else {
         $contents = ACT_NO_RESULTS;
     }
     return $this->build_div('', $contents, $control);
 }
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:38,代码来源:company_links.php


示例12: build_form_href

function build_form_href($array_tree, $ref = '')
{
    $entry_string = '';
    if (is_array($array_tree)) {
        foreach ($array_tree as $key => $entry) {
            $new_ref = $ref . $key;
            $entry_string .= '<table border="0" cellpadding="1" cellspacing="1"><tr>' . chr(10);
            if (isset($entry['children'])) {
                $entry_string .= '<td><a id="rpt_' . $new_ref . '" href="javascript:Toggle(\'' . $new_ref . '\');">';
                $entry_string .= html_icon('status/folder-open.png', TEXT_EXPAND, 'small', $params = 'hspace="0" vspace="0"') . '</a>';
            } else {
                $entry_string .= '<td>' . html_radio_field('id', 'f' . $key, false);
            }
            $entry_string .= '&nbsp;' . $entry['desc'] . '</td>' . chr(10);
            $entry_string .= '</tr></table>' . chr(10);
            if (isset($entry['children'])) {
                $entry_string .= '<div id="' . $new_ref . '" style="display:none; margin-left:1em;">' . chr(10) . chr(10);
                $entry_string .= build_form_href($entry['children'], $new_ref) . chr(10);
                $entry_string .= '</div>' . chr(10);
            }
        }
    }
    return $entry_string;
}
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:24,代码来源:builder_functions.php


示例13: html_input_field

?>
</td></tr>
      <tr><th colspan="2"><?php 
echo ACT_PAYMENT_MESSAGE;
?>
</th></tr>
	  <tr>
	    <td><?php 
echo ACT_CARDHOLDER_NAME;
?>
</td>
		<td><?php 
echo html_input_field('payment_cc_name', $cInfo->payment_cc_name, 'size="50" maxlength="48"');
?>
		  <?php 
echo html_icon('actions/view-refresh.png', TEXT_RESET, 'small', 'onclick="clearPmtForm()"');
?>
</td>
	  </tr>
	  <tr>
	    <td><?php 
echo ACT_PAYMENT_CREDIT_CARD_NUMBER;
?>
</td>
		<td><?php 
echo html_input_field('payment_cc_number', $cInfo->payment_cc_number, 'size="20" maxlength="19"');
?>
</td>
	  </tr>
	  <tr>
	    <td><?php 
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_c_payment.php


示例14: html_input_field

?>
';
var item_col_1_enable    = '<?php 
echo $item_col_1_enable ? '1' : '0';
?>
';
var item_col_2_enable    = '<?php 
echo $item_col_2_enable ? '1' : '0';
?>
';
var ship_search_HTML     = '<?php 
echo GEN_CUSTOMER_ID . " " . html_input_field("ship_search", $order->ship_short_name) . "&nbsp;" . html_icon("status/folder-open.png", TEXT_SEARCH, "small", 'align="top" style="cursor:pointer" title="' . TEXT_SEARCH . '" onclick="DropShipList(this)"');
?>
';
var delete_icon_HTML     = '<?php 
echo substr(html_icon("emblems/emblem-unreadable.png", TEXT_DELETE, "small", "onclick=\"if (confirm(\\'" . ORD_ROW_DELETE_ALERT . "\\')) removeInvRow("), 0, -2);
?>
';
var payments_installed   = <?php 
echo count($payment_choices) ? 'true' : 'false';
?>
;
var serial_num_prompt    = '<?php 
echo ORD_JS_SERIAL_NUM_PROMPT;
?>
';
var no_stock_a           = '<?php 
echo ORD_JS_NO_STOCK_A;
?>
';
var no_stock_b           = '<?php 
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:js_include.php


示例15: add_search

 function add_search()
 {
     $output = '<div id="tb_search_' . $this->id . '" class="toolbar_right">' . "\n";
     $output .= HEADING_TITLE_SEARCH_DETAIL . '<br />';
     $output .= html_input_field('search_text', $this->search_text, $params = '');
     if ($this->search_text) {
         $output .= '&nbsp;' . html_icon('actions/view-refresh.png', TEXT_RESET, 'small', 'onclick="location.href = \'index.php?' . gen_get_all_get_params(array('search_text', 'search_period', 'search_date', 'page', 'action')) . '\';" style="cursor:pointer;"');
     }
     $output .= '&nbsp;' . html_icon('actions/system-search.png', TEXT_SEARCH, 'small', 'onclick="searchPage(\'' . gen_get_all_get_params(array('search_text', 'page', 'action')) . '\')" style="cursor:pointer;" id="search_mini_icon" ');
     $output .= '</div>' . "\n";
     return $output;
 }
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:12,代码来源:toolbar.php


示例16: html_calendar_field

	</tr>
	<tr>
	  <td colspan="3"><hr /></td>
	</tr>
	<tr>
	  <td align="right" valign="top">
	    <?php 
echo BNK_INVOICES_DUE_BY . '&nbsp;' . html_calendar_field($cal_bills1);
?>
	    <?php 
echo '<br />' . BNK_DISCOUNT_LOST_BY . '&nbsp;' . html_calendar_field($cal_bills2);
?>
	  </td>
	  <td align="center">
		<?php 
echo '&nbsp;' . html_icon('actions/system-search.png', TEXT_SEARCH, 'large', 'style="cursor:pointer;" onclick="submitToDo(\'search\')"');
?>
	  </td>
	  <td align="right" valign="top">
		<table class="ui-widget" style="border-collapse:collapse">
		  <tr>
			<td align="right"><?php 
echo BNK_ACCOUNT_BALANCE . '&nbsp;';
?>
</td>
			<td align="right">
			  <?php 
echo html_input_field('acct_balance', $currencies->format($acct_balance), 'readonly="readonly" size="15" maxlength="20" style="text-align:right"');
?>
			  <?php 
echo ENABLE_MULTI_CURRENCY ? ' (' . DEFAULT_CURRENCY . ')' : '';
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_main.php


示例17: html_hidden_field

        echo html_hidden_field('id_' . $i, $cInfo->item_rows[$j]['id']);
        ?>
		  </td>
		  <td class="main"><?php 
        echo html_input_field('desc_' . $i, $cInfo->item_rows[$j]['desc'], 'size="64" maxlength="64"');
        ?>
</td>
		  <td class="main"><?php 
        echo html_pull_down_menu('actn_' . $i, gen_build_pull_down($action_codes), $cInfo->item_rows[$j]['actn']);
        ?>
</td>
		</tr>
<?php 
    }
} else {
    echo '  <script language="javascript">addItemRow();</script>' . chr(10);
}
?>
      </table>
	</td>
  </tr>
  <tr>
    <td align="left"><?php 
echo html_icon('actions/list-add.png', TEXT_ADD, 'medium', 'onclick="addItemRow()"');
?>
</td>
  </tr></table>
</fieldset>

</form>
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:30,代码来源:template_detail.php


示例18: while

</th>
	<th><?php 
echo TEXT_ACTION;
?>
</th>
  </tr>
	<?php 
$result = $db->Execute("select id, shipment_id, ref_id, method, deliver_date, tracking_id, cost \r\n\t\tfrom " . TABLE_SHIPPING_LOG . " \r\n\t\twhere carrier = 'freeshipper' and ship_date = '" . $date . "'");
if ($result->RecordCount() > 0) {
    while (!$result->EOF) {
        echo '  <tr>' . chr(10);
        echo '    <td class="dataTableContent" align="right">' . $result->fields['shipment_id'] . '</td>' . chr(10);
        echo '    <td class="dataTableContent" align="right">' . $result->fields['ref_id'] . '</td>' . chr(10);
        echo '    <td class="dataTableContent" align="center">' . constant('freeshipper_' . $result->fields['method']) . '</td>' . chr(10);
        echo '    <td class="dataTableContent" align="right">' . ($result->fields['deliver_date'] ? gen_spiffycal_db_date_short($result->fields['deliver_date']) : '&nbsp;') . '</td>' . chr(10);
        echo '    <td class="dataTableContent" align="right">' . ($result->fields['actual_date'] ? gen_spiffycal_db_date_short($result->fields['actual_date']) : '&nbsp;') . '</td>' . chr(10);
        echo '    <td class="dataTableContent" align="right">' . $result->fields['tracking_id'] . '</td>' . chr(10);
        echo '    <td class="dataTableContent" align="right">' . $currencies->format_full($result->fields['cost']) . '</td>' . chr(10);
        echo '    <td class="dataTableContent" align="right">';
        echo html_icon('phreebooks/stock_id.png', TEXT_VIEW_SHIP_LOG, 'small', 'onclick="loadPopUp(\'freeshipper\', \'edit\', ' . $result->fields['id'] . ')"') . chr(10);
        //	  		echo html_icon('actions/document-print.png', TEXT_PRINT, 'small', 'onclick="window.open(\'' . html_href_link(FILENAME_DEFAULT, gen_get_all_get_params(array('carrier', 'labels', 'date')) . 'carrier=freeshipper&date=' . $date . '&labels=' . $result->fields['tracking_id'], 'SSL') . '\',\'label_mgr\',\'width=800,height=700,resizable=1,scrollbars=1,top=50,left=50\')"') . chr(10);
        echo html_icon('emblems/emblem-unreadable.png', TEXT_DELETE, 'small', 'onclick="if (confirm(\'' . SHIPPING_DELETE_CONFIRM . '\')) window.open(\'index.php?cat=services&module=popup_label_mgr&subject=freeshipper&sID=' . $result->fields['shipment_id'] . '&action=delete\',\'ship_mgr\',\'width=800,height=700,resizable=1,scrollbars=1,top=50,left=50\')"') . chr(10);
        echo '    </td>';
        echo '  </tr>' . chr(10);
        $result->MoveNext();
    }
} else {
    echo '  <tr><td align="center" colspan="8">' . SHIPPING_NO_SHIPMENTS . '</td></tr>';
}
?>
</table>
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:freeshipper.php


示例19: html_file_field

</legend>
   <table class="ui-widget" style="border-collapse:collapse;margin-left:auto;margin-right:auto;">
    <thead class="ui-widget-header">
     <tr><th colspan="3"><?php 
echo TEXT_ATTACHMENTS;
?>
</th></tr>
    </thead>
    <tbody class="ui-widget-content">
     <tr><td colspan="3"><?php 
echo TEXT_SELECT_FILE_TO_ATTACH . ' ' . html_file_field('file_name');
?>
</td></tr>
     <tr  class="ui-widget-header">
      <th><?php 
echo html_icon('emblems/emblem-unreadable.png', TEXT_DELETE, 'small');
?>
</th>
      <th><?php 
echo TEXT_FILENAME;
?>
</th>
      <th><?php 
echo TEXT_ACTION;
?>
</th>
     </tr>
<?php 
if (sizeof($cInfo->attachments) > 0) {
    foreach ($cInfo->attachments as $key => $value) {
        echo '<tr>';
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_general.php


示例20: add_extra_action_bar_buttons

        echo add_extra_action_bar_buttons($query_result->fields);
    }
    if ($security_level > 1) {
        echo html_icon('actions/edit-find-replace.png', TEXT_EDIT, 'small', 'onclick="submitSeq(' . $query_result->fields['id'] . ', \'edit\')"') . chr(10);
    }
    if ($security_level > 3) {
        echo html_icon('apps/accessories-text-editor.png', TEXT_RENAME, 'small', 'onclick="renameItem(' . $query_result->fields['id'] . ')"') . chr(10);
    }
    if ($security_level > 1) {
        echo html_icon('actions/edit-copy.png', TEXT_COPY_TO, 'small', 'onclick="copyItem(' . $query_result->fields['id'] . ')"') . chr(10);
    }
    if ($attach_exists) {
        echo html_icon('status/mail-attachment.png', TEXT_DOWNLOAD_ATTACHMENT, 'small', 'onclick="submitSeq(' . $query_result->fields['id'] . ', \'dn_attach\', true)"') . chr(10);
    }
    if ($security_level > 3) {
        echo html_icon('emblems/emblem-unreadable.png', TEXT_DELETE, 'small', 'onclick="if (confirm(\'' . ASSETS_MSG_DELETE_ASSET . '\')) deleteItem(' . $query_result->fields['id'] . ')"') . chr(10);
    }
    ?>
	</td>
  </tr> 
<?php 
    $query_result->MoveNext();
    $odd = !$odd;
}
?>
 </tbody>
</table>
<div style="float:right"><?php 
echo $query_split->display_links();
?>
</div>
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_main.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP html_image函数代码示例发布时间:2022-05-15
下一篇:
PHP html_href_link函数代码示例发布时间: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