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

PHP f_hsc函数代码示例

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

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



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

示例1: fsel_get_company

function fsel_get_company($gc, $select, $name_flg = false)
{
    $idx = 0;
    $sql = "SELECT";
    $sql .= " company_no,";
    $sql .= " company_nm ";
    $sql .= "FROM";
    $sql .= " m_company ";
    $sql .= "ORDER BY company_kn";
    $rs = $gc->db->query($sql);
    while ($rs->eof == false) {
        $list[$idx]["cd"] = $rs->fields["company_no"];
        $list[$idx]["nm"] = $rs->fields["company_nm"];
        $idx++;
        $rs->move_next();
    }
    $rs->free_result();
    $optons = "";
    $wk_name = "";
    for ($i = 0; $i < count($list); $i++) {
        $selected = "";
        if ($list[$i]["cd"] == $select) {
            $selected = " selected";
            $wk_name = $list[$i]["nm"];
        }
        $optons .= "<option value=\"" . $list[$i]["cd"] . "\"" . $selected . ">" . f_hsc($list[$i]["nm"]) . "</option>";
    }
    if ($name_flg) {
        return $wk_name;
    } else {
        return $optons;
    }
}
开发者ID:aim-web-projects,项目名称:mansion,代码行数:33,代码来源:lib_sel_company.php


示例2: fdiv_get_select

function fdiv_get_select($gc, $select, $name_flg = false, $array)
{
    //-------------------------------------------------
    // プルダウンメニュー
    //-------------------------------------------------
    $idx = 0;
    foreach ($array as $key => $value) {
        $list[$idx]["cd"] = $key;
        $list[$idx]["nm"] = $value;
        $idx++;
    }
    $optons = "";
    $wk_name = "";
    for ($i = 0; $i < count($list); $i++) {
        $selected = "";
        if ($list[$i]["cd"] == $select) {
            $selected = " selected";
            $wk_name = $list[$i]["nm"];
        }
        $optons .= "<option value=\"" . $list[$i]["cd"] . "\"" . $selected . ">" . f_hsc($list[$i]["nm"]) . "</option>";
    }
    if ($name_flg) {
        return $wk_name;
    } else {
        return $optons;
    }
}
开发者ID:aim-web-projects,项目名称:mansion,代码行数:27,代码来源:lib_div.php


示例3: out_html_shikucyouson

function out_html_shikucyouson($gc) {

	$sql = "SELECT";
	$sql.= " shikucyouson_no,";
	$sql.= " shikucyouson_nm,";
	$sql.= " rank_no ";
	$sql.= "FROM";
	$sql.= " m_shikucyouson ";
	$sql.= "WHERE";
	$sql.= " todoufuken_no = ".$gc->todoufuken_no." ";
	$sql.= "ORDER BY";
	$sql.= " shikucyouson_no";//JISの並び順

	$rs = $gc->db->query($sql);

	$optons = "<option value=\"0\">選択してください</option>";

	while ($rs->eof==false) {

		$shikucyouson_no = $rs->fields["shikucyouson_no"];
		$shikucyouson_nm = $rs->fields["shikucyouson_nm"];

		$optons.= "<option value=\"".$shikucyouson_no."\">".f_hsc($shikucyouson_nm)."</option>";

		$rs->move_next();

	}

	$rs->free_result();

	echo $optons;

}
开发者ID:aim-web-projects,项目名称:mansion,代码行数:33,代码来源:ajx_area.php


示例4: get_todoufuken

function get_todoufuken($gc)
{
    $sql = "SELECT";
    $sql .= " todoufuken_no,";
    $sql .= " todoufuken_nm ";
    $sql .= "FROM";
    $sql .= " m_todoufuken ";
    $sql .= "ORDER BY";
    $sql .= " todoufuken_no";
    $rs = $gc->db->query($sql);
    $optons = "<option value=\"0\">選択してください</option>";
    while ($rs->eof == false) {
        $todoufuken_no = $rs->fields["todoufuken_no"];
        $todoufuken_nm = $rs->fields["todoufuken_nm"];
        $optons .= "<option value=\"" . $todoufuken_no . "\">" . f_hsc($todoufuken_nm) . "</option>";
        $rs->move_next();
    }
    $rs->free_result();
    return $optons;
}
开发者ID:aim-web-projects,项目名称:mansion,代码行数:20,代码来源:index.php


示例5: tcom_header_logo_nav

function tcom_header_logo_nav($gc)
{
    ?>
		<div id="top">
			<h1><a href="./">マンション貸す.com</a></h1>
			<div id="top-navigation">
<?php 
    if ($gc->login_user_no > 0) {
        ?>
				Welcome <strong><?php 
        echo f_hsc($gc->login_user_nm);
        ?>
</strong>
				<span>|</span>
				<a href="logout.php">ログアウト</a>
<?php 
    }
    ?>
			</div>
		</div>
<?php 
}
开发者ID:aim-web-projects,项目名称:mansion,代码行数:22,代码来源:common.php


示例6: fsel_get_date_d

function fsel_get_date_d($gc, $select, $name_flg = false)
{
    $idx = 0;
    for ($i = 1; $i <= 31; $i++) {
        $list[$idx]["cd"] = sprintf('%02d', $i);
        $list[$idx]["nm"] = sprintf('%02d', $i);
        $idx++;
    }
    $optons = "";
    $wk_name = "";
    for ($i = 0; $i < count($list); $i++) {
        $selected = "";
        if ($list[$i]["cd"] == $select) {
            $selected = " selected";
            $wk_name = $list[$i]["nm"];
        }
        $optons .= "<option value=\"" . $list[$i]["cd"] . "\"" . $selected . ">" . f_hsc($list[$i]["nm"]) . "</option>";
    }
    if ($name_flg) {
        return $wk_name;
    } else {
        return $optons;
    }
}
开发者ID:aim-web-projects,项目名称:mansion,代码行数:24,代码来源:lib_sel_date.php


示例7: out_html


//.........这里部分代码省略.........
						<div class="left">
						<h2 class="left"><b>対応エリア編集 <?php echo $gc->company_nm ?></b></h2>
							<div class="cl">&nbsp;</div>
						</div>

						<div class="right">
							<a href="company_area_csv.php?company_no=<?php echo $gc->company_no ?>" class="custom-button" style="margin-right:10px;"><span>データエクスポート</span></a>
							<a href="company_area_insert.php?company_no=<?php echo $gc->company_no ?>" class="add-button"><span>データインポート</span></a>
							<div class="cl">&nbsp;</div>
						</div>
					</div>

					<!-- End Box Head -->

					<!-- Accordion -->
					<div class="Accordion" style="padding:15px 10px;">

						<!-- Accordion -->
						<div class="ui-accordion ui-widget ui-helper-reset">

<?php

	$sql = "SELECT";
	$sql.= " t.todoufuken_no,";
	$sql.= " t.todoufuken_nm ";
	$sql.= "FROM";
	$sql.= " m_todoufuken t ";
	$sql.= "INNER JOIN";
	$sql.= " (";
	$sql.= " SELECT";
	$sql.= "  todoufuken_no";
	$sql.= " FROM";
	$sql.= "  m_shikucyouson";
	$sql.= " WHERE";
	$sql.= "  rank_no > 0";
	$sql.= " GROUP BY";
	$sql.= "  todoufuken_no";
	$sql.= " ) s ";
	$sql.= "ON";
	$sql.= " s.todoufuken_no = t.todoufuken_no ";
	$sql.= "ORDER BY";
	$sql.= " t.sort_no";

	$rs = $gc->db->query($sql);

	$i = 0;

	while ($rs->eof==false) {

		$todoufuken_no = $rs->fields["todoufuken_no"];
		$todoufuken_nm = $rs->fields["todoufuken_nm"];

?>
		<div class="group">
			<h3 panelmode="close" todoufuken_no="<?php echo f_hsc($todoufuken_no) ?>" class="ui-accordion-header ui-helper-reset ui-state-default ui-accordion-icons ui-corner-all">
				<span class="ui-accordion-header-icon ui-icon ui-icon-triangle-1-e"></span>
				<?php echo f_hsc($todoufuken_nm) ?></h3>
			<div style="display: none;" class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom">
				&nbsp;
			</div>
		</div>
<?php

		$rs->move_next();

		$i++;

	}

	$rs->free_result();

?>

						</div>

					</div>
					<!-- Accordion -->

				</div>
				<!-- End Box -->
				<div class="cl">&nbsp;</div>

			</div>
			<!-- End Content -->
			<div class="cl">&nbsp;</div>

		</div>
		<!-- Main -->
	</div>
</div>
<!-- End Container -->

<!-- Footer -->
	<?php tcom_footer($gc) ?>
<!-- End Footer -->

</body>
</html>
<?php
}
开发者ID:aim-web-projects,项目名称:mansion,代码行数:101,代码来源:company_area_e.php


示例8: out_html

function out_html($gc) {

?>
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8" />
<title><?php echo $gc->title_text ?></title>
<!-- *** stylesheet *** -->
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- *** javascript *** -->
<script language="JavaScript">
<!--
var submit_flg = false;
function run_submit(fname, mode) {
	document.forms[fname].mode.value = mode;
	if(submit_flg==false){
		//ボタン2度押し対応
		submit_flg = true;
		document.forms[fname].submit();
	}
}
function unload_page(){
	submit_flg = false;
}
window.onunload = unload_page;
// -->
</script>

</head>
<body>

<!-- Header -->
<div id="header">
	<div class="shell">
		<!-- Logo + Top Nav -->
		<?php tcom_header_logo_nav($gc) ?>
		<!-- End Logo + Top Nav -->
		<!-- Main Nav -->
		<?php tcom_header_main_nav($gc, 6) ?>
		<!-- End Main Nav -->
	</div>
</div>
<!-- End Header -->

<!-- Container -->
<div id="container">
	<div class="shell">

		<!-- Small Nav -->
		<div class="small-nav">
			<a href="company_l.php">提携会社管理</a>
			<span>&gt;</span>
			<a href="company_l.php">提携会社一覧</a>
			<span>&gt;</span>

<?php
	if($gc->company_no > 0){
?>
			<a href="company_r.php?company_no=<?php echo $gc->company_no ?>">詳細</a>
			<span>&gt;</span>
			<a href="company_area_e.php?mode=edit&company_no=<?php echo $gc->company_no ?>">対応エリア編集</a>
			<span>&gt;</span>
<?php
	}
?>
<?php echo $gc->title_text ?>

		</div>
		<!-- End Small Nav -->

		<!-- Main -->
		<div id="main">
			<div class="cl">&nbsp;</div>

			<!-- Content -->
			<div id="content">

<?php
	if($gc->form_mode=="message"){
?>

				<!-- Message OK -->
				<div class="msg msg-ok">
					<p><strong>&nbsp;<?php echo f_hsc($gc->message) ?></strong></p>
				</div>
				<!-- End Message OK -->

<?php

	if($gc->company_no > 0){
			echo "<div class=\"ac\"><a href=\"company_area_e.php?mode=edit&company_no=".$gc->company_no."\">対応エリア編集へ</a></div>";
	}else{
			echo "<div class=\"ac\"><a href=\"company_l.php\">提携会社一覧へ</a></div>";
	}


	}else{

		for ($i=0; $i<$gc->msg->count; $i++) {
//.........这里部分代码省略.........
开发者ID:aim-web-projects,项目名称:mansion,代码行数:101,代码来源:company_area_insert.php


示例9: out_html


//.........这里部分代码省略.........

</script>
<?php } ?>

<script>
$(function(){
	$(".acMenu dt").on("click", function() {
		$(this).next().slideToggle();
	});
});
</script>
</head>
<?php if($gc->disp_page == 1){ ?>
<body id="form1">
<?php }else{ ?>
<body id="form2">
<?php } ?>

<header id="header" class="clearfix">
	<p class="txt"><img src="img/header_txt.png" alt="マンションを一番高く貸す!"></p>
	<p id="logo"><img src="../lp/sp_common/img/logo.png" alt="マンション貸す.com"></p>
</header>

<!--form start-->
<section class="formBlock">
	<p class="kantan"><img src="../lp/sp_common/img/kantan_tit.png" alt="カンタン60秒登録!"></p>

<?php
	if($gc->form_mode=="init_err"){

		if($_SERVER["REQUEST_METHOD"] == "POST"){

			for ($i=0; $i<$gc->msg->count; $i++) {
				echo "<p><strong>".f_hsc($gc->msg->list[$i])."</strong></p>";
			}

			echo "<p style=\"margin-top: 10px\">";
			echo "<button type=\"button\" onClick=\"history.back(); return false;\">前のページにもどる</button>";
			echo "</p>";

		}else{

			// GETによる要求は有効期限切れとして扱いトップへ誘導する

			echo "<p><strong>ページの有効期限切れです。<br />お手数ですが、最初からやり直してください。</strong></p>";
			echo "<p style=\"margin-top: 10px\">";
			echo "<a href=\"".C_NORMAL_URL."lp/rent01/sp/\">トップへ</a>";
			echo "</p>";

		}

	}elseif($gc->form_mode=="notfound"){

		echo "<p><strong>";
		echo "お客様のエリアは対象外となっております。<br />";
		echo "<br />";
		echo "大変申し訳ございません。";
		echo "</strong></p>";

	}elseif($gc->form_mode=="message"){
// ■■■ 開始:送信完了ページ --------------------------------------------------

		if($gc->message_mode == "send_ok"){

			if(count($gc->arr_company) > 0){ /* 開始:if(count($gc->arr_company) > 0) */
?>
开发者ID:aim-web-projects,项目名称:mansion,代码行数:67,代码来源:__form.php


示例10: out_html

function out_html($gc) {
?>
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8" />
<title>メニュー</title>
<!-- *** stylesheet *** -->
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>

<!-- Header -->
<div id="header">
	<div class="shell">
		<!-- Logo + Top Nav -->
		<?php tcom_header_logo_nav($gc) ?>
		<!-- End Logo + Top Nav -->
		<!-- Main Nav -->
		<?php tcom_header_main_nav2($gc, 0) ?>
		<!-- End Main Nav -->
	</div>
</div>
<!-- End Header -->

<!-- Container -->
<div id="container">
	<div class="shell">

		<!-- Main -->
		<div id="main">
			<div class="cl">&nbsp;</div>

			<!-- Content -->
			<div id="content">

				<!-- Box -->
				<div class="box">

					<!-- Box Head -->
					<div class="box-head">
						<h2 class="left">メニュー</h2>
						<div class="right">
							<div class="cl">&nbsp;</div>
						</div>
					</div>
					<!-- End Box Head -->

					<!-- Table -->
					<div class="table">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
<?php

	$wk["name"] = "案件管理";
	$wk["href"] = "item_l.php";
	$items[] = $wk;

	$wk["name"] = "手数料管理";
	$wk["href"] = "tesuryo_d.php";
	$items[] = $wk;

	$wk["name"] = "ユーザー管理";
	$wk["href"] = "user_l.php";
	$items[] = $wk;

	$i = 0;

	foreach ($items as $item) {

		$name = $item["name"];
		$href = $item["href"];

		$odd = "";
		if(($i % 2)==1){
			$odd = " class=\"odd\"";
		}

		echo "<tr".$odd.">";
		echo "<td><h3><a href=\"".$href."\">".f_hsc($name)."</a></h3></td>";
		echo "<td width=\"70\" class=\"ac\"><button type=\"button\" class=\"list-button\" onclick=\"location.href='".$href."';\">Go</button></td>";
		echo "</tr>";

		$i++;

	}

?>
						</table>
					</div>
					<!-- Table -->

				</div>
				<!-- End Box -->
				<div class="cl">&nbsp;</div>

			</div>
			<!-- End Content -->
			<div class="cl">&nbsp;</div>

		</div>
//.........这里部分代码省略.........
开发者ID:aim-web-projects,项目名称:mansion,代码行数:101,代码来源:index.php


示例11: out_html


//.........这里部分代码省略.........
								<th><a href="user_l.php<?php echo f_sq("e_mail") ?>">E-mail</a><?php echo $sort_mode["e_mail"] ?></th>
								<th width="120" class="ac"><a href="user_l.php<?php echo f_sq("user_id") ?>">ログインID</a><?php echo $sort_mode["user_id"] ?></th>
								<th width="120" class="ac"><a href="user_l.php<?php echo f_sq("last_login_time") ?>">最終ログイン日時</a><?php echo $sort_mode["last_login_time"] ?></th>
								<th width="70" class="ac">詳細</th>
							</tr>

<?php

	$i = 0;

	while ($rs->eof==false) {

		$user_no = $rs->fields["user_no"];
		$user_nm = $rs->fields["user_nm"];
		$user_kn = $rs->fields["user_kn"];
		$user_id = $rs->fields["user_id"];
		$e_mail = $rs->fields["e_mail"];
		$last_login_time = $rs->fields["last_login_time"];

		if($last_login_time != ""){
			$last_login_time_d = substr($last_login_time, 0, 4)."/".substr($last_login_time, 5, 2)."/".substr($last_login_time, 8, 2);
			$last_login_time_t = substr($last_login_time, 11);
		}else{
			$last_login_time_d = "";
			$last_login_time_t = "";
		}

		$odd = "";
		if(($i % 2)==1){
			$odd = " class=\"odd\"";
		}

		echo "<tr".$odd.">";
		echo "<td class=\"ac\">".f_hsc($user_no)."</td>";
		echo "<td>".f_hsc($user_nm)."</td>";
		echo "<td>".f_hsc($user_kn)."</td>";
		echo "<td>".f_hsc($e_mail)."</td>";
		echo "<td class=\"ac\">".f_hsc($user_id)."</td>";
		echo "<td class=\"ac\">".f_hsc($last_login_time_d)."<br />".f_hsc($last_login_time_t)."</td>";
		echo "<td class=\"ac\"><button type=\"button\" class=\"list-button\" onclick=\"location.href='user_e.php?mode=edit&user_no=".$user_no."';\">詳細</button></td>";
		echo "</tr>";

		$rs->move_next();

		$i++;

	}

	$rs->free_result();

	if($row_count==0){
		echo "<tr>";
		echo "<td colspan=\"6\" align=\"center\">データはありません。</td>";
		echo "</tr>";
	}

?>
						</table>

<?php if($row_count > 0){ ?>
						<!-- Pagging -->
						<div class="pagging">
							<div class="box-l">
								&nbsp;
							</div>
							<div class="box-c">
开发者ID:aim-web-projects,项目名称:mansion,代码行数:67,代码来源:user_l.php


示例12: out_html


//.........这里部分代码省略.........
					<div class="box-head">
						<h2 class="left">抽出条件・手数料合計</h2>
						<div class="right">
							<div class="cl">&nbsp;</div>
						</div>
					</div>
					<!-- End Box Head -->

					<!-- Form -->
					<div class="form">

						<div class="box-size4 left">
							<p class="inline-field">
								<label style="display:inline;">集計期間:</label>
								<?php echo substr($gc->mbif, 0, 4) ?>年<?php echo substr($gc->mbif, 4, 2) ?>月<?php echo substr($gc->mbif, 6, 2) ?>日
								~
								<?php echo substr($gc->mbit, 0, 4) ?>年<?php echo substr($gc->mbit, 4, 2) ?>月<?php echo substr($gc->mbit, 6, 2) ?>日
							</p>
						</div>
						<div style="float:right;">
							<label class="ml40" style="display:inline;">手数料合計:</label>
							<?php echo number_format($gc->sum_tesuryou) ?>円
						</div>

						<div class="cl">&nbsp;</div>

					</div>
					<!-- End Form -->

					<!-- Box Head -->
					<div class="box-head">
						<h2 class="left">手数料一覧</h2>
						<div class="right">
							<a href="tesuryo_csv.php?mode=2&mbif=<?php echo f_hsc($gc->mbif) ?>&mbit=<?php echo f_hsc($gc->mbit) ?>&company_no=<?php echo f_hsc($gc->login_company_no) ?>" class="custom-button"><span>CSV出力</span></a>
						</div>
					</div>
					<!-- End Box Head -->

					<!-- Table -->
					<div class="table">

<?php if($row_count > 0){ ?>
						<!-- Pagging -->
						<div class="pagging">
							<div class="box-l">
								<?php echo $page_arr["cmes_str"].$page_arr["par1_str"].$page_arr["par2_str"]; ?>
							</div>
							<div class="box-c">
								<div class="margin-center">
									<?php echo $page_arr["back_str"].$page_arr["list_str"].$page_arr["deno_str"].$page_arr["next_str"]; ?>
								</div>
							</div>
							<div class="box-r">
								<label>表示件数:</label>
								<?php echo $page_arr["plst_str"] ?>
							</div>
						</div>
						<!-- End Pagging -->
<?php } ?>

						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr style="border-top:solid 1px #e0e0e0;">
								<th width="80" class="ac"><a href="tesuryo_d.php<?php echo f_sq("ank") ?>">案件番号</a><?php echo $sort_mode["ank"] ?></th>
								<th width="80" class="ac"><a href="tesuryo_d.php<?php echo f_sq("mbi") ?>">申込日</a><?php echo $sort_mode["mbi"] ?></th>
								<th width="80" class="ac"><a href="tesuryo_d.php<?php echo f_sq("sbt") ?>">種別</a><?php echo $sort_mode["sbt"] ?></th>
								<th width="80" class="ac"><a href="tesuryo_d.php<?php echo f_sq("men") ?>">延床面積</a><?php echo $sort_mode["men"] ?><br />(平米)</th>
开发者ID:aim-web-projects,项目名称:mansion,代码行数:67,代码来源:tesuryo_d.php


示例13: out_html


//.........这里部分代码省略.........
										<?php echo fsel_get_date_d($gc, $gc->mbif_d) ?>
									</select><span class="ml05">日</span>
									~
									<select id="mbit_y" class="field">
										<?php echo fsel_get_date_y($gc, $gc->mbit_y) ?>
									</select><span class="ml05">年</span>
									<select id="mbit_m" class="field">
										<?php echo fsel_get_date_m($gc, $gc->mbit_m) ?>
									</select><span class="ml05">月</span>
									<select id="mbit_d" class="field">
										<?php echo fsel_get_date_d($gc, $gc->mbit_d) ?>
									</select><span class="ml05">日</span>

									<label class="ml20" style="display:inline;">区分:</label>
									<input id="company_kbn_0" type="radio" name="company_kbn" value="0"<?php echo $gc->company_kbn_0_checked ?> />
									<label class="mr10" for="company_kbn_0" style="display:inline;font-weight: normal;">全て</label>
									<input id="company_kbn_1" type="radio" name="company_kbn" value="1"<?php echo $gc->company_kbn_1_checked ?> />
									<label class="mr10" for="company_kbn_1" style="display:inline;font-weight: normal;">大手</label>
									<input id="company_kbn_2" type="radio" name="company_kbn" value="2"<?php echo $gc->company_kbn_2_checked ?> />
									<label class="mr10" for="company_kbn_2" style="display:inline;font-weight: normal;">地場</label>

								</p>
							</div>

							<div class="box-size4 left">
								<p class="inline-field">
									<label style="display:inline;">提携会社:</label>
									<select name="company_no" class="field">
										<option value=""></option>
										<?php echo fsel_get_company($gc, $gc->company_no) ?>
									</select>

									<label class="ml05" style="display:inline;">支店名:</label>
									<input name="company_sh" type="text" class="field size2" value="<?php echo f_hsc($gc->company_sh)?>" />

									<label class="ml05" style="display:inline;">所在地:</label>
									<select name="todoufuken_no" class="field">
										<option value=""></option>
										<?php echo fsel_get_todoufuken($gc, $gc->todoufuken_no) ?>
									</select>

									<label class="ml15" style="display:inline;">
										<input type="checkbox" name="relocation_flg" id="relocation_flg" value="1"<?php echo $gc->relocation_flg_checked?>>
										<span style="color:#000;">リロケーション</span>
									</label>

									<button type="button" class="button color silver ml30" onclick="search_run();">検索</button>
								</p>
							</div>

							<div class="cl">&nbsp;</div>

						</form>

					</div>
					<!-- End Form -->

					<!-- Box Head -->
					<div class="box-head">
						<h2 class="left">抽出条件・手数料合計</h2>
						<div class="right">
							<div class="cl">&nbsp;</div>
						</div>
					</div>
					<!-- End Box Head -->
开发者ID:aim-web-projects,项目名称:mansion,代码行数:66,代码来源:tesuryo_l.php


示例14: out_html


//.........这里部分代码省略.........
				</li>

				<li>
					<a href="./sublease.php">サブリースについて</a>|
				</li>

				<li>
					<a href="./case_study.php">ケーススタディ</a>|
				</li>

				<li>
					<a href="./faq.php">よくある質問</a>|
				</li>

				<li>
					<a href="./post_company.php">提携企業一覧</a>|
				</li>

				<li>
					<a href="./ads.php">広告掲載について</a>
				</li>	
			</ul>
		</div>
		<div class="clearfix"></div>
	</div>

	<div class="main ads">
		<div class="pan"><a href="index.php">トップ</a> > 広告掲載について</div>
		<div class="left">
			<div class="form-area">
				<h2><img src="img/title_ads.jpg" alt="広告掲載について"></h2>
<?php 
    if ($gc->form_mode == "message") {
        echo "<p style=\"margin-top: 10px;\"><strong>" . nl2br(f_hsc($gc->message)) . "</strong></p>";
    } elseif ($gc->form_mode == "confirm") {
        ?>
					<form name="form_data" action="ads.php" method="post" onsubmit="return false">
						<input name="mode" type="hidden" value="">
						<input name="token" type="hidden" value="<?php 
        echo f_hsc($gc->token);
        ?>
">
						<input name="company_nm" type="hidden" value="<?php 
        echo f_hsc($gc->company_nm);
        ?>
">
						<input name="busyo_nm" type="hidden" value="<?php 
        echo f_hsc($gc->busyo_nm);
        ?>
">
						<input name="lname" type="hidden" value="<?php 
        echo f_hsc($gc->lname);
        ?>
">
						<input name="fname" type="hidden" value="<?php 
        echo f_hsc($gc->fname);
        ?>
">
						<input name="lname_kn" type="hidden" value="<?php 
        echo f_hsc($gc->lname_kn);
        ?>
">
						<input name="fname_kn" type="hidden" value="<?php 
        echo f_hsc($gc->fname_kn);
        ?>
">
开发者ID:aim-web-projects,项目名称:mansion,代码行数:67,代码来源:ads.php


示例15: out_html


//.........这里部分代码省略.........
			<span>&gt;</span>
			提携会社ユーザー一覧
		</div>
		<!-- End Small Nav -->

		<!-- Main -->
		<div id="main">
			<div class="cl">&nbsp;</div>

			<!-- Content -->
			<div id="content">

				<!-- Box -->
				<div class="box">

					<!-- Box Head -->
					<div class="box-head">
						<h2 class="left"><b>提携会社ユーザー一覧</b></h2>
						<div class="right">
							<a href="c_user_e.php?mode=add" class="add-button"><span>新規追加</span></a>
						</div>
					</div>
					<!-- End Box Head -->

					<!-- Form -->
					<div class="form">

						<form name="form_search" action="c_user_l.php" method="get" onsubmit="return false">
							<input name="mode" type="hidden" value="">

							<div class="box-size2 left">
								<p class="inline-field">
									<label style="display:inline;">提携会社名:</label>
									<input name="company_nm" type="text" class="field size3" value="<?php echo f_hsc($gc->company_nm) ?>" />
									<button type="button" class="button color silver ml05" onclick="run_submit('form_search', 'search');">検索</button>
								</p>
							</div>

							<div class="cl">&nbsp;</div>

						</form>

					</div>
					<!-- End Form -->

					<!-- Table -->
					<div class="table">

<?php if($row_count > 0){ ?>
						<!-- Pagging -->
						<div class="pagging">
							<div class="box-l">
								<?php echo $page_arr["cmes_str"].$page_arr["par1_str"].$page_arr["par2_str"]; ?>
							</div>
							<div class="box-c">
								<div class="margin-center">
									<?php echo $page_arr["back_str"].$page_arr["list_str"].$page_arr["deno_str"].$page_arr["next_str"]; ?>
								</div>
							</div>
							<div class="box-r">
								<label>表示件数:</label>
								<?php echo $page_arr["plst_str"] ?>
							</div>
						</div>
						<!-- End Pagging -->
<?php } ?>
开发者ID:aim-web-projects,项目名称:mansion,代码行数:67,代码来源:c_user_l.php


示例16: fsel_get_town

function fsel_get_town($gc, $shikucyouson_no, $select, $name_flg = false)
{
    if (!is_numeric($shikucyouson_no)) {
        $shikucyouson_no = 0;
    }
    $idx = 0;
    $list[$idx]["cd"] = "";
    $list[$idx]["nm"] = "町名を選択";
    $idx++;
    $sql = "SELECT";
    $sql .= " town_nm ";
    $sql .= "FROM";
    $sql .= " propertylist ";
    $sql .= "WHERE";
    $sql .= " shikucyouson_no = " . $shikucyouson_no . " ";
    $sql .= "GROUP BY town_nm ";
    $sql .= "ORDER BY";
    $sql .= " town_nm";
    //JISの並び順
    $rs = $gc->db->query($sql);
    while ($rs->eof == false) {
        $list[$idx]["cd"] = $rs->fields["town_nm"];
        $list[$idx]["nm"] = $rs->fields["town_nm"];
        $idx++;
        $rs->move_next();
    }
    $rs->free_result();
    $optons = "";
    $wk_name = "";
    for ($i = 0; $i < count($list); $i++) {
        $selected = "";
        if ($list[$i]["cd"] == $select) {
            $selected = " selected";
            $wk_name = $list[$i]["nm"];
        }
        $optons .= "<option value=\"" . $list[$i]["cd"] . "\"" . $selected . ">" . f_hsc($list[$i]["nm"]) . "</option>";
    }
    if ($name_flg) {
        return $wk_name;
    } else {
        return $optons;
    }
}
开发者ID:aim-web-projects,项目名称:mansion,代码行数:43,代码来源:lib_sel_area.php


示例17: out_html_shikucyouson

function out_html_shikucyouson($gc, $todoufuken_no, $rank_no) {

	$sql = "SELECT";
	$sql.= " shikucyouson_nm ";
	$sql.= "FROM";
	$sql.= " m_shikucyouson ";
	$sql.= "WHERE";
	$sql.= " todoufuken_no = ".$todoufuken_no." AND";
	$sql.= " rank_no = ".$rank_no." ";
	$sql.= "ORDER BY";
	$sql.= " sort_no";

	$rs = $gc->db->query($sql);

?>

<div class="" style="width:800px;">

<?php

	while ($rs->eof==false) {

		$shikucyouson_nm = $rs->fields["shikucyouson_nm"];

		echo "<div style=\"white-space:nowrap; margin: 2px 7px 5px; float:left;\">";
		echo f_hsc("・".$shikucyouson_nm);
		echo "</div>";

		$rs->move_next();

	}

	$rs->free_result();

?>

</div>

<?php
}
开发者ID:aim-web-projects,项目名称:mansion,代码行数:40,代码来源:area_r.php


示例18: out_html

function out_html($gc) {

	if($gc->form_mode == "confirm"){
		if($gc->act == "i"){
			$gc->mode_title = "[追加・確認]";
		}else{
			$gc->mode_title = "[編集・確認]";
		}
	}elseif($gc->form_mode == "message"){
		$gc->mode_title = "[完了]";
	}else{
		if($gc->act == "i"){
			$gc->mode_title = "[追加]";
		}else{
			$gc->mode_title = "[編集]";
		}
	}
	//表示方法
	fdiv_set_display_radio($gc, $gc->display_flg, "display_flg");

	//ラジオボタン設定
	fdiv_set_company_kbn_radio($gc, $gc->company_kbn, "company_kbn");

	//チェックボックス設定
	fdiv_set_checkbox($gc, "賃貸仲介", ($gc->chintai_flg=="1"), "chintai_flg");
	fdiv_set_checkbox($gc, "サブリース", ($gc->sublease_flg=="1"), "sublease_flg");
	fdiv_set_checkbox($gc, "リロケーション", ($gc->relocation_flg=="1"), "relocation_flg");
	fdiv_set_checkbox($gc, "掲載する", ($gc->keisai_flg=="1"), "keisai_flg");
	fdiv_set_checkbox($gc, "企業ロゴをTOP画面に表示しない", ($gc->keisai_logo_flg=="1"), "keisai_logo_flg");
	fdiv_set_checkbox($gc, "掲載会社一覧に表示しない", ($gc->keisai_comment_flg=="1"), "keisai_comment_flg");
	fdiv_set_checkbox($gc, "分譲マンション", ($gc->buken_mansion_flg=="1"), "buken_mansion_flg");
	fdiv_set_checkbox($gc, "一戸建て", ($gc->buken_kodate_flg=="1"), "buken_kodate_flg");
	fdiv_set_checkbox($gc, "一棟アパート・マンション", ($gc->buken_ittou_flg=="1"), "buken_ittou_flg");
	fdiv_set_checkbox($gc, "", ($gc->light_flg=="1"), "light_flg");

	//郵便番号
	$gc->zip = $gc->zip1."-".$gc->zip2;
	if (!preg_match("/^\d{3}\-\d{4}$/", $gc->zip)) {
		$gc->zip = "";
	}

	//郵便番号
	$gc->sk_zip = $gc->sk_zip1."-".$gc->sk_zip2;
	if (!preg_match("/^\d{3}\-\d{4}$/", $gc->sk_zip)) {
		$gc->sk_zip = "";
	}

	//ロゴ画像
	if (strlen($gc->img_nm.$gc->img_tmp_nm) > 0) {
		$gc->img_show = true;
	}else{
		$gc->img_show = false;
	}

	if (strlen($gc->img_tmp_nm) > 0) {
		$gc->img_src = fimg_img_src_ssl($gc->img_tmp_nm, "tmp");
	}else{
		$gc->img_src = fimg_img_src_ssl($gc->img_nm, "logo");
	}

	if($gc->img_del=="y"){
		$gc->img_del_checked = " checked";
	}

?>
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8" />
<title>基本情報<?php echo f_hsc($gc->mode_title)?></title>
<!-- *** stylesheet *** -->
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<script src="../js/jquery-1.9.1.js"></script>
<script src="../js/jquery-ui-1.10.3.custom.min.js"></script>
<!-- *** javascript *** -->
<script language="JavaScript">
<!--
$(function() {

	if($('#plan_flg').val() == 0 || $('#plan_flg').val() == 2){
		$('#light_ritu').attr('disabled', 'disabled');
		$("#light_ritu").css('backgroundColor', '#F2F2F2');
	}else{
		$('#light_ritu').attr('disabled', false);
		$("#light_ritu").c 

鲜花

握手

雷人

路过

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

请发表评论

全部评论

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