. Как вернуть статистику и информацию о модераторах в этих разделах?
Верх:
Низ:
<script type="text/javascript">
var arr = new Array()
arr[0] = new Array("http://codeforum.anihub.ru/viewforum.php?id=10","http://codeforum.anihub.ru/viewforum.php?id=10","")
arr[1] = new Array("http://codeforum.anihub.ru/viewtopic.php?id=24","http://codeforum.anihub.ru/viewforum.php?id=43","")
arr[2] = new Array("http://codeforum.anihub.ru/viewforum.php?id=2","http://codeforum.anihub.ru/viewforum.php?id=2","")
arr[3] = new Array("http://codeforum.anihub.ru/viewtopic.php?id=26","http://codeforum.anihub.ru/viewforum.php?id=3","")
arr[4] = new Array("http://codeforum.anihub.ru/viewforum.php?id=11","http://codeforum.anihub.ru/viewforum.php?id=11","")
arr[5] = new Array("http://codeforum.anihub.ru/viewtopic.php?id=27","http://codeforum.anihub.ru/viewforum.php?id=53","")
arr[6] = new Array("http://codeforum.anihub.ru/viewtopic.php?id=28","http://codeforum.anihub.ru/viewforum.php?id=55","")
arr[7] = new Array("http://codeforum.anihub.ru/viewforum.php?id=12","http://codeforum.anihub.ru/viewforum.php?id=12","")
arr[8] = new Array("http://codeforum.anihub.ru/viewtopic.php?id=29","http://codeforum.anihub.ru/viewforum.php?id=42","")
arr[9] = new Array("http://codeforum.anihub.ru/viewtopic.php?id=30","http://codeforum.anihub.ru/viewforum.php?id=54","")
arr[10] = new Array("http://codeforum.anihub.ru/viewtopic.php?id=31","http://codeforum.anihub.ru/viewforum.php?id=56","")
arr[11] = new Array("http://codeforum.anihub.ru/viewforum.php?id=44","http://codeforum.anihub.ru/viewforum.php?id=44","")
arr[12] = new Array("http://codeforum.anihub.ru/viewtopic.php?id=32","http://codeforum.anihub.ru/viewforum.php?id=57","")
arr[13] = new Array("http://codeforum.anihub.ru/viewforum.php?id=46","http://codeforum.anihub.ru/viewforum.php?id=46","Раздел посвящён интернет-ресурсам, но не другим форумам")
arr[14] = new Array("http://codeforum.anihub.ru/viewforum.php?id=49","http://codeforum.anihub.ru/viewforum.php?id=49","Раздел посвящён приобретению доменных имён, регистраторам доменов и самой системе доменных имён, но не конкретным интернет-ресурсам, в этих доменах находящимся")
var arr2=document.getElementsByTagName("tr")
for (i=0;arr2[i]; i++) {
var str=arr2[i].innerHTML
for (j=0; arr[j]; j++)
if(str.indexOf(arr[j][0])!=-1) {
td=arr2[i].getElementsByTagName("td")
td[0].innerHTML="<div class=\"tclcon\"><h3><a href="+arr[j][1]+">"+td[0].getElementsByTagName("a")[0].innerHTML+"</a></h3>"+arr[j][2]+"</div>"
td[1].innerHTML=" "
td[2].innerHTML=" "
td[3].innerHTML=" "
break
}
}
</script>
В тех же разделах пропали строчки с никами модераторов. Как их вернуть?
Отредактировано Тарас (2010-06-22 13:32:24)