Ответов: 1 Просмотров: 47
|
Привет всем я новечек в php и сильно не рублю.....
вот есть код
не работает в опере
PHP:
скопировать код в буфер обмена
<td><a href="#.htm" onClick="GetAjax('include/ajax.php?GetImage=1&ImageName=<?=($rsImage['Images'])?>', 'PageImage', '')"><img src="images/estate/<?=($rsImage['Images'])?>_small.jpg" width="120" height="90" border="0"></a></td> </tr>
ajax.php
PHP:
скопировать код в буфер обмена
<? /* author : mefe email, msn : mefe@mefe.net */ include("all.php"); header("Content-Type: text/xml; charset=UTF-8"); $LangName = GetName("select * from t_lang where ID='".$_GET['LangID']."'","Name"); if (isset($_GET['GetImage'])) { echo "<a href=\"javascript:popImage('images/estate/".$_GET['ImageName']."_big.jpg','RESİM','middle_center',true,false)\"><img src=\"images/estate/".$_GET['ImageName']."_normal.jpg\" onload=\"remove_loading()\" border=\"0\"></a>"; } if (isset($_GET['GetTowbShip'])) { echo GetSelectListGlobal("TownShip", "".$_GET['SelectClass']."", "".GetName("select * from t_page_lang where PageLang='".$LangName."' and LangVar='Selected'", "LangName")."", "", "select * from t_properties where PageType='TownShip' and ParentID='".$_GET['CityID']."' and Visible='1' order by Seq asc", "ID", "Name", "onChange=\"SelectTownShip()\""); } if (isset($_GET['GetEstateShowTownship'])) { echo GetSelectListGlobal("EstateTownShip", "".$_GET['SelectClass']."", "".GetName("select * from t_page_lang where PageLang='".$LangName."' and LangVar='Selected'", "LangName")."", "", "select * from t_properties where PageType='TownShip' and ParentID='".$_GET['CityID']."' and Visible='1' order by Seq asc", "ID", "Name", "onChange=\"EstateSelectTownShip()\""); } ?>
|