mefe emlak editlenmiş sicripte referans kodu ile arama sorunu yaşıyoruz
dogru ilan kodu yazip arama yapmamıza ragmen messages.html sayfasına yönlendiriyor lütfen yardım edin arkadaşlar
// parseInt(frm.m_max.value)) { Error = ""; } } } if (Error=='') { if (frm.p_min.value != '' && frm.p_max.value != '') { if(parseInt(frm.p_min.value) > parseInt(frm.p_max.value)) { Error = ""; } } } if (Error=='') return true; else alert(Error); return false;
}
function myFormSubmitSearch() { if (frmSubmitSearch() ) { document.frmSearch.submit(); } else { return false; } }
function frmSubmitMailList() { var frm = document.frmMailList; Error = ""; validateNotEmpty(frm.first_last_name, ''); if (Error=='') validateEmail(frm.email, ''); if (Error=='') return true; else alert(Error); return false;
}
function myFormSubmitMailList() { if (frmSubmitMailList() ) { document.frmMailList.submit(); } else { return false; } }
function frmSubmitRefNo() { var frm = document.frmRefNo; Error = ""; validateNotEmpty(frm.RefNo, ''); if (Error=='') return true; else alert(Error); return false;
}
function myFormSubmitRefNo() { if (frmSubmitRefNo() ) { document.frmRefNo.submit(); } else { return false; } }
function SelectTownShip() { document.frmSearch.township_id.value = document.getElementById("TownShip").value; }
function clickclear(thisfield, defaulttext) { if (thisfield.value == defaulttext) { thisfield.value = ""; } }
function clickrecall(thisfield, defaulttext) { if (thisfield.value == "") { thisfield.value = defaulttext; } }
// ]]>
//
0) { ?>
![](https://phpkodlari.com/images/spacer.gif)
![](https://phpkodlari.com/images/emlak_arama.jpg)
![](https://phpkodlari.com/images/spacer.gif)
:
:
:
:
:
![](https://phpkodlari.com/images/spacer.gif)
![](https://phpkodlari.com/images/spacer.gif)
:
![](https://phpkodlari.com/images/spacer.gif)
![](https://phpkodlari.com/images/ozel_emlak.jpg)
![](https://phpkodlari.com/images/spacer.gif)
![](https://phpkodlari.com/images/referans_kodu.jpg)
![](https://phpkodlari.com/images/spacer.gif)
![](https://phpkodlari.com/images/spacer.gif)
:
![](https://phpkodlari.com/images/spacer.gif)
![](https://phpkodlari.com/images/spacer.gif)
![](https://phpkodlari.com/images/spacer.gif)
![](https://phpkodlari.com/images/eposta_liste.jpg)
![](https://phpkodlari.com/images/spacer.gif)
![](https://phpkodlari.com/images/spacer.gif)
:
![](https://phpkodlari.com/images/spacer.gif)
![](https://phpkodlari.com/images/spacer.gif)
:
![](https://phpkodlari.com/images/spacer.gif)
![](https://phpkodlari.com/images/spacer.gif)
![](https://phpkodlari.com/images/spacer.gif)
![](https://phpkodlari.com/images/spacer.gif)
![](https://phpkodlari.com/images/spacer.gif)
>
![](https://phpkodlari.com/images/spacer.gif)
![](https://phpkodlari.com/images/spacer.gif)
kodları eklemeye çalıştım ama olmadı galiba birde normal yazayım
<? include("js/ajaxjs.html");?>
<script language='JavaScript'>
function frmSubmitSearch() {
var frm = document.frmSearch;
Error = "";
validateZeroOne(frm.City, '<?=($_SESSION['QuestionSelectCity'])?>');
if (Error=='')
{
if (frm.m_min.value != '<?=($_SESSION['PWith'])?>' && frm.m_max.value != '<?=($_SESSION['PBetween'])?>')
{
if(parseInt(frm.m_min.value) > parseInt(frm.m_max.value))
{
Error = "<?=($_SESSION['QuestionSquareMeter'])?>";
}
}
}
if (Error=='')
{
if (frm.p_min.value != '<?=($_SESSION['PWith'])?>' && frm.p_max.value != '<?=($_SESSION['PBetween'])?>')
{
if(parseInt(frm.p_min.value) > parseInt(frm.p_max.value))
{
Error = "<?=($_SESSION['QuestionWithPrice'])?>";
}
}
}
if (Error=='')
return true;
else
alert(Error);
return false;
}
function myFormSubmitSearch() {
if (frmSubmitSearch() ) {
document.frmSearch.submit();
} else {
return false;
}
}
function frmSubmitMailList() {
var frm = document.frmMailList;
Error = "";
validateNotEmpty(frm.first_last_name, '<?=($_SESSION['QuestionFirstLastName'])?>');
if (Error=='')
validateEmail(frm.email, '<?=($_SESSION['QuestionEmail'])?>');
if (Error=='')
return true;
else
alert(Error);
return false;
}
function myFormSubmitMailList() {
if (frmSubmitMailList() ) {
document.frmMailList.submit();
} else {
return false;
}
}
function frmSubmitRefNo() {
var frm = document.frmRefNo;
Error = "";
validateNotEmpty(frm.RefNo, '<?=($_SESSION['QuestionRefNo'])?>');
if (Error=='')
return true;
else
alert(Error);
return false;
}
function myFormSubmitRefNo() {
if (frmSubmitRefNo() ) {
document.frmRefNo.submit();
} else {
return false;
}
}
function SelectTownShip() {
document.frmSearch.township_id.value = document.getElementById("TownShip").value;
}
function clickclear(thisfield, defaulttext) {
if (thisfield.value == defaulttext) {
thisfield.value = "";
}
}
function clickrecall(thisfield, defaulttext) {
if (thisfield.value == "") {
thisfield.value = defaulttext;
}
}
</script>
<script>
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="4"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="6"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<form method="post" name="frmSearch" id="frmSearch" action="search.html" onSubmit="return frmSubmitSearch()">
<input type="hidden" name="miSend" id="miSend" value="1">
<input type="hidden" name="Action" id="Action" value="Search">
<input type="hidden" name="township_id" id="township_id" value="-1">
<tr>
<td height="20" class="mavi"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="FontWhiteBold"><img src="images/emlak_arama.jpg" width="189" height="35" /></td>
</tr>
</table></td>
</tr>
<tr>
<td height="6"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="76" height="21" align="left" class="BrownText10"><?=($_SESSION['CityName'])?></td>
<td width="7" class="BrownText">:</td>
<td align="left"><?=(GetSelectListGlobal("City", "SelectSearch", "".$_SESSION['Selected']."", $rsEdit['CityID'], "select * from t_properties where PageType='City' and Visible='1' order by Seq asc", "ID", "Name", "onChange=\"GetAjax('include/ajax.html?GetTowbShip=1&SelectClass=SelectSearch&LangID=".GetName("select * from t_lang where Name='".$_SESSION['Lang']."'", "ID")."&CityID=', 'ShowTownship')\""))?></td>
</tr>
<tr>
<td height="21" class="BrownText10"><?=($_SESSION['TownShip'])?></td>
<td class="BrownText">:</td>
<td><div id='ShowTownship'>
<select name="TownShip" id="TownShip" class="SelectSearch">
<option value="-1"><?=($_SESSION['Selected'])?></option>
</select>
</div></td>
</tr>
<tr>
<td height="21" class="BrownText10"><?=($_SESSION['Status'])?></td>
<td class="BrownText">:</td>
<td><?=(GetSelectListGlobal("EstateStatus", "SelectSearch", "".$_SESSION['Selected']."", $rsEdit['EstateStatus'], "select * from t_properties where PageType='EstateStatus' and PageLang='".$_SESSION['Lang']."' order by Seq asc", "ItemID", "Name", ""))?></td>
</tr>
<tr>
<td height="21" class="BrownText10"><?=($_SESSION['Type'])?></td>
<td class="BrownText">:</td>
<td><?=(GetSelectListGlobal("EstateType", "SelectSearch", "".$_SESSION['Selected']."", $rsEdit['EstateType'], "select * from t_properties where PageType='EstateType' and PageLang='".$_SESSION['Lang']."' order by Seq asc", "ItemID", "Name", ""))?></td>
</tr>
<tr>
<td height="21" class="BrownText10"><?=($_SESSION['SquareMeter'])?></td>
<td class="BrownText">:</td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30" valign="top"><input name="m_min" type="text" class="Inputnew50" id="m_min" onblur="clickrecall(this,'<?=($_SESSION['PWith'])?>')" onclick="clickclear(this, '<?=($_SESSION['PWith'])?>')" onKeyDown="return CheckNumberCode(event);" value="<?=($_SESSION['PWith'])?>"></td>
<td width="5"><img src="images/spacer.gif" width="1" height="1" /></td>
<td width="30"><input name="m_max" type="text" class="Inputnew50" id="m_max" onblur="clickrecall(this,'<?=($_SESSION['PBetween'])?>')" onclick="clickclear(this, '<?=($_SESSION['PBetween'])?>')" onKeyDown="return CheckNumberCode(event);" value="<?=($_SESSION['PBetween'])?>"></td>
<td width="5"><img src="images/spacer.gif" width="1" height="1" /></td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="21" class="BrownText10"><?=($_SESSION['Price'])?></td>
<td class="BrownText">:</td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30"><input name="p_min" type="text" class="Inputnew50" id="p_min" onblur="clickrecall(this,'<?=($_SESSION['PWith'])?>')" onclick="clickclear(this, '<?=($_SESSION['PWith'])?>')" onKeyDown="return CheckNumberCode(event);" value="<?=($_SESSION['PWith'])?>"></td>
<td width="5"><img src="images/spacer.gif" width="1" height="1" /></td>
<td width="30"><input name="p_max" type="text" class="Inputnew50" id="p_max" onblur="clickrecall(this,'<?=($_SESSION['PBetween'])?>')" onclick="clickclear(this, '<?=($_SESSION['PBetween'])?>')" onKeyDown="return CheckNumberCode(event);" value="<?=($_SESSION['PBetween'])?>"></td>
<td width="5"><img src="images/spacer.gif" width="1" height="1" /></td>
<td> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="4"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="35%" align="center"> </td>
<td width="65%" align="center"><input type="button" onclick="return myFormSubmitSearch()" class="Button" value="<?=($_SESSION['Search'])?>" /></td>
</tr>
</table>
<br />
<table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="FontWhiteBold" class="mavi"><img src="images/ozel_emlak.jpg" width="189" height="35" /></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><iframe frameborder="0" scrolling="No" height="184" width="184" src="private_advert.html" marginheight="0" marginwidth="0"></iframe></td>
</tr>
</table></td>
</tr>
<tr>
<td height="8"><img src="images/spacer.gif" width="1" height="1"></td>
</tr>
</form>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<form method="post" name="frmRefNo" id="frmRefNo" action="messages.html" onSubmit="return frmSubmitRefNo()">
<input type="hidden" name="miSend" id="miSend" value="1">
<input type="hidden" name="Action" id="Action" value="RefNoSearch">
<tr>
<td height="20" class="mavi"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="FontWhiteBold"><img src="images/referans_kodu.jpg" width="189" height="35" /></td>
</tr>
</table></td>
</tr>
<tr>
<td height="5"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td height="3"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td class="BrownText10"><?=($_SESSION['RefNo'])?>
:</td>
</tr>
<tr>
<td height="6"><input name="RefNo" type="text" class="Input100" id="RefNo"></td>
</tr>
<tr>
<td height="5"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td height="6"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><input name="button" type="button" class="Button" onClick="return myFormSubmitRefNo()" value="<?=($_SESSION['Search'])?>"></td>
<td width="3"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
</table></td>
</tr>
</form>
</table></td>
</tr>
<tr>
<td height="8"><img src="images/spacer.gif" width="1" height="1"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<form method="post" name="frmMailList" id="frmMailList" action="messages.html" onSubmit="return frmSubmitMailList()">
<input type="hidden" name="miSend" id="miSend" value="1">
<input type="hidden" name="Action" id="Action" value="MailList">
<tr>
<td height="20" class="mavi"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="FontWhiteBold"><img src="images/eposta_liste.jpg" width="189" height="35" /></td>
</tr>
</table></td>
</tr>
<tr>
<td height="5"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td class="BrownTextRegular10"><?=($_SESSION['MailListSave'])?></td>
</tr>
<tr>
<td height="6"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td class="BrownText10"><?=($_SESSION['FirstName']. " ".$_SESSION['LastName'])?>
:</td>
</tr>
<tr>
<td height="3"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td height="6"><input name="first_last_name" type="text" class="Input100" id="first_last_name"></td>
</tr>
<tr>
<td height="3"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td class="BrownText10"><?=($_SESSION['Email'])?>
:</td>
</tr>
<tr>
<td height="6"><input name="email" type="text" class="Input100" id="email"></td>
</tr>
<tr>
<td height="5"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td height="6"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><input type="button" onClick="return myFormSubmitMailList()" class="Button" value="<?=($_SESSION['SendButton'])?>"></td>
<td width="3"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
</table></td>
</tr>
</form>
</table></td>
</tr>
<tr>
<td height="6"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td height="8"><img src="images/spacer.gif" width="1" height="1"></td>
</tr>
<?
if(CountRow("select count(*) as count_row from t_poll where Visible='1'")>0) {
?>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<form name="frmPoll" action="poll.html" method="post">
<input type="hidden" name="miSend" id="miSend" value="1">
<?
$sql = "select * from t_poll where PageLang='".$_SESSION['Lang']."' and Visible='1' order by Seq asc";
$qrP = mysql_query($sql);
$rsP = mysql_fetch_array($qrP);
?>
<input type="hidden" name="ParentID" id="ParentID" value="<?=($rsP['ItemID'])?>">
<tr>
<td height="20" class="mavi"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="35" background="images/anket.jpg" class="FontWhiteBold"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="5"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td class="BrownTextRegular10"><?=($rsP['Name'])?></td>
</tr>
<tr>
<td height="5"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="2" cellpadding="0">
<?
$sql = "select * from t_poll_details where PageLang='".$_SESSION['Lang']."' and Visible='1' and ParentID='".$rsP['ItemID']."' and Visible='1' order by Seq asc";
$x = 1;
$qrPoll = mysql_query($sql);
while($rsPoll = mysql_fetch_array($qrPoll)) {
?>
<tr>
<td width="10" bgcolor="#9BCD9B"><input name="ItemID" id="ItemID" type="radio" value="<?=($rsPoll['ItemID'])?>" <?=($x==1?"checked":"")?>></td>
<td bgcolor="#9BCD9B" class="BrownTextRegular10"> <?=($rsPoll['Name'])?></td>
</tr>
<?
$x++;
} ?>
</table></td>
</tr>
<tr>
<td height="8"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><a href="poll.html" class="BlackLink"><font color="#6A6A6A"><u><?=($_SESSION['PollResult'])?></u></font></a> <input name="button" type="submit" class="Button" value="<?=($_SESSION['SendButton'])?>"></td>
<td width="3"><img src="images/spacer.gif" width="1" height="1" /></td>
</tr>
</table></td>
</tr>
</form>
</table></td>
</tr>
<? } ?>
<?
$sql = "select * from t_weather";
$qrW = mysql_query($sql);
$rsW = mysql_fetch_array($qrW);
if($rsW['Visible'] == 1) {
?>
<? } ?>
<? if(1==2) { ?>
<? } ?>
</table>
Zaman
2011-06-03 20:07:33Php referans kodu ile arama sorunu