エクラ会員名簿 3.0

[diary:174518]
[beforeExec]
ini = function(){
echo("loadMsg", "会員名簿(A)のデータを読み込んでいます・・・");
Fx.e("diary/2010/08/1281538483.html", "en1");
};
Lo.en1 = function(s){
Fx.userID = key(s, "DATA").split(" "); echo("onCnt", Fx.userID.length);
echo("loadMsg", "データを処理しています");
Fx.e("diary/2010/08/1281623377.html", "en2");
};
Lo.en2 = function(s){
offUser = key(s, "DATA").split(" "); echo("offCnt", offUser.length);
entry();
};
entry = function(){
main_list_create();
Fid("loadDisp").style.display = "none";
Fx.user2 = "";
Fx.uMax = Fx.userID.length;
Fx.cnt = 0;

Fx.L1 = new Array();
};
entry161 = function(){
var s = echo("user");
if(s != ""){
Fx.user = s;
main161();
}
};
main_list_create = function(){

Fx.op = [0,0,0,0,0];
var list = (Fx.userID.join(" ") + " " + offUser.join(" ")).split(" ");
list.sort();
var obj = Fid("oidDisp"),o,o1,a,c,d,d1,d2,d3,s1,s2,ss,i,x = 0,x1;
for(i = 0; i < 27; i++){
o = Fap(obj, Fce("div")); o.className = "tin";
a = Fap(o, Fce("span")); a.className = "tin-1";
Fap(a, Fctn(i ? String.fromCharCode(i + 64) : "0-9"));
}

for(i = 0; i < list.length; i++){
a = list[i];
b = a.charCodeAt(0) - 96; if(b < 0) b = 0;
if(b != x){
c = Fap(o1, Fce("br"));
x = b;
}
o1 = Ftag(obj, "div")[b];
if(a.match(/(\.|\*)(.)(.)/)){
d1 = RegExp.$1; d2 = parseInt(RegExp.$2,16); d3 = parseInt(RegExp.$3,16);
a = a.replace(/...$/, "");
o = Fap(o1, Fcea("/home/nancyan/main.html?no=104&user=" + a, a));
s1 = d2 % 4; Fx.op[s1]++; Fx.op[4]++;
ss = "b" + s1;
s1 = (d2 & 0x04) >> 2;
ss += " bt" + s1;
s1 = (d3 & 0x08) >> 3;
ss += " tc" + s1;
if(d1 == ".") ss += " acc";
else Fap(Fap(o, Fce("span")), Fctn("*"));
o.className = ss;
o.target = "_blank";

} else {
o = Fap(o1, Fce("span")); o.className = "offUser";
Fap(o, Fctn(a));
}
Fap(o1, Fctn(" "));
}
c = Fap(o1, Fce("br"));
};

main161 = function(){
if(Fx.userID.length > 0){
Fx.searchID = Fx.userID.shift().replace(/\.../,"");
echo("userName",Fx.userID.length + "/" + Fx.uMax + " (" + Fx.cnt + ") : " + Fx.searchID );
Fx.e("/cgi-bin/footprint.cgi?oid=" + Fx.searchID);
} else {
Fx.L1.sort(); Fx.L1.reverse();
echo("listDisp2", Fx.L1.join("\x3cbr />"));
}
};
Lo.entry = function(){
var s = Re.entry.responseText.replace(/\r?\n/g, "");
var n = s.indexOf("/home/" + Fx.user + "/");
if(n != -1 && Fx.user != Fx.searchID){
Fx.cnt++;
var msg = s.substr(n).match(/\x3ctd class="message">(.+?)\x3c\/td>/) ? RegExp.$1 : "";
var date = s.substr(n - 56, 16);
var re = s.match(/class="count">([\d]+)/g);
var cnt = re.slice(0,2).join("-").replace(/class="count">/g, "");
var o = Fap(Fid("listDisp"), Fce("div"));
var a = date + " " + Fx.searchID + " " + cnt + " : " + msg;
Fx.L1.push(a);
}
main161();
};



rad = function(obj,st){
var ra = function(n) { return Fid("ra" + n).checked ? n + 1 : 0; };
var o = Fid(st.match(/hide|op/) ? "oidP" : "oidDisp");
var s = o.className;
var str = st == "op" ? st + (ra(0) + ra(1) + ra(3)) : st;
var re = new RegExp(st + "\d*", "g");
s = s.replace(re,"").replace(/^\s+|\s+$/g,"").replace(/ /g, " ");
o.className = obj.checked ? s + " " + str : s;

};

radT = function(obj,str){
var o = Fid(str == "hide" ? "oidP" : "oidDisp"), s = o.className;
var re = new RegExp(".?" + str, "g");
s = s.replace(re,"").replace(/^\s+|\s+$/g,"").replace(/ /g, " ");
o.className = obj.checked ? s + " " + str : s;

};

[/beforeExec]
[cssText]
a { text-decoration:none; }
#absDisp {
position:fixed; width:100%; left:0px; top:0px;
background:#fff url(http://www.nancyan.net/image/futari/r/ringnote.gif) repeat-y fixed;
height:70px;
}
#absDispC{
border-bottom:1px solid #808080;
font-size:90%; margin:4px 1em 0px 60px; padding:.25em 1em .5em 1em;

}
#mainDisp { padding-top:65px; }
#form161 { color:#808080; margin-bottom:3px }
#loadDisp {
text-align:center; padding-top:5em; padding-bottom:10em;
color:#808080; font-size:90%;
}

#menuForm { color:#808080; }
.w100 { color:#000; }
.w100 span { color:red; }
label {
cursor:pointer; margin-right:2px; padding-top:3px;
}
label:hover { color:tomato; }
#opInfo { color:tomato; float:right; }
#oidDisp { margin:0 1em .5em 1em; }
#oidDisp a {
border-top-width:1px;
border-bottom-style:solid; border-bottom-width:1px; border-bottom-color:blue;
padding-left:4px; padding-right:4px; white-space:pre;
}
#oidDisp a span { color:red; }
.offUser {
border:1px solid #fff;
border-bottom:1px solid #ccc;
color:#000; white-space:pre;
}
#oidDisp a:hover { color:magenta; }
.tin { font:100%/1.6 "Times New Roman"; color:steelblue;
margin:.5em 0; padding:.25em .5em; color:#808080;
border:1px solid #ccc; border-radius:4px; -moz-border-radius:4px;
}
.red { color:red; font-family:"Times New Roman"; }
a.tc1 { border-top-color:red; }
a.tc0 { border-top-color:blue; }
a.bt1 { border-top-style:solid; }
a.bt0 { border-top-style:dashed; }
a.b3, .rd3 { background-color:#6cf; }
a.b2, .rd2 { background-color:#ff9; }
a.b1, .rd1 { background-color:#f9f; }
a.b0, .rd0 { background-color:#dcdcdc; }

#oidDisp a:active { border-left:1px solid red; border-right:1px solid red; }
#upPage label { border:1px solid steelblue; padding-left:2px; padding-right:4px; color:#80800; }

.checkbox label {
border:1px solid #f96; padding-left:2px; padding-right:4px;
color:#808080; background-color:#fc9;
}
label.r-t { border-top:1px solid red !important; }
label.r-h { border-top:1px dashed blue !important; }
label.r-c { important; background-color:#fff; }

.btc .tc0, .vis .bt1, .ast .acc,
.op1 .b0,.op2 .b0,.op2 .b2,.op3 .b1,.op3 .b3,
.op4 .b0,.op4 .b1,.op5 .b2,.op5 .b3,
.op6 .b0,.op6 .b1,.op6 .b2,.op7 .b1,.op7 .b2,.op7 .b3 {
background-color:#fff;
border:1px solid #fff !important;
}
.hide .btc .tc0,.hide .vis .bt1,.hide .ast .acc,
.hide.op1 .b0,.hide.op2 .b0,.hide.op2 .b2,.hide.op3 .b1,.hide.op3 .b3,
.hide.op4 .b0,.hide.op4 .b1,.hide.op5 .b2,.hide.op5 .b3,
.hide.op6 .b0,.hide.op6 .b1,.hide.op6 .b2,.hide.op7 .b1,.hide.op7 .b2,.hide.op7 .b3,
.off .offUser { display:none; }
#opMsg { color:#808080; }
.tin-1 {
color:red; font:300%/1.0 "Times New Roman"; float:left; display:inlin-block;
width:1.6em; text-align:center;
}
.tin br { clear:both; }
#infoDisp {
font-size:90%; margin:2em 1em 4em 1em; color:#808080;
}
#infoDisp a { text-decoration:underline; }
#listDisp2 { margin:1em 2em; }

[/cssText]
[body]
<$$div id="absDisp"><$$div id="absDispC">
<form id="form161" name="form161" onsubmit="return false">
<$$span style="float:right;">
<$$a href="main.html?diary=174518">追跡<$$/a>
<input type="text" size="16" name="oid" id="user" />
<input type="button" value="実行" onclick="entry161()" />
<$$span id="tID"><$$/span> <$$span id="userName">done.<$$/span>
<$$/span>
<$$span class="checkbox">
<label class="r-t" title="6ヶ月以内の入会者のみを絞り込みます"><input type="checkbox" onclick="rad(this,'btc')" />新規入会</label>
<label class="r-h" title="6ヶ月以内の訪問者なしを絞り込みます"><input type="checkbox" onclick="rad(this,'vis')" />訪問なし</label>
<label class="r-a" title="解析ありを絞り込みます"><input type="checkbox" onclick="rad(this,'ast')" />解析あり<$$span class="red">*<$$/span></label>
<label class="r-c" title="絞り込み以外のリストを非表示にします"><input type="checkbox" onclick="rad(this,'hide')" />非表示</label>
<label class="r-c" title="退会者のリストを非表示にします"><input type="checkbox" onclick="rad(this,'off')" />退会/<$$span id="offCnt">0<$$/span></label>
<$$/span><$$br clear="right" />

</form>
<form id="menuForm" onsubmit="return false">
<$$span id="upPage">
<label class="rd2" title="日記を書いている人を絞り込みます"><input type="checkbox" id="ra3" onclick="rad(this,'op')" />日記帳</label><label class="rd1" title="掲示板を稼動している人を絞り込みます"><input type="checkbox" id="ra1" onclick="rad(this,'op')" />掲示板</label><label class="rd0" title="左の否定を行います"><input type="checkbox" id="ra0" onclick="rad(this,'op')" />否 定</label>
<$$span id="opMsg"><$$/span>
<$$/span>
<$$span style="float:right; color:#000">
<$$span id="onCnt">0<$$/span>/<$$span id="opInfo">0<$$/span>
</form>
<$$/div><$$/div>

<$$div id="loadDisp">
<$$img src="files/yukikko2b.gif" alt="" /><$$br />
<$$div id="loadMsg">会員名簿(A)のデータを読み込んでいます・・・<$$/div>
<$$/div>

<$$div id="oidP" class="op0"><$$div id="oidDisp" class="g0"><$$/div><$$/div>
<$$div id="listDisp"><$$/div>
<$$div id="listDisp2"><$$/div>
<$$div id="infoDisp">
■会員名簿のデータの抽出は<$$a href="main.html?diary=174895">こちら<$$/a>。<$$br >
■会員名簿の更新は<$$a href="main.html?diary=172231&page=174596">こちら<$$/a>。表示して確認は<$$a href="/home/yadokari/diary/2010/08/1281538483.html">こちら<$$/a>。<$$br >
■退会員名簿の更新は<$$a href="main.html?diary=172231&page=174621">こちら<$$/a>。表示して確認は<$$a href="/home/yadokari/diary/2010/08/1281623377.html">こちら<$$/a>。
<$$/div>
[/body]
[exec]
document.title = "エクラ会員名簿 3.0";
ini();
[/exec]
[/diary:174518]


■仕様書 2010 11/19 01:30 Wrote