Вход Регистрация
Файл: gamele.ru/js/index.js
Строк: 278
<?php
var d=document;
view_index = function(page){
    
BoxLoad();    
var 
links='<table border="0" cellpadding="0" cellspacing="0" align="center">  <tr>    <td width="150" align="center"><a class="boxed" href="reg.php" rel="{handler:'iframe',size:{x:500,y:450}}">Регистрация</a></td>    <td>&nbsp;</td> <td width="150" align="center"><a target="_blank" href="http://money.guild-honor.ru/">Банк</a></td> <td>&nbsp;</td> <td width="150" align="center"><a target="_blank" href="http://wiki.guild-honor.ru/">Библиотека</a></td> <td>&nbsp;</td>    <td width="150" align="center"><a target="_blank" href="http://forum.guild-honor.ru/">Форум</a></td>    <td>&nbsp;</td>    <td width="150" align="center"><a class="boxed" href="lostpwd.php" rel="{handler:'iframe',size:{x:700,y:250}}">Забыли пароль?</a></td>  </tr></table>';

if(
page != 'mobile'){
    
d.write('<div id="counters"><div id="counter">'+ft_s(1)+' <a href="http://top100.rambler.ru/navi/2658171/" target="_blank"><div style="display:none;"><img src="http://counter.rambler.ru/top100.cnt?2658171" /></div><img src="http://top100-images.rambler.ru/top100/banner-88x31-rambler-black2.gif" alt="Rambler's Top100" border="0" /></a> '+ft_s(2)+'</div></div>');
}
d.write('<div id="
tooltip"></div><table style="height:100%;width:100%;">  <tr>    <td align="center"><div id="content"><form action="game.php'+((page)?'?view='+page:'')+'" method="post"><table width="800" height="520" border="0" cellpadding="0" cellspacing="0" align="center">  <tr>    <td><img src="http://image.guild-honor.ru/index/index_01.jpg" width="200" height="117" alt=""></td>    <td colspan="2"><img src="http://image.guild-honor.ru/index/index_02.jpg" width="200" height="117" alt=""></td>    <td colspan="2"><img src="http://image.guild-honor.ru/index/index_03.jpg" width="200" height="117" alt=""></td>    <td><img src="http://image.guild-honor.ru/index/index_04.jpg" width="200" height="117" alt=""></td>  </tr>  <tr>    <td><img src="http://image.guild-honor.ru/index/index_05.jpg" width="200" height="171" alt=""></td>    <td><img src="http://image.guild-honor.ru/index/index_06.jpg" width="110" height="171" alt=""></td>    <td colspan="2" background="http://image.guild-honor.ru/index/index_07.gif" width="173" height="171" valign="middle" align="center"><input name="player_nick"  class="button" type="text"  onBlur="if (value == '') {value='Логин'}" onFocus="if (value == 'Логин') {value = ''}" value="Логин"><input name="player_client"  class="button" type="hidden"  value="0">        <br>      <input name="player_password" class="button" type="password" onBlur="if (value == '') {value='Пароль'}" onFocus="if (value == 'Пароль') {value =''}" value="Пароль">      <br>      <input type="submit" class="enter" value="Войти"></td>    <td><img src="http://image.guild-honor.ru/index/index_08.jpg" width="117" height="171" alt=""></td>    <td><img src="http://image.guild-honor.ru/index/index_09.jpg" width="200" height="171" alt=""></td>  </tr>  <tr>    <td><img src="http://image.guild-honor.ru/index/index_10.jpg" width="200" height="150" alt=""></td>    <td colspan="2"><img src="http://image.guild-honor.ru/index/index_11.jpg" width="200" height="150" alt=""></td>    <td colspan="2"><img src="http://image.guild-honor.ru/index/index_12.jpg" width="200" height="150" alt=""></td>    <td><img src="http://image.guild-honor.ru/index/index_13.jpg" width="200" height="150" alt=""></td>  </tr>  <tr>        <td>            <img src="http://image.guild-honor.ru/index/index_14.jpg" width="200" height="81" alt=""></td>        <td colspan="2">            <img src="http://image.guild-honor.ru/index/index_15.jpg" width="200" height="81" alt=""></td>        <td colspan="2">            <img src="http://image.guild-honor.ru/index/index_16.jpg" width="200" height="81" alt=""></td>        <td>            <img src="http://image.guild-honor.ru/index/index_17.jpg" width="200" height="81" alt=""></td>    </tr>  </tr>  <tr>    <td><img src="http://image.guild-honor.ru/index/spacer.gif" width="200" height="1" alt=""></td>    <td><img src="http://image.guild-honor.ru/index/spacer.gif" width="110" height="1" alt=""></td>    <td><img src="http://image.guild-honor.ru/index/spacer.gif" width="90" height="1" alt=""></td>    <td><img src="http://image.guild-honor.ru/index/spacer.gif" width="83" height="1" alt=""></td>    <td><img src="http://image.guild-honor.ru/index/spacer.gif" width="117" height="1" alt=""></td>    <td><img src="http://image.guild-honor.ru/index/spacer.gif" width="200" height="1" alt=""></td>  </tr></table></form>'+links+'</div></td>  </tr></table>');
    
if(page != 'mobile'){
        
d.write('<div id="fooder_l"><img src="http://image.guild-honor.ru/index/18.jpg" onmouseover="tooltip(this,'Рекомендуемый возрастНе менее 18 лет!')" onmouseout="hide_info(this)" width="100" height="93"></div><div id="fooder_r"><img src="http://image.guild-honor.ru/index/new.jpg" onmouseover="tooltip(this,'ВниманиеИгровой мир может быть изменен или дополнен.')" onmouseout="hide_info(this)" width="100" height="93"></div><div id="copyright">&copy; Copyright 2011-2012, Guild of Honor Ltd. Все права защищены.</div>');
    }
}

fixpng = function(img) {
    var 
arVersion navigator.appVersion.split("MSIE")
    var 
version parseFloat(arVersion[1])
    
    if ((
version >= 5.5) && (document.body.filters)) 
    {
        var 
imgName img.src.toUpperCase()
        if (
imgName.substring(imgName.length-3imgName.length) == "PNG")
        {
            var 
imgID = (img.id) ? "id='" img.id "' " ""
            
var imgClass = (img.className) ? "class='" img.className "' " ""
            
var imgTitle = (img.title) ? "title='" img.title "' " "title='" img.alt "' "
            
var imgStyle "display:inline-block;" img.style.cssText 
            
if (img.align == "left"imgStyle "float:left;" imgStyle
                
if (img.align == "right"imgStyle "float:right;" imgStyle
                    
if (img.parentElement.hrefimgStyle "cursor:pointer;" imgStyle
                        
var strNewHTML "<span " imgID imgClass imgTitle
                        
" style="" + "width:" + img.width + "pxheight:" + img.height + "px;" + imgStyle + ";"
                        + "
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
                        + "
(src='" + img.src + "'sizingMethod='scale');"></span>" 
                        
img.outerHTML strNewHTML
                        i 
i-1
        
}
    }
}

BoxLoad = function(){
    
window.addEvent('domready', function() {
        
SqueezeBox.initialize({
            
size: {x350y400},
            
ajaxOptions: {
                
method'get'
            
}
        });
        $$(
'a.boxed').each(function(el) {
            
el.addEvent('click', function(e) {
                new 
Event(e).stop();
                
SqueezeBox.fromElement(el);
            });
        });
        $$(
'.panel-toggler').each(function(el) {
            var 
target el.getLast().setStyle('display''none');
            
el.getFirst().addEvent('click', function() {
                
target.style.display = (target.style.display == 'none') ? '' 'none';
            });
        });
    });
}
ShowError = function(msg){
    if(
document.getElementById('darker').style.display == 'none'){
        
document.getElementById('darker').style.display 'block';
        
document.getElementById('ContentError').innerHTML msg;
    }else if(
document.getElementById('darker').style.display == 'block'){
        
document.getElementById('darker').style.display 'none';
        
document.getElementById('ContentError').innerHTML msg;
    }    
}

document.write('<div id="darker" style="display:none;"><table cellspacing="0" cellpadding="0" width="300" style="position:relative;width:300px;left:50%;top:50%;margin-left:-150px;margin-top:-105px;">  <tr>    <td style="width:18px;height:18px;"><div style="position:absolute; width:30px; height:30px; background:url(http://image.guild-honor.ru/closebox.png) no-repeat;right:0px;top:0px;cursor:pointer;" onclick="ShowError();">&nbsp;</div><img src="http://image.guild-honor.ru/FormUp/left_top.png" width="18" height="18"></td>    <td style="height:18px;background-image:url('http://image.guild-honor.ru/FormUp/top.png');"></td>    <td style="width:18px;height:18px;"><img src="http://image.guild-honor.ru/FormUp/right_top.png" width="18" height="18"></td>  </tr>  <tr>    <td style="width:18px;background-image:url('http://image.guild-honor.ru/FormUp/left.png');"></td>    <td style="background-image:url('http://image.guild-honor.ru/FormUp/bg.png');" align="center"><div id="ContentError"></div></td>    <td style="width:18px;background-image:url('http://image.guild-honor.ru/FormUp/right.png');"></td>  </tr>  <tr>    <td style="width:18px;height:18px;"><img src="http://image.guild-honor.ru/FormUp/left_bottom.png" width="18" height="18"></td>    <td style="height:18px;background-image:url('http://image.guild-honor.ru/FormUp/bottom.png');"></td>    <td style="width:18px;height:18px;"><img src="http://image.guild-honor.ru/FormUp/right_bottom.png" width="18" height="18"></td>  </tr></table></div>');
?>
Онлайн: 1
Реклама