Файл: inc/top.inc.php
Строк: 196
<div class="header"><div class="topmenu_ac"><div class="topmenu_acl"><div class="topmenu_acr"><div class="topmenu_area"><p class="tml"></p><p></p><?
if(@$_SESSION['login']&& @$_SESSION['password']) echo "<a href="".$h."a/">".$lang[209]."</a><p></p>";
if (defined('USER_CITY_TITLE')) echo "<a href="#" title="".$lang[15]."" onclick="window.openCenteredWindow('".$h."city.html');">".USER_CITY_TITLE."</a><p></p>";
else echo " <a href="#" onclick="window.openCenteredWindow('".$h."city.html');">".$lang[1000]."</a><p></p>";
if(defined('COUNT_USER_NOTES'))echo "<a title="".$lang[501]."" href="".$h."note.html">".$lang[501]." (".COUNT_USER_NOTES.")</a><p></p>";
if (defined('USER')) echo "<a href="".$h."cpanel.html">".$lang[841]."</a><p></p><a href="".$h."profile.html">".$lang[880]."</a><p></p><a href="".$h."logout.html">".$lang[4]."</a><p></p>";
else echo "<a href="".$h."login.html">".$lang[1003]."</a><p></p><a href="".$h."register.html">".$lang[1004]."</a><p></p>";
?><a href="<?=$h?>ru.html" title="<?=$lang[1001]?>"><img class="absmid" alt="<?=$lang[1001]?>" src="<?=$im?>ru.gif" /></a><a title="<?=$lang[1002]?>" href="<?=$h?>en.html"><img class="absmid" alt="<?=$lang[1002]?>" src="<?=$im?>en.gif" /></a><p></p><a title="Rss" href="<?=$h?>rss.html"><img class="absmid" alt="rss" src="<?=$im?>rss11.gif" /></a><p></p><p class="tmr"></p></div></div></div></div><div class="clear" style="font-size:10px"> </div><div class="logo"><a href="<?=$h?>"><img alt="<?=$lang[84]?>" src="<?=$im?>logo.gif" /></a></div><div class="nav"><a href="<?=$h?>new.html" title="<?=$lang[595]?>"><img alt="<?=$lang[595]?>" id="bu1" src="<?=$im?>newmess.png" border="0" onmouseover="document.getElementById('bu1_ro').style.display='';document.getElementById('bu1').style.display='none';" /><img alt="<?=$lang[595]?>" id="bu1_ro" src="<?=$im?>newmess_ro.png" border="0" onmouseout="document.getElementById('bu1').style.display='';document.getElementById('bu1_ro').style.display='none';" style="display:none;" /></a> <a href="<?=$h?>newlist.html" title="<?=$lang[658]?>"><img alt="<?=$lang[658]?>" id="bu2" src="<?=$im?>lastmess.png" border="0" onmouseover="document.getElementById('bu2_ro').style.display='';document.getElementById('bu2').style.display='none';" /><img alt="<?=$lang[658]?>" id="bu2_ro" src="<?=$im?>lastmess_ro.png" border="0" onmouseout="document.getElementById('bu2').style.display='';document.getElementById('bu2_ro').style.display='none';" style="display:none;" /></a></div><div class="searchform"><form action="<?=$h?>"><input type="hidden" name="op" value="search" /><input name="query" type="text" size="15" value="<?=$lang[156]?>" onfocus="this.value=''" onblur="if (this.value==''){this.value='<?=$lang[156]?>'}" /><input type="submit" value="<?=$lang[1126]?>" /><br /><a style="border-bottom:1px dashed; text-decoration:none;" class="sm" onclick="toggle_s();return false;" href="<?=$h?>search.html" title="<?=$lang[146]?>"><?=$lang[146]?></a><div id="toggle_s"><div id="toggle_s_close"><a style="text-decoration:none;" class="sm b" onclick="toggle_s_close();return false;" href="#" title="close">X</a></div><select name="cat" style="width:300px;"><option value="0"><?=$lang[539]?></option><?
$name_cat=(defined('JBLANG') && constant('JBLANG')=='en')?"en_name_cat":"name_cat";
$categories=mysql_query("SELECT id,".$name_cat." FROM jb_board_cat WHERE root_category=0 ORDER by sort_index"); cq();
while($category=mysql_fetch_assoc($categories)) echo "<option value="".$category['id']."">".$category[$name_cat]."</option>";
?></select><div class="pad"></div><select name="type" style="width:300px;"><option value="0"><?=$lang[620]?></option><option value="p"><?=$lang[413]?></option><option value="s"><?=$lang[414]?></option><option value="u"><?=$lang[800]?></option><option value="o"><?=$lang[801]?></option></select><div class="pad"></div><select name="images" style="width:300px;"><option value="1" selected="selected"><?=$lang[657]?></option><option value="0"><?=$lang[656]?></option></select><div class="pad"></div><select name="city" style="width:300px;"><option value="1"><?=$lang[164]?></option><?
if(@constant('JBLANG')==="en")$qcity="en_city_name";else $qcity="city_name";
$q_city=mysql_query("SELECT id,".$qcity." FROM jb_city WHERE parent=0 ORDER by sort_index");cq();
while($city=mysql_fetch_assoc($q_city))echo "<option value="".$city['id']."">".$city[$qcity]."</option>";
?></select><div class="pad"></div><input size="10" type="text" name="from" onkeyup="ff2(this)" /> — <input size="10" type="text" name="before" onkeyup="ff2(this)" /> <?=$lang[1008]?> (<?=$lang[1010]?>)<div class="pad"></div><select name="time" style="width:300px;"><option value="4" selected="selected"><?=$lang[169]?></option><option value="0"><?=$lang[166]?></option><option value="1"><?=$lang[167]?></option><option value="7"><?=$lang[168]?></option><option value="6"><?=$lang[170]?></option><option value="12"><?=$lang[171]?></option></select><div class="pad"></div></div></form></div></div><div class="clear" style="font-size:10px;"> </div>