[ Īîčņę ] - [ Īîëüįîâāōåëč ] - [ Ęāëåíäāđü ]
Īîëíā˙ Âåđņč˙: Smarty đķãāåōņ˙ íā ˙âā ęîä
Manson
Äîáđûé âå÷åđ! Áķäķ î÷åíü áëāãîäāđåí įā īîėîųü.

Ââčäå html øāáëîíā âņå đāáîōāåō čäåāëüíî. Ęîãäā īîäãîí˙ū īîä ņėāđōč (Social Engine 3+) - âûëāįčō îøčáęā:

PHP
Fatal error: Smarty error: [in header.tpl line 18]: syntax error: unidentified token '.appVersion.indexOf('MSIE (Smarty_Compiler.class.php, line 1397) in /www/include/smarty/Smarty.class.


Ņāė ęîä â header.tpl:

PHP
<script type="text/javascript">
        var isIE7 = false;
        if (document.all){
            if (navigator.appVersion.indexOf('MSIE 7') > -1){
                isIE7 = true;
            }
        }

        detect_browser();

        var png_cnt = 0;
        var png_arr = new Array();

        function pngdo(n){

            for(i=0;i<png_cnt;i++){
                png_arr[i].runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+png_arr[i].style.backgroundImage.substr(4,png_arr[i].style.backgroundImage.length-5)+", image)";
            }

            return true;
        }

        function pngfix(obj){

            obj.runtimeStyle.behavior = "none";

            if (isIE7)return false;

            for(i=0;i<png_cnt;i++){
                if (png_arr[i] == obj)return false;
            }

            obj.runtimeStyle.backgroundImage = "none";

            png_arr[png_cnt] = obj;
            png_cnt++;

            return true;
        }
    </script>
    <style type="text/css">
        img.png {
            behavior: expression(
                pngfix(this)
            );
        }

        .left_menu-td1{
            width:20px;
            height:23px;
        }

        .left_menu-td2{
            height:23px;
            padding-left:3px
        }

        .left_menu-td3{
            padding-right:3px;
            text-align:right;
        }

        .context_menu td{
            cursor:pointer
        }

        h1{
            font-size:11px;
            font-weight:bold;
            padding




Ņīķņō˙ 21 ėčíķōā, 8 ņåęķíä (27.02.2009 - 19:37) Manson íāīčņāë(ā):
Đāįîáđāëņ˙ ņāė. Ėîæåō ęîėķ-ōî åųå īîėîãķ smile.gif

Âîáųåė îøčáęā áûëā â ōîė, ÷ōî â Ņėāđōč ˙âā ęîä įāęëū÷āūō ėåæäķ ōåãîâ {literal} č {/literal}
smile.gif


_____________
Áûņōđûé îōâåō:

 Ãđāôč÷åņęčå ņėāéëčęč |  Īîęāįûâāōü īîäīčņü
Įäåņü đāņīîëîæåíā īîëíā˙ âåđņč˙ ũōîé ņōđāíčöû.
Invision Power Board © 2001-2025 Invision Power Services, Inc.