NemuAdd=window.location.pathname;
//BaseAdd="http://www.bc.wakwak.com/~cosa/";
BaseAdd="http://127.0.0.1/~tukimi/hello2/";
BaseAddBlame=BaseAdd;
NemuName=NemuAdd.split("/");
Depth=3;
NemuNumber=9;
Nemu=new Array(NemuNumber);
Nemu[0]=new Array( "home.html",
"HOME",
"TOPに戻ります",
"No",
"",
""
);
Nemu[1]=new Array( "profile.html",
"PROFILE",
"僕のちょっとした自己紹介です",
"Yes",
"名前,性別,年齢",
"name,sex,old"
);
Nemu[2]=new Array( "diary.html",
"DIARY",
"毎日つけています(はきっリいってつまらないです((((((^_^;))",
"DiaryList()",
"",
""
);
Nemu[3]=new Array( "http://127.0.0.1/~tukimi/hello/bbs.html",
"SCRIBBL BBS",
"何でも書き込んで!",
"No",
"",
""
);
Nemu[4]=new Array( "cgi-bin/oekaki/oekaki.cgi",
"GRFFITO PIAZZA",
"お絵かき掲示板です。お好きな絵を描いて下さいませ",
"No",
"",
""
);
Nemu[5]=new Array( "http://www.hello.co.jp/php/log.phtml?user=ohtsuki",
"VISITOR",
"このページに来てくれた人です(Helloユーザーのみ)",
"No",
"",
""
);
Nemu[6]=new Array( "whats_new.html",
"What's New",
"このページの更新記録です",
"No",
"",
""
);
Nemu[7]=new Array( "link/link01.html",
"LINK",
"リンク集です",
"No",
"",
""
);
Nemu[8]=new Array( "mailto:tsukimi@to-sen.net",
"MAIL",
"管理人(月見)にメールが送れます",
"No",
"",
""
);
document.write('
');
document.write("
");
for(B=0;B');
document.write(Nemu[D][1]);
document.write('');
if(Nemu[D][3] == "Yes")
{
ListBottom();
};
D++;
}
else if((NemuName[3] == "diary" || NemuName[3] == "diary.html") && Nemu[D][1] == "DIARY")
{
document.write('- ');
document.write(Nemu[D][1]);
document.write('
');
DiaryList();
D++;
};
if(D == NemuNumber){break;};
for(C=0;C<5;C++){Nemu[D][0]=Add.replace(",","/");};
ReferenceAdd=Add.indexOf("http://");
ReferenceMail=Add.indexOf("mailto:");
if(ReferenceAdd != -1 || ReferenceMail != -1){BaseAdd="";};
else{BaseAdd=BaseAddBlame;};
if(Nemu[D][1] == "SCRIBBL BBS" || Nemu[D][1] == "MAIL"){BaseAdd="";};
document.write('- '+Nemu[D][1]+'
');
};
document.write('
');
document.write('
');
function ListBottom()
{
document.write('');
};
function DiaryList()
{
//BaseAdd="http://www.bc.wakwak.com/~cosa/";
BaseDiaryAdd="http://127.0.0.1/~tukimi/hello2/diary/";
StartYear =1999;
StartMonth=10;
MonthDepth=5;
NowMonthDepth=3;
StyleClassTag='';
//document.write('Diary List
')
DiaryAdd=window.location.pathname;
DiaryName=DiaryAdd.split("/");
YY=new Date().getFullYear();
MM=new Date().getMonth()+1;
RemainYear=YY-StartYear;
B1=0;
C1=0;
if(DiaryName[NowMonthDepth] != "diary.html")
{
Depth=MonthDepth;
}else{
Depth=NowMonthDepth;
};
NowPageMonth=DiaryName[Depth].substring(0,2);
NowPageYear =DiaryName[Depth-1];
if(NowPageYear == YY || NowPageMonth == "di")
{
WriteNowYear();
}else if(NowPageYear == StartYear)
{
WriteStartYear();
}else{
WriteYear();
};
function WriteNowYear()
{
document.write(StyleClassTag);
for(D1=0;D1
'+(StartYear+D1)+'年')};
else{
document.write('- '+(StartYear+D1)+'年
');};
};
document.write('- '+YY+'年
');
document.write('');
for(A1=1;A1<=MM;A1++)
{
ListStream();
if(NowPageMonth == "di" && A1 == MM)
{
document.write('- '+B1+'月
');
break;
};
if(B1 == MM){C1="../../diary"};
if(C1 < 10){C1="0"+C1;};
document.write('- '+B1+'月
');
};
};
function WriteYear()
{
NowPageOldYear=NowPageYear-StartYear;
NowPageNewYear=YY-NowPageYear;
document.write(StyleClassTag);
for(D1=0;D1'+(StartYear+D1)+'年')}
else{
document.write('- '+(StartYear+D1)+'年
');};
};
document.write('- '+NowPageYear+'年
');
document.write('');
for(A1=1;A1<=12;A1++)
{
ListStream();
if(A1 == 13){break;};
if(C1 < 10){C1="0"+C1;};
document.write('- '+B1+'月
');
};
document.write('
');
for(D1=1;D1<=NowPageNewYear;D1++)
{
document.write('- '+(Number(NowPageYear)+D1)+'年
');
};
};
function WriteStartYear()
{
document.write(StyleClassTag);
document.write('- '+NowPageYear+'年
');
document.write('');
B1=StartMonth-1;
C1=StartMonth-1;
for(A1=StartMonth;A1<=12;A1++)
{
ListStream();
if(A1 == 13){break;};
if(C1 < 10){C1="0"+C1;};
document.write('- '+B1+'月
');
};
document.write('
');
for(D1=1;D1<=RemainYear;D1++)
{
document.write('- '+(StartYear+D1)+'年
')
};
};
function ListStream()
{
B1++;
C1++;
if(NowPageMonth == A1)
{
document.write('- '+B1+'月
');
A1++;
B1++;
C1++;
};
};
document.write('
');
document.write('');
};