Просмотр файла htmlconv/index.html

Размер файла: 3.79Kb
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<!- (&#1089;) Im !eee  ->
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8"/>
<meta http-equiv="Cache-control" content="no-cache,no-store,must-revalidate"/>
<meta http-equiv="Expires" content="Wed, 26 Feb 1997 8:21:57 GMT"/>
<meta http-equiv="Pragma" content="no-cache"/>
<title>&#1043;&#1086;&#1089;&#1090;&#1077;&#1074;&#1072;&#1103; &#1082;&#1085;&#1080;&#1075;&#1072;</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
    <body>
        <!- message template ->
        <div id="__msgMain" style="display:none;">
        <p class="msg">
            &#1040;&#1074;&#1090;&#1086;&#1088;: <b>[~varTtl~]</b><br/>
            &#1057;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1077;: <br/><span class="text">[~varTxt~]</span><br/>
            &#1044;&#1072;&#1090;&#1072;: <span class="date">[~varDt~]</span>
        </p>
        </div>
        <!- active number template->
        <div id="__anm" style="display:none;">
            <span class="anm">[<b>[~varNm~]</b>]</span>
        </div>
        <!- number template->
        <div id="__nm" style="display:none;">
            [[~varNm~]]
        </div>

        <p align="center">
            <h1>&#1043;&#1086;&#1089;&#1090;&#1077;&#1074;&#1072;&#1103; &#1082;&#1085;&#1080;&#1075;&#1072;</h1>
        </p>
        <p align="left" class="nopad">
            <a href="write.html">&#1053;&#1072;&#1087;&#1080;&#1089;&#1072;&#1090;&#1100;</a>
        </p><hr size="2"/>
        <p align="center" id="__msgFld">
            &#1047;&#1072;&#1075;&#1088;&#1091;&#1079;&#1082;&#1072; &#1089;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1081;...
        </p>
        <hr size="2" class="nopad"/>
        <span id="__pgs">
            0
        </span>
        <hr size="2" class="nopad"/>
        <p align="center">
            <!-/*[main]*/-><a href="/">&#1053;&#1072; &#1075;&#1083;&#1072;&#1074;&#1085;&#1091;&#1102;</a>
        </p>
<script type="text/javascript">
    n=parseInt(window.location.search.substring(1));
    if(n!=n){n=-1;}
    function $(str){return document.getElementById(str);}
    function zp(nm){return ((nm<10)?"0":"")+nm;}
    function tp(el){return "cont.push('"+el.innerHTML.replace(/(?:\r|\n|\t|\s{2,})/gi,"").split("\\").join("\\\\").split("'").join("\\'").replace(/\[~var([a-z]+)~\]/gi,"',var$1,'")+"');";}
    function fillCont(){
        msgMain=$("__msgMain");
        msgFld=$("__msgFld"); msgFld.innerHTML="";
        document.body.removeChild(msgMain);
        dt=new Date(); cont=[];
        tpl=tp(msgMain);
        for(i=0;i<l;i++){
            varTtl=arrTtl[i];
            dt.setTime(arrDt[i]*1000);
            varDt=zp(dt.getDate())+"."+zp(dt.getMonth()+1)+"."+dt.getFullYear()+" "+zp(dt.getHours())+":"+zp(dt.getMinutes());
            varTxt=arrTxt[i];
            eval(tpl);
        }
        msgFld.innerHTML=cont.join("");
        cont=[];
        anm=$("__anm"); document.body.removeChild(anm);
        nm=$("__nm"); document.body.removeChild(nm);
        pgs=$("__pgs"); pgs.innerHTML="";
        tpl=tp(anm); tpl2=tp(nm);
        for(i=1;i<=np;i++){
            varNm=(i==n)?i:"<a href='index.html?"+i+"'>"+i+"</a>";
            eval((i==n)?tpl:tpl2);
        }
        pgs.innerHTML=cont.join("");
    }
    function servMsg(str){
        $("__msgFld").innerHTML=str;
    }
    scri=document.createElement("script");
    scri.type="text/javascript";
    scri.charset="UTF-8";
    scri.src=/*[path]*/'msg_loader.php'/*[/path]*/+"?p="+n+"&"+Math.ceil(Math.random()*10000);
    document.getElementsByTagName("head")[0].appendChild(scri);
</script>
    </body>
</html>