//
//
mttag = new Array('[title]', '[search fields]', '', '[date]', '[blog title]', '[body]', '[extended entry]', '[extended keywords]', '[time]', '[author]', '[comments]', '[permalink]', '[comment data]', '', '[previous page]', '[bloghome]', '[next page]', '[header html]', '[profile image]', '[profile]', '[tag board]', '[calendar]', '[gallery]', '[search]', '[polls]', '[favorites]', '[side html]', '[contact form]', '[notification]', '[hitcounter]', '[rss]');
mtcss = new Array('input.btn', '.txt9', 'a.comments:', '.ctable1', '.cpost', '.ctr1', '.ctr2', '.ctd1', 'a.cta:', 'textarea.ct', 'input.ct', 'input.sbtn', 'input.sfld', '.calendar', 'a.calendar2:', '.disabled', 'div.cont1', 'div.cont2', '.tagframe', '.tagurl', '.tagmsg', '.tagname', '.tagbtn');
cptag = new Array('[blog title]', '[date]', '[post]', '[number]', '[comments]');
cpcss = new Array('.txt1', '.txt2', '.txt3', 'input.btn', 'input.btn2');
opengreen='';
openred='';
openblue='';
closecolortag='';
colorguide= openred+ 'Red: Important!
'+ opengreen +'Green: Useful
Black: Normal
';
templatehelp = "Template Help
";
function checkit(tempcode) {
tempcode=tempcode.toLowerCase();
checktag ='Missing Tags:
';
for(i=0;i25?opengreen:"")+(i<22&&i>18?opengreen:"")+(i<17&&i>1?openred:"")+(mttag[i]==''?'<blog>':(mttag[i]==''?'</blog>':mttag[i])) +((i<17&&i>1)||(i<22&&i>18)||(i<29&&i>25)?closecolortag:"")+ '
';
}}}
checkcss ='
Missing CSS:
';
for(i=0;i12?opengreen:"")+ mtcss[i] +(i12?closecolortag:"")+ '
';
}}
document.getElementById("mtcheck").innerHTML= templatehelp +colorguide +checktag +checkcss;
}
function checkcp(tempcode) {
tempcode=tempcode.toLowerCase();
checktag ='Missing Tags:
';
for(i=0;i';
}
}
checkcss ='
Missing CSS:
';
for(i=0;i';
}
}
document.getElementById("cpcheck").innerHTML= checktag +checkcss;
}
//