<?php
require_once("../../search/setup/reform/common/my.php");
//require_once("../../estate/search/setup/reform/common/my.php");
connect_db();

$PAGEROW = 20;
$s = "";

if(isset($_GET[tantou]))
{
	if($_GET[tantou] == "simoi")
	{
		$s = "下井 清明";
	}
	else if($_GET[tantou] == "inui")
	{
		$s = "乾 雅一";
	}
	else if($_GET[tantou] == "endo")
	{
		$s = "遠藤 篤";
	}
	else if($_GET[tantou] == "isihara")
	{
		$s = "石原 健";
	}
	
	$sql="select * from voice where tantou='" . $s . "' order by num desc";
}
else
{
	$sql="select * from voice order by num desc";
}
$result = mysql_query($sql);
$rowNum = mysql_num_rows($result);
$start = 1;
$end = 1;

if(isset($_GET[tantou]))
{
	if(isset($_GET[cnt]))
	{
		$sql="select * from voice where tantou='" . $s . "' order by num desc limit " . ($_GET[cnt] - 1)*$PAGEROW . "," . $PAGEROW;
		$start = ($_GET[cnt] - 1)*$PAGEROW + 1;
		$end = ($rowNum - ($_GET[cnt] - 1)*$PAGEROW > $PAGEROW) ? $PAGEROW + ($_GET[cnt] - 1)*$PAGEROW : $rowNum;
	}
	else
	{
		$sql="select * from voice where tantou='" . $s . "' order by num desc limit 0," . $PAGEROW;
		$start = 1;
		$end = ($rowNum > $PAGEROW) ? $PAGEROW : $rowNum;
	}	
}
else
{
	if(isset($_GET[cnt]))
	{
		$sql="select * from voice order by num desc limit " . ($_GET[cnt] - 1)*$PAGEROW . "," . $PAGEROW;
		$start = ($_GET[cnt] - 1)*$PAGEROW + 1;
		$end = ($rowNum - ($_GET[cnt] - 1)*$PAGEROW > $PAGEROW) ? $PAGEROW + ($_GET[cnt] - 1)*$PAGEROW : $rowNum;
	}
	else
	{
		$sql="select * from voice order by num desc limit 0," . $PAGEROW;
		$start = 1;
		$end = ($rowNum > $PAGEROW) ? $PAGEROW : $rowNum;
	}
}
$result = mysql_query($sql);

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
<head>
<meta http-equiv="content-type" content="text/html; charset=EUC-JP" />
<title>アイスタイルお客様の声｜広島不動産投資なら広島不動産投資.comアイスタイル株式会社</title>
<meta name="keywords" content="広島不動産,広島賃貸,広島不動産投資,広島,不動産,投資,悩み解決,アドバイス,投資,お客様の声　口コミ" />
<meta name="description" content="広島不動産・広島賃貸・広島不動産投資なら広島不動
産.com。広島不動産売買.comでは売買情報、広島不動産賃貸.comでは賃貸物件情報、広
島不動産投資.comでは投資用不動産情報を扱っております。">
<link rel="canonical" href="http://estate.io"/>
<link href="../css/base.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery-1.3.1.min.js" charset="utf-8"></script>
<script type="text/javascript" src="../js/jquery.page-scroller-305.js" charset="utf-8"></script>
<link href="../css/voice.css" rel="stylesheet" type="text/css" />
<link href="../css/navi.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6894179-1");
pageTracker._trackPageview();
} catch(err) {}</script>

</head>
<body onContextmenu="return false">
<a name="pagetop" id="pagetop"></a>
<div id="container">
  <div id="header" class="clearfix"> <a href="../index.html"><img src="../img/h1_logo.jpg" alt="" width="120" height="60" class="logo" /></a>
    <a href="#" onClick="javascript:window.external.AddFavorite('http://estate.io/buy','広島不動産売買.com');return false"><img src="../img/bookmark.jpg" alt="このサイトをお気に入りに追加する" width="190" height="23" class="bookmark" /></a>
	 <h1>広島不動産・広島賃貸・広島売買・広島不動産投資は広島不動産.com</h1>
	<a href="../contact/index.php"><img src="../img/free_bnr.jpg" alt="無料個別相談はこちら" width="205" height="26" class="free" /></a>
    <ul class="navi">
      <li class="navi_okomarino"><a href="../okomarino/index.html" title="不動産投資でお困りのあなた様へ">不動産投資でお困りのあなた様へ</a></li>
      <li class="navi_start"><a href="../start/index.html" title="不動産投資を始めたいあなた様へ">不動産投資を始めたいあなた様へ</a></li>
      <li class="navi_voice"><a href="../voice/index.php" title="ありがたい お客様の声">ありがたい お客様の声</a></li>
      <li class="navi_search"><a href="../search/index.html" title="投資用不動産 物件一覧">投資用不動産 物件一覧</a></li>
      <li class="navi_istyle"><a href="../istyle/index.html" title="アイスタイルの強み アイスタイルだからこそできる事">アイスタイルの強み アイスタイルだからこそできる事</a></li>
      <li class="navi_contact"><a href="../contact/index.php" title="電話・メール お問合せ">電話・メール お問合せ</a></li>
    </ul>
  </div>
  <!-- /header -->

<div class="head_bar"><a href="http://estate.io/">広島不動産.com</a> ＞<a href="../index.html"> 広島不動産投資.com</a> ＞<strong> お客様の声</strong></div>
<div id="voice">
    <H3>お客様の声</H3>
    <h4>弊社をご利用いただいたお客様の生の声です。 直筆、写真付き（一部）もぜひご覧ください。 </h4>
    <p class="description">たくさんの出逢いの中にもそれぞれのドラマがあります。 <br />
      人生の大きな岐路に携わり、ともに悩み、ともに乗り越え、信頼していただける関係になりました。そんなドラマのラストシーンです。 </p>
    <div style="margin: 0 25px 10px 25px;">
   		<p><?=$start?>〜<?=$end?>件表示（<?=$rowNum?>件中）　
		<?
			if(isset($_GET[tantou]))
			{
				$i=0;
				while(($i++) * $PAGEROW < $rowNum)
				{
					if(isset($_GET[cnt]))
					{
						if($_GET[cnt]==$i)
						{
							echo "[" . $i . "]";
						}
						else
						{
							echo "[<a href='index.php?tantou=" . $_GET[tantou] . "&&cnt=" . $i . "'>" . $i . "</a>]";
						}
					}
					else
					{
						if(1==$i)
						{
							echo "[" . $i . "]";
						}
						else
						{
							echo "[<a href='index.p?tantou=" . $_GET[tantou] . "&&cnt=" . $i . "'>" . $i . "</a>]";
						}
					}	
				}
			}
			else
			{
				$i=0;
				while(($i++) * $PAGEROW < $rowNum)
				{
					if(isset($_GET[cnt]))
					{
						if($_GET[cnt]==$i)
						{
							echo "[" . $i . "]";
						}
						else
						{
							echo "[<a href='index.php?cnt=" . $i . "'>" . $i . "</a>]";
						}
					}
					else
					{
						if(1==$i)
						{
							echo "[" . $i . "]";
						}
						else
						{
							echo "[<a href='index.php?cnt=" . $i . "'>" . $i . "</a>]";
						}
					}	
				}
			}
		?>
		</p>
    </div>
    <?php
		while($row = mysql_fetch_array($result))
		{
			if($row['type1']=="売却")
			{
				$type = "sell";
			}
			else if($row['type1']=="購入")
			{
				$type = "buy";
			}
			else if($row['type1']=="賃貸")
			{
				$type = "rent";
			}
			else if($row['type1']=="投資")
			{
				$type = "unyou";
			}
			else if($row['type1']=="リフォーム")
			{
				$type = "reform";
			}
			else if($row['type1']=="売却・購入")
			{
				$type = "baikou";
			}
			else if($row['type1']=="買取")
			{
				$type = "kaitori";
			}
			else
			{
				$type = "sell";
			}	?>
    
    <div class="letter <?=$type?>">
      <div class="left">
        <p class="number"><?=sprintf("%03d", $row['num']);?></p>
        <p class="category"><?=$row['type1']?></p>
        <h5><a href="v_detail.php?id=<?=$row['id']?>"><?=$row['title']?></a></h5>
        <table border="0" cellspacing="0" cellpadding="0">
          <tr>
            <th>ご住所</th>
			 		 <td><?=$row['address']?></td>
          </tr>
          <tr>
            <th>お名前</th>
					  <td><?=$row['name'] . "　" . $row['age']?>歳</td>
          </tr>
        </table>
      </div>
      <div class="right"><a href="v_detail.php?id=<?=$row['id']?>"><img src="../../search/setup/voice/<?=($row['img1']!=""?$row['img1']:"img/noimage.jpg")?>" alt="" height="120"/></a></div>
    </div>

<?
}
?>    
    
    
    
    
    <div style="margin: 0 25px 20px 25px; clear: both;">
		<?
			if(isset($_GET[tantou]))
			{
				$i=0;
				while(($i++) * $PAGEROW < $rowNum)
				{
					if(isset($_GET[cnt]))
					{
						if($_GET[cnt]==$i)
						{
							echo "[" . $i . "]";
						}
						else
						{
							echo "[<a href='index.php?tantou=" . $_GET[tantou] . "&&cnt=" . $i . "'>" . $i . "</a>]";
						}
					}
					else
					{
						if(1==$i)
						{
							echo "[" . $i . "]";
						}
						else
						{
							echo "[<a href='index.php?tantou=" . $_GET[tantou] . "&&cnt=" . $i . "'>" . $i . "</a>]";
						}
					}	
				}
			}
			else
			{
				$i=0;
				while(($i++) * $PAGEROW < $rowNum)
				{
					if(isset($_GET[cnt]))
					{
						if($_GET[cnt]==$i)
						{
							echo "[" . $i . "]";
						}
						else
						{
							echo "[<a href='index.php?cnt=" . $i . "'>" . $i . "</a>]";
						}
					}
					else
					{
						if(1==$i)
						{
							echo "[" . $i . "]";
						}
						else
						{
							echo "[<a href='index.php?cnt=" . $i . "'>" . $i . "</a>]";
						}
					}	
				}
			}
		?>
		</p>    </div>
  </div>
  <div id="footer">
<div class="f_con">
<ul class="f_navi01" style="visibility: hidden;">
<li><a href="http://www.istyle-buy.jp/"><img src="../img/f_navi_buy.jpg" alt="広島不動産　売買.com" /></a></li>
<li><a href="http://www.estate.io/rent/index.html"><img src="../img/f_navi_rent.jpg" alt="広島不動産　賃貸.com" /></a></li>
<li><a href="http://www.estate.io/buy/sell/index.html"><img src="../img/f_navi_sell.jpg" alt="広島不動産　売却.com" /></a></li>
<li><a href="http://estate.io/invest/index.html"><img src="../img/f_navi_invest.jpg" alt="広島不動産　投資.com" /></a></li>
<li><a href="http://www.estate.io/buy/reform/index.html"><img src="../img/f_navi_reform.jpg" alt="リフォーム＆リノベーション" /></a></li>
<li><a href="http://deco7.exblog.jp/" target="_blank"><img src="../img/f_navi_deco.jpg" alt="DECO 不動産" /></a></li>
<li class="last"><a href="http://www.renovation.or.jp/" target="_blank"><img src="../img/f_navi_renove.jpg" alt="かえる。くらし。すまい。" /></a></li>
</ul>
<!-- /f_navi -->
<div class="address">
<h2>アイスタイル株式会社</h2>
<div class="ban_tel">082-240-9911</div>
<p>〒730-0037　広島市中区中町7-35　和光中町ビル2F<br />
FAX    082-236-3388<br />
E-mail  <a href="mailto:info@estate.io">info@estate.io</a></p>
</div><!-- /address -->
<div class="map"><img src="../img/index/footer_map.gif" alt="アクセス" width="150" height="135" border="0" /></div>

<div class="f_ban">
<a href="http://ameblo.jp/spiral-ken/" target="_blank"><img src="../img/f_ban01.jpg" alt="広島ではたらく不動産会社社長の日常" class="img01" /></a>
<a href="http://ameblo.jp/spiral-estate/" target="_blank"><img src="../img/f_ban02.jpg" alt="広島ではたらく不動産屋　アイスタイルの日記" class="img02" /></a>
<a href="http://estateio.seesaa.net/" target="_blank"><img src="../img/f_ban03.jpg" alt="Istyle×生活美学" class="img02" /></a>
<a href="../contact/index.php"><img src="../img/f_ban_contact.jpg" alt="お問い合わせ・お見積もり" border="0" class="contact"  /></a></div>
<!-- /f_ban -->

<ul class="f_navi02">
<li><a href="http://estate.io/">HOME</a></li>
<li><a href="../../buy/company/index.html">会社案内</a></li>
<li>採用情報</li>
<li><a href="../../buy/company/privacy.html">個人情報保護方針</a></li>
<li><a href="../sitemap.html">サイトマップ</a></li>

</ul><!-- /f_navi02 -->
</div><!-- /f_con -->
</div><!-- /footer -->
	
</div><!--container_end-->
	
</div><!--container_end-->
<?php include '../../common/access_code.php'; ?>
</body>
</html>
