Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Показать сообщение отдельно

Пользователь


Сообщения: 126
Благодарности: 3

Профиль | Отправить PM | Цитировать


Подробный боевой доклад
читать дальше »
PHP код: Выделить весь код

<!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">
    <
head>
        <
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <
meta name="language" content="de" />
        <
meta name="author" content="Gameforge AG" />
        <
meta name="publisher" content="Gameforge AG" />
        <
meta name="copyright" content="Gameforge AG" />
        <
meta name="page-type" content="Браузерная игра" />
        <
meta name="page-topic" content="Браузерная игра, стратегия, онлайн игра" />
        <
meta name="audience" content="all" />
        <
meta name="Expires" content="never" />
        <
meta name="Keywords" content="Ikariam, древний мир, игра, стратегия, бесплатно, онлайн, ролевая, браузер, играть"/>
        <
meta name="Description" content="Ikariam - это бесплатная браузерная игра. Задача игроков заключается в управлении народом в древнем мире, основывая города, ведя торговлю и завоевывая другие острова." />
        <
meta name="robots" content="index,follow" />
        <
meta name="Revisit" content="After 14 days" />
        <
title>Ikariam Мир Beta </title>
        <
link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
        <
link href="/skin/ik_common_0.3.0.css" rel="stylesheet" type="text/css" media="screen" />
        <
link href="/skin/ik_militaryAdvisorReportView_0.3.0.css" rel="stylesheet" type="text/css" media="screen" />


        <
script type="text/javascript" src="/js/complete-0.3.0.js"></script>
                <script type="text/javascript">
        /* <![CDATA[ */
        var Event = YAHOO.util.Event,
        Dom   = YAHOO.util.Dom,
        lang  = YAHOO.lang;

        var LocalizationStrings = {};
        LocalizationStrings['timeunits'] = {};
        LocalizationStrings['timeunits']['short'] = {};
        LocalizationStrings['timeunits']['short']['day'] = 'Д.';
        LocalizationStrings['timeunits']['short']['hour'] = 'ч.';
        LocalizationStrings['timeunits']['short']['minute'] = 'мин.';
        LocalizationStrings['timeunits']['short']['second'] = 'с.';
        LocalizationStrings['language']                     = 'ru';
        LocalizationStrings['decimalPoint']               = '.';
        LocalizationStrings['thousandSeperator']     = ',';
        
        LocalizationStrings['resources'] = {};
        LocalizationStrings['resources']['wood'] = 'Стройматериалы';
        LocalizationStrings['resources']['wine'] = 'Виноград';
        LocalizationStrings['resources']['marble'] = 'Мрамор';
        LocalizationStrings['resources']['crystal'] = 'Хрусталь';
        LocalizationStrings['resources']['sulfur'] = 'Сера';
        LocalizationStrings['resources'][0] = LocalizationStrings['resources']['wood'];
        LocalizationStrings['resources'][1] = LocalizationStrings['resources']['wine'];
        LocalizationStrings['resources'][2] = LocalizationStrings['resources']['marble'];
        LocalizationStrings['resources'][3] = LocalizationStrings['resources']['crystal'];
        LocalizationStrings['resources'][4] = LocalizationStrings['resources']['sulfur'];
        
        LocalizationStrings['warnings'] = {};
        LocalizationStrings['warnings']['premiumTrader_lackingStorage'] = "Für folgende Rohstoffe fehlt dir Speicherplatz: $res";
        LocalizationStrings['warnings']['premiumTrader_negativeResource'] = "Du hast zuwenig $res für diesen Handel";
        
        IKARIAM = {
                phpSet : {
                        serverTime : "1237109472",
                        currentView : "militaryAdvisorReportView"                        },
                currentCity : {
                        resources : {
                                wood: 111512,
                                wine: 5524,
                                marble: 1035,
                                crystal: 3873,
                                sulfur: 121500                        },
                        maxCapacity : {
                                wood: 123000,
                                wine: 121500,
                                marble: 121500,
                                crystal: 121500,
                                sulfur: 121500                        }
                },
                view : {
                        get : function() {
                                return IKARIAM.phpSet.currentView;
                                },
                        is : function(viewName) {
                                return (IKARIAM.phpSet.currentView == viewName)? true : false;
                                }
                        }
                };
                IKARIAM.time = {
                        serverTimeDiff : IKARIAM.phpSet.serverTime*1000-(new Date()).getTime()
                };
        
        
        
        /**
        * switches one item on and the other off.. but only if they share the same groupname.
        */
        selectGroup = {
            groups:new Array(), //[groupname]=item
            getGroup:function(group) {
                if(typeof(this.groups[group]) == "undefined") {
                    this.groups[group] = new Object();
                    this.groups[group].activeItem = "undefined";
                    this.groups[group].onActivate = function(obj) {};
                    this.groups[group].onDeactivate = function(obj) {};
                    }
                return this.groups[group];
            },
            activate:function(obj, group) {
                g = this.getGroup(group);
                if(typeof(g.activeItem) != "undefined") {
                    g.onDeactivate(g.activeItem);
                    }
                g.activeItem=obj;
                g.onActivate(obj);
            }
        };
        selectGroup.getGroup('cities').onActivate = function(obj) {
            YAHOO.util.Dom.addClass(obj.parentNode, "selected");
        }
        selectGroup.getGroup('cities').onDeactivate = function(obj) {
            YAHOO.util.Dom.removeClass(obj.parentNode, "selected");
        }

        /**
         * - will COPY all child nodes of the source-node that are marked with a CSS class to be child nodes of the target.
         * - will purge all children of the TARGET element that are marked the same special CSS class at each call, so previously copied will be deleted before copying new
         * - expects either an Id or an object.
         */
        function showInContainer(source, target, exchangeClass) {
            //objects or Id-strings, i don't care
            if(typeof source == "string") { source = Dom.get(source); }
            if(typeof target == "string") {target = Dom.get(target); }
            if(typeof exchangeClass != "string") { alert("Error: IKARIAM.showInContainer -> Forgot to add an exchangeClass?"); }
            //removal
            for(i=0; i<target.childNodes.length; i++) {
                if(typeof(target.childNodes[i].className) != "undefined" && target.childNodes[i].className==exchangeClass) {
                    target.removeChild(target.childNodes[i]);
                }
            }
            //clone new
            for(i=0; i<source.childNodes.length; i++) {
                if(typeof(source.childNodes[i].className) != "undefined" && source.childNodes[i].className==exchangeClass) {
                    clone = source.childNodes[i].cloneNode(true);
                    target.insertBefore(clone, target.firstChild.nextSibling);
                }
            }
        }

        selectedCity = -1;
        function selectCity(cityNum, cityId, viewAble) {
            if(selectedCity == cityNum) {
                if(viewAble) document.location.href="?view=city&id="+cityId;
                else document.location.href="#";
            } else {
                selectedCity = cityNum;
            }
            showInContainer("cityLocation"+cityNum,"information", "cityinfo");
            showInContainer("cityLocation"+cityNum,"actions", "cityactions");
            var container = document.getElementById("cities");
            var citySelectedClass = "selected";
        }

        //IE6 CSS Background-Flicker fix
        (function(){
            /*Use Object Detection to detect IE6*/
            var  m = document.uniqueID /*IE*/
            && document.compatMode  /*>=IE6*/
            && !window.XMLHttpRequest /*<=IE6*/
            && document.execCommand ;
            try{
                if(!!m){
                    m("BackgroundImageCache", false, true) /* = IE6 only */
                }
            }catch(oh){};
        })();
        /* ]]> */

        function myConfirm(message, target) {
            bestaetigt = window.confirm (message);
            if (bestaetigt == true)
              window.location.href = target;
        }
        </script>
    </head>
    <body id="militaryAdvisorReportView">
        <div id="container">
            <div id="container2">
                            <div id="header">
                    <h1>Ikariam</h1>
                    <h2>Древний мир!</h2>
                </div>
<div id="breadcrumbs"><h3>Вы здесь:</h3><a href="?view=worldmap_iso&islandX=11&islandY=100" class="world" title="Назад к карте мира">Мир</a><span> > </span><span class="building">Военный советник</span></div><div id="backTo" class="dynamic">
    <h3 class="header">Назад</h3>
    <div class="content">
        <a href="/index.php?view=militaryAdvisorReportView&combatId=4515440" title="Назад">
            <img src="skin/img/action_back.gif" width="160" height="100" />
            <span class="textLabel"><< Назад к обзору</span>
        </a>
    </div>
    <div class="footer"></div>
</div>

<div class="dynamic" id="viewMilitaryImperium">
    <h3 class="header">Обзор войск</h3>
    <div class="content">
        <img src="skin/premium/sideAd_premiumMilitaryAdvisor.jpg" width="203" height="85" />
        <p>Когда стройные ряды войск превращаются в неуправляемую толпу - время задуматься об управлении армией. Этот обзор - Ваш личный генеральный штаб.</p>
        <div class="centerButton">
            <a href="?view=premiumDetails" class="button">Просмотр.</a>
        </div>
    </div>
    <div class="footer"></div>
</div>
<div id="mainview">
    <div class="buildingDescription">
        <h1>Войска</h1>
        <p>Сэр! Я сообщу Вам обо всех передвижениях наших войск и о ходе сражений, а также немедленно уведомлю Вас  в случае нападения, Сэр!</p>
    </div>
    <div class="yui-navset">
        <ul class="yui-nav">
            <li><a href="?view=militaryAdvisorMilitaryMovements" title="Перемещения войск"><em>Перемещения войск (0)</em></a></li>
            <li class="selected"><a href="?view=militaryAdvisorCombatReports" title="Боевые доклады"><em>Боевые доклады (3)</em></a></li>
        </ul>
    </div>
    <div id="troopsReport">
        <div class="contentBox01h">
            <h3 class="header">
Битва за <a href="index.php?view=island&id=352&selectCity=227172"><!--b>[23:4]</b-->Константинополь</a>            </h3>
            <div class="content">
                <table cellspacing="0" cellpadding="0" id="result">
<tr>
                <td colspan="15" class="section">Расстановка сил</td>
              </tr><tr><th colspan="15" class="attackers"><b>Нападающий</b>: Bars66</th></tr>
                <tr title="Войска"><td class="value"></td><td></td><td></td><td title="Фаланга"><img src="skin/characters/military/x40_y40/y40_phalanx_faceright.gif" /></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
                <tr title="Итог"><td><img src="skin/layout/icon-helmet.gif" /></td><td></td><td></td><td>1</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
                <tr><td title="Сила нападения:"><img src="skin/layout/sword-icon-report.gif" /></td><td></td><td></td><td>
                                        <div class="modifiersList">
                                            <ul><li onMouseOver="this.childNodes[1].style.display = 'block'" onMouseOut="this.childNodes[1].style.display = 'none'">18.0
                                                <ul>
                                                    <li class="title">Сила нападения:</li>
                                                    <li class="baseAttack">14.0</li>
                                                    <li class="upgradesAttack">+4.0</li>
                                                    <li class="specialAssault">+0.0</li>
                                                    <li class="enduranceModifier">0.0</li>
                                                </ul>
                                                </li>
                                            </ul>
                                        </div>
                                        </td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
                <tr><td title="Сила защиты:"><img src="skin/layout/shield-icon-report.gif" /></td><td></td><td></td><td>
                                        <div class="modifiersList">
                                            <ul><li onMouseOver="this.childNodes[1].style.display = 'block'" onMouseOut="this.childNodes[1].style.display = 'none'">39.0
                                                <ul>
                                                    <li class="title">Сила защиты:</li>
                                                    <li class="baseDefense">30.0</li>
                                                    <li class="upgradesDefense">+9.0</li>
                                                    <li class="wallBonus">+0.0</li>
                                                    <li class="specialSteady">+0.0</li>
                                                    <li class="enduranceModifier">0.0</li>
                                                </ul>
                                                </li>
                                            </ul>
                                        </div>
                                        </td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
                <tr><td title="Стойкость:"><img src="skin/layout/icon-endurance2.gif" align="absmiddle" /></td><td></td><td></td><td>
                                        <div class="modifiersList">
                                            <ul><li onMouseOver="this.childNodes[1].style.display = 'block'" onMouseOut="this.childNodes[1].style.display = 'none'">8.0
                                                <ul>
                                                    <li class="title">Стойкость:</li>
                                                    <li class="endurance">8</li>
                                                    <li class="enduranceModifier">-0.0</li>
                                                </ul>
                                                </li>
                                            </ul>
                                        </div>
                                        </td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><th colspan="15" class="defenders"><b>Защитник</b>: DarkAngel</th></tr><tr><td colspan="15">Войска недоступны</td></tr><tr><td colspan="15">Городская стена (уровень 1) города <a href="index.php?view=island&id=352&selectCity=227172">Константинополь</a> (уровень 1) увеличивает силы защитников на 10%</td></tr><tr> 


пс войск бывает намного больше...

Отправлено: 12:37, 15-03-2009 | #10