]> 4ch.mooo.com Git - test.git/commitdiff
modified: data/js/script.js
authorsparky4 <sparky4@4ch.irc.su>
Mon, 7 Mar 2011 04:23:10 +0000 (22:23 -0600)
committersparky4 <sparky4@4ch.irc.su>
Mon, 7 Mar 2011 04:23:10 +0000 (22:23 -0600)
modified:   data/tplt/inc_yo-festival.tplt
modified:   data/tplt/inc_yo-uploader.tplt
modified:   data/tplt/inc_yo.tplt
modified:   lib/lib_common.php

data/js/script.js
data/tplt/inc_yo-festival.tplt
data/tplt/inc_yo-uploader.tplt
data/tplt/inc_yo.tplt
lib/lib_common.php

index 73fa8370a81b0202f281ddea034e4006097257ef..e496e89b02cac32f73a7da74310b5bd0369f7a68 100755 (executable)
@@ -1,15 +1,14 @@
 eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('8 V=14;8 K=0;8 G=[];8 15=[[2h,24,20],[1R,1I,1F],[1A,2t,4]];8 11=[[29,23,22,1Z,1X,1Q],[1L,1H,1G,1E,1C,1z]];h $g(i){t o.2g(i)}h 2c(){8 N=I(\'1q\'),E=I(\'21\'),x;5((x=$g(\'H\'))){x.k=N}5((x=$g(\'1T\'))){x.k=E}}h 1P(){8 P=I(\'1K\'),d=o,1g=d.A.u;v(8 i=0;i<1g;i++){5(d.A[i].1a){d.A[i].1a.k=P}}}h I(a){8 b,z,w=0,y=0,F;b=\' \'+o.17+\';\';8 c=b.u;2q(w<c){y=b.Z(\';\',w);z=b.10(w+1,y);F=z.Z(\'=\');5(z.10(0,F)==a){t 2i(z.10(F+1,y-w-1))}w=y+1}t\'\'}h 1s(a,b){8 c=12 2f();c.2d(c.2b()+2a*7);o.17=a+\'=\'+1w(b)+\'; 26=\'+c.25()}h c(){8 a,j,J,Y;1p{5(!$g(\'1n\')){t R}a=$g(\'1n\').k;5(!a&&!$g(\'Q\').k){X(W[0]);t 14}5(a){J=0;Y=1m.u;v(j=0;j<Y;j++){5(a.1Y(a.u-3,3).1W()==1m[j]){J=1;1U}}5(!J){X(W[1]);t 14}}D(\'Q\');D(\'H\');D(\'1S\');5(1k.1O){o.A[0].1N.k=a}o.A[0].1M.1J=R}18(e){}5($g(\'H\').k){1s(\'1q\',$g(\'H\').k)}}h 1b(){5(!o.1f){t}8 a,U=o.1f(\'a\');8 b=U.u;v(8 i=0;i<b;i++){a=U[i];5(a.T(\'1e\')){5(a.T(\'1d\')==\'1i\'){a.1c=\'1i\'}5(a.T(\'1d\')==\'1h\'){a.1c=\'1h\'}}}}h 1D(){$g("1j").m=\'\';$g("19").m=\'\';$g("B").m=\'C\';$g("C").m=\'B\'}h 1B(){$g("1j").m=\'1V\';$g("19").m=\'B\';$g("B").m=\'B\';$g("C").m=\'C\'}h 1l(a){1p{$g(\'Q\').1y()}18(e){}$g(\'Q\').k+=\'>>1x.\'+a+"\\r\\n"}h S(a,b){8 c=$g(\'r\'+a);5(c){5(b){c.m=c.m.16(\' 1o\',\'\')}2s{5(K){S(K,R)}K=a;c.m+=\' 1o\'}}}h D(a){8 b=$g(a);8 c=1w(b.k).2r();8 d=/%2p(6[2n]|7[0-1v-f]|2l)[0-1v-f]/;5(c.13(d)!==2j){X(W[2]);1r(b)}}h 1r(a){8 b=a.k,i=0,p=0;8 c=15.u,s;v(i=0;i<c;i++){s=15[i];v(p=0;p<=s[2];p++){b=b.16(12 M(O.L(s[0]+p),\'g\'),O.L(s[1]+p))}}c=11[0].2e;v(i=0;i<c;i++){s=11;b=b.16(12 M(O.L(s[0][i]),\'g\'),O.L(s[1][i]))}a.k=b}h 2k(a){5(1u a==\'h\'){G.2m(a)}}h 1t(){5(V){t}8 i,l=G.u,f;V=R;1b();v(i=0;i<l;i++){f=G[i];5(1u f==\'h\'){f()}}8 a=2o.1e;5(a.Z(\'?28=\')){5(a.13(/#[27]([0-9]+)$/)){S(M.$1)}5(a.13(/#q([0-9]+)$/)){1l(M.$1)}}}1k.2u=1t;',62,155,'|||||if|||var|||||||||function|||value||className||document||||Tbl|return|length|for|xx1|obj|xx2|tmp2|forms|hide|show|check_sakura||xx3|arrPresetFunc|fname|getCookie|ext_allowed|previous_replyhlno|fromCharCode|RegExp||String||fcom|true|replyhl|getAttribute|anchors|preset_sensor|msgs|alert|ext_length|indexOf|substring|arrSakuraTblsp|new|match|false|arrSakuraTbl|replace|cookie|catch|postform_tbl|pwd|fixalllinks|target|rel|href|getElementsByTagName|forms_length|_blank|_top|postform|window|quote|ext|fupfile|replyhl|try|namec|replace_sakura|setCookie|preset|typeof|9a|escape|No|focus|14446|63486|hideform|12445|showform|12542|85|12541|12540|12449|disabled|pwdc|12293|sendbtn|upfile_path|clipboardData|l2|63213|63306|fsub|femail|break|hide_btn|toUpperCase|63212|substr|63211|82|emailc|63210|63219|12353|toGMTString|expires|rq|res|63216|86400000|getTime|l1|setTime|legnth|Date|getElementById|63223|unescape|null|hookPresetFunction|80|push|ef|location|uf|while|toLowerCase|else|12535|onload'.split('|'),0,{}))
 /* Pixmicat! r4 functions ^ */
 
-var previous_replyhlno=0,arrPresetFunc=[],arrSakuraTbl=[[63223,12353,82],[63306,12449,85],[63486,12535,4]],arrSakuraTblsp=[[63216,63219,63210,63211,63212,63213],[12293,12540,12541,12542,12445,14446]];function $g(a){return document.getElementById(a)}function getCookie(a){var d,b,e=0,g=0,f;d=" "+document.cookie+";";for(var h=d.length;e<h;){g=d.indexOf(";",e);b=d.substring(e+1,g);f=b.indexOf("=");if(b.substring(0,f)===a)return window.unescape(b.substring(f+1,g-e-1));e=g+1}return""}
-function setCookie(a,d){var b=new Date;b.setTime(b.getTime()+6048E5);document.cookie=a+"="+window.escape(d)+"; expires="+b.toGMTString()}
-function replace_sakura(a){var d=a.value,b=0,e=0,g=arrSakuraTbl.length,f;for(b=0;b<g;b++){f=arrSakuraTbl[b];for(e=0;e<=f[2];e++)d=d.replace(new RegExp(String.fromCharCode(f[0]+e),"g"),String.fromCharCode(f[1]+e))}g=arrSakuraTblsp[0].legnth;for(b=0;b<g;b++){f=arrSakuraTblsp;d=d.replace(new RegExp(String.fromCharCode(f[0][b]),"g"),String.fromCharCode(f[1][b]))}a.value=d}
-function check_sakura(a){a=$g(a);if(window.escape(a.value).toLowerCase().match(/%uf(6[ef]|7[0-9a-f]|80)[0-9a-f]/)!==null){alert(msgs[2]);replace_sakura(a)}}function l1(){var a=getCookie("namec"),d=getCookie("emailc"),b;if(b=$g("fname"))b.value=a;if(b=$g("femail"))b.value=d}function l2(){for(var a=getCookie("pwdc"),d=document,b=d.forms.length,e=0;e<b;e++)if(d.forms[e].pwd)d.forms[e].pwd.value=a}
-function c(){var a,d,b,e;try{if(!$g("fupfile"))return true;a=$g("fupfile").value;if(!a&&!$g("fcom").value){alert(msgs[0]);return false}if(a){b=0;e=ext.length;for(d=0;d<e;d++)if(a.substr(a.length-3,3).toUpperCase()===ext[d]){b=1;break}if(!b){alert(msgs[1]);return false}}check_sakura("fcom");check_sakura("fname");check_sakura("fsub");if(window.clipboardData)document.forms[0].upfile_path.value=a;document.forms[0].sendbtn.disabled=true}catch(g){}$g("fname").value&&setCookie("namec",$g("fname").value)}
-function fixalllinks(){if(document.getElementsByTagName)for(var a,d=document.getElementsByTagName("a"),b=d.length,e=0;e<b;e++){a=d[e];if(a.getAttribute("href")){if(a.getAttribute("rel")==="_top")a.target="_top";if(a.getAttribute("rel")==="_blank")a.target="_blank"}}}function showform(){$g("postform").className="";$g("postform_tbl").className="";$g("hide").className="show";$g("show").className="hide"}
-//----function hideform(){$g("postform").className="hide_btn";$g("postform_tbl").className="hide";$g("hide").className="hide";$g("show").className="show"}function quote(a){try{$g("fcom").focus();$g("fcom").value+=">>No."+a+"\r\n"}catch(d){}}function replyhl(a,d){var b=$g("r"+a);if(b)if(d)b.className=b.className.replace(" reply_hl","");else{previous_replyhlno&&replyhl(previous_replyhlno,true);previous_replyhlno=a;b.className+=" reply_hl"}}
-function hideform(){$g("postform").className="hide_btn postblock";$g("postform_tbl").className="hide";$g("hide").className="hide";$g("show").className="show"}function quote(a){try{$g("fcom").focus();$g("fcom").value+=">>No."+a+"\r\n"}catch(d){}}function replyhl(a,d){var b=$g("r"+a);if(b)if(d)b.className=b.className.replace(" reply_hl","");else{previous_replyhlno&&replyhl(previous_replyhlno,true);previous_replyhlno=a;b.className+=" reply_hl"}}
-function hookPresetFunction(a){typeof a==="function"&&arrPresetFunc.push(a)}function preset(){var a,d=arrPresetFunc.length,b;fixalllinks();for(a=0;a<d;a++){b=arrPresetFunc[a];typeof b==="function"&&b()}a=location.href;if(a.indexOf("?res=")){a.match(/#[rq]([0-9]+)$/)&&replyhl(RegExp.$1,false);a.match(/#q([0-9]+)$/)&&quote(RegExp.$1)}};
+//var previous_replyhlno=0,arrPresetFunc=[],arrSakuraTbl=[[63223,12353,82],[63306,12449,85],[63486,12535,4]],arrSakuraTblsp=[[63216,63219,63210,63211,63212,63213],[12293,12540,12541,12542,12445,14446]];function $g(a){return document.getElementById(a)}function getCookie(a){var d,b,e=0,g=0,f;d=" "+document.cookie+";";for(var h=d.length;e<h;){g=d.indexOf(";",e);b=d.substring(e+1,g);f=b.indexOf("=");if(b.substring(0,f)===a)return window.unescape(b.substring(f+1,g-e-1));e=g+1}return""}
+//function setCookie(a,d){var b=new Date;b.setTime(b.getTime()+6048E5);document.cookie=a+"="+window.escape(d)+"; expires="+b.toGMTString()}
+//function replace_sakura(a){var d=a.value,b=0,e=0,g=arrSakuraTbl.length,f;for(b=0;b<g;b++){f=arrSakuraTbl[b];for(e=0;e<=f[2];e++)d=d.replace(new RegExp(String.fromCharCode(f[0]+e),"g"),String.fromCharCode(f[1]+e))}g=arrSakuraTblsp[0].legnth;for(b=0;b<g;b++){f=arrSakuraTblsp;d=d.replace(new RegExp(String.fromCharCode(f[0][b]),"g"),String.fromCharCode(f[1][b]))}a.value=d}
+//function check_sakura(a){a=$g(a);if(window.escape(a.value).toLowerCase().match(/%uf(6[ef]|7[0-9a-f]|80)[0-9a-f]/)!==null){alert(msgs[2]);replace_sakura(a)}}function l1(){var a=getCookie("namec"),d=getCookie("emailc"),b;if(b=$g("fname"))b.value=a;if(b=$g("femail"))b.value=d}function l2(){for(var a=getCookie("pwdc"),d=document,b=d.forms.length,e=0;e<b;e++)if(d.forms[e].pwd)d.forms[e].pwd.value=a}
+//function c(){var a,d,b,e;try{if(!$g("fupfile"))return true;a=$g("fupfile").value;if(!a&&!$g("fcom").value){alert(msgs[0]);return false}if(a){b=0;e=ext.length;for(d=0;d<e;d++)if(a.substr(a.length-3,3).toUpperCase()===ext[d]){b=1;break}if(!b){alert(msgs[1]);return false}}check_sakura("fcom");check_sakura("fname");check_sakura("fsub");if(window.clipboardData)document.forms[0].upfile_path.value=a;document.forms[0].sendbtn.disabled=true}catch(g){}$g("fname").value&&setCookie("namec",$g("fname").value)}
+//function fixalllinks(){if(document.getElementsByTagName)for(var a,d=document.getElementsByTagName("a"),b=d.length,e=0;e<b;e++){a=d[e];if(a.getAttribute("href")){if(a.getAttribute("rel")==="_top")a.target="_top";if(a.getAttribute("rel")==="_blank")a.target="_blank"}}}function showform(){$g("postform").className="";$g("postform_tbl").className="";$g("hide").className="show";$g("show").className="hide"}
+//function hideform(){$g("postform").className="hide_btn postblock";$g("postform_tbl").className="hide";$g("hide").className="hide";$g("show").className="show"}function quote(a){try{$g("fcom").focus();$g("fcom").value+=">>No."+a+"\r\n"}catch(d){}}function replyhl(a,d){var b=$g("r"+a);if(b)if(d)b.className=b.className.replace(" reply_hl","");else{previous_replyhlno&&replyhl(previous_replyhlno,true);previous_replyhlno=a;b.className+=" reply_hl"}}
+//function hookPresetFunction(a){typeof a==="function"&&arrPresetFunc.push(a)}function preset(){var a,d=arrPresetFunc.length,b;fixalllinks();for(a=0;a<d;a++){b=arrPresetFunc[a];typeof b==="function"&&b()}a=location.href;if(a.indexOf("?res=")){a.match(/#[rq]([0-9]+)$/)&&replyhl(RegExp.$1,false);a.match(/#q([0-9]+)$/)&&quote(RegExp.$1)}};
 
 /* Pixmicat! r5 functions ^ */
 
index 0db6b10fce040e52d917245dc84ec27c21c81723..dcac2ffecd61e5890c36a9fcdef29e8e762f8a7e 100755 (executable)
@@ -27,8 +27,8 @@
 <meta http-equiv="Expires" content="Sat, 1 Jan 2000 00:00:00 GMT" />\r
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
 <meta http-equiv="Content-Language" content="{$LANGUAGE}" />\r
-<title>{$TITLE}</title>
-{$STYLE_LOAD}<link rel="stylesheet" type="text/css" href="{$CSS_DIR}main/style.css" />
+<title>{$TITLE}</title>\r
+{$STYLE_LOAD}<link rel="stylesheet" type="text/css" href="{$CSS_DIR}main/style.css" />\r
 {$FAV_ICON}\r
 <style type="text/css"><!--/*--><![CDATA[/*><!--*/\r
 .grid {float: left; border: 2px #F0E0D6 solid; width: <!--&BLOCKWIDTH/-->;height: <!--&BLOCKHEIGHT/-->;<!--&IF(&CLICKENTER,'cursor: pointer; cursor: hand;','')--> overflow:auto; margin:2px; padding:0;}\r
 /*]]>*/--></style><!--/&HEADER-->\r
 \r
 <!--&JSHEADER-->\r
-<script type="text/javascript"><!--//--><![CDATA[//><!--
+<script type="text/javascript"><!--//--><![CDATA[//><!--\r
 var msgs=['{$JS_REGIST_WITHOUTCOMMENT}','{$JS_REGIST_UPLOAD_NOTSUPPORT}','{$JS_CONVERT_SAKURA}'];\r
-var ext="{$ALLOW_UPLOAD_EXT}".toUpperCase().split("|");
-{$JSDONK}
+var ext="{$ALLOW_UPLOAD_EXT}".toUpperCase().split("|");\r
+{$JSDONK}\r
 var boxclicked=0;\r
-//--><!]]></script>
+//--><!]]></script>\r
 <script type="text/javascript" src="{$JS_DIR}script.js"></script>\r
-<!--[if lt IE 8]><script type="text/javascript" src="{$JS_DIR}iedivfix.js"></script><![endif]-->
+<!--[if lt IE 8]><script type="text/javascript" src="{$JS_DIR}iedivfix.js"></script><![endif]-->\r
 <!--/&JSHEADER-->\r
 \r
 <!--&TOPLINKS-->\r
 <div id="heading"><div class="adminbar" id="header">\r
-{$HOOKLINKS} {$TOP_LINKS} {$REFRESH} {$STATUS} {$SEARCH} {$HOME} {$ADMIN}
+{$HOOKLINKS} {$TOP_LINKS} {$REFRESH} {$STATUS} {$SEARCH} {$HOME} {$ADMIN}\r
 </div>\r
 <!--/&TOPLINKS-->\r
 \r
 <!--&BODYHEAD-->\r
 <body class="mainpage">\r
-<!--&TOPLINKS/-->
+<!--&TOPLINKS/-->\r
 <div class="logo">\r
-<div style="font-size: 20pt; font-weight: bold;">{$TITLEHEAD}</div><!--&IF($TITLECOM,'<div class="sublogo">{$TITLECOM}</div>','')-->
+<div style="font-size: 20pt; font-weight: bold;">{$TITLEHEAD}</div><!--&IF($TITLECOM,'<div class="sublogo">{$TITLECOM}</div>','')-->\r
 </div><hr class="top" size="1" /></div>\r
 <!--/&BODYHEAD-->\r
 \r
 <!--&POSTFORM-->\r
 <form action="{$SELF}" method="post" enctype="multipart/form-data" onsubmit="return c();" id="postform_main">\r
-<div class="postarea" id="postform">\r
+<div class="postarea reply" id="postform">\r
 <!--&IF($FORMTOP,'{$FORMTOP}','')-->\r
 <input type="hidden" name="mode" value="{$MODE}" />\r
 <input type="hidden" name="MAX_FILE_SIZE" value="{$MAX_FILE_SIZE}" />\r
@@ -78,11 +78,11 @@ var boxclicked=0;
 <tr><td class="postblock"><b>{$FORM_EMAIL_TEXT}</b></td><td>{$FORM_EMAIL_FIELD}</td></tr>\r
 <tr><td class="postblock"><b>{$FORM_TOPIC_TEXT}</b></td><td>{$FORM_TOPIC_FIELD}{$FORM_SUBMIT}</td></tr>\r
 <tr><td class="postblock"><b>{$FORM_COMMENT_TEXT}</b></td><td>{$FORM_COMMENT_FIELD}</td></tr>\r
-<!--&IF($FORM_ATTECHMENT_FIELD,'<tr><td class="postblock"><b>{$FORM_ATTECHMENT_TEXT}</b></td><td>{$FORM_ATTECHMENT_FIELD}','')--><!--&IF($FORM_NOATTECHMENT_FIELD,' [{$FORM_NOATTECHMENT_FIELD}<label for="noimg">{$FORM_NOATTECHMENT_TEXT}</label>]','')--><!--&IF($FORM_ATTECHMENT_FIELD,'</td></tr>','')-->
+<!--&IF($FORM_ATTECHMENT_FIELD,'<tr><td class="postblock"><b>{$FORM_ATTECHMENT_TEXT}</b></td><td>{$FORM_ATTECHMENT_FIELD}','')--><!--&IF($FORM_NOATTECHMENT_FIELD,' [{$FORM_NOATTECHMENT_FIELD}<label for="noimg">{$FORM_NOATTECHMENT_TEXT}</label>]','')--><!--&IF($FORM_ATTECHMENT_FIELD,'</td></tr>','')-->\r
 <tr><td class="postblock"><b>{$FORM_DELETE_PASSWORD_TEXT}</b></td><td>{$FORM_DELETE_PASSWORD_FIELD}<small>{$FORM_DELETE_PASSWORD_NOTICE}</small></td></tr>\r
-<!--&IF($FORM_OPTION1_TEXT,'<tr><td class="postblock"><b>{$FORM_OPTION1_TEXT}</b></td>','')-->
+<!--&IF($FORM_OPTION1_TEXT,'<tr><td class="postblock"><b>{$FORM_OPTION1_TEXT}</b></td>','')-->\r
 <!--&IF($FORM_CONTPOST_FIELD,'<td> [{$FORM_CONTPOST_FIELD}<label for="up_series">{$FORM_CONTPOST_TEXT}</label>]','')-->\r
-<!--&IF($FORM_OPTION1_TEXT,'</td></tr>','')-->
+<!--&IF($FORM_OPTION1_TEXT,'</td></tr>','')-->\r
 {$FORM_EXTRA_COLUMN}\r
 <!--&IF($FORM_CATEGORY_FIELD,'<tr><td class="postblock"><b>{$FORM_CATEGORY_TEXT}</b></td><td>{$FORM_CATEGORY_FIELD}<small>{$FORM_CATEGORY_NOTICE}</small></td></tr>','')-->\r
 <tr><td colspan="2">\r
@@ -132,8 +132,8 @@ var boxclicked=0;
 <!--&IMG_LEFT--><!--&IF($IMG_BAR,'<br />','')-->{$IMG_SRC}<!--/&IMG_LEFT-->\r
 \r
 <!--&THREAD-->\r
-<!--&IF($RESTO,'','<!--&THREAD_CLICKENTER/-->')-->
-<!--Thread No.{$NO}-->
+<!--&IF($RESTO,'','<!--&THREAD_CLICKENTER/-->')-->\r
+<!--Thread No.{$NO}-->\r
 <div class="threadpost" id="r{$NO}"><input type="checkbox" name="{$NO}" value="delete" onclick="boxclicked=1;" /><span class="filetitle">{$SUB}</span>\r
 {$NAME_TEXT}<span class="postername">{$NAME}</span> {$NOW} {$QUOTEBTN}&nbsp;&nbsp;{$REPLYBTN}</div>\r
 {$IMG_BAR}<!--&IF($RESTO,'<!--&IMG_LEFT/-->','<!--&IMGARRANGE/-->')-->\r
@@ -142,10 +142,10 @@ var boxclicked=0;
 <!--&IF($CATEGORY,'<div class="category">{$CATEGORY_TEXT}{$CATEGORY}</div>','')-->\r
 <!--/&THREAD-->\r
 \r
-<!--&REPLY-->
-                               <!--Reply No.{$NO}-->
+<!--&REPLY-->\r
+                               <!--Reply No.{$NO}-->\r
 <table><tr><td class="doubledash">…</td><td class="reply" id="r{$NO}">\r
-<input type="checkbox" name="{$NO}" value="delete" onclick="boxclicked=1;" /><span class="replytitle">{$SUB}</span>&nbsp;
+<input type="checkbox" name="{$NO}" value="delete" onclick="boxclicked=1;" /><span class="replytitle">{$SUB}</span>&nbsp;\r
 {$NAME_TEXT}<span class="commentpostername">{$NAME}</span> [{$NOW}] {$QUOTEBTN}&nbsp;<!--&IF($IMG_BAR,'<br />','')-->{$IMG_BAR}<!--&IF($IMG_SRC,'<br />','')-->{$IMG_SRC}\r
 {$WARN_BEKILL}<div class="blockquote">{$COM}</div>\r
 <!--&IF($CATEGORY,'<div class="category">{$CATEGORY_TEXT}{$CATEGORY}</div>','')-->\r
@@ -175,7 +175,7 @@ var boxclicked=0;
 <table style="float: right;">\r
 <tr><td align="center" style="white-space: nowrap;">\r
 {$DEL_HEAD_TEXT}[{$DEL_IMG_ONLY_FIELD}<label for="onlyimgdel">{$DEL_IMG_ONLY_TEXT}</label>]<br />\r
-{$DEL_PASS_TEXT}{$DEL_PASS_FIELD}{$DEL_SUBMIT_BTN}
+{$DEL_PASS_TEXT}{$DEL_PASS_FIELD}{$DEL_SUBMIT_BTN}\r
 {$STYLE_BAR}\r
 </td></tr>\r
 </table>\r
@@ -196,4 +196,4 @@ var boxclicked=0;
 </form>\r
 {$PAGENAV}\r
 </div>\r
-<!--/&MAIN-->
\ No newline at end of file
+<!--/&MAIN-->\r
index 77195cd1da24e6b39699702e523ed205102cd5e3..bfb0dd2ae6eade49c01a6557abd0161fe893a206 100755 (executable)
@@ -12,8 +12,8 @@
 <meta http-equiv="Expires" content="Sat, 1 Jan 2000 00:00:00 GMT" />\r
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
 <meta http-equiv="Content-Language" content="{$LANGUAGE}" />\r
-<title>{$TITLE}</title>
-{$STYLE_LOAD}<link rel="stylesheet" type="text/css" href="{$CSS_DIR}main/style.css" />
+<title>{$TITLE}</title>\r
+{$STYLE_LOAD}<link rel="stylesheet" type="text/css" href="{$CSS_DIR}main/style.css" />\r
 {$FAV_ICON}\r
 <style type="text/css"><!--/*--><![CDATA[/*><!--*/\r
 .grid {float: left; width: 99%;height: 1.2em; overflow:auto; margin:2px; padding:0;}\r
 /*]]>*/--></style><!--/&HEADER-->\r
 \r
 <!--&JSHEADER-->\r
-<script type="text/javascript"><!--//--><![CDATA[//><!--
+<script type="text/javascript"><!--//--><![CDATA[//><!--\r
 var msgs=['{$JS_REGIST_WITHOUTCOMMENT}','{$JS_REGIST_UPLOAD_NOTSUPPORT}','{$JS_CONVERT_SAKURA}'];\r
-var ext="{$ALLOW_UPLOAD_EXT}".toUpperCase().split("|");
-{$JSDONK}
+var ext="{$ALLOW_UPLOAD_EXT}".toUpperCase().split("|");\r
+{$JSDONK}\r
 var boxclicked=0;\r
-//--><!]]></script>
+//--><!]]></script>\r
 <script type="text/javascript" src="{$JS_DIR}script.js"></script>\r
-<!--[if lt IE 8]><script type="text/javascript" src="{$JS_DIR}iedivfix.js"></script><![endif]-->
+<!--[if lt IE 8]><script type="text/javascript" src="{$JS_DIR}iedivfix.js"></script><![endif]-->\r
 <!--/&JSHEADER-->\r
 \r
 <!--&TOPLINKS-->\r
 <div id="heading"><div class="adminbar" id="header">\r
-{$HOOKLINKS} {$TOP_LINKS} {$REFRESH} {$STATUS} {$SEARCH} {$HOME} {$ADMIN}
+{$HOOKLINKS} {$TOP_LINKS} {$REFRESH} {$STATUS} {$SEARCH} {$HOME} {$ADMIN}\r
 </div>\r
 <!--/&TOPLINKS-->\r
 \r
 <!--&BODYHEAD-->\r
 <body class="mainpage">\r
-<!--&TOPLINKS/-->
+<!--&TOPLINKS/-->\r
 <div class="logo">\r
-<div style="font-size: 20pt; font-weight: bold;">{$TITLEHEAD}</div><!--&IF($TITLECOM,'<div class="sublogo">{$TITLECOM}</div>','')-->
-</div><hr class="top" size="1" /></div>
+<div style="font-size: 20pt; font-weight: bold;">{$TITLEHEAD}</div><!--&IF($TITLECOM,'<div class="sublogo">{$TITLECOM}</div>','')-->\r
+</div><hr class="top" size="1" /></div>\r
 <!--/&BODYHEAD-->\r
 \r
 <!--&POSTFORM-->\r
 <form action="{$SELF}" method="post" enctype="multipart/form-data" onsubmit="return c();" id="postform_main">\r
-<div class="postarea" id="postform">\r
+<div class="postarea reply" id="postform">\r
 <!--&IF($FORMTOP,'{$FORMTOP}','')-->\r
 <input type="hidden" name="mode" value="{$MODE}" />\r
 <input type="hidden" name="MAX_FILE_SIZE" value="{$MAX_FILE_SIZE}" />\r
@@ -62,11 +62,11 @@ var boxclicked=0;
 <tr><td class="postblock"><b>{$FORM_EMAIL_TEXT}</b></td><td>{$FORM_EMAIL_FIELD}</td></tr>\r
 <tr><td class="postblock"><b>{$FORM_TOPIC_TEXT}</b></td><td>{$FORM_TOPIC_FIELD}{$FORM_SUBMIT}</td></tr>\r
 <tr><td class="postblock"><b>{$FORM_COMMENT_TEXT}</b></td><td>{$FORM_COMMENT_FIELD}</td></tr>\r
-<!--&IF($FORM_ATTECHMENT_FIELD,'<tr><td class="postblock"><b>{$FORM_ATTECHMENT_TEXT}</b></td><td>{$FORM_ATTECHMENT_FIELD}','')--><!--&IF($FORM_NOATTECHMENT_FIELD,' [{$FORM_NOATTECHMENT_FIELD}<label for="noimg">{$FORM_NOATTECHMENT_TEXT}</label>]','')--><!--&IF($FORM_ATTECHMENT_FIELD,'</td></tr>','')-->
+<!--&IF($FORM_ATTECHMENT_FIELD,'<tr><td class="postblock"><b>{$FORM_ATTECHMENT_TEXT}</b></td><td>{$FORM_ATTECHMENT_FIELD}','')--><!--&IF($FORM_NOATTECHMENT_FIELD,' [{$FORM_NOATTECHMENT_FIELD}<label for="noimg">{$FORM_NOATTECHMENT_TEXT}</label>]','')--><!--&IF($FORM_ATTECHMENT_FIELD,'</td></tr>','')-->\r
 <tr><td class="postblock"><b>{$FORM_DELETE_PASSWORD_TEXT}</b></td><td>{$FORM_DELETE_PASSWORD_FIELD}<small>{$FORM_DELETE_PASSWORD_NOTICE}</small></td></tr>\r
-<!--&IF($FORM_OPTION1_TEXT,'<tr><td class="postblock"><b>{$FORM_OPTION1_TEXT}</b></td>','')-->
+<!--&IF($FORM_OPTION1_TEXT,'<tr><td class="postblock"><b>{$FORM_OPTION1_TEXT}</b></td>','')-->\r
 <!--&IF($FORM_CONTPOST_FIELD,'<td> [{$FORM_CONTPOST_FIELD}<label for="up_series">{$FORM_CONTPOST_TEXT}</label>]','')-->\r
-<!--&IF($FORM_OPTION1_TEXT,'</td></tr>','')-->
+<!--&IF($FORM_OPTION1_TEXT,'</td></tr>','')-->\r
 {$FORM_EXTRA_COLUMN}\r
 <!--&IF($FORM_CATEGORY_FIELD,'<tr><td class="postblock"><b>{$FORM_CATEGORY_TEXT}</b></td><td>{$FORM_CATEGORY_FIELD}<small>{$FORM_CATEGORY_NOTICE}</small></td></tr>','')-->\r
 <tr><td colspan="2">\r
@@ -125,16 +125,16 @@ var boxclicked=0;
 <!--/&MAIN_THREAD-->\r
 \r
 \r
-<!--&THREAD-->
-<!--Thread No.{$NO}-->
+<!--&THREAD-->\r
+<!--Thread No.{$NO}-->\r
 <!--&IF($RESTO,'<!--&RES_THREAD/-->','<!--&MAIN_THREAD/-->')-->\r
 <!--/&THREAD-->\r
 \r
-<!--&REPLY-->
-                               <!--Reply No.{$NO}-->
-<table><tr><td class="doubledash">…</td><td class="reply" id="r{$NO}">
+<!--&REPLY-->\r
+                               <!--Reply No.{$NO}-->\r
+<table><tr><td class="doubledash">…</td><td class="reply" id="r{$NO}">\r
 <div class="reply" id="r{$NO}">\r
-<input type="checkbox" name="{$NO}" value="delete" onclick="boxclicked=1;" /><span class="replytitle">{$SUB}</span>&nbsp;
+<input type="checkbox" name="{$NO}" value="delete" onclick="boxclicked=1;" /><span class="replytitle">{$SUB}</span>&nbsp;\r
 {$NAME_TEXT}<span class="commentpostername">{$NAME}</span> {$NOW} {$QUOTEBTN}&nbsp;<!--&IF($IMG_BAR,'<br />','')-->{$IMG_BAR}<!--&IF($IMG_SRC,'<br />','')-->{$IMG_SRC}\r
 {$WARN_BEKILL}<div class="blockquote">{$COM}</div>\r
 <!--&IF($CATEGORY,'<div class="category">{$CATEGORY_TEXT}{$CATEGORY}</div>','')-->\r
@@ -164,7 +164,7 @@ var boxclicked=0;
 <table style="float: right;">\r
 <tr><td align="center" style="white-space: nowrap;">\r
 {$DEL_HEAD_TEXT}[{$DEL_IMG_ONLY_FIELD}<label for="onlyimgdel">{$DEL_IMG_ONLY_TEXT}</label>]<br />\r
-{$DEL_PASS_TEXT}{$DEL_PASS_FIELD}{$DEL_SUBMIT_BTN}
+{$DEL_PASS_TEXT}{$DEL_PASS_FIELD}{$DEL_SUBMIT_BTN}\r
 {$STYLE_BAR}\r
 </td></tr>\r
 </table>\r
@@ -187,4 +187,4 @@ var boxclicked=0;
 </form>\r
 {$PAGENAV}\r
 </div>\r
-<!--/&MAIN-->
\ No newline at end of file
+<!--/&MAIN-->\r
index f1baef182eb691ca3d624a9ff2bc86a0b2ebbb57..c29afb9f25b3aa2bc10540866b1f729e940321f0 100755 (executable)
 <meta http-equiv="Expires" content="Sat, 1 Jan 2000 00:00:00 GMT" />\r
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
 <meta http-equiv="Content-Language" content="{$LANGUAGE}" />\r
-<title>{$TITLE}</title>
-{$STYLE_LOAD}<link rel="stylesheet" type="text/css" href="{$CSS_DIR}main/style.css" />
+<title>{$TITLE}</title>\r
+{$STYLE_LOAD}<link rel="stylesheet" type="text/css" href="{$CSS_DIR}main/style.css" />\r
 {$FAV_ICON}<!--/&HEADER-->\r
 \r
 <!--&JSHEADER-->\r
 <script type="text/javascript">\r
-// <![CDATA[
+// <![CDATA[\r
 var msgs=['{$JS_REGIST_WITHOUTCOMMENT}','{$JS_REGIST_UPLOAD_NOTSUPPORT}','{$JS_CONVERT_SAKURA}'];\r
-var ext="{$ALLOW_UPLOAD_EXT}".toUpperCase().split("|");
+var ext="{$ALLOW_UPLOAD_EXT}".toUpperCase().split("|");\r
 {$JSDONK}\r
-// ]]>
-</script>
+// ]]>\r
+</script>\r
 <script type="text/javascript" src="{$JS_DIR}script.js"></script>\r
 <!--[if lt IE 8]><script type="text/javascript" src="{$JS_DIR}iedivfix.js"></script><![endif]-->\r
 <!--/&JSHEADER-->\r
 \r
 <!--&TOPLINKS-->\r
 <div id="heading"><div class="adminbar" id="header">\r
-{$HOOKLINKS} {$TOP_LINKS} {$REFRESH} {$STATUS} {$SEARCH} {$HOME} {$ADMIN}
+{$HOOKLINKS} {$TOP_LINKS} {$REFRESH} {$STATUS} {$SEARCH} {$HOME} {$ADMIN}\r
 </div>\r
 <!--/&TOPLINKS-->\r
 \r
 <!--&BODYHEAD-->\r
 <body>\r
-<!--&TOPLINKS/-->
+<!--&TOPLINKS/-->\r
 <div class="logo">\r
-<div style="font-size: 20pt; font-weight: bold;">{$TITLEHEAD}</div><!--&IF($TITLECOM,'<div class="sublogo">{$TITLECOM}</div>','')-->
+<div style="font-size: 20pt; font-weight: bold;">{$TITLEHEAD}</div><!--&IF($TITLECOM,'<div class="sublogo">{$TITLECOM}</div>','')-->\r
 </div><hr class="top" /></div>\r
 <!--/&BODYHEAD-->\r
 \r
 <!--&POSTFORM-->\r
 <form action="{$SELF}" method="post" enctype="multipart/form-data" onsubmit="return c();" id="postform_main">\r
-<div class="postarea" id="postform">\r
+<div class="postarea reply" id="postform">\r
 <!--&IF($FORMTOP,'{$FORMTOP}','')-->\r
 <input type="hidden" name="mode" value="{$MODE}" />\r
 <input type="hidden" name="MAX_FILE_SIZE" value="{$MAX_FILE_SIZE}" />\r
@@ -54,11 +54,11 @@ var ext="{$ALLOW_UPLOAD_EXT}".toUpperCase().split("|");
 <tr><td class="postblock"><b>{$FORM_EMAIL_TEXT}</b></td><td>{$FORM_EMAIL_FIELD}</td></tr>\r
 <tr><td class="postblock"><b>{$FORM_TOPIC_TEXT}</b></td><td>{$FORM_TOPIC_FIELD}{$FORM_SUBMIT}</td></tr>\r
 <tr><td class="postblock"><b>{$FORM_COMMENT_TEXT}</b></td><td>{$FORM_COMMENT_FIELD}</td></tr>\r
-<!--&IF($FORM_ATTECHMENT_FIELD,'<tr><td class="postblock"><b>{$FORM_ATTECHMENT_TEXT}</b></td><td>{$FORM_ATTECHMENT_FIELD}','')--><!--&IF($FORM_NOATTECHMENT_FIELD,' [{$FORM_NOATTECHMENT_FIELD}<label for="noimg">{$FORM_NOATTECHMENT_TEXT}</label>]','')--><!--&IF($FORM_ATTECHMENT_FIELD,'</td></tr>','')-->
+<!--&IF($FORM_ATTECHMENT_FIELD,'<tr><td class="postblock"><b>{$FORM_ATTECHMENT_TEXT}</b></td><td>{$FORM_ATTECHMENT_FIELD}','')--><!--&IF($FORM_NOATTECHMENT_FIELD,' [{$FORM_NOATTECHMENT_FIELD}<label for="noimg">{$FORM_NOATTECHMENT_TEXT}</label>]','')--><!--&IF($FORM_ATTECHMENT_FIELD,'</td></tr>','')-->\r
 <tr><td class="postblock"><b>{$FORM_DELETE_PASSWORD_TEXT}</b></td><td>{$FORM_DELETE_PASSWORD_FIELD}<small>{$FORM_DELETE_PASSWORD_NOTICE}</small></td></tr>\r
-<!--&IF($FORM_OPTION1_TEXT,'<tr><td class="postblock"><b>{$FORM_OPTION1_TEXT}</b></td>','')-->
+<!--&IF($FORM_OPTION1_TEXT,'<tr><td class="postblock"><b>{$FORM_OPTION1_TEXT}</b></td>','')-->\r
 <!--&IF($FORM_CONTPOST_FIELD,'<td> [{$FORM_CONTPOST_FIELD}<label for="up_series">{$FORM_CONTPOST_TEXT}</label>]','')-->\r
-<!--&IF($FORM_OPTION1_TEXT,'</td></tr>','')-->
+<!--&IF($FORM_OPTION1_TEXT,'</td></tr>','')-->\r
 {$FORM_EXTRA_COLUMN}\r
 <!--&IF($FORM_CATEGORY_FIELD,'<tr><td class="postblock"><b>{$FORM_CATEGORY_TEXT}</b></td><td>{$FORM_CATEGORY_FIELD}<small>{$FORM_CATEGORY_NOTICE}</small></td></tr>','')-->\r
 <tr><td colspan="2">\r
@@ -101,7 +101,7 @@ var ext="{$ALLOW_UPLOAD_EXT}".toUpperCase().split("|");
 <!--/&ERROR-->\r
 \r
 \r
-<!--&THREAD-->
+<!--&THREAD-->\r
 <!--Thread No.{$NO}-->\r
 <div class="threadpost" id="r{$NO}">\r
 {$IMG_BAR}<!--&IF($IMG_BAR,'<br />','')-->{$IMG_SRC}<input type="checkbox" name="{$NO}" value="delete" /><span class="filetitle">{$SUB}</span>\r
@@ -111,9 +111,9 @@ var ext="{$ALLOW_UPLOAD_EXT}".toUpperCase().split("|");
 {$WARN_OLD}{$WARN_BEKILL}{$WARN_ENDREPLY}{$WARN_HIDEPOST}</div>\r
 <!--/&THREAD-->\r
 \r
-<!--&REPLY-->
-                               <!--Reply No.{$NO}-->
-<table><tr><td class="doubledash">…</td><td class="reply" id="r{$NO}"><input type="checkbox" name="{$NO}" value="delete" /><span class="replytitle">{$SUB}</span>&nbsp;
+<!--&REPLY-->\r
+                               <!--Reply No.{$NO}-->\r
+<table><tr><td class="doubledash">…</td><td class="reply" id="r{$NO}"><input type="checkbox" name="{$NO}" value="delete" /><span class="replytitle">{$SUB}</span>&nbsp;\r
 {$NAME_TEXT}<span class="commentpostername">{$NAME}</span> {$NOW} {$QUOTEBTN}&nbsp;&nbsp;<!--&IF($IMG_BAR,'<br />','')-->{$IMG_BAR}<!--&IF($IMG_SRC,'<br />','')-->{$IMG_SRC}\r
 <div class="blockquote">{$COM}</div>\r
 <!--&IF($CATEGORY,'<div class="category">{$CATEGORY_TEXT}{$CATEGORY}</div>','')-->\r
@@ -143,7 +143,7 @@ var ext="{$ALLOW_UPLOAD_EXT}".toUpperCase().split("|");
 <table style="float: right;">\r
 <tr><td align="right" style="white-space: nowrap;">\r
 {$DEL_HEAD_TEXT}[{$DEL_IMG_ONLY_FIELD}<label for="onlyimgdel">{$DEL_IMG_ONLY_TEXT}</label>]<br />\r
-{$DEL_PASS_TEXT}{$DEL_PASS_FIELD}{$DEL_SUBMIT_BTN}
+{$DEL_PASS_TEXT}{$DEL_PASS_FIELD}{$DEL_SUBMIT_BTN}\r
 {$STYLE_BAR}\r
 </td></tr>\r
 </table>\r
@@ -163,4 +163,4 @@ var ext="{$ALLOW_UPLOAD_EXT}".toUpperCase().split("|");
 </form>\r
 {$PAGENAV}\r
 </div>\r
-<!--/&MAIN-->
\ No newline at end of file
+<!--/&MAIN-->\r
index 324d55b3fe4f06f1c137029657aad0112c6d3fd1..c2cb6630f08f0370184c35b4f05b4d943e412364 100755 (executable)
@@ -13,7 +13,7 @@
  * 更改 PHP 捕捉錯誤功能並顯示自訂錯誤
  */
 function PMCCore_errorHandler($errno, $errstr, $errfile, $errline){
-       //---- header('Content-type: text/plain;charset=utf-8');
+//---- header('Content-type: text/plain;charset=utf-8');
        switch($errno){
                case E_USER_ERROR:
                case E_ERROR: