汎用足跡
[include]
このページは汎用足跡掲示板のシステムです。

このページを実行すると表示されます
[/include]

[beforeExec]
/*
if(window.name == "main_nancyan" && self != top){
top.document.getElementsByTagName("frameset")[0].cols = "0, *";
}
window.onunload = function(){
if(window.name == "main_nancyan" && self != top){
top.document.getElementsByTagName("frameset")[0].cols = "150px, *";
}
};
*/
Fx.footprint = function(user){
Fx.user = user;
Fx.uri = "/cgi-bin/footprint.cgi?oid=" + user;
Fx.mode = "footprint";
Fget();
};
ft = function(o){
Fx.footprint(o.user.value);
};

Fx.ent = function(){
switch(Fx.mode){
case "footprint" : Fx.ent_footprint(); break;
case "css" : Fx.ent_css(); break;
default : break;
}
};

Fx.ent_footprint = function(){
var s = Fx.str.replace(/\r?\n/g, "\t");
s = s.replace(/^.+?(<body\s)/, "$1").replace(/(<\/body>).+?$/, "$1");
s = s.replace(/(counter">)(.+?<\/div>)/, "$1
.
$2
");
s = s.replace(/
/, "");
Fx.owner = s.match(/class="add"/) ? true : false;
s = s.replace(/<colgroup.+?\/colgroup>/g, "");
s = s.replace(/<td\sclass="add".+?<\/td>/g, "");

s = s.replace(/(\d)\s\s時/g, "(0$1)").replace(/(\d\d)\s時/g, "($1)");
s = s.replace(/(<caption>)(.+?)(\d+)(.+?<\/caption>)/g, "$1■$2$3$4");
s = s.replace(/(day">)(\d{4}\s\d\d\/\d\d)/g, function(e0,e1,e2){
a = (new Date(e2)).getDay();
return (
e1 + e2 + " 5 ? 6 : 1) + "'>(" + "日月火水木金土".charAt(a) + ")"
);}
);
n = 1;
s = s.replace(/(date">)(\d{4}\s\d\d\/\d\d\s\d\d:\d\d)/g, function(e0,e1,e2){
return 'no">' + n++ + '</td><td class="' + e1 + e2;}
);
s = s.replace(/([a-z0-9_\-]+)(<\/a><\/td>\s*<td\sclass="message)(">)(.*?)(<\/td>)/g,
function(e0,e1,e2,e3,e4,e5){
return (
e1 + e2 + (e4 == "" ? " non" : "") + e3 +
"" +
(e4 == "" ? "言葉は少なめ" : e4.replace(/^(.{20}).+/, "$1..")) + "
" + e5
);}
);
s = s.replace(/(<table\s)/g, "$1cellpadding='0' cellspacing='0' ");
s = s.replace(/(\swidth=")(\d+)(")/g, function(e0,e1,e2,e3){
return e1 + Math.floor(e2 * .75) + e3;
});
s = s.replace(/\t/g, "\n");
Fid("sysDisp").innerHTML = s;
Fid("cssDisp").innerHTML = ".";
setTimeout("afterExec()", 50);
};

entry = function(){
var s = "common main menu profile bbs bbs_form diary links friends footprint";
Fid("footprintMenu").innerHTML =
"<button onclick='Fx.o1()' id='u1'>重複 0/0</button> CSS ⇒ " +
s.replace(/([a-z_]+)/g, "$1") +
" <button onclick='Fx.cssDispClose()'>close</button>";

};

mlinks = function(s, n){
var s2 = ["main", "profile", "friends", "links", "bbs", "footprint", "diary",
"bbs", "footprint", "diary"];
return "" + Ftn(o1[0]) + "";
c1 = Ftn(o1[1]);
a = (new Date(c1)).getDay();
c = c1.split(" ");
cc = 0;
o1[1].innerHTML =
c[0].replace(/(\d)/g, function(e0,e1){
return r + "../" + b + "/" + s2[cc++] + ".html'>" + e1 + "";}) + " " +
c[1].replace(/(\d\d|\/)/g, function(e0,e1){
return r + "/cgi-bin/" + s2[cc++] + ".cgi?oid=" + b + ";n=30'>" + e1 + "";}) + " " +
c[2].replace(/(\d\d|:)/g, function(e0,e1){
return r + "main.html?sys_" + s2[cc++] + "&user=" + b + "'>" + e1 + "";}) +
" 5 ? 6 : 1) + "'>(" +
"日月火水木金土".charAt(a) + ")
";
}
Fid("u1").firstChild.nodeValue = "重複 " + i + "/" + n;
var r1 = r + "/home/" + Fx.user + "/";
var r2 = r + "/cgi-bin/";
Fid("uP").innerHTML =
"Fx.user(" + Fx.user + ") ⇒_self / " +
r1 + "'>home " + r1 + "menu.html'>menu " +
r1 + "main.html'>main " + r1 + "profile.html'>profile " +
r1 + "friends.html'>friends " + r1 + "links.html'>links " +
r2 + "bbs.cgi?oid=" + Fx.user + ";n=30'>bbs " +
r2 + "diary.cgi?oid=" + Fx.user + ";n=30'>diary " +
r2 + "footprint.cgi?oid=" + Fx.user + "'>footprint ⇒_blank";
};

Fx.o1 = function(){
var o = Fid("messages");
o.className = o.className == "" ? "userSec" : "";
};

Fx.o2 = function(s){
Fx.uri = "/home/" + Fx.user + "/" + s + ".css";
Fx.mode = "css";
Fget();
};
Fx.ent_css = function(){
var str = Fx.str.replace(/</g, "\x26lt;");
Fid("cssDisp").innerHTML = "<textarea cols='100' rows='10' wrap='soft'>" + str + "</" + "textarea>";

};
Fx.cssDispClose = function(){
Fid("cssDisp").innerHTML = ".";
};

[/beforeExec]

[cssText]
body {margin:0; font-size:10pt; padding-left:1em; }
a {text-decoration:none;}
div.sysDispBefore {
font-size:18pt; color:steelblue; margin:8px;
background:url(files/hamu_folder1.gif) no-repeat; padding:10px 38px 15px;
}
#counter {
background:url(files/y_line_b.gif) no-repeat left 10px; display:block;
text-align:left; padding:15px 0px 20px 50px;
margin-left:.5em;
}
#counter div.user {
font-family:"Arial Black"; color:blueviolet;
font-size:13pt; margin-bottom:4px;
}
#counter div.since { color:darkgreen; }

caption {color:#000; text-align:left; font-size:10pt; margin-right:.25em;
padding:.25em; border-bottom:1px solid #ccc; line-height:1em;
background-color:lavender;
}
caption span {color:steelblue; margin-left:.25em; margin-right:.25em; }
#messages { width:65%; float:left; margin-right:.25em;}
td {border-bottom:1px solid #ccc; line-height:1em; padding:.25em; font-size:10pt;}
td.non {text-align:right;}
.message a:link {color:steelblue;}
.message a:visited {color:darkgreen;}
.message a:hover {color:magenta;}
.non a:link {color:tomato;}
td.user_id a:visited {
background-color:yellow; color:red;
float:right;
}
td.user_id a:hover {
color:magenta; background-color:transparent;
div.ds1 {float:left;}

a img {border:none;}
span.day0 {color:red;}
span.day1 {color:#808080;}
span.day6 {color:blue;}

td.graph img {
border-top-style:solid;
border-top-width:9px;
height:1px;
}
#days td.graph img { border-top-color:orange; }
#hours td.graph img { border-top-color:lime; }
#wdays td.graph img { border-top-color:steelblue; }

#back_link{clear:both;}


td.count {text-align:right;}
td.wday {color:#808080;}
td.no {text-align:right;}
#footerDisp { clear:both; margin-right:1em; }
#messages.userSec tr.sec {display:none;}
#userSelect { width:150px; }
#uP { color:#808080; }
#cssDisp { margin-left:2em; }
#footprintMenu button { font-size:10pt; }
[/cssText]
[body]

.

.

<form name="Fxx">


<input type="text" size="20" name="user" />
<input type="button" onclick="ft(this.form)" value="取得" />
</form>

<iframe name="main_nancyan" width="0" height="0"frameborder="0"></iframe>

[/body]

[exec]
Fx.user = Fx.loc.match(/user=([a-z0-9_\-]+)/) ? RegExp.$1 : "nancyan";
document.title = "ECLAT 汎用足跡 [" + Fx.user + "]";
entry();
Fx.footprint(Fx.user);
[/exec]