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


PHP JB_escape_html函数代码示例

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


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

示例1: payment_button

    function payment_button($order_id, $product_type)
    {
        if (func_num_args() > 1) {
            $product_type = func_get_arg(1);
        }
        if ($product_type == '') {
            $product_type = 'P';
            // posting package
        }
        global $label;
        if ($product_type == 'P') {
            $order_row = JB_get_product_invoice_row($order_id);
        } elseif ($product_type == 'S') {
            $order_row = JB_get_subscription_invoice_row($order_id);
        } elseif ($product_type == 'M') {
            $order_row = JB_get_membership_invoice_row($order_id);
        }
        ?>

<form id="payment_button" action="https://www.e-gold.com/sci_asp/payments.asp" method="post" >
<input type="hidden" name="PAYEE_ACCOUNT" value="<?php 
        echo EGOLD_PAYEE_ACCOUNT;
        ?>
">
<input type="hidden" name="PAYEE_NAME" value="<?php 
        echo JB_escape_html(JB_SITE_NAME);
        ?>
">
<input type="hidden" name="PAYMENT_AMOUNT"  value="<?php 
        echo JB_convert_to_currency($order_row['amount'], $order_row['currency_code'], $this->get_currency());
        ?>
">
<input type="hidden" name="PAYMENT_UNITS" value="<?php 
        echo EGOLD_PAYMENT_UNITS;
        ?>
">
<input type="hidden" name="PAYMENT_METAL_ID" value="<?php 
        echo EGOLD_PAYMENT_METAL_ID;
        ?>
">
<input type="hidden" name="PAYMENT_ID" value="<?php 
        echo jb_prefix_order_id($product_type . $order_row['invoice_id']);
        ?>
">
<input type="hidden" name="STATUS_URL" value="<?php 
        echo EGOLD_STATUS_URL;
        ?>
">
<?php 
        if ($order_row['user_type'] == 'C') {
            ?>
	<input type="hidden" name="PAYMENT_URL" value="<?php 
            echo EGOLD_CANDIDATE_PAYMENT_URL;
            ?>
">
<?php 
        } else {
            ?>
	<input type="hidden" name="PAYMENT_URL" value="<?php 
            echo EGOLD_PAYMENT_URL;
            ?>
">
<?php 
        }
        ?>
<input type="hidden" name="PAYMENT_URL_METHOD" value="POST">
<?php 
        if ($order_row['user_type'] == 'C') {
            ?>
	<input type="hidden" name="NOPAYMENT_URL" value="<?php 
            echo EGOLD_CANDIDATE_NOPAYMENT_URL;
            ?>
">
<?php 
        } else {
            ?>
	<input type="hidden" name="NOPAYMENT_URL" value="<?php 
            echo EGOLD_NOPAYMENT_URL;
            ?>
">
<?php 
        }
        ?>
<input type="hidden" name="NOPAYMENT_URL_METHOD" value="POST">
<input type="hidden" name="BAGGAGE_FIELDS" value="ORDER_NUM CUST_NUM">

<input type="hidden" name="ORDER_NUM" value="<?php 
        echo $order_row['invoice_id'];
        ?>
">
<input type="hidden" name="CUST_NUM" value="<?php 
        if ($product_type == 'M') {
            echo $order_row['user_id'];
        } else {
            echo $order_row['employer_id'];
        }
        ?>
">
<center>
<input type="submit" value="<?php 
//.........这里部分代码省略.........
开发者ID:vinothtimes,项目名称:dchqtest,代码行数:101,代码来源:egold.php

示例2: email_config_form

function email_config_form($email_id)
{
    $result = JB_get_email_template($email_id, $_SESSION['LANG']);
    $row = mysql_fetch_array($result, MYSQL_ASSOC);
    if ($row['EmailFromAddress'] == '') {
        $row['EmailFromAddress'] = JB_SITE_CONTACT_EMAIL;
    }
    if ($row['EmailFromName'] == '') {
        $row['EmailFromName'] = JB_SITE_NAME;
    }
    ?>
	<form method="POST" action="<?php 
    echo htmlentities($_SERVER['PHP_SELF']);
    ?>
">
	<input type="hidden" name="EmailID" value="<?php 
    echo $email_id;
    ?>
">

	<table border="0" cellSpacing="1" cellPadding="3" bgColor="#d9d9d9">
	<tr><td bgColor="#eaeaea"><font size="2"><b>From Address:</b></font></td><td bgColor="#ffffff"><input size="40" type="text" name="EmailFromAddress" value="<?php 
    echo JB_escape_html($row['EmailFromAddress']);
    ?>
"></td></tr>
	<tr><td bgColor="#eaeaea"><font size="2"><b>From Name:</b></font></td ><td bgColor="#ffffff"><input size="40" type="text" name="EmailFromName" value="<?php 
    echo JB_escape_html($row['EmailFromName']);
    ?>
"></td></tr>
	<tr><td bgColor="#eaeaea"><font size="2"><b>Subject:</b></font></td><td bgColor="#ffffff"><input size="40" type="text" name="EmailSubject" <?php 
    if ($email_id == 10) {
        echo ' disabled ';
    }
    ?>
 value="<?php 
    echo JB_escape_html($row['EmailSubject']);
    ?>
"> <?php 
    if ($email_id == 10) {
        echo '<b>Note: The subject of this email will be changed to \'app_receipt_subject\' language phrase which is editable via Admin->Languages : Editing/Translation tool. The \'From address\' and \'from name\' of this email will be changed to what ever is given by the applicant!</b>';
    }
    ?>
(<small>Cannot use template tags here)</small></td></tr>
	<tr><td bgColor="#eaeaea"><font size="2"><b>Email Text:</b></font></td><td bgColor="#ffffff"><textarea name="EmailText" rows="20" cols="80"><?php 
    echo JB_escape_html($row['EmailText']);
    ?>
</textarea></td></tr>
	<?php 
    if ($email_id == 8 || $email_id == 7) {
        // job alerts
        ?>
		<tr><td bgColor="#eaeaea"><font size="2"><b>Job list item template:</b></font></td><td bgColor="#ffffff"><b>%JOB_ALERTS%</b> : The following line will be iterated to produce the list of matching jobs in the %JOB_ALERTS% tag<br><textarea name="sub_template" rows="2" cols="80"><?php 
        echo JB_escape_html($row['sub_template']);
        ?>
</textarea><br><font size="2"><b>You can use the following template tags in the field above:</b><br>
		%FORMATTED_DATE% - Formatted date according to the timezone<br>
		%BASE_HTTP_PATH% - Link to the website, eg http://www.example.com/<br>
		<?php 
        require_once "../include/posts.inc.php";
        $PForm =& JB_get_DynamicFormObject(1);
        $PForm->reset_fields();
        while ($field = $PForm->next_field()) {
            if ($field['field_type'] == 'BLANK' || $field['field_type'] == 'SEPERATOR') {
                continue;
            }
            if ($field['template_tag'] != '' && strlen($field['field_label']) > 0) {
                echo "%" . $field['template_tag'] . "% - " . $field['field_label'] . "<br>";
            }
        }
        ?>
		</font>
		</td></tr>
		<?php 
    }
    ?>
	<?php 
    if ($email_id == 5 || $email_id == 6) {
        // resume alerts
        ?>
		<tr><td bgColor="#eaeaea"><font size="2"><b>Resume list item template:</b></font></td><td bgColor="#ffffff"><b>%RESUME_ALERTS%</b> : The following line will be iterated to produce the list of matching resumes in the %RESUME_ALERTS%<br><textarea name="sub_template" rows="2" cols="80"><?php 
        echo JB_escape_html($row['sub_template']);
        ?>
</textarea><br><font size="2">
		<b>You can use the following template tags in the field above:</b><br>
		%FORMATTED_DATE% - Formatted date according to the timezone<br>
		%RESUME_DB_LINK% - Direct link to the resume / resume database for the employer (<span style="color:red; font-weight:bold;">NEW!</span>)<br>
		<?php 
        require_once "../include/resumes.inc.php";
        $RForm =& JB_get_DynamicFormObject(2);
        $RForm->reset_fields();
        while ($field = $RForm->next_field()) {
            if ($field['field_type'] == 'BLANK' || $field['field_type'] == 'SEPERATOR') {
                continue;
            }
            if ($field['template_tag'] != '' && strlen($field['field_label']) > 0) {
                echo "%" . $field['template_tag'] . "% - " . $field['field_type'] . "<br>";
            }
        }
        ?>
		</font>
//.........这里部分代码省略.........
开发者ID:vinothtimes,项目名称:phpdoc,代码行数:101,代码来源:emailconfig.php

示例3: while

 $ALM->list_head_cell_close();
 $ALM->list_head_cell_open();
 echo $label["emp_app_email"];
 $ALM->list_head_cell_close();
 $ALM->list_head_close();
 while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
     $ALM->set_values($row);
     $i++;
     $ALM->list_item_open('standard');
     $ALM->list_data_employer_action();
     $ALM->list_cell_open();
     echo JB_get_formatted_date(JB_get_local_time($row['app_date']));
     $ALM->list_cell_close();
     $ALM->list_cell_open();
     echo $ALM->get_open_link('apps.php?post_id=' . $row['post_id'], $extra_attr);
     echo JB_escape_html($row['data1']);
     echo $ALM->get_close_link();
     $ALM->list_cell_close();
     $ALM->list_cell_open();
     $sql2 = "SELECT * FROM users where ID='" . jb_escape_sql($row['user_id']) . "'";
     $result2 = JB_mysql_query($sql2) or die(mysql_error());
     $candidate_row = mysql_fetch_array($result2);
     $sql3 = "SELECT * FROM resumes_table where user_id='" . jb_escape_sql($row['user_id']) . "'";
     $result3 = JB_mysql_query($sql3) or die(mysql_error());
     $resume_row = mysql_fetch_array($result3);
     $sql4 = "SELECT * FROM posts_table where post_id='" . jb_escape_sql($row['post_id']) . "'";
     $result4 = JB_mysql_query($sql4) or die(mysql_error());
     $post_row = mysql_fetch_array($result4);
     $candidate_row['FormattedName'] = jb_escape_html(jb_get_formatted_name($candidate_row['FirstName'], $candidate_row['LastName']));
     $candidate_row['user_id'] = $candidate_row['ID'];
     // 'anon' If Y, then resume is anonumous and fields are restricted.
开发者ID:vinothtimes,项目名称:dchqtest,代码行数:31,代码来源:apps.php

示例4: JB_escape_html

		<td><font size="1"><?php 
    echo JB_escape_html(substr($row['message'], 0, 7));
    ?>
<a href="" <?php 
    echo $new_window;
    ?>
>...</a></font></td>
		<td><font size="1"><?php 
    echo JB_escape_html(substr($row['html_message'], 0, 7));
    ?>
<a href="" <?php 
    echo $new_window;
    ?>
>...</a></font></td>
		<td><font size="1"><?php 
    echo JB_escape_html($row['attachments']);
    ?>
</font></td>
		<td><font size="2" color="<?php 
    if ($row['status'] == 'sent') {
        echo 'green';
    }
    ?>
"><?php 
    echo $row['status'];
    ?>
</font></td>
		<td><font size="1"><?php 
    echo $row['error_msg'];
    ?>
</font></td>
开发者ID:vinothtimes,项目名称:dchqtest,代码行数:31,代码来源:email_queue.php

示例5: JB_process_login

###########################################################################
require "../config.php";
include 'login_functions.php';
JB_process_login();
JB_template_candidates_header();
include '../include/motd_functions.php';
?>

<?php 
$sql = "SELECT * FROM `users` WHERE `ID`='" . jb_escape_sql($_SESSION['JB_ID']) . "'";
$result = JB_mysql_query($sql);
$row = mysql_fetch_array($result, MYSQL_ASSOC);
$label["c_index_greeting"] = str_replace("%SITE_NAME%", JB_escape_html(JB_SITE_NAME), $label["c_index_greeting"]);
$label["c_index_greeting"] = str_replace("%USERNAME%", JB_escape_html($_SESSION['JB_Username']), $label["c_index_greeting"]);
$label["c_index_greeting"] = str_replace("%FIRST_NAME%", JB_escape_html($row['FirstName']), $label["c_index_greeting"]);
$label["c_index_greeting"] = str_replace("%LAST_NAME%", JB_escape_html($row['LastName']), $label["c_index_greeting"]);
?>
<h3 style="text-align:center"><?php 
echo $label["c_index_greeting"];
?>
</h3>
<?php 
JBPLUG_do_callback('candidates_index_top', $A = false);
if (JB_display_motd('U', 80)) {
    echo '<br>';
}
$sql = "SELECT `hits`, `status` FROM `resumes_table` WHERE `user_id`='" . jb_escape_sql($_SESSION['JB_ID']) . "'";
$result = JB_mysql_query($sql);
$row = mysql_fetch_array($result, MYSQL_ASSOC);
$count = $row['hits'];
if ($count != '') {
开发者ID:vinothtimes,项目名称:phpdoc,代码行数:31,代码来源:index.php

示例6: JB_escape_html

		<td class="dynamic_form_field"><?php 
    echo $label["c_signup_password"];
    ?>
<span class="is_required_mark">*</span></td>
		<td class="dynamic_form_value"><input name="Password" value="<?php 
    echo JB_escape_html($DynamicForm->get_value('Password'));
    ?>
" type="password" id="password"></td>
	</tr>
	<tr>
		<td class="dynamic_form_field"><?php 
    echo $label["c_signup_password2"];
    ?>
<span class="is_required_mark">*</span></td>
		<td class="dynamic_form_value"><input name="Password2" type="password" value="<?php 
    echo JB_escape_html($DynamicForm->get_value('Password2'));
    ?>
" id="password2"></td>
	</tr>
	<?php 
}
?>
<tr>
	<td class="dynamic_form_field" height="20">&nbsp; </td>
	<td class="dynamic_form_value" height="20">&nbsp;</td>
</tr>
<tr>
	<td class="dynamic_form_field"><?php 
echo $label["c_signup_email"];
?>
<span class="is_required_mark">*</span></td>
开发者ID:vinothtimes,项目名称:dchqtest,代码行数:31,代码来源:candidate-signup-form.php

示例7: JB_display_matrix

function JB_display_matrix($field_id, &$data, $mode)
{
    $field_id = (int) $field_id;
    global $label;
    $sql = "Select * from skill_matrix WHERE field_id='" . jb_escape_sql($field_id) . "' ";
    $result = JB_mysql_query($sql) or die(mysql_error());
    $row = mysql_fetch_array($result, MYSQL_ASSOC);
    $rows = $row['row_count'];
    ?>

	<input type="hidden" name="<?php 
    echo $field_id;
    ?>
" value="1" >

	<table  class="skill_matrix_table" id="table1"  cellspacing="1" cellpadding="5">
		<tr class="skill_matrix_header">
			<td><?php 
    echo $label['skill_matrix_label_1'];
    ?>
</td>
			<td><?php 
    echo $label['skill_matrix_label_2'];
    ?>
</td>
			<td><?php 
    echo $label['skill_matrix_label_3'];
    ?>
</td>
		</tr>
		<?php 
    for ($i = 0; $i < $rows; $i++) {
        ?>
		<tr class="skill_matrix_row">
			<td>
			<?php 
        if ($mode != 'view') {
            ?>
				<input type="text" name="<?php 
            echo $field_id;
            ?>
name<?php 
            echo $i;
            ?>
" size="25" value="<?php 
            echo JB_escape_html($data[$field_id . "name" . $i]);
            ?>
" >
			<?php 
        } else {
            echo JB_escape_html($data[$field_id . "name" . $i]);
        }
        ?>
			</td>
			<td>
			<?php 
        if ($mode != 'view') {
            ?>
				<select size="1" name="<?php 
            echo $field_id;
            ?>
years<?php 
            echo $i;
            ?>
">
				<option value=""><?php 
            echo $label['skill_matrix_col2_sel'];
            ?>
</option>
				<option value="0" <?php 
            if ($data[$field_id . "years" . $i] === "0") {
                echo " selected ";
            }
            ?>
><?php 
            echo $label['skill_matrix_col2_sel0'];
            ?>
</option>
				<option value="1" <?php 
            if ($data[$field_id . "years" . $i] === "1") {
                echo " selected ";
            }
            ?>
><?php 
            echo $label['skill_matrix_col2_sel1'];
            ?>
</option>
				<option value="2" <?php 
            if ($data[$field_id . "years" . $i] === "2") {
                echo " selected ";
            }
            ?>
><?php 
            echo $label['skill_matrix_col2_sel2'];
            ?>
</option>
				<option value="3" <?php 
            if ($data[$field_id . "years" . $i] === "3") {
                echo " selected ";
            }
//.........这里部分代码省略.........
开发者ID:vinothtimes,项目名称:phpdoc,代码行数:101,代码来源:skill_matrix_functions.php

示例8: JB_escape_html

<tr><td colspan="2" class="dynamic_form_value">&nbsp</td></tr>
<tr><td class="dynamic_form_field"><?php 
echo $label["employer_pass_new_pass_label"];
?>
</td>
<td class="dynamic_form_value"><input type="password" name="newpass" value="<?php 
echo JB_escape_html($newpass);
?>
"></td>
</tr>
<tr><td class="dynamic_form_field"><?php 
echo $label["employer_pass_new_pass_confirm_label"];
?>
</td>
<td class="dynamic_form_value"><input type="password" name="newpass2" value="<?php 
echo JB_escape_html($newpass2);
?>
"></td>
</tr>
<tr><td colspan="2" class="dynamic_form_value"><input class="form_submit_button" type="submit" value="<?php 
echo $label["employer_pass_button_label"];
?>
" name="submit"></td></tr>
</table>

</form>

<?php 
JB_render_box_bottom();
?>
开发者ID:vinothtimes,项目名称:dchqtest,代码行数:30,代码来源:password.php

示例9: escape

 function escape($str)
 {
     return JB_escape_html($str);
 }
开发者ID:vinothtimes,项目名称:phpdoc,代码行数:4,代码来源:JBMarkup.php

示例10: JB_form_text_field

function JB_form_text_field(&$field_name, &$field_value, &$width)
{
    return 'JB_form_text_field() is deprecated';
    return '<input class="dynamic_form_text_style" type="text" AUTOCOMPLETE="ON" name="' . $field_name . '" value="' . JB_escape_html($field_value) . '" size="' . $width . '" >';
}
开发者ID:vinothtimes,项目名称:dchqtest,代码行数:5,代码来源:dynamic_forms.php

示例11: JBXM_display_xml_doc_tree

function JBXM_display_xml_doc_tree($schema_id, $element_id = 0)
{
    static $depth = 0;
    global $element_input_options;
    static $pivot_open;
    static $feed_row;
    if ($element_input_options == '') {
        $element_input_options = 'BUTTONS';
    }
    $feed_id = (int) $_REQUEST['feed_id'];
    if ($feed_row == null) {
        $sql = "SELECT * from xml_export_feeds WHERE feed_id='" . jb_escape_sql($feed_id) . "' ";
        $result = JB_mysql_query($sql);
        $feed_row = mysql_fetch_array($result, MYSQL_ASSOC);
        $feed_row['field_settings'] = unserialize($feed_row['field_settings']);
    }
    if ($depth > 100) {
        return;
    }
    $sql = "select * from xml_export_elements WHERE `parent_element_id`='" . jb_escape_sql($element_id) . "' AND `schema_id`='" . jb_escape_sql($schema_id) . "' order by has_child desc, is_pivot desc ";
    //echo $sql;
    $result = JB_mysql_query($sql) or die(mysql_error());
    if (mysql_num_rows($result) > 0) {
        echo "<br>";
        $the_end = true;
    }
    while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
        $element = $row['element_name'];
        if ($feed_row['field_settings']['static_data_' . $row['element_id']] != '') {
            // over-write the default export mode
            $row['static_data'] = $feed_row['field_settings']['static_data_' . $row['element_id']];
            // hidden field to ensure that the custom static data setting is stored in field_settings
            // by the JBXM_save_xml_feed_input() function
            ?>
			 <input type="hidden" name="static_data_<?php 
            echo $row['element_id'];
            ?>
" value="<?php 
            echo jb_escape_html($row['static_data']);
            ?>
"> 
			<?php 
        }
        if ($row['attributes'] != '') {
            $row['attributes'] = " " . $row['attributes'];
        }
        //echo "<br>";
        JBXM_echo_nbsp_repeat($depth);
        if ($row['is_pivot'] == 'Y') {
            echo "<b>";
            $pivot_open = true;
        }
        if ($row['is_mandatory'] == 'Y') {
            echo '<font color="red" size="4">*</font>';
        }
        echo "<font color='purple'>&lt;{$element}</font><font color='blue'>" . JB_escape_html($row['attributes']) . "</font><font color='purple'>&gt;</font>";
        if ($row['is_pivot'] == 'Y') {
            echo "</b>";
            echo ' <font color="green">&lt;!-- This item will be iterated for each record (Pivot) --&gt; </font>';
        }
        $depth += 2;
        $ending = JBXM_display_xml_doc_tree($schema_id, $row['element_id']);
        if ($row['static_data'] == '' && $row['field_id'] == false) {
            //echo "<br>";
            //echo_nbsp_repeat($depth);
        }
        if ($row['is_pivot'] == 'Y') {
            echo "<b>";
            $pivot_open = true;
        }
        if ($ending) {
            if (($row['static_data'] == '' || $row['static_mod'] != 'F') && $element_input_options == 'FIELDS' && $pivot_open == true && $depth >= 6) {
                JBXM_echo_nbsp_repeat($depth);
                ?>
<small><input type="checkbox" name="implode_<?php 
                echo $row['element_id'];
                ?>
" value='Y' <?php 
                if ($_REQUEST['implode_' . $row['element_id']] == 'Y') {
                    echo ' checked ';
                }
                ?>
 ></small> <b>Implode</b> <small>the fields between &lt;<?php 
                echo $element;
                ?>
&gt; and &lt;/<?php 
                echo $element;
                ?>
&gt; in to one single value</small><?php 
                //JBXM_echo_field_select_field($row, $feed_row);
                echo '<br>';
            }
            JBXM_echo_nbsp_repeat($depth);
        } else {
            if ($element_input_options == 'FIELDS') {
                // display the input fields
                //for XML Feed configuration
                if ($row['static_data'] == '' || $row['static_mod'] != 'F') {
                    JBXM_echo_field_select_field($row, $feed_row);
                    if ($row['static_mod'] == 'A') {
//.........这里部分代码省略.........
开发者ID:vinothtimes,项目名称:phpdoc,代码行数:101,代码来源:xml_feed_functions.php

示例12: JB_escape_html

    ?>
</font></td>
<td><font face="Arial" size="2"><?php 
    echo $row['domain'];
    ?>
</font></td>
<td><font face="Arial" size="2"><?php 
    echo $row['id'];
    ?>
</font></td>
<td><font face="Arial" size="2"><?php 
    echo JB_escape_html($row['remote_addr']);
    ?>
</font></td>
<td><font face="Arial" size="2"><?php 
    echo JB_escape_html($row['user_agent']);
    ?>
</font></td>
<td><font face="Arial" size="2"><?php 
    echo JB_escape_html($row['http_referer']);
    ?>
</font></td>
</tr>

	   <?php 
}
?>
</table>

<?php 
JB_admin_footer();
开发者ID:vinothtimes,项目名称:phpdoc,代码行数:31,代码来源:online.php

示例13: md5

}
if ($_REQUEST['action'] == 'reset') {
    if ($_REQUEST['pass'] != '') {
        $_REQUEST['pass'] = md5($_REQUEST['pass']);
        $sql = "UPDATE `users` SET `Password`='" . jb_escape_sql($_REQUEST['pass']) . "' WHERE `ID`='" . jb_escape_sql($_REQUEST['user_id']) . "' LIMIT 1";
        JB_mysql_query($sql) or die(mysql_error());
        $JBMarkup->ok_msg('Password Changed.');
        JBPLUG_do_callback('can_new_pass', $_REQUEST['pass'], $row['Username']);
    } else {
        $sql = "SELECT * from `users` WHERE `ID`='" . jb_escape_sql($_REQUEST['user_id']) . "'";
        $result = JB_mysql_query($sql) or die(mysql_error());
        $row = mysql_fetch_array($result, MYSQL_ASSOC);
        ?>
		Change the password for username: 
		<?php 
        echo JB_escape_html($row['Username']) . " (" . JB_get_formatted_name($row['FirstName'], $row['LastName']) . ")";
        $q_string = JB_generate_candidate_q_string();
        ?>

         <form method="post" action="<?php 
        echo htmlentities($_SERVER['PHP_SELF']);
        ?>
?action=reset">
            <input type="hidden" name="user_id" value="<?php 
        echo htmlentities($_REQUEST['user_id']);
        ?>
">
			<input type="hidden" name="show" value="<?php 
        echo htmlentities($_REQUEST['show']);
        ?>
">
开发者ID:vinothtimes,项目名称:dchqtest,代码行数:31,代码来源:candidates.php

示例14: JB_escape_html

		<td class="field_data">
		<input type="text" name="app_subject" style="width:100%"  value="<?php 
echo JB_escape_html($app_subject);
?>
"></td>
	  </tr>
	  <tr>
		<td  colspan="2" class="field_data"><b><?php 
echo $label['app_input_letter'];
?>
</b></td>
	  </tr>
	  <tr>
		<td colspan="2" class="field_data" >
		<textarea rows="9" style="width: 100%" name="app_letter" cols="20"><?php 
echo JB_escape_html($app_letter);
?>
</textarea></td>
	  </tr>
	  <tr>
		<td class="field_label"><b><?php 
echo $label['app_input_att1'];
?>
</b></td>
		<td class="field_data">
		<input type="hidden" name="MAX_FILE_SIZE" value="<?php 
echo JB_MAX_UPLOAD_BYTES;
?>
">
		<input type="file" name="att1" size="20" value="<?php 
echo jb_escape_html($att1);
开发者ID:vinothtimes,项目名称:dchqtest,代码行数:31,代码来源:application-form.php

示例15: JB_escape_html

    $JBMarkup->ok_msg($label["employer_resume_alerts_saved"]);
}
?>

<div class="explanation_note"><?php 
echo $label["employer_resume_alerts_intro"];
?>
 </div>
<p>
<form method="post" action="alerts.php" >
<input type="hidden" name="key" value="<?php 
echo JB_escape_html(JB_clean_str($_REQUEST['key']));
?>
">
<input type="hidden" name="id" value="<?php 
echo JB_escape_html(JB_clean_str($_REQUEST['id']));
?>
">
<table border="0" cellSpacing="1" cellPadding="3" class="dynamic_form" id='dynamic_form'>

<tr><td class="dynamic_form_field"><?php 
echo $label["employer_resume_alerts_activate"];
?>
</td>
<td class="dynamic_form_value"><input type="radio" name="notification" <?php 
if ($notification == '1') {
    echo " checked ";
}
?>
 value="1"><?php 
echo $label["employer_resume_alerts_yes"];
开发者ID:vinothtimes,项目名称:dchqtest,代码行数:31,代码来源:alerts.php


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